CN115550474A - Protocol high-availability protection system and protection method - Google Patents

Protocol high-availability protection system and protection method Download PDF

Info

Publication number
CN115550474A
CN115550474A CN202110729464.6A CN202110729464A CN115550474A CN 115550474 A CN115550474 A CN 115550474A CN 202110729464 A CN202110729464 A CN 202110729464A CN 115550474 A CN115550474 A CN 115550474A
Authority
CN
China
Prior art keywords
control unit
main control
protocol
database
message
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
CN202110729464.6A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202110729464.6A priority Critical patent/CN115550474A/en
Priority to PCT/CN2022/099981 priority patent/WO2023273945A1/en
Publication of CN115550474A publication Critical patent/CN115550474A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Abstract

The invention relates to the technical field of network equipment, and discloses a protocol high-availability protection system and a protocol high-availability protection method. The protocol high availability protection system comprises: the system comprises a first main control unit and a second main control unit connected with the first main control unit; the first main control unit is used for receiving message signals sent by other systems, processing the message signals to acquire processing data and storing the processing data to the first main control unit and the second main control unit; the first main control unit is used for sending message receiving confirmation signals to other systems after the second main control unit obtains the processing data; the line card unit is connected with the second main control module and used for receiving processing data and forwarding flow according to the processing data. Compared with the prior art, the protocol high-availability protection system and the protocol high-availability protection method provided by the embodiment of the invention have the advantage of realizing the high availability of the protocol.

Description

Protocol high-availability protection system and protection method
Technical Field
The invention relates to the technical field of network equipment, in particular to a protocol high-availability protection system and a protection method.
Background
With the increasing network bandwidth, the demand of customers for high availability of control planes in network devices, especially network devices, is higher. Each oscillation and re-convergence of the control plane will cause network outage and looping before convergence is completed. The high-availability protection of the control plane means that main/standby switching is performed in a main control unit of the equipment, a protocol is kept uninterrupted, the condition that the flow forwarding of a forwarding plane is influenced by the oscillation and the re-convergence of the control plane is avoided, and the network service quality is improved.
There are several ways to achieve the high availability of the protocol:
1. each protocol of the control plane realizes the synchronization and switching protection of the main and standby states, and the method has high complexity and lacks the uniformity and the simplicity of the scheme.
2. The high availability protection of the control plane is achieved by means of a high availability database. The implementation of the database can be further subdivided into two ways:
(1) The weak consistency scheme of the main and standby main control units of the database can ensure the final consistency between the main and standby units, but the consistency is lack of strict guarantee. After the main control unit modifies the data, the data is synchronized to the front of the standby main control unit, and the data between the main control unit and the standby main control unit is inconsistent. The main/standby switching is initiated within this period of time, which will cause the function of the protocol to fail, thereby causing the oscillation and re-convergence of the control plane. All such schemes based on weak consistency have a limited range of application. Only high availability based on soft state protocols can be supported.
(2) The method for realizing the strong consistency is to adopt a blocking type synchronous copy mode, that is, after the content of the database is modified on the main control unit, the content must be synchronized to one or more protection nodes, and after response confirmation, the modification action can be successfully returned. This approach ensures strong consistency between the primary and standby master control units, but each modification involves data synchronization and waiting across nodes, which can lead to severe performance degradation of the database.
Therefore, how to ensure the high availability of the network protocol when the main control unit and the standby control unit are switched becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention aims to provide a high-availability protection system and a protection method for a protocol, so as to realize high-availability of the protocol.
In order to solve the above technical problem, an embodiment of the present invention provides a protocol high availability protection system, including: the system comprises a first main control unit and a second main control unit connected with the first main control unit; the first main control unit is used for receiving message signals sent to the first main control unit by other systems, processing the message signals to acquire processing data, and storing the processing data to the first main control unit and the second main control unit; the first main control unit is used for sending a message receiving confirmation signal to the other systems after the second main control unit acquires the processing data; the line card unit is connected with the second main control module and used for receiving the processing data and forwarding flow according to the processing data.
The embodiment of the invention also provides a protocol high-availability protection method, which is applied to a protocol high-availability protection system comprising a first main control unit and a second main control unit and comprises the following steps: the first main control unit receives message signals sent by other systems, processes the message signals to acquire processed data, and stores the processed data to the first main control unit and the second main control unit; and the first main control unit sends a message receiving confirmation signal to the other systems after the second main control unit acquires the processing data.
Compared with the prior art, the embodiment of the invention has the advantages that after the first main control unit receives message signals sent by other systems and processes the message signals, the processing data obtained by processing the message signals is stored in the first main control unit and synchronously stored in the second main control unit, and after the second main control unit obtains the processing data, the message receiving confirmation signals are sent to the other systems, so that the synchronization of the processing data of the message signals of the first main control unit and the second main control unit is realized; after the second main control unit obtains the processing data of the message signal, if the switching of the main control units occurs, the first main control unit is converted into the second main control unit, and because the second main control unit stores the processing data of the message signal synchronously, the second main control unit can continue to process the message signal according to the processing data of the message signal synchronously stored, the re-convergence of the main control unit does not occur, and the high availability of the protocol is realized.
In addition, the first main control unit comprises a first protocol component and a first database in communication connection with the first protocol component, and the second main control unit comprises a second protocol component and a second database in communication connection with the second protocol component; the first protocol assembly is used for receiving the message signal, processing the message signal to acquire processing data and storing the processing data to the first database and the second database, and the second protocol assembly is used for acquiring the processing data stored in the second database.
In addition, the first database comprises a first message sending module, and the first message sending module is used for storing and sending the message receiving confirmation signal to the other systems.
Additionally, the first database is communicatively coupled to the second database, the first database configured to receive the process data from the first protocol component and transmit the process data to the second database. The processing data is transmitted to the second database through the first database, when the processing data needs to be compressed or stored after being processed in other modes in the storage process, the first database can directly transmit the processed processing data to the second database, and the second database can directly store the processed data without processing the processed data, so that the transmission and storage efficiency of the processed data is effectively improved.
In addition, the second database comprises a second transmitting module, and the second transmitting module is used for transmitting a processed data receiving confirmation signal to the first database after the second database receives the processed data; the first sending module is used for sending the message receiving confirmation signal to the other systems after receiving the processing data receiving confirmation signal. And the second transmitting module is arranged to transmit a processed data receiving confirmation signal to the first database, so that the second database can receive the processed data of the message signal when the first transmitting module transmits the stored message receiving confirmation signal to other systems, and the data synchronization of the first database and the second database can be ensured.
In addition, the network protocol run by the first protocol component and the network protocol run by the second protocol component are the same.
In addition, the communication protocol is TCP or OSPF.
In addition, the first database and the second database are both SDDMs. The SDDM is a distributed data storage system based on a shared memory, and the system provides extremely high read-write performance through the shared memory, and simultaneously provides data synchronization, time sequence linkage and time sequence cooperation between a first database and a second database, so that strict consistency of information between the first database and the second database is ensured.
In addition, before the first main control unit processes the message signal to obtain processing data, the method further includes: the first master control unit generates and stores the message reception confirmation signal.
In addition, after the second main control unit obtains the processing data, the method further includes: the second main control unit generates and sends a processed data receiving confirmation signal to the first main control unit; and after receiving the processed data receiving confirmation signal, the first main control unit sends a message receiving confirmation signal to the other systems.
In addition, after the first main control unit processes the message signal to obtain processing data, the method further includes: and receiving a new message signal after the first main control unit finishes processing the message signal.
Drawings
Fig. 1 is a schematic structural diagram of a protocol high availability protection system provided in a first embodiment of the present invention;
FIG. 2 is a flow chart of a protocol high availability protection method provided by a second embodiment of the present invention;
FIG. 3 is a flow chart of the transmission process of the TCP protocol high availability protection method;
FIG. 4 is a flow chart of a receiving process of a TCP protocol high availability protection method;
FIG. 5 is a flow chart of a method for high availability protection of the OSPF protocol.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a protocol high availability protection system, the specific structure of which is shown in fig. 1, and the protocol high availability protection system comprises: a first main control unit 10 and a second main control unit 20 connected with the first main control unit 10; the first main control unit 10 is configured to receive a message signal sent by another system, after receiving the message signal, the first main control unit 10 processes the message signal and obtains processing data, and then stores the obtained processing data in the first main control unit 10 and the second main control unit 20; after the second main control unit 20 obtains the processing data of the message signal, the first main control unit 10 sends a message reception confirmation signal to other systems. In addition, the line card unit 30 is connected to the first main control module 10, the line card unit 30 is connected to the second main control module 20, and the line card unit 30 is configured to receive the processing data and forward traffic according to the processing data.
Compared with the prior art, after the first main control unit 10 receives and processes the message signals sent by other systems, the processing data obtained by processing the message signals is stored in the first main control unit 10 and simultaneously synchronously stored in the second main control unit 20, and after the second main control unit 20 obtains the processing data, a message receiving confirmation signal is sent to other systems, so that the synchronization of the processing data of the message signals of the first main control unit 10 and the second main control unit 20 is realized, when the second main control unit 20 does not obtain the processing data of the message signals, if the main control units are switched, the first main control unit 10 is converted into the second main control unit 20, because the message receiving confirmation signal is not sent yet, other systems can resend the message signals, and the second main control unit 20 can also resend the message signals and process the message signals without reconvergence; after the second main control unit 20 obtains the processing data of the message signal, if the main control unit is switched, the first main control unit 10 is converted into the second main control unit 20, because the second main control unit 20 has stored the processing data of the message signal synchronously, the second main control unit 20 can continue to process the message signal according to the processing data of the message signal synchronously stored, and the re-convergence of the main control unit does not occur, thereby realizing the high availability of the protocol.
Specifically, as shown in fig. 2, the first master control unit 10 includes a first protocol component 11 and a first database 12 communicatively connected to the first protocol component 11, and the second master control unit 20 includes a second protocol component 21 and a second database 22 communicatively connected to the second protocol component 21. The first protocol component 11 is configured to receive a message signal, process the message signal to obtain processing data, store the processing data in the first database 12, and synchronously store the processing data in the second database 22; when a handover of the first master unit 10 and the second master unit 20 occurs, the second protocol component 21 may retrieve the stored processing data from the second database 22.
In addition, in the present application, the first database 12 includes a first sending module 13, and the first sending module 13 is configured to store and send a message reception confirmation signal to other systems. After the first protocol component 11 receives foreign language signals of other systems, a message reception confirmation signal is generated and stored in the first sending module 13, after the second main control unit 20 acquires processing data, the first sending module 13 sends the stored message reception confirmation signal to other systems, after the other systems receive the message reception confirmation signal, the sent message signal is not sent any more, if the second main control unit 20 does not acquire the processing data yet and the first main control unit 10 and the second main control unit 20 are switched, the message reception confirmation signal is stored in the first sending module 13 and is not sent yet, after the other systems do not receive the message reception confirmation signal after a period of time interval, the message signal is retransmitted, and at this time, the message signal can be received and reprocessed by the second protocol component 21 in the second main control unit 20, so that processing loss of the message signal is avoided, and the main control unit does not reconvergence, thereby realizing high availability of the protocol.
Specifically, in the present embodiment, the first database 12 is communicatively connected to the second database 22, and the first database 12 is configured to receive the processing data from the first protocol component 11 and transmit the processing data to the second database 22. The processed data is transmitted to the second database 22 through the first database 12, when the processed data needs to be compressed or stored after being processed in other manners in the storage process, the first database 12 can directly transmit the processed data to the second database 22, and the second database 22 can directly store the processed data without processing the processed data, so that the transmission and storage efficiency of the processed data is effectively improved. It should be understood that the foregoing transmission of the processing data to the second database 22 through the first database 12 is only an example in this embodiment, and is not limited thereto, and in other embodiments of the present invention, other manners such as transmission of the processing data to the first database 12 and the second database 22 through the first protocol component 11 may also be used, and the configuration may be flexibly set according to actual needs.
In addition, the second database 22 includes a second transmitting module 23, and the second transmitting module 23 is configured to transmit a processed data reception confirmation signal to the first database 12 after the second database 22 receives the processed data; after the first database 12 receives the processed data receiving confirmation signal, the first sending module 13 sends the stored message receiving confirmation signal to other systems. The second sending module 23 is configured to send a processed data receiving confirmation signal to the first database 12, so as to ensure that the second database 22 has received the processed data of the message signal when the first sending module 13 sends the stored message receiving confirmation signal to another system, thereby ensuring that the data of the first database 12 and the second database 22 are synchronized.
Preferably, in the present embodiment, the network Protocol run by the First Protocol component 11 is the same as the network Protocol run by the second Protocol component 21, for example, the First Protocol component 11 and the second Protocol component 21 may run a network communication Protocol such as TCP (Transmission Control Protocol) or OSPF (Open Shortest Path First). When the first main control unit 10 and the second main control unit 20 are switched, the network protocol run by the first protocol component 11 is the same as the network protocol run by the second protocol component 21, which can ensure the continuous processing of the message signal, thereby further realizing the high availability of the protocol.
Preferably, in this embodiment, the first database and the second database are both SDDMs (Shared-Memory Distributed Data Manager). The SDDM is a distributed data storage system based on a shared memory, and the system can provide extremely high read-write performance through the shared memory, simultaneously ensure data synchronization, time sequence linkage and time sequence cooperation between a first database and a second database, and ensure strict consistency of information between the first database and the second database.
A second embodiment of the present invention provides a protocol high availability protection method, which is applied to a protocol high availability protection system including a first main control unit and a second main control unit, and as shown in fig. 2, the method includes the following steps:
step S101: the first main control unit receives message signals sent by other systems.
Specifically, in this embodiment, the other system may be another system operating on a terminal different from the protocol high availability protection system, or another system operating on the same terminal as the protocol high availability protection system, and may be flexibly set according to actual needs. For example, when the network protocol running in the first main control unit is a TCP protocol, the other system may be a client of the current terminal; when the network protocol running in the first master control unit is the OSPF protocol, the other system may be an LSA advertisement network topology running on the other terminal.
Step S102: the first main control unit processes the message signal to acquire processing data.
Specifically, in this embodiment, the first main control unit processes the received message signal through the network protocol operated by the first main control unit, and during the protocol processing, corresponding processing data, such as change data of the protocol state and the like, may be generated, where the change data of the protocol state includes state data required by the protocol itself for processing, and also includes a forwarding information entry calculated according to the protocol message and used for guiding the forwarding plane to work.
Step S103: the first master control unit stores the processing data to the first master control unit and the second master control unit.
Step S104: and the first main control unit sends message receiving confirmation signals to other systems after the second main control unit acquires the processing data.
Specifically, in this embodiment, after the second main control unit obtains the processed data, the second main control unit generates and sends a processed data reception confirmation signal to the first main control unit, and after the first main control unit receives the processed data reception confirmation signal sent by the second main control unit, the step of sending a message reception confirmation signal to another system is executed, so as to ensure synchronization of the processed data between the first main control unit and the second main control unit.
Step S105: and the first main control unit or the second main control unit sends processing data to the line card unit.
Specifically, in this embodiment, after sending a message reception acknowledgement signal to another system, the first main control unit sends the processing data to the line card unit, and the line card unit performs traffic forwarding according to the processing data.
It should be noted that, in this embodiment, as long as the first main control unit completes processing of one message signal, all processing data of the message signal is obtained, and whether the processing data and the second main control unit complete synchronous storage or not, the second main control unit may continue to receive another message signal for processing, so as to ensure that no fault occurs in the processing process of the message signal, and improve the processing efficiency of the message.
It should be understood that this embodiment is an example of a protocol highly available protection method corresponding to the first embodiment, and this embodiment may be implemented in cooperation with the first embodiment. The related technical details and technical effects mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related technical details and technical effects mentioned in the present embodiment can also be applied to the first embodiment.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of this patent to add insignificant modifications or introduce insignificant designs to the algorithms or processes, but not to change the core designs of the algorithms and processes.
In the following, the network protocols run in the first protocol component and the second protocol component will be exemplified, specifically as follows.
When the network protocol running in the first protocol component and the second protocol component is TCP, TCP is a network transport layer protocol that enables reliable transmission of information over a network through a send-acknowledge-sliding window mechanism. Reliable transmission of TCP is divided into two directions, sending and receiving, which are described as follows:
the TCP sending process is shown in fig. 3, and includes:
step S201: the first protocol assembly receives a message signal sent by a client.
Step S202: the first protocol assembly processes the message signal to obtain the content of the sending window, and stores the content of the sending window in the first database.
Step S203: the first protocol assembly generates a message receiving confirmation signal and stores the message receiving confirmation signal in the first message sending module.
Step S204: the first database synchronizes the contents of the send window to the second database.
Step S205: and after receiving the contents of the sending window, the second database stores the contents of the sending window and sends a data receiving confirmation signal for processing to the first database through the second sending module.
Step S206: after the first database receives the processed data receiving confirmation signal, the first message sending module sends the stored message receiving confirmation signal to the client.
Step S207: the first protocol component transmits the contents of the transmission window stored in the first database to the line card unit.
Step S208: and after receiving the content of the sending window, the line card unit sends a response message to the first protocol component.
Step S209: and the first protocol component updates the content of the sending window stored in the first database according to the response message.
Step S210: the first database synchronizes the updated contents of the send window to the second database.
Therefore, in the process, the conversion main control unit can ensure that the TCP link is not interrupted and information is not lost at any time. If the master control unit is converted before step S206, the first sending module does not send the stored message receiving confirmation signal to the client, and the client will send the message signal to the converted master control module again if the client does not receive the message receiving confirmation signal for a certain time; if the main control unit is switched after step S206, the sliding window information is already synchronized to the second database, and the second protocol component in the second main control module after switching can acquire the contents of the sending window from the second database and continue processing, thereby ensuring the reliability of TCP transmission.
The TCP receiving process is shown in fig. 4, and includes:
step S301: the first protocol assembly receives a message signal sent by an external terminal.
Step S302: the first protocol assembly processes the message signal to obtain the content of the sending window, and stores the content of the sending window in the first database.
Step S303: the first protocol assembly generates a message receiving confirmation signal and stores the message receiving confirmation signal in the first message sending module.
Step S304: the first database synchronizes the send window content to the second database.
Step S305: and after receiving the contents of the sending window, the second database stores the contents of the sending window and sends a data receiving confirmation signal for processing to the first database through the second sending module.
Step S306: after the first database receives the processed data receiving confirmation signal, the first message sending module sends the stored message receiving confirmation signal to the client.
Step S307: the first protocol component transmits the contents of the transmission window stored in the first database to the line card unit.
Therefore, in the process, the conversion main control unit can ensure that the TCP link is not interrupted and information is not lost at any time. If the main control unit is converted before step S307, the first sending module does not send the stored message reception confirmation signal to the external terminal, and the external terminal sends the message signal to the converted main control module again if the external terminal does not receive the message reception confirmation signal for a certain time. Therefore, the reliability of TCP transmission in the conversion process of the main control module is ensured.
When the network protocol operated in the first protocol component and the second protocol component is the OSPF protocol, the OSPF protocol is an IP network routing protocol, and the protocol collects and advertises the network topology through the LSA, and calculates a route according to the network topology, so as to guide the forwarding engine to send the traffic. The specific steps are shown in fig. 5, and include:
step S401: the external terminal sends a message signal including the network topology to the first protocol component through the LSA, and the first protocol component receives the LSA.
Step S402: the first protocol component stores the LSA information into a first database, simultaneously starts Shortest Path First (SPF) routing calculation, and stores the calculated routing information into the first database.
Step S403: the first protocol assembly generates a message receiving confirmation signal and stores the message receiving confirmation signal in the first message sending module.
Step S404: the first database synchronizes the LSA information and the routing information to the second database.
Step S405: after receiving the LSA information and the routing information, the second database stores the LSA information and the routing information, and sends a data receiving and confirming signal for processing to the first database through the second sending module.
Step S406: after the first database receives the processed data receiving confirmation signal, the first message sending module sends the stored message receiving confirmation signal to the client.
Step S407: the first protocol component transmits the contents of the transmission window stored in the first database to the line card unit.
Therefore, in the process, the switching main control unit can ensure that the routing information in the OSPF is not lost at any time. If the main control unit is converted before step S407, the first sending module does not send the stored message reception confirmation signal to the external terminal, and the external terminal will send a message signal to the converted main control module again if it does not receive the message reception confirmation signal for a certain time. Therefore, the reliability of OSPF transmission in the conversion process of the main control module is ensured.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (11)

1. A protocol high availability protection system, comprising:
the system comprises a first main control unit and a second main control unit connected with the first main control unit;
the first main control unit is used for receiving message signals sent by other systems, processing the message signals to acquire processing data, and storing the processing data to the first main control unit and the second main control unit;
the first main control unit is used for sending a message receiving confirmation signal to the other systems after the second main control unit obtains the processing data;
the line card unit is connected with the second main control module and used for receiving the processing data and forwarding flow according to the processing data.
2. The protocol high availability protection system of claim 1, wherein the first master unit comprises a first protocol component and a first database communicatively coupled to the first protocol component, and wherein the second master unit comprises a second protocol component and a second database communicatively coupled to the second protocol component;
the first protocol assembly is used for receiving the message signal, processing the message signal to acquire processing data and storing the processing data to the first database and the second database, and the second protocol assembly is used for acquiring the processing data stored in the second database.
3. The system according to claim 2, wherein the first database comprises a first sending module, and the first sending module is configured to store and send the message reception acknowledgement signal to the other system.
4. The protocol high availability protection system of claim 2, wherein the first database is communicatively coupled to the second database, the first database configured to receive the processed data from the first protocol component and transmit the processed data to the second database.
5. The system according to claim 4, wherein the second database comprises a second reporting module, and the second reporting module is configured to send a processed data reception confirmation signal to the first database after the second database receives the processed data;
the first sending module is used for sending the message receiving confirmation signal to the other systems after receiving the processing data receiving confirmation signal.
6. The protocol high availability protection system of claim 2, wherein the network protocol run by the first protocol component and the network protocol run by the second protocol component are the same.
7. The protocol high availability protection system of claim 6, wherein the communication protocol is TCP or OSPF.
8. The protocol high availability protection system of claim 2, wherein the first database and the second database are both SDDMs.
9. A protocol high availability protection method is applied to a protocol high availability protection system comprising a first main control unit and a second main control unit, and is characterized by comprising the following steps:
the first main control unit receives message signals sent by other systems, processes the message signals to acquire processed data, and stores the processed data to the first main control unit and the second main control unit;
the first main control unit sends a message receiving confirmation signal to the other systems after the second main control unit obtains the processing data;
and the first main control unit or the second main control unit sends the processing data to a line card unit.
10. The protocol high availability protection method according to claim 9, wherein after the second master control unit obtains the processing data, the method further comprises:
the second main control unit generates and sends a processed data receiving confirmation signal to the first main control unit;
and after receiving the processing data receiving confirmation signal, the first main control unit sends a message receiving confirmation signal to the other systems.
11. The protocol high availability protection method according to claim 9, wherein after the first master control unit processes the packet signal to obtain the processing data, the method further comprises:
and receiving a new message signal after the first main control unit finishes processing the message signal.
CN202110729464.6A 2021-06-29 2021-06-29 Protocol high-availability protection system and protection method Pending CN115550474A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110729464.6A CN115550474A (en) 2021-06-29 2021-06-29 Protocol high-availability protection system and protection method
PCT/CN2022/099981 WO2023273945A1 (en) 2021-06-29 2022-06-20 Protocol high availability protection system and protection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110729464.6A CN115550474A (en) 2021-06-29 2021-06-29 Protocol high-availability protection system and protection method

Publications (1)

Publication Number Publication Date
CN115550474A true CN115550474A (en) 2022-12-30

Family

ID=84691215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110729464.6A Pending CN115550474A (en) 2021-06-29 2021-06-29 Protocol high-availability protection system and protection method

Country Status (2)

Country Link
CN (1) CN115550474A (en)
WO (1) WO2023273945A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100420207C (en) * 2006-07-26 2008-09-17 华为技术有限公司 Method and apparatus for realizing communication take-over and control
CN101764738B (en) * 2008-12-25 2012-07-11 华为技术有限公司 Backup method supporting TCP protocol connection and device thereof
JPWO2014030252A1 (en) * 2012-08-24 2016-07-28 株式会社日立製作所 Storage apparatus and data management method
CN103944974B (en) * 2014-04-02 2017-10-17 华为技术有限公司 A kind of protocol message processing method, controller failure processing method and relevant device
CN106533771B (en) * 2016-11-24 2019-12-06 新华三技术有限公司 Network equipment and control information transmission method

Also Published As

Publication number Publication date
WO2023273945A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
EP3373547B1 (en) Method for realizing disaster tolerance backup
US7035264B2 (en) Communication network system and method for synchronously controlling path connection
US6452934B1 (en) Packet forwarding apparatus
JP2002314598A (en) Data distribution method
KR102157711B1 (en) Methods for recovering failure in communication networks
CN113746733A (en) Table item synchronization method, gateway equipment, networking system and storage medium
CN113794618B (en) Redundant network communication method and device based on virtual network card and terminal equipment
CN107547374B (en) Aggregation route processing method and device
CN115361335A (en) SR-MPLS-based dynamic routing method for low-orbit satellite network
JPH1168799A (en) Synchronous digital hierarcy communication network and application therefor
CN106533771B (en) Network equipment and control information transmission method
CN117082054A (en) Data transmission method, device, system and medium
CN110557268B (en) Method and device for controlling transmission of Ethernet frame
CN115550474A (en) Protocol high-availability protection system and protection method
JP4387937B2 (en) Telephone system and switching system
CN108599984B (en) Method for sharing port state, access equipment and system for supporting dual-homing protection
WO2019134572A1 (en) Sdn-based optical transport network protection recovery method and device, and storage medium
US7184394B2 (en) Routing system providing continuity of service for the interfaces associated with neighboring networks
JP2001237889A (en) Bypass control method and system in data communication network
US10277674B2 (en) Apparatus for relaying data transmission in SCADA system
US7929423B2 (en) MLPPP sequence number synchronization between the active and standby transmitters
CN101645840B (en) Method, system and routing equipment for retransmitting message
EP1965530A1 (en) A method for soft rerouting in optical network
US7120112B1 (en) Redundancy in media stream processing
CN114158067B (en) Method and device for data transmission in private network

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