Summary of the invention
The present invention provides a kind of verification method, Apparatus and system of data transmission correctness for uplink user, in order to solve the problem that in portable terminal carrying out cell switch process, can't verify data transmission correctness for uplink user effectively that exists in the prior art.
Concrete, the present invention provides a kind of demo plant of data transmission correctness for uplink user, comprising:
The source base station simulator is used for triggering mobile terminals and opens the loopback test pattern, sends user data package to said portable terminal and data comparison module, and notifies said portable terminal to switch to the target BS simulator;
The target BS simulator is used for when receiving the user data package of portable terminal transmission, stopping pre-started timer T1, and transmitting said user data package to data comparison module;
Data comparison module is used for the user data package that said source base station simulator and target BS simulator send is compared, and obtains the checking result and reports;
Radio-frequency module is used for user data and signaling mutual between said source base station simulator, target BS simulator and said portable terminal are transmitted.
Further, said device also comprises: standard interface module is used between said source base station simulator and target BS simulator, providing standard x 2 communication interfaces.
Device provided by the invention further has following characteristics:
Said target BS simulator starts pre-configured timer T1 when said source base station simulator sends user data package.
Said target BS simulator when also being used in the timing that said timer T1 sets, not receiving the user data package of said portable terminal transmission, directly being judged said user data transmission mistake, and is reported this checking result.
Said data comparison module is verified out that said uplink user data transmission is correct and is reported this checking result when the user data package comparative result of said source base station simulator and the transmission of target BS simulator is consistent; When comparative result is inconsistent, verifies out said uplink user data error of transmission and report this checking result.
The present invention also provides a kind of verification method of data transmission correctness for uplink user, comprising:
Step 1, source base station simulator triggering mobile terminals are opened the loopback test pattern, and the notice portable terminal switches to the target BS simulator after portable terminal and data comparison module transmission user data package;
The user data package that step 2, portable terminal buffer memory receive starts pre-configured timer T2, and switches buffer memory is sent in user data package from the overtime back of completion and timer T2 to the target BS simulator in the sub-district;
The user data package that step 3, target BS simulator mobile terminal receive send stops pre-started timer T1, and transmits said user data package to data comparison module;
Step 4, data comparison module compare the user data package of source base station simulator and the transmission of target BS simulator, and the correctness of checking uplink user data transmission also reports the checking result.
Wherein, said target BS simulator starts pre-configured timer T1 when said source base station simulator sends user data package, and the timing of said timer T1 is greater than the timing of timer T2.
When said target BS simulator does not receive the user data package of portable terminal transmission in timer T1 timing, directly judge said uplink user data error of transmission, and report this checking result.
Said step 4 is specially: data comparison module is verified out that said uplink user data transmission is correct and is reported this checking result when the user data package comparative result of said source base station simulator and the transmission of target BS simulator is consistent; When comparative result is inconsistent, verifies out said uplink user data error of transmission and report this checking result.
The present invention also provides a kind of verification system of data transmission correctness for uplink user, and said system comprises: demo plant and portable terminal;
Said demo plant comprises:
The source base station simulator is used for triggering mobile terminals and opens the loopback test pattern, sends user data package to said portable terminal and data comparison module, and notifies said portable terminal to switch to the target BS simulator;
The target BS simulator is used for when receiving the user data package of portable terminal transmission, stopping pre-started timer T1, and transmitting said user data package to data comparison module;
Data comparison module is used for the user data package that said source base station simulator and target BS simulator send is compared, and obtains the checking result and reports;
Radio-frequency module is used for user data and signaling mutual between said source base station simulator, target BS simulator and said portable terminal are transmitted;
Said portable terminal comprises:
Data reception module is used for buffer memory after the user data package that the reception sources base station simulator sends, and starts pre-configured timer T2;
The sub-district switching executing module is used for the switching notice that the reception sources base station simulator sends, and switch the beginning sub-district, and the sub-district switch accomplish and timer T2 overtime after, the user data package of buffer memory is sent to the target BS simulator.
Beneficial effect of the present invention is following:
Method provided by the invention is through utilizing the loopback test pattern; Realized effectively data content in the data transmission procedure and transmission direction accuracy verification; Solved can only verify in the prior art switch to accomplish after transfer of data correctness under target BS, can't verify the problem of transfer of data correctness in handoff procedure effectively.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
To defective that exists in the prior art and deficiency; The present invention provides a kind of verification method, Apparatus and system of data transmission correctness for uplink user; The content that user face data sends and the accuracy of direction have been realized verifying portable terminal effectively in handoff procedure.
As shown in Figure 1, be the demo plant of a kind of data transmission correctness for uplink user provided by the invention, the entity logical construction sketch map that this device is simulated is as shown in Figure 2.Concrete, said device comprises: source base station simulator 110, target BS simulator 120, data comparison module 130, radio-frequency module 140 and standard interface module 150.Wherein, source base station simulator, target BS simulator are for simulating the equipment of FDD and TDD LTE base station.
Concrete, source base station under the source base station simulator 110, simulating mobile terminal is used for triggering mobile terminals and opens the loopback test pattern, send user data package to portable terminal and data comparison module 130, and the notice portable terminal switches to the target BS simulator;
Base station under the target BS simulator 120, the simulating mobile terminal Target cell of changing to be cut is used for when receiving the user data package of portable terminal transmission, stopping pre-started timer T1, and transmits user data package to data comparison module 130;
Wherein, the time of startup timer T1 is preferably when source base station simulator 110 sends user data package.Certainly the present invention does not limit this a kind of implementation, and promptly target BS simulator 120 is accomplished at portable terminal and can be started timer T1 at any time before switching, but will be in advance the timing of timer T1 rationally be provided with.Here rationally be meant according to portable terminal normally accomplish switch required time and portable terminal transmission user data to the maximum delay time of target BS simulator 120 and value.
Further, target BS simulator 120 when also being used in the timing that timer T1 sets, not receiving the user data package of portable terminal transmission, directly being judged the user data transmission mistake, and is reported this checking result.
Data comparison module 130 is used for source base station simulator 110 and the user data package that target BS simulator 120 sends are compared, and obtains the checking result and reports;
Concrete, data comparison module 130 is verified out that the uplink user data transmission is correct and is reported this checking result when the user data package comparative result of source base station simulator 110 and 120 transmissions of target BS simulator is consistent; When comparative result is inconsistent, verifies out the uplink user data error of transmission and report this checking result.
Radio-frequency module 140 is used for user data mutual between source base station simulator 110, target BS simulator 120 and portable terminal and signaling are transmitted.
Standard interface module 150 is used between source base station simulator and target BS simulator, providing standard x 2 communication interfaces.
Through demo plant provided by the invention, realized effectively data content in the data transmission procedure and transmission direction accuracy verification.
Based on the operation principle of above-mentioned demo plant, through an instantiation the concrete implementation procedure of the verification method of data transmission correctness for uplink user provided by the invention is set forth in detail below.
The method that the embodiment of the invention provides; Through the base station simulator base station eNB 2 under source base station eNB1 and the portable terminal Target cell of changing to be cut under the simulating mobile terminal respectively, source base station simulator eNB1 is connected through the X2 interface of 3GPP TS 36.300 standards with target BS simulator eNB2; Portable terminal and source base station simulator eNB1 keep the RRC connection status, and portable terminal all is connected through the Uu interface with each base station simulator.
As shown in Figure 3, the realization flow figure for the verification method of data transmission correctness for uplink user specifically may further comprise the steps:
Step S301, source base station simulator send to portable terminal through radio-frequency module and open the loopback mode instruction.
Step S302, portable terminal are opened the loopback test pattern, and packet delay timer T_delay_modeB are set after receiving and opening the loopback mode instruction.The timing of this timer can be provided with according to real needs flexibly, does not do qualification at this.
The all definition to some extent in 3GPP TS 36.509 standards of loopback test pattern in this step and delay timer.
Step S303, source base station simulator send user data package to portable terminal and data comparison module, and the target BS simulator starts timer T simultaneously.
Present embodiment be with the target BS simulator when the source base station simulator sends user data package, start pre-configured timer T, this is a kind of preferred implementation certainly, the present invention does not only limit opening timing device T at the moment.
Wherein, the timing of timer T is greater than the timing of timer T_delay_modeB.
Step S304, portable terminal deposit the user data package that receives in the buffer memory in, and start timer T_delay_modeB.
Step S305, source base station simulator send the sub-district switch indicating information to portable terminal, and the notice portable terminal switches to the target BS simulator.
After step S306, portable terminal receive the sub-district switch indicating information, begin to switch, and send switch acknowledgment message to the target BS simulator.
Step S307, target BS simulator send handoff completion message to the source base station simulator after switching completion.
Step S308, portable terminal judge whether timer T_delay_modeB is overtime, if, execution in step S309; Otherwise, continue to wait for.
Step S309, portable terminal are sent to the target BS simulator through the ascending physical signal shared channel with cached data packet.
Step S310, target BS simulator judge whether to receive the user data package that portable terminal sends, if, execution in step S313; Otherwise, execution in step S311;
Step S311, target BS simulator judge whether timer T is overtime, if, execution in step S312; Otherwise, return step S310.
Step S312, target BS simulator are judged uplink user data error of transmission in the handoff procedure, and are reported this checking result.
Step S313, target BS simulator stop timer T, and the user data package that receives is sent to data comparison module.
Packet that step S314, data comparison module send the target BS simulator and source base station simulator send to user data package and compare; Whether judgment data is consistent, if then judge in the handoff procedure; The uplink user data transmission is correct, reports this checking result; Otherwise, judge the uplink user data error of transmission, and report this checking result.
The embodiment of the invention also provides a kind of verification system of data transmission correctness for uplink user, and is as shown in Figure 4, and this system comprises: demo plant 410 and portable terminal 420.
Wherein, demo plant 410 comprises: source base station simulator 411, target BS simulator 412, data comparison module 413, radio-frequency module 414 and standard interface module 415, and each functional module is identical with the function of each functional module among Fig. 1, does not do at this and gives unnecessary details;
Portable terminal 420 comprises: data reception module 421 and sub-district switching executing module 422;
Wherein, data reception module 421 is used for buffer memory after the user data package that reception sources base station simulator 411 sends, and starts pre-configured timer T2;
Sub-district switching executing module 422 is used for the switching notice that reception sources base station simulator 411 sends, and switch the beginning sub-district, and the sub-district switch accomplish and timer T2 overtime after, the user data package of buffer memory is sent to target BS simulator 412.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.