Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides a kind of handoff trigger system, and its structure comprises test console 21, decoder 22 and base station transmitting power controller 23 as shown in Figure 2, wherein:
Test console 21 is used to generate switching controls word sequence, successively each the switching controls word in the switching controls word sequence is sent to decoder 22;
Decoder 22 is used for generating control command according to the switching controls word that receives, and the control command that generates is sent to relevant base station transmitting power controller 23;
Base station transmitting power controller 23 is used for according to the control command that receives relevant base station being carried out the control of transmitting power, carries out handover to trigger described portable terminal according to described transfer sequence.
Preferably, when test console 21 generates switching controls word sequence, determine the transfer sequence of portable terminal when carrying out handover for each Zone switched earlier, and according to the corresponding relation between the default Zone switched and switching controls word, each Zone switchedly is separately converted to corresponding switching controls word, according to switching controls word and the described transfer sequence after transforming, generate switching controls word sequence.
More preferably, when test console 21 is determined the transfer sequence of portable terminals when carrying out handover for each Zone switched, test console 21 is in each is Zone switched, choose the initially Zone switched of portable terminal, initially Zone switched with what select, it is current of living in Zone switched to confirm as described portable terminal, repeat following step, switching times until described portable terminal reaches default switching times threshold value: in Zone switched with current Zone switched adjacent each of living in of described portable terminal, choose the next Zone switched of described portable terminal, Zone switched with what select, it is current of living in Zone switched to confirm as described portable terminal.
More preferably, test console 21 is according to the constraints of the current Zone switched correspondence of living in of described portable terminal, in Zone switched with current Zone switched adjacent each of living in of described portable terminal, chooses the next Zone switched of described portable terminal.
Preferably, decoder 22 specifically is used for, and according to default decoding rule, the switching controls word that receives is deciphered, and obtains the control command that the transmitting power of each base station is controlled.
More preferably, decoder 22 specifically is used for, according to default decoding rule, when the switching controls word that receives is deciphered, according to default decoding rule, the switching controls word that receives is deciphered, obtain corresponding encoded control word, then according to the encoded control word that obtains, determine the control command that the transmitting power of each base station that portable terminal is switched is controlled.
Preferably, decoder 22 specifically is used for, and at each base station, respectively the control corresponding instruction is sent to the base station transmitting power controller 23 of this base station.
Preferably, the handoff trigger system also comprises data acquisition unit, is used for when described portable terminal switches at every turn, from operation maintenance center (OMC, Operations ﹠amp; Maintenance Center) obtains the transmitting power of preceding each base station of described portable terminal switching, the transmitting power and the switching result information of each base station, switching back in, and transmitting power and the switching result information that obtains is sent to described test console 21;
Described test console 21 is determined handover information that described portable terminal this time switches according to the transmitting power that receives, and described handover information comprises Zone switched, the switching result Zone switched and that this time switch after switching this time before this time switching.
Based on above-mentioned handoff trigger system, the embodiment of the invention also provides a kind of handoff trigger method, and as shown in Figure 3, its concrete handling process is as follows:
Step 31, test console generate switching controls word sequence;
Wherein, test console is at first determined the transfer sequence of portable terminal when carrying out handover for each Zone switched, and according to the corresponding relation between the default Zone switched and switching controls word, each Zone switchedly is separately converted to corresponding switching controls word, according to switching controls word and described transfer sequence after transforming, generate switching controls word sequence then.
In the embodiment of the invention, when test console is determined the transfer sequence of portable terminal when carrying out handover for each Zone switched, earlier in each is Zone switched, choose the initially Zone switched of portable terminal, what will select then is initially Zone switched, it is current of living in Zone switched to confirm as described portable terminal, repeat following step, switching times until described portable terminal reaches default switching times threshold value: in Zone switched with current Zone switched adjacent each of living in of described portable terminal, choose the next Zone switched of described portable terminal, Zone switched with what select, it is current of living in Zone switched to confirm as described portable terminal.
When test console is chosen described portable terminal next Zone switched, can picked at random, also can choose based on constraints, at this moment, test console is according to the constraints of the current Zone switched correspondence of living in of described portable terminal, in Zone switched, choose the next Zone switched of described portable terminal with current Zone switched adjacent each of living in of described portable terminal.
The method of above-mentioned definite transfer sequence also can be called the random algorithm based on constraint, this thought of random algorithm based on constraint be exactly according to portable terminal current of living in Zone switched calculate might switch to Zone switched, and therefrom choose one Zone switched, Zone switched as the next one, and then with this Zone switched as portable terminal current of living in Zone switched calculate next Zone switched, so circulation can infinitely go on.
Above-mentioned constraints has multiple, can determine according to the test needs by the tester, for example, as shown in Figure 1, from physical location, when portable terminal is in Zone switched P1, its might switch to Zone switched Zone switched P3 arranged, Zone switched P5 and Zone switched P7, but according to the test needs, in the time of can retraining portable terminal and be in Zone switched P1, can only switch to Zone switched P3, perhaps, according to the test needs, can retrain portable terminal is 1/2nd from the probability that Zone switched P1 switches to Zone switched P3, and portable terminal is 1/4th from the probability that Zone switched P1 switches to Zone switched P5 and P7, be similar in the actual scene and have only a road to Zone switched P5 from Zone switched P1, perhaps from Zone switched P1 to Zone switched P3, P5, the probability difference that P7 moves, such scene are very common in mobile communication system, therefore above-mentioned random algorithm based on constraint can make the test of handover success rate truer.
In the embodiment of the invention, set in advance the switching controls word of each Zone switched correspondence, as shown in Figure 1, the switching controls word that Zone switched P1 correspondence is set is 1, the switching controls word of Zone switched P2 correspondence is 2, the switching controls word of Zone switched P3 correspondence is 3, and the like.
If the transfer sequence determined is P1 → P5, then the switching controls word sequence of Sheng Chenging be 1,5} is P1 → P5 → P4 as if the transfer sequence of determining, and then the switching controls word sequence of Sheng Chenging be 1,5,4}.
Step 32, test console send to decoder with each the switching controls word in the switching controls word sequence successively;
After test console generates switching controls word sequence, successively each the switching controls word in the switching controls word sequence is sent to decoder, for example, the switching controls word sequence that generates is { 1,5,4}, then test console sends to decoder with switching controls word 1 earlier, then after the time interval through a setting, switching controls word 5 is sent to decoder, and then after the time interval through a setting, switching controls word 4 being sent to decoder, the time interval of above-mentioned setting is determined by the control word transmission speed.
The embodiment of the invention proposes, test console can be according to the random algorithm based on constraint, generate complete switching controls word sequence in advance, the length controlled of this sequence, when test console generates switching controls word sequence, number, these initial parameters of control word transmission speed of reference sequences length, base station number, the maximum receivable base station signal of portable terminal.
In addition, test console also can produce switching controls word sequence in the handoff trigger process, Yi Bian promptly successively each the switching controls word in the switching controls word sequence is sent to decoder, Yi Bian continue to generate switching controls word sequence.
Step 33, decoder generate control command according to the switching controls word that receives, and the control command that generates is sent to the relevant base station transmitting power controller;
Wherein, decoder, according to default decoding rule, is deciphered the switching controls word that receives when generating control command according to the switching controls word that receives, and obtains the control command that the transmitting power of each base station is controlled.
Decoder is according to default decoding rule, the switching controls word that receives is deciphered, obtain corresponding encoded control word,, determine the control command that the transmitting power of each base station that portable terminal is switched is controlled then according to the encoded control word that obtains.
In addition, when decoder sends to the relevant base station transmitting power controller with the control command that generates,, respectively the control corresponding instruction is sent to the base station transmitting power controller of this base station at each base station.
In the embodiment of the invention, the respectively corresponding encoded control word of each switching controls word, for example, the encoded control word of switching controls word 5 correspondences is 101, and each numeral in 101 is all represented a base station, first digit is represented base station 1, and second digit is represented base station 2, and third digit is represented base station 3, can represent each base station with binary digit, if the transmitting power of base station is non-vanishing, then Dui Ying binary digit is 1, if the transmitting power of base station is zero, then Dui Ying binary digit is 0, each encoded control word all represent one Zone switched, for example, as shown in Figure 1, the transmitting power of switching controls word 101 expression base stations 1 is non-vanishing, the transmitting power of base station 2 is zero, and the transmitting power of base station 3 is non-vanishing, and the Zone switched of correspondence is Zone switched P5.
Test console sends to switching controls word 5 after the decoder, decoder is decoded as 101 with this switching controls word, the transmitting power of determining base station 1 then is non-vanishing, the transmitting power of base station 2 is zero, and the transmitting power of base station 3 is non-vanishing, therefore obtain control command that the transmitting power of base station 1 is controlled for transmitting, the control command that the transmitting power of base station 2 is controlled is not for transmitting, and the control command that the transmitting power of base station 3 is controlled is for transmitting.
Step 34, the base station transmitting power controller carries out the control of transmitting power according to the control command that receives to relevant base station, carries out handover to trigger described portable terminal according to described transfer sequence.
If the control command that the base station transmitting power controller receives is for transmitting, then controlling relevant base station transmits, if the control command that the base station transmitting power controller receives is not for transmitting, then controlling relevant base station does not transmit, thereby the control portable terminal switches in each is Zone switched according to the transfer sequence of determining, and can trigger the handover of various needed switching types.
The base station transmitting power controller can use the numerical control switch that the base station is controlled.If the quantity of base station is 8 or less than 8, then can use three or eight decoders, if the quantity of base station is bigger, then can use two three or eight decoders.
The embodiment of the invention can further include following step:
When portable terminal switches at every turn, data acquisition unit obtains the transmitting power that described portable terminal switches preceding each base station from OMC, switch the transmitting power and the switching result information of each base station, back, and transmitting power and the switching result information that obtains sent to described test console, test console is according to the transmitting power that receives, determine the handover information that this portable terminal this time switches, described handover information comprises Zone switched before this time switching, switching result Zone switched and that this time switch after this time switching, test console obtains test result according to handover information, and shows test results.
As shown in Figure 4, configuration diagram for test console in the embodiment of the invention, comprise switching sequence generation module, data processing module and real time monitoring module, wherein switching sequence generation module is used for according to the switching controls word sequence based on a random algorithm that retrains and a length controlled of initial parameter generation, and successively the switching controls word is mail to decoder, data processing module mainly is responsible for transmitting power and the switching result information according to the data acquisition unit transmission, determine the handover information that this portable terminal this time switches, and mail to the real time monitoring module, the real time monitoring module obtains test result according to handover information, and show test results, and provide the user visualization interface, so that the user is configured whole test system, comprise the test beginning and ending time, the needed initial parameter of switching sequence generation module, the real time monitoring module also is used for the real-time control to test, comprise the startup of test, suspend, continue and termination, the real time monitoring module comprises that to the statistics demonstration of test result switching shows one by one, by specifying the switching type statistics to show, add up demonstration etc. by all switching types, the real time monitoring module can also be finished testing journal sheet's making and output.
The test result that the real time monitoring module shows can but be not limited to as shown in the table:
By above-mentioned processing procedure as can be known, in the embodiment of the invention technical scheme, test console generates switching controls word sequence, successively each the switching controls word in the switching controls word sequence is sent to decoder then; Decoder generates control command according to the switching controls word that receives, and the control command that generates is sent to the relevant base station transmitting power controller; The base station transmitting power controller carries out the control of transmitting power according to the control command that receives to relevant base station, carries out handover to trigger described portable terminal according to described transfer sequence.Therefore, embodiment of the invention technical scheme is not to come triggering mobile terminals to carry out handover by the manual transmitting power of each base station of lifting repeatedly of tester, but send the switching controls word to decoder by test console, by after the decoder for decoding to each base station transmitting power controller sending controling instruction, control with transmitting power each base station, therefore can improve the triggering efficient that triggers handover, the transmitting power that has realized a plurality of base stations changes simultaneously, thereby can trigger the handover of various switching types, obtain accurately, comprehensive handover success rate.
Provide more detailed execution mode below.
If base station 1, Zone switched of each of base station 2 and base station 3 concern that schematic diagram as shown in Figure 1, then the handoff trigger system in the embodiment of the invention realizes schematic diagram as shown in Figure 5, here be example with the system under test (SUT) that three base stations are arranged, but the embodiment of the invention is not limited to the system under test (SUT) that has only three base stations is tested, wherein, base station 1, base station 2, base station 3, base station controller and OMC server have been formed system under test (SUT), base station transmitting power controller 1, base station transmitting power controller 2, base station transmitting power controller 3, decoder, data acquisition unit and test console have been formed test macro, wherein, test console generates switching controls word sequence, and the switching controls word sent to decoder successively, decoder is deciphered the switching controls word that test console sends, to each base station transmitting power controller sending controling instruction, base station transmitting power controller 1, base station transmitting power controller 2 and base station transmitting power controller 3 are controlled base station 1 respectively, the transmitting power of base station 2 and base station 3, carry out handover with triggering mobile terminals, data acquisition unit collects the transmitting power that portable terminal switches preceding each base station from the OMC server, switch the transmitting power and the switching result information of each base station, back, and send to test console.
Accordingly, the embodiment of the invention provides a kind of test console, and its structure comprises as shown in Figure 6:
Switching controls word sequence generating unit 61 is used to generate switching controls word sequence;
Switching controls word transmitting element 62 is used for successively each switching controls word of switching controls word sequence is sent to decoder.
Preferably, switching controls word sequence generating unit 61 specifically comprises:
Transfer sequence is determined subelement, is used for determining the transfer sequence of portable terminal when carrying out handover for each Zone switched;
Switching controls word transformant unit is used for according to the corresponding relation between the default Zone switched and switching controls word, and each Zone switchedly is separately converted to corresponding switching controls word;
Switching controls word sequence generates subelement, is used for generating switching controls word sequence according to switching controls word and described transfer sequence after the conversion of switching controls word transformant unit.
More preferably, transfer sequence determines that subelement specifically comprises:
The initial Zone switched module of choosing is used at each Zone switchedly, chooses the initially Zone switched of portable terminal;
Zone switched affirmation module is used for initial Zone switched initially Zone switched that module selects of choosing, and it is current of living in Zone switched to confirm as described portable terminal;
Processing module, be used to repeat following step, switching times until described portable terminal reaches default switching times threshold value: in Zone switched with current Zone switched adjacent each of living in of described portable terminal, choose the next Zone switched of described portable terminal, Zone switched with what select, it is current of living in Zone switched to confirm as described portable terminal.
More preferably, described processing module specifically is used for:
According to the constraints of the current Zone switched correspondence of living in of described portable terminal, in Zone switched, choose the next Zone switched of described portable terminal with current Zone switched adjacent each of living in of described portable terminal.
Preferably, described test console also comprises:
Receiving element, be used to receive the transmitting power of preceding each base station of portable terminal switching that data acquisition unit sends, described, the transmitting power and the switching result information of each base station, switching back, wherein, when described portable terminal switches at every turn, data acquisition unit obtains the transmitting power of preceding each base station of described portable terminal switching, the transmitting power and the switching result information of each base station, switching back from OMC, and transmitting power and the switching result information that obtains is sent to described test console;
The information determining unit, be used for the transmitting power that receives according to receiving element, determine handover information that described portable terminal this time switches, described handover information comprises Zone switched, the switching result Zone switched and that this time switch after switching this time before this time switching.
The embodiment of the invention provides a kind of decoder, and its structure comprises as shown in Figure 7:
Switching controls word receiving element 71 is used for the switching controls word that the acceptance test control desk sends;
Decoding unit 72 is used for the switching controls word that receives according to switching controls word receiving element 71, generates control command;
Control command transmitting element 73 is used for the control command that decoding unit 72 generates is sent to the relevant base station transmitting power controller.
Preferably, decoding unit 72 specifically is used for, and according to default decoding rule, the switching controls word that receives is deciphered, and obtains the control command that the transmitting power of each base station is controlled.
More preferably, decoding unit 72 specifically comprises:
The decoding subelement is used for according to default decoding rule the switching controls word that switching controls word receiving element 71 receives being deciphered, and obtains corresponding encoded control word;
Control command is determined subelement, is used for according to the encoded control word that obtains of decoding subelement, determines the control command that the transmitting power of each base station that portable terminal is switched is controlled.
Preferably, control command transmitting element 73 specifically is used for, and at each base station, respectively the control corresponding instruction is sent to the base station transmitting power controller of this base station.
The embodiment of the invention provides a kind of base station transmitting power controller, and its structure comprises as shown in Figure 8:
Control command receiving element 81 is used for the control command that receiver decoder sends;
Control unit 82 is used for the control command that receives according to control command receiving element 81, and relevant base station is carried out the control of transmitting power, carries out handover to trigger described portable terminal according to described transfer sequence.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the disclosed form of this paper, should not regard eliminating as to other embodiment, and can be used for various other combinations, modification and environment, and can in invention contemplated scope described herein, change by the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of claims of the present invention.