CN103701658A - Network condition testing method and device for articulated naturality web - Google Patents

Network condition testing method and device for articulated naturality web Download PDF

Info

Publication number
CN103701658A
CN103701658A CN201310577294.XA CN201310577294A CN103701658A CN 103701658 A CN103701658 A CN 103701658A CN 201310577294 A CN201310577294 A CN 201310577294A CN 103701658 A CN103701658 A CN 103701658A
Authority
CN
China
Prior art keywords
packet
test
dislocation
data
unusual condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310577294.XA
Other languages
Chinese (zh)
Other versions
CN103701658B (en
Inventor
杨春晖
吴小灿
王艳辉
李殿坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Shilian Communication Technology Co.,Ltd.
Original Assignee
Beijing Visionvera International Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Visionvera International Information Technology Co Ltd filed Critical Beijing Visionvera International Information Technology Co Ltd
Priority to CN201310577294.XA priority Critical patent/CN103701658B/en
Publication of CN103701658A publication Critical patent/CN103701658A/en
Application granted granted Critical
Publication of CN103701658B publication Critical patent/CN103701658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides a network condition testing method and a network condition testing device for an articulated naturality web. The method comprises the following steps: a first testing end is connected to the articulated naturality web and establishes connection with a second testing end through the articulated naturality web; the first testing end generates a testing data packet containing socket information and transmits the testing data packet to the second testing end through the articulated naturality web according to the socket information, the socket information identifies a transmission path of the testing data packet transmitting in a data link layer of the articulated naturality web, the first testing end or the second testing end judges whether an abnormal condition occurs in the transmission of the testing data packet and counting the parameters correspondingly representing the abnormal condition so as to diagnose the network condition of the articulated naturality web, wherein the abnormal condition comprises at least one of data packet loss, data packet displacement, transmission delay or transmit jitter. According to the invention, the network condition of the articulated naturality web can be monitored.

Description

A kind of network condition method of testing and device of looking networking
Technical field
The application relates to networking technology area, particularly relates to a kind of network condition method of testing of looking networking, and, a kind of network condition testing apparatus of looking networking.
Background technology
Depending on networking, it is a real-time exchange platform, it is the more advanced form of the Internet, in the face of potential huge video flow on network, depending on networking, adopt two advantages of asynchronous and packet switch of Ethernet, under complete compatible prerequisite, eliminated Ethernet defect, possesses the end-to-end seamless link of the whole network, direct user terminal, directly carries IP packet, and, user data does not need any format conversion in network-wide basis, can realize the whole network HD video real-time Transmission that cannot realize current the Internet.
Therefore, depending on networking, push numerous internet, applications to HD video, unitized, high definition is face-to-face.Realize the most at last the world without distance, the distance that realizes person to person in global range is the distance of a screen; On the other hand, depending on networking, possess flexible, the simple and low price of packet switching, possess Circuit-switched quality and safety assurance simultaneously, on communication history, realized for the first time the whole network SVC and the seamless link of data format.
In actual applications, employing there will be colored screen, Ka Dun depending on networking while carrying out video conference or issues the situations such as menu is unsuccessful, these problems may have a lot of reasons to cause, and unstable networks is a kind of possible reason wherein, therefore, a kind of network condition testing mechanism of looking networking need to be provided, to realize, the network condition depending on networking be monitored.
Summary of the invention
The application provides a kind of network condition method of testing of looking networking, to realize, the network condition depending on networking is monitored.
Accordingly, the application also provides a kind of network condition testing apparatus of looking networking, in order to guarantee the realization of said method.
The application provides a kind of network condition method of testing of looking networking, comprising:
The first test lead is connected into looks networking, and by connecting depending on networking and the second test lead;
Described the first test lead generates the test packet that comprises socket information, and according to described socket information through depending on networking to described the second test lead, send described test packet, described socket information identifies described test data and wraps in the transmission path transmitting depending on the data link layer of networking;
Described the first test lead or the second test lead judge whether the transmission of described test packet unusual condition occurs, and the corresponding parameter that characterizes described unusual condition of statistics, so that the described network state depending on networking is diagnosed, described unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends at least one in shake.
Preferably, described socket information comprises one or more in protocol number, interface index number, header type, packet type, physical layer address and the physical layer address length of the physical layer of data link layer.
It is preferably, described that according to described socket information, the step through sending described test packet depending on networking to described the second test lead comprises:
According to default test bandwidth and default test pack size, determine the number of the test packet of transmission per second;
The transmission path identifying according to described socket information, according to the number of the test packet determine sending within default cycle testing time through look networking one by one even bag to the second test lead transmission test packet, wherein, each test packet carries corresponding packet sequence number, and last test packet also carries transmission end mark.
Preferably, described test packet comprises a plurality of, when described unusual condition comprises data-bag lost and/or packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio and/or packet dislocation rate, described the first test lead judges whether the transmission of described test packet unusual condition occurs, and the corresponding step that characterizes the parameter of described unusual condition of statistics comprises:
Receive the protocol package that expression that described the second test lead returns receives described test packet;
Extract the receiving and counting parameter in described protocol package, it is poor that described receiving and counting parameter and the test packet number sending within described cycle testing time are done, obtain data-bag lost number, the test packet number of described data-bag lost number and transmission is divided by, obtains described bursts dropping ratio;
And/or, extract the dislocation statistical parameter in described protocol package, obtain packet dislocation number, the test packet number of described packet dislocation number and transmission is divided by, obtain described packet dislocation rate.
Preferably, described test packet comprises a plurality of, and when described unusual condition comprises the dislocation of data-bag lost and/or packet, described the second test lead judges that the step whether transmission of described test packet unusual condition occurs comprises:
Described the second test lead, when receiving each test packet, compares the packet sequence number of the current test packet receiving and default reception variable;
If inconsistent, determine the situation that data-bag lost and/or packet dislocation occur.
Preferably, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio, and the corresponding step that characterizes the parameter of described unusual condition of described the second test lead statistics comprises:
If there are all packet Bao Xu that receive in theory in the packet Bao Xuzhong receiving successively, determine the situation that data-bag lost does not occur, if the packet Bao Xuzhong receiving successively does not exist one or more packet Bao Xu that receive in theory, determine the situation that data-bag lost occurs;
The packet Bao Xuzhong that receives successively of statistics the number of the non-existent packet Bao Xu receiving in theory, number as described data-bag lost, described data-bag lost number is divided by with determining the test packet number sending, obtains described bursts dropping ratio.
Preferably, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is packet dislocation rate, and the corresponding step that characterizes the parameter of described unusual condition of described the second test lead statistics comprises:
Whether the packet Bao Xuzhong that judgement receives successively there are all packet Bao Xu that receive in theory, if exist, determines the situation that packet dislocation occurs;
The packet bag order receiving is successively formed and receives array, by each packet bag order formational theory array receiving successively in theory;
Two arrays are compared, and the number using the number of the different Bao Xu of same position in two arrays as described packet dislocation, is divided by described packet dislocation number with determining the test packet number sending, obtain described packet dislocation rate.
Preferably, described test packet comprises a plurality of, when described unusual condition comprises forward delay interval, described the first test lead judges whether the transmission of described test packet unusual condition occurs, and the corresponding step that characterizes the parameter of described unusual condition of statistics comprises:
For each test packet, when sending each test packet, the transmitting time of record test packet and the Bao Xu of transmission;
Receive the expression that described the second test lead returns and receive the response packet of described test packet, and judge whether the entrained packet sequence number of described response packet is the current value of described transmission recording parameters;
If not, extract the entrained time of reception of described response packet, do poorly with described transmitting time, obtain forward delay interval time of each test packet.
Preferably, when described unusual condition comprises transmission shake, described the first test lead judges whether the transmission of described test packet unusual condition occurs, and the corresponding step that characterizes the parameter of described unusual condition of statistics also comprises:
Add up the mean value of the forward delay interval time of each test packet, according to the forward delay interval time of described mean value and each test packet, carry out the poor calculating of smoothed average of continuous transmission, as the jitter parameter that sends shake.
Preferably, described default test bandwidth be add up the actual bandwidth depending on networking that the number of the test packet that repeatedly described in bandwidth test, the second test lead receives obtains, described in depending on the standard bandwidth of networking or described in depending on networking at the maximum available bandwidth not occurring under packet loss situation.
Preferably, described method also comprises, described in adding up by following steps depending on networking at the maximum available bandwidth not occurring under packet loss situation:
When the unusual condition of the transmission generation data-bag lost of described test packet, using half of default maximum bandwidth and default minimum bandwidth as described maximum available bandwidth;
When there is not the unusual condition of data-bag lost in the transmission of described test packet, by half of described default maximum bandwidth and described default minimum bandwidth or the preset ratio of described default minimum bandwidth, as described maximum available bandwidth.
Preferably, described method also comprises:
The parameter of the described unusual condition of sign that described the first test lead obtains statistics is shown, so that the foundation of diagnosing depending on the network state of networking described to be provided.
The application also provides a kind of network condition testing apparatus of looking networking, comprising:
Link block, is connected into and looks networking for the first test lead, and by connecting depending on networking and the second test lead;
Test data generation module, generates for described the first test lead the test packet that comprises socket information;
Test data sending module, for according to described socket information through depending on networking to described the second test lead, send described test packet, described socket information identifies described test data and wraps in the transmission path transmitting depending on the data link layer of networking;
Abnormal judge module, for described the first test lead or the second test lead, judge whether the transmission of described test packet unusual condition occurs, and the corresponding parameter that characterizes described unusual condition of statistics, so that the described network state depending on networking is diagnosed, described unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends at least one in shake.
Preferably, described socket information comprises one or more in protocol number, interface index number, header type, packet type, physical layer address and the physical layer address length of the physical layer of data link layer.
Preferably, described test data sending module comprises:
Number is determined submodule, for according to default test bandwidth and default test pack size, determines the number of the test packet of transmission per second;
Packet Generation submodule, for the transmission path identifying according to described socket information, according to the number of the test packet determine sending within default cycle testing time through look networking one by one even bag to the second test lead transmission test packet, wherein, each test packet carries corresponding packet sequence number, and last test packet also carries transmission end mark.
Preferably, described test packet comprises a plurality of, and when described unusual condition comprises data-bag lost and/or packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio and/or packet dislocation rate, and described abnormal judge module comprises:
Protocol package receives submodule, receives the protocol package of described test packet for receiving expression that described the second test lead returns;
The first Loss Rate calculating sub module, for extracting the receiving and counting parameter of described protocol package, it is poor that described receiving and counting parameter and the test packet number sending within described cycle testing time are done, obtain data-bag lost number, the test packet number of described data-bag lost number and transmission is divided by, obtains described bursts dropping ratio;
And/or the first dislocation rate calculating sub module, for extracting the dislocation statistical parameter of described protocol package, obtains packet dislocation number, and the test packet number of described packet dislocation number and transmission is divided by, and obtains described packet dislocation rate.
Preferably, described test packet comprises a plurality of, and when described unusual condition comprises data-bag lost and/or packet dislocation, described abnormal judge module comprises:
Abnormal definite submodule, be used for described the second test lead when receiving each test packet, the packet sequence number of the current test packet receiving and default reception variable are compared, if inconsistent, determine the situation that data-bag lost and/or packet dislocation occur.
Preferably, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio, and described abnormal judge module comprises:
Lose abnormal definite submodule, if there are for the packet Bao Xuzhong receiving successively all packet Bao Xu that receive in theory, determine the situation that data-bag lost does not occur, if the packet Bao Xuzhong receiving successively does not exist one or more packet Bao Xu that receive in theory, determine the situation that data-bag lost occurs;
The second Loss Rate calculating sub module, for add up the packet Bao Xuzhong that receives successively the number of the non-existent packet Bao Xu receiving in theory, number as described data-bag lost, described data-bag lost number is divided by with determining the test packet number sending, obtains described bursts dropping ratio.
Preferably, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is packet dislocation rate, and described abnormal judge module comprises:
Bag order is determined submodule, for judging whether the packet Bao Xuzhong receiving successively exists all packet Bao Xu that receive in theory, if exist, determines the situation that packet dislocation occurs;
Array generates submodule, for the packet bag order receiving is successively formed and receives array, by each packet bag order formational theory array receiving successively in theory;
The second dislocation rate calculating sub module, for two arrays are compared, number using the number of the different Bao Xu of same position in two arrays as described packet dislocation, is divided by described packet dislocation number with determining the test packet number sending, obtain described packet dislocation rate.
Preferably, described test packet comprises a plurality of, and when described unusual condition comprises forward delay interval, described abnormal judge module comprises:
Transmission processing submodule, for for each test packet, when sending each test packet, the transmitting time of record test packet and the Bao Xu of transmission;
Response packet judgement submodule, for receiving expression that described the second test lead returns, receive the response packet of described test packet, and judge that whether the entrained packet sequence number of described response packet is the current value of described transmission recording parameters, if not, carries out time delay calculating sub module;
Time delay calculating sub module, for extracting the entrained time of reception of described response packet, does poorly with described transmitting time, obtains forward delay interval time of each test packet.
Preferably, when described unusual condition comprises transmission shake, described abnormal judge module also comprises:
Jitter Calculation submodule, for adding up the mean value of the forward delay interval time of each test packet, according to the forward delay interval time of described mean value and each test packet, carry out the poor calculating of smoothed average of transmitting continuously, as the jitter parameter that sends shake.
Preferably, described default test bandwidth be add up the actual bandwidth depending on networking that the number of the test packet that repeatedly described in bandwidth test, the second test lead receives obtains, described in depending on the standard bandwidth of networking or described in depending on networking at the maximum available bandwidth not occurring under packet loss situation.
Preferably, described device also comprises:
Maximum bandwidth computing module, for described in adding up depending on networking at the maximum available bandwidth not occurring under packet loss situation;
Described maximum bandwidth computing module comprises:
The first bandwidth calculation submodule, during for the unusual condition of the transmission generation data-bag lost when described test packet, using half of default maximum bandwidth and default minimum bandwidth as described maximum available bandwidth;
The second bandwidth calculation submodule, for when there is not the unusual condition of data-bag lost in the transmission of described test packet, by half of described default maximum bandwidth and described default minimum bandwidth or the preset ratio of described default minimum bandwidth, as described maximum available bandwidth.
Preferably, described device also comprises:
Display module, the parameter of the described unusual condition of sign statistics being obtained for described the first test lead is shown, so that the foundation of diagnosing depending on the network state of networking described to be provided.
Compare with background technology, the application comprises following advantage:
Pass through the embodiment of the present invention, the first test lead is connected into depending on networking and by looking networking and sends test packet to the second test lead, and by monitoring the transmission of test pack, whether there are abnormal conditions by the first test lead or the second test lead, and the abnormal parameter of statistics corresponding sign network condition, thereby realized looking the monitoring of the network condition of networking.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart of looking the network condition method of testing of networking described in the embodiment of the present application;
Fig. 2 is a kind of structured flowchart of looking the network condition testing apparatus of networking described in the embodiment of the present application;
Fig. 3 is the system architecture diagram of applying the network condition test of looking networking of the embodiment of the present invention under set-top box environment.
Embodiment
For the application's above-mentioned purpose, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
With reference to Fig. 1, it shows a kind of network condition test flow chart of looking networking described in the embodiment of the present application.
Step 101, the first test lead are connected into looks networking, and by connecting depending on networking and the second test lead.
In the embodiment of the present invention, by testing between the first test lead and the second test lead, adopt depending on the situation of networking transmission data network condition is tested, first depending on networking and second depending between networking by depending on networking connect, particularly, the first test lead is connected into looks networking, and by connecting depending on networking and the second test lead, the second test lead can be connected into and look networking before or after the first test lead is connected into.
In concrete realization, the first test lead and the second test lead can be all Set Top Box, Set Top Box as the first test lead is Set Top Box client (Client end), Set Top Box as the second test lead is server end (server end), and the first test lead and the second test lead also can be connected into the equipment of looking networking for other.
Step 102, described the first test lead generate the test packet that comprises socket information, and according to described socket information through depending on networking to described the second test lead, send described test packet, described socket information identifies described test data and wraps in the transmission path transmitting depending on the data link layer of networking.
After the first test lead and the second test lead connect, to the second test lead, send test packet, by transmission or the reception condition of test packet, network condition is tested.The relevant environment of the Set Top Box of one of application scenarios is Linux environment, will be from the direct transceiving data frame of link layer (MAC) in linux environment, in the embodiment of the present invention, test packet is through looking networking transmission, be with the transmission means difference of traditional Ethernet: when Ethernet transmission data, transfer of data is application layer (network layer) the 3rd layer of ISO, by IP address, the transmitting terminal of data and receiving terminal are identified, during data packet transmission, carried the IP address of transmitting terminal and receiving terminal; When looking networking transmission data, transfer of data is link layer at the second layer of ISO, by link layer information, the transmitting terminal of data and receiving terminal is identified, and carries link layer information during data packet transmission.
In linux environment, can complete respectively and receive and the work of sending out by libpcap and two dynamic base of libnet.Although it is widely used, in requiring to carry out the software of cross-platform transplanting, uses and still have a lot of drawbacks; Because of the video depending on networking, all by two layers (link layers), carry out transceiving data again, simultaneously in order to reduce the usage space of flash.The embodiment of the present invention used a kind of more directly, the mode from link layer transceiving data frame in other storehouse need not be installed, the socket by definition link layer completes.Be packet socket, packet socket for receiving and dispatching initial data frame on MAC layer, and so just permission completes realization at all levels on link layer at user's space, develops or test job bringing great convenience property all.
In the embodiment of the present invention, adopt socket information as the information of link layer.The first test lead adds socket information when generating test packet in test packet, while sending test packet to the second test lead, according to transmitting depending on networking data link layer transmission path of identifying in socket information, socket information can comprise one or more in protocol number, interface index number, header type, packet type, physical layer address and the physical layer address length of the physical layer of data link layer.
Concrete, it is described that according to described socket information, the step through sending described test packet depending on networking to described the second test lead comprises:
Sub-step S11, basis default test bandwidth and default test pack are big or small, determine the number of the test packet of transmission per second;
Sub-step S12, the transmission path identifying according to described socket information, according to the number of the test packet determine sending within default cycle testing time through look networking one by one even bag to the second test lead transmission test packet, wherein, each test packet carries corresponding packet sequence number, and last test packet also carries transmission end mark.
Test packet can comprise a plurality of, can calculate according to the size of default test bandwidth value and test pack the number num_per_sec of the packet of transmission per second, the time cycle of num_per_sec and test, (period) multiplied each other, can obtain total number of test pack, be designated as num=num_per_sec * period, the socket information that then can comprise according to test packet is given out a contract for a project to the second test lead by the action of giving out a contract for a project.Wherein, can according to the size of video packets in unified video, determine the size of test packet, general test packet is fixed as the size of video packets, is all 1084bit.
When sending each test packet, each test packet carries corresponding packet sequence number, and last test packet also carries and sends end mark end, if surpass 2S, does not still receive end, and notice client resends last bag.
All test datas wrap in time cycle of test and send, and can also obtain the theoretical time of each Packet Generation according to the number of default cycle testing time and test packet, can be used as the foundation of follow-up test network condition.
In concrete realization, described default test bandwidth can for add up the actual bandwidth depending on networking that the number of the test packet that repeatedly described in bandwidth test, the second test lead receives obtains, described in depending on the standard bandwidth of networking or described in depending on networking at the maximum available bandwidth not occurring under packet loss situation.Described method can also also comprise, described in adding up by following steps depending on networking at the maximum available bandwidth not occurring under packet loss situation:
Sub-step S21, when the unusual condition of the transmission generation data-bag lost of described test packet, using half of default maximum bandwidth and default minimum bandwidth as described maximum available bandwidth;
Sub-step S22, when there is not the unusual condition of data-bag lost in the transmission of described test packet, by half of described default maximum bandwidth and described default minimum bandwidth or the preset ratio of described default minimum bandwidth, as described maximum available bandwidth.
Default test bandwidth can be also the standard bandwidth of looking networking, for known bandwidth, for example, the special line that has a 10M bandwidth, can do test by 10M bandwidth, but test time packet loss, test next time can be done according to demand the test of another one bandwidth, for example 5M, if also there will be the problems such as packet loss dislocation, can arrange less the testing than 5M.
In the embodiment of the present invention, can carry out repeatedly bandwidth test, obtain in each bandwidth test, the number of the test packet that the second test lead receives is added up the actual bandwidth of looking networking, for example, bandwidth for 20M, once in statistics, adopting 20M as test bandwidth, send 13836 packets, show that packet loss number is 0, sending out a theoretical real time of bag is 433.612610 μ s, explanation test bandwidth is less than or equal to actual bandwidth, actual bandwidth=(size * 8 of the number of the test packet that the second test lead receives * each bag)/(the first test lead is given out a contract for a project institute's time spent)=19.999418Mbps, take 30M as test bandwidth, send 20754 packets, the packet receiving is 14098, illustrate that test tape is wider than actual bandwidth, draw thus, actual bandwidth=(size * 8 of the number of the test packet that the second test lead receives * each bag)/(the first test lead is given out a contract for a project institute's time spent)=20.38Mbps.
The in the situation that of unknown bandwidth, default test bandwidth can be depending on networking at the maximum available bandwidth not occurring under packet loss situation, avoids the own test of doing bandwidth blindly.When default test bandwidth is that while there is not the maximum available bandwidth under packet loss situation depending on networking, the concrete condition that can send according to current data packet is obtained maximum available bandwidth, is similar to binary chop convergence of algorithm algorithm.Particularly, a preset maximum bandwidth and minimum bandwidth, in current test during the unusual condition of test packet generation data-bag lost, can be by half of maximum bandwidth and minimum bandwidth, when there is not the unusual condition of data-bag lost in the transmission of test packet, by half of maximum bandwidth and minimum bandwidth, as maximum available bandwidth, or by the preset ratio of maximum bandwidth and minimum bandwidth, as maximum available bandwidth, in concrete realization, when can be 0 in the value of maximum bandwidth variable, the minimum bandwidth that default test bandwidth equals 3/2, when it is not 0 words, default test bandwidth equals half of minimum bandwidth and minimum bandwidth.
In concrete realization, can obtain default test bandwidth according to concrete environment and application demand.
Step 103, described the first test lead or the second test lead judge whether the transmission of described test packet unusual condition occurs, and the corresponding parameter that characterizes described unusual condition of statistics, so that the described network state depending on networking is diagnosed, described unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends at least one in shake.
In the embodiment of the present invention, can judge whether the transmission of test packet unusual condition occurs by the first test lead, also can judge whether test packet unusual condition occurs by the first test lead.
Test packet sends to the process of the second test lead from the first test lead, and contingent unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends the situations such as shake.Abnormal conditions can characterize by corresponding parameter, whether the transmission of determining test packet by judging occurs after unusual condition, can further add up can characterize abnormalities situation various parameters, by these parameters, can further to network condition, diagnose.
In a kind of preferred exemplary of the embodiment of the present invention, in the time of can being judged network condition by the first test lead, when test packet comprises when a plurality of, and when unusual condition comprises data-bag lost and/or packet dislocation, the parameter that characterizes described unusual condition should be bursts dropping ratio and/or packet dislocation rate mutually.
Corresponding described step 103 can comprise:
Sub-step S31, receive the protocol package that expression that described the second test lead returns receives described test packet;
Sub-step S32, extract the receiving and counting parameter in described protocol package, it is poor that described receiving and counting parameter and the test packet number sending within described cycle testing time are done, obtain data-bag lost number, the test packet number of described data-bag lost number and transmission is divided by, obtains described bursts dropping ratio;
And/or, sub-step S33, extract the dislocation statistical parameter in described protocol package, obtain packet dislocation number, the test packet number of described packet dislocation number and transmission is divided by, obtain described packet dislocation rate.
Because line bandwidth takies too highly, the way of packet transmission from one end to other one end, can produce loss.Packet loss is an important indicator of network link, once produce packet loss, the network bandwidth deficiency be described, causes video conference, issues the situations such as Ka Dun or shake, download menu be unsuccessful that there will be such as live.Out of order when occurring, may there is the situation that card pauses in video conference.
In the embodiment of the present invention, the first test lead is after sending test packet, the second test lead corresponding situation to the test packet receiving after receiving test packet is added up, and the parameter of statistics is added in protocol package, and return to the first test lead, the first test lead can determine that the second test lead has received test packet after receiving protocol package (8704 protocol package), and concrete reception condition need to be according to data analysis entrained in protocol package.
Particularly, when statistical data packet loss situation, the parameter of adding up in protocol package can comprise receiving and counting parameter, receiving and counting reference record the number (rcv_num) of the test packet that receives, it is poor that the number (num) of the test packet that receiving and counting parameter and the first test lead are sent is done, further just can obtain the number (loss_pack) of test data packet loss, there is the situation of packet loss in poor non-vanishing explanation, and then further the number of the number of test data packet loss and test packet is divided by, can obtain the Loss Rate of packet, when statistical data packet receives misalignment, the parameter of the statistics in protocol package can comprise dislocation statistical parameter, dislocation statistical parameter has recorded the received test packet of the second test lead the number misplacing has occurred, there is the situation of packet dislocation in the non-vanishing explanation of dislocation statistical parameter, and then further by sniffing bit rate.
In a kind of preferred exemplary of the embodiment of the present invention, in the time of can being judged network condition by the second test lead, when test packet comprises when a plurality of, and when unusual condition comprises data-bag lost and/or packet dislocation, the step whether transmission that accordingly, judges described test packet unusual condition occurs can comprise:
Sub-step S41, described the second test lead, when receiving each test packet, compare the packet sequence number of the current test packet receiving and default reception variable;
If sub-step S42 is inconsistent, determine the situation that data-bag lost and/or packet dislocation occur.
The second test lead receives a plurality of test packets that the first test lead sends, when receiving certain test packet, because test packet carries packet sequence number, therefore, can arrange one and receive variable, receive variable along with the packet receiving increases and changes, the value after variation is identical with the sequence number of the packet that expection should receive under normal circumstances, that is to say that the value of reception variable is the sequence number of the current packet that should receive.The value and the packet sequence number that receive variable are compared, whether normal to determine the current packet receiving, because all may causing the sequence number of the packet that receives, the situation of data-bag lost and packet dislocation is different from the value that receives variable, therefore, when packet sequence number and default reception variable are when inconsistent, may there is at least one situation among data-bag lost and packet dislocation.
For example, receive the packet that the first test lead sends, obtain Bao Xu and end mark position end, Bao Xu is deposited to an array disor_num the inside, obtain maximum bag order max simultaneously; The number rcv_num of the bag receiving in the process receiving is from increasing 1, when current Bao Xuyu receives as occurred bag order is different, be a packet loss number total_loss_pack from increasing 1 action, and a packet loss flag bit is set, shown to occur the situation of packet loss or dislocation.
Further, if when needing the unusual condition of judgement to comprise data-bag lost and packet dislocation simultaneously, after determining the step of the situation that data-bag lost and/or packet dislocation occur, also need further to determine concrete situation, that data-bag lost has occurred actually, or packet dislocation, still either way has.
When the parameter of the described unusual condition of sign is bursts dropping ratio, the corresponding step that characterizes the parameter of described unusual condition of the second test lead statistics comprises:
If there are all packet Bao Xu that receive in theory in the packet Bao Xuzhong that sub-step S51 receives successively, determine the situation that data-bag lost does not occur, if the packet Bao Xuzhong receiving successively does not exist one or more packet Bao Xu that receive in theory, determine the situation that data-bag lost occurs;
Sub-step S52, the packet Bao Xuzhong that receives successively of statistics the number of the non-existent packet Bao Xu receiving in theory, number as described data-bag lost, described data-bag lost number is divided by with determining the test packet number sending, obtains described bursts dropping ratio.
Data-bag lost refer to the number of packet of transmission and the number of the packet that receives inconsistent, packet dislocation refers to that the numeric order of a plurality of packets of transmission is different from the numeric order of a plurality of packets that receive, when the situation of data-bag lost and dislocation is distinguished, the Bao Xu of the packet that the Bao Xuyu of the packet receiving can be received in theory compares, if there are all packet Bao Xu that receive in theory in the Bao Xuzhong of the packet receiving, that is to say that the Bao Xu of the packet receiving and the Bao Xu of theoretic packet are consistent, illustrate that packet all receives, can determine the situation that data-bag lost does not occur, but there is the situation that packet misplaces, otherwise, there is the situation of data-bag lost.
Situation for data-bag lost, the further loss number of statistical data packet, the packet Bao Xuzhong receiving the number of the non-existent packet Bao Xu receiving be in theory the number of data-bag lost, in other words, the number of the number that the number of data-bag lost is the packet Bao Xu that receives in theory and the packet Bao Xu receiving poor, or the number of the number of the packet receiving in theory and the packet that receives is poor, data-bag lost number is divided by with determining the test packet number (that is to say the number of the packet receiving in theory) sending, can obtain Loss Rate.
When the parameter of the described unusual condition of sign is packet dislocation rate, the corresponding step that characterizes the parameter of described unusual condition of the second test lead statistics comprises:
Whether the packet Bao Xuzhong that sub-step S61, judgement receive successively there are all packet Bao Xu that receive in theory, if exist, determines the situation that packet dislocation occurs;
Sub-step S62, the packet bag order that receives is successively formed and receives array, by each packet bag order formational theory array receiving successively in theory;
Sub-step S63, two arrays are compared, number using the number of the different Bao Xu of same position in two arrays as described packet dislocation, described packet dislocation number is divided by with determining the test packet number sending, obtains described packet dislocation rate.
By sub-step S41 and sub-step S42, determine the situation that data-bag lost and/or packet dislocation have occurred, if there are all packet Bao Xu that receive in theory in the packet Bao Xuzhong that further judgement receives, illustrate that packet do not lose, but the situation of packet dislocation has occurred.When the number of concrete definite packet misplacing, the Bao Xu of the packet receiving can be formed to an array (reception array) according to the order receiving, the bag order bag of the data that should receive in theory also forms an array (theoretical array) according to the order that should receive in theory, contrast the difference of these two arrays, if the situation that does not have dislocation and lose, two arrays should be identical, when judgement dislocation, two arrays can be compared, same position in two arrays, when Bao Xu is not identical, this packet dislocation is described, the number of adding up the different Bao Xu of same position in two arrays that is to say the number of dislocation packet, dislocation number is divided by with determining the test packet number (that is to say the number of the packet receiving in theory) sending, can obtain dislocation rate.
As above in example, the theory bag order expected_no (being generally 1) of a current hope is set, the judgement of carrying out the differentiation of packet loss and dislocation is a while circulation (condition is rcv_num and end).Particularly, when certain element of disor_num equates with expected_no, expected_no is put in an array order_num, expected_no is from increasing 1, obtain element that the next one is to be judged the position of array num_dis (be mainly do for optimized algorithm according to), when expected_no is greater than max, jump out while, determine the situation that there is no packet loss but dislocation has occurred.After jumping out while circulation, again disor_num and two arrays of order_num are compared, if disor_num[n] unequal to order_num[n], dis_num++, out of order number is dis_num, and out of order rate is the number that disorderment=(float) ((lose_pack*100)/((float) rcv_num)) % just can obtain the dis_num of dislocation.When certain element of disor_num and the unequal words of expected_no, while goes to 20 elements after num_dis or is greater than the words of total_loss_pack-1, just think that this bag of expected_no lost, err_count is from increasing 1, the Bao Xu that simultaneously records err_count packet loss is expected_no, and which bag demonstrates what specifically lose is.When expected_no is greater than max, jump out while, determine the situation that packet loss has occurred, Loss Rate losepacket_rate=(float) ((lose_pack*100)/((float) send_ptk_num)) %.
In a kind of preferred exemplary of the embodiment of the present invention, in the time of can being judged network condition by the first test lead, when test packet comprises when a plurality of, and unusual condition is while comprising forward delay interval, and corresponding, described step 103 can comprise:
Sub-step S71, for each test packet, when sending each test packet, the transmitting time of record test packet and the Bao Xu of transmission;
Sub-step S72, receive the expression that described the second test lead returns and receive the response packet of described test packet, and judge whether the entrained packet sequence number of described response packet is the current value of described transmission recording parameters;
Sub-step S73, if not, extracts the entrained time of reception of described response packet, does poorly with described transmitting time, obtains forward delay interval time of each test packet.
The transmission range of time delay on the one hand and between transfer of data two places is relevant, and such as Beijing is to Guangdong, theoretical time delay is 50ms left and right at least; Time delay another one reason is the occupancy of the network bandwidth, if occupancy is high, time delay is also high; The other reasons of time delay may be that cpu processes and not catch up with etc., if time delay is excessive, will think that network is slow.The first test lead sends test packet to the second test lead, the second test lead returns to response packet (ACK) after receiving test packet, the first test lead receives response packet and shows that the second test lead has received test packet, if before sending next packet, receive on a response packet that packet returns, explanation sends normal, if after sending next or a plurality of packets, just receive on a response packet that packet returns, the forward delay interval of a packet is described.
When sending each packet, calculated but the number of transmission packet in default cycle testing time, therefore, can further draw the transmitting time of each packet, while sending packet, default transmission recording parameters is done and added 1 processing, after receiving the response packet returning, the Bao Xu that has the packet receiving that response packet carries, if the Bao Xu of response packet is identical with transmission recording parameters current value, there is not transmission lag in explanation, and the Bao Xu of response packet is the Bao Xu of the up-to-date packet sending, if different, there is transmission lag in explanation.
For example, sending recording parameters initial value can be 0, send after first packet, send recording parameters and be increased to 1, if there is not the situation of transmission lag, before sending second packet, can receive response packet, the Bao Xuwei 1 that response packet carries, recording parameters value is identical with sending, if there is the situation of transmission lag, for example, after sending second packet, just receive response packet, the numerical value that response packet carries is 1, owing to sending, send recording parameters after second packet can be increased to 2 be not 1, shown to occur the situation of transmission lag.
After the situation of specified data bag generation forward delay interval, can further calculate the time of forward delay interval, response packet also can carry the time of reception that the second test lead receives packet, the first test lead is also preserved the transmitting time of each packet, and time of reception and the first test lead transmitting time are done difference can obtain forward delay interval time (Round-Trip Time: round-trip delay).
For example, when the first test lead is doing that the action time of giving out a contract for a project obtains that a time send_time(who gives out a contract for a project comprises second and delicate), the second test lead is received the packet sending, when the number rcv_num that receives packet is from increasing after 1, send out a response packet to the first test lead, the statistics being postponed by the first test lead at once.In the response packet that the first test lead is received, Bao Xu is not current theoretical Bao Xu, by the time of reception recv_time in response packet, does difference obtain time delay (RTT) with send_time, is put into ptk_delay_sum array the inside.
Specific algorithm is as follows:
First bag: ptk_delay_sum[0]=t12 – t11
Second bag: ptk_delay_sum[1]=t22 – t21
Rcv_num bag: ptk_delay_sum[rcv_num-1]=t rcv_num2 – t rcv_num1
total_time=ptk_delay_sum[0]+ptk_delay_sum[1]+…+ptk_delay_sum[rcv_num]
RTT=(float)total_time/(float)rcv_num
It is the Bao Xu of test pack that the first test lead (client) obtained the time tn1(n that gives out a contract for a project by gettimeofday before this action of giving out a contract for a project away), be put into 1084 bag the insides, issue server end, itself and Bao Xu are put in a structure array S simultaneously.Whether the second test lead (server end) receiving 2012 o'clock, sends out an ACK and wraps the end to client, and ACK size is 72byte, mainly comprises Bao Xu, the end mark of giving out a contract for a project, statistics network time delay etc.
When client receives that server holds the ACK sending, call network delay Processing Interface, the t1 that uses for circulation to find each bag ordered pair to answer from S, then by gettimeofday, obtain a time tn2, do difference, be put into an array ptk_delay_sum the inside, ask max and min value simultaneously, when receiving when giving out a contract for a project end mark, according to ptk_delay_sum array, obtain the total total_time of time delay, do the processing of a mean value, be given to statistics interface, demonstrate RTT value.
In a kind of preferred exemplary of the embodiment of the present invention, when unusual condition comprises transmission shake, on the basis of sub-step S71-S73, described step 103 can also comprise:
Sub-step S74, add up the mean value of the forward delay interval time of each test packet, carry out the poor calculating of smoothed average of transmission continuously according to the forward delay interval time of described mean value and each test packet, as the jitter parameter that sends shake.
If time delay is unstable, neglect fast neglecting slowly, just there is shake in network.Shaking this index, in occasions such as VOIP, video conferences, is a very important index, if produce shake, often sound and image also can be shaken, and cannot catch or see clearly.
According to the method for sub-step S71-S73, can obtain the forward delay interval time of each test packet, at a plurality of test packets, send to prolong to produce and send shake, can first calculate the mean value of the forward delay interval time of each test packet, then done to the poor calculating of smoothed average of continuous transmission the forward delay interval time of mean value and each test packet, the variance obtaining is the jitter parameter that sends shake.
Client end obtained a time tn1 by gettimeofday before this action of giving out a contract for a project away; be put into bag the inside; issue server end; server end receive 2012 time, do the processing of shaking: obtain a time tn2, it is poor that tn1 and tn2 do; obtain tn3; wherein having a last_transit(initial value is 0), if being not equal to 0, delta_t, it equals the absolute value that t3 deducts last_transit; Calculating jitter value jitter(initial value is 0), jitter equals delta_t and deducts jitter, simultaneously t3 assignment to last_transit.Finally jitter is issued to client by 8a07 and hold, computing formula is as follows:
First bag: T13=T11 – T12
Last_transit=T13 (initial value is 0)
Second bag: T23=T21 – T22
delta_t2=T23-last_transit(T13)
Jitter2+=(delta_t2 – 0)/16 (initial value is 0)
last_transit=T23
The 3rd bag: T33=T31 – T32
delta_t3=T33-last_transit(T23)
jitter3+=(delta_t3–jitter2【delta_t2/16】)/16
jitter3+=((T33-T23)–(T23-T13)/16)/16
last_transit=T33
Obtain by that analogy the value of jitter.
Further preferably, the method for the embodiment of the present invention can also comprise:
The parameter of the described unusual condition of sign that described the first test lead obtains statistics is shown, so that the foundation of diagnosing depending on the network state of networking described to be provided.
In the present embodiment, can show the parameter of the characterize abnormalities situation obtaining, for example, the data such as jitter parameter of the forward delay interval time of the dislocation number of the packet loss number in display data process of transmitting, packet loss, packet, dislocation rate, each test packet, transmission shake, in concrete realization, the data such as maximum available bandwidth that can also show statistics, technical staff can diagnose network state according to these data, concrete diagnostic rule can design according to applied environment and demand, and the present invention does not limit this.
For example, if test at certain bandwidth packet loss not, represents that network is stable, and network can bear this bandwidth, and if there is no the dislocation of bag, represent that video is very smooth, there is no the situation appearance such as Ka Dun or mosaic; If there is packet loss, network may hold can't stand this bandwidth, if time delay and shake difference are little, represents that network is still more steady, it is so large that the network bandwidth is not tested, and can further add up the problem that " maximum available bandwidth under 0 packet loss " carrys out Sampling network bandwidth.
Pass through the embodiment of the present invention, the first test lead is connected into depending on networking and by looking networking and sends test packet to the second test lead, and by monitoring the transmission of test pack, whether there are abnormal conditions by the first test lead or the second test lead, and the abnormal parameter of statistics corresponding sign network condition, thereby realized looking the monitoring of the network condition of networking.
In concrete realization, can be under set-top box environment, the method of the embodiment of the present invention can be made to corresponding apparatus module moves and carries out test network situation in Set Top Box, for doing depending on the size of its audio frequency and video bag of networking dedicated network Imitating the test of giving out a contract for a project, as shown in Figure 3, provided the system architecture diagram of the network condition test of looking networking of applying the embodiment of the present invention under set-top box environment, Set Top Box A sends and connects to Set Top Box B by looking networking, and reception feedback is determined successful connection, then to Set Top Box B, send packet for test, and according to the protocal analysis packet receiving result of returning, the loss that comprises packet, dislocation, time delay, the situations such as shake, by the analysis to these parameters, diagnose from local terminal the attend a meeting network state of terminal of certain far-end, when video conference or menu etc. goes wrong, other need to know that the technical staff of network condition can be used as the foundation of investigation problem.
In order to make those skilled in the art understand better the present invention, below by a concrete example explanation, describe, wherein, the first test lead is client end, the second test lead is server end.
If a bandwidth depending on networking is 20M, whether truely test bandwidth, can use actual bandwidth to test.
The statistics of client end is as follows:
Give out a contract for a project total time: delta_time=5999464 μ s
Send out one and wrap theoretical average time: per_pack_time=433.600006 μ s
Send out a theoretical real time of bag: average_sendpacket_time=433.612610 μ s
The number of giving out a contract for a project: send packet num:13836
Packet receiving number: rcv packet num:13836
Dislocation number: dis place packet total num:3475
Dislocation rate: displacement rate=0.25%
actual?send?bandwidth=[19.999418]Mbps;total?sleep[4346121]
Round-Trip?Time:min/avg/max=0.319/0.473/4.114ms
Shake jitter:0.061ms
Client end calculates each cycle according to the size of 20M and each bag 1084bit, the number that sends packet is 13836, the theoretical time that obtains sending each bag is 433.600006 μ s, it is 1 that a number of at every turn giving out a contract for a project is set, then by the action of giving out a contract for a project, give out a contract for a project and hold to server, obtain sending the real time of packet.After transmission finishes (when sending last bag end mark is sent out over) simultaneously, first obtain sending 13836 bags total times 5999464 μ s, send the actual average times 433.612610 μ s of each bag; Then 8704 protocol package that send according to server end obtain the situation of packet loss: in 8a07, having a rcv_num is 13836, and 13836 do poorly, and the number that obtains packet loss is 0, and by 0 and 13836, doing division arithmetic, to obtain packet loss be 0.
8704 protocol package that send according to server end obtain the situation of dislocation bag: in 8a07, having a dis_num is 3475, and the number that obtains dislocation bag is 3475, and by 3475 and 13836, doing division arithmetic, to obtain dislocation rate be 0.25%.
Further obtaining sending the jitter parameter of shaking is 0.061ms.
Accordingly, the statistics of server end is as follows:
----err?packet?no1=1
----err?packet?no2=2
----err?packet?no3=3
----err?packet?no4=4
----err?packet?no5=23
---the sequence number of-err packet no6 (packet loss number)=4568(packet loss)
Packet loss number: Err num=6
Dislocation number: dis num=3475
Server end is received the packet that client end sends, and obtains Bao Xu and end mark position 1, and Bao Xu is deposited to an array disor_num the inside, obtains maximum bag order max simultaneously; The number rcv_num of the bag receiving in the process receiving is from increasing 1, when current Bao Xuyu receives as occurred bag order is different, is a packet loss number total_loss_pack from increasing 1 action, and a packet loss flag bit is set.When end is 1, total_loss_pack=3475, is judged as the situation that dislocation or packet loss occur, and the theory bag order expected_no=1 of a current hope is set, and does a while circulation (condition is rcv_num and end), further judgement:
When certain element of disor_num equates with expected_no, expected_no is put in an array order_num, expected_no is from increasing 1, obtain the packet Bao Xu of next judgement at the position of array num_dis, when certain element of disor_num and expected_no are when unequal, when while goes to 20 elements after num_dis or is greater than the words of total_loss_pack-1, just think that this bag of expected_no lost, err_count is from increasing 1, obtaining accordingly packet loss number is 6, and obtain the Bao Xuwei 1 that loses, 2, 3, 4, 23, 4568.
When expected_no is greater than max, jump out while, disor_num and order_num are compared, the number that obtains dis_num is 3475.
By 3475 and 13836, do that poor to obtain Packet Error Rate (out of order rate) be 0.25%, by above-mentioned algorithm, obtaining jitter parameter is 0.061ms.
When use is greater than 20 bandwidth and tests, the statistics of client end is as follows:
Test bandwidth: sending rate:30.00Mbps
The number of giving out a contract for a project: send packet num:20754
Packet receiving number: rcv packet num:14098
Current packet loss Bao Xu: moment lose packet num:6656
Packet loss number altogether: total lose packet num:19970
Packet loss: losepacket_rate:32.07%
Dislocation number: dis place packet total num:2021
Dislocation rate: displacement rate=0.14%
Jitter parameter: variance_sum=43473
Actual bandwidth: actual bandwidth:20.38Mbps
Round-Trip?Time:min/avg/max=0.329/0.477/4.106ms
displacement?rate:0.14%
jitter:0.063ms
Figure BDA0000416479000000231
The number that calculates each cycle transmission packet according to the size of 30M and each bag 1084bit is 20754, the theoretical time that obtains sending each bag is 856.921387 μ s, it is 1 that a number of at every turn giving out a contract for a project is set, then by the action of giving out a contract for a project, give out a contract for a project and hold to server, obtain sending the real time of packet.After transmission finishes, first obtain sending 13836 bags total times 5999464 μ s, send the actual average times 856.926819 μ s of each bag, then the protocol package sending according to server end obtains the situation of packet loss, in 8a07, having a rcv_num is 14098, with 20754 do poor, the number that obtains packet loss is 6656, and by 0 and 13836, doing division arithmetic, to obtain packet loss be 32.07%.
The protocol package sending according to server end obtains the situation of dislocation bag, and in protocol package, having a dis_num is 2021, and the number that obtains dislocation bag is 2021, and by 2021 and 20754, doing division arithmetic, to obtain Packet Error Rate be 0.14%.
Further obtaining sending the jitter parameter of shaking is 0.063ms.
It should be noted that, for aforesaid embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the application is not subject to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action might not be that the application is necessary.
Explanation based on said method embodiment, the application also provides the network condition testing apparatus embodiment that looks accordingly networking, realizes the content described in said method embodiment.
With reference to Fig. 2, it shows a kind of network condition testing apparatus structured flowchart of looking networking described in the embodiment of the present application.
Link block 201, is connected into and looks networking for the first test lead, and by connecting depending on networking and the second test lead;
Test data generation module 202, generates for described the first test lead the test packet that comprises socket information;
Test data sending module 203, for according to described socket information through depending on networking to described the second test lead, send described test packet, described socket information identifies described test data and wraps in the transmission path transmitting depending on the data link layer of networking;
Abnormal judge module 204, for described the first test lead or the second test lead, judge whether the transmission of described test packet unusual condition occurs, and the corresponding parameter that characterizes described unusual condition of statistics, so that the described network state depending on networking is diagnosed, described unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends at least one in shake.
In the embodiment of the present invention, preferably, described socket information comprises one or more in protocol number, interface index number, header type, packet type, physical layer address and the physical layer address length of the physical layer of data link layer.
In the embodiment of the present invention, preferably, described test data sending module comprises:
Number is determined submodule, for according to default test bandwidth and default test pack size, determines the number of the test packet of transmission per second;
Packet Generation submodule, for the transmission path identifying according to described socket information, according to the number of the test packet determine sending within default cycle testing time through look networking one by one even bag to the second test lead transmission test packet, wherein, each test packet carries corresponding packet sequence number, and last test packet also carries transmission end mark.
In the embodiment of the present invention, preferably, described test packet comprises a plurality of, when described unusual condition comprises data-bag lost and/or packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio and/or packet dislocation rate, and described abnormal judge module comprises:
Protocol package receives submodule, receives the protocol package of described test packet for receiving expression that described the second test lead returns;
The first Loss Rate calculating sub module, for extracting the receiving and counting parameter of described protocol package, it is poor that described receiving and counting parameter and the test packet number sending within described cycle testing time are done, obtain data-bag lost number, the test packet number of described data-bag lost number and transmission is divided by, obtains described bursts dropping ratio;
And/or the first dislocation rate calculating sub module, for extracting the dislocation statistical parameter of described protocol package, obtains packet dislocation number, and the test packet number of described packet dislocation number and transmission is divided by, and obtains described packet dislocation rate.
In the embodiment of the present invention, preferably, described test packet comprises a plurality of, and when described unusual condition comprises data-bag lost and/or packet dislocation, described abnormal judge module comprises:
Abnormal definite submodule, be used for described the second test lead when receiving each test packet, the packet sequence number of the current test packet receiving and default reception variable are compared, if inconsistent, determine the situation that data-bag lost and/or packet dislocation occur.
In the embodiment of the present invention, preferably, when described unusual condition comprises data-bag lost and packet dislocation, the number that the parameter of the described unusual condition of described sign is data-bag lost, described abnormal judge module comprises:
Lose abnormal definite submodule, if there are for the packet Bao Xuzhong receiving successively all packet Bao Xu that receive in theory, determine the situation that data-bag lost does not occur, if the packet Bao Xuzhong receiving successively does not exist one or more packet Bao Xu that receive in theory, determine the situation that data-bag lost occurs;
The second Loss Rate calculating sub module, for add up the packet Bao Xuzhong that receives successively the number of the non-existent packet Bao Xu receiving in theory, number as described data-bag lost, described data-bag lost number is divided by with determining the test packet number sending, obtains described bursts dropping ratio.
In the embodiment of the present invention, preferably, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is the number of packet dislocation, and described abnormal judge module comprises:
Bag order is determined submodule, for judging whether the packet Bao Xuzhong receiving successively exists all packet Bao Xu that receive in theory, if exist, determines the situation that packet dislocation occurs;
Array generates submodule, for the packet bag order receiving is successively formed and receives array, by each packet bag order formational theory array receiving successively in theory;
The second dislocation rate calculating sub module, for two arrays are compared, number using the number of the different Bao Xu of same position in two arrays as described packet dislocation, is divided by described packet dislocation number with determining the test packet number sending, obtain described packet dislocation rate.
In the embodiment of the present invention, preferably, described test packet comprises a plurality of, and when described unusual condition comprises forward delay interval, described abnormal judge module comprises:
Transmission processing submodule, for for each test packet, when sending each test packet, the transmitting time of record test packet and the Bao Xu of transmission;
Response packet judgement submodule, for receiving expression that described the second test lead returns, receive the response packet of described test packet, and judge that whether the entrained packet sequence number of described response packet is the current value of described transmission recording parameters, if not, carries out time delay calculating sub module;
Time delay calculating sub module, for extracting the entrained time of reception of described response packet, does poorly with described transmitting time, obtains forward delay interval time of each test packet.
In the embodiment of the present invention, preferably, when described unusual condition comprises transmission shake, described abnormal judge module also comprises:
Jitter Calculation submodule, for adding up the mean value of the forward delay interval time of each test packet, according to the forward delay interval time of described mean value and each test packet, carry out the poor calculating of smoothed average of transmitting continuously, as the jitter parameter that sends shake.
In the embodiment of the present invention, preferably, described default test bandwidth be add up the actual bandwidth depending on networking that the number of the test packet that repeatedly described in bandwidth test, the second test lead receives obtains, described in depending on the standard bandwidth of networking or described in depending on networking at the maximum available bandwidth not occurring under packet loss situation.
Further preferably, described device can also comprise:
Maximum bandwidth computing module, for described in adding up depending on networking at the maximum available bandwidth not occurring under packet loss situation.
In the embodiment of the present invention, preferably, described maximum bandwidth computing module can comprise:
The first bandwidth calculation submodule, during for the unusual condition of the transmission generation data-bag lost when described test packet, using half of default maximum bandwidth and default minimum bandwidth as described maximum available bandwidth;
The second bandwidth calculation submodule, for when there is not the unusual condition of data-bag lost in the transmission of described test packet, by half of described default maximum bandwidth and described default minimum bandwidth or the preset ratio of described default minimum bandwidth, as described maximum available bandwidth.
Preferably, the device of the embodiment of the present invention can also comprise display module, and the parameter of the described unusual condition of sign statistics being obtained for described the first test lead is shown, so that the foundation of diagnosing depending on the network state of networking described to be provided.
Pass through the embodiment of the present invention, the first test lead is connected into depending on networking and by looking networking and sends test packet to the second test lead, and by monitoring the transmission of test pack, whether there are abnormal conditions by the first test lead or the second test lead, and the abnormal parameter of statistics corresponding sign network condition, thereby realized looking the monitoring of the network condition of networking.
For above-mentioned depending on for the network condition testing apparatus embodiment of networking, because it is substantially similar to embodiment of the method, thus describe fairly simple, the part explanation of relevant part embodiment of the method shown in Figure 1.
The application can be used in numerous general or special purpose calculation element environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multi-processor device, the device based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any device or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), by the teleprocessing equipment being connected by communication network, be executed the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Also it should be noted that, in this article, term " comprises ", " comprising ", not only comprises those key elements, but also comprises other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Those skilled in the art should understand, the application's embodiment can be provided as method, device or computer program.Therefore, the application can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the application can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
A kind of network condition method of testing depending on networking above the application being provided and the network condition testing apparatus of looking networking, be described in detail, applied specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; Meanwhile, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.

Claims (24)

1. a network condition method of testing of looking networking, is characterized in that, comprising:
The first test lead is connected into looks networking, and by connecting depending on networking and the second test lead;
Described the first test lead generates the test packet that comprises socket information, and according to described socket information through depending on networking to described the second test lead, send described test packet, described socket information identifies described test data and wraps in the transmission path transmitting depending on the data link layer of networking;
Described the first test lead or the second test lead judge whether the transmission of described test packet unusual condition occurs, and the corresponding parameter that characterizes described unusual condition of statistics, so that the described network state depending on networking is diagnosed, described unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends at least one in shake.
2. method according to claim 1, is characterized in that, described socket information comprises one or more in protocol number, interface index number, header type, packet type, physical layer address and the physical layer address length of the physical layer of data link layer.
3. method according to claim 1, is characterized in that, described according to described socket information, the step through sending described test packet depending on networking to described the second test lead comprises:
According to default test bandwidth and default test pack size, determine the number of the test packet of transmission per second;
The transmission path identifying according to described socket information, according to the number of the test packet determine sending within default cycle testing time through look networking one by one even bag to the second test lead transmission test packet, wherein, each test packet carries corresponding packet sequence number, and last test packet also carries transmission end mark.
4. method according to claim 1, it is characterized in that, described test packet comprises a plurality of, when described unusual condition comprises data-bag lost and/or packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio and/or packet dislocation rate, described the first test lead judges whether the transmission of described test packet unusual condition occurs, and the corresponding step that characterizes the parameter of described unusual condition of statistics comprises:
Receive the protocol package that expression that described the second test lead returns receives described test packet;
Extract the receiving and counting parameter in described protocol package, it is poor that described receiving and counting parameter and the test packet number sending within described cycle testing time are done, obtain data-bag lost number, the test packet number of described data-bag lost number and transmission is divided by, obtains described bursts dropping ratio;
And/or, extract the dislocation statistical parameter in described protocol package, obtain packet dislocation number, the test packet number of described packet dislocation number and transmission is divided by, obtain described packet dislocation rate.
5. method according to claim 1, it is characterized in that, described test packet comprises a plurality of, and when described unusual condition comprises the dislocation of data-bag lost and/or packet, described the second test lead judges that the step whether transmission of described test packet unusual condition occurs comprises:
Described the second test lead, when receiving each test packet, compares the packet sequence number of the current test packet receiving and default reception variable;
If inconsistent, determine the situation that data-bag lost and/or packet dislocation occur.
6. method according to claim 5, it is characterized in that, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio, and the corresponding step that characterizes the parameter of described unusual condition of described the second test lead statistics comprises:
If there are all packet Bao Xu that receive in theory in the packet Bao Xuzhong receiving successively, determine the situation that data-bag lost does not occur, if the packet Bao Xuzhong receiving successively does not exist one or more packet Bao Xu that receive in theory, determine the situation that data-bag lost occurs;
The packet Bao Xuzhong that receives successively of statistics the number of the non-existent packet Bao Xu receiving in theory, number as described data-bag lost, described data-bag lost number is divided by with determining the test packet number sending, obtains described bursts dropping ratio.
7. method according to claim 5, it is characterized in that, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is packet dislocation rate, and the corresponding step that characterizes the parameter of described unusual condition of described the second test lead statistics comprises:
Whether the packet Bao Xuzhong that judgement receives successively there are all packet Bao Xu that receive in theory, if exist, determines the situation that packet dislocation occurs;
The packet bag order receiving is successively formed and receives array, by each packet bag order formational theory array receiving successively in theory;
Two arrays are compared, and the number using the number of the different Bao Xu of same position in two arrays as described packet dislocation, is divided by described packet dislocation number with determining the test packet number sending, obtain described packet dislocation rate.
8. method according to claim 1, it is characterized in that, described test packet comprises a plurality of, when described unusual condition comprises forward delay interval, described the first test lead judges whether the transmission of described test packet unusual condition occurs, and the corresponding step that characterizes the parameter of described unusual condition of statistics comprises:
For each test packet, when sending each test packet, the transmitting time of record test packet and the Bao Xu of transmission;
Receive the expression that described the second test lead returns and receive the response packet of described test packet, and judge whether the entrained packet sequence number of described response packet is the current value of described transmission recording parameters;
If not, extract the entrained time of reception of described response packet, do poorly with described transmitting time, obtain forward delay interval time of each test packet.
9. method according to claim 8, it is characterized in that, when described unusual condition comprises transmission shake, described the first test lead judges whether the transmission of described test packet unusual condition occurs, and the corresponding step that characterizes the parameter of described unusual condition of statistics also comprises:
Add up the mean value of the forward delay interval time of each test packet, according to the forward delay interval time of described mean value and each test packet, carry out the poor calculating of smoothed average of continuous transmission, as the jitter parameter that sends shake.
10. method according to claim 3, it is characterized in that, described default test bandwidth be add up the actual bandwidth depending on networking that the number of the test packet that repeatedly described in bandwidth test, the second test lead receives obtains, described in depending on the standard bandwidth of networking or described in depending on networking at the maximum available bandwidth not occurring under packet loss situation.
11. methods according to claim 10, is characterized in that, also comprise, described in adding up by following steps depending on networking at the maximum available bandwidth not occurring under packet loss situation:
When the unusual condition of the transmission generation data-bag lost of described test packet, using half of default maximum bandwidth and default minimum bandwidth as described maximum available bandwidth;
When there is not the unusual condition of data-bag lost in the transmission of described test packet, by half of described default maximum bandwidth and described default minimum bandwidth or the preset ratio of described default minimum bandwidth, as described maximum available bandwidth.
12. methods according to claim 1, is characterized in that, also comprise:
The parameter of the described unusual condition of sign that described the first test lead obtains statistics is shown, so that the foundation of diagnosing depending on the network state of networking described to be provided.
13. 1 kinds of network condition testing apparatuss of looking networking, is characterized in that, comprising:
Link block, is connected into and looks networking for the first test lead, and by connecting depending on networking and the second test lead;
Test data generation module, generates for described the first test lead the test packet that comprises socket information;
Test data sending module, for according to described socket information through depending on networking to described the second test lead, send described test packet, described socket information identifies described test data and wraps in the transmission path transmitting depending on the data link layer of networking;
Abnormal judge module, for described the first test lead or the second test lead, judge whether the transmission of described test packet unusual condition occurs, and the corresponding parameter that characterizes described unusual condition of statistics, so that the described network state depending on networking is diagnosed, described unusual condition comprises data-bag lost, packet dislocation, forward delay interval or sends at least one in shake.
14. devices according to claim 13, is characterized in that, described socket information comprises one or more in protocol number, interface index number, header type, packet type, physical layer address and the physical layer address length of the physical layer of data link layer.
15. devices according to claim 13, is characterized in that, described test data sending module comprises:
Number is determined submodule, for according to default test bandwidth and default test pack size, determines the number of the test packet of transmission per second;
Packet Generation submodule, for the transmission path identifying according to described socket information, according to the number of the test packet determine sending within default cycle testing time through look networking one by one even bag to the second test lead transmission test packet, wherein, each test packet carries corresponding packet sequence number, and last test packet also carries transmission end mark.
16. devices according to claim 13, it is characterized in that, described test packet comprises a plurality of, when described unusual condition comprises data-bag lost and/or packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio and/or packet dislocation rate, and described abnormal judge module comprises:
Protocol package receives submodule, receives the protocol package of described test packet for receiving expression that described the second test lead returns;
The first Loss Rate calculating sub module, for extracting the receiving and counting parameter of described protocol package, it is poor that described receiving and counting parameter and the test packet number sending within described cycle testing time are done, obtain data-bag lost number, the test packet number of described data-bag lost number and transmission is divided by, obtains described bursts dropping ratio;
And/or the first dislocation rate calculating sub module, for extracting the dislocation statistical parameter of described protocol package, obtains packet dislocation number, and the test packet number of described packet dislocation number and transmission is divided by, and obtains described packet dislocation rate.
17. devices according to claim 13, is characterized in that, described test packet comprises a plurality of, and when described unusual condition comprises data-bag lost and/or packet dislocation, described abnormal judge module comprises:
Abnormal definite submodule, be used for described the second test lead when receiving each test packet, the packet sequence number of the current test packet receiving and default reception variable are compared, if inconsistent, determine the situation that data-bag lost and/or packet dislocation occur.
18. devices according to claim 17, is characterized in that, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is bursts dropping ratio, and described abnormal judge module comprises:
Lose abnormal definite submodule, if there are for the packet Bao Xuzhong receiving successively all packet Bao Xu that receive in theory, determine the situation that data-bag lost does not occur, if the packet Bao Xuzhong receiving successively does not exist one or more packet Bao Xu that receive in theory, determine the situation that data-bag lost occurs;
The second Loss Rate calculating sub module, for add up the packet Bao Xuzhong that receives successively the number of the non-existent packet Bao Xu receiving in theory, number as described data-bag lost, described data-bag lost number is divided by with determining the test packet number sending, obtains described bursts dropping ratio.
19. devices according to claim 17, is characterized in that, when described unusual condition comprises data-bag lost and packet dislocation, the parameter of the described unusual condition of described sign is packet dislocation rate, and described abnormal judge module comprises:
Bag order is determined submodule, for judging whether the packet Bao Xuzhong receiving successively exists all packet Bao Xu that receive in theory, if exist, determines the situation that packet dislocation occurs;
Array generates submodule, for the packet bag order receiving is successively formed and receives array, by each packet bag order formational theory array receiving successively in theory;
The second dislocation rate calculating sub module, for two arrays are compared, number using the number of the different Bao Xu of same position in two arrays as described packet dislocation, is divided by described packet dislocation number with determining the test packet number sending, obtain described packet dislocation rate.
20. devices according to claim 13, is characterized in that, described test packet comprises a plurality of, and when described unusual condition comprises forward delay interval, described abnormal judge module comprises:
Transmission processing submodule, for for each test packet, when sending each test packet, the transmitting time of record test packet and the Bao Xu of transmission;
Response packet judgement submodule, for receiving expression that described the second test lead returns, receive the response packet of described test packet, and judge that whether the entrained packet sequence number of described response packet is the current value of described transmission recording parameters, if not, carries out time delay calculating sub module;
Time delay calculating sub module, for extracting the entrained time of reception of described response packet, does poorly with described transmitting time, obtains forward delay interval time of each test packet.
21. devices according to claim 20, is characterized in that, when described unusual condition comprises transmission shake, described abnormal judge module also comprises:
Jitter Calculation submodule, for adding up the mean value of the forward delay interval time of each test packet, according to the forward delay interval time of described mean value and each test packet, carry out the poor calculating of smoothed average of transmitting continuously, as the jitter parameter that sends shake.
22. devices according to claim 15, it is characterized in that, described default test bandwidth be add up the actual bandwidth depending on networking that the number of the test packet that repeatedly described in bandwidth test, the second test lead receives obtains, described in depending on the standard bandwidth of networking or described in depending on networking at the maximum available bandwidth not occurring under packet loss situation.
23. devices according to claim 22, is characterized in that, also comprise:
Maximum bandwidth computing module, for described in adding up depending on networking at the maximum available bandwidth not occurring under packet loss situation;
Described maximum bandwidth computing module comprises:
The first bandwidth calculation submodule, during for the unusual condition of the transmission generation data-bag lost when described test packet, using half of default maximum bandwidth and default minimum bandwidth as described maximum available bandwidth;
The second bandwidth calculation submodule, for when there is not the unusual condition of data-bag lost in the transmission of described test packet, by half of described default maximum bandwidth and described default minimum bandwidth or the preset ratio of described default minimum bandwidth, as described maximum available bandwidth.
24. devices according to claim 13, is characterized in that, also comprise:
Display module, the parameter of the described unusual condition of sign statistics being obtained for described the first test lead is shown, so that the foundation of diagnosing depending on the network state of networking described to be provided.
CN201310577294.XA 2013-11-18 2013-11-18 A kind of network condition method of testing and device of looking networking Active CN103701658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310577294.XA CN103701658B (en) 2013-11-18 2013-11-18 A kind of network condition method of testing and device of looking networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310577294.XA CN103701658B (en) 2013-11-18 2013-11-18 A kind of network condition method of testing and device of looking networking

Publications (2)

Publication Number Publication Date
CN103701658A true CN103701658A (en) 2014-04-02
CN103701658B CN103701658B (en) 2016-05-04

Family

ID=50363061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310577294.XA Active CN103701658B (en) 2013-11-18 2013-11-18 A kind of network condition method of testing and device of looking networking

Country Status (1)

Country Link
CN (1) CN103701658B (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024868A (en) * 2014-04-17 2015-11-04 北京视联动力国际信息技术有限公司 Network quality detection method and network quality detection system for video Internet
CN105323121A (en) * 2015-11-27 2016-02-10 上海斐讯数据通信技术有限公司 Network condition detection method and device
CN105429815A (en) * 2015-10-20 2016-03-23 刘德成 Household network quality determination method based on customized Layer 2 protocol
CN106789917A (en) * 2016-11-25 2017-05-31 北京百家互联科技有限公司 Data package processing method and device
CN107370636A (en) * 2016-05-12 2017-11-21 华为技术有限公司 Link State determines method and apparatus
CN107889128A (en) * 2016-09-30 2018-04-06 腾讯科技(深圳)有限公司 Network quality method of adjustment and device
CN108063745A (en) * 2016-11-08 2018-05-22 北京视联动力国际信息技术有限公司 A kind of video call method and its system based on Android device
CN108063743A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 The method and apparatus that a kind of web camera communicates with depending on networked terminals
CN108243343A (en) * 2016-12-23 2018-07-03 北京视联动力国际信息技术有限公司 A kind of point bit distribution statistical method and its server based on regarding networking
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN109121017A (en) * 2018-09-12 2019-01-01 视联动力信息技术股份有限公司 A kind of view intranet network method for evaluating quality and device
CN109150665A (en) * 2018-09-27 2019-01-04 视联动力信息技术股份有限公司 A kind of bandwidth test method and apparatus
CN109299013A (en) * 2018-09-26 2019-02-01 视联动力信息技术股份有限公司 A kind of automatic test approach and device
CN109428771A (en) * 2017-08-21 2019-03-05 深圳市中兴微电子技术有限公司 A kind of high speed peripheral component interconnection message method for testing performance and device
CN109714558A (en) * 2018-11-28 2019-05-03 视联动力信息技术股份有限公司 A kind of communication connection detection method and system based on view networking
CN110072101A (en) * 2018-01-24 2019-07-30 北京视联动力国际信息技术有限公司 A kind of test method and device of Network status
CN110113597A (en) * 2019-04-08 2019-08-09 视联动力信息技术股份有限公司 A kind of view networking data channel detection methods and system
CN110138631A (en) * 2019-03-25 2019-08-16 视联动力信息技术股份有限公司 The method for detecting connectivity and terminal device in a kind of view networking tunnel
CN110224856A (en) * 2019-05-13 2019-09-10 视联动力信息技术股份有限公司 Depending on the monitoring method and system of networked terminals
CN110351155A (en) * 2018-04-03 2019-10-18 苏州景昱医疗器械有限公司 The program-controlled network performance test methods and system of implantable medical device
CN110519114A (en) * 2019-07-11 2019-11-29 视联动力信息技术股份有限公司 A kind of data link querying method and system based on view networking
CN110782660A (en) * 2019-09-12 2020-02-11 腾讯科技(深圳)有限公司 Detection method and device of Internet of vehicles information
CN112486013A (en) * 2020-11-06 2021-03-12 北京明瑞之光科技有限公司 Multi-node control system, regional wireless time service device thereof and landscape lighting system
CN113595834A (en) * 2021-08-09 2021-11-02 海南视联通信技术有限公司 Method and device for detecting data processing capacity of video networking equipment
CN113794861A (en) * 2021-09-10 2021-12-14 王平 Monitoring system and monitoring method based on big data network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777126A (en) * 2005-12-12 2006-05-24 史文勇 System and method for conducting comprehensive measurement and association analysis to time delay and drop
CN101022375A (en) * 2007-04-04 2007-08-22 杭州华为三康技术有限公司 Centralizing automatic testing device and method for testing radio local network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777126A (en) * 2005-12-12 2006-05-24 史文勇 System and method for conducting comprehensive measurement and association analysis to time delay and drop
CN101022375A (en) * 2007-04-04 2007-08-22 杭州华为三康技术有限公司 Centralizing automatic testing device and method for testing radio local network

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024868A (en) * 2014-04-17 2015-11-04 北京视联动力国际信息技术有限公司 Network quality detection method and network quality detection system for video Internet
CN105429815A (en) * 2015-10-20 2016-03-23 刘德成 Household network quality determination method based on customized Layer 2 protocol
CN105429815B (en) * 2015-10-20 2019-04-16 刘德成 A kind of home network Quality estimation method based on customized two-layer protocol
CN105323121A (en) * 2015-11-27 2016-02-10 上海斐讯数据通信技术有限公司 Network condition detection method and device
CN105323121B (en) * 2015-11-27 2019-08-16 上海斐讯数据通信技术有限公司 A kind of Network status detection method and device
CN107370636A (en) * 2016-05-12 2017-11-21 华为技术有限公司 Link State determines method and apparatus
CN107889128B (en) * 2016-09-30 2020-12-18 腾讯科技(深圳)有限公司 Network quality adjusting method and device
CN107889128A (en) * 2016-09-30 2018-04-06 腾讯科技(深圳)有限公司 Network quality method of adjustment and device
CN108063743A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 The method and apparatus that a kind of web camera communicates with depending on networked terminals
CN108063743B (en) * 2016-11-07 2019-03-01 视联动力信息技术股份有限公司 A kind of method and apparatus that web camera is communicated with depending on networked terminals
CN108063745A (en) * 2016-11-08 2018-05-22 北京视联动力国际信息技术有限公司 A kind of video call method and its system based on Android device
CN106789917A (en) * 2016-11-25 2017-05-31 北京百家互联科技有限公司 Data package processing method and device
CN106789917B (en) * 2016-11-25 2019-10-01 北京百家互联科技有限公司 Data package processing method and device
CN108243343A (en) * 2016-12-23 2018-07-03 北京视联动力国际信息技术有限公司 A kind of point bit distribution statistical method and its server based on regarding networking
CN109428771B (en) * 2017-08-21 2021-02-09 深圳市中兴微电子技术有限公司 Method and device for detecting performance of high-speed peripheral component interconnection message
CN109428771A (en) * 2017-08-21 2019-03-05 深圳市中兴微电子技术有限公司 A kind of high speed peripheral component interconnection message method for testing performance and device
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN108881147B (en) * 2017-12-29 2019-07-05 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN110072101A (en) * 2018-01-24 2019-07-30 北京视联动力国际信息技术有限公司 A kind of test method and device of Network status
CN110351155A (en) * 2018-04-03 2019-10-18 苏州景昱医疗器械有限公司 The program-controlled network performance test methods and system of implantable medical device
CN110351155B (en) * 2018-04-03 2020-12-22 苏州景昱医疗器械有限公司 Program-controlled network performance testing method and system of implantable medical equipment
CN109121017B (en) * 2018-09-12 2021-08-20 视联动力信息技术股份有限公司 Method and device for evaluating quality of video networking network
CN109121017A (en) * 2018-09-12 2019-01-01 视联动力信息技术股份有限公司 A kind of view intranet network method for evaluating quality and device
CN109299013A (en) * 2018-09-26 2019-02-01 视联动力信息技术股份有限公司 A kind of automatic test approach and device
CN109150665A (en) * 2018-09-27 2019-01-04 视联动力信息技术股份有限公司 A kind of bandwidth test method and apparatus
CN109714558A (en) * 2018-11-28 2019-05-03 视联动力信息技术股份有限公司 A kind of communication connection detection method and system based on view networking
CN110138631A (en) * 2019-03-25 2019-08-16 视联动力信息技术股份有限公司 The method for detecting connectivity and terminal device in a kind of view networking tunnel
CN110113597A (en) * 2019-04-08 2019-08-09 视联动力信息技术股份有限公司 A kind of view networking data channel detection methods and system
CN110224856A (en) * 2019-05-13 2019-09-10 视联动力信息技术股份有限公司 Depending on the monitoring method and system of networked terminals
CN110519114A (en) * 2019-07-11 2019-11-29 视联动力信息技术股份有限公司 A kind of data link querying method and system based on view networking
CN110782660A (en) * 2019-09-12 2020-02-11 腾讯科技(深圳)有限公司 Detection method and device of Internet of vehicles information
CN110782660B (en) * 2019-09-12 2021-09-10 腾讯科技(深圳)有限公司 Detection method and device of Internet of vehicles information
CN112486013A (en) * 2020-11-06 2021-03-12 北京明瑞之光科技有限公司 Multi-node control system, regional wireless time service device thereof and landscape lighting system
CN113595834A (en) * 2021-08-09 2021-11-02 海南视联通信技术有限公司 Method and device for detecting data processing capacity of video networking equipment
CN113794861A (en) * 2021-09-10 2021-12-14 王平 Monitoring system and monitoring method based on big data network

Also Published As

Publication number Publication date
CN103701658B (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN103701658A (en) Network condition testing method and device for articulated naturality web
US20210203578A1 (en) Round-Trip Time Evaluation System, Method, and Apparatus
US8432816B2 (en) VoIP terminal having QoS monitoring function and QoS monitoring method
CN103416022B (en) Throughput testing approach and system in service in distribution router/exchange board structure
CN109327493A (en) A kind of remote medical monitoring system based on cloud and monitoring method
CN111934936B (en) Network state detection method and device, electronic equipment and storage medium
CN111629452A (en) Data transmission control method and device, storage medium and electronic equipment
CN102647432B (en) A kind of authentication information transmission method, device and certification middleware
US20140317262A1 (en) Method, Device and System for Detecting a Quality of Service Problem
CN112436924A (en) Data transmission method and electronic equipment
CN108881817A (en) A kind of methods, devices and systems that data are synchronous
Bustos-Jiménez et al. Boxing experience: Measuring QoS and QoE of multimedia streaming using NS3, LXC and VLC
TWI718068B (en) Virtual service network quality measurement system and method thereof
CN110545214A (en) time delay detection method based on video network and switch
CN111265852A (en) Low-delay information transmission method and device based on UDP (user Datagram protocol)
CN115002008B (en) Method, device, equipment and storage medium for measuring network delay
JP2020141191A (en) Data acquisition device, client server system, data acquisition method, and program
US11677651B2 (en) UDPING—continuous one-way monitoring of multiple network links
CN110753071B (en) Information acquisition method and device
CN107306282B (en) A kind of link keep-alive method and device
Ali et al. Design and implementation of real-time voice streaming evaluation platform over wireless sensor network (vowsn)
US20230262000A1 (en) System and method for maintaining communication service quality in a network
KR101627796B1 (en) Device Indicator Data Transmitting Method for Network based AV System
CN106571970B (en) The monitoring method and device of bearer network
Li Large-Scale Measurement of Real-Time Communication on the Web

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Network condition testing method and device for articulated naturality web

Effective date of registration: 20160920

Granted publication date: 20160504

Pledgee: Beijing culture science and technology financing Company limited by guarantee

Pledgor: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

Registration number: 2016990000799

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20171204

Granted publication date: 20160504

Pledgee: Beijing culture science and technology financing Company limited by guarantee

Pledgor: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

Registration number: 2016990000799

CP03 Change of name, title or address

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, A1103 house, Ge Hua building.

Patentee after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113

Patentee before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CP03 Change of name, title or address
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 571924 building C07, Zone C, Hainan Ecological Software Park, hi tech Industrial Demonstration Zone, old town, Haikou City, Hainan Province

Patentee after: Hainan Shilian Communication Technology Co.,Ltd.

Address before: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, A1103 house, Ge Hua building.

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.