CN108400900A - Packet check, configuration, forwarding, statistical method and equipment, controller and system - Google Patents
Packet check, configuration, forwarding, statistical method and equipment, controller and system Download PDFInfo
- Publication number
- CN108400900A CN108400900A CN201710066221.2A CN201710066221A CN108400900A CN 108400900 A CN108400900 A CN 108400900A CN 201710066221 A CN201710066221 A CN 201710066221A CN 108400900 A CN108400900 A CN 108400900A
- Authority
- CN
- China
- Prior art keywords
- message
- detection messages
- equipment
- packet
- messages
- 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
- 238000007619 statistical method Methods 0.000 title abstract 2
- 238000001514 detection method Methods 0.000 abstract 9
- 238000000034 method Methods 0.000 abstract 3
- 230000005540 biological transmission Effects 0.000 abstract 2
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of packet check of offer of the embodiment of the present invention, configuration, forwarding, statistical method and equipment, controller and system;Equipment is configured by packet check and constructs detection messages, and issuing detection messages to packet check controller issues quantity n and detection messages mark, and each message forwarding equipment transmission message copy rule in detection messages transmission path;Message forwarding equipment replicates the message received and is sent to packet check controller;Packet check controller divides detection messages and service message by detection messages tag slot, and counts the detection messages quantity for the duplication that each message forwarding equipment is sent to, and judges that quantity issues the message forwarding equipment of quantity n as packet loss forwarding unit less than detection messages;It avoids and carries out cumbersome end-to-end ping operating process, and the identification process of detection messages and statistic processes are become to be handled by packet check controller, the processing load of message forwarding equipment is advantageously reduced, to improve the forward efficiency of message forwarding equipment.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of packet check, configuration, forwarding, statistical method and equipment,
Controller and system.
Background technology
Data are transmitted in the form of data packet in a communication network, in data transmission procedure, for various reasons,
Such as signal decaying, network quality decline etc. can cause the loss of data packet, that is, finally received in message transmissions path
To message amount be less than the message amount that is originally sent, such case is packet loss.When packet loss phenomenon occurs in network, will lead
Phenomena such as transmission of cause data is imperfect, and data transmission is overtime, has seriously affected network communication quality.
SDN (software defined network, Software Defined Network), is a kind of emerging network based on software
Framework and technology, are a kind of realization methods of network virtualization, and the core concept of SDN is the control forwarded the packet in equipment
It separates, by the controller management concentrated, message forwarding equipment is only responsible for the forwarding of service message, to realize control plane
With the separation of forwarding surface.It controls face entity and various forwarding logics is realized using OpenFlow protocol integrated test system forwarding surface equipment, and turn
Fermentation equipment major function is exactly to execute controlled forwarding according to the flow table that OpenFlow controllers issue, and behavior is standardization
's:A message is received, its head related words segment value is taken out, to search flow table, after being matched to a list item, according in flow table
Instruction set handles message.
With the extensive use of SDN, the appearance of network virtualization and stacking network so that network topology structure is more multiple
It is miscellaneous, if network management personnel will position the bigger that the position difficulty of the packet loss node in SDN network becomes.
When packet drop occurs in network, traditional method for detecting packet loss is turned from source messages forwarding unit to purpose message
Send out equipment send ping orders, according to the response message of ping orders come determine whether generation packet loss, cannot but position it is specific where
Packet loss has occurred in a little message forwarding equipments.Know the packet drop of specific message forwarding equipment to solving network failure and bottleneck chain
Road is extremely important, and existing solution is:
The route topological of network is obtained by tool, and ping behaviour then is executed to each message forwarding equipment in topology
Make, refer to Fig. 1, such as message transmissions path includes two message forwarding equipments (sw1, sw2), source messages forwarding unit (SH)
With purpose message forwarding equipment (DH).By sending ping orders to sw1, according to the response message of the ping orders of sw1 come really
Determine whether sw1 occurs packet loss;By sending ping orders to sw2, sw2 is determined according to the response message of the ping orders of sw2
Whether packet loss is occurred;By sending ping orders to DH, determine whether DH occurs according to the response message of the ping orders of DH
Packet loss;To be inferred to specific packet loss forwarding unit.But there are the following problems for this mode:
A, the unstability of network topology itself, the packet loss error led to the inference that are larger;
B, it to determine packet loss forwarding unit, need to carry out a large amount of end-to-end ping operations, it is comparatively laborious.
Invention content
A kind of packet check, configuration, forwarding, statistical method and equipment provided in an embodiment of the present invention, controller and system,
Mainly technical problems to be solved are:It is existing in the specific packet loss forwarding unit of determination, need to carry out a large amount of end-to-end
Ping is operated, and process is cumbersome and error is larger.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of packet check configuration equipment, including:
Message structural unit identifies in detection messages comprising detection messages for constructing detection messages;
Dispensing unit, for issuing quantity n and being sent to packet check controller detection messages mark and detection messages,
And each message forwarding equipment in detection messages transmission path sends message copy rule;
Issuance unit, n detection messages are issued for the source messages forwarding unit in transmission path, and the n is more than etc.
In 1.
The embodiment of the present invention also provides a kind of message forwarding equipment, including:
First configuration receiving unit, for receiving the message copy rule for configuring equipment from packet check;
Message receiving unit, for receiving message;
Processing unit, for judging whether message forwarding equipment is source messages forwarding unit on message transmissions path, with
And for judging whether message forwarding equipment is purpose message forwarding equipment on message transmissions path;
Message copied cells, for when it is source messages forwarding unit that processing unit, which judges message forwarding equipment not, according to
Message copy rule, which is replicated the message to obtain copy packet, issues packet check controller;
Message retransmission unit, for when it is purpose message forwarding equipment that processing unit, which judges message forwarding equipment not, root
Next message forwarding equipment is forwarded the message to according to message forwarding flow table.
The embodiment of the present invention also provides a kind of packet check controller, including:
Second configuration receiving unit, for receiving the detection messages mark and detection report that configure equipment from packet check
Text issues quantity n;
Copy packet receiving unit, for receiving the copy packet from each message forwarding equipment;
Statistic unit, for being counted in the copy packet that each message forwarding equipment is sent as detection according to detection messages mark
The quantity of message;
Judging unit, the detection report for after detection, each message forwarding equipment of statistic unit statistics to be sent
Literary quantity issues quantity n with detection messages and is compared respectively, judges that sending message of the detection messages quantity less than the n forwards
Equipment is packet loss forwarding unit.
The embodiment of the present invention also provides a kind of packet check system, including packet check configuration equipment, packet check control
Device and multiple message forwarding equipments;
Detection messages in detection messages are identified for constructing detection messages and detection are reported by packet check configuration equipment
Text issues quantity n and is sent to packet check controller, and each message forwarding equipment in detection messages transmission path sends report
Literary copy rule;And issue n detection messages of institute for the source messages forwarding unit in transmission path, the n is more than etc.
In 1;
It is multiple according to message when message forwarding equipment for after receiving message, judging itself is not source messages forwarding unit
System rule, which is replicated the message to obtain copy packet, issues packet check controller;And for being purpose judging itself not
When message forwarding equipment, flow table is forwarded to forward the message to next message forwarding equipment according to message;
Packet check controller is identified according to detection messages and is united for receiving the copy packet from each message forwarding equipment
Count the quantity for detection messages in the copy packet that each message forwarding equipment is sent;And for after detection, will count
The detection messages quantity that sends of each message forwarding equipment quantity n issued with detection messages be respectively compared, judge to send inspection
It is packet loss forwarding unit to survey message forwarding equipment of the message amount less than the n.
The embodiment of the present invention also provides a kind of packet check configuration method, including:
Detection messages are constructed, are identified comprising detection messages in detection messages;
Detection messages mark and detection messages are issued into quantity n and are sent to packet check controller, and to detection messages
Each message forwarding equipment in transmission path sends message copy rule;
Source messages forwarding unit in transmission path issues n detection messages, and the n is more than or equal to 1.
The embodiment of the present invention also provides a kind of message forwarding method, including:
Message forwarding equipment receives message;
When to judge message forwarding equipment not be the source messages forwarding unit on message transmissions path, according to being examined in advance from message
It is measured to set the message copy rule of acquisition and replicated the message to obtain copy packet and issues packet check controller;
When to judge message forwarding equipment not be the purpose message forwarding equipment on message transmissions path, according to message forwarding flow
Table forwards the message to next message forwarding equipment.
The embodiment of the present invention also provides a kind of packet check statistical method, including:
Receive the copy packet from each message forwarding equipment;
Count what each message forwarding equipment was sent according to the detection messages mark obtained in advance from packet check configuration equipment
It is the quantity of detection messages in copy packet;
After detection, detection messages quantity that each message forwarding equipment of statistics is sent respectively in advance from message
The detection messages that detection configuration equipment obtains issue quantity n and are compared, and judge to send the report that detection messages quantity is less than the n
Literary forwarding unit is packet loss forwarding unit.
The embodiment of the present invention also provides a kind of message detecting method, including:
Construct detection messages;
Detection messages in detection messages are identified and detection messages issue quantity n and are sent to packet check controller,
And each message forwarding equipment in detection messages transmission path sends message copy rule;
Source messages forwarding unit in transmission path issues n detection messages of institute, and the n is more than or equal to 1;
Message forwarding equipment receives message, will according to message copy rule when to judge itself not be source messages forwarding unit
Message, which is replicated to obtain copy packet, issues packet check controller;And it is purpose message forwarding equipment to judge itself not
When, forward flow table to forward the message to next message forwarding equipment according to message;
Packet check controller receives the copy packet from each message forwarding equipment, each according to detection messages mark statistics
It is the quantity of detection messages in the copy packet that message forwarding equipment is sent;And after detection, by each message of statistics
The detection messages quantity that forwarding unit is sent issues quantity n with detection messages and is compared respectively, judges to send detection messages number
Message forwarding equipment of the amount less than n is packet loss forwarding unit.
The embodiment of the present invention also provides a kind of computer storage media, and computer is stored in the computer storage media
Executable instruction, the computer executable instructions are used to execute packet check configuration method any one of above-mentioned, message turns
Forwarding method, packet check statistical method, message detecting method.
Packet check, configuration, forwarding, statistical method and equipment, controller and the system provided according to embodiments of the present invention
And computer storage media, by constructing detection messages;It will be under the detection messages mark and detection messages in detection messages
Hair quantity n is sent to packet check controller, and each message forwarding equipment in detection messages transmission path sends message and answers
System rule;Source messages forwarding unit in transmission path issues n detection messages of institute, and the n is more than or equal to 1;Message forwards
Equipment receives message, when to judge itself not be source messages forwarding unit, is replicated to obtain by message according to message copy rule
Copy packet issues packet check controller;And when to judge itself not be purpose message forwarding equipment, according to message forwarding flow
Table forwards the message to next message forwarding equipment;Packet check controller receives the duplication report from each message forwarding equipment
Text counts the quantity in the copy packet that each message forwarding equipment is sent for detection messages according to detection messages mark;And
After detection, by the detection messages quantity that each message forwarding equipment of statistics is sent issued respectively with detection messages quantity n into
Row compares, and judges to send message forwarding equipment of the detection messages quantity less than the n for packet loss forwarding unit.It is lost being accurately positioned
During the specific message forwarding equipment of packet, it is possible to prevente effectively from carrying out cumbersome end-to-end ping operating process, improve
It determines the efficiency and accuracy rate of specific packet loss forwarding unit, and the identification process of detection messages and statistic processes is become by message
Controller processing is detected, message forwarding equipment is responsible for the forwarding of message, forwarded in message to reduce message forwarding equipment
Processing load in journey improves the forward efficiency of message forwarding equipment.
Description of the drawings
Fig. 1 is message forwarding system structural schematic diagram;
Fig. 2 is that the packet check of the embodiment of the present invention one configures the structural schematic diagram of equipment;
Fig. 3 is the structural schematic diagram of the message forwarding equipment of the embodiment of the present invention two;
Fig. 4 is the structural schematic diagram of the packet check controller of the embodiment of the present invention three;
Fig. 5 is the structural schematic diagram of the packet check system of the embodiment of the present invention four;
Fig. 6 is the flow diagram of the packet check configuration method of the embodiment of the present invention five.
Specific implementation mode
The embodiment of the present invention is described in further detail below by specific implementation mode combination attached drawing.
Embodiment one:
In being accurately positioned network in the specific message forwarding equipment of packet loss, turn in message to reduce message forwarding equipment
The identification process of detection messages and statistic processes are become to be handled by controller by the processing load during hair, are improved message and are turned
The forward efficiency of equipment is sent out, the embodiment of the present invention provides a kind of packet check configuration equipment 1, refers to Fig. 2, and Fig. 2 is the present invention
The structural schematic diagram of the packet check configuration equipment of embodiment one, including message structural unit 11, dispensing unit 12 and issue
Unit 13:
Wherein, message structural unit 11 identifies in detection messages comprising detection messages for constructing detection messages.It should
Understand, construction detection messages can declare information by obtaining, and generate and declare the compatible inspection of information with the failure
Observe and predict text, by detection messages corresponding message transmissions path transmission situation come detection messages transmission path in each message forward
The packet drop of equipment.
It identifies, is used for it should be understood that the detection messages that message structural unit 11 is constructed should include detection messages
Differentiated service message.For example, detection messages mark can be detection characteristic value.
Dispensing unit 12, for issuing quantity n and being sent to packet check control detection messages mark and detection messages
Device, and each message forwarding equipment in the detection messages transmission path sends message copy rule;
After detection messages are successfully constructed by packet check configuration equipment 1 by message structural unit 11, dispensing unit 12
Detection messages are issued into quantity n and are sent to packet check controller, the detection messages quantity n issued should be more than or equal to 1, such as
It can be 10,100.
It should be understood that dispensing unit 12 is additionally operable to the transmission of each message forwarding equipment in detection messages transmission path
Message copy rule, wherein source messages forwarding unit and purpose message forwarding equipment are included at least in each message forwarding equipment, when
Should also include to remove source messages forwarding unit and purpose message when message forwarding equipment in detection messages transmission path is more than 2
Message forwarding equipment outside forwarding unit.Corresponding each message forwarding equipment can will be received according to the message copy rule
Message replicated, and copy packet is sent to packet check controller.So as to forward the packet implementation difference inspection
It observes and predicts text and service message and the process of detection messages quantity that statistics receives gives packet check controller to complete,
The processing task for advantageously reducing message forwarding equipment, so as to improve its message forward efficiency.
It should be understood that message forwarding equipment is for the message received, either detection messages or service message,
Message forwarding equipment can all replicate the message received according to message copy rule, distinguish detection messages or business report
Text is handled by packet check controller.
In the present embodiment, access control list (ACL) regulations (ACL, Access Control may be used in message copy rule
Lists)。
It further includes issuance unit 13 that packet check, which configures equipment 1, under the source messages forwarding unit in transmission path
N detection messages are sent out, the n is more than or equal to 1.
It should be understood that when issuance unit 13 issues detection messages to source messages forwarding unit, it can be according to corresponding
Rule is issued to be sent, such as can periodically issue (for example at interval of 1 second a detection was issued to packet check controller
Message).
It should be understood that packet check configuration equipment 1 provided in this embodiment is particularly suitable for SDN network, but not
It is limited to SDN network.
The embodiment of the present invention provide a kind of packet check configure equipment 1, including message structural unit 11, dispensing unit 12 with
And issuance unit 13;Detection messages are constructed by message structural unit 11, are identified comprising detection messages in detection messages;Configuration is single
Member 12 identifies detection messages and detection messages issue quantity n and are sent to packet check controller, and is transmitted to detection messages
Each message forwarding equipment on path sends message copy rule;Issuance unit 13 turns for the source messages in transmission path
Hair equipment issues n detection messages, and the n is more than or equal to 1;Each message forwarding equipment in transmission path receives message, and root
The message received is replicated according to message copy rule, and the message of duplication is sent to packet check controller, message
Detecting controller, which is detection messages according to the difference of packet check mark, and counts the detection report that each message forwarding equipment is sent
Literary quantity is less than the detection messages quantity that message forwarding equipment is sent the message forwarding equipment of n, then is determined as that packet loss forwards
Equipment;And the packet loss quantity of each message forwarding equipment on packet check path can also be counted by packet check controller
Out;It is possible to prevente effectively from carrying out cumbersome end-to-end ping operating process, and effectively increases and determine that specific packet loss turns
The efficiency and accuracy rate of equipment are sent out, and the identification process of detection messages and statistic processes are become by packet check controller
Reason, message forwarding equipment are responsible for the forwarding of message, advantageously reduce the processing load of message forwarding equipment, turn to improve message
The forward efficiency of equipment is sent out, communication quality is improved.
Embodiment two:
The embodiment of the present invention provides a kind of message forwarding equipment 2, refers to Fig. 3, and Fig. 3 is the message of the embodiment of the present invention two
The structural schematic diagram of forwarding unit, including the first configuration receiving unit 21, message receiving unit 22, processing unit 23, message are multiple
Unit 24 and message retransmission unit 25 processed:
Wherein, the first configuration receiving unit 21, for receiving the message copy rule for configuring equipment from packet check;
In the present embodiment, access control list (ACL) regulations (ACL) may be used in message copy rule.
Message forwarding equipment 2 further includes message receiving unit 22, for receiving message;
It should be understood that the message that message receiving unit 22 receives can be detection messages, can also be service message.
Detection messages and service message can be identified by detection messages to be distinguished, such as can be configured equipment by packet check and be matched
Detection characteristic value is set to distinguish.But message receiving unit 22 can't be detected detection messages and service message, to
The processing load in its message repeating process can be reduced, its forward efficiency is improved.
Processing unit 23, for judging whether message forwarding equipment 2 is source messages forwarding unit on message transmissions path,
And for judging whether message forwarding equipment is purpose message forwarding equipment on message transmissions path;
It should be understood that processing unit 23 judges whether message forwarding equipment is that source messages on message transmissions path turn
Equipment or purpose message forwarding equipment are sent out, flow table can be forwarded to determine whether on message transmissions path according to the message of acquisition
Source messages forwarding unit or purpose message forwarding equipment.
Message copied cells 24, for when it is source messages forwarding unit that processing unit 23, which judges message forwarding equipment not,
It is replicated the message to obtain copy packet according to message copy rule and issues packet check controller;
Message forwarding equipment 2 receives message by message receiving unit 22, when processing unit 23 judges message forwarding equipment 2
When not being source messages forwarding unit, according to the first message copy rule for receiving of configuration receiving unit 21 to the message that receives
It is replicated, and obtained copy packet is sent to packet check controller.
It should be understood that when processing unit 23 judges that current message forwarding unit is the source messages on message transmissions path
When forwarding unit, message copied cells 24 will not do replication processes, but the report that will directly be received by message retransmission unit 25
Text is transmitted to corresponding next message forwarding equipment.
Message retransmission unit 25 is purpose message forwarding equipment for judging message forwarding equipment not in processing unit 23
When, forward flow table that the message is transmitted to next message forwarding equipment according to message.
It should be understood that when processing unit 23 judges that current message forwarding unit is purpose message forwarding equipment, report
Literary retransmission unit 25 will not send the message received, and the message transmission procedure terminates at this time.
It should be understood that in message transmissions path, it should include at least two message forwarding equipments 2.Work as message transmissions
In path only there are two message forwarding equipment 2 when, then first message forwarding equipment for receiving message be source messages forwarding
Equipment after source messages forwarding unit receives message, forwards flow table to judge itself for source messages forwarding unit according to message first,
So the source messages forwarding unit will not replicate the message received, but directly forward the report that flow table will receive according to message
Text is sent to next message forwarding equipment, that is, purpose message forwarding equipment;Purpose message forwarding equipment is received by source messages
The message that forwarding unit is sent, and itself is judged not for source messages forwarding unit, so needing to be answered the message received
System replicates the message that can be carried out according to the message copy rule received from packet check configuration equipment, and duplication is obtained
It is sent to packet check controller, meanwhile, itself is judged for purpose message forwarding equipment, so the message forwarding process terminates,
No longer the message is sent.It should be understood that the detection messages that packet check configuration equipment is sent may be multiple, until
It is one few.When to be multiple, packet check configures equipment and can periodically repeat to send, and correspondingly, message forwarding equipment will also be held
The corresponding process of continuous execution, after detection, packet check controller counts each report in the detection messages transmission path
The detection messages quantity that literary forwarding unit is sent, and the detection messages sent with packet check configuration equipment issue quantity n and carry out
Compare, if it is less than n, then judges the message forwarding equipment for packet loss forwarding unit.
The embodiment of the present invention provides a kind of message forwarding equipment 2, is received by the first configuration receiving unit 21 and comes from message
The message copy rule of detection configuration equipment;Message receiving unit 22, for receiving message;Processing unit 23, for judging report
Whether literary forwarding unit 2 is source messages forwarding unit on message transmissions path, and for whether judging message forwarding equipment
For the purpose message forwarding equipment on message transmissions path;Message copied cells 24, for judging that message turns in processing unit 23
Equipment 2 is sent out when not being source messages forwarding unit, is replicated the message to obtain copy packet according to message copy rule and issues report
Text detection controller;Message retransmission unit 25 is the forwarding of purpose message for judging message forwarding equipment not in processing unit 23
When equipment, forward flow table that the message is transmitted to next message forwarding equipment according to message.After detection, packet check
The detection messages quantity that each message forwarding equipment on controller statistic mixed-state message transmissions path is sent to is tied according to statistics
Which message forwarding equipment fruit judges for packet loss forwarding unit;It was operated it is possible to prevente effectively from carrying out cumbersome end-to-end ping
Journey, and effectively increase the efficiency and accuracy rate for determining specific packet loss forwarding unit, and by the identification process of detection messages and
Statistic processes becomes to be handled by packet check controller, and message forwarding equipment 2 is responsible for the forwarding of message, advantageously reduces message and turns
The processing load for sending out equipment 2 improves communication quality to improve the forward efficiency of message forwarding equipment 2.
Embodiment three:
The embodiment of the present invention provides a kind of packet check controller 3, refers to Fig. 4, and Fig. 4 is the report of the embodiment of the present invention three
The structural schematic diagram of text detection controller, including the second configuration receiving unit 31, copy packet receiving unit 32, statistic unit 33
And judging unit 34:
Wherein, second configuration receiving unit 31, for receives from packet check configure equipment detection messages mark with
And detection messages issue quantity n;
Copy packet receiving unit 32, for receiving the copy packet from each message forwarding equipment;
It should be understood that should include detection messages and service message in copy packet.
Statistic unit 33, for being counted in the copy packet that each message forwarding equipment is sent as inspection according to detection messages mark
Observe and predict the quantity of text;
It should be understood that statistic unit 33 can be detected the message received, for example, to the message received
Packet check mark matched with the detection messages mark for configuring equipment from packet check, for matching the message that is consistent
Then it is determined as detection messages;And the detection messages quantity sent to each message forwarding equipment counts respectively, for example, working as message
Detection controller 3 receive from packet check configuration equipment issue detection messages mark and detection messages issue quantity n when,
(message forwarding equipment A, message forwarding equipment B, report are exemplified as here to each message forwarding equipment in detection messages transmission path
Literary forwarding unit C) to packet check controller 3 (itself) send detection messages quantity be initialized as 0, as shown in table 1:
Table 1
| Message forwarding equipment title | The detection messages quantity of transmission |
| Message forwarding equipment A | 0 |
| Message forwarding equipment B | 0 |
| Message forwarding equipment C | 0 |
When receiving the detection messages sent by message forwarding equipment A, forward the packet what device A was sent to
Detection messages quantity adds 1, when receiving the detection messages sent by message forwarding equipment A again, then adds 1, this Times
The detection messages quantity that literary forwarding unit A is sent to packet check controller 3 (itself) is 2, as shown in table 2:
Table 2
It should be understood that equally can be according to above-mentioned statistics side for message forwarding equipment B and message forwarding equipment C
Method is counted.To which statistic unit 33 can count in the copy packet that each message forwarding equipment is sent as detection messages
Quantity.
Packet check controller 3 further includes judging unit 34, for after detection, statistic unit 33 to be counted each
The detection messages quantity that message forwarding equipment is sent issues quantity n with detection messages and is compared respectively, judges to send detection report
Message forwarding equipment of the literary quantity less than n is packet loss forwarding unit.
It should be understood that whether the forwarding of detection messages terminates, the inspection that equipment issues can be configured according to packet check
It surveys message amount and issues rule and flexibly determine, such as it is 100 that packet check configuration equipment, which needs the detection messages quantity issued,
It is a, it issues rule and issues a detection messages to be per second, do not consider that network delay and other factors influence, then at least need 100
The time of second judges that detection messages forwarding terminates it is possible to after 105 seconds.Statistic unit 33 counts each message forwarding equipment
Which message forwarding equipment the detection messages quantity of transmission, judging unit 34 judge to lose according to the statistical result of statistic unit 33
Packet forwarding unit.
It should be understood that counting the detection messages quantity of each message forwarding equipment transmission and judging that packet loss forwarding is set
After standby, packet check controller 3 can also delete current detection messages mark and statistical result, in order to receive next time
Other detection messages mark and statistic mixed-state message amount.
The embodiment of the present invention provides a kind of packet check controller 3, is received from report by the second configuration receiving unit 31
The detection messages mark and detection messages of text detection configuration equipment issue quantity n;Copy packet receiving unit 32, for receiving
Copy packet from each message forwarding equipment;Statistic unit 33 is set for counting each message forwarding according to detection messages mark
It is the quantity of detection messages in the copy packet that preparation is sent;Judging unit 34, for after detection, statistic unit to be counted
The detection messages quantity that sends of each message forwarding equipment issue quantity n with the detection messages respectively and be compared, judge to send out
It is packet loss forwarding unit to send message forwarding equipment of the detection messages quantity less than the n;In positioning message forwarding equipment which
During for packet loss forwarding unit, effectively prevents carrying out cumbersome end-to-end ping operating process, improve determining tool
The efficiency and accuracy rate of body packet loss forwarding unit, and the identification process of detection messages and statistic processes are become by packet check control
Device 3 processed is handled, and message forwarding equipment is responsible for the forwarding of message, advantageously reduces the processing load of message forwarding equipment, to carry
The forward efficiency of high message forwarding equipment improves communication quality.
Example IV:
The embodiment of the present invention provides a kind of packet check system, refers to Fig. 5, and Fig. 5 is the message of the embodiment of the present invention four
Multiple messages in packet check configuration equipment 1, embodiment two in the structural schematic diagram of detecting system, including embodiment one turn
Send out equipment 2 (such as including source messages forwarding unit 2i, message forwarding equipment 2j, purpose message forwarding equipment 2k) and embodiment
Packet check controller 3 in three.
Equipment 1 is configured by packet check and constructs detection messages, and the detection messages in detection messages are identified and detected
Message issues quantity n and is sent to packet check controller 3, and each message forwarding equipment 2 in detection messages transmission path is sent out
It delivers newspaper literary copy rule;And the institute n detection messages are issued for the source messages forwarding unit in transmission path, it is described
N is more than or equal to 1;
It is multiple according to message when message forwarding equipment 2 for after receiving message, judging itself is not source messages forwarding unit
System rule, which is replicated the message to obtain copy packet, issues packet check controller 3;And for being mesh judging itself not
Message forwarding equipment when, according to message forward flow table forward the message to next message forwarding equipment;
Packet check controller 3 is identified for receiving the copy packet from each message forwarding equipment according to detection messages
Count the quantity for detection messages in the copy packet that each message forwarding equipment is sent;And for after detection, will unite
The detection messages quantity that each message forwarding equipment of meter is sent issues quantity n with detection messages and is compared respectively, judges to send
Message forwarding equipment of the detection messages quantity less than the n is packet loss forwarding unit.
During which is packet loss forwarding unit in positioning message forwarding equipment, effectively prevent carrying out cumbersome end
The ping operating process of opposite end, improves the efficiency and accuracy rate for determining specific packet loss forwarding unit, and by the knowledge of detection messages
Other process and statistic processes become to be handled by packet check controller 3, and message forwarding equipment 2 is responsible for the forwarding of message, is conducive to
The processing load for reducing message forwarding equipment 2 improves communication quality to improve the forward efficiency of message forwarding equipment 2.
Embodiment five:
The embodiment of the present invention provides a kind of packet check configuration method, refers to Fig. 6, and Fig. 6 is the embodiment of the present invention five
The flow diagram of packet check configuration method, including packet check configuration method (S100-S102), message forwarding method
(S103-S107) and packet check statistical method (S108-S110):
S100:Detection messages are constructed, are identified comprising detection messages in detection messages;
It should be understood that construction detection messages can declare information by obtaining failure, generates and declare information with failure
Compatible detection messages;Should include that detection messages identify, such as detection messages mark can be message inspection in detection messages
It is measured the detection characteristic value for setting device configuration.
S101:Detection messages mark and detection messages are issued into quantity n and are sent to packet check controller, and to detection
Each message forwarding equipment on message transmissions path sends message copy rule;
It should be understood that message copy rule includes but not limited to access control list (ACL) regulations (ACL).
S102:Source messages forwarding unit in transmission path issues the n detection messages, and the n is more than or equal to 1;
S103:Message forwarding equipment receives message;
S104:Judge whether message forwarding equipment is source messages forwarding unit on message transmissions path, if not, going to step
Rapid S105, if so, going to step S106;
S105:The message replicate according to the message copy rule obtained from packet check configuration equipment in advance
Packet check controller is issued to copy packet;
S106:Judge whether message forwarding equipment is purpose message forwarding equipment on message transmissions path, if not, going to
Step S107, if so, going to step S108;
S107:Forward flow table that the message is transmitted to next message forwarding equipment according to message;
It should be understood that when judging message forwarding equipment for the source messages forwarding unit on message transmissions path, it can
Directly to forward flow table that the message is transmitted to next message forwarding equipment according to message, without determining whether mesh again
Message forwarding equipment.Because when a message forwarding equipment is source messages forwarding unit, the message forwarding equipment is certainly not
Purpose message forwarding equipment.
S108:Receive the copy packet from each message forwarding equipment;
It should be understood that when judging message forwarding equipment for the purpose message forwarding equipment on message transmissions path, it is somebody's turn to do
Purpose message forwarding equipment no longer forwards the message, which terminates.
S109:Each message forwarding equipment hair is counted according to the detection messages mark obtained in advance from packet check configuration equipment
It is the quantity of detection messages in the copy packet sent;
S110:After detection, detection messages quantity that each message forwarding equipment of statistics is sent respectively in advance
The detection messages obtained from packet check configuration equipment issue quantity n and are compared, and judge that sending detection messages quantity is less than institute
The message forwarding equipment for stating n is packet loss forwarding unit.
The embodiment of the present invention provides a kind of message detecting method, by constructing detection messages;By the detection in detection messages
Message identification and detection messages issue quantity n and are sent to packet check controller, and each in detection messages transmission path
Message forwarding equipment sends message copy rule;Source messages forwarding unit in transmission path issues n detection messages of institute, institute
It states n and is more than or equal to 1;Message forwarding equipment receives message, when to judge itself not be source messages forwarding unit, replicated and is advised according to message
It then is replicated the message to obtain copy packet and issues packet check controller;And it is that the forwarding of purpose message is set to judge itself not
When standby, flow table is forwarded to forward the message to next message forwarding equipment according to message;Packet check controller, which receives, comes from each report
The copy packet of literary forwarding unit counts in the copy packet that each message forwarding equipment is sent according to detection messages mark as detection
The quantity of message;And after detection, detection messages quantity that each message forwarding equipment of statistics is sent respectively with inspection
It observes and predicts text and issues quantity n and be compared, judge that it is packet loss forwarding to send message forwarding equipment of the detection messages quantity less than the n
Equipment.During being accurately positioned the specific message forwarding equipment of packet loss, effectively avoid carrying out cumbersome end-to-end ping
Operating process, improves the efficiency and accuracy rate for determining specific packet loss forwarding unit, and by the identification process and system of detection messages
Meter process becomes to be handled by packet check controller, and message forwarding equipment is responsible for the forwarding of message, advantageously reduces message forwarding
The processing load of equipment improves communication quality to improve the forward efficiency of message forwarding equipment.
Obviously, those skilled in the art should be understood that each module of the embodiments of the present invention or each step can be used
General computing device realizes that they can be concentrated on a single computing device, or be distributed in multiple computing device institutes
On the network of composition, optionally, they can be realized with the program code that computing device can perform, it is thus possible to by them
It is stored in computer storage media (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, it can
With the steps shown or described are performed in an order that is different from the one herein, or they are fabricated to each integrated circuit dies
Block, or by them multiple modules or step be fabricated to single integrated circuit module and realize.So the present invention does not limit
It is combined in any specific hardware and software.
It cannot recognize being further described made by the embodiment of the present invention the above content is specific embodiment is combined
The specific implementation of the fixed present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs,
Without departing from the inventive concept of the premise, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention
Protection domain.
Claims (10)
1. a kind of packet check configures equipment, including:
Message structural unit identifies in the detection messages comprising detection messages for constructing detection messages;
Dispensing unit, for the detection messages being identified and detection messages issue quantity n and are sent to packet check controller,
And each message forwarding equipment in the detection messages transmission path sends message copy rule;
Issuance unit issues the n detection messages for the source messages forwarding unit in the transmission path, and the n is big
In equal to 1.
2. packet check configuration device as described in claim 1, which is characterized in that the message copy rule is access control
List (ACL) regulations.
3. a kind of message forwarding equipment, including:
First configuration receiving unit, for receiving the message copy rule for configuring equipment from packet check;
Message receiving unit, for receiving message;
Processing unit, for judge the message forwarding equipment whether be on the message transmissions path source messages forwarding set
It is standby, and for judging whether the message forwarding equipment is purpose message forwarding equipment on the message transmissions path;
Message copied cells, for when it is source messages forwarding unit that the processing unit, which judges the message forwarding equipment not,
It is replicated the message to obtain copy packet according to the message copy rule and issues packet check controller;
Message retransmission unit is purpose message forwarding equipment for judging the message forwarding equipment not in the processing unit
When, forward flow table that the message is transmitted to next message forwarding equipment according to message.
4. a kind of packet check controller, including:
Second configuration receiving unit, for receiving under the detection messages mark and detection messages that configure equipment from packet check
Send out quantity n;
Copy packet receiving unit, for receiving the copy packet from each message forwarding equipment;
Statistic unit, for being counted in the copy packet that each message forwarding equipment is sent as detection according to detection messages mark
The quantity of message;
Judging unit, the detection messages number for after detection, each message forwarding equipment of statistic unit statistics to be sent
Amount issues quantity n with the detection messages respectively and is compared, and judges that sending message of the detection messages quantity less than the n forwards
Equipment is packet loss forwarding unit.
5. a kind of packet check system, including packet check configuration equipment, packet check controller and the forwarding of multiple messages are set
It is standby;
The packet check configuration equipment is identified and is examined for constructing detection messages, by the detection messages in the detection messages
It observes and predicts text and issues quantity n and be sent to the packet check controller, and each message in the detection messages transmission path turns
It sends out equipment and sends message copy rule;And it is issued described in institute n for the source messages forwarding unit in the transmission path
Detection messages, the n are more than or equal to 1;
When the message forwarding equipment for after receiving message, judging itself is not source messages forwarding unit, according to the report
Literary copy rule, which is replicated the message to obtain copy packet, issues packet check controller;And for judging itself
When not being purpose message forwarding equipment, forward flow table that the message is transmitted to next message forwarding equipment according to message;
The packet check controller is for receiving the copy packet from each message forwarding equipment, according to the detection messages mark
Know the quantity counted in the copy packet that each message forwarding equipment is sent for detection messages;And be used for after detection, it will
The detection messages quantity that each message forwarding equipment of statistics is sent issues quantity n with the detection messages respectively and is compared, and sentences
Disconnected message forwarding equipment of the detection messages quantity less than the n that send is packet loss forwarding unit.
6. a kind of packet check configuration method, including:
Detection messages are constructed, are identified comprising detection messages in the detection messages;
The detection messages are identified and detection messages issue quantity n and are sent to packet check controller, and to the detection
Each message forwarding equipment on message transmissions path sends message copy rule;
Source messages forwarding unit in the transmission path issues the n detection messages, and the n is more than or equal to 1.
7. packet check configuration method as claimed in claim 6, which is characterized in that constructing detection messages includes:
It obtains failure and declares information;
It generates and declares the compatible detection messages of information with the failure.
8. a kind of message forwarding method, including:
Message forwarding equipment receives message;
When to judge the message forwarding equipment not be the source messages forwarding unit on message transmissions path, according in advance from report
The message copy rule that text detection configuration equipment obtains, which is replicated the message to obtain copy packet, issues packet check control
Device processed;
When to judge the message forwarding equipment not be the purpose message forwarding equipment on message transmissions path, turned according to message
The message is transmitted to next message forwarding equipment by hair flow table.
9. a kind of packet check statistical method, including:
Receive the copy packet from each message forwarding equipment;
The duplication that each message forwarding equipment is sent is counted according to the detection messages mark obtained in advance from packet check configuration equipment
It is the quantity of detection messages in message;
After detection, detection messages quantity that each message forwarding equipment of statistics is sent respectively in advance from packet check
The detection messages that configuration equipment obtains issue quantity n and are compared, and judge that sending message of the detection messages quantity less than the n turns
Hair equipment is packet loss forwarding unit.
10. a kind of message detecting method, including:
Construct detection messages;
Detection messages in the detection messages are identified and detection messages issue quantity n and are sent to packet check controller,
And each message forwarding equipment in the detection messages transmission path sends message copy rule;
Source messages forwarding unit in the transmission path issues the institute n detection messages, and the n is more than or equal to 1;
Message forwarding equipment receives message, will according to the message copy rule when to judge itself not be source messages forwarding unit
The message, which is replicated to obtain copy packet, issues the packet check controller;And it is that purpose message turns to judge itself not
When sending out equipment, forward flow table that the message is transmitted to next message forwarding equipment according to message;
The packet check controller receives the copy packet from each message forwarding equipment, is identified and is united according to the detection messages
Count the quantity for detection messages in the copy packet that each message forwarding equipment is sent;And after detection, by each of statistics
The detection messages quantity that message forwarding equipment is sent issues quantity n with the detection messages respectively and is compared, and judges to send inspection
It is packet loss forwarding unit to survey message forwarding equipment of the message amount less than the n.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710066221.2A CN108400900B (en) | 2017-02-06 | 2017-02-06 | Message detection, configuration, forwarding and statistical method and device, controller and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710066221.2A CN108400900B (en) | 2017-02-06 | 2017-02-06 | Message detection, configuration, forwarding and statistical method and device, controller and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108400900A true CN108400900A (en) | 2018-08-14 |
| CN108400900B CN108400900B (en) | 2023-03-14 |
Family
ID=63093654
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710066221.2A Active CN108400900B (en) | 2017-02-06 | 2017-02-06 | Message detection, configuration, forwarding and statistical method and device, controller and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108400900B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109039822A (en) * | 2018-08-23 | 2018-12-18 | 烽火通信科技股份有限公司 | A kind of BFD protocol massages filter method and system |
| CN109348432A (en) * | 2018-11-23 | 2019-02-15 | 新华三技术有限公司 | A kind of message forwarding method and device |
| CN109981409A (en) * | 2019-03-26 | 2019-07-05 | 新华三技术有限公司 | Message forwarding method, device and forwarding device |
| WO2023050817A1 (en) * | 2021-09-30 | 2023-04-06 | 中兴通讯股份有限公司 | Method and apparatus for determining packet transmission path fault |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101404599A (en) * | 2008-11-12 | 2009-04-08 | 华为技术有限公司 | Network fault detection method, primary device, slave device, control terminal and system |
| CN105429822A (en) * | 2015-11-30 | 2016-03-23 | 东南大学 | Hop-by-hop link packet loss measurement method on end-to-end path based on software-defined network |
| US20160149788A1 (en) * | 2014-11-20 | 2016-05-26 | Telefonaktiebolaget L M Ericsson (pubI) | Passive Performance Measurement for Inline Service Chaining |
| US20160226742A1 (en) * | 2013-09-18 | 2016-08-04 | Ramasamy Apathotharanan | Monitoring network performance characteristics |
| CN106301821A (en) * | 2015-05-15 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of tunnel method for detecting packet loss, device and network communication equipment |
-
2017
- 2017-02-06 CN CN201710066221.2A patent/CN108400900B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101404599A (en) * | 2008-11-12 | 2009-04-08 | 华为技术有限公司 | Network fault detection method, primary device, slave device, control terminal and system |
| US20160226742A1 (en) * | 2013-09-18 | 2016-08-04 | Ramasamy Apathotharanan | Monitoring network performance characteristics |
| US20160149788A1 (en) * | 2014-11-20 | 2016-05-26 | Telefonaktiebolaget L M Ericsson (pubI) | Passive Performance Measurement for Inline Service Chaining |
| CN106301821A (en) * | 2015-05-15 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of tunnel method for detecting packet loss, device and network communication equipment |
| CN105429822A (en) * | 2015-11-30 | 2016-03-23 | 东南大学 | Hop-by-hop link packet loss measurement method on end-to-end path based on software-defined network |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109039822A (en) * | 2018-08-23 | 2018-12-18 | 烽火通信科技股份有限公司 | A kind of BFD protocol massages filter method and system |
| CN109348432A (en) * | 2018-11-23 | 2019-02-15 | 新华三技术有限公司 | A kind of message forwarding method and device |
| CN109981409A (en) * | 2019-03-26 | 2019-07-05 | 新华三技术有限公司 | Message forwarding method, device and forwarding device |
| WO2023050817A1 (en) * | 2021-09-30 | 2023-04-06 | 中兴通讯股份有限公司 | Method and apparatus for determining packet transmission path fault |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108400900B (en) | 2023-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1279211B1 (en) | Topology-based reasoning apparatus for root-cause analysis of network faults | |
| CN108400900A (en) | Packet check, configuration, forwarding, statistical method and equipment, controller and system | |
| CN101789889B (en) | Method and system for automatic testing communication equipment | |
| US5691917A (en) | Event-processing system and method of constructing such a system | |
| CN106789323A (en) | A kind of communication network management method and its device | |
| CN109388537B (en) | Operation information tracking method and device and computer readable storage medium | |
| CN106685676B (en) | Node switching method and device | |
| CN102323499A (en) | Method for automatically testing relay protection equipment | |
| CN112564964A (en) | Fault link detection and recovery method based on software defined network | |
| CN113484693B (en) | Transformer substation secondary circuit fault positioning method and system based on graph neural network | |
| CN104601394A (en) | Business chain connectivity detection method, device and system | |
| CN102223251A (en) | Collecting and analyzing method for network operation and maintenance and business processing device | |
| CN118467263B (en) | Method and system for batch testing of chips, electronic equipment and storage medium | |
| CN110768845A (en) | Intelligent substation process level virtual connection fault positioning system | |
| CN108809771A (en) | SDN network data stream monitoring method, SDN controllers, switching equipment and system | |
| CN111262624B (en) | Method and device for monitoring optical cable fault | |
| CN114070799B (en) | Processing method and processing device of priority pause frame and target network equipment | |
| CN117236669A (en) | Automatic inspection strategy system based on data-intensive batch task scheduling | |
| KR20180015027A (en) | Apparatus and Method for Automatic Error Alarm of DDS Applications System | |
| CN106506190A (en) | A communication network operating system and operating method | |
| CN110362062B (en) | Automatic fault processing system | |
| CN118916250A (en) | Alarm association analysis method and device, storage medium and electronic equipment | |
| CN116074191A (en) | IOAM processing method, device, electronic equipment and computer readable storage medium | |
| CN110609761B (en) | Method and device for determining fault source, storage medium and electronic equipment | |
| CN112995071A (en) | Problem chip positioning method |
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 |