Summary of the invention
At defective that exists in the prior art and deficiency, purpose of the present invention proposes a kind of apparatus and method of mobile communication subscriber handover delay test, the present invention directly measures the communication interruption time of the voice-and-data of user's face in the handoff procedure, can investigate more accurately and switch in the generating process, the actual interrupt time of telex network, thus rapider, accurately and easily investigate the actual performance of switching aspect in the network operation.
In order to achieve the above object, the present invention proposes in a kind of mobile communication subscriber handoff procedure, the testing apparatus of data handover delay comprises:
Test terminal movably, described test terminal can between the sub-district, switch and with the network side communication;
Data transmission module, described data transmission module is arranged at described test terminal and network side respectively, and every interval one preset time T transmission test packet, and described test packet has identical sign and continuous sequence number;
After receiving terminal receives test packet, calculate the quantity N of the test packet that does not receive
i, and calculate handover delay Td according to T blanking time that sends test packet
i=N
i* T.
Preferred as technique scheme, described device also comprises:
Data analysis module, described data analysis module filters out the test packet corresponding with this receiving terminal according to the sign of the test packet that described data transmission module receives, and determines to occur in all test packets in each handoff procedure;
Handover delay computing module, described handover delay computing module count the quantity N of the test packet that does not receive according to the sequence number of the described test packet in the handoff procedure
i, i is the numbering of this switching, and calculates handover delay Td according to T blanking time that sends test packet
i=N
i* T.
Preferred as technique scheme, described device also comprises:
Filter module, described filter module forms filter according to the time of hand off signaling;
Migration factor computing module, described migration factor computing module is provided with the migration factor of filter according to the time clock correction between receiving terminal and the network side;
Described data analysis module filters out the test packet of this receiving terminal correspondence according to the sign of test packet, and according to the transmitting time of test packet, obtains occurring in all test packets when switching by the filter and the migration factor.
Simultaneously, the invention allows for data handover delay method of testing in a kind of mobile communication switch course, comprising:
Switch in the minizone step 1, test terminal, and every interval one preset time T transmits test packet between the data transmission module of test terminal and network side, and described test packet has identical sign and continuous sequence number;
After step 2, receiving terminal receive test packet, calculate the quantity N of the test packet that does not receive
i, and calculate handover delay Td according to T blanking time that sends test packet
i=N
i* T.
Preferred as technique scheme, described step 2 is specially:
Step 2a, receiving terminal are added up the test packet that receives, and filter out the test packet corresponding with this receiving terminal according to the sign of test packet, and determine to occur in all test packets in each handoff procedure;
Step 2b, according to the sequence number of all test packets in the handoff procedure, count the quantity N of the test packet that does not receive
i, and calculate handover delay Td according to T blanking time that sends test packet
i=N
i* T.
Preferred as technique scheme, described step 2a is specially:
Step 2a1, receiving terminal form filter according to the time of hand off signaling;
Step 2a2, according to the time clock correction between test terminal and the network side, the migration factor of filter is set;
Step 2a3, filter out the test packet of this receiving terminal correspondence, and according to the transmitting time of test packet, obtain occurring in all test packets when switching by the filter and the migration factor according to the sign of test packet.
Simultaneously, the invention allows for a kind of mobile communication switch course sound intermediate frequency handover delay testing apparatus, comprising:
Test terminal movably, described test terminal can between the sub-district, switch and with the network side communication;
Audio transmission module, described audio transmission module are arranged at described test terminal and described network side respectively, send the audio signal of preset frequency between the audio transmission module of described network side and test terminal;
After receiving terminal received this audio signal, the characteristic audio signal that relatively receives and the predeterminated frequency of audio signals calculated handover delay Tv
i, wherein i is the numbering of this switching.
Preferred as technique scheme, described device also comprises:
Audio analysis module, described audio analysis module determine wherein to occur in the audio frequency period in the handoff procedure;
The handover delay computing module, the inconsistent time span Tv of predeterminated frequency of the characteristic audio signal that described handover delay computing module receives and the audio signal of emission
i, as handover delay.
Preferred as technique scheme, described device also comprises:
Filter module, described filter module forms filter according to the time of hand off signaling;
Migration factor computing module, described migration factor computing module are provided with the migration factor of filter according to the audio transmission module of received audio signal and the time clock correction between the network side;
Described audio analysis module is according to the audio signal that receives, and obtains occurring in audio frequency period in the handoff procedure by the filter and the migration factor.
Simultaneously, the invention allows for a kind of mobile communication switch course sound intermediate frequency handover delay method of testing, comprising:
Switch in the minizone step I, test terminal, sends the audio-frequency test signal between the audio transmission module of test terminal and network side continuously;
After Step II, receiving terminal receive the audio-frequency test signal,, calculate handover delay Tv according to the predeterminated frequency of the audio signal of characteristic audio signal that receives and emission
i
Preferred as technique scheme, described Step II is specially:
Step II a, receiving terminal form filter according to the time of hand off signaling;
Step II b, according to the time clock correction between test terminal and the network side, the migration factor of filter is set;
Step II c, obtain occurring in audio frequency period when switching, and calculate the time span Tv that characteristic audio signal does not wherein meet predeterminated frequency according to filter and the migration factor
i, as the handover delay of this time switching.
The present invention proposes the testing apparatus and the method for data and audio frequency handover delay in a kind of mobile communication subscriber handoff procedure.Described device comprises movably test terminal and data transmission module, sends test packet and/or predetermined frequency audio signal with like-identified and continuous sequence number between this test terminal and the network side, and calculates handover delay.Described method comprises: switch in the minizone test terminal, the one preset time period transmission of every interval has the audio signal of the test packet and/or the predeterminated frequency of sign between the data transmission module at test terminal and network two ends, the data transmission module that receives data and/or audio frequency changes according to sequence number that receives packet or acoustic characteristic, calculates handover delay.Test packet of the present invention does not relate to the bottom transmission technology, so just can use simultaneously in many networking operational environments, can test user speech in the mobile communication system, data time delay for switching accurately simultaneously, to improve the accuracy for delay testing.
Compare in prior art, the present invention adopts the beneficial effect of technique scheme to be:
(1) because the present invention adopts the mode of measuring record and statistics user data in handoff procedure break period to carry out handover delay calculates, can more accurate calculating handoff procedure in break period of user's face speech or data, better observe and learn user's impression by experience.
(2) the present invention only need be with common portable terminal, and can calculate the handover delay in the cellular mobile communication networks of different technologies, has eliminated the inconsistency of heterogeneous networks aspect hand off signaling, can use simultaneously in many networking operational environments.Combine by method, can better investigate the communication quality of network, the problem in the middle of the more deep probe network with traditional statistics signaling plane handover delay.
(3) the present invention can also distinguish the time delay situation of statistics and Packet Service every business when concurrent.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
The mobile communication subscriber switching that the present invention proposes comprises according to first preferred embodiment of the device of handover delay test as shown in Figure 1:
Test terminal movably, described test terminal can between the sub-district, switch and with the network side communication;
Data transmission module, described data transmission module is arranged at described test terminal and network side respectively, and is the continuous test packet that sends of cycle with the preset time T, and described packet has identical sign and continuous sequence number; After receiving terminal receives test packet, calculate the quantity N of the test packet that does not receive
i, and calculate handover delay Td according to T blanking time that sends test packet
i=N
i* T.
Test is to occur between test terminal and the network side, and network side and test terminal all are provided with data transmission module, so just can be respectively or carry out up test and descending test simultaneously.Up test is movably that the test terminal sends packet to network side, and this moment, the data transmission module of test terminal was a transmitting terminal, and the data transmission module of network side is a receiving terminal; Descending test is network side and sends packet to test terminal movably, and this moment, the data transmission module of network side was a transmitting terminal, and the data transmission module of test terminal is a receiving terminal.The identical sign of packet be under many network condition distinguishing the test signal of heterogeneous networks, continuous sequence number for the continuity of identification data packet to calculate the data packet number N that in handoff procedure, loses
i
Can rule of thumb be worth in actual use in the above-described embodiments last result of calculation is revised.For example:
In once switching, occurred the packet packet loss one time, lost 3 packets continuously, then can calculate the handover delay that 3*T is data according to formula.
Again for example:
Occurred the packet packet loss twice in once switching, once for losing 1 packet, another time then rule of thumb can judge when losing 1 packet to be normal data packet transmission problem for having lost 3 packets continuously, switches no thanks to and causes.
Again for example:
In once switching, occurring data-bag lost one time, and this time only lost 1 packet, can think that then this secondary data packet loss is the switching packet loss.
Mode that can certainly be by repeatedly testing value is to guarantee the reliability of data.Those skilled in that art are appreciated that in above-mentioned this that rule of thumb correction of value is a kind of optimization for first embodiment, and protection scope of the present invention is not limited only to this.
Second preferred embodiment of the device of the mobile communication subscriber handover delay test that the present invention proposes is to improve on the first above-mentioned preferred embodiment, and the device in first preferred embodiment can also comprise:
Data analysis module, described data analysis module filters out the packet corresponding with this receiving terminal according to the sign of the packet that described data transmission module receives, and occurs in all test packets in the handoff procedure in the specified data bag;
Handover delay computing module, described handover delay computing module count the quantity of data packets N of the continuous sequence number that does not receive according to the sequence number of all test packets in the handoff procedure
i, i is the numbering of this switching, and calculates handover delay Td according to T blanking time that sends packet
i=N
i* T.
Above-mentioned data analysis module can be the independently module that is connected with data transmission module with the handover delay computing module, also can be the submodule that is positioned at data transmission module.This dual mode can be realized goal of the invention.
The 3rd preferred embodiment of the device of the mobile communication subscriber handover delay test that the present invention proposes is to improve on the second above-mentioned preferred embodiment, and promptly the device among second embodiment can also comprise:
Filter module, described filter module forms filter according to the time of hand off signaling;
Migration factor computing module, described migration factor computing module is provided with the migration factor of filter according to the time clock correction between test terminal and the network side;
Described data analysis module filters out the packet of this receiving terminal correspondence according to the sign of packet, and according to the transmitting time of packet, obtains occurring in all test packets when switching by the filter and the migration factor.
Wherein filter module both can be the standalone module that is connected with data analysis module with migration factor computing module, also can be the submodule of data analysis module.This dual mode can be realized goal of the invention.
Migration factor computing module is to be provided with in order to distinguish the test packet which occurs in the handoff procedure.Because the clock of receiving terminal and transmitting terminal may have deviation, particularly when terminal is as receiving terminal, therefore might the transmitting terminal record be the switching that took place at the 0th second, and the receiving terminal clock has been designated as the 4th second, this moment, receiving terminal filtered wrong the 0th second the data of reservation receiving terminal of meeting according to the signaling time of transmitting terminal, and the 4th second packet of receiving terminal is omitted, cause the mistake of data to filter.In order to improve the accuracy of test, the clock of receiving terminal relatively need be obtained the migration factor according to the system clock of network side.
As a kind of mode that realizes, can simply think: data transmission module is a testing software, and this testing software is installed in respectively in network side and the test terminal.When test, IP address and port numbers with test terminal and network side setting communication, move according to predetermined paths the test terminal, and test terminal and network carry out the data transmission between the two simultaneously, and testing software can obtain to be used to test the test data of handover delay.
In above-mentioned first, second and third embodiment, the test packet of transmission can be the packet of ICMP agreement, and described ICMP protocol test packet has default data packet length, unique sign and continuous sequence number.The ICMP agreement is ripe ICP/IP protocol, sends packet by the ICMP agreement in the present embodiment, can realize test after having preset the IP address of test terminal and network side, does not need the network of testing is carried out any transformation.The present invention is directed to the packet of ICMP agreement simultaneously, defined data packet length S, unique sign and continuous sequence number SequenceNumber.Preset data packet length S is the consistency in order to test, and for excessive or too small test pack, can reach default data packet length S by the mode in position, end benefit 0.For continuous sequence number Sequence Number is in order to add up the convenience when receiving packet, only to need can learn the quantity of data packets of wherein losing to the data packet sequencing.
The 4th preferred embodiment of the present invention be the mobile communication subscriber switching according to the handover delay method of testing, its flow process comprises:
Switch in the minizone step 1, test terminal, and the data transmission module of test terminal and network side is the cycle to send test packet with the preset time T, and described test packet has identical sign and continuous sequence number;
After step 2, receiving terminal receive test packet, calculate the quantity N of the test packet of the continuous sequence number that does not receive
i, and calculate handover delay Td according to T blanking time that sends test packet
i=N
i* T.
Test is to occur between test terminal and the network side.Network side and test terminal all are provided with data transmission module, so just can be respectively or carry out up test and descending test simultaneously.Up test is movably that the test terminal sends packet to network side, and this moment, the data transmission module of test terminal was a transmitting terminal, and the data transmission module of network side is a receiving terminal; Descending test is network side and sends packet to test terminal movably, and this moment, the data transmission module of network side was a transmitting terminal, and the data transmission module of test terminal is a receiving terminal.The sign of packet be under many network condition distinguishing the test signal of heterogeneous networks, and the data packet number Ni that loses with calculating for the continuity of identification data packet.
The 5th preferred embodiment of the present invention is to improve on the basis of above-mentioned the 4th preferred embodiment, and step 2 can be specially:
Step 2a, receiving terminal are added up the test packet that receives, and filter out the test packet corresponding with this receiving terminal according to the sign of test packet, and occur in all test packets in the handoff procedure in definite test packet;
Step 2b, according to the sequence number of all test packets in the handoff procedure, count the quantity N of the test packet of the continuous sequence number that does not receive
i, and calculate handover delay Td according to T blanking time that sends test packet
i=N
i* T.
The 6th preferred embodiment of the present invention is to improve on the basis of above-mentioned the 5th preferred embodiment, and step 2a can be specially:
Step 2a1, receiving terminal form filter according to the time of hand off signaling;
Step 2a2, according to the time clock correction between test terminal and the network side, the migration factor of filter is set;
Step 2a3, filter out the test packet of this receiving terminal correspondence, and according to the transmitting time of test packet, obtain occurring in all test packets when switching by the filter and the migration factor according to the sign of test packet.
The migration factor is to be provided with in order to distinguish the test packet which occurs in the handoff procedure.Because the clock of receiving terminal and transmitting terminal may have deviation, particularly when terminal is as receiving terminal, therefore might the transmitting terminal record be the switching that took place at the 0th second, and the receiving terminal clock has been designated as the 4th second, this moment, receiving terminal filtered wrong the 0th second the data of reservation receiving terminal of meeting according to the signaling time of transmitting terminal, and the 4th second packet of receiving terminal is omitted, cause the mistake of data to filter.In order to improve the accuracy of test, the clock of receiving terminal relatively need be obtained the migration factor according to the system clock of network side.
In above-mentioned fourth, fifth, six embodiment, the test packet of transmission can be the packet of ICMP agreement, and described ICMP protocol test packet has default data packet length, unique sign and continuous sequence number.The ICMP agreement is ripe ICP/IP protocol, sends packet by the ICMP agreement in the present embodiment, can realize test after having preset the IP address of test terminal and network side, does not need the network of testing is carried out any transformation.The present invention is directed to the packet of ICMP agreement simultaneously, defined data packet length S, unique sign and continuous sequence number SequenceNumber.Preset data packet length S is the consistency in order to test, and for excessive or too small test pack, can reach default data packet length S by the mode in position, end benefit 0.For continuous sequence number Sequence Number is in order to add up the convenience when receiving packet, only to need can learn the quantity of data packets of wherein losing to the data packet sequencing.
In above-mentioned one to six example, determining handover delay Td
iAfter, all can be by each Td that switches
iCalculate mathematic expectaion Td_m, the standard deviation Td_delta of handover delay, value and cumulative distribution function.Just each then Td that switches
iCompare with predefined handover delay maximum threshold Td_target, the switching that surpasses maximum threshold is given mark, according to specific switching corresponding among the label lookup Fd_ho, the handover information that each handover delay is surpassed threshold value is exported to the network management system reference.
Audio frequency handover delay testing apparatus when the 7th preferred embodiment of the present invention is the mobile communication subscriber switching comprises:
Test terminal movably, described test terminal can between the sub-district, switch and with the network side communication;
Audio transmission module, described audio transmission module are arranged at described test terminal and described network side respectively, send the audio signal of preset frequency between the audio transmission module of described network side and test terminal;
After receiving terminal received this audio signal, the predeterminated frequency of the audio signal of characteristic audio signal that relatively receives and transmitting terminal emission calculated handover delay Tv
i
Because test is to occur between test terminal and the network side, therefore can be divided into up test and descending test.Up test is movably that the test terminal sends audio signal to network side, and this moment, the audio transmission module of test terminal was transmitting terminal, and the audio transmission module of network side is receiving terminal; Descending test is network side and sends audio signal to test terminal movably, and this moment, the audio transmission module of network side was transmitting terminal, and the audio transmission module of test terminal is receiving terminal.Network side and test terminal all are provided with audio transmission module, so just can be respectively or carry out up test and descending test simultaneously.
The 8th preferred embodiment of the present invention is to improve on the basis of above-mentioned the 7th preferred embodiment, and this device also comprises:
Audio analysis module, described audio analysis module determine wherein to occur in the audio frequency period in the handoff procedure;
The handover delay computing module, the inconsistent time span Tv of the predeterminated frequency of the audio signal of characteristic audio signal that described handover delay computing module receives and transmitting terminal emission
i, as handover delay.
The 9th preferred embodiment of the present invention is to improve on the basis of above-mentioned the 8th preferred embodiment, and described data analysis module comprises:
Filter module, described filter module forms filter according to the time of hand off signaling;
Migration factor computing module, described migration factor computing module is provided with the migration factor of filter according to the time clock correction between test terminal and the network side;
Described audio analysis module is according to the audio signal that receives, and obtains occurring in audio frequency period in the handoff procedure by the filter and the migration factor.
Migration factor computing module is to be provided with in order to distinguish the audio frequency period which occurs in the handoff procedure.Because the clock of receiving terminal and transmitting terminal may have deviation, particularly when terminal is as receiving terminal, therefore might the transmitting terminal record be the switching that took place at the 0th second, and the receiving terminal clock has been designated as the 4th second, this moment, receiving terminal filtered wrong the 0th second the audio signal of reservation receiving terminal of meeting according to the signaling time of transmitting terminal, and the 4th second audio signal of receiving terminal is omitted, filtration makes the mistake.In order to improve the accuracy of test, the clock of receiving terminal relatively need be obtained the migration factor according to the system clock of network side.
In above-mentioned the 7th, eight, nine embodiment, the audio signal frequency of transmission can simply be the dual-tone multifrequency test signal of f1+f2.Characteristic is not equal to the time span Tv of f1+f2 in the audio signal that the receiving terminal analysis receives like this
i, can obtain the audio frequency handover delay.Simultaneously, those skilled in that art are appreciated that the test signal that also can adopt the multitone multifrequency.
Simultaneously, tenth embodiment of the invention is a mobile communication switch course sound intermediate frequency handover delay method of testing, comprising:
Switch in the minizone step I, test terminal, sends the audio-frequency test signal between the audio transmission module of test terminal and network side continuously;
After Step II, receiving terminal received the audio-frequency test signal, the predeterminated frequency according to the audio signal of the characteristic audio signal that receives, transmitting terminal emission calculated handover delay Tv
i
Because test is to occur between test terminal and the network side, therefore can be divided into up test and descending test.Up test is movably that the test terminal sends audio signal to network side, and this moment, the audio transmission module of test terminal was transmitting terminal, and the audio transmission module of network side is receiving terminal; Descending test is network side and sends audio signal to test terminal movably, and this moment, the audio transmission module of network side was transmitting terminal, and the audio transmission module of test terminal is receiving terminal.Network side and test terminal all are provided with audio transmission module, so just can be respectively or carry out up test and descending test simultaneously.
The 11 preferred embodiment of the present invention is to improve on the basis of above-mentioned the tenth preferred embodiment,, described Step II is specially:
Step II a, receiving terminal form filter according to the time of hand off signaling;
Step II b, according to the time clock correction between test terminal and the network side, the migration factor of filter is set;
Step II c, obtain occurring in audio frequency period when switching, and calculate the wherein time span of characteristic audio-frequency test signal predeterminated frequency, and calculate handover delay Tvi according to this time span according to filter and the migration factor.
The migration factor is to be provided with in order to distinguish the audio frequency period which occurs in the handoff procedure.Because the clock of receiving terminal and transmitting terminal may have deviation, particularly when terminal is as receiving terminal, therefore might the transmitting terminal record be the switching that took place at the 0th second, and the receiving terminal clock has been designated as the 4th second, and receiving terminal filtered and can omit the 4th second the audio signal of being recorded as that occurs in the handoff procedure according to the signaling time of transmitting terminal this moment.Therefore might the transmitting terminal record be the switching that took place at the 0th second, and the receiving terminal clock has been designated as the 4th second, this moment, receiving terminal filtered wrong the 0th second the audio signal of reservation receiving terminal of meeting according to the signaling time of transmitting terminal, and the 4th second audio signal of receiving terminal is omitted, filtration makes the mistake.In order to improve the accuracy of test, the clock of receiving terminal relatively need be obtained the migration factor according to the system clock of network side.
In above-mentioned the tenth, 11 embodiment, the audio signal frequency of transmission can be the dual-tone multifrequency test signal of f1+f2.Characteristic is not equal to the time span Tvi of f1+f2 in the audio signal that the receiving terminal analysis receives like this, can obtain the audio frequency handover delay.Simultaneously, those skilled in that art are appreciated that the test signal that also can adopt the multitone multifrequency.
Though; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding variations and correction according to the present invention, but these corresponding variations and correction all should belong to the protection range of claim of the present invention.