CN105939295A - Network protocol state synchronization method and network protocol state synchronization device - Google Patents

Network protocol state synchronization method and network protocol state synchronization device Download PDF

Info

Publication number
CN105939295A
CN105939295A CN201510784843.XA CN201510784843A CN105939295A CN 105939295 A CN105939295 A CN 105939295A CN 201510784843 A CN201510784843 A CN 201510784843A CN 105939295 A CN105939295 A CN 105939295A
Authority
CN
China
Prior art keywords
control plane
plane
procotol
message
standby control
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.)
Pending
Application number
CN201510784843.XA
Other languages
Chinese (zh)
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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201510784843.XA priority Critical patent/CN105939295A/en
Publication of CN105939295A publication Critical patent/CN105939295A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections

Landscapes

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

Abstract

The invention provides a network protocol state synchronization method and a network protocol state synchronization device, applied to network equipment. The method comprises the following steps that: a data plane receives a network protocol message; the data plane sends the network protocol message upwards to a primary control plane; the data plane sends the network protocol message upwards to a backup control plane; the backup control plane updates the network protocol state according to the received network protocol message, thus, the primary control plane and the backup control plane are enabled to have identical network protocol state. With the method and the device provided by the invention, data volume of information interaction among various planes may be reduced, and phenomena of channel congestion and data loss caused by frequent backup of the network protocol state between the primary control plane and the backup control plane are avoided.

Description

A kind of procotol state synchronization method and device
Technical field
The application relates to network communication technology field, particularly relate to a kind of procotol state synchronization method and Device.
Background technology
The network equipment logically can be divided into datum plane and control plane, and wherein, datum plane is responsible for number According to process and forwarding;Control plane to be responsible for controlling and management procotol operation.The current network equipment Commonly used double control planar mechanism, the most primary control plane and standby control plane, it is desirable to two controls The procotol state real-time synchronization of plane, so that switching to standby control when primary control plane failure Plane processed continues to run with procotol, improves the reliability of the network equipment.
Existing network protocol state synchronization method be by the procotol state of primary control plane by main, Passage between standby control plane is backed up in realtime standby control plane, but when procotol state becomes When changing frequent, easily cause channel congestion, loss of data phenomenon even occurs.
Summary of the invention
In view of this, the application provides a kind of procotol state synchronization method and device.
Specifically, the application is achieved by the following technical solution:
The application provides a kind of procotol state synchronization method, is applied on the network equipment, the method bag Include:
Datum plane receiving network protocol message;
Described procotol message up sending is given primary control plane by datum plane;
Described procotol message up sending is given standby control plane by datum plane;
Standby control plane updates procotol state according to the procotol message received, so that described master With controlling, plane is identical with the procotol state of described standby control plane.
The application also provides for a kind of procotol state synchronizing apparatus, is applied on the network equipment, this device Including:
Message receives unit, for datum plane receiving network protocol message;
Send unit on primary, give primary control plane for datum plane by described procotol message up sending;
Send unit on standby, give standby control plane for datum plane by described procotol message up sending;
State updating unit, updates net for described standby control plane according to the procotol message received Network protocol status, so that described primary control plane and the procotol state phase of described standby control plane With.
The while of by above description it can be seen that the application passes through the procotol message that datum plane will receive On give primary control plane and standby control plane, by standby control plane according to procotol message from Row updates procotol state, to reach primary control plane and the procotol state of standby control plane Synchronize.The data volume of the information interaction of each plane can be reduced, it is to avoid primary, spare control by the application Between plane, procotol state frequently backs up caused channel congestion and loss of data phenomenon, reduces Network equipment failure rate.
Accompanying drawing explanation
Fig. 1 is the structural representation of conventional network equipment;
Fig. 2 is the structural representation of a kind of network equipment shown in the application one exemplary embodiment;
Fig. 3 is a kind of procotol state synchronization method flow chart shown in the application one exemplary embodiment;
Fig. 4 is that a kind of procotol state synchronizing apparatus place shown in the application one exemplary embodiment sets Standby underlying hardware structural representation;
Fig. 5 is the knot of a kind of procotol state synchronizing apparatus shown in the application one exemplary embodiment Structure schematic diagram.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following When description relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the application There is embodiment.On the contrary, they only with as appended claims describes in detail, the one of the application The example of the apparatus and method that a little aspects are consistent.
It is only merely for describing the purpose of specific embodiment at term used in this application, and is not intended to be limiting The application." a kind of " of singulative used in the application and appended claims, " institute State " and " being somebody's turn to do " be also intended to include most form, unless context clearly shows that other implications.Also should Work as understanding, term "and/or" used herein refer to and comprise one or more be associated list item Any or all possible combination of purpose.
Although should be appreciated that may use term first, second, third, etc. various to describe in the application Information, but these information should not necessarily be limited by these terms.These terms only be used for by same type of information that This distinguishes.Such as, in the case of without departing from the application scope, the first information can also be referred to as Two information, similarly, the second information can also be referred to as the first information.Depend on linguistic context, as in this institute Use word " if " can be construed to " and ... time " or " when ... time " or " response In determining ".
The network equipment logically can be divided into datum plane and control plane, and wherein, datum plane is responsible for number According to process and forwarding;Control plane to be responsible for controlling and the operation of management procotol, carry for datum plane The various network informations needed for processing for data and forward and forwarding-table item.
At present, the network equipment commonly used double control planar mechanism, the most primary control plane and standby control Plane, it is desirable to two procotol state real-time synchronizations controlling plane, so that in the event of primary control plane Switch to standby control plane during barrier and continue to run with procotol, improve the reliability of the network equipment.
See Fig. 1, for the structural representation of conventional network equipment.Wherein, primary control plane is by logical Road 1 and data-plane communication, standby control plane passes through passage 2 and data-plane communication, primary control Communicated by passage 3 between plane and standby control plane.
Procotol status synchronizing process is: after datum plane receives procotol message, above gives master With control plane (standby control plane not with data-plane communication, passage 2 is in two-way blocked state), After primary control plane is to procotol Message processing, issue forwarding-table item by passage 1 to datum plane, Meanwhile, procotol state is sent to standby control plane by passage 3 by primary control plane, to protect Demonstrate,prove standby control plane and the procotol state consistency of primary control plane.When primary control plane failure Time, due to standby control plane and the procotol state consistency of primary control plane, therefore, network is assisted When view is switched to the operation of standby control plane, do not result in network traffic interruption.
But this technical scheme requires that primary control plane frequently communicates with standby control plane, to reach net Network protocol status real-time synchronization, and also need to back up some control management data, easily cause passage 3 Block up, particularly under some extreme condition, the phenomenon of loss of data can occur because of blocking up.
For the problems referred to above, the embodiment of the present application proposes a kind of procotol state synchronization method, the method By datum plane, the procotol message of reception given on simultaneously primary control plane and standby control plane, Standby control plane updates procotol state voluntarily according to procotol message, flat to reach primary control Face and the procotol state synchronized of standby control plane.
See Fig. 2, for the structural representation of a kind of network equipment shown in the embodiment of the present application.With Fig. 1 The shown network equipment is compared, between primary control plane and the standby control plane in the embodiment of the present application not Need special communication port again.
Seeing Fig. 3, for an embodiment flow chart of the application procotol state synchronization method, this is real Execute example procotol status synchronizing process is described.
Step 301, datum plane receiving network protocol message.
Step 302, described procotol message up sending is given primary control plane by datum plane.
In course of normal operation, datum plane only interacts information with primary control plane, when primary control During plane failure processed, datum plane just from being switched to alternately and standby control plane of primary control plane Mutual.In the embodiment of the present application, step 301 and step 302 can use prior art to realize, at this Repeat no more.
Step 303, described procotol message up sending is given standby control plane by datum plane.
Unlike the prior art, the embodiment of the present application is no longer necessary to set up primary control plane and standby Control the procotol state backup passage between plane, but directly procotol message up sending is given standby With controlling plane.Detailed process is as follows:
Datum plane obtain be pre-configured with on send strategy, this send strategy for will receive procotol report Standby control plane is sent on literary composition.Datum plane receive procotol message after with on send strategy to mate, When procotol message mates and send strategy on this, illustrate that this procotol message is for sending control flat on needing The message that face processes, now, gives standby control plane by this procotol message up sending.
Step 304, described standby control plane updates procotol shape according to the procotol message received State, so that described primary control plane is identical with the procotol state of described standby control plane.
From the description of abovementioned steps 301 to step 303 it can be seen that the network that datum plane will receive is assisted View message gives primary control plane and standby control plane on simultaneously, but it is emphasized that data are put down Passage between face and standby control plane is two-way obstruction, and datum plane only will match the net sending strategy Giving standby control plane on network protocol massages, standby control plane cannot send message to datum plane, It is to say, datum plane only to carry out complete information with primary control plane mutual.
In datum plane with primary control plane information interaction, procotol state is continually changing, The change of this procotol state can be embodied in mutual procotol message, and therefore, datum plane leads to Cross the procotol message up sending mutual with primary control plane to standby control plane, make standby control Plane only can update procotol state voluntarily by the procotol message of change in monitoring network, with Reach the purpose of procotol state synchronized with primary control plane.
Additionally, for the network partly depending on network-external event (such as, Interface status change etc.) Protocol status, can be notified the network-external event of perception to primary control plane and standby by datum plane Control plane, so that primary control plane and standby control plane are assisted according to network-external event update network View state.
By foregoing description it can be seen that primary control plane and standby control plane are all to update network voluntarily Protocol status, and the procotol sent in primary control plane and standby control plane due to datum plane Message is identical, therefore, can accomplish procotol state synchronized, simultaneously, it is to avoid primary in prior art What control plane was likely to result in when standby control plane backs up blocks up and data loss problem.
The application procotol state synchronized scheme is simple, makes full use of existing procotol and processes Flow process, does not increase extra hardware and software cost.
Corresponding with the embodiment of aforementioned network protocols state synchronization method, present invention also provides network association The embodiment of view state synchronizing apparatus.
The embodiment of the application procotol state synchronizing apparatus can be applied on network devices.Device is real Execute example to be realized by software, it is also possible to realize by the way of hardware or software and hardware combining.With soft As a example by part realizes, as the device on a logical meaning, it is to be run by the processor of its place equipment Computer program instructions corresponding in memorizer is formed.For hardware view, as shown in Figure 4, for A kind of hardware structure diagram of the application procotol state synchronizing apparatus place equipment, shown in Fig. 4 Outside processor, network interface and memorizer, in embodiment, the equipment at device place is generally according to this The actual functional capability of equipment, it is also possible to include other hardware, this is repeated no more.
Refer to Fig. 5, the structure for the procotol state synchronizing apparatus in one embodiment of the application is shown It is intended to.This procotol state synchronizing apparatus include message receive unit 501, primary on send unit 502, Unit 503 and state updating unit 504 is sent, wherein on standby:
Message receives unit 501, for datum plane receiving network protocol message;
Send unit 502 on primary, give primary control for datum plane by described procotol message up sending Plane;
Send unit 503 on standby, give standby control for datum plane by described procotol message up sending Plane;
State updating unit 504, for described standby control plane according to the procotol message received more New procotol state, so that described primary control plane and the procotol shape of described standby control plane State is identical.
Further,
Described standby on send unit 503, specifically for datum plane obtain be pre-configured with on send strategy; When sending strategy on described procotol message coupling is described, datum plane is by described procotol message Give standby control plane.
Further,
Standby control plane described in the tactful procotol message up sending for receiving is sent on described.
Further, described device also includes:
Forbid transmitting element, be used for forbidding that described standby control plane sends message to described datum plane.
Further, described device also includes:
Event notification unit, notifies the network-external event of perception to described primary control for datum plane Plane processed and described standby control plane.
In said apparatus, the function of unit and the process that realizes of effect specifically refer in said method corresponding Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically, The wherein said unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole module of person realizes the purpose of the application scheme.Those of ordinary skill in the art are not paying creativeness In the case of work, i.e. it is appreciated that and implements.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all at this Within the spirit of application and principle, any modification, equivalent substitution and improvement etc. done, should be included in Within the scope of the application protection.

Claims (10)

1. a procotol state synchronization method, is applied on the network equipment, it is characterised in that the party Method includes:
Datum plane receiving network protocol message;
Described procotol message up sending is given primary control plane by datum plane;
Described procotol message up sending is given standby control plane by datum plane;
Standby control plane updates procotol state according to the procotol message received, so that described master With controlling, plane is identical with the procotol state of described standby control plane.
2. the method for claim 1, it is characterised in that described network is assisted by described datum plane View message up sending gives standby control plane, including:
Datum plane obtain be pre-configured with on send strategy;
When sending strategy on described procotol message coupling is described, datum plane is by described procotol report Standby control plane is given on literary composition.
3. method as claimed in claim 2, it is characterised in that:
Standby control plane described in the tactful procotol message up sending for receiving is sent on described.
4. the method for claim 1, it is characterised in that described method also includes:
Forbid that described standby control plane sends message to described datum plane.
5. the method as described in Claims 1-4 is arbitrary, it is characterised in that described method also includes:
The network-external event of perception is notified to described primary control plane and described standby control by datum plane Plane processed.
6. a procotol state synchronizing apparatus, is applied on the network equipment, it is characterised in that this dress Put and include:
Message receives unit, for datum plane receiving network protocol message;
Send unit on primary, give primary control plane for datum plane by described procotol message up sending;
Send unit on standby, give standby control plane for datum plane by described procotol message up sending;
State updating unit, updates net for described standby control plane according to the procotol message received Network protocol status, so that described primary control plane and the procotol state phase of described standby control plane With.
7. device as claimed in claim 6, it is characterised in that:
Described standby on send unit, specifically for datum plane obtain be pre-configured with on send strategy;Work as institute State procotol message coupling described on when sending strategy, described procotol message up sending is given by datum plane Standby control plane.
8. device as claimed in claim 7, it is characterised in that:
Standby control plane described in the tactful procotol message up sending for receiving is sent on described.
9. device as claimed in claim 6, it is characterised in that described device also includes:
Forbid transmitting element, be used for forbidding that described standby control plane sends message to described datum plane.
10. the device as described in claim 6 to 9 is arbitrary, it is characterised in that described device also includes:
Event notification unit, notifies the network-external event of perception to described primary control for datum plane Plane processed and described standby control plane.
CN201510784843.XA 2015-11-16 2015-11-16 Network protocol state synchronization method and network protocol state synchronization device Pending CN105939295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510784843.XA CN105939295A (en) 2015-11-16 2015-11-16 Network protocol state synchronization method and network protocol state synchronization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510784843.XA CN105939295A (en) 2015-11-16 2015-11-16 Network protocol state synchronization method and network protocol state synchronization device

Publications (1)

Publication Number Publication Date
CN105939295A true CN105939295A (en) 2016-09-14

Family

ID=57153047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510784843.XA Pending CN105939295A (en) 2015-11-16 2015-11-16 Network protocol state synchronization method and network protocol state synchronization device

Country Status (1)

Country Link
CN (1) CN105939295A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266790A (en) * 2019-06-18 2019-09-20 广州虎牙科技有限公司 Edge cluster management method, device, edge cluster and readable storage medium storing program for executing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0872085B1 (en) * 1995-06-13 2004-12-15 Telefonaktiebolaget LM Ericsson (publ) Synchronizing the transmission of data via a two-way link
CN1889464A (en) * 2006-07-26 2007-01-03 华为技术有限公司 Method and apparatus for realizing communication take-over and control
CN101510890A (en) * 2009-03-31 2009-08-19 华为技术有限公司 Method and communication equipment for holding protocol state
CN102510408A (en) * 2011-11-30 2012-06-20 武汉烽火网络有限责任公司 Method for realizing TCP (transmission control protocol) application main and standby changeover
CN102571391A (en) * 2010-12-22 2012-07-11 中兴通讯股份有限公司 Method and system for status synchronization of protection switching protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0872085B1 (en) * 1995-06-13 2004-12-15 Telefonaktiebolaget LM Ericsson (publ) Synchronizing the transmission of data via a two-way link
CN1889464A (en) * 2006-07-26 2007-01-03 华为技术有限公司 Method and apparatus for realizing communication take-over and control
CN101510890A (en) * 2009-03-31 2009-08-19 华为技术有限公司 Method and communication equipment for holding protocol state
CN102571391A (en) * 2010-12-22 2012-07-11 中兴通讯股份有限公司 Method and system for status synchronization of protection switching protocol
CN102510408A (en) * 2011-11-30 2012-06-20 武汉烽火网络有限责任公司 Method for realizing TCP (transmission control protocol) application main and standby changeover

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266790A (en) * 2019-06-18 2019-09-20 广州虎牙科技有限公司 Edge cluster management method, device, edge cluster and readable storage medium storing program for executing
CN110266790B (en) * 2019-06-18 2022-02-01 广州虎牙科技有限公司 Edge cluster management method and device, edge cluster and readable storage medium

Similar Documents

Publication Publication Date Title
EP3029893B1 (en) Method, controller, device and system for protecting service path
EP3242446B1 (en) Failure protection method, device and system for ring protection link
CN109005045A (en) Active and standby service system and host node fault recovery method
EP1863222B1 (en) A disaster recovery system and method of service controlling device in intelligent network
US20140071810A1 (en) Communication system and processing method therefor
EP3099021A1 (en) Interconnecting networks
CN106533736A (en) Network device reboot method and apparatus
WO2017173946A1 (en) Data processing system providing service continuity protection
CN112152892A (en) Method for controlling gateway, intelligent gateway and intelligent home system
WO2012142870A1 (en) Method, active device and standby device for automatic protection switching
CN105786666A (en) Failure processing method and system for multi-controller storage system
EP2618523A2 (en) Method, network device and system for ethernet ring protection switching
CN109120386A (en) Wireless communication device, system and method
WO2010012192A1 (en) A method for synchronizing the switching state of the intercross unit in network element
CN101071407A (en) Active-standby system and method for realizing interconnecting device switching of external devices therebetween
CN105939295A (en) Network protocol state synchronization method and network protocol state synchronization device
WO2014117499A1 (en) Multicast recovering method and apparatus, and relay device comprising multicast recovering apparatus
CN107872331B (en) Port setting method, device and system
CN103414591B (en) Method for rapidly converging when a kind of port failure recovers and system
JPH09186686A (en) Network management system
EP2953299B1 (en) Protection switching method, system and node
EP3462681B1 (en) Apparatus and method for transmitting multicast service
CN115484208A (en) Distributed drainage system and method based on cloud security resource pool
CN108270589B (en) Message processing method and related device
CN106341323A (en) VRRP state synchronizing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant before: Hangzhou Dipu Technology Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160914