CN106576108A - Communication method and device, and system in communication system - Google Patents

Communication method and device, and system in communication system Download PDF

Info

Publication number
CN106576108A
CN106576108A CN201580000771.3A CN201580000771A CN106576108A CN 106576108 A CN106576108 A CN 106576108A CN 201580000771 A CN201580000771 A CN 201580000771A CN 106576108 A CN106576108 A CN 106576108A
Authority
CN
China
Prior art keywords
message
master controller
transponder
tcp
network equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201580000771.3A
Other languages
Chinese (zh)
Other versions
CN106576108B (en
Inventor
赵华
许健彬
倪辉
熊怡
闫长江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106576108A publication Critical patent/CN106576108A/en
Application granted granted Critical
Publication of CN106576108B publication Critical patent/CN106576108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A communication method in a communication system, which is used for solving the technical problem that a large amount of TCP information needs to be synchronized in real time between a main and a backup controller in an existing SDN, resulting in a heavy burden of the main and the backup controller, thereby affecting system performance. Also provided are a corresponding device and system. In some feasible embodiments of the present invention, the communication system comprises a main controller, a backup controller, a forwarder and a network device, wherein the forwarder is used for receiving a packet of the main controller and forwarding same to the network device, or receiving a packet of the network device and forwarding same to the main controller. The method comprises: after receiving a packet from a main controller or a network device, a forwarder buffering the received packet; monitoring a processing state of the buffered packet, and deleting a processed packet in the buffered packet; and when a backup controller switches to a new main controller, sending an unprocessed packet in the buffered packet to the new controller.

Description

Communication means and equipment and system in communication system Technical field
The present invention relates to communication technical field, and in particular to communication means and equipment and system in a kind of communication system.
Background technology
Software defined network (Software Defined Network, SDN), it is a kind of implementation of network virtualization, its core technology OpenFlow is by the way that network equipment chain of command and data surface are separated, it is achieved thereby that the flexible control of network traffics, making network as pipeline becomes more intelligent.SDN has peeled off all advanced processes functions of the interchanger in addition to flow is forwarded, and this partial higher processing function is had been moved in single equipment i.e. controller.Exchanged between interchanger and controller using control passage agreement (such as OpenFlow agreements), control instruction is sent by controller, interchanger, which is responsible for receiving, instructs and carry out corresponding data forwarding.
In order to lift the reliability of controller in SDN, deployment dual controller is generally required, wherein, master controller finishing service processing, preparation controller is used as backup.When master controller fault, preparation controller replaces master controller in real time, performs business processing;Whole process, the opposite equip. communicated with active and standby controller does not perceive the process of active and standby controller switching.
In existing technical scheme, by real-time synchronization TCP between active and standby controller (Transmission Control Protocol, transmission control protocol) message information, the reliability of the agreement based on TCP connections is realized.In order to realize active and standby controller defencive function, carry out the opposite equip. based on the TCP protocol communications being connected with controller and do not perceive the process of active and standby controller switching, it is necessary to which preparation controller carries out real-time sense to protocol massages.
Practice is found, the program needs a large amount of TCP messages of real-time synchronization between active and standby controller, particularly under many standby scenes of a master, and master controller needs to carry out multiple real-time data synchronization with multiple preparation controllers simultaneously, cause active and standby controller heavy load, it is larger for whole system performance impact.
The content of the invention
The embodiment of the present invention provides communication means and equipment and system in a kind of communication system, to solve to need a large amount of TCP messages of real-time synchronization in existing SDN between active and standby controller, cause active and standby controller burden compared with Weight, influences the technical problem of systematic function.
First aspect present invention provides the communication means in a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:The transponder caches the message received after the message from the master controller or the network equipment is received;The transponder monitors the processing state of the message of the caching, and deletes the message being disposed in the message of the caching;When the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder.
With reference in a first aspect, in the first possible implementation, the processing state of the message of the transponder monitoring caching, and delete the message being disposed in the message of the caching and include:The indicated value of message that the transponder reception master controller or the network equipment are sent, being disposed for instruction, the message being disposed in the message of the caching is deleted according to the indicated value.
With reference to the first possible implementation of first aspect, in second of possible implementation, the message is transmission control protocol TCP message, and the message that the caching is received includes:Source IP address, purpose IP address, source port and destination interface in the heading for the message that the transponder is received according to, confirm corresponding TCP connections;TCP connection of the transponder based on the confirmation, determines the TCP sequence number of the message, the message and the TCP sequence number of the message received received described in caching.
With reference to second of possible implementation of first aspect, in the third possible implementation, the message of the caching enters direction message including the network equipment to what the master controller was sent, the transponder monitors the processing state of the message of the caching, and deletes the message being disposed in the message of the caching and include:The transponder receives the response message that the main controller is returned, and the response message includes the first indicated value, the first indicated value instruction master controller be disposed last enter direction message end byte TCP sequence number;The transponder is from the message of the caching, and by the TCP sequence number of end byte is not more than first indicated value, at least one enters the deletion of direction message.
With reference to first aspect the first any of to the third possible implementation, in the 4th kind of possible implementation, the message of the caching includes the master controller to going out that the network equipment is sent Direction message, the transponder monitors the processing state of the message of the caching, when it is determined that at least one message in the message of the caching has been disposed, and at least one message being disposed in the message of the caching, which is deleted, to be included:The transponder receives the feedback message that the network equipment is returned, and the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;From the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value is deleted.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, methods described also includes:The transponder sends response message to the master controller, and the response message includes the TCP sequence number of the end byte of last outgoing packet in the message of the caching;The transponder receives the notification message that the master controller is sent, and the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the TCP sequence number of the end byte of processed last outgoing packet finished of master controller;It is described from the message of the caching, by the TCP sequence number of end byte be less than second indicated value at least one outgoing packet delete include:From the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value is deleted.
With reference to first aspect the first any of to the 5th kind of possible implementation, in the 6th kind of possible implementation, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
Any of second to the 5th kind possible implementation with reference to first aspect, in the 7th kind of possible implementation, the message and the TCP sequence number of the message received received described in the caching includes:The transponder is cached after being sorted to the message received according to TCP sequence number.
With reference to first aspect the first any of to the 7th kind of possible implementation, in the 8th kind of possible implementation, the message received that caches includes:When the transponder receives the message that the master controller or the network equipment are retransmitted, the message of the re-transmission is cached;Described when new master controller is switched to when the preparation controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder to be included:When the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
With reference to the 4th kind of first aspect or the 5th kind of possible implementation, in the 9th kind of possible implementation, methods described also includes:The transponder indicates position according to the burst in the heading of the outgoing packet, the outgoing packet received described in identification whether be a complete TCP message burst;If so, the transponder is after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment.
Second aspect of the present invention provides the communication means in a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:The master controller receives the message from the network equipment of the transponder forwarding, and the message received is handled;The master controller sends the indicated value of the message for indicating to be disposed to the transponder.
With reference to second aspect, in the first possible implementation, the message is transmission control protocol TCP message, and the indicated value of message of the master controller to the transponder transmission master controller, for indicating to be disposed includes:The master controller sends response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, and the response message is used to delete at least one TCP message that the TCP sequence number of in the TCP message of own cache, end byte is not more than first indicated value by the transponder.
With reference to the first possible implementation of second aspect or second aspect, in second of possible implementation, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
With reference to second of possible implementation of second aspect, in the third possible implementation, the master controller includes to the TCP message progress processing received:The heading of the TCP message is removed, the data division of the TCP message is obtained;Complete sub- message is recovered from the data division of the TCP message;Persistence processing is carried out to the sub- message.
Third aspect present invention provides the communication means in a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, Huo Zhejie Receive the message of the network equipment and be transmitted to the master controller, methods described includes:The master controller sends message to the transponder, and the message of transmission is used to send to the network equipment after caching by the transponder;The main control is handled the message of the transmission;The master controller sends the indicated value of the message for indicating to be disposed to the transponder.
With reference to the third aspect, in the first possible implementation, the message is transmission control protocol TCP message, and the main control includes to message progress processing:The main control receives the response message that the transponder is sent, and the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;The main control is handled the TCP message according to the response message;The indicated value of message of the master controller to the transponder transmission master controller, for indicating to be disposed includes:The master controller sends a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is not more than the 3rd indicated value by the TCP sequence number that the transponder is used in the message that will cache, end byte and one or more TCP messages less than the second indicated value are deleted, and second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message received.
With reference to the first possible implementation of the third aspect or the third aspect, in second of possible implementation, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
With reference to second of possible implementation of the third aspect, in the third possible implementation, the master controller includes to TCP message progress processing:The routing iinformation of the TCP message is obtained, persistence processing is carried out to the routing iinformation.
Fourth aspect present invention provides the transponder in a kind of communication system, the communication system includes master controller, preparation controller, the transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the transponder includes:Cache module, after receiving the message from the master controller or the network equipment in the transponder, caches the message received;Processing module, the processing state of the message for monitoring caching, and delete the message being disposed in the message of the caching;Sending module, for being switched to newly when the preparation controller Master controller when, the message being not yet disposed in the message of the caching is sent to the new master controller.
With reference to fourth aspect, in the first possible implementation, the transponder also includes:Receiving module, for receive it is that the master controller or the network equipment are sent, for the indicated value for the message for indicating to be disposed;The message being disposed in message of the residing processing module specifically for deleting the caching according to the indicated value.
With reference to the first possible implementation of fourth aspect, in second of possible implementation, the message is transmission control protocol TCP message, and the cache module includes:Confirmation unit, for source IP address, purpose IP address // source port and the destination interface in the heading of the message received according to, confirms corresponding TCP connections;Determining unit, for the TCP connections based on the confirmation, determines the TCP sequence number of the message;Buffer unit, the TCP sequence number for caching the message received and the message received.
With reference to second of possible implementation of fourth aspect, in the third possible implementation, the message of the caching enters direction message including the network equipment to what the master controller was sent, and the transponder also includes:Receiving module, for receiving the response message that the main controller is returned, the response message includes the first indicated value, the first indicated value instruction master controller be disposed last enter direction message end byte TCP sequence number;The processing module is specifically for from the message of the caching, and by the TCP sequence number of end byte is not more than first indicated value, at least one enters direction message deletion.
With reference to fourth aspect the first any of to the third possible implementation, in the 4th kind of possible implementation, the message of the caching includes the outgoing packet that the master controller is sent to the network equipment, and the transponder also includes:Receiving module, for receiving the feedback message that the network equipment is returned, the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;The processing module is specifically for from the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value is deleted.
With reference to the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation, the sending module is additionally operable to send response message to the master controller, the response message includes described The TCP sequence number of the end byte of last outgoing packet in the message of caching;The receiving module, it is additionally operable to receive the notification message that the master controller is sent, the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the TCP sequence number of the end byte of processed last outgoing packet finished of master controller;The processing module is specifically for from the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value is deleted.
With reference to fourth aspect or fourth aspect the first any of to the 5th kind of possible implementation, in the 6th kind of possible implementation, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
Any of second to the 5th kind possible implementation with reference to fourth aspect, in the 7th kind of possible implementation, the buffer unit, specifically for being cached after being sorted to the message received according to TCP sequence number.
With reference to fourth aspect the first any of to the 7th kind of possible implementation, in the 8th kind of possible implementation, the cache module, is additionally operable to, when the transponder receives the message that the master controller or the network equipment are retransmitted, cache the message of the re-transmission;The sending module, it is additionally operable to when the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
Any of the 4th kind to the 5th kind possible implementation with reference to fourth aspect, in the 9th kind of possible implementation, the transponder also includes:Identification module, position is indicated for the burst in the heading according to the outgoing packet, the outgoing packet that receives described in identification whether be a complete TCP message burst;The sending module, if being additionally operable to the identification module identifies that the outgoing packet received is the burst of a complete TCP message, then after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment.
Fifth aspect present invention provides the master controller in a kind of communication system, the communication system includes the master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the master controller includes:Receive Module, the message from the network equipment for receiving the transponder forwarding;Processing module, for handling the message received;Sending module, the indicated value for sending the message for indicating to be disposed to the transponder.
With reference to the 5th aspect, in the first possible implementation, the master controller also includes:Receiving module, for receiving the response message that the transponder is sent, the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;The processing module, specifically for being handled according to the response message the TCP message;The sending module, specifically for being sent a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message of reception.
With reference to the 5th aspect or the first possible implementation of the 5th aspect, in second of possible implementation, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
With reference to second of possible implementation of the 5th aspect, in the third possible implementation, the processing module is specifically for by the heading removal of the TCP message, obtaining the data division of the TCP message;Complete sub- message is recovered from the data division of the TCP message;Persistence processing is carried out to the sub- message.
Sixth aspect present invention provides the master controller in a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the master controller includes:Sending module, for sending message to the transponder, the message is used to send to the network equipment after caching by the transponder;Processing module, for handling the message;The sending module, is additionally operable to the indicated value that the master controller sends the message for indicating to be disposed to the transponder.
With reference to the 6th aspect, in the first possible implementation, the master controller also includes:Receiving module, for receiving the response message that the transponder is sent, the response message includes the transponder The TCP sequence number of the end byte of last TCP message cached;The processing module, specifically for being handled according to the response message the TCP message;The sending module, specifically for being sent a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message of reception.
In the first possible implementation with reference to the 6th aspect or the 6th aspect, in second of possible implementation of the 6th aspect, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
With reference to second of possible implementation of the 6th aspect, in the third possible implementation, the processing module, the routing iinformation specifically for obtaining the TCP message carries out persistence processing to the routing iinformation.
Seventh aspect present invention provides a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, wherein, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller;And, after the message from the master controller or the network equipment is received, the message received is cached, the processing state of the message of caching is monitored, and deletes the message being disposed in the message of the caching;When the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder;The master controller is used to send message to the transponder, and the message of transmission is handled, or, the message from the network equipment of the transponder forwarding is received, the message received is handled;And, the indicated value of the message for indicating to be disposed is sent to the transponder;The network equipment is used to send message to the transponder, or, receive the message from the master controller of the transponder forwarding;The preparation controller, in the master controller fault, switching to new master controller.
Therefore, in some feasible embodiments of the invention, the message received is cached using by transponder, the message of caching is just deleted after confirming that the message of caching is processed and finishing, if active and standby controller has carried out identity switching, then by caching, the message that is not yet disposed be uploaded to the technical scheme of new master controller Achieve following technique effect:Data backup is carried out by using transponder caching message, it is to avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment and description of the prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 a are the schematic network structures of SDN in the embodiment of the present invention;
Fig. 1 b are the structural representations of IP messages;
Fig. 1 c are the structural representations of IP stems;
Fig. 1 d are the structural representations of TCP stems;
Fig. 1 e are the schematic diagrames that active and standby controller carries out identity switching;
Fig. 1 f are the schematic diagrames of TCP message burst;
Fig. 1 g are the schematic diagrames that TCP message is retransmitted;
Fig. 2 be the embodiment of the present invention one provide a kind of communication system in communication means flow chart;
Fig. 3 a be the embodiment of the present invention two provide a kind of communication system in communication means flow chart;
The schematic diagram for one concrete application scene of the present invention that Fig. 3 b are;
Fig. 4 a be the embodiment of the present invention three provide a kind of communication system in communication means flow chart;
The schematic diagram for another concrete application scene of the invention that Fig. 4 b are;
The schematic diagram for another concrete application scene of the embodiment of the present invention that Fig. 4 c are;
Fig. 5 be the embodiment of the present invention four provide a kind of communication system in communication means flow chart;
Fig. 6 be the embodiment of the present invention five provide a kind of communication system in communication means flow chart;
Fig. 7 a be the embodiment of the present invention six provide a kind of communication system in transponder schematic diagram;
Fig. 7 b be the embodiment of the present invention six provide another communication system in transponder schematic diagram;
Fig. 8 be the embodiment of the present invention seven provide a kind of communication system in master controller schematic diagram;
Fig. 9 a be the embodiment of the present invention eight provide a kind of communication system in master controller schematic diagram;
Fig. 9 b be the embodiment of the present invention eight provide another communication system in master controller schematic diagram;
Figure 10 is the schematic diagram of the transponder in a kind of communication system provided in an embodiment of the present invention;
Figure 11 is the schematic diagram of the master controller in a kind of communication system provided in an embodiment of the present invention;
Figure 12 is the schematic diagram of the master controller in a kind of communication system provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provides communication means and equipment and system in a kind of communication system, to solve to need a large amount of TCP messages of real-time synchronization in existing SDN between active and standby controller, causes active and standby controller heavy load, influences the technical problem of systematic function.The embodiment of the present invention also provides corresponding transponder.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made should all belong to the scope of protection of the invention.
Below by specific embodiment, it is described in detail respectively.
Embodiment one
Fig. 1 a are refer to, are the schematic network structures for the communication system being related in the embodiment of the present invention.
The communication system can be specifically software defined network (SDN), and SDN includes controller, transponder and the network equipment.Wherein, controller has two or more, specifically includes a master controller and at least one preparation controller.Controller can be hardware unit or virtual machine, for example, can be specifically the virtual machine run in physical server or physical server.Transponder can be the forwarding unit such as physics or virtual interchanger or router.Interacted between controller and transponder using OpenFlow agreements.Transponder carries out data forwarding, for the message of master controller to be transmitted into the network equipment, or the message of the network equipment is transmitted into master controller according to the instruction of controller.The message that the message or the network equipment that controller is sent are sent, all by transponder.
Described communication system is not limited to telecommunication system, can also be the communication system of other field, the communication system of such as IT (Information Technology, information technology) equipment composition etc..
Wherein, master controller finishing service is handled, and preparation controller is used as backup.Transponder is only interacted with master controller, receives the instruction control of master controller.When master controller fault, preparation controller replaces master control in real time Device processed, business processing is performed as new master controller;In whole process, the opposite equip. (such as the network equipment in Fig. 1 a) communicated with active and standby controller is not perceived.
Herein, master controller and the message of network equipment interaction can be any protocol massages based on TCP connections, for example can be BGP (Border Gateway Protocol, Border Gateway Protocol) message, or LDP (Label Distribution Protocol, tag distribution protocol) message etc..General, TCP message is carried using IP (agreement interconnected between Internet Protocol, network) messages, BGP messages or LDP messages are carried with TCP message.The heading of the outer envelope of the BGP messages or LDP messages of master controller and network equipment interaction includes TCP stems and IP stems.
As shown in Figure 1 b, BGP messages or LDP messages are carried in the data field of TCP message, and TCP message is carried in the data field of IP messages.
As illustrated in figure 1 c, be IP messages IP stems structural representation.Source IP address (i.e. 32 potential source IP address in Fig. 1 c) and purpose IP address (i.e. 32 purpose IP address in Fig. 1 c) comprising IP messages in IP stems.
As shown in Figure 1 d, be TCP message TCP stems structural representation.The source port (i.e. 16 potential source ports in Fig. 1 d) and destination interface (i.e. 16 destination interfaces in Fig. 1 d) of TCP message are included in TCP stems, includes the TCP sequence number (i.e. 32 sequence numbers in Fig. 1 d) of TCP message.
Each byte of the data field of TCP message is general to that should have a TCP sequence number, and the TCP sequence number of the start byte of the data field of TCP message is carried in TCP stems (32 sequence numbers), the TCP sequence number of the TCP message is used as.For example, the TCP sequence number of a TCP message is 100, then it represents that the TCP sequence number of the start byte of the data field of the TCP message is 100, and the TCP sequence number of each byte after the start byte is 101,102,103 ... successively.
The length value of TCP message is typically carried in IP stems (i.e. 16 total lengths in Fig. 2 b), according to the TCP sequence number of TCP message and the length of TCP message, the TCP sequence number of the end byte (end byte of abbreviation TCP message) for the data field for obtaining TCP message can be calculated.For example, the TCP sequence number of a TCP message is 100, and the length of the TCP message was 50 (representing the data field of TCP message includes 50 bytes), then the TCP sequence number of the end byte of the TCP message is 100+50-1=149.
, herein, can be by the starting TCP sequence number of the TCP sequence number of TCP message, referred to as TCP message for convenience of recognizing;The TCP sequence number of the end byte of TCP message can be referred to as terminating TCP sequence number.
Fig. 2 is refer to, the embodiment of the present invention provides the communication means in a kind of communication system.
Wherein, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller.
The core concept of technical scheme of the embodiment of the present invention is, preparation controller is replaced by transponder, the message that the message or the network equipment sent to master controller is sent carries out real-time sense, and caches the message listened to, after the cached message of confirmation is processed and finished, the message of caching is just deleted.So, the message being not yet disposed will be buffered in transponder.Work as master controller fault, when master controller and preparation controller have carried out identity switching, all messages being not yet disposed of caching are just uploaded to new master controller by transponder, so that business is not interrupted when realizing active and standby controller switching, data are not lost.
As shown in Fig. 2 present invention method can include:
201st, the transponder caches the message received after the message from the master controller or the network equipment is received.
In the embodiment of the present invention, transponder is received in the message from the master controller or the network equipment, and the message received is cached first, is finished message for buffered, is just forwarded.Described caching, can be stored in the local storage device of transponder or be stored in other third-party storage devices.Also, after forwarding, the message forwarded is not deleted.
Herein, described message can be any protocol massages based on TCP connections, abbreviation TCP message.The message that described caching is received may include:According to source IP address, purpose IP address, source port and the destination interface in the heading of the message received, corresponding TCP connections are confirmed;TCP connections based on the confirmation, it is determined that the TCP sequence number of the message received, the message and the TCP sequence number of the message received described in caching.The message is TCP message, and the TCP sequence number of the message refers to the TCP sequence number (the starting TCP sequence number that may be simply referred to as message) of the start byte of the data field of TCP message.In the communication connected based on TCP, one group of source IP address, purpose IP address, source port, and destination interface, uniquely one TCP connection of correspondence.
When there is multiple TCP connections, for the message that unique identification is received, transponder needs the corresponding TCP connections of message acknowledged receipt of, and further confirms that the TCP sequence number of the message, is connected with corresponding TCP Connect with both parameters of TCP sequence number to mark the message received.
Optionally, transponder can set multiple memory cell in the storage device, and multiple memory cell correspond respectively to multiple TCP connections, the message received are cached in different memory cell respectively according to affiliated TCP connections, to facilitate subsequent treatment.
The described caching message and the TCP sequence number of the message can have two ways, and one kind is only to cache message, and due to including the TCP sequence number of message in message, caching message is also implied that while having cached the TCP sequence number of message;Another is that when caching message, the TCP sequence number of outgoing packet is extracted from message, and the TCP sequence number of caching message is corresponded in addition.
202nd, the transponder monitors the processing state of the message of the caching, and deletes the message being disposed in the message of the caching.
In the present embodiment, the processing state of all messages cached in transponder monitoring buffer storage judges whether each message cached has been disposed.Described processing refers to by the master controller and/or the network device processing, wherein, enter direction message for what the network equipment was sent to master controller, it is only necessary to monitor whether master controller is disposed;The outgoing packet of the network equipment is sent for master controller, the monitoring network equipment whether can only be disposed, master controller can also be monitored simultaneously and whether the network equipment is all disposed.
Optionally, master controller or the network equipment can be sent, the indicated value for the message being disposed for instruction is to transponder, the numbering for the message that the master controller or the network equipment have been disposed can be included in the indicated value, each message is consistent with the numbering at the network equipment in the master controller, so as to inform which message transponder has been disposed, what transponder was sent by receiving the master controller or the network equipment, for the indicated value for the message for indicating to be disposed, to confirm which message has been disposed, the message being disposed in the message of the caching is deleted according to the indicated value.For the message being disposed in the message of caching, deleted;The message being not yet disposed, then not delete.Numbering in the indicated value, can be the TCP sequence number of message, or, it can also for example generate a kind of brand-new numbering to mark message with other numberings.
203rd, when the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder.
In the present embodiment, when the master controller fault, when the preparation controller switches to new master controller, Transponder can learn that active and standby controller has carried out identity switching by being interacted with main or preparation controller.At this time, due to original master controller fault, message being cached in transponder, being not yet disposed, it will not be continued with by original master controller, then, the message being not yet disposed in the message of caching can be sent to the new master controller by transponder, be handled by new master controller.So as to when active and standby controller switches, it is ensured that business is not interrupted, and data are not lost.
Therefore, the embodiments of the invention provide the communication means in a kind of communication system, achieve following technique effect:Pass through transponder and cache message, realize the hot standby communication of controller based on TCP connections, it is to avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigation system load effectively improves system effectiveness and reliability;Meanwhile, respective TCP message is cached respectively using different transponders, can be achieved to share system load on multiple devices, master controller can be avoided to turn into performance bottleneck.
Below, from outgoing direction (from master controller to network equipment direction) and enter direction (from the network equipment to master controller direction) respectively, present invention method is further described.
Embodiment two
Fig. 3 a are refer to, the embodiment of the present invention provides the communication means in a kind of communication system, and this method is used for SDN as shown in Figure 1a, and specifically for the processing for entering direction message sent to the network equipment to transponder, this method may include:
301st, transponder is received and buffer network equipment enters direction message to what transponder was sent;By it is described enter direction message be transmitted to the master controller.
In the embodiment of the present invention, transponder is based on TCP connections, and the direction message that enters that the network equipment is sent to master controller (in other words to transponder) is intercepted and caching process.Because transponder is responsible for forwarding the message of interaction between master controller and the network equipment, the network equipment enters direction message and can all pass through transponder to what master controller was sent, transponder can cache each pass through enter direction message.
Specifically, transponder can be connected with the real-time reception network equipment such as router and entered direction message to what master controller was sent by TCP;According to it is described enter direction message heading in source IP address, purpose IP address, source port, destination interface, confirm corresponding TCP connections;TCP connections based on the confirmation, determine the TCP sequence number of the message, enter described in caching direction message and it is described enter direction message TCP sequence number.
Wherein, the source IP address for entering direction message is the IP address of the network equipment, and purpose IP address is transponder IP address.Specifically, the source IP address for entering direction message is, for example, the bgp neighbor address of the network equipment, purpose IP address is, for example, the local ip address that master controller and the network equipment set up bgp neighbor, and the local ip address is the IP address on transponder.One group of source IP address, purpose IP address, source port, and destination interface, it may be determined that a pair of bgp neighbors (including master controller and a network equipment), a pair of bgp neighbor one TCP connections of correspondence.
Optionally, when buffering into direction message, direction message can be stored into different memory cell respectively according to the difference of the affiliated TCP connections of message.Each TCP connections enter direction packet storage in an independent memory cell, and correspondingly store each of the TCP connections and enter the TCP sequence number of direction message.It is preferred that, the direction message that enters of caching sorts according to TCP sequence number, is subsequently handled in order with facilitating.
Therefore, in the present embodiment, transponder is cached to the direction message that enters received first, cache finish enter direction message just on be sent to master controller and handled.
302nd, the transponder monitors the processing state for entering direction message of the caching, and at least one that be disposed in the message of direction of entering of the caching is entered into direction message deletion.
Enter direction message after transponder arrival master controller, master controller is handled entering direction message.After transponder, which confirms to be processed into direction message, to be finished, that is, delete cached message.In a kind of embodiment, after master controller is finished to entering direction Message processing, response message can be sent to transponder, the response message includes the first indicated value, and first indicated value indicates that last that the master controller has been disposed enters the TCP sequence number of the end byte of direction message;Transponder receive master controller return response message, from the message of the caching, by the TCP sequence number of end byte be not more than first indicated value at least one enter direction message (message being disposed) deletion.In other embodiment, transponder can also confirm to finish into direction message is processed otherwise, be transmitted to for example, will enter direction message after master controller certain time, it is believed that enter that direction message is processed to be finished;Herein, it is without restriction to validation testing.
In specific implementation, typically protocol stack SOCK modules and specific protocol process module, such as BGP processing modules or LDP processing modules are deployed with master controller.Herein by taking BGP processing modules as an example.
What master controller was received, which enter direction message, arrives first at SOCK modules, SOCK modules remove the heading (including IP stems and TCP stems) for entering direction message, the message carried such as BGP messages, then, BGP processing modules are transmitted to by the TCP sequence number of BGP messages and BGP messages.TCP sequence number can To be obtained from TCP stems.
BGP processing modules are handled entering direction message, after being disposed, and return to response message to transponder.Described processing for example can be persistence processing, i.e. enter direction packet storage into database by what is received;Described processing for example can also be to other processing modes.The first indicated value can be included in response message, first indicated value indicates that last processed finished of master controller enters the TCP sequence number of the end byte of direction message.Wherein, the TCP sequence number of message is subtracted 1 again plus message length, you can obtain the TCP sequence number of the end byte of message.Specifically, first indicated value can be the TCP sequence number for the end byte that last processed finished of master controller enters direction message, or, the first indicated value can also include TCP sequence number and its message length that last processed finished of master controller enters direction message.
Transponder receives the response message that master controller is returned, and obtains the first indicated value included in response message;Then, according to first indicated value from caching it is all enter direction message in find out at least one that be disposed and enter direction message, deleted.
303rd, when the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder.
Active and standby controller can be interacted by OpenFlow agreements with transponder, and transponder can be with the state of real-time perception controller and role, i.e. can perceive whether active and standby controller has carried out identity switching, and which current controller is master controller.
As shown in fig. le, when master controller there occurs failure, transponder detects master controller and a preparation controller has carried out identity switching, when a preparation controller switches to new master controller, and transponder carries out data smoothing with new master controller.Described data smoothing is specially:Transponder by caching it is all be not yet disposed enter direction message, be uploaded to new master controller, handled by new master controller.Because still untreated message is retransmitted to new master controller, master controller can recover business accordingly, and when realizing active and standby controller switching, the business for entering direction message is not interrupted, and data are not lost.
It should be noted that agency (AGENT) module can be disposed in the embodiment of the present invention in transponder, by taking BGP messages as an example, a BGP AGENT module can be disposed.Above method flow, the proxy module that can be disposed in transponder is embodied.Proxy module can be interacted only with master controller.
Fig. 3 b are refer to, are the schematic diagrames of one concrete application scene of the embodiment of the present invention.As shown in Figure 3 b, The handling process for entering direction message may include:
(1) the BGP AGENT modules in transponder are received and cached after message TCP1 and TCP2, and TCP1 and TCP2 are sent in the SOCK modules into master controller.Wherein, TCP1 TCP sequence number is 100, and message length is 50;TCP2 TCP sequence number is 150, and message length is 50.
(2) in master controller, SOCK modules report the TCP1 and TCP2 for having removed heading, and the respective TCP sequence numbers of TCP1 and TCP2 to BGP processing modules.Wherein, it for example can be BGP messages that TCP1 and TCP2, which is removed after heading,.
(3) in master controller, the complete BGP messages carried in TCP1 and TCP2 are for example updated (update) message and report BGP processing modules by BGP processing modules, and the TCP sequence number of the end byte of update messages is reported into BRM (BGP Route Management, BGP routing management) module in the lump.Where it is assumed that the length of update messages is 75, carried by TCP1 and TCP2, the TCP sequence number of update messages is 100, the TCP sequence number of end byte is 175, i.e. preceding 50 bytes of update messages are carried in TCP1, and rear 25 bytes are carried in TCP2.
(4) BRM modules carry out persistence processing to update messages, after being disposed, and notify BGP processing modules to be disposed, specifically, TCP sequence number 175 can be notified to BGP processing modules.
(5) response message of BGP processing modules return carrying TCP sequence number 175 gives BGP AGENT modules.The TCP sequence number that BGP-AGENT modules delete end byte is not more than the complete of specific sequence number 175 and enters direction message, then:TCP1 is only deleted, retains TCP2.
Optionally, in the embodiment of the present invention, the proxy module disposed in transponder can perceive TCP sequence number and protocol massages border, support to handle TCP re-transmissions, out of order, burst accordingly.There is the possibility retransmitted in TCP message, it is to retransmit message in receiving terminal to need which is distinguished by TCP sequence number;TCP message walks heterogeneous networks path, and message reaches that order can be different with transmitting terminal;TCP message super large, may be divided into multi-disc message on network path, need to recombinate fragment message in receiving terminal.In the embodiment of the present invention, it can be handled as follows for several special circumstances for entering direction message:
First, TCP message is out of order:It is possible that out of order in TCP message transmitting procedure, BGP AGENT modules can sort to the TCP message of caching according to TCP sequence number, facilitate the deletion of further cache message;That is, described transponder is cached after being sorted to the message received according to TCP sequence number.
2nd, TCP bursts:According to link MTU (Maximum Transmission in one TCP message transmission Unit, MTU) it is of different sizes, it may be fragmented, BGP AGENT modules can indicate position according to the burst in IP stems, identification is divided into the TCP message of multiple bursts, unified when deleting a TCP message to delete.Wherein, the burst sign position can be specifically the 13 bit slices skew in Fig. 2 b IP stems, and different bursts are represented with no burst sign position.As shown in Figure 1 f, it is the schematic diagram of TCP bursts.
In other words, the transponder can according to it is described enter direction message heading in burst indicate position, identification described in receive enter direction message whether be a complete TCP message burst;If so, the transponder is from the message of the caching, by the TCP sequence number of end byte is not more than first indicated value, at least one enters direction message and deleted to include:When the TCP sequence number of the end byte of the complete TCP message is not more than first indicated value, whole bursts of the complete TCP message are deleted together.
3rd, TCP is retransmitted:Master controller or the network equipment may retransmit TCP message, and may reconstructed file.As shown in Figure 1 g, now BGP-AGENT modules can preserve the message before and after retransmitting, and when transponder receives the message that the master controller or the network equipment are retransmitted, can cache the message of the re-transmission;When the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
Embodiment three
Fig. 4 a are refer to, the embodiment of the present invention provides the communication means in another communication system, and this method is used for SDN as shown in Figure 1a, and specifically for the processing of the outgoing packet sent to master controller to transponder, this method may include:
401st, transponder receives and cached the outgoing packet that master controller is sent to transponder;The outgoing packet is transmitted to the network equipment.
In the embodiment of the present invention, transponder is based on TCP connections, and the outgoing packet that master controller is sent to the network equipment (in other words to transponder) is intercepted and caching process.Because transponder is responsible for forwarding the message of interaction between master controller and the network equipment, the outgoing packet that master controller is sent to the network equipment can all pass through transponder, and transponder can cache the outgoing packet each passed through.
Specifically, transponder real-time reception master controller is connected to the network equipment such as router, the outgoing packet of transmission by TCP;According to the source IP address in the heading of the outgoing packet, purpose IP address, source port, destination interface confirms corresponding TCP connections;TCP connections based on the confirmation, determine institute The TCP sequence number of message is stated, the TCP sequence number of the outgoing packet and the outgoing packet is cached;In addition, can return to the response message of the TCP sequence number of the end byte comprising last buffered outgoing packet to the master controller.
Wherein, the purpose IP address of outgoing packet is the IP address of the network equipment, and source IP address is the IP address of transponder.Specifically, the purpose IP address of outgoing packet is, for example, the bgp neighbor address of the network equipment, source IP address is, for example, the local ip address that master controller and the network equipment set up bgp neighbor, and the local ip address is the IP address on transponder.One group of source IP address, purpose IP address, source port, and destination interface, it may be determined that a pair of bgp neighbors (including master controller and a network equipment), a pair of bgp neighbor one TCP connections of correspondence.
Wherein, outgoing packet specifies TCP sequence number by the BGP processing modules in master controller, and TCP sequence number and outgoing packet are issued into SOCK modules;TCP is that the TCP sequence number that such as BGP processing modules are specified is 100 based on stream, the BGP messages of one length 100 of transmission, the TCP sequence number 100 of BGP messages, and the TCP sequence number of the end byte of BGP messages is 100+100-1=199.SOCK modules, which encapsulate BGP messages, includes the heading Backwards Forwarding device transmission of TCP/IP stems.
In the present embodiment, transponder is cached to the outgoing packet received first, is cached the outgoing packet finished and is just transmitted to the network equipment.The TCP sequence number of the end byte of buffered outgoing packet is recorded simultaneously, and the response message of the carrying of the transmission sequence number notifies BGP processing modules to have been received by the outgoing packet.
Specifically, the handling process of the outgoing packet between master controller and transponder may include:
1st, outgoing packet is sent to transponder by master controller in the way of transparent transmission;
2nd, transponder sends the response message for receiving outgoing packet to master controller;The TCP sequence number of the end byte of outgoing packet is carried in response message;
3rd, master controller is handled outgoing packet;
Described processing can include:The routing iinformation of corresponding outgoing packet is obtained according to the response message received, by the routing iinformation persistence of message, for example, database is stored in.In other words, master controller learns the routing iinformation for being forwarded device reception according to the response message received, will confirm that to be forwarded device and received and cache (means if it happens to switch, this message) routing iinformation stamp it is " processed " mark, record is in database (data recovery business of the preparation controller in this database), it is believed that stamps and " has located The master controller that the routing iinformation of reason " mark is new after generation is switched need not be resend to neighbours.
4th, master controller sends the notification message being disposed to transponder;The TCP sequence number of the end byte for the outgoing packet being disposed is carried in notification message.
402nd, the transponder monitors the processing state of the outgoing packet of the caching, and at least one outgoing packet being disposed in the outgoing packet of the caching is deleted.
In some embodiments, the handling process of the outgoing packet between the network equipment and transponder may include:
1st, outgoing packet is sent to the network equipment by transponder;
2nd, the network equipment is received after outgoing packet, and feedback message is sent to transponder.Optionally, the feedback message can be specifically TCP ACK (Acknowledgement confirms character).
More than, transponder receives the feedback message that the network equipment is returned, and the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;Transponder can be deleted at least one outgoing packet (that is, the outgoing packet being disposed) that the TCP sequence number of end byte is less than second indicated value from the message of the caching.Specifically, the second indicated value can be the TCP sequence number for next outgoing packet that the network equipment expects reception, or, the second indicated value can also include the TCP sequence number and its message length of last outgoing packet that the network equipment received.
Optionally, transponder can also receive the notification message of master controller transmission, and the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the TCP sequence number of the end byte of processed last outgoing packet finished of master controller;Transponder can be deleted at least one outgoing packet (that is, the outgoing packet being disposed) that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value from the message of the caching.Specifically, 3rd indicated value can be the TCP sequence number of the end byte of processed last outgoing packet finished of the master controller, or, the 3rd indicated value can also include the TCP sequence number and its message length of processed last outgoing packet finished of the master controller.
In other embodiment, transponder can also confirm that outgoing packet is processed otherwise and finish, for example, outgoing packet is transmitted to after network equipment certain time by transponder, it is believed that outgoing packet is processed to be finished;Herein, it is without restriction to validation testing.
Should be noted that is, the feedback message is that the network equipment is received and sent after outgoing packet, described Notification message is that master controller sends the corresponding routing iinformation progress persistence processing (being for example stored in database) of outgoing packet afterwards.
403rd, when the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder.
Active and standby controller is interacted by OpenFlow agreements with transponder, and transponder can be with the state of real-time perception controller and role, i.e. can perceive whether active and standby controller has carried out identity switching, and which current controller is master controller.
As shown in fig. le, when master controller there occurs failure, transponder detects master controller and preparation controller has carried out identity switching, when a preparation controller switches to new master controller, and transponder carries out data smoothing with new master controller.Described data smoothing is specially:All outgoing packets being not yet disposed of caching are uploaded to new master controller, handled by new master controller by transponder.Because still untreated message is retransmitted to new master controller, master controller can recover business accordingly, and when realizing active and standby controller switching, the business of outgoing packet is not interrupted, and data are not lost.
It should be noted that agency (AGENT) module can be disposed in the embodiment of the present invention in transponder, by taking BGP messages as an example, a BGP AGENT module can be disposed.Above method flow, the proxy module that can be disposed in transponder is embodied.Proxy module can be interacted only with master controller.Optionally, the proxy module of outgoing direction is used in the present embodiment, can be same proxy module or different proxy modules with being used for the proxy module into direction in Fig. 3 a embodiments.
Fig. 4 b are refer to, are the schematic diagrames of one concrete application scene of the embodiment of the present invention.As shown in Figure 4 b, the handling process to outgoing packet may include:
(1) such as BGP processing modules of the protocol process module in master controller, it is 200 to send message length to SOCK modules, and TCP sequence number is 200 BGP messages.Easily learn, the TCP sequence number of the start byte of the data field of the BGP messages is 200, the TCP sequence number of end byte is 399.
(2) SOCK modules are that BGP message encapsulated message heads are that message after TCP stems and IP stems, encapsulated message head is represented with TCP1, afterwards, TCP1 are sent to the BGP AGENT modules of transponder.
(3) BGP AGENT modules are cached to TCP1, then send TCP1 to the network equipment.
(3 ') BGP AGENT modules are received after TCP1, also return to the response message of TCP sequence number (i.e. 399) of the end byte comprising TCP1 to master controller;
(4) the corresponding routing iinformations of TCP1 are stored in database by the BGP processing modules in master controller, are realized after data persistence, and the notification message being disposed is sent to transponder;The 3rd indicated value is carried in notification message, i.e. the TCP sequence number of the end byte for the TCP1 being disposed such as 399.
(5) after BGP AGENT modules send TCP1 to the network equipment, it can receive and the second indicated value is included in the feedback message of network equipment return, feedback message, i.e., the network sets the TCP sequence number for the next outgoing packet for expecting processing, for example, can be 401.
(6) after the notified message of BGP AGENT modules and response message, the TCP sequence number for deleting end byte is not more than 399 outgoing packet.
What deserves to be explained is, BGP AGENT modules need to perceive BGP message boundaries, collecting complete BGP messages can just be sent out, otherwise, if BGP AGENT modules only receive half of BGP message, and rear half of BGP messages are not received because active and standby controller identity switches, then, unreceived half of BGP messages can not recover, and neighbor session can be caused to interrupt.Application scenarios for example shown in Fig. 4 c, flow includes:
(1) BGP processing modules send the BGP messages that length is respectively 600 and 300 to SOCK modules, and the starting TCP sequence number of former and later two BGP messages is respectively 200 and 800;
(2) two BGP messages are encapsulated as three TCP messages by SOCK modules, i.e. TCP1, TCP2, TCP3, wherein, TCP1 length and TCP sequence number is respectively 400 and 200, and TCP2 length and TCP sequence number are respectively 400 and 600, and TCP3 length and TCP sequence number are respectively 100 and 1000.
(3) SOCK modules send TCP1 to BGP AGENT modules, BGP AGENT module checks TCP1, it was found that BGP messages are imperfect, then local cache but do not sent to the network equipment such as LDM (Local Distribute Management, management is locally-assigned) equipment.
(4) SOCK modules continue to send TCP2 to BGP AGENT modules.
(5) BGP AGENT modules receive and check TCP1 and TCP2, it is found that length is complete for 600 BGP messages, then start to send TCP1 to the network equipment;And, after caching TCP2, TCP2 is sent to the network equipment.
In some embodiments of the invention, the proxy module disposed in transponder can perceive TCP sequence number and protocol massages border, support to handle TCP re-transmissions, out of order, burst accordingly.There is the possibility retransmitted in TCP message, it is to retransmit message in receiving terminal to need which is distinguished by sequence number;TCP message walks heterogeneous networks path, and message reaches that order can be different with transmitting terminal;TCP message super large, may be on network road It is divided into multi-disc message on footpath, needs to recombinate fragment message in receiving terminal.The processing of the special circumstances such as re-transmission, out of order, burst for outgoing packet, refers to the processing above to entering direction message.Wherein, for the processing of burst, with being slightly different to the processing for entering direction message, difference is, the transponder can indicate position according to the burst in the heading of the outgoing packet, the outgoing packet received described in identification whether be a complete TCP message burst;If so, the transponder is after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment;If not yet receiving whole bursts of complete TCP message, only cache and do not forward.For re-transmission, out of order processing, processing of the outgoing direction with entering direction message can be with identical.
Example IV
It refer to Fig. 5, the embodiment of the present invention also provides the communication means in a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:
501st, the master controller receives the message of the transponder forwarding from the network equipment, and the message received is handled;
502nd, the master controller sends the master controller, for the indicated value for the message for indicating to be disposed to the transponder.
In some specific implementations, the message is transmission control protocol TCP message, the master controller can send response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, and the response message is used to delete at least one TCP message that the TCP sequence number of in the TCP message of own cache, end byte is not more than first indicated value by the transponder.
Optionally, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
In some embodiments of the invention, the master controller includes to the TCP message progress processing received:
The heading of the TCP message is removed, the data division of the TCP message is obtained;
Complete sub- message is recovered from the data division of the TCP message;
Persistence processing is carried out to the sub- message.
Therefore, the embodiments of the invention provide the communication means in a kind of communication system, achieve following technique effect:Pass through transponder and cache message, realize the hot standby communication of controller based on TCP connections, it is to avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigation system load effectively improves system effectiveness and reliability;Meanwhile, respective TCP message is cached respectively using different transponders, can be achieved to share system load on multiple devices, master controller can be avoided to turn into performance bottleneck.
Embodiment five
It refer to Fig. 6, the embodiment of the present invention also provides the communication means in a kind of communication system, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:
601st, after the master controller generation transmission control protocol TCP message, message is sent to the transponder, the message of transmission is used to send to the network equipment after caching by the transponder.
602nd, the main control is handled the message of the transmission.
Optionally, the main control can receive the response message that the transponder is sent, and the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;The TCP message is handled according to the response message.
603rd, the master controller sends the master controller, for the indicated value for the message for indicating to be disposed to the transponder.
In some specific implementations, the master controller can send a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message of reception.
Optionally, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
In some embodiments of the invention, the master controller includes to TCP message progress processing:
The routing iinformation of the TCP message is obtained, persistence processing is carried out to the routing iinformation.
Therefore, the embodiments of the invention provide the communication means in a kind of communication system, achieve following technique effect:Pass through transponder and cache message, realize the hot standby communication of controller based on TCP connections, it is to avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigation system load effectively improves system effectiveness and reliability;Meanwhile, respective TCP message is cached respectively using different transponders, can be achieved to share system load on multiple devices, master controller can be avoided to turn into performance bottleneck.
In order to preferably implement the such scheme of the embodiment of the present invention, the relevant apparatus for implementing such scheme for coordinating is also provided below.
Embodiment six
It refer to Fig. 7 a, the embodiment of the present invention provides the transponder 700 in a kind of communication system, the communication system includes master controller, preparation controller, the transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the transponder may include:
Cache module 701, after receiving the message from the master controller or the network equipment in the transponder, caches the message received;
Processing module 702, the processing state of the message for monitoring the caching, and delete the message being disposed in the message of the caching;
Sending module 703, for when the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching to be sent into the new master controller.
Fig. 7 b are refer to, in some embodiments of the invention, the transponder 700 also includes:
Receiving module 704, for receive it is that the master controller or the network equipment are sent, for the indicated value for the message for indicating to be disposed;Residing processing module 702 can be specifically for the message being disposed in the message according to the indicated value deletion caching.
In some embodiments of the invention, cache module 701 can specifically include:
Confirmation unit, for source IP address, purpose IP address, source port and the destination interface in the heading of the message received according to, confirms corresponding TCP connections;
Determining unit, for the TCP connections based on the confirmation, determines the TCP sequence number of the message;
Buffer unit, the TCP sequence number for caching the message received and the message received.
In some embodiments of the invention, the message of the caching enters direction message including the network equipment to what the transponder was sent, refer to Fig. 7 b, transponder 700 can also include:Receiving module 704;
Receiving module 704, for receiving the response message that the main controller is returned, the response message includes the first indicated value, the first indicated value instruction master controller be disposed last enter direction message end byte TCP sequence number;
The processing module 702, specifically for from the message of the caching, by the TCP sequence number of end byte is not more than first indicated value, at least one enters direction message deletion.
In some embodiments of the invention, the message of the caching includes the outgoing packet that the master controller is sent to the transponder, refer to Fig. 7 b, transponder 700 can also include:Receiving module 704;The receiving module 704, for receiving the feedback message that the network equipment is returned, the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;The processing module 702, specifically for from the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than the second indicated value is deleted.
In some embodiments of the invention, the sending module 703, is additionally operable to send response message to the master controller, the response message includes the TCP sequence number of the end byte of last outgoing packet in the message of the caching;The receiving module 704, it is additionally operable to receive the notification message that the master controller is sent, the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the TCP sequence number of the end byte of processed last outgoing packet finished of master controller;The processing module 702 is specifically for from the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value is deleted.
Optionally, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
In some embodiments of the invention, the buffer unit, is particularly used in after being sorted to the message received according to TCP sequence number and caches.
In some embodiments of the invention, the cache module 701, is additionally operable to, when the transponder receives the message that the master controller or the network equipment are retransmitted, cache the message of the re-transmission;It is described Sending module 703, it is additionally operable to when the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
In some embodiments of the invention, the processing module 702, is additionally operable to the burst sign position in the heading according to the outgoing packet, the outgoing packet that receives described in identification whether be a complete TCP message burst;The sending module 703, if being additionally operable to the identification module identifies that the outgoing packet received is the burst of a complete TCP message, then after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment.
It is appreciated that the function of each functional module of the transponder of the embodiment of the present invention can be implemented according to the method in above method embodiment, it implements process and can refer to associated description in above method embodiment, and here is omitted.
Therefore, in some feasible embodiments of the present invention, there is provided the transponder in a kind of communication system, the message that the transponder can be received, the message of caching is just deleted after confirming that the message of caching is processed and finishing, if active and standby controller has carried out identity switching, by caching, the message that is not yet disposed be uploaded to new master controller, achieve following technique effect:
Data backup is carried out by using transponder caching message, it is to avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability;
Also, message is cached using multiple transponders, system load is shared on multiple devices, master controller can be avoided to turn into performance bottleneck.
Embodiment seven
It refer to Fig. 8, the embodiment of the present invention provides the master controller 800 in a kind of communication system, the communication system includes the master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the master controller 600 may include:
Receiving module 801, the message from the network equipment for receiving the transponder forwarding;
Processing module 802, for handling the message received;
Sending module 803, the finger for sending the message for indicating to be disposed to the transponder Indicating value.
In some embodiments of the invention, sending module 803, can be specifically for sending response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, and the response message is used to delete at least one TCP message that the TCP sequence number of in the TCP message of own cache, end byte is not more than first indicated value by the transponder.
In some embodiments of the invention, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
In some embodiments of the invention, the processing module 802 is specifically for by the heading removal of the TCP message, obtaining the data division of the TCP message;Complete sub- message is recovered from the data division of the TCP message;Persistence processing is carried out to the sub- message.
It is appreciated that the function of each functional module of the transponder of the embodiment of the present invention can be implemented according to the method in above method embodiment, it implements process and can refer to associated description in above method embodiment, and here is omitted.
Therefore, in some feasible embodiments of the present invention, there is provided the master controller in a kind of communication system, the master controller can send response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the response message is used in the message of own cache by the transponder, at least one TCP message that the TCP sequence number of end byte is not more than first indicated value is deleted, achieve following technique effect:
Avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability;
Also, message is cached using multiple transponders, system load is shared on multiple devices, master controller can be avoided to turn into performance bottleneck.
Embodiment eight
It refer to Fig. 9 a, the embodiment of the present invention provides the master controller 900 in a kind of communication system, the communication system includes the master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to institute The network equipment is stated, or receives the message of the network equipment and is transmitted to the master controller, the master controller 900 may include:
Sending module 901, for sending message to the transponder, the message is used to send to the network equipment after caching by the transponder;
Processing module 902, for handling the message;
The sending module 901, is additionally operable to the indicated value that the master controller sends the message for indicating to be disposed to the transponder.
In some embodiments of the invention, as shown in figure 9b, the master controller also includes:Receiving module 904;
Receiving module 904, for receiving the response message that the transponder is sent, the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;
The processing module 902, specifically for being handled according to the response message the TCP message;
The sending module 901, specifically for being sent a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message of reception.
In some embodiments of the invention, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
In some embodiments of the invention, the processing module 902, the routing iinformation specifically for obtaining the TCP message, persistence processing is carried out to the routing iinformation.
Therefore, in some feasible embodiments of the present invention, there is provided the master controller in a kind of communication system, the master controller can send a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the next of reception The TCP sequence number of TCP message, achieves following technique effect:
Avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability;
Also, message is cached using multiple transponders, system load is shared on multiple devices, master controller can be avoided to turn into performance bottleneck.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and the computer-readable storage medium can have program stored therein, the part or all of step including the communication means in the communication system described in the above method embodiment when program is performed.
Figure 10 is refer to, the embodiment of the present invention also provides the transponder 1000 in a kind of communication system.
The transponder 1000 can be microprocessor computer or communication equipment.Such as:The transponder 1000 can be one kind in the portable equipments such as all-purpose computer, customization machine, mobile phone terminal or purl machine.The transponder 1000 includes:Processor 1004, memory 1006, communication interface 1002 and bus 1008.Processor 1004, memory 1006 and communication interface 1002 are connected by bus 1008 and complete mutual communication.
The bus 1008 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be divided into the one or more in address bus, data/address bus, controlling bus.For ease of representing, only represented in Figure 10 with a thick line, it is not intended that only one bus or a type of bus.
Memory 1006 is used to store executable program code, and the program code includes computer-managed instruction.When transponder 1000 performs the program code, the transponder 1000 can complete step 201~203 of embodiment of the method shown in above-mentioned Fig. 2, can also realize that the institute of transponder 700 described in Fig. 7 a shown device embodiments is functional.Memory 1006 can include high-speed RAM (Ramdom Access Memory) memory.Alternatively, memory 1006 can also also include nonvolatile memory (non-volatile memory).For example memory 1006 can include magnetic disk storage.
Processor 1004 can be a central processing unit (Central Processing Unit, referred to as CPU), or processor 1004 can with specific integrated circuit (Application Specific Integrated Circuit, Referred to as ASIC), or processor 1004 can be arranged to implement the embodiment of the present invention one or more integrated circuits.
Processor 1004, after receiving the message from the master controller or the network equipment in transponder 1000, caches the message received;The processing state of the message of caching is monitored, and deletes the message being disposed in the message of the caching;
Communication interface 1002, for when the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching to be sent into the new master controller.
Alternatively, communication interface 1002 be additionally operable to receive the master controller or the network equipment is sent, for the indicated value for the message for indicating to be disposed, the message being disposed in the message of the caching is deleted according to the indicated value.
Alternatively, the processor 1004 is additionally operable to source IP address, purpose IP address, source port and destination interface in the heading according to the message received, confirms corresponding TCP connections;TCP connections based on the confirmation, it is determined that the TCP sequence number of the message received;Cache the TCP sequence number of the message received and the message.
Alternatively, communication interface 1002 is additionally operable to receive the response message that the main controller is returned, the response message includes the first indicated value, and first indicated value indicates that last that the master controller has been disposed enters the TCP sequence number of the end byte of direction message;
Alternatively, the processor 1004 is additionally operable to from the message of the caching, and by the TCP sequence number of end byte is not more than first indicated value, at least one enters the deletion of direction message
Alternatively, communication interface 1002 is additionally operable to receive the feedback message that the network equipment is returned, and the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;
Alternatively, the processor 1004 is additionally operable to from the message of the caching, and at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value is deleted.
Alternatively, communication interface 1002 is additionally operable to send response message to the master controller, and the response message includes the TCP sequence number of the end byte of last outgoing packet in the message of the caching;The notification message that the master controller is sent is received, the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the end byte of processed last outgoing packet finished of master controller TCP sequence number;The processor 1004 is additionally operable to from the message of the caching, and at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value is deleted.
Alternatively, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
Alternatively, the processor 1004 is additionally operable to cache after sorting to the message received according to TCP sequence number.
Alternatively, when the processor 1004 is additionally operable to receive the message that the master controller or the network equipment are retransmitted, the message of the re-transmission is cached;
Alternatively, the communication interface 1002 is additionally operable to when the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
Alternatively, the processor 1004 is additionally operable to the burst sign position in the heading according to the outgoing packet, the outgoing packet that receives described in identification whether be a complete TCP message burst;
Alternatively, if the communication interface 1002 is additionally operable to processor 1004 and is identified as, after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment.
What deserves to be explained is, each functional unit of the network equipment provided in an embodiment of the present invention, can be implementing for the function that possesses of device that the method and the illustrated embodiment of figure six provided based on embodiment one is provided, the definition of term and explanation are consistent with embodiment one and embodiment six, and here is omitted.
Therefore, in some feasible embodiments of the present invention, there is provided the transponder in a kind of communication system, the message that the transponder can be received, the message of caching is just deleted after confirming that the message of caching is processed and finishing, if active and standby controller has carried out identity switching, by caching, the message that is not yet disposed be uploaded to new master controller, achieve following technique effect:
Data backup is carried out by using transponder caching message, it is to avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability;
Also, message is cached using multiple transponders, system load is shared on multiple devices, master controller can be avoided to turn into performance bottleneck.
Figure 11 is refer to, the embodiment of the present invention also provides the master controller 1100 in a kind of communication system.
The master controller 1100 can be microprocessor computer.Such as:The master controller 1100 can be one kind in the portable equipments such as all-purpose computer, customization machine, mobile phone terminal or purl machine.The master controller 1100 includes:Processor 1104, memory 1106, communication interface 1102 and bus 1108.Processor 1104, memory 1106 and communication interface 1102 are connected by bus 1108 and complete mutual communication.
The bus 1108 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be divided into the one or more in address bus, data/address bus, controlling bus.For ease of representing, only represented in Figure 11 with a thick line, it is not intended that only one bus or a type of bus.
Memory 1106 is used to store executable program code, and the program code includes computer-managed instruction.When master controller 1100 performs the program code, the master controller 1100 can complete step 501~502 of above-described embodiment four, can also realize that the institute of master controller 800 described in device embodiment seven is functional.Memory 1106 can include high-speed RAM (Ramdom Access Memory) memory.Alternatively, memory 1106 can also also include nonvolatile memory (non-volatile memory).For example memory 1106 can include magnetic disk storage.
Processor 1104 can be a central processing unit (Central Processing Unit, referred to as CPU), either processor 1104 can be with specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or processor 1104 can be arranged to implement the embodiment of the present invention one or more integrated circuits.
Communication interface 1102, the message from the network equipment for receiving the transponder forwarding;
Processor 1104, for handling the message received;
Communication interface 1102, is additionally operable to send the master controller, for the indicated value for the message for indicating to be disposed to the transponder.
Alternatively, communication interface 1102, it is additionally operable to send response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, and the response message is used for by the transponder will be certainly At least one TCP message that the TCP sequence number of in the message of body caching, end byte is not more than first indicated value is deleted.
Alternatively, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
Alternatively, processor 1104, are additionally operable to, by the heading removal of the TCP message, obtain the data division of the TCP message;Complete sub- message is recovered from the data division of the TCP message;Persistence processing is carried out to the sub- message.
What deserves to be explained is, each functional unit of the network equipment provided in an embodiment of the present invention, can be implementing for the function that possesses of device that the method and embodiment seven provided based on example IV is provided, the definition of term and explanation are consistent with example IV and embodiment seven, and here is omitted.
Therefore, in some feasible embodiments of the present invention, there is provided the master controller in a kind of communication system, the master controller can send response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the response message is used in the message of own cache by the transponder, at least one TCP message that the TCP sequence number of end byte is not more than first indicated value is deleted, achieve following technique effect:
Avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability;
Also, message is cached using multiple transponders, system load is shared on multiple devices, master controller can be avoided to turn into performance bottleneck.
Figure 12 is refer to, the embodiment of the present invention also provides the master controller 1200 in a kind of communication system.
The master controller 1200 can be microprocessor computer.Such as:The master controller 1200 can be one kind in the portable equipments such as all-purpose computer, customization machine, mobile phone terminal or purl machine.The master controller 1200 includes:Processor 1204, memory 1206, communication interface 1202 and bus 1208.Processor 1204, memory 1206 and communication interface 1202 are connected by bus 1208 and complete mutual communication.
The bus 1208 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) and bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be divided into the one or more in address bus, data/address bus, controlling bus.For ease of representing, only represented in Figure 12 with a thick line, it is not intended that only one bus or a type of bus.
Memory 1206 is used to store executable program code, and the program code includes computer-managed instruction.When master controller 1200 performs the program code, the master controller 1100 can complete step 601~604 of above-described embodiment five, can also realize that the institute of master controller 900 described in device embodiment eight is functional.Memory 1206 can include high-speed RAM (Ramdom Access Memory) memory.Alternatively, memory 1206 can also also include nonvolatile memory (non-volatile memory).For example memory 1206 can include magnetic disk storage.
Processor 1204 can be a central processing unit (Central Processing Unit, referred to as CPU), either processor 1204 can be with specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or processor 1204 can be arranged to implement the embodiment of the present invention one or more integrated circuits.
Communication interface 1202, for sending message to the transponder;
Processor 1204, is handled for the message to the transmission;
Communication interface 1202, for sending the master controller, for the indicated value for the message for indicating to be disposed to the transponder.
Alternatively, communication interface 1202, are additionally operable to send the TCP message to the transponder, the TCP message is used to send to the network equipment after caching by the transponder;The response message that the transponder is sent is received, the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;Sent a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is not more than the 3rd indicated value by the TCP sequence number that the transponder is used in the message that will cache, end byte and one or more TCP messages less than the second indicated value are deleted, and second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message received.
Alternatively, the data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
Alternatively, processor 1104, are additionally operable to obtain the routing iinformation of the TCP message, and persistence processing is carried out to the routing iinformation.
What deserves to be explained is, each functional unit of the network equipment provided in an embodiment of the present invention, can be implementing for the function that possesses of device that the method and embodiment eight provided based on embodiment five is provided, the definition of term and explanation are with showing that embodiment five and embodiment eight are consistent, and here is omitted.
Therefore, in some feasible embodiments of the present invention, there is provided the master controller in a kind of communication system, the master controller can send a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message of reception, achieve following technique effect:
Avoid the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigate system load, effectively improve system effectiveness and reliability;
Also, message is cached using multiple transponders, system load is shared on multiple devices, master controller can be avoided to turn into performance bottleneck.
The embodiment of the present invention also provides a kind of communication system, as shown in Figure 1a, and the communication system includes master controller, preparation controller, transponder and the network equipment, wherein,
The transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receives the message of the network equipment and be transmitted to the master controller;And, after the message from the master controller or the network equipment is received, the message received is cached, the processing state of the message of caching is monitored, and deletes the message being disposed in the message of the caching;When the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder;
The master controller is used to send message to the transponder, and the message of transmission is handled, or, the message from the network equipment of the transponder forwarding is received, the message received is handled;And, send the master controller, for the instruction for the message for indicating to be disposed to the transponder Value;
The network equipment is used to send message to the transponder, or, receive the message from the master controller of the transponder forwarding;
The preparation controller, in the master controller fault, switching to new master controller;
The communication system avoids the data backup between active and standby controller, it is possible to reduce the burden of active and standby controller, mitigates system load, effectively improves system effectiveness and reliability.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and the part being not described in some embodiment may refer to the associated description of other embodiments.
It should be noted that, for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, embodiment described in this description belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by program to instruct the hardware of correlation to complete, the program can be stored in a computer-readable recording medium, and storage medium can include:ROM, RAM, disk or CD etc..
Communication means and equipment in the communication system provided above the embodiment of the present invention are described in detail, specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help to understand method and its core concept of the invention;Simultaneously for those of ordinary skill in the art, according to the thought of the present invention, it will change in specific embodiments and applications, in summary, this specification content should not be construed as limiting the invention.

Claims (37)

  1. A kind of communication means in communication system, it is characterized in that, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:
    The transponder caches the message received after the message from the master controller or the network equipment is received;
    The processing state of the message of the transponder monitoring caching, and delete the message being disposed in the message of the caching;
    When the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder.
  2. According to the method described in claim 1, it is characterised in that the processing state of the message of transponder monitoring caching, and delete the message being disposed in the message of the caching and include:
    The transponder receives the message being disposed for being used for the indicated value for the message that instruction has been disposed, deleting in the message of the caching according to the indicated value that the master controller or the network equipment are sent.
  3. Method according to claim 2, it is characterised in that the message is transmission control protocol TCP message, the message that the caching is received includes:
    Source IP address, purpose IP address, source port and destination interface in the heading for the message that the transponder is received according to, confirm corresponding TCP connections;
    TCP connection of the transponder based on the confirmation, determines the TCP sequence number of the message, the message and the TCP sequence number of the message received received described in caching.
  4. Method according to claim 3, it is characterized in that, the message of the caching enters direction message including the network equipment to what the master controller was sent, the transponder monitors the processing state of the message of the caching, and deletes the message being disposed in the message of the caching and include:
    The transponder receives the response message that the main controller is returned, and the response message includes the first indicated value, the first indicated value instruction master controller be disposed last enter direction message end byte TCP sequence number;
    The transponder is according to first indicated value, from the message of the caching, and by the TCP sequence number of end byte is not more than first indicated value, at least one enters the deletion of direction message.
  5. Method according to Claims 2 or 3 or 4, it is characterized in that, the message of the caching includes the outgoing packet that the master controller is sent to the network equipment, the transponder monitors the processing state of the message of the caching, and deletes the message being disposed in the message of the caching and include:
    The transponder receives the feedback message that the network equipment is returned, and the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;
    From the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value is deleted.
  6. Method according to claim 5, it is characterised in that also include:
    The transponder sends response message to the master controller, and the response message includes the TCP sequence number of the end byte of last outgoing packet in the message of the caching;
    The transponder receives the notification message that the master controller is sent, and the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the TCP sequence number of the end byte of processed last outgoing packet finished of master controller;
    It is described from the message of the caching, by the TCP sequence number of end byte be less than second indicated value at least one outgoing packet delete include:From the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value is deleted.
  7. According to any described method in claim 2 to 6, it is characterised in that
    The data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
  8. According to any described method in claim 3 to 6, it is characterised in that the message and the TCP sequence number of the message received received described in the caching includes:
    The transponder is cached after being sorted to the message received according to TCP sequence number.
  9. According to any described method in claim 1 to 8, it is characterised in that
    The message received that caches includes:The transponder receives the master controller or the net During the message that network equipment is retransmitted, the message of the re-transmission is cached;
    Described when new master controller is switched to when the preparation controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder to be included:When the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
  10. According to any described method in claim 5 to 6, it is characterised in that also include:
    The transponder indicates position according to the burst in the heading of the outgoing packet, the outgoing packet received described in identification whether be a complete TCP message burst;
    If so, the transponder is after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment.
  11. A kind of communication means in communication system, it is characterized in that, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:
    The master controller receives the message from the network equipment of the transponder forwarding, and the message received is handled;
    The master controller sends the indicated value of the message for indicating to be disposed to the transponder.
  12. Method according to claim 11, it is characterised in that the message is transmission control protocol TCP message, the indicated value of message of the master controller to the transponder transmission master controller, for indicating to be disposed includes:
    The master controller sends response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, and the response message is used to delete at least one TCP message that the TCP sequence number of in the TCP message of own cache, end byte is not more than first indicated value by the transponder.
  13. Method according to claim 11 or 12, it is characterised in that
    The data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
  14. Method according to claim 13, it is characterised in that the described pair of message progress processing received includes:
    The heading of the TCP message is removed, the data division of the TCP message is obtained;
    Complete sub- message is recovered from the data division of the TCP message;
    Persistence processing is carried out to the sub- message.
  15. A kind of communication means in communication system, it is characterized in that, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, methods described includes:
    The master controller sends message to the transponder, and the message of transmission is used to send to the network equipment after caching by the transponder;
    The main control is handled the message of the transmission;
    The master controller sends the indicated value of the message for indicating to be disposed to the transponder.
  16. Method according to claim 15, it is characterised in that the message is transmission control protocol TCP message, the main control includes to message progress processing:
    The main control receives the response message that the transponder is sent, and the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;
    The main control is handled the TCP message according to the response message;
    The indicated value of message of the master controller to the transponder transmission master controller, for indicating to be disposed includes:
    The master controller sends a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is not more than the 3rd indicated value by the TCP sequence number that the transponder is used in the message that will cache, end byte and one or more TCP messages less than the second indicated value are deleted, and second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message received.
  17. Method according to claim 15 or 16, it is characterised in that
    The data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) report Text, or tag distribution protocol LDP messages.
  18. Method according to claim 17, it is characterised in that the master controller includes to TCP message progress processing:
    The routing iinformation of the TCP message is obtained, persistence processing is carried out to the routing iinformation.
  19. A kind of transponder in communication system, it is characterized in that, the communication system includes master controller, preparation controller, the transponder and the network equipment, the transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the transponder includes:
    Cache module, after receiving the message from the master controller or the network equipment in the transponder, caches the message received;
    Processing module, the processing state of the message for monitoring caching, and delete the message being disposed in the message of the caching;
    Sending module, for when the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching to be sent into the new master controller.
  20. Transponder in communication system according to claim 19, it is characterised in that
    The transponder also includes:Receiving module, for receive it is that the master controller or the network equipment are sent, for the indicated value for the message for indicating to be disposed;
    The message being disposed in message of the residing processing module specifically for deleting the caching according to the indicated value.
  21. Transponder in communication system according to claim 20, it is characterised in that the message is transmission control protocol TCP message, the cache module includes:
    Confirmation unit, for source IP address, purpose IP address, source port and the destination interface in the heading of the message received according to, confirms corresponding TCP connections;
    Determining unit, for the TCP connections based on the confirmation, determines the TCP sequence number of the message;
    Buffer unit, the TCP sequence number for caching the message received and the message received.
  22. Transponder in communication system according to claim 21, it is characterised in that the message of the caching enters direction message including the network equipment to what the master controller was sent,
    The transponder also includes:Receiving module, for receiving the response message that the main controller is returned, the response message includes the first indicated value, the first indicated value instruction master controller be disposed last enter direction message end byte TCP sequence number;
    The processing module is specifically for from the message of the caching, and by the TCP sequence number of end byte is not more than first indicated value, at least one enters direction message deletion.
  23. The transponder in communication system according to claim 20 or 21 or 22, it is characterised in that the message of the caching includes the outgoing packet that the master controller is sent to the network equipment,
    The transponder also includes:Receiving module, for receiving the feedback message that the network equipment is returned, the feedback message includes the second indicated value, and second indicated value indicates that the network equipment expects the TCP sequence number of next outgoing packet of reception;
    The processing module is specifically for from the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value is deleted.
  24. Transponder in communication system according to claim 23, it is characterised in that
    The sending module, is additionally operable to send response message to the master controller, the response message includes the TCP sequence number of the end byte of last outgoing packet in the message of the caching;
    The receiving module, it is additionally operable to receive the notification message that the master controller is sent, the notification message includes the 3rd indicated value, and the 3rd indicated value indicates the TCP sequence number of the end byte of processed last outgoing packet finished of master controller;
    The processing module is specifically for from the message of the caching, at least one outgoing packet that the TCP sequence number of end byte is less than second indicated value and no more than described 3rd indicated value is deleted.
  25. According to the transponder in any described communication system of claim 19 to 24, it is characterised in that
    The data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
  26. According to the transponder in any described communication system of claim 21 to 24, it is characterised in that
    The buffer unit, specifically for being cached after being sorted to the message received according to TCP sequence number.
  27. According to the transponder in any described communication system of claim 20 to 26, it is characterised in that
    The cache module, is additionally operable to receive the master controller in the transponder or the network is set During the message of standby re-transmission, the message of the re-transmission is cached;
    The sending module, it is additionally operable to when the preparation controller switches to new master controller, if the message of the re-transmission is still untreated message, the former message of the message of the re-transmission and the message of the re-transmission is sent jointly to the new master controller by the transponder.
  28. According to the transponder in any described communication system of claim 23 to 24, it is characterised in that
    The processing module, is additionally operable to the burst sign position in the heading according to the outgoing packet, the outgoing packet that receives described in identification whether be a complete TCP message burst;
    The sending module, if being additionally operable to the identification module identifies that the outgoing packet received is the burst of a complete TCP message, then after whole bursts of the complete TCP message are received, start to forward the burst of the complete TCP message to the network equipment.
  29. A kind of master controller in communication system, it is characterized in that, the communication system includes the master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the master controller includes:
    Receiving module, the message from the network equipment for receiving the transponder forwarding;
    Processing module, for handling the message received;
    Sending module, the indicated value for sending the message for indicating to be disposed to the transponder.
  30. Master controller in communication system according to claim 29, it is characterised in that the message is transmission control protocol TCP message,
    Sending module, specifically for sending response message to the transponder, the response message includes the first indicated value, first indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, and the response message is used to delete at least one TCP message that the TCP sequence number of in the TCP message of own cache, end byte is not more than first indicated value by the transponder.
  31. The master controller in communication system according to claim 29 or 30, it is characterised in that
    The data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
  32. Master controller in communication system according to claim 31, it is characterised in that
    The processing module is specifically for by the heading removal of the TCP message, obtaining the data division of the TCP message;Complete sub- message is recovered from the data division of the TCP message;Persistence processing is carried out to the sub- message.
  33. A kind of master controller in communication system, it is characterized in that, the communication system includes master controller, preparation controller, transponder and the network equipment, the transponder are located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receive the message of the network equipment and be transmitted to the master controller, the master controller includes:
    Sending module, for sending message to the transponder, the message is used to send to the network equipment after caching by the transponder;
    Processing module, for handling the message;
    The sending module, is additionally operable to the indicated value that the master controller sends the message for indicating to be disposed to the transponder.
  34. Master controller in communication system according to claim 33, it is characterised in that
    The master controller also includes:Receiving module, for receiving the response message that the transponder is sent, the response message includes the TCP sequence number of the end byte for last TCP message that the transponder has been cached;
    The processing module, specifically for being handled according to the response message the TCP message;
    The sending module, specifically for being sent a notification message to the transponder, the notification message includes the 3rd indicated value, 3rd indicated value indicates the TCP sequence number of the end byte for last TCP message that the master controller has been disposed, the notification message is used in the message that will cache by the transponder, the TCP sequence number of end byte is not more than the 3rd indicated value and one or more TCP messages less than the second indicated value are deleted, second indicated value indicates that the network equipment expects the TCP sequence number of next TCP message of reception.
  35. The master controller in communication system according to claim 33 or 34, it is characterised in that
    The data division of the TCP message includes sub- message, and the sub- message is Border Gateway Protocol (BGP) message, or tag distribution protocol LDP messages.
  36. Master controller in communication system according to claim 35, it is characterised in that
    The processing module, the routing iinformation specifically for obtaining the TCP message, persistence processing is carried out to the routing iinformation.
  37. A kind of communication system, it is characterised in that the communication system includes master controller, preparation controller, transponder and the network equipment, wherein,
    The transponder is located between the master controller and the network equipment, for receiving the message of the master controller and being transmitted to the network equipment, or receives the message of the network equipment and be transmitted to the master controller;And, after the message from the master controller or the network equipment is received, the message received is cached, the processing state of the message of caching is monitored, and deletes the message being disposed in the message of the caching;When the preparation controller switches to new master controller, the message being not yet disposed in the message of the caching is sent to the new master controller by the transponder;
    The master controller is used to send message to the transponder, and the message of transmission is handled, or, the message from the network equipment of the transponder forwarding is received, the message received is handled;And, the indicated value of the message for indicating to be disposed is sent to the transponder;
    The network equipment is used to send message to the transponder, or, receive the message from the master controller of the transponder forwarding;
    The preparation controller, in the master controller fault, switching to new master controller.
CN201580000771.3A 2015-04-30 2015-04-30 Communication method, equipment and system in communication system Active CN106576108B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/077980 WO2016172926A1 (en) 2015-04-30 2015-04-30 Communication method and device, and system in communication system

Publications (2)

Publication Number Publication Date
CN106576108A true CN106576108A (en) 2017-04-19
CN106576108B CN106576108B (en) 2020-05-08

Family

ID=57197958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580000771.3A Active CN106576108B (en) 2015-04-30 2015-04-30 Communication method, equipment and system in communication system

Country Status (2)

Country Link
CN (1) CN106576108B (en)
WO (1) WO2016172926A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798276A (en) * 2018-08-02 2020-02-14 全球能源互联网研究院有限公司 Time synchronization method and system for SDN (software defined network) of intelligent substation
CN112039863A (en) * 2020-08-25 2020-12-04 烽火通信科技股份有限公司 Method and equipment for backup and smoothing of TCP stream in TCP hot standby architecture

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046486A (en) * 2017-06-16 2017-08-15 郑州云海信息技术有限公司 A kind of fail-over system acted on behalf of based on controller
CN112187519A (en) * 2020-09-09 2021-01-05 中盈优创资讯科技有限公司 Multi-activity concurrency method and device for realizing policy control based on BGP (Border gateway protocol)
CN113961212B (en) * 2021-10-29 2024-05-10 重庆长安汽车股份有限公司 OTA installation package deployment method and system based on Ethernet and method for upgrading vehicle controller
CN114124581B (en) * 2022-01-27 2022-05-17 深圳融安网络科技有限公司 Message processing method, firewall and readable storage medium
US11722570B1 (en) * 2022-05-13 2023-08-08 Microsoft Technology Licensing, Llc Sharing SDN policy state information between SDN appliances
CN115550250B (en) * 2022-11-17 2023-04-07 鹏城实验室 Small flow message retransmission method, system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916217A (en) * 2010-08-04 2010-12-15 中兴通讯股份有限公司 Method, control device and system for switching a plurality of controllers
US20110173490A1 (en) * 2010-01-08 2011-07-14 Juniper Networks, Inc. High availability for network security devices
CN103944974A (en) * 2014-04-02 2014-07-23 华为技术有限公司 Method for processing protocol messages, method for processing faults of controllers and related device
CN104426789A (en) * 2013-08-23 2015-03-18 杭州华三通信技术有限公司 Forwarding equipment control method in software defined network and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110173490A1 (en) * 2010-01-08 2011-07-14 Juniper Networks, Inc. High availability for network security devices
CN101916217A (en) * 2010-08-04 2010-12-15 中兴通讯股份有限公司 Method, control device and system for switching a plurality of controllers
CN104426789A (en) * 2013-08-23 2015-03-18 杭州华三通信技术有限公司 Forwarding equipment control method in software defined network and equipment
CN103944974A (en) * 2014-04-02 2014-07-23 华为技术有限公司 Method for processing protocol messages, method for processing faults of controllers and related device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798276A (en) * 2018-08-02 2020-02-14 全球能源互联网研究院有限公司 Time synchronization method and system for SDN (software defined network) of intelligent substation
CN110798276B (en) * 2018-08-02 2022-11-11 全球能源互联网研究院有限公司 Time synchronization method and system for SDN (software defined network) of intelligent substation
CN112039863A (en) * 2020-08-25 2020-12-04 烽火通信科技股份有限公司 Method and equipment for backup and smoothing of TCP stream in TCP hot standby architecture

Also Published As

Publication number Publication date
WO2016172926A1 (en) 2016-11-03
CN106576108B (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN106576108A (en) Communication method and device, and system in communication system
US11799760B2 (en) Router device using flow duplication
US9008100B2 (en) Wavefront detection and disambiguation of acknowledgments
US7698453B2 (en) Early generation of acknowledgements for flow control
US7630305B2 (en) TCP selective acknowledgements for communicating delivered and missed data packets
US8462630B2 (en) Early generation of acknowledgements for flow control
US8233392B2 (en) Transaction boundary detection for reduction in timeout penalties
JP2825120B2 (en) Method and communication network for multicast transmission
JP4164365B2 (en) Technology for improving TCP performance over a wireless interface by providing a dual proxy device
EP3520267A1 (en) Router with bilateral tcp session monitoring
CN103475655B (en) A kind of method realizing IPSecVPN main/slave link switching at runtime
US20120278804A1 (en) Virtual machine and application movement over a wide area network
CN103975563B (en) Lossless connection failover for single devices
KR20150128795A (en) Enhanced acknowledgement and retransmission mechanism
US20050120140A1 (en) Method of and system for multi-patch communication
CN107948217B (en) Switch system and communication method
WO2003030485A1 (en) Method and devices for header compression in packet-oriented networks
CN107104892A (en) The method and apparatus of network acceleration
CN103532954B (en) The coding network system at a kind of data-oriented center and method of work thereof
CN113014512B (en) Network connection accelerated forwarding method based on N: M connection dynamic mapping
KR101503717B1 (en) Network Apparatus and Data Transporting Method Used in the Same
WO2023093804A1 (en) Packet loss management method and related apparatus
CN106549798A (en) A kind of method that network management and control bus is built in IP communication networks
CN101902344B (en) Method for establishing multicast tree in public packet telecom data network (PTDN) and system thereof
CN100505690C (en) High-speed data link control data transmission 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