CN110190994B - Lossless flow serial connection management method based on message buffering - Google Patents
Lossless flow serial connection management method based on message buffering Download PDFInfo
- Publication number
- CN110190994B CN110190994B CN201910438063.8A CN201910438063A CN110190994B CN 110190994 B CN110190994 B CN 110190994B CN 201910438063 A CN201910438063 A CN 201910438063A CN 110190994 B CN110190994 B CN 110190994B
- Authority
- CN
- China
- Prior art keywords
- message
- buffering
- link
- analysis system
- control unit
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0695—Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a lossless flow serial connection management method based on message buffering, which is mainly technically characterized by comprising the following steps: the system comprises a message receiving and sending control unit, a message buffering unit and a link detection unit, wherein the message receiving and sending control unit receives messages, extracts message control information, implements order-preserving buffering of the messages according to an organization rule, selects a message sending path according to a link state and sends the messages in order-preserving manner, receives the messages processed by a rear-end analysis system and sends the messages out in order-preserving manner, the message buffering unit buffers the order-preserving messages according to a certain organization rule to perform buffering resource management, the link detection unit continuously detects whether a rear-end analysis system link works normally, receives action feedback of the message control unit, and updates the link state. The method has the advantages of simple implementation method, lossless flow order preservation, high reliability and the like.
Description
Technical Field
The invention relates to a network flow serial connection management method, in particular to a lossless flow serial connection management method based on message buffering, and belongs to the technical field of network serial connection.
Background
With the continuous development of modern network technology, network monitoring and analysis are important components for maintaining the normal operation of the network. In a service scenario of network monitoring and analysis, usually, a monitoring and analyzing device is connected in series in a network system, and in real work, if an analyzing system of the monitoring and analyzing device fails, the analyzing system is difficult to recover in a short time, sometimes even a phenomenon that the analyzing system cannot recover occurs, so that loss of service traffic is caused, and once the analyzing system cannot recover, the whole network is interrupted, and the failure is unacceptable. In the background art, a tandem optical protection device is generally adopted for protecting monitoring and analyzing equipment at present, but because a message analyzing system in the monitoring and analyzing equipment is relatively complex and is prone to failure, the existing tandem optical protection equipment cannot realize the nondestructive protection of traffic. In order to overcome the defects in the prior art and effectively improve the efficiency of a monitoring analysis system, a lossless flow serial connection management method based on message buffering is researched.
Disclosure of Invention
The invention aims to provide a lossless flow serial connection management method based on message buffering, which can effectively solve the problem of flow loss or network interruption caused by faults of a serial connection monitoring analysis device by separating a message receiving and sending system and an analysis system, increasing message buffering, continuously detecting the state of the message analysis system in real time and dynamically implementing a receiving and sending control path of a message, and has the advantages of simple implementation method, lossless flow order preservation and high reliability.
The technical scheme adopted by the invention for solving the technical problems is as follows: a lossless flow serial connection management method based on message buffering comprises a message receiving and sending control unit, a message buffering unit and a link detection unit, and is realized by the following steps:
1) configuring a link state detection mode of the link detection unit, and configuring a message buffering resource and a buffering mode of the message buffering unit by a user;
2) starting the link detection unit, continuously detecting whether the link state of the back-end analysis system works normally or not and updating the link state;
3) the message receiving and sending control unit receives a service data message of a backbone network and extracts related control information of the service data message;
4) the message receiving and sending control unit stores the service data messages into the message buffer unit for buffering according to a certain organization rule;
5) the message receiving and sending control unit acquires the link state of a back-end analysis system;
6) if the link of the back-end analysis system works normally, the message buffer unit sends the buffered service data message to the back-end analysis system;
7) after the service data message is analyzed by the back-end analysis system, the service data message is sent to the backbone network by the message transceiving control unit;
8) if the back end analysis system link is not working normally, the message buffer unit sends the buffered service data message to the backbone network;
9) the link detection unit feeds back and updates the link state according to the message transceiving action of the message transceiving control unit;
10) the message buffering unit releases and recycles the message buffering resources which are sent to the backbone network.
The message receiving and transmitting control unit receives the message, extracts message control information, implements order-preserving buffering of the message according to organization rules, selects a message transmitting path according to a link state, preserves the order and transmits the message, receives the message processed by the back-end analysis system, and transmits the message in a sequence-preserving manner.
The message buffer unit buffers the order-preserving messages according to a certain organization rule, and performs buffer resource management.
The link detection unit continuously detects whether a back-end analysis system link works normally, receives and processes action feedback of the message control unit, and updates the link state.
Compared with the background art, the invention has the beneficial effects
1. Aiming at the problem of flow loss or network interruption caused by the failure of a message analysis system of the conventional network tandem equipment, the invention increases message buffering by separating the message receiving and sending system from the analysis system, continuously detects the state of the message analysis system in real time, dynamically implements the receiving and sending control path of the message, realizes the flow nondestructive control of the tandem equipment, solves the problem of network interruption caused by the failure of the message analysis system, and greatly improves the reliability of the network tandem equipment.
2. The method has the advantages of simple implementation method, lossless flow order preservation, high reliability and the like.
Drawings
Fig. 1 is a flow chart of a lossless traffic concatenation management method based on message buffering according to the present invention.
Fig. 2 is a system diagram of the lossless traffic concatenation management method based on message buffering according to the present invention.
Detailed Description
A more complete and complete description of the preferred embodiments of the present invention is now provided in connection with the appended drawings.
As shown in fig. 2, a lossless traffic concatenation management method based on message buffering includes a message transceiving control unit, a message buffering unit, and a link detection unit.
As shown in fig. 1, a lossless traffic concatenation management method based on message buffering is implemented by the following steps:
1) and the user configures the link state detection mode of the link detection unit and configures the message buffering resource and the buffering mode of the message buffering unit.
2) And starting the link detection unit, continuously detecting whether the link state of the back-end analysis system works normally or not, and updating the link state.
3) The message receiving and sending control unit receives a service data message of a backbone network and extracts relevant control information of the service data message.
4) The message receiving and sending control unit stores the service data messages into the message buffer unit for buffering according to a certain organization rule.
5) The message receiving and sending control unit acquires the link state of the back-end analysis system.
6) And if the link of the back-end analysis system works normally, the message buffer unit sends the buffered service data message to the back-end analysis system.
7) And after the service data message is analyzed by the back-end analysis system, the service data message is sent to the backbone network through the message transceiving control unit.
8) And if the back-end analysis system link is not in normal work, the message buffer unit sends the buffered service data message to the backbone network.
9) And the link detection unit feeds back and updates the link state according to the message transceiving action of the message transceiving control unit.
10) The message buffering unit releases and recycles the message buffering resources which are sent to the backbone network.
As shown in fig. 2, the message transceiving control unit receives a message, extracts message control information, implements order-preserving buffering of the message according to an organization rule, selects a message transmission path according to a link state, performs order-preserving transmission of the message, receives the message processed by the back-end analysis system, and performs order-preserving transmission. When the link state is normal, the forwarding path of the message is (i) → ((r) → → sixthly), and when the link state is abnormal, the forwarding path of the message is (i) → seventy → sixthly.
The message buffer unit buffers the order-preserving messages according to a certain organization rule, and performs buffer resource management. When buffering the message, different organization rules may be used for buffering, for example, a timestamp of the message or a timestamp that has been hashed is used, and after the message is sent to the backbone network, the relevant message buffering resources are recycled and released.
The link detection unit continuously detects whether the back-end analysis system link works normally, receives action feedback of the message processing control unit and updates the link state. The link detection unit may be a detection mechanism independent of the back-end analysis system, such as a high-precision timer, and in a set timer time, if the message transceiving control unit does not receive a message sent by the back-end analysis system, the link is considered to be interrupted; or a detection mechanism for implementing link detection in combination with the back-end analysis system, for example, implementing link detection according to the heartbeat message of the back-end analysis system.
The above-described embodiment is only a specific embodiment of the present invention, and is not intended to limit the present invention in any way, and all other embodiments obtained by a person of ordinary skill in the art based on changes, modifications, substitutions or alterations of the technical solution of the present invention are within the scope of the present invention without any creative effort.
Claims (4)
1. A lossless flow serial connection management method based on message buffering is characterized by comprising the following steps:
1) a user configures a link state detection mode of a link detection unit, and configures message buffering resources and a buffering mode of a message buffering unit;
2) starting a link detection unit, continuously detecting whether the link state of the back-end analysis system works normally or not and updating the link state;
3) a message receiving and sending control unit receives a service data message of a backbone network and extracts related control information of the service data message;
4) the message receiving and sending control unit stores the service data message into a message buffer unit for buffering according to a certain organization rule;
5) a message receiving and sending control unit acquires a link state of a back-end analysis system;
6) if the link of the back-end analysis system works normally, the message buffer unit sends the buffered service data message to the back-end analysis system;
7) after the service data message is analyzed by the back-end analysis system, the service data message is sent to the backbone network through the message transceiving control unit;
8) if the back end analysis system link is not working normally, the message buffer unit sends the buffered service data message to the backbone network;
9) the link detection unit feeds back and updates the link state according to the message transceiving action of the message transceiving control unit;
10) the message buffer unit releases and recycles the message buffer resources which are sent to the backbone network.
2. The message buffer-based lossless traffic concatenation management method according to claim 1, wherein: the message receiving and transmitting control unit receives the message, extracts message control information, implements order-preserving buffering of the message according to organization rules, selects a message transmitting path according to a link state, preserves the order and transmits the message, receives the message processed by the back-end analysis system, and transmits the message in a sequence-preserving manner.
3. The message buffer-based lossless traffic concatenation management method according to claim 1, wherein: and the message buffering unit buffers the order-preserving messages according to the incoming sequence of the messages and performs buffering resource management.
4. The message-buffering-based lossless traffic concatenation management method according to claim 1, wherein the link detection unit continuously detects whether a back-end analysis system link is working normally, receives and processes action feedback of the message transceiving control unit, and updates a link state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910438063.8A CN110190994B (en) | 2019-05-24 | 2019-05-24 | Lossless flow serial connection management method based on message buffering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910438063.8A CN110190994B (en) | 2019-05-24 | 2019-05-24 | Lossless flow serial connection management method based on message buffering |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110190994A CN110190994A (en) | 2019-08-30 |
CN110190994B true CN110190994B (en) | 2021-05-28 |
Family
ID=67717719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910438063.8A Active CN110190994B (en) | 2019-05-24 | 2019-05-24 | Lossless flow serial connection management method based on message buffering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110190994B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101514869A (en) * | 2009-03-18 | 2009-08-26 | 莱芜钢铁集团电子有限公司 | Industrial intelligent digital continuous monitoring analysis method and system |
CN102811152A (en) * | 2012-08-31 | 2012-12-05 | 南京鑫三强科技实业有限公司 | Method for realizing real-time transaction and data exchange of multiple main bus network communication |
CN108174400A (en) * | 2017-12-27 | 2018-06-15 | 瑞斯康达科技发展股份有限公司 | Data processing method and system, the equipment of a kind of terminal device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702372B (en) * | 2013-11-22 | 2018-02-02 | 北京邮电大学 | A kind of cloud base station traffic division methods, devices and systems |
US9621588B2 (en) * | 2014-09-24 | 2017-04-11 | Netflix, Inc. | Distributed traffic management system and techniques |
-
2019
- 2019-05-24 CN CN201910438063.8A patent/CN110190994B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101514869A (en) * | 2009-03-18 | 2009-08-26 | 莱芜钢铁集团电子有限公司 | Industrial intelligent digital continuous monitoring analysis method and system |
CN102811152A (en) * | 2012-08-31 | 2012-12-05 | 南京鑫三强科技实业有限公司 | Method for realizing real-time transaction and data exchange of multiple main bus network communication |
CN108174400A (en) * | 2017-12-27 | 2018-06-15 | 瑞斯康达科技发展股份有限公司 | Data processing method and system, the equipment of a kind of terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN110190994A (en) | 2019-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9515919B2 (en) | Method and apparatus for protection switching in packet transport system | |
US20140258772A1 (en) | Utilizing backward defect indications in y-cable protection switching | |
EP2081322B1 (en) | A method and device implementing link pass through in a point-to-multipoint network | |
WO2015124009A1 (en) | Data packet forwarding method, device and system | |
CN107395425A (en) | A kind of flexibly Ethernet 1+1 protection switches implementation method | |
CN104518914B (en) | Link switch-over method and equipment | |
CN105471648A (en) | Zigbee network system and standby assistance method therefor | |
CN103078791A (en) | Method, device and system for processing operation, administration and maintenance (OAM) message | |
CN110808873A (en) | Method and device for detecting link failure | |
CN107995130A (en) | A kind of fast shifting method of fragment message | |
CN110601919A (en) | Loopback detection method and system | |
CN111049690A (en) | Equipment fault monitoring processing method, device, equipment and storage medium | |
US20080002569A1 (en) | Method and apparatus for identifying a fault in a communications link | |
CN103051482B (en) | Based on a kind of port isolation of FC switch and the implementation method of recovery | |
CN110190994B (en) | Lossless flow serial connection management method based on message buffering | |
CN108965027A (en) | A kind of CES service nondestructive transfer approach | |
CN110213176B (en) | Message processing method, device, equipment and medium of switch | |
CN110381319B (en) | Image coding and decoding method and device | |
CN115549774B (en) | Optical signal processing method, device, chip, system and medium | |
JP2015139110A (en) | Relay system and switch device | |
CN114205263B (en) | Communication method, system and storage medium for Ether CAT network | |
CN101494801A (en) | Method, system and network appliance for fault recovery | |
CN101883008A (en) | Subnet protection method for transport multi-protocol label switching network and device thereof | |
CN101741617A (en) | Method and device for positioning fault | |
Ra et al. | Implementation of FPGA‐based MPLS‐TP linear protection switching for 4000+ tunnels in packet transport network for optical carrier Ethernet |
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 |