CN101448278B - Protocol simulator and method for testing user equipment thereby - Google Patents

Protocol simulator and method for testing user equipment thereby Download PDF

Info

Publication number
CN101448278B
CN101448278B CN2007101781056A CN200710178105A CN101448278B CN 101448278 B CN101448278 B CN 101448278B CN 2007101781056 A CN2007101781056 A CN 2007101781056A CN 200710178105 A CN200710178105 A CN 200710178105A CN 101448278 B CN101448278 B CN 101448278B
Authority
CN
China
Prior art keywords
protocol
channel
amd pdu
message
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101781056A
Other languages
Chinese (zh)
Other versions
CN101448278A (en
Inventor
邓习锋
王舸
顼文胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Lianyi Technology Co., Ltd.
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN2007101781056A priority Critical patent/CN101448278B/en
Publication of CN101448278A publication Critical patent/CN101448278A/en
Application granted granted Critical
Publication of CN101448278B publication Critical patent/CN101448278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a protocol simulator and a method for testing user equipment (UE) thereby. The method is used for UE test, and relates to a case of channel reallocation. The method comprises the following steps: a first transmission step in which the protocol simulator and the UE perform transmission of an acknowledgement mode data protocol data unit (AMD PDU) in a first channel; a second transmission step in which the protocol simulator and the UE perform the transmission of the AMD PDU in a second channel different from the first channel; a reset message sending step in which the protocol simulator sends a radio link control reset message to the UE; and a reallocation message sending step in which the protocol simulator sends a radio resource control reallocation message to the UE. The method avoids a flow error caused by an RLC error when performing a high-level protocol test on the UE, reduces the complexity of implementing a test flow by the stimulator, effectively reducesthe test cost and improves the test accuracy.

Description

A kind of protocol emulation instrument and carry out the method for testing user equipment
Technical field
The present invention relates to a kind of test of mobile communication terminal, particularly a kind of protocol emulation instrument and carry out the method for testing user equipment.
Background technology
3G terminal is after the pattern of connecting, under at CELL_DCH (cell dedicated channel status) and CELL_FACH (cell forward access state), all keep being connected of up-downgoing signaling simultaneously by logic channel with network, and most important information all is to transmit by the logic channel that is mapped in AM (affirmation) pattern in RRC (Radio Resource control) signaling connects, to guarantee that significant data can correctly be received termination and receive.Above-mentioned mechanism is followed stipulating at RLC (Radio Link control) layer protocol in 25.321 agreements of 3GPP (the 3rd generation partner program).
According to rlc protocol, the sending direction recipient sends AMD PDU (acknowledged mode data protocol Data Unit), wherein comprises among this AMD PDU:
Sequence Number field identifies the sequence number of current PDU; With
The P field, the indication receiving terminal need be responded these data.
If when the indication of the P in this AMD PDU receiving terminal need be responded these data, receiving terminal need come with the control frame of STATUS the AMD PDU that receives is responded, response message comprises:
The type field is ACK;
LSN (final nucleotide sequence number) field, its value show that for the sequence number of current PDU adds 1 the data of receiving terminal before this LSN all correctly receive down, and transmitting terminal can send next data PDU.
Do not add 1 if the value of LSN is not the sequence number of current PDU, perhaps transmitting terminal can not receive response message, and then transmitting terminal need start exception handling, retransmits or resets.
Above transmitting-receiving maintenance mechanism is set up in terminal and is promptly begun to start after RRC connects, and finishes until this time RRC connects.In the reprovision flow process of some terminal, the mutual conversion of CELL_FACH to CELL_DCH for example takes place, during situations such as the switching of minizone, variation has taken place in physical resource or transmission channel resources that the RLC resource that terminal is used is shone upon, but the rlc layer of network and terminal does not change, and needs to safeguard above process always.
Under real network environment, RNC (radio network controller) can by link circuit resource control with the parameter of logic channel before the reprovision complete pass to logic channel behind the reprovision, comprise above-mentioned SequenceNumber and LSN etc., but when the use agreement emulating instrument was tested, all flow processs were all constructed realization by the tester.
When the test terminal, when test reprovision correlated process, the protocol emulation instrument can be put SN 0 and carry out next step test again, but because UE continues to carry out according to the real network situation, be that its SN can not reset, and this situation will cause the protocol emulation instrument can wait for that SN is 0 AMD PDU, but because the SN of UE can be since 0, so this situation will cause the RLC mistake, thereby cause test errors.
For addressing the above problem, the tester safeguards the parameter (as the east of Nethawk company) of upper strata resource in the prior art by programming, and to guarantee the rlc layer coupling, avoids mistake.
Yet, because above-mentioned solution need be write specific test code and be carried out the maintenance of rlc layer data, increased difficulty and workload that the tester writes test script, owing to tester's participation, the accuracy of this test also can be affected simultaneously.
Summary of the invention
The purpose of this invention is to provide a kind of protocol emulation instrument and test processing method thereof,, come completion logic channel reprovision, realize automatic accurately test processes subscriber equipment by the mode of simple triggering flow process according to the regulation of the rlc protocol among 3GPP flow process.
To achieve these goals, the invention provides the method that a kind of protocol emulation instrument carries out the UE test, be used for the situation that the UE test relates to the channel reprovision, comprising:
First transmitting step, protocol emulation instrument and UE carry out AMD PDU transmission at first channel;
Second transmitting step, protocol emulation instrument and UE carry out the AMDPDU transmission at the second channel that is different from first channel;
Wherein, also comprise between first transmitting step and second transmitting step what order was carried out:
Reset message sending step, the protocol emulation instrument sends radio link control reset message to UE;
The reallocation message forwarding step, the protocol emulation instrument sends Radio Resource control reallocation message to UE.
Above-mentioned method, wherein, the radio link control reset message that sends in the described reset message sending step be meet the 3rd generation partner program 25.321 in the reset message of radio link control.
Above-mentioned method, wherein, described UE test relates to the channel reprovision and comprises following situation:
The UE switching cell;
UE carries out carrier frequency and switches in same sub-district;
UE switches between cell dedicated channel status and cell forward access state.
Above-mentioned method, wherein, described protocol emulation instrument and UE carry out AMD PDU transmission and specifically comprise the following step that repeats:
UE sends the AMD PDU that comprises sequence number to protocol analyzer;
Protocol analyzer returns response message to UE after receiving AMD PDU, and wherein the LSN field is that the sequence number of the AMD PDU that receives adds 1 value that obtains.
In order better to realize above-mentioned purpose, the present invention also provides a kind of protocol emulation instrument, comprise that logic channel sets up module, is used for the receiver module of confirmation of receipt mode data protocol Data Unit AMD PDU and is used for after receiving AMD PDU, return the response message sending module of response message to user equipment (UE), wherein, also comprise:
The reallocation message sending module is used for sending Radio Resource control reallocation message to UE;
The reset message sending module is used for when the UE test relates to the channel reprovision, send Radio Resource control reallocation message to UE before, sends radio link control reset message to UE.
Above-mentioned protocol emulation instrument, wherein, the radio link control reset message that described reset message sending module sends be meet the 3rd generation partner program 25.321 in the reset message of radio link control.
Above-mentioned protocol emulation instrument, wherein, described UE test relates to the channel reprovision and comprises following situation:
The UE switching cell;
UE carries out carrier frequency and switches in same sub-district;
UE switches between cell dedicated channel status and cell forward access state.
The present invention has following beneficial effect:
When the UE test relates to the channel reprovision, before UE channel reprovision, send radio link control reset message from trend UE by protocol analyzer, the RLC resource of UE end is resetted, thereby the resource consistency that keeps UE end and protocol analyzer end, when having avoided that UE carried out the upper-layer protocol test because the flow process mistake that the RLC mistake causes;
For the protocol emulation instrument, need not to carry out the such link maintenance process of probable RNC and just can guarantee correctly continuing of link, greatly reduce instrument and realize the testing process complexity;
Because the protocol emulation instrument sends radio link control reset message automatically, rather than the tester manually writes specific test code and carries out the maintenance of rlc layer data, eliminated the influence of human factor, therefore reduced testing cost effectively, increased the accuracy of test test.
Description of drawings
Fig. 1 is the schematic flow sheet of method of the present invention.
Embodiment
Protocol emulation instrument of the present invention and test processing method thereof, according to the regulation of the rlc protocol among 3GPP flow process, finish the channel reprovision by the mode of simple triggering flow process, thereby can realize the function that some instrument does not realize, additionally write complicated link management code without the tester again.
Before the present invention is described in detail, the occurrence scene to the channel reprovision necessarily illustrated earlier.
Carry out at UE (subscriber equipment) switching cell, in same sub-district carrier frequency switch, when between CELL_DCH (cell dedicated channel status) and CELL_FACH (cell forward access state), switching, variation has taken place in physical resource or transmission channel resources that the RLC resource that terminal is used is shone upon, just needs to carry out the channel reprovision.
Switching to CELL_FACH with mobile communication terminal from CELL_DCH in specific embodiments of the invention is that example is elaborated.
As shown in Figure 1, the test processing method of protocol emulation instrument of the present invention comprises:
Step 11, protocol emulation instrument are set up first logic channel on the first cover physical resource;
Step 12, UE (subscriber equipment) carries out the transmission of an AMD PDU with the protocol emulation instrument by first logic channel that is carried on the first cover physical resource under the CELL_DCH state;
Step 13, behind the one AMD PDU end of transmission, before the UE logical channels reprovision, the protocol emulation instrument sends RLC Reset (radio link control reset message) to UE, UE receives after the RLC Reset, carry out the RLC reset operation, and return RLC Reset Response (Radio Link is controlled the response message that resets) to the protocol emulation instrument;
Since the protocol emulation instrument can flexible construction higher layer message flow process characteristics, when relating to the flow process of change in resources as UE, earlier the flow process that resets (flow process that resets in 25.321 in the agreement of RLC) by initiating RLC resets to the resource of UE, and UE just can be continuous with instrument maintenance flow process after finishing the resource flow process like this.
After step 14, protocol emulation instrument receive RLC Reset Response, rebulid second logic channel on the second cover physical resource;
Step 15, the protocol emulation instrument sends the RRC reallocation message to UE;
Step 16, UE and protocol emulation instrument are mutual, switch to CELL_FACH from CELL_DCH;
Step 17, UE (subscriber equipment) is under the CELL_FACH state, carry out the transmission of the 2nd AMD PDU with the protocol emulation instrument by second logic channel that is carried on the second cover physical resource, when the transmission of the 2nd AMD PDU, Sequence Number restarts from 0.
Because in the step 13, UE has carried out the reset operation of RLC, and in the step 14, the protocol emulation instrument can be rebuild second logic channel, so mutual at UE and protocol emulation instrument, switch to CELL_FACH from CELL_DCH after, UE and protocol emulation instrument all can begin the transmission of AMD PDU from the initial condition of RLC, promptly restart the transmission of AMD PDU, thereby avoided the not reciprocity mistake that causes of SN from SN=0.
As shown in Figure 1, mainly comprise the following step that repeats in this step 12:
UE (subscriber equipment) sends the AMD PDU that comprises SN by first logic channel to protocol analyzer under the CELL_DCH state;
Protocol analyzer returns response message to UE after receiving AMD PDU, wherein LSN=SN+1.
Protocol emulation instrument of the present invention comprises:
Logic channel is set up module, is used to set up the logic channel on the first cover physical resource;
Receiver module is used to receive AMD PDU;
The response message sending module is used for returning response message to UE after receiving AMD PDU;
The reallocation message sending module is used for sending Radio Resource control reallocation message to UE;
The reset message sending module is used for before sending the RRC reallocation message to UE, sending radio link control reset message to UE when the UE test relates to the channel reprovision.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (7)

1. the method that the protocol emulation instrument carries out the user equipment (UE) test is used for the situation that the UE test relates to the channel reprovision, comprising:
First transmitting step, protocol emulation instrument and UE carry out acknowledged mode data protocol Data Unit AMD PDU transmission at first channel;
Second transmitting step, protocol emulation instrument and UE carry out the AMDPDU transmission at the second channel that is different from first channel;
It is characterized in that, also comprise between first transmitting step and second transmitting step what order was carried out:
Reset message sending step, the protocol emulation instrument sends radio link control reset message to UE;
The reallocation message forwarding step, the protocol emulation instrument sends Radio Resource control reallocation message to UE.
2. method according to claim 1 is characterized in that, the radio link control reset message that sends in the described reset message sending step be meet the 3rd generation partner program 25.321 in the reset message of radio link control.
3. method according to claim 1 and 2 is characterized in that, described UE test relates to the channel reprovision and comprises following situation:
The UE switching cell;
UE carries out carrier frequency and switches in same sub-district;
UE switches between cell dedicated channel status and cell forward access state.
4. method according to claim 1 and 2 is characterized in that, described protocol emulation instrument and UE carry out AMD PDU transmission and specifically comprise the following step that repeats:
UE sends the AMD PDU that comprises sequence number to protocol analyzer;
Protocol analyzer returns response message to UE after receiving AMD PDU, and wherein final nucleotide sequence LSN field is that the sequence number of the AMD PDU that receives adds 1 value that obtains.
5. protocol emulation instrument comprises that logic channel sets up module, is used to receive the receiver module of AMD PDU and is used for after receiving AMD PDU, returns the response message sending module of response message to UE, it is characterized in that, also comprises:
The reallocation message sending module is used for sending Radio Resource control reallocation message to UE;
The reset message sending module is used for when the UE test relates to the channel reprovision, send Radio Resource control reallocation message to UE before, sends radio link control reset message to UE.
6. protocol emulation instrument according to claim 5 is characterized in that, the radio link control reset message that described reset message sending module sends be meet the 3rd generation partner program 25.321 in the reset message of radio link control.
7. according to claim 5 or 6 described protocol emulation instrument, it is characterized in that described UE test relates to the channel reprovision and comprises following situation:
The UE switching cell;
UE carries out carrier frequency and switches in same sub-district;
UE switches between cell dedicated channel status and cell forward access state.
CN2007101781056A 2007-11-26 2007-11-26 Protocol simulator and method for testing user equipment thereby Active CN101448278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101781056A CN101448278B (en) 2007-11-26 2007-11-26 Protocol simulator and method for testing user equipment thereby

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101781056A CN101448278B (en) 2007-11-26 2007-11-26 Protocol simulator and method for testing user equipment thereby

Publications (2)

Publication Number Publication Date
CN101448278A CN101448278A (en) 2009-06-03
CN101448278B true CN101448278B (en) 2010-06-30

Family

ID=40743605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101781056A Active CN101448278B (en) 2007-11-26 2007-11-26 Protocol simulator and method for testing user equipment thereby

Country Status (1)

Country Link
CN (1) CN101448278B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533665A (en) * 2013-06-08 2014-01-22 北京星河亮点技术股份有限公司 Realization method of LTE terminal comprehensive tester state machine
CN113055425B (en) * 2019-12-27 2022-04-05 大唐移动通信设备有限公司 Data transmission method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658581A (en) * 2004-02-21 2005-08-24 华为技术有限公司 Method and device for information transmission

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658581A (en) * 2004-02-21 2005-08-24 华为技术有限公司 Method and device for information transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Technical Specification Group Radio Access Network.Medium Access Control (MAC) protocol specification.3GPP TS 25.321,3rd Generation Partnership ProjectV6.14.0.2007,V6.14.0全文. *

Also Published As

Publication number Publication date
CN101448278A (en) 2009-06-03

Similar Documents

Publication Publication Date Title
US20190260521A1 (en) Harq-ack feedback information transmission method and related apparatus
JP5070239B2 (en) Method and communication apparatus for improving TTI bundling transmission
US8737294B2 (en) Apparatus and method for handling RLC retransmission failure according to activation status of security mode
CN102695217B (en) Improve method and the communication device thereof of wireless heterogeneous networks on-line program
CN101790191B (en) Method for improving reconfiguration procedure for scheduling request and communication device
CN101094048A (en) Method and apparatus for detection and recovery of HARQ dtx to nack error
CN104221319A (en) HARQ for dynamic change of the TDD UL/DL configuration in LTE TDD systems
WO2003051076A1 (en) Method and apparatus for testing traffic and auxiliary channels in a wireless data communication system
CN110149178A (en) Reference signal configuration method, terminal device and network side equipment
KR20020045489A (en) System and method for performing diagnostics on a mobile station using over-the-air transfer of interpreted byte-code program
CN114175726B (en) Wireless communication method for mobility control
CN106954276B (en) Method, device and system for retransmission scheduling
EP3432635B1 (en) Method and device for data transmission
CN105792368B (en) A kind of method, relevant device and system controlling information processing
CN101068372B (en) Method and apparatus of handling a variable of a wireless link control reset procedure
CN101448278B (en) Protocol simulator and method for testing user equipment thereby
JP2009530926A (en) General access performance abstraction for access selection
US11122548B2 (en) Device-to-device communication method and terminal device
CN114125875A (en) Sensitivity test method, test device, test system, and storage medium
CN112153712A (en) Communication method and device of terminal and base station
CN103796242A (en) Method and apparatus for processing scheduling request in switching scene
CN103582081B (en) Device and method used for access detection switching
CN112188623A (en) Communication method and apparatus, and computer storage medium
CN107466018A (en) The data transferring method and terminal device of a kind of terminal device
JP2004112163A (en) Mobile station tester

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: DATANG LIANYI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: DATANG MOBILE COMMUNICATION EQUIPMENT CO., LTD.

Effective date: 20120612

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120612

Address after: 100083, room 92, Building 29, No. 104-106, Haidian District, Beijing, Xueyuan Road

Patentee after: Datang Lianyi Technology Co., Ltd.

Address before: 100083 Haidian District, Xueyuan Road, No. 29,

Patentee before: Datang Mobile Communication Equipment Co., Ltd.