CN107547300A - A kind of network quality detection method and device - Google Patents
A kind of network quality detection method and device Download PDFInfo
- Publication number
- CN107547300A CN107547300A CN201710457972.7A CN201710457972A CN107547300A CN 107547300 A CN107547300 A CN 107547300A CN 201710457972 A CN201710457972 A CN 201710457972A CN 107547300 A CN107547300 A CN 107547300A
- Authority
- CN
- China
- Prior art keywords
- service message
- dyeing
- message
- binary
- boundary
- 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
Links
Abstract
The present invention provides a kind of network quality detection method and device, applied to access device, access device utilizes the first dyeing cycle to send the colored packet for detecting network quality in this method, the colored packet of the quantity of the colored packet sent for representing the first dyeing cycle is sent using the second dyeing cycle, so that outlet device determines the quantity of colored packet that access device sends in the first dyeing cycle based on the colored packet that the second dyeing cycle receives, the packet loss of network transmission is determined further according to the quantity that colored packet is received in the first dyeing cycle of outlet device itself statistics.In whole detection process, all colored packet are based on the dyeing of regular traffic message, and are not related to the message interaction unrelated with business, and the detection to network quality is realized in the case of vacant additional network resources.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of network quality detection method and device.
Background technology
With the rapid development of network technology, network application (for example, networking telephone) is more and more, and user also gets over
To be more concerned about using transmission quality in a network, for example, packet loss, time delay etc..
At present, the detection of network transmission quality (abbreviation network quality) is based primarily upon the dyeing processing of service message, specifically
In the access device side of service message, to be dyed to service message, the quantity of statistics dyeing service message;Service message
After network transmission, the quantity for the dyeing service message that statistics receives in outlet device side;Access device and outlet device will
The quantity of the dyeing service message each counted reports management equipment, and packet loss is calculated by management equipment.The detection process needs
Management equipment is wanted to participate in, and access device and outlet device are both needed to carry out the information exchange unrelated with business with management equipment, account for
Use Internet resources.
The content of the invention
It is an object of the invention to provide a kind of network quality detection method and device, are used to detect network matter to reduce
The quantity of the non-traffic message of amount.
For achieving the above object, the invention provides following technical scheme:
The present invention provides a kind of network quality detection method, applied to access device, the outlet device and access device
Dyeing cycle it is synchronous, methods described includes:
Colored packet is sent in the first dyeing cycle;
Determine binary number corresponding to the quantity of the colored packet of transmission in first dyeing cycle;
With continuous second dyeing cycle of first dyeing cycle in, determine multiple continuous business reports to be sent
Text and predetermined number boundary service message, wherein, the multiple continuous service message sorts according to the sequence number of service message
And each service message corresponds to the bit in the binary number, the predetermined number boundary service message respectively
For the corresponding service message of outside the multiple continuous service message and with the binary number minimum binary digit
The continuous service message of sequence number;
Value is dyed and sent for service message corresponding to 1 binary digit, and sending value is 0 binary digit pair
The service message answered, and sequence number business corresponding with the minimum binary digit in service message of demarcating to the predetermined number
The first boundary service message that the sequence number difference of message is maximum is dyed and sent, so that the outlet device is according to described the
The quantity of one boundary service message and the predetermined number boundary service message determines that minimum the two of the binary number enters
Position processed, and the binary number represented according to the multiple continuous service message of the sequence number of service message reduction, according to described two
The quantity of system number and the colored packet received in first dyeing cycle determines packet loss.
The present invention provides a kind of network quality detection means, applied to access device, the outlet device and access device
Dyeing cycle it is synchronous, described device includes:
Packet sending unit, for sending colored packet in the first dyeing cycle;
Binary system determining unit, for two corresponding to the quantity for the colored packet for determining to send in first dyeing cycle
System number;
Message determining unit, for continuous second dyeing cycle of first dyeing cycle in, determine to be sent
Multiple continuous service messages and predetermined number boundary service messages, wherein, the multiple continuously service message according to
The sequence number sequence of service message and each service message correspond to the bit in the binary number respectively, described default
Quantity boundary service message is outside the multiple continuous service message and minimum binary system with the binary number
The continuous service message of sequence number of service message corresponding to position;
Message process unit, for value to be dyed and sent for service message corresponding to 1 binary digit, and send
Be worth for service message corresponding to 0 binary digit, and in service message of demarcating to the predetermined number sequence number with it is described minimum
The first boundary service message that the sequence number difference of service message corresponding to binary digit is maximum is dyed and sent, so that described
Outlet device is according to determining the quantity of the described first boundary service message and the predetermined number boundary service message
The minimum binary digit of binary number, and two represented according to the multiple continuous service message of the sequence number of service message reduction
System number, packet loss is determined according to the quantity of the binary number and the colored packet received in first dyeing cycle
Rate.
Access device of the present invention utilizes the first dyeing cycle to send for detecting network quality it can be seen from above description
Colored packet, using the second dyeing cycle send for represent the first dyeing cycle send colored packet quantity dyeing
Message, so that outlet device determines that access device is sent out in the first dyeing cycle based on the colored packet that the second dyeing cycle receives
The quantity of the colored packet sent, further according to the quantity that colored packet is received in the first dyeing cycle of outlet device itself statistics
Determine the packet loss of network transmission.In whole detection process, all colored packet are based on the dyeing of regular traffic message, and do not relate to
And the message interaction unrelated with business, the detection to network quality is realized in the case of vacant additional network resources.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of network quality detecting system shown in the embodiment of the present invention;
Fig. 2 is a kind of network quality detection method flow chart shown in the embodiment of the present invention;
Fig. 3 is that the corresponding relation of a kind of binary number and multiple continuous service messages shown in the embodiment of the present invention is illustrated
Figure;
Fig. 4 is a kind of service message of demarcating to multiple continuous service messages and predetermined number shown in the embodiment of the present invention
Schematic diagram after dyeing;
Fig. 5 is a kind of service message of demarcating to multiple continuous service messages and predetermined number shown in the embodiment of the present invention
Schematic diagram after (including verification service message) dyeing;
Fig. 6 is the structural representation of the access device shown in the embodiment of the present invention;
Fig. 7 is a kind of structural representation of network quality detection means shown in the embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
It is only merely for the purpose of description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention.
It is also intended in " one kind " of the singulative of the invention with used in appended claims, " described " and "the" including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Referring to Fig. 1, for a kind of schematic diagram of network quality detecting system shown in the embodiment of the present invention.The system includes two
Individual terminal device PC1 and PC2, two routing devices R1 and R2.If service message is sent to PC2 from PC1, R1 is access device,
R2 is outlet device, detects the network quality from access device to outlet device.
Before testing, access device and outlet device are configured, specifies and which Business Stream is network matter is carried out based on
Amount detection, for example, five-tuple information (source IP address, source port number, purpose IP address, destination slogan, agreement by Business Stream
Type) be added in the ACL (Access Control List, accesses control list) of access device and outlet device, based on
Service message with the ACL carries out network quality detection, meanwhile, specify access device to dye service message, wherein, dye
Color refers to be identified a certain Q-character of service message, to be different from other service messages.
In addition, the clock of access device and outlet device is synchronous in the present invention, dyeing cycle is synchronous, for example, access device
The initial time of current dyeing cycle is 8:30:10, then the initial time of the current dyeing cycle of outlet device is also 8:30:10,
If default dyeing cycle is 1 second, 8:30:When 11, access device and outlet device enter next dyeing cycle.
It is one embodiment flow chart of inventive network quality determining method referring to Fig. 2, the embodiment is from access device
Network quality detection process is described for side.
Step 201, colored packet is sent in the first dyeing cycle.
Access device is responsible for dyeing service message, for example, the 0th ratio by the Flag fields in service message IP headings
Special position (reserved bit, is generally defaulted as 0) putting 1, obtains colored packet.
In the present invention length of dyeing cycle be typically at least more than twice access device to outlet device maximum transmitted when
Prolong.Access device completes the transmission of colored packet in this cycle within the preceding half cycle of the first dyeing cycle, to use
Jaws equipment can receive all colored packet that access device is sent within this cycle in same dyeing cycle, in the first dye
The quantity of the colored packet received in the color cycle is counted.
Step 202, binary number corresponding to the quantity of the colored packet of transmission in first dyeing cycle is determined.
The quantity of the colored packet sent in the first dyeing cycle is converted to corresponding binary number, example by access device
Such as, access device have sent 1000 colored packet in the first dyeing cycle, then corresponds to binary number as 1111101000.
Step 203, with continuous second dyeing cycle of first dyeing cycle in, determine to be sent multiple continuous
Service message and predetermined number boundary service message.
Wherein, multiple continuous service messages sort according to the sequence number of service message, and each service message corresponds to respectively
Bit in binary number, for example, binary number 1111101000 includes 10 binary digits, then need 10 companies
Continuous service message represents the binary number, and each service message corresponds to bit.Meanwhile determine predetermined number
Demarcate service message, the boundary service message is outside aforesaid plurality of continuous service message and with minimum the two of binary number
The continuous service message of the sequence number of service message corresponding to system position.
Step 204, service message corresponding to binary digit that value is 1 is dyed and sent, and sending value be 0 two
Service message corresponding to system position, and sequence number and the minimum binary digit pair in service message of demarcating to the predetermined number
The first boundary service message that the sequence number difference for the service message answered is maximum is dyed and sent.
Still by taking binary number 1111101000 as an example, it is assumed that the message for 10 continuous service messages that step 203 determines
Serial number 301~310, the highest binary digit that service message is corresponding in turn to binary number according to the order of sequence number from small to large arrive
Minimum binary digit, referring to Fig. 3, for the corresponding relation of binary number and multiple continuous service messages.
Exemplified by sending sequence number as 301 service message, the service message corresponds to the highest binary digit of binary number, should
The value of highest binary digit is 1, is sent after being dyed to the service message of the serial number 301, serial number 302,303,304,
305th, the value of binary digit is 1 corresponding to 307 service message, is sent after same dyeing;Serial number 306,308,309,310
Service message corresponding to the value of binary digit be 0, do not dye and directly transmit.In addition, this step is also to predetermined number point
The first maximum boundary service message of the sequence number difference of sequence number service message corresponding with minimum binary digit in boundary's service message
Dyed and sent.Referring to Fig. 4, for showing after service message dyeing of demarcating to multiple continuous service messages and predetermined number
It is intended to, the quantity of predetermined number boundary service message only has one in the figure, and therefore, the boundary service message is exactly first point
Boundary's service message, sent after being dyed to the first boundary service message.
Outlet device counts the quantity of the colored packet received in dyeing cycle, according to the colored packet received
Quantity determines that what current dyeing cycle received is the colored packet for detecting packet loss, is also intended to indicate that a dyeing week
The colored packet for the colored packet quantity that phase access device is sent.Access device is in the second dye it can be seen from description above
The colored packet that the color cycle sends is considerably less than the colored packet sent in the first dyeing cycle, therefore, can be on outlet device
A default dyeing counting position threshold value is (for example, can correspond to the maximum colored packet quantity for allowing to send in single dyeing cycle
Binary digit number as dyeing counting position threshold value), when the quantity of the colored packet received in dyeing cycle be less than it is pre-
If dyeing counting position threshold value when, illustrate that what current dyeing cycle received is intended to indicate that a dyeing cycle access device is sent out
The colored packet for the colored packet quantity sent, i.e. outlet device are currently at second dyeing cycle synchronous with access device.
Outlet device sorts to the service message received in the second dyeing cycle according to test serial number, it is determined that receive
First colored packet and last colored packet, as shown in figure 4, the service message of serial number 301 is first colored packet, sequence
Number it is last colored packet for 311 service message.Outlet device is according to positioned at first colored packet and last dye
Service message (including first colored packet and last colored packet) between color message determines access device in the first dye
The quantity for the colored packet that the color cycle sends.Specifically, outlet device enters according to access device identical service message with two
The corresponding relation of position processed, to reduce binary system corresponding to the quantity for the colored packet that access device is sent in the first dyeing cycle
Number, for example, as it was previously stated, service message is corresponding in turn to binary number most by access device according to the order of sequence number from small to large
High binary digit is to minimum binary digit, and therefore, the first colored packet that outlet device understands to receive corresponds to binary number
Highest binary digit, last colored packet is the first boundary service message, then according to predetermined number boundary business report
The quantity of text, it is determined that the message with the first boundary service message between first colored packet and last colored packet
The service message of sequence number difference predetermined number sequence number corresponds to the minimum binary digit of binary number, and then enters according to the two of reduction
The quantity of number processed and the colored packet received in the first dyeing cycle determines packet loss.
Further, in order to the service message for being used to represent quantity for preventing from sending in the second dyeing cycle occur packet loss or
Situations such as being tampered, access device of the present invention are utilized in predetermined number boundary service message in addition to the first boundary service message
Specified boundary service message as verification service message, utilize verify service message represent binary number check value.Specifically
For access device determines the check value of binary number, when check value is 1, to verification service message dyeing;When check value is 0
When, forbid to verification service message dyeing.For example, by taking odd as an example, the odd parity value of binary number (1111101000) is
1, therefore, to verification service message dyeing.Referring to Fig. 5, to include the dyeing schematic diagram of verification service message.Outlet device is based on
Specify boundary service message (verifying service message) to verify the binary number of reduction, pass through school in confirmation binary number
After testing, packet loss is determined according to the quantity of the binary number of reduction and the colored packet received in the first dyeing cycle;If
It is not validated, then abandon this wheel detection.
In addition, the present invention determines multiple continuous service messages and predetermined number point to be sent in execution step 203
During boundary's service message, it can will start multiple continuous service messages to be sent and pre- in the start time point of the second dyeing cycle
If quantity boundary service message is defined as multiple continuous service message and predetermined number boundary service messages to be sent.
So no matter access device first sends boundary service message, still first sends business report corresponding with the highest order of binary number
Text, what it is in the transmission of the second dyeing cycle start time point is all colored packet, and therefore, outlet device can be according in the second dyeing week
The time point of the first colored packet received in phase and the start time point of the second dyeing cycle determine time delay.
It can be seen from the above description that in whole detection process, all colored packet are based on the dyeing of regular traffic message,
And it is not related to the message interaction unrelated with business, the inspection to network quality is realized in the case of vacant additional network resources
Survey.
Now still by taking system shown in Figure 1 as an example, network quality detection process is discussed in detail.
Service message is sent to PC2 from PC1, R1 is access device, and R2 is outlet device, and detection service message is from R1 to R2
Packet loss and time delay.
ACL1 is configured on R1, the service message for being sent to PC2 to PC1 for indicating R1 dyes;Configured on R2
ACL2, the service message for being sent to PC2 to PC1 for indicating R2 carry out quality testing.Default dyeing cycle is 1s, at whole moment second
Start dyeing cycle, R1 and R2 clocks are synchronous, and therefore, dyeing cycle is also synchronous.Point subsequently to be used is preset on R1 and R2
The quantity of boundary's service message is 2, and specifies and continuously demarcate service message with the first boundary service message sequence number for verification industry
Business message.
R1 is 8:30:10 (dyeing cycle that the time point starts is designated as into T1) start the business report to matching ACL1 strategies
Literary (PC1 is sent to PC2 service message) is dyed (to the 0th bit position 1 of the Flag fields in IP headings) and sent,
After dyeing and sending 1000 service messages (1000 service messages are completed to send within the preceding half cycle), stop
Dyeing.
R2 connects in dyeing cycle T1 to service message (PC1 is sent to PC2 service message) statistics of matching ACL2 strategies
The quantity of the colored packet received, it is assumed that the quantity of the colored packet received in T1 is 990.
Compared with R2 is by the quantity 990 and default dyeing counting position threshold value (it is assumed that dyeing counting position threshold value is 22), in T1
The quantity of the colored packet of statistics is far longer than dyeing counting position threshold value, accordingly, it is determined that current dyeing cycle T1 receive be
The colored packet for being used to detect packet loss that R1 is sent.
The quantity 1000 for the colored packet that R1 sends the T1 cycles is converted to corresponding binary number 1111101000, and this two
System number includes 10 binary digits, to being represented in requisition for 10 continuous service messages, in addition it is also necessary to determine 2 boundary
Service message.R1 is to next dyeing cycle (8:30:11 start dyeing cycles, be designated as T2) start time point start it is to be sent
10 service messages sort (test serial number 301~310) according to test serial number, establish binary digit pass corresponding with service message
System, as shown in Figure 3.In the start time point 8 in T2 cycles:30:The business report of serial number 301 corresponding to 11 pairs of highest binary digits
Text is dyed and sent, and then, value is dyed and sent for service message corresponding to 1 binary digit successively according to numeric order,
Value is not dyed for service message corresponding to 0 binary digit and directly transmitted;Complete to sequence number corresponding to minimum binary digit
After transmission for 310 service message, start to send 2 boundary service message (service messages and serial number of serial number 311
312 service message), wherein, the service message of serial number 312 is the first boundary service message, the service message of serial number 311
To verify service message, because the odd parity value of binary number is 1, therefore, R1 after verification service message dyeing to sending;Again will
Sent after first boundary service message dyeing, referring to Fig. 5.
R2 counts the quantity that the PC1 received is sent to PC2 colored packet, as shown in Figure 5, T2 weeks in dyeing cycle T2
Colored packet quantity is 8 in phase, and the quantity (8) is less than default dyeing counting position threshold value (22), accordingly, it is determined that in the T2 cycles
The colored packet received is intended to indicate that the colored packet for the colored packet quantity that R1 is sent within the T1 cycles.
R2 sorts to the service message received in the T2 cycles by test serial number, it is determined that positioned at first colored packet and finally
Service message between one colored packet is the service message for representing colored packet quantity, wherein, first colored packet
Test serial number be 301, the test serial number of last colored packet is 312.Because R2 and R1 follow identical service message
With the corresponding relation of binary digit, therefore, R2 can determine that the service message of serial number 301 corresponds to the highest binary system of binary number
Position, the service message of serial number 312 are the first boundary service message, further according to the quantity (2) of default boundary service message,
It can determine that the service message of serial number 310 corresponds to the minimum binary digit of binary number, the sequence number with the first boundary service message
The service message of continuous serial number 311 is verification service message.Then, the value of binary digit corresponding to colored packet is set
For 1, the value of binary digit is arranged to 0 corresponding to non-staining message, completes the reduction of binary number, to the binary number after reduction
Carrying out odd, (the verification service message of serial number 311 is colored packet, and corresponding check value is 1), if binary number passes through school
Test, then confirm when the binary number of pre reduction is correct.Using after reduction binary number (1111101000, corresponding decimal number
1000) subtract the quantity 990 for the colored packet that the T1 cycles receive, then divided by quantity 1000, obtain packet loss as 1%.
At the same time, R2 can be according to the time for the first colored packet that R1 transmissions are received in the T2 cycles (it is assumed that being 8:
30:15ms after 11) with the initial time (8 in T2 cycles:30:11, R1 send first colored packet at the time point), when determining
Prolong as 15ms.
Corresponding with the embodiment of aforementioned network quality determining method, present invention also offers network quality detection means
Embodiment.
The embodiment of inventive network quality detection device can be applied on outlet device.Device embodiment can pass through
Software is realized, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, anticipated as a logic
Device in justice, it is that corresponding computer program instructions are formed in the processor run memory by equipment where it.From
For hardware view, as shown in fig. 6, be a kind of hardware structure diagram of inventive network quality detection device place equipment, except
Outside processor and nonvolatile memory shown in Fig. 6, the equipment in embodiment where device is generally according to the equipment
Actual functional capability, other hardware can also be included, this is repeated no more.
Fig. 7 is refer to, is the structural representation of the network quality detection means in one embodiment of the invention.The network matter
Amount detecting device includes packet sending unit 701, binary system determining unit 702, message determining unit 703 and Message processing list
Member 704, wherein:
Packet sending unit 701, for sending colored packet in the first dyeing cycle;
Binary system determining unit 702, the quantity of the colored packet for determining to send in first dyeing cycle are corresponding
Binary number;
Message determining unit 703, for continuous second dyeing cycle of first dyeing cycle in, determine pending
Multiple continuous service message and predetermined number the boundary service messages sent, wherein, the multiple continuous service message is pressed
Sequence number sequence and each service message according to service message correspond to the bit in the binary number respectively, described pre-
If quantity boundary service message is outside the multiple continuous service message and entered with minimum the two of the binary number
The continuous service message of the sequence number of service message corresponding to position processed;
Message process unit 704, for value to be dyed and sent for service message corresponding to 1 binary digit, and
Sending value be 0 binary digit corresponding to service message, and to the predetermined number boundary service message in sequence number with it is described
The first boundary service message that the sequence number difference of service message corresponding to minimum binary digit is maximum is dyed and sent, so that
The outlet device determines according to the quantity of the described first boundary service message and the predetermined number boundary service message
The minimum binary digit of the binary number, and represented according to the multiple continuous service message of the sequence number of service message reduction
Binary number, according to the quantity of the binary number and the colored packet received in first dyeing cycle determine lose
Bag rate.
Further,
The packet sending unit 701, specifically for being sent within the preceding half cycle of first dyeing cycle
Colored packet.
Further, verification service message, the verification business report are included in the predetermined number boundary service message
Text is the specified boundary service message outside the described first boundary service message,
The message process unit 704, it is additionally operable to determine the check value of the binary number;When the check value is 1,
To the verification service message dyeing;When the check value is 0, forbid to the verification service message dyeing, so that outlet
Equipment is based on verification service message and the binary number is verified.
Further,
The message determining unit 702, it is pending specifically for will start in the start time point of second dyeing cycle
Multiple continuous service message and predetermined number the boundary service messages sent are defined as multiple continuous industry to be sent
Business message and predetermined number boundary service message, so that outlet device is according to the head received in second dyeing cycle
The start time point of the time of individual colored packet and the second dyeing cycle determines time delay.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.
Claims (8)
1. a kind of network quality detection method, applied to access device, the dyeing cycle of the outlet device and access device is same
Step, it is characterised in that methods described includes:
Colored packet is sent in the first dyeing cycle;
Determine binary number corresponding to the quantity of the colored packet of transmission in first dyeing cycle;
With continuous second dyeing cycle of first dyeing cycle in, determine multiple continuous service messages to be sent and
Predetermined number is demarcated service message, wherein, the multiple continuous service message is according to the sequence number sequence of service message and every
Individual service message corresponds to the bit in the binary number respectively, and the predetermined number boundary service message is institute
State the sequence number of the corresponding service message of outside multiple continuous service messages and with the binary number minimum binary digit
Continuous service message;
Value is dyed and sent for service message corresponding to 1 binary digit, and sending value is corresponding to 0 binary digit
Service message, and sequence number service message corresponding with the minimum binary digit in service message of demarcating to the predetermined number
Maximum the first boundary service message of sequence number difference dyed and sent so that the outlet device is according to described first point
The quantity of boundary's service message and the predetermined number boundary service message determines the minimum binary digit of the binary number,
And the binary number represented according to the multiple continuous service message of the sequence number of service message reduction, according to the binary number
And the quantity of the colored packet received in first dyeing cycle determines packet loss.
2. the method as described in claim 1, it is characterised in that it is described to send colored packet in the first dyeing cycle, including:
Colored packet is sent within the preceding half cycle of first dyeing cycle.
3. the method as described in claim 1, it is characterised in that include verification industry in the predetermined number boundary service message
Business message, the service message that verifies is the specified boundary service message outside the described first boundary service message, methods described
Also include:
Determine the check value of the binary number;
When the check value is 1, to the verification service message dyeing;When the check value is 0, forbid to the verification
Service message dyes, so that outlet device is based on verification service message and the binary number is verified.
4. the method as described in claim 1, it is characterised in that the multiple continuous service messages to be sent and pre- of determining
The service message if quantity is demarcated, including:
Multiple continuous service messages and predetermined number to be sent will be started in the start time point of second dyeing cycle
Individual boundary service message is defined as multiple continuous service message and predetermined number boundary service messages to be sent, with
Make outlet device according to time of the first colored packet received in second dyeing cycle and the second dyeing cycle
Start time point determines time delay.
5. a kind of network quality detection means, applied to access device, the dyeing cycle of the outlet device and access device is same
Step, it is characterised in that described device includes:
Packet sending unit, for sending colored packet in the first dyeing cycle;
Binary system determining unit, for binary system corresponding to the quantity for the colored packet for determining to send in first dyeing cycle
Number;
Message determining unit, for continuous second dyeing cycle of first dyeing cycle in, determine to be sent more
Individual continuous service message and predetermined number boundary service message, wherein, the multiple continuous service message is according to business
The sequence number sequence of message and each service message correspond to the bit in the binary number, the predetermined number respectively
Individual boundary service message is outside the multiple continuous service message and minimum binary digit pair with the binary number
The continuous service message of sequence number for the service message answered;
Message process unit, for value to be dyed and sent for service message corresponding to 1 binary digit, and sending value is
Service message corresponding to 0 binary digit, and sequence number is entered with described minimum two in service message of demarcating to the predetermined number
The first boundary service message that the sequence number difference of service message corresponding to position processed is maximum is dyed and sent, so that the outlet
Equipment determines that described two enter according to the quantity of the described first boundary service message and the predetermined number boundary service message
The minimum binary digit of number processed, and the binary system represented according to the multiple continuous service message of the sequence number of service message reduction
Number, packet loss is determined according to the quantity of the binary number and the colored packet received in first dyeing cycle.
6. device as claimed in claim 5, it is characterised in that:
The packet sending unit, specifically for sending dyeing report within the preceding half cycle of first dyeing cycle
Text.
7. device as claimed in claim 5, it is characterised in that include verification industry in the predetermined number boundary service message
Business message, the verification service message are the specified boundary service message outside the described first boundary service message,
The message process unit, it is additionally operable to determine the check value of the binary number;When the check value is 1, to described
Verify service message dyeing;When the check value is 0, forbid to the verification service message dyeing, so that outlet device base
The binary number is verified in verification service message.
8. device as claimed in claim 5, it is characterised in that:
The message determining unit, it is to be sent multiple specifically for will start in the start time point of second dyeing cycle
Continuous service message and predetermined number boundary service message be defined as multiple continuous service messages to be sent with
Predetermined number boundary service message, so that outlet device is according to the first dyeing report received in second dyeing cycle
The time of text and the start time point of the second dyeing cycle determine time delay.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710457972.7A CN107547300B (en) | 2017-06-16 | 2017-06-16 | Network quality detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710457972.7A CN107547300B (en) | 2017-06-16 | 2017-06-16 | Network quality detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107547300A true CN107547300A (en) | 2018-01-05 |
CN107547300B CN107547300B (en) | 2020-05-12 |
Family
ID=60970912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710457972.7A Active CN107547300B (en) | 2017-06-16 | 2017-06-16 | Network quality detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107547300B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112039724A (en) * | 2020-08-17 | 2020-12-04 | 鹏城实验室 | Network packet loss detection method, device, storage medium and network system |
CN112291093A (en) * | 2020-10-29 | 2021-01-29 | 迈普通信技术股份有限公司 | Network detection method, device, network equipment and network system |
CN112702218A (en) * | 2019-10-22 | 2021-04-23 | 中兴通讯股份有限公司 | Method, system, network device and storage medium for detecting data transmission quality |
CN112866042A (en) * | 2019-11-12 | 2021-05-28 | 中兴通讯股份有限公司 | Network quality detection method and device, computer equipment and computer readable medium |
CN113067740A (en) * | 2020-01-02 | 2021-07-02 | 中国移动通信有限公司研究院 | Channel associated performance detection method, device, equipment and computer readable storage medium |
WO2022111651A1 (en) * | 2020-11-27 | 2022-06-02 | 中兴通讯股份有限公司 | Pre-activation detection method, electronic device and computer-readable storage medium |
CN114629679A (en) * | 2022-01-26 | 2022-06-14 | 深圳市风云实业有限公司 | Data message dyeing and detecting method and device |
WO2023280107A1 (en) * | 2021-07-06 | 2023-01-12 | 华为技术有限公司 | Data transmission quality detection method, and related device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1048110A (en) * | 1989-06-13 | 1990-12-26 | 迈克尔·H·弗朗西斯科 | Come the method for data integrity in the maintenance information transmission by the mark that produces the sum of representing data binary one and 0 |
US6188674B1 (en) * | 1998-02-17 | 2001-02-13 | Xiaoqiang Chen | Method and apparatus for packet loss measurement in packet networks |
US20090161541A1 (en) * | 2007-12-24 | 2009-06-25 | Telefonaktiebolaget Lm Ericsson (Publ) | Resource allocation plan in a network |
CN101599870A (en) * | 2009-06-30 | 2009-12-09 | 西北工业大学 | Network link performance measurement method |
CN105591835A (en) * | 2015-08-12 | 2016-05-18 | 杭州华三通信技术有限公司 | Link quality detection method and device |
CN105765911A (en) * | 2014-09-30 | 2016-07-13 | 华为技术有限公司 | Device and method for measuring network packet loss |
-
2017
- 2017-06-16 CN CN201710457972.7A patent/CN107547300B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1048110A (en) * | 1989-06-13 | 1990-12-26 | 迈克尔·H·弗朗西斯科 | Come the method for data integrity in the maintenance information transmission by the mark that produces the sum of representing data binary one and 0 |
US6188674B1 (en) * | 1998-02-17 | 2001-02-13 | Xiaoqiang Chen | Method and apparatus for packet loss measurement in packet networks |
US20090161541A1 (en) * | 2007-12-24 | 2009-06-25 | Telefonaktiebolaget Lm Ericsson (Publ) | Resource allocation plan in a network |
CN101599870A (en) * | 2009-06-30 | 2009-12-09 | 西北工业大学 | Network link performance measurement method |
CN105765911A (en) * | 2014-09-30 | 2016-07-13 | 华为技术有限公司 | Device and method for measuring network packet loss |
CN105591835A (en) * | 2015-08-12 | 2016-05-18 | 杭州华三通信技术有限公司 | Link quality detection method and device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702218A (en) * | 2019-10-22 | 2021-04-23 | 中兴通讯股份有限公司 | Method, system, network device and storage medium for detecting data transmission quality |
CN112866042B (en) * | 2019-11-12 | 2023-07-18 | 中兴通讯股份有限公司 | Network quality detection method, device, computer equipment and computer readable medium |
CN112866042A (en) * | 2019-11-12 | 2021-05-28 | 中兴通讯股份有限公司 | Network quality detection method and device, computer equipment and computer readable medium |
CN113067740B (en) * | 2020-01-02 | 2023-09-05 | 中国移动通信有限公司研究院 | Method, device, equipment and computer readable storage medium for detecting following path performance |
CN113067740A (en) * | 2020-01-02 | 2021-07-02 | 中国移动通信有限公司研究院 | Channel associated performance detection method, device, equipment and computer readable storage medium |
WO2022037206A1 (en) * | 2020-08-17 | 2022-02-24 | 鹏城实验室 | Network packet loss detection method and apparatus, storage medium, and network system |
CN112039724A (en) * | 2020-08-17 | 2020-12-04 | 鹏城实验室 | Network packet loss detection method, device, storage medium and network system |
CN112039724B (en) * | 2020-08-17 | 2021-09-28 | 鹏城实验室 | Network packet loss detection method, device, storage medium and network system |
CN112291093A (en) * | 2020-10-29 | 2021-01-29 | 迈普通信技术股份有限公司 | Network detection method, device, network equipment and network system |
WO2022111651A1 (en) * | 2020-11-27 | 2022-06-02 | 中兴通讯股份有限公司 | Pre-activation detection method, electronic device and computer-readable storage medium |
WO2023280107A1 (en) * | 2021-07-06 | 2023-01-12 | 华为技术有限公司 | Data transmission quality detection method, and related device |
CN114629679A (en) * | 2022-01-26 | 2022-06-14 | 深圳市风云实业有限公司 | Data message dyeing and detecting method and device |
CN114629679B (en) * | 2022-01-26 | 2024-02-13 | 深圳市风云实业有限公司 | Data message dyeing and detecting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107547300B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107547300A (en) | A kind of network quality detection method and device | |
CN104184617B (en) | InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment | |
CN100403736C (en) | Message serial number inspection and inspector with multi-unit transmission | |
CN107153565A (en) | Configure the method and its network equipment of resource | |
CN110324210A (en) | The detection method and device of private communication channel communication are carried out based on ICMP agreement | |
CN102404166A (en) | Packet loss detecting method and system as well as transmitting equipment and receiving equipment | |
CN106528418A (en) | Test method and device | |
CN103490909B (en) | Charge processing method and device | |
CN104836743A (en) | Congestion control method and device | |
CN106341338A (en) | Message forwarding method and apparatus thereof | |
CN111092782B (en) | Tested communication equipment, communication equipment port data forwarding test system and method | |
CN105141637A (en) | Transmission encryption method taking flows as granularity | |
CN106357726A (en) | Load balancing method and device | |
CN110400217A (en) | The regular changing process method and device of intelligent contract | |
CN108092922B (en) | Method and device for transmitting message by interface board | |
CN109639535A (en) | A kind of routing relation detection method and device | |
CN109391968A (en) | Communication means and communication device | |
CN106452894B (en) | Failure connecting detection method and apparatus | |
CN110233779B (en) | Test method, test system and computer readable storage medium | |
CN107294814A (en) | The method of testing and device of a kind of network-on-chip | |
CN111010343A (en) | Method, device, network equipment and storage medium for forwarding multicast message | |
CN109327400A (en) | A kind of data communications method and data communication network | |
CN109005122A (en) | File transmitting method, device and the network equipment | |
CN111224773A (en) | Quantum key management equipment | |
CN115801689A (en) | SrTCM-based flow token bucket testing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |