Summary of the invention
To defective and the deficiency that prior art exists, the purpose of this invention is to provide the method for detecting limitation link in a kind of wireless communication system, can simply detect limitation link in forward link and the reverse link.
In order to reach the foregoing invention purpose, the present invention proposes the method for detecting limitation link in a kind of wireless communication system, comprising:
Packet is sent to the opposite end in step 1, terminal and/or base station;
Step 2, add up success rate or the packet loss that two links receive packets respectively, judge limitation link.
Wherein, above-mentioned steps 1 can be specially:
Packet is sent to the base station in step 1-1, terminal;
After above-mentioned packet is received in step 1-2, base station, send the return data bag to the terminal.
Then above-mentioned steps 2 is specially:
The data packet number that send at step 2-1, statistics terminal; The return data bag quantity that accounting base-station sends; The quantity of the return data bag that receive at the statistics terminal, the quantity of data packets that accounting base-station is received;
The return data bag quantity that the quantity of step 2-2, the return data bag received with the terminal is sent divided by the base station obtains forward link quality; The data packet number that the data packet number of receiving with the base station sends divided by the terminal obtains reverse link circuit quality;
Step 2-3, comparison forward link quality and reverse link circuit quality, wherein the higher link of packet loss is a limitation link.
Adopting aforesaid way, is to initiate test by end side.
Wherein, above-mentioned steps 1 also can be specially:
Packet is sent to the terminal in step 1-3, base station;
The return data bag is sent to the base station in step 1-4, terminal.
Then step 2 is specially:
The data packet number that step 2-4, accounting base-station send; The return data bag quantity that send at the statistics terminal; The quantity of the return data bag that accounting base-station is received, the quantity of data packets that receive at the statistics terminal;
The data packet number that step 2-5, the quantity of data packets of receiving with the terminal are sent divided by the base station obtains forward link quality; The return data bag quantity that the return data bag quantity of receiving with the base station is sent divided by the terminal obtains reverse link circuit quality;
Step 2-6, comparison forward link quality and reverse link circuit quality, wherein the higher link of packet loss is a limitation link.
Adopting aforesaid way, is to initiate test by base station side.
Wherein, above-mentioned steps 1 can be specially again:
Packet is sent to the opposite end simultaneously in step 1-5, base station and terminal;
After above-mentioned packet is received at step 1-6, base station and terminal, send the return data bag to the opposite end.
Wherein, above-mentioned steps 1 can also be specially:
Packet is successively sent to the opposite end in step 1-7, base station and terminal;
After above-mentioned packet is received at step 1-8, base station and terminal, send the return data bag to the opposite end.
Adopt aforesaid way, can send packet to the opposite end at the same time or separately with the terminal in the base station, to improve the reliability of testing.
Then step 2 can be specially:
Quantity of data packets, the quantity of data packets that receive at accounting base-station or terminal are sent in step 2-7, accounting base-station or terminal;
Step 2-8, the data packet number of receiving with the terminal obtain forward link quality divided by base station transmission quantity of data packets; The data packet number that the data packet number of receiving with the base station sends divided by the terminal obtains reverse link circuit quality;
Step 2-9, comparison forward link quality and reverse link circuit quality wherein receive packet success rate junior link corresponding and are limitation link.
Adopt base station and terminal to send the mode of packet simultaneously to the opposite end, only statistics is sent number-of-packet and is received number-of-packet, assesses the quality of link.
Above-mentioned steps 2 also can be specially:
Quantity of data packets, the quantity of data packets that receive at accounting base-station and terminal are sent in step 2-10, accounting base-station and terminal; The return data bag quantity that send at accounting base-station and terminal, the return data bag quantity that receive at accounting base-station and terminal
The data packet number that the return data bag quantity that receive at step 2-11, the data packet number of receiving with the terminal and terminal is sent divided by the base station obtains forward link quality with the return data bag quantity of base station transmission; The data packet number that the return data bag quantity that receive data packet number of receiving with the base station and base station is sent divided by the terminal obtains reverse link circuit quality with the return data bag quantity of terminal transmission;
Step 2-12, comparison forward link quality and reverse link circuit quality wherein receive packet success rate junior link corresponding and are limitation link.
The mode that adopts base station and terminal to send packet respectively; The quality that both can use the mode of twice testing data packet number stack to come test link; Also can adopt the above-mentioned only statistics that adopts when giving out a contract for a project simultaneously to send number-of-packet and receive number-of-packet, assess the quality of link.
Wherein, in the said step 1, the ping command sending data bag of ICP/IP protocol is adopted at base station and terminal.
The present invention proposes the method for detecting limitation link in a kind of wireless communication system, design to the problem that can't confirm the limitation link in forward link (or up link) and the reverse link (or down link) in the prior art.The present invention sends packet or base station and terminal through base station or terminal to the opposite end and sends packet to the opposite end simultaneously; The opposite end returns to return data bag of transmitting terminal; Add up the packet loss or the success rate of above-mentioned packet and return data bag then, and confirm the limitation link that line quality is bad through packet loss or success rate.The method that the present invention proposes simply but very practical can adopt ping in the ICP/IP protocol to order and send packet and return data bag, need not carry out hardware modification to existing systems and can realize the fast detecting link that goes out to be obstructed.Simultaneously, the method for the present invention's proposition can also be used to assess the coverage condition of forward link and reverse link.Utilize transmitter side and the time synchronized of accepting side, can the situation of the bag that transmits and receive data be corresponded on the measurement circuit, obtain the coverage condition of forward link and reverse link.
Embodiment
Below in conjunction with accompanying drawing the present invention is done further detailed description.
First preferred embodiment of the invention is as shown in Figure 1, comprising:
Step a, terminal adopt the ping order to send a plurality of packets to the base station through reverse link;
After above-mentioned packet is received in step b, base station, send a plurality of return data bags to the terminal through forward link;
The data packet number that send at step c, statistics terminal; The return data bag quantity that accounting base-station sends; The quantity of the return data bag that receive at the statistics terminal, the quantity of data packets that accounting base-station is received;
The return data bag quantity that send the quantity ÷ base station of the return data bag that receive at steps d, terminal * 100%=forward link receives the success rate of packet; The data packet number that send at the data packet number ÷ terminal that receive the base station * 100%=reverse link receives the success rate of packet;
Two numerical value of step e, comparison step d gained, the link that success rate is lower is a limitation link.
In above-mentioned step c2 and c3, also can adopt the mode of statistics packet loss, the higher link of packet loss is limitation link.
In first embodiment, if be applied to the GSM network, then forward link is a down link, and reverse link is a up link.
Certainly base station and terminal also can adopt other modes outside the ping order to send packet, and this is that those skilled in that art are understandable.
Second preferred embodiment of the invention is as shown in Figure 2, comprising:
Steps A, base station are sent a plurality of packets at forward link to the terminal through the ping order;
After above-mentioned packet is received at step B, terminal, send a plurality of return data bags to the base station through reverse link;
The data packet number that step C, accounting base-station send; The return data bag quantity that send at the statistics terminal; The quantity of the return data bag that accounting base-station is received, the quantity of data packets that receive at the statistics terminal;
Step D, 1-(data packet number * 100% of the data packet number ÷ base station transmission that receive at the terminal)=forward link receives the packet loss of packet; 1-(return data bag quantity * 100% of the return data bag quantity ÷ terminal transmission that receive the base station)=reverse link receives the packet loss of packet;
Two numerical value of step e, comparison step D gained, the higher link of packet loss is a limitation link.
In above-mentioned step, also can adopt the mode of statistics success rate among first embodiment, the link that success rate is lower is limitation link.
Certainly base station and terminal also can adopt other modes outside the ping order to send packet, and this is that those skilled in that art are understandable.
Consider that Radio Link receives the influence of several factors such as surrounding environment; Also there is bigger difference in the different Radio Links constantly of same position; Forward link receives successfully radio link quality constantly and is better than forward link and takes defeat constantly, adopts forward link to receive successful bag and wraps as the transmission of reverse link and passes judgment on, for the forward link unfairness; Limited side for reverse link before better assessing can expand said method.
The method of expansion is: packet is all sent at base station and terminal, adopts packet catcher to catch the packet that the other side sends then separately.Base station and terminal can be sent packet simultaneously, also can send packet respectively after the elder generation one.If send simultaneously, then catch the return data bag that feeds back after packet that packet comprises that the other side sends sends with we.Can adopt the dual mode of giving out a contract for a project simultaneously or do not give out a contract for a project simultaneously to test.Calculate the evaluation criteria of packet capturing success rate as preceding reverse link respectively, the side link corresponding that success rate is lower is a limitation link.
For the situation of giving out a contract for a project simultaneously in terminal and base station, adopt and catch the other side and send we that packet and the other side feeds back and send packet and assess.Be third embodiment of the invention as shown in Figure 3, comprise:
Packet is sent to the opposite end simultaneously in step I, base station and terminal;
The return data bag is sent to the opposite end in Step II, base station and terminal;
Quantity of data packets, the quantity of data packets that receive at accounting base-station and terminal are sent in Step II I, accounting base-station and terminal; The return data bag quantity that send at accounting base-station and terminal, the return data bag quantity that receive at accounting base-station and terminal;
Step IV, (the return data bag quantity that the data packet number+terminal of receiving, terminal) ÷ (the return data bag quantity that the data packet number+base station of sending, base station) * 100%=forward link receives the packet success rate; (the return data bag quantity that the data packet number+base station of receiving, base station) ÷ (the return data bag quantity that the data packet number+terminal of sending, terminal) * 100%=reverse link receives the packet success rate;
The numerical value of step V, comparison step IV gained, wherein numerical value junior link corresponding is limitation link.
Be to adopt calculating to receive the packet success rate to judge limitation link in the third preferred embodiment of the invention.As putting down in writing in the second preferred embodiment of the invention, also can adopt the calculating packet loss to judge limitation link.Base station and terminal can adopt ping order or other modes to send packet, and this is that those skilled in that art are understandable.
For the situation of not giving out a contract for a project simultaneously in terminal and base station, both can adopt the methods of two groups of tests among the 3rd embodiment, also can adopt the method for the 4th embodiment as shown in Figure 4.
The fourth embodiment of the present invention is as shown in Figure 4, comprising:
Packet is successively sent to the opposite end in step (1), base station and terminal;
After above-mentioned packet is received at step (2), base station and terminal, send the return data bag to the opposite end;
Quantity of data packets, the quantity of data packets that receive at accounting base-station or terminal are sent in step (3), accounting base-station or terminal;
Step (4), 1-(data packet number ÷ base station transmission quantity of data packets * 100% that receive at the terminal)=forward link packet loss; 1-(data packet number * 100% of the data packet number ÷ terminal transmission that receive the base station)=reverse link packet loss;
Step (5), comparison step (4) institute value, wherein the high person's link corresponding of packet loss is limitation link.
Be to adopt the calculating packet loss to judge limitation link in the four preferred embodiment of the invention.As putting down in writing in the first preferred embodiment of the invention, also can adopt the success rate of calculating the reception packet to judge limitation link.Base station and terminal can adopt ping order or other modes to send packet, and this is that those skilled in that art are understandable.
Adopt the foregoing description, the number that requires to give out a contract for a project should reach and have the required quantity of statistical significance.For the situation that adopts two groups of numbers of giving out a contract for a project to calculate among above-mentioned the 3rd embodiment, require two groups the number of giving out a contract for a project approaching as much as possible, the number of giving out a contract for a project once of the negligible amounts of perhaps giving out a contract for a project should reach and have the required quantity of statistical significance.
Fifth embodiment of the invention is as shown in Figure 5, adopts the WiMAX network to carry out the method that the present invention proposes, and comprising:
1. selection test route
The target of present embodiment is the coverage condition of reverse link before the test overlay area, need carry out drive test.Test Engineer's test route that is prepared in advance, the test route emphasis comprises the covering fringe region.
2. accessing terminal to network
3. reverse coverage test
Server and end side are carried out time synchronized.
The ping bag is initiated at the terminal, and the address is the aaa server address, and server is caught the packet that send at the terminal, the coverage condition of test reverse link;
Initiate the ping operation in the test route original position, test along test route.End side is utilized the record GPS of testing software positional information, is sent packet information and time;
4. forward direction coverage test
Aaa server is initiated the ping bag, and the address is the terminal seat location, the packet that the capture terminal server sends, the coverage condition of test forward link;
Server side is initiated the ping bag, accomplishes test along same route.End side is utilized the record GPS of testing software positional information, is caught packet information and time;
5. test data analysis
For reverse covering, utilize time synchronized, the server that step 3 is obtained is caught packet information and is corresponded on the test route, and whether the ping package informatin in conjunction with initiate at the terminal is hunted down according to packet, obtains the reverse coverage condition of each test position;
Cover for forward direction, utilize time synchronized, whether the information of step 4 server side being initiated the ping bag corresponds on the test route, in conjunction with the capture terminal packet information, utilize packet to be hunted down, and obtains each test position forward direction coverage condition;
According to preceding reverse link coverage condition, can assess the limitation link that obtains diverse location.
Certainly; The present invention also can have other embodiment; 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 changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of claim of the present invention.