Sunteți pe pagina 1din 4

201O International Conforence on Educational and Information Technology (ICEIT 2010)

Design and Application of the ASN.l Module in the LTE-Uu


Interface Protocol Stack

Xiaolin Li Xiaoqiang Wen Xuesong Li


Institute of the applications of Institute of the applications of Institute of the applications of
advanced telecommunications advanced telecommunications advanced telecommunications
technology, technology, technology,
The Chongqing University of Posts The Chongqing University of Posts The Chongqing University of Posts
and Telecommunications and Telecommunications and Telecommunications
Chongqing Information Technology Chongqing, P. R. China Chongqing Information Technology
Designing CO., LTD yjs_ wenxiaoqiang@cqcyit.com Designing CO., LTD
Chongqing, P. R. China Chongqing, P. R. China
lixiaolin@cqcyit.com lixuesong_5206@hotmail.com

Abstract-In order to initiatively imitate and improve network used in Basic unaligned PER, that is compact and fast
performance, by research and analysis of signaling message encoding, which can achieve higher communication
which is transmitted in the LTE-Uu interface protocol stack, A efficiency. Be noted that, the encoding of the ASN.l data
practical project on the design and application of the ASN.l types must be done strictly in accordance with X.691
encoder/decoder in the LTE-Uu interface protocol stack is put protocol in the specific implementation. Even if it is a bit of
forward based on the theory of the ASN.l and its UPER coding
error, the LTE system may not work correctly [31.
rule. The design contains the data structure of the information
needed in the complete coding and decoding, and extracts
corresponding parameters from the data structure to complete Literature[4-7] discussed the approach about the
the analysis by calling a separate codec library. The proposed development through the automated ASN.l
examination of the application of the ASN.l encoding and compiler and new runtime, etc, but these are mainly for the
decoding modules in protocol conformance testing TD-SCDMA and other protocol standards, and on the one
demonstrates that the function of the ASN.l encoder/decoder
hand , Some features of LTE-Uu interface protocol stack has
modules meets the 3GPP protocol actual testing requirements.
made great changes in comparison with the TD-SCDMA. On
the other hand, signaling messages with the LTE protocol
Keywords-component; LTE-Uu interface protocol stack;
version change is still constantly changing. Therefore, this
ASN.l encoder/decoder; Unaligned Packed encoding rules
paper get the advantages of their ASN.l module in [4-7], on
the encoding and decoding technology of the signaling

I. INTRODUCTION
messages in LTE-Uu interface protocol stack ,which
described in the ASN.1 language , and based on this test
With the development of mobile communication application process simulation do exploratory research.
technology, and the integrated of mobile communications
and broadband wireless access technology, 3GPP carried out
long term evolution of UTRA Technology (Long Term II. THE STRUCTURE OF THE LTE-UU INTERFACE
Evolution, LTE). Compared to the previous TD-SCDMA 3G PROTOCOL STACK
mobile communication system, LTE can provide support for
various data transmission and the mobile communications In the 3GPP protocol, LTE-Uu interface protocol stack is
systems higher data transmission rate than ever before, divided into the following protocol layers from the view of
which will inevitably increase the letter between the UE and functions and tasks: physical layer (Ll), data link layer (L2)
eNodeB order interaction. 3GPP introduce the UPER and radio resource control layer (L3). Data link layer (L2)
encoding rules of ASN.l language to describe signaling consists of medium access control (medium access control,
messages in the LTE-Uu interface protocol stack [11. ASN.1 MAC) layer, Radio Link Control (radio link control, RLC)
data types can be divided into simple and complicate types. layer, packet data convergence protocol (packet date
Simple type is the type defined indecomposable basic data convergence protocol, PDCP) layer [81.
types, which include NULL, BOOL, Integer, Bit String,
Octet String, Object Identifier, etc; ASN.l permits users to
use simple types to construct complicate types. Complicate
types are Sequence, Choice, Set, Sequence of, Set of, etc [21.
Signaling messages of LTE-Uu interface protocol stack are

978-1-4244-8035-7/10/$26.00 2010 IEEE V3-149


2010 International Conference on Educational and Information Technology (ICEIT 2010)

Air Interface corresponding encoding and decoding function in C


User Equipment(UE) eNodeB language. (rrc.h) files are generated for the statement after
the C compiler data types and codec functions, (rrc.c) files
are used to implement the encoding and decoding functions.
Then the encoding and decoding functions call encoding and
decoding ASN.1 basic function library (Basic_asn.h,
Basic_asn.c) in figure 2 to achieve encoding and decoding
functions. Finally get the executable files to LTE-Uu
interface protocol stack, thus completing the conversion from
the ASN.1 description to the binary bit stream, making its
information transmission in LTE system network.

The messages according to the


ASN.1 language ASN.1 encode/decode
LTE-Uu
c
omp t
_
SN 1
l- --- ---,
Figure I. The frame of the LTE-Uu interface protocol stack

ASN_l encoding and decoding module is the most critical


part in the LTE RRC layer, and the core block information of Application of '.h','.c'

the restructuring process of LTE-Uu interface protocol stack in the LTE-Uu Application in the LTE-Uu
interiace Protocol stack intenace Protocol stack
from Figure 1 _ At the sending end, L3 RRC layer messages
C compiler
are sent through the ASN.l encoding and decoding module
to form the RRC PDU module. And then were treated with
the L2 PDCP layer, RLC layer and MAC layer processing,
by the L1 physical layer send out; at the receiving end, just
the reverse process of the sending end, by L1 physical layer, Figure 2. The processes of the ASN.I encoding and decoding
then through the L2 MAC, RLC and PDCP layer processing,
then sent to the ASN.l encoding and decoding module of the Build process in Figure 2 is a comparatively complicated,
L3 RRC layer decoding the signaling information, so as to because if the ASN.1 message of TD-SCDMA air interface
complete signaling message parsing. is hand-translated into C files ,there will be hundreds of
thousands of lines, which will be a huge task. But now the
III. THE DESIGN AND IMPLEMENTATION OF THE ASN.1
ASN.1 message of LTE RRC is a relatively simplified
MODULE
compared to the TD-SCDMA. Through the design of
At present, domestic and foreign manufacturers of specific data structure in this paper, and map the ASN.1
communications software protocol company took each of the message of the LTE RRC to C, remove the redundant code
LTE protocol stack interface seriously, OSS Nokalva, and take other optimization measures, the entire LTE RRC
Trillium has introduced software analysis functions in messages C file compression to 1 2M about.
addition to signaling messages, and some part agree with After the complete of LTE RRC messages compiled into
simulation capabilities. But they are mainly for the LTE C code file, it still needs codec library preparation. The
FDD standard, and ASN.l encoding and decoding software codec library is the core part of ASN.l module, which
in the form of these is different, but in terms of its effect includes codec function corresponding to the all ASN.l data
achieved is entirely consistent. types, and when writing it must be strictly in accordance
As Figure 2 shown, module definition of the software with encoding rules UPER in the X.691 protocol. After the
design, the implementation of the program code and the complete of these complicates and detailed work, then it
actual development of some of the difficulties encountered in need rigorous series of tests to determine their validity. The
the solution are presented in the design of the ASN.l last complete source code of ASN.l encoding and decoding
encoding and decoding module of the LTE-Uu interface library is about 6000 lines around.
protocol stack. In order to realize of ASN.1 encoding and Figure 3 shows the block diagram of ASN.1 encoding
decoding module, then: and decoding. Encoding and decoding as a pair of reversible
(1 ) Make message (rrc.asn), which is described using parts exist in ASN.1 encoding and decoding module. At
ASN.1 language in the protocol stack, compile into a C actual run-time, first ASN.1 encoding and decoding module
language description of the source file (rrc.h); by RRC cache module receive the data sent from the lower
(2) Generated the corresponding C data structures codec module to be encoded/decoded, then call the relevant codec
functions (rrc.c) from message (rrc.asn), which is described function in the encoding and decoding module. The results
using ASN.1 language in the protocol stack. are sent through the RRC cache module after complete
Compilation is to compile (rrc.asn), which is described in encoding/decoding, then RRC perform the appropriate action.
the ASN.l language, to (rrc.h) files, and its (rrc.h) the
corresponding (rrc.c) file. More to say: each of the ASN.l
data types are mapped to the data structure and its

V3-150
2010 International Conference on Educational and Information Technology (ICEIT 2010)

RRCConnectionSetup in the interface message, by hand.


First called ASN.1 encoding module to encode
RRCConnectionSetup message, then called ASN.1 decoding
module for the results of encoding to decode. The reason for
choosing the DL-CCCH-Message message is that this type
of message contains almost all the ASN.1 data type, and
contains more complicate structures, with strong versatility.
After a number of random assignments according to the
Figure 3. The ASN.l encoding and decoding block diagram in the LTE
X.691 , the tests revealed that the decoded results and the
Uu interface protocol stack
beginning of the assignment are completely consistent.
Another approach is a combination of OSS Nokalva's
IV. THE TESTING AND ApPLICAnON OF THE ASN.l OSS ASN.1 OUI software on the DL-CCCH-Message
MODULE message assignment, as shown in Figure 4, generated by the
software coding rules compliance UPER bit stream. First call
After the design of the ASN.l encoding and decoding
ASN.l decoding module to decode, then call ASN.l
module it must be tested to determine its validity,
encoding module to encode the results of decoding. Finally,

interop rability and reliability. Otherwise, if there is
compare the input bit stream and the decoding bit stream,
something wrong with the ASN.1 encoding and decoding
look at the two bit streams whether they are the same.
module, the LTE-Uu interface protocol stack module can not
Because some information encoded bit stream relatively
function properly. Because ASN.l messages of LTE RRC
large, thus improving the measures is to output to file and
contain a lot of PDU, and a different PDU also contains
use UltraCompare Professional tool for comparison after
many of the nested complicate structure. Therefore, use the
decode the bit stream.
method of structural testing for ASN.l encoding and
After many times of random, repeated structure testing,
decoding modules testing, and watch the module in the
each PDU input bit stream and pre-encoded bit flow is still
application of compliance testing to further verify the
the same, indicating that ASN.l encoding and decoding
reliability of ASN.1 encoding and decoding module.
module has passed the structural testing. Of course, because
A. The Test of the ASN.l Module in the actual communication process, the value of the
parameter is very difficult to predict, and structural testing is
Structural testing, also known as " White-box Testing "
not enough, it must be together with the specific applications
or unit test, which is based on the internal structure of
of the ASN.1 encoding and decoding modules.
software testing, which aims to check the correctness of the
program code through the implementation of each statement B. The Application of the ASN.l Encoding and Decoding
by traversing all branches of the program. A layered Module
approach in steps is taken in the implementation of the test:
For the development and test of LTE protocol stack, what
first on the simple encoding / decoding functions type test,
is more concerned is whether the development meets the
and then on the complicate encoding and decoding functions
criteria, whether an agreement with other standards-based
type test. By calling the encoding / decoding function
products with interoperability issues. The protocol
corresponding to the various data types of ASN.1 analyze the
conformance test can detect whether the physical realization
data whether consistent after comparison test. The test
of the agreement is consistent with the protocol specificatin,
should conduct as many other special considerations on the .
which is the basic premise of an agreement between entItles
limit of length and expand for each data type according to
to ensure interoperability and performance. And in the test
the X.691 .
system and tested system entities by sending, recei,:ing
signaling data to complete the protocol conformance testmg.
Therefore, in order to enable both sides to understand the
communication data transmitted ASN.l Encoder !Decoder is
particularly important.

TABLEL THE TEST CASES OF RRC CONNECTION ESTABLISHMENT

Test set: RRC connection establishment(RRC)


Test Reference: 3GPP TS 36.331
The result of Encoding Test Pattern: Black Box Testing
Test case Name Purpose of test case
Figure 4. Structural Testing Flowchart
Whether UE can initiate the
RRC_CON connection successfully establish a
The test of complicate type is to test a sub-system, which
wireless connection link to eNodeB
may consist of some simple type modules. To ensure test
accuracy and reliability, the test of complicate types took two According to the process shown in Figure 5, the design of
methods as follows: one of the methods is the assignment for a test case (see Table 1) in Telelogic TAU TTCN Suite
DL-DCCH-Message message, which contain environment, this environment supports both TTCN and

V3-151
2010 International Conference on Educational and Information Technology (ICEIT 2010)

ASN.l languages. According to the RRC connection message parsing, and to respond to an
establishment procedure in 3GPP TS 36.331 (RRC) protocol , RRCConnectionSetupComplete, after the test system
using TTCN and ASN.l languages in Telelogic TAU 4.0 of receives the message parsing, come to judgments in Figure 6.
TTCN Suite platform constructed test cases, test set, and By looking at the final verdict, the basic establish
then detach the tool platform, complete with the Windows communication link process agreement to the actual LTE in
system integration [91. Figure 6 is the same. From this, ASN.l encoding and
decoding modules to accurately resolve the received data,
I UE I I eNodeB I and can accurately describe the bit stream of information into
Make the form. Therefore, the program is effective and feasible.
request RRCConnectionRequest
Make
_----RR:C:::C:on:n: ectionSetup'----- Configure V. CONCLUSIONS

Make L
ASN.l encoding and decoding module not only has an
response l RRCConnectionSetupComplete

-! Make
important position in the LTE-Uu interface protocol stack,

--,.. Confirm
____
__

but also is a basis that determine whether LTE system to


__ __
_

achieve interoperability with other module. Through


Figure 5. The connection establishment process in LTE basic protocol structural testing and the application of conformance testing,
communication
protocol description and implementation methods and the
communication protocol conformance tests in this paper
Integration with the Windows system to simulate the
associated with the ASN.l encoding and decoding module
specific use VC6.0 a simple protocol entity measured entity
are effective and feasible. For many ASN.l applications,
lTV to UE, it sends an RRCConnectionRequest and wait for
these methods have certain versatility.
the eNodeB return the corresponding response message
RRCConnectionSetup, UE receives this message and sends a ACKNOWLEDGMENT
successful response message RRCConnectionSetupComplete
The authors gratefully acknowledge the financial support
after configuration accordingly. Test System simulates the
from "The next generation broadband wireless mobile
Base Station (eNodeB), through the implementation of test
communications network," National Science and Technology
cases, to send or wait to receive data and compare test results
of major projects by the Ministry of Industry and
obtained. LTE protocol conformance testing during basic
Information Technology of the People's Republic of China
agreement on the process of communication simulation,
(No.2009ZX03002-009).
ASN.l decoding module will extract the data flow packet
which contain the RRC message, call the decode function to
REFERENCES
decode. If properly decoded, and then analyze whether the
[I] 3GPP. TS 36.331 v.9.2.0 3rd Generation Partnership Project;
message flow 3GPP standards process, validate the
Technical Specification Group Radio Access Network; Evolved
reliability of ASN.l encoding and decoding module from Universal Terrestrial Radio Access (E-UTRA); Radio Resource
another angle. Control (RRC) protocol specification. Http://www.3gpp.com. 2010
[2] ITU-T Recommendation X.680(2002), abstract syntax notation
(ASN.I) - specification of basic notation.
[3] ITU-T Recommendation X.691(2002), Information technology -
ASN.I encoding rules - Specification of Packed Encoding Rules
(PER) .
[4] Xiaowen Li, Ning Wang, "Design and implementation of encoder and
decoder for ASN.I in TO-SCOMA system". Chongqing University of
Posts and Telecommunications (Natural Science), vol. 21, Jun. 2009,
pp.358-361
[5] Yi Gao, Junwei Huang, "Design and Research of ASN.I Parser and
Auto BER EnlDecode Software". University of Electronic Science
and Technology Beijing, vol. 17, Jun. 2009, pp. 30-34
[6] Bogdan D. Trivunovic, Miroslav V Popovic, I1ija V. Basicevic, etc,
"A Design and Implementation of ASN.I Parser for H.323 Protocol
Stack". TELSIKS, Sep. 2007, pp. 60-63.
Figure 6. Integrators operating results after Windows systems
[7] Qian Lv, Benxiong Huang, Furong Wang, 'The Mechanism of
ASN.I Encoding & Decoding Implementation in Network Protocols,"
When the IP communication port and other of test system Proc. IEEE Proceedings of the International Conference on
and tested systems is configured correctly, run the test cases; Information Technology. Computers and Communications (ITCC'03),
the RRC connection establishment process flow test as IEEE Press, 2003
shown in Figure 5. The encoded request message [8] 3GPP TS 36.300 V9.2.0, Evolved Universal Terrestrial Radio Access
(E-UTRA) and Evolved Universal Terrestrial Radio Access Network
RRCConnectionRequest sent to the test system, the test
(E-UTRAN). Http:// www. 3gpp.com. 2010.
systems receive and resolve to the correct request message,
[9] Xiaowen Li, Guiyong Li, Xianliang Chen, TO-SCOMA third
then will return a corresponding response message
generation mobile communication systems, signaling and
RRCConnectionSetup, the tested system after receiving the Implementation. Beijing: Posts & Telecom Press, 2003.

V3-152

S-ar putea să vă placă și