Summary of the invention
In view of this, main purpose of the present invention is the method for testing and the system that provide a kind of Deta bearer in call establishment, can the call setup ability of test terminal.
For achieving the above object, technical scheme of the present invention is achieved in that
A method of testing for Deta bearer in call establishment, comprising:
Preset measured terminal is in conventional data carrying established state, and system simulator enables terminal test loopback mode;
System simulator activates special evolved packet system carrying session, and closed terminal test loopback;
The packet whether system simulator calling data loopback universal test flow testing measured terminal is sent by special evolved packet system carrying return system simulator, if so, then thinks that the carrying of special evolved packet system is successfully established; Otherwise, think that the carrying of special evolved packet system is set up unsuccessfully.
Wherein, described system simulator activate special evolved packet system carrying session be specially:
System simulator sends the first wireless link reconfiguration message to measured terminal, carries and activate special evolved packet system carrying conversation request message in this first wireless link reconfiguration message;
After measured terminal receives the first wireless link reconfiguration message, send the first wireless link reshuffled message to system simulator, this first wireless link has been reshuffled in message to carry and has been activated special evolved packet system carrying session and accept message.
Wherein, described system simulator closes terminal test loopback and is specially:
System simulator sends closed terminal test loopback message to measured terminal;
Send closed terminal test loopback to system simulator after measured terminal receives and complete message.
Wherein, described preset measured terminal be in conventional data carrying established state comprise: preset measured terminal be in acquiescence evolved packet system carrying established state.
Wherein, when described conventional data carrying established state comprises acquiescence evolved packet system carrying established state, and before or after the packet whether sent by special evolved packet system carrying return system simulator at described test measured terminal, described method of testing comprises further: the packet whether system simulator calling data loopback universal test flow testing measured terminal is sent by acquiescence evolved packet system carrying return system simulator, if so, then think that test is by maybe carrying out follow-up test; Otherwise, think that the carrying of acquiescence evolved packet system is discharged by mistake.
Wherein, described method of testing is after the special evolved packet system carrying of test is successfully established, further comprising the steps:
System simulator sends the second wireless link reconfiguration message to measured terminal, carries and cancel special evolved packet system carrying conversation request message in this second wireless link reconfiguration message;
After measured terminal receives the second wireless link reconfiguration message, send the second wireless link to system simulator and reshuffled message, this second wireless link reshuffled in message carry cancel special evolved packet system carrying session accept message;
System simulator receives after the second wireless link reshuffled message, the packet whether calling data loopback universal test flow testing measured terminal is sent by special evolved packet system carrying return system simulator, if so, then think that special evolved packet system carries release failure; Otherwise, think that the carrying of special evolved packet system discharges successfully.
A test macro for Deta bearer in call establishment, comprising: system simulator, by preset be in conventional data carrying established state measured terminal; Wherein,
System simulator, for enabling terminal test loopback mode, activates special evolved packet system carrying session, and closed terminal test loopback; Also for calling data loopback universal test flow process, and whether pass through the packet of special evolved packet system carrying return system simulator transmission according to test measured terminal, determine whether successful the carrying of special evolved packet system sets up.
Wherein, described system simulator, is specially for activating special evolved packet system carrying session:
Described system simulator, for sending the first wireless link reconfiguration message carrying and activate special evolved packet system carrying conversation request message to measured terminal, and carrying of receiving that measured terminal sends is activated the first wireless link that special evolved packet system carrying session accepts message and has been reshuffled message.
Wherein, described system simulator, is specially for closed terminal test loopback:
Described system simulator, for sending closed terminal test loopback message to measured terminal, and receives the closed terminal test loopback that measured terminal sends and completes message.
Wherein, after the special evolved packet system carrying of described test system and test is successfully established,
Described system simulator, is further used for sending the second wireless link reconfiguration message to measured terminal, carries and cancel special evolved packet system carrying session request in this second wireless link reconfiguration message;
Described measured terminal, after being further used for receiving the second wireless link reconfiguration message, send the second wireless link to system simulator and reshuffled message, this second wireless link reshuffled in message carry cancel special evolved packet system carrying session accept message;
Described system simulator, be further used for receiving after the second wireless link reshuffled message, calling data loopback universal test flow process, and the packet of special evolved packet system carrying return system simulator transmission whether is passed through according to test measured terminal, determine that whether special evolved packet system carrying release is successful.
As can be seen from the above technical solutions, the present invention sets up the carrying of special evolved packet system under loopback mode, system simulator sends packet by special evolved packet system carrying to measured terminal afterwards, and whether pass through this packet of special evolved packet system carrying passback according to test measured terminal, determine whether successful the carrying of special evolved packet system sets up.If special evolved packet system carrying is successfully established, then show the call setup success of measured terminal.Therefore, the present invention by testing the capacity-building of special evolved packet system carrying in call establishment, call setup ability for test terminal provides a kind of feasible method, and the call setup ability also for testing LTE terminal has from now on opened up a kind of new approaches.
Embodiment
Below technical scheme of the present invention is elaborated.
The present invention is in the process of testing Deta bearer, and adopt the loopback mode defined in prior art to realize system simulator to terminal generation data, terminal returns this data by specified Deta bearer.In the present invention, described terminal refers to LTE terminal.
As shown in Figure 1, the present invention's method of testing of Deta bearer in call establishment comprises the following steps:
Step 101, preset measured terminal is in conventional data carrying established state (Generic RBEstablished State), and system simulator enables terminal test loopback mode (UE Test Loop Mode).
In this step, preset measured terminal can be realized by the generalized flowsheet calling definition in LTE universal test environment standard (TS36.508) and be in Generic RB Established State, and make system simulator enable UE Test Loop Mode.
Described preset measured terminal is in Generic RB Established State and comprises: preset measured terminal is in acquiescence evolved packet system carrying (Default EPS Bearer) established state.
After step 101 completes, the communication between follow-up measured terminal and system simulator can be carried out.
Step 102, system simulator sends the first wireless link to measured terminal and reshuffles (RRCConnectionReconfiguration) message, carry in one RRCConnectionReconfiguration message and activate special evolved packet system carrying session request (Activate Dedicated EPSBearer Context Request) message, this Activate Dedicated EPS Bearer Context Request message belongs to Non-Access Stratum (NAS) message.
This step is in order to activate new special evolved packet system carrying session.
Step 103, after receiving a RRCConnectionReconfiguration message, measured terminal sends the first wireless link to system simulator and has reshuffled (RRCConnectionReconfigurationComplete) message, carry in one RRCConnectionReconfigurationComplete message and activate special evolved packet system carrying session acceptance (Activate Dedicated EPS Bearer Context Accept) message, this ActivateDedicated EPS Bearer Context Accept message belongs to Non-Access Stratum (NAS) message.
This step confirms to accept to activate special evolved packet system carrying session request in order to measured terminal.
Step 104, after receiving a RRCConnectionReconfigurationComplete message, system simulator sends closed terminal test loopback (Close UE Test Loop) message to measured terminal, enters UE Test Loop Mode in order to Close UE Test Loop.
Step 105, after receiving Close UE Test Loop message, measured terminal sends closed terminal test loopback to system simulator and completes (Close UE Test Loop Complete) message, in order to confirm this loopback.
Step 106, after receiving Close UE Test Loop Complete message, the packet whether system simulator calling data loopback universal test flow testing measured terminal is sent by special EPS carrying return system simulator, if, then think that special EPS carrying is successfully established, terminate current handling process; Otherwise, think that special EPS carrying is set up unsuccessfully, terminate current handling process.Wherein, packet can be Internet protocol (IP) packet, and, be hereafter described for IP packet.
Data loopback universal test flow process specifically refers to: system simulator is according to the method specified in TS36.508, send IP packet by special EPS carrying to measured terminal, and the special EPS carrying whether measured terminal specifies according to data loopback universal test flow process returns this IP packet received to system simulator.
Special EPS carrying is used for the communication of exclusive data in terminal call process, as voice data communication etc.If measured terminal has returned IP packet by special EPS carrying, then show the call setup of measured terminal, also namely the call setup aptitude tests of measured terminal are successful.
In addition, when Generic RB Established State comprises Default EPS Bearer established state, carry similar with the special EPS of test, before or after step 106, the present invention can also test the default EPS bearing set up in step 101: whether system simulator calling data loopback universal test flow testing measured terminal is by default EPS bearing passback IP packet, if so, then think that test is by maybe carrying out follow-up test; Otherwise, think that default EPS bearing is discharged by mistake, terminate current handling process.Specifically: in data loopback universal test flow process, system simulator sends IP packet by default EPS bearing to measured terminal, and the default EPS bearing whether measured terminal specifies according to data loopback universal test flow process returns this IP packet received to system simulator.If measured terminal has returned the IP packet received to system simulator by default EPS bearing, then think that default EPS bearing is in established state; Otherwise, think that default EPS bearing is discharged by mistake.Under normal circumstances, default EPS bearing should be in established state always, so that measured terminal can communicate with system simulator.
But default EPS bearing is in the call setup aptitude tests success that established state can not show measured terminal, because, if the call setup of measured terminal, then must by special EPS carrying transmission exclusive data; So, only have special EPS to carry and be successfully established the call setup aptitude tests success that just can show measured terminal.
In addition, after test special EPS carrying is successfully established, the present invention can also discharge to measured terminal the ability that special EPS carries and test, and specifically comprises the following steps:
System simulator sends the 2nd RRCConnectionReconfiguration message to measured terminal, carry in 2nd RRCConnectionReconfiguration message and cancel special evolved packet system carrying session request (Deactivate Dedicated EPS Bearer Context Request) message, carry in order to discharge special EPS;
After receiving the 2nd RRCConnectionReconfiguration message, measured terminal sends the 2nd RRCConnectionReconfigurationComplete message to system simulator, carry in 2nd RRCConnectionReconfigurationComplete message and cancel special evolved packet system carrying session acceptance (Deactivate Dedicated EPS Bearer Context Accept) message, in order to confirm that special evolved packet system carrying session request is cancelled in acceptance;
After receiving the 2nd RRCConnectionReconfigurationComplete message, whether system simulator calling data loopback universal test flow testing measured terminal has returned IP packet by Dedicated EPS Bearer, if, then think and terminate current handling process by Dedicated EPS Bearer release failure; Otherwise, think that Dedicated EPS Bearer discharges successfully, terminate current handling process.
If Dedicated EPS Bearer discharges successfully, then show measured terminal end of calling.
For realizing above-mentioned method of testing, the corresponding test macro that a kind of Deta bearer in call establishment is provided of the present invention, as described in Figure 2, this test macro comprises: by the preset measured terminal 10 and the system simulator 20 that are in Generic RB EstablishedState; Wherein,
System simulator 20, for enabling UE Test Loop Mode, activating special EPS and carrying session, and closed UE Test Loop; Also for calling data loopback universal test flow process, and whether pass through according to test measured terminal 10 the IP packet that special EPS carries the transmission of return system simulator 20, determine whether successful special EPS carrying sets up.
Wherein, described system simulator 20, is specially for activating special EPS carrying session:
Described system simulator 20, carry a RRCConnectionReconfiguration message of Activate Dedicated EPSBearer Context Request message for sending to measured terminal 10, and receive the RRCConnectionReconfigurationComplete message carrying Activate Dedicated EPS Bearer Context Accept message that measured terminal 10 sends.
Wherein, described system simulator 20, is specially for closed UE Test Loop:
Described system simulator 20, for sending Close UE Test Loop message to measured terminal 10, and receives the Close UE Test Loop Complete message that measured terminal 10 sends.
After the special EPS carrying of described test system and test is successfully established,
Described system simulator 20, be further used for sending the 2nd RRCConnectionReconfiguration message to measured terminal 10, in the 2nd RRCConnectionReconfiguration message, carry Deactivate Dedicated EPS Bearer Context Request message;
Described measured terminal 10, after being further used for receiving the 2nd RRCConnectionReconfiguration message, send the 2nd RRCConnectionReconfigurationComplete message to system simulator 20, in the 2nd RRCConnectionReconfigurationComplete message, carry DeactivateDedicated EPS Bearer Context Accept message;
Described system simulator 20, after being further used for receiving the 2nd RRCConnectionReconfigurationComplete message, calling data loopback universal test flow process, and whether pass through according to test measured terminal 10 the IP packet that special EPS carries the transmission of return system simulator, whether successfully determine that special EPS carries release.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.