CN101989937A - Method, device and system for sending data stream - Google Patents
Method, device and system for sending data stream Download PDFInfo
- Publication number
- CN101989937A CN101989937A CN2010105461398A CN201010546139A CN101989937A CN 101989937 A CN101989937 A CN 101989937A CN 2010105461398 A CN2010105461398 A CN 2010105461398A CN 201010546139 A CN201010546139 A CN 201010546139A CN 101989937 A CN101989937 A CN 101989937A
- Authority
- CN
- China
- Prior art keywords
- data stream
- flow
- current data
- background data
- lower limit
- 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
Images
Abstract
The invention relates to a technology in the communication field, in particular to a method, device and system for sending a data stream. The method comprises the steps of: obtaining flow of the sent current data stream; and sending a background data stream according to the relation of the flow of the current data stream and the lower flow limit as well as the upper flow limit, wherein the flow of the background data stream is not less than the lower flow limit and not more than the upper flow limit. By using the method, device and system for sending the data stream, provided by the embodiment of the invention, through detecting the flow of the sent data stream, the background data stream is supplemented for sending when the flow of the sent data stream is lower to ensure that opposite terminal equipment receiving the data stream can accurately detect the packet loss rate, error frames, and the like of the data stream.
Description
Technical field
The present invention relates to technical field of communication, relate in particular to a kind of method, Apparatus and system that sends data flow.
Background technology
At present, since MPLS (Multi-Protocol Label Switching, multiprotocol label switching) integrated the flexibility of the high-performance of label forwarding and network layer route and autgmentability and be used widely.Transmitting mpls protocol, MPLS-TP (MPLS-TransportProfile, MPLS host-host protocol subclass) etc. in the Packet Transport Network technology all is to develop from MPLS.They provide OAM (Operation And Maintenance mechanism, oam) function end to end.
Defined the detection method of various defect types and defective in the standard document, wherein, occurred in actual applications owing to during the discrete defective of losing of the Frame that Signal Degrade causes, should produce alarm, by equipment according to circumstances trigger protection switch.SD (Signal Distributor, signal distributor) it is as follows to produce the condition of alarm: when in the network because node is congested or interconnected bus error code when causing packet loss, SD detects packet loss, if packet loss (this locality is lost packet counting/far-end and sent packet counting) is greater than the degraded threshold that is provided with, then report and alarm.
SD packet loss detection mechanism roughly has two kinds: a kind of LM of being (Loss Measurement, loss measurement), read the corresponding discharge counting in the fixing message format during realization; Another kind of FCS (Frame CheckSequence, frame check) reads the data traffic of ethernet port during realization.Therefore complex configurations when adopting the FCS mode can avoid adopting the LM mode and protocol massages mutual used comparatively extensive.
As shown in Figure 1, when using FCS, the port port1 of equipment S1 is connected with the port port2 of equipment S2, the SD that enables the FCS mode on the port2 of equipment S2 detects, because what read is the wrong frame number and the packet receiving sum of port, so the data that require to send need keep certain flow, could guarantee that port2 goes up the correctness that SD detects from port1 to port2.But, the data traffic that receives when port hour, then the accuracy that detects of this FCS mode is lower.
Summary of the invention
The embodiment of the invention provides a kind of method, Apparatus and system that sends data flow, by detecting the flow of the data flow that sends, than hour additional background data stream that sends, make the opposite equip. of receiving data stream can detect the packet loss of data flow, erroneous frame etc. accurately in the data traffic that sends.
The embodiment of the invention provides a kind of method that sends data flow, and this method comprises:
Obtain the flow of the current data stream of transmission;
According to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, send background data stream, the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit.
Accordingly, the embodiment of the invention provides a kind of device that sends data flow, comprising:
Acquisition module is used to obtain the flow of the current data stream of transmission;
Sending module is used for sending background data stream according to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, and the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit.
Accordingly, the embodiment of the invention provides a kind of system of transmitting-receiving data flow, comprising: transmitting terminal and receiving terminal;
Described transmitting terminal is used to obtain the flow of the current data stream of transmission; According to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, send background data stream, the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit;
Described receiving terminal is used to receive the current data stream that described transmitting terminal sends.
The embodiment of the invention provides a kind of method, Apparatus and system that sends data flow, is used to obtain the flow of the current data stream of transmission; According to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, send background data stream, the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit.Method, the Apparatus and system of the transmission data flow that the use embodiment of the invention provides, by detecting the flow of the data flow that sends, than hour additional background data stream that sends, make the opposite equip. of receiving data stream can detect the packet loss of data flow, erroneous frame etc. accurately in the data traffic that sends.
Description of drawings
Fig. 1 is transmitting terminal and receiving terminal connection diagram;
Fig. 2 is the method flow schematic diagram that sends data flow in the embodiment of the invention;
Fig. 3 is the method flow schematic diagram that sends data flow in another embodiment of the present invention;
Fig. 4 is the device schematic diagram that sends data flow in another embodiment of the present invention;
Fig. 5 is the system schematic of transmitting-receiving data flow in another embodiment of the present invention.
Embodiment
At length set forth to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
Because when using the FCS mode to detect the information such as packet loss of data flow, the data flow that needs transmitting terminal to send reaches certain flow and just can detect accurately.In order to ensure accuracy, the embodiment of the invention provides a kind of method that sends data flow, as shown in Figure 2, may further comprise the steps:
Concrete, the flow that detects current data stream sends background data stream during less than flux lower limit, and the flow of this background data stream is not less than flux lower limit, and in the flow upper limit; The flow that detects current data stream if there is background data stream, then stops to send this background data stream greater than prescribing a time limit on the flow, otherwise, continue transmission current data stream; The flow that detects current data stream continues to send current data and flows between flux lower limit and the flow upper limit time.Wherein, the flux lower limit and the flow upper limit are according to the accuracy of detection decision of the receiving terminal that receives this current data flow, when for example the flow of data flow arrives 120M, receiving terminal just can accurately detect, therefore, can be set to 120M by flux lower limit, or be a bit larger tham or less than 120M; When the flow of data flow arrived 320M, the flow of data flow was bigger, causes data congestion to influence accuracy of detection easily, therefore, can the flow upper limit be set to 320M.
After receiving terminal receives background data stream, obtain the source address of this background data stream, and count, just this background data stream should satisfy following condition: can make receiving terminal can carry out counting, also confirm to originate, and can not exert an influence to the performance of receiving terminal.For example, the source address of background data stream is set to the source Media Access Control address of transmitting terminal, and destination address is zero, and all the other fields are zero entirely, and the message length in the background data stream is 64, and this background data stream can satisfy above-mentioned condition.The background data stream that certainly, can also use other modes to construct to meet above-mentioned condition.
Pass through foregoing description, as can be seen, the method of the transmission data flow that the use embodiment of the invention provides, by detecting the flow of the data flow that sends, than hour additional background data stream that sends, make the opposite equip. of receiving data stream can detect the packet loss of data flow, erroneous frame etc. accurately in the data traffic that sends.
The method of the transmission data flow that the embodiment of the invention is provided below by specific embodiment is elaborated, and as shown in Figure 3, may further comprise the steps:
The flow and the flux lower limit of step 302, the preceding data flow that will obtain compare, if less than flux lower limit, then send background data stream; Otherwise, execution in step 303;
The flow and the flow upper limit of step 303, the preceding data flow that will obtain compare, if be not more than the flow upper limit, then attonity; If greater than the flow upper limit, then execution in step 304;
Whether there is background data stream in step 304, the detection current data stream,, then stops to send background data and flow if exist; If do not exist, continue to send current data stream.
After receiving terminal receives background data stream, obtain the source address of this background data stream, and count, just this background data stream should satisfy following condition: can make receiving terminal can carry out counting, also confirm to originate, and can not exert an influence to the performance of receiving terminal.For example, the source address of background data stream is set to the source Media Access Control address of transmitting terminal, and destination address is zero, and all the other fields are zero entirely, and the message length in the background data stream is 64, and this background data stream can satisfy above-mentioned condition.
Suppose to be limited on the flow 300M, flux lower limit is 100M, the flow of background data stream is 100M, when using the method that the embodiment of the invention provides, if getting access to the flow of current data stream is 0-100M, then send this background data stream, the data flow that makes receiving terminal receive satisfies the requirement of accuracy of detection; If getting access to the flow of current data stream is 100-300M, then attonity is even sending background data stream, then continues to send, if do not send background data stream, does not then send background data stream; If the flow that gets access to current data stream if sending background data stream, then stops to send background data stream for greater than 300M,, continue to send these current data if do not send background data stream.
Pass through foregoing description, as can be seen, the method of the transmission data flow that the use embodiment of the invention provides, by detecting the flow of the data flow that sends, than hour additional background data stream that sends, make the opposite equip. of receiving data stream can detect the packet loss of data flow, erroneous frame etc. accurately in the data traffic that sends.
Accordingly, the embodiment of the invention also provides a kind of device that sends data traffic, as shown in Figure 4, specifically comprises:
Preferable, sending module 402 comprises:
Preferable, this device also comprises:
Pass through foregoing description, as can be seen, the device that send data traffic that uses the embodiment of the invention to provide, by detecting the flow of the data flow that sends, than hour additional background data stream that sends, make the opposite equip. of receiving data stream can detect the packet loss of data flow, erroneous frame etc. accurately in the data traffic that sends.
Accordingly, the embodiment of the invention also provides a kind of system of transmitting-receiving data flow, as shown in Figure 5, comprising: transmitting terminal 501 and receiving terminal 502;
This transmitting terminal 501 is used to obtain the flow of the current data stream of transmission; According to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, send background data stream, the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit;
This receiving terminal 502 is used to receive the current data stream that above-mentioned transmitting terminal 501 sends.
Preferable, this receiving terminal 502 obtains the source address of background data stream, and counts after receiving background data stream.
Pass through foregoing description, as can be seen, method, the Apparatus and system of the transmission data flow that the use embodiment of the invention provides, by detecting the flow of the data flow that sends, than hour additional background data stream that sends, make the opposite equip. of receiving data stream can detect the packet loss of data flow, erroneous frame etc. accurately in the data traffic that sends.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. a method that sends data flow is characterized in that, comprising:
Obtain the flow of the current data stream of transmission;
According to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, send background data stream, the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit.
2. the method for claim 1 is characterized in that, and is described according to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, sends background data stream, comprising:
The flow that detects described current data stream sends background data stream during less than flux lower limit, and the flow of described background data stream is not less than described flux lower limit, and is not more than the flow upper limit;
The flow that detects described current data stream if there is background data stream, then stops to send described background data stream greater than prescribing a time limit on the flow, otherwise, continue the described current data stream of transmission;
The flow that detects described current data stream continues to send described current data and flows between flux lower limit and the flow upper limit time;
The described flux lower limit and the flow upper limit are according to the accuracy of detection decision of the receiving terminal that receives described current data stream.
3. method as claimed in claim 2 is characterized in that, the flow of the described current data stream that obtains transmission comprises: in real time or regularly obtain the flow of the current data stream of transmission.
4. as arbitrary described method among the claim 1-3, it is characterized in that the source address of described background data stream is set to the source Media Access Control address of transmitting terminal, destination address is zero, and all the other fields are zero entirely, and the message length in the background data stream is 64.
5. the method for claim 1 is characterized in that, receiving terminal obtains the source address of described background data stream, and counts after receiving described background data stream.
6. a device that sends data traffic is characterized in that, comprising:
Acquisition module is used to obtain the flow of the current data stream of transmission;
Sending module is used for sending background data stream according to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, and the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit.
7. device as claimed in claim 6 is characterized in that sending module comprises:
Detection sub-module is used to detect the flow of described current data stream and the relation of the flux lower limit and the flow upper limit;
The control submodule when being used for flow that detection sub-module detects described current data stream less than flux lower limit, sends background data stream; The flow that detects described current data stream if there is background data stream, then stops to send described background data stream greater than prescribing a time limit on the flow, otherwise, continue the described current data stream of transmission; The flow that detects described current data stream continues to send described current data and flows between flux lower limit and the flow upper limit time.
8. device as claimed in claim 6 is characterized in that, also comprises:
Time block is used to trigger described acquisition module in real time or regularly obtain the flow of the current data stream of transmission.
9. the system of a transmitting-receiving data flow is characterized in that, comprising: transmitting terminal and receiving terminal;
Described transmitting terminal is used to obtain the flow of the current data stream of transmission; According to the flow of described current data stream and the relation of the flux lower limit and the flow upper limit, send background data stream, the flow of described background data stream is not less than described flux lower limit, and is not more than the described flow upper limit;
Described receiving terminal is used to receive the current data stream that described transmitting terminal sends.
10. system as claimed in claim 9 is characterized in that, described receiving terminal obtains the source address of described background data stream, and counts after receiving described background data stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010546139.8A CN101989937B (en) | 2010-11-15 | 2010-11-15 | A kind of method, Apparatus and system sending data flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010546139.8A CN101989937B (en) | 2010-11-15 | 2010-11-15 | A kind of method, Apparatus and system sending data flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101989937A true CN101989937A (en) | 2011-03-23 |
CN101989937B CN101989937B (en) | 2015-10-28 |
Family
ID=43746292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010546139.8A Expired - Fee Related CN101989937B (en) | 2010-11-15 | 2010-11-15 | A kind of method, Apparatus and system sending data flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101989937B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012088802A1 (en) * | 2010-12-29 | 2012-07-05 | 中兴通讯股份有限公司 | Method and system for detecting signal degrade (sd) alarm |
CN105162719A (en) * | 2015-09-24 | 2015-12-16 | 烽火通信科技股份有限公司 | Packet loss detection system and method for packet transport network |
CN108667690A (en) * | 2018-05-22 | 2018-10-16 | 烽火通信科技股份有限公司 | A kind of detection method of Signal Degrade |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1489387A (en) * | 2003-07-22 | 2004-04-14 | 中国科学院计算技术研究所 | Uniform complexing method for digital video broadcasting transmission network |
EP2180648B1 (en) * | 2008-10-21 | 2010-08-18 | LG Electronics Inc. | Apparatus and method for transmitting and receiving a signal |
CN101826999A (en) * | 2010-04-26 | 2010-09-08 | 瑞斯康达科技发展股份有限公司 | Method and device for online message flow monitoring and bandwidth compensation |
-
2010
- 2010-11-15 CN CN201010546139.8A patent/CN101989937B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1489387A (en) * | 2003-07-22 | 2004-04-14 | 中国科学院计算技术研究所 | Uniform complexing method for digital video broadcasting transmission network |
EP2180648B1 (en) * | 2008-10-21 | 2010-08-18 | LG Electronics Inc. | Apparatus and method for transmitting and receiving a signal |
CN101826999A (en) * | 2010-04-26 | 2010-09-08 | 瑞斯康达科技发展股份有限公司 | Method and device for online message flow monitoring and bandwidth compensation |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012088802A1 (en) * | 2010-12-29 | 2012-07-05 | 中兴通讯股份有限公司 | Method and system for detecting signal degrade (sd) alarm |
CN105162719A (en) * | 2015-09-24 | 2015-12-16 | 烽火通信科技股份有限公司 | Packet loss detection system and method for packet transport network |
CN105162719B (en) * | 2015-09-24 | 2018-11-13 | 烽火通信科技股份有限公司 | The packet loss detection system and method for Packet Transport Network |
CN108667690A (en) * | 2018-05-22 | 2018-10-16 | 烽火通信科技股份有限公司 | A kind of detection method of Signal Degrade |
Also Published As
Publication number | Publication date |
---|---|
CN101989937B (en) | 2015-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100583784C (en) | Method for monitoring frame loss rate in multi protocol label exchange network | |
CN106936661B (en) | Network monitoring method, device and system | |
CN104301146A (en) | Link switching method and device in software defined network | |
CN101815006B (en) | aggregation control method of links passing through provider network and system | |
CN102594600A (en) | Method and system for determining failure position of bidirectional forwarding detection session | |
CN103581021A (en) | Method and equipment for detecting services in software defined network | |
CN105281931A (en) | Error code detection method, device and system of POTN | |
CN103580886A (en) | Packet transport network protection switching device and method | |
CN101174975A (en) | Periodic line fault location method and system in Ethernet | |
US9331927B2 (en) | Communication system, communication device, and communication method | |
CN101425941B (en) | Loop network link convergence time and recovery time test system | |
CN110959272B (en) | Defect detection in IP/MPLS network tunnels | |
CN101989937B (en) | A kind of method, Apparatus and system sending data flow | |
US9077629B2 (en) | Communication device, and signal degradation monitoring system and method | |
CN102487338A (en) | Method and device for adjusting bidirectional forwarding detection (BFD) sending interval according to network jitter | |
CN102025437B (en) | Method, system and device for protection switching | |
CN102752169B (en) | Transmitting, monitoring method and device | |
US9369359B2 (en) | Diagnostic system | |
CN102780640B (en) | Method and device for realizing multilayer LM (loss measurement) in switching chip | |
CN101729201B (en) | Method for detecting signal degradation defect | |
EP2712121A1 (en) | Method, apparatus and system for detecting packet path signal degraded | |
CN113037622B (en) | System and method for preventing BFD from vibrating | |
CN102386997B (en) | A kind of method and system detecting signal degradation state of grouping paths | |
CN105262635A (en) | Looped network protection protocol switching time automatic testing method, equipment and system | |
CN107241206B (en) | Method, device and storage medium for judging service state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151028 Termination date: 20191115 |
|
CF01 | Termination of patent right due to non-payment of annual fee |