CN113507386B - Hybrid backup method, device, equipment and machine-readable storage medium - Google Patents

Hybrid backup method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN113507386B
CN113507386B CN202110711225.8A CN202110711225A CN113507386B CN 113507386 B CN113507386 B CN 113507386B CN 202110711225 A CN202110711225 A CN 202110711225A CN 113507386 B CN113507386 B CN 113507386B
Authority
CN
China
Prior art keywords
rbm
service board
standby
unit
irf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110711225.8A
Other languages
Chinese (zh)
Other versions
CN113507386A (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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110711225.8A priority Critical patent/CN113507386B/en
Publication of CN113507386A publication Critical patent/CN113507386A/en
Application granted granted Critical
Publication of CN113507386B publication Critical patent/CN113507386B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present disclosure provides a hybrid backup method, apparatus, device, and machine-readable storage medium, the method comprising: establishing a session table entry, and synchronizing the session table entry to an IRF standby service board of the RBM main unit, an IRF main service board of the RBM standby unit and a reverse flow service board of the RBM main unit; establishing an association table entry, and synchronizing the association table entry to an IRF standby service board of the RBM main unit, an IRF main service board of the RBM standby unit, a reverse flow service board of the RBM main unit and a standby service board thereof, and a reverse flow service board of the RBM standby unit; and forwarding the service traffic according to the session table entry and the associated table entry. Through the technical scheme of the present disclosure, through the synchronous setting of the session table entry and the association table entry, the IRF backup and the RBM backup are simultaneously realized in the networking, and meanwhile, the path reliability and the node reliability are provided.

Description

Hybrid backup method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a hybrid backup method, apparatus, device, and machine-readable storage medium.
Background
ALG (Application Layer Gateway ), a class of firewalls consisting of an augmented firewall or computer network application or NAT security component.
RBM (Remote Backup Management ) provides a technique for backup of critical configuration information and service entries between devices. The dual-machine hot standby function can be realized by matching with the VRRP technology, so that when the main equipment in the network fails, the standby equipment can smoothly take over the work of the main equipment, and uninterrupted transmission of user service data is ensured.
IRF (Intelligent Resilient Framework, intelligent elastic framework) is a software virtualization technology, which can simplify network topology, improve management efficiency, and provide 1: n equipment-level backup, realizing enterprise network and data center convergence/core layer solution.
The IRF backup ensures the reliability of the network node, the RBM backup ensures the reliability of the path, and the prior art scheme only ensures the reliability of the path or the reliability of the node, but cannot ensure the reliability of the path and the reliability of the node at the same time.
Disclosure of Invention
In view of the above, the present disclosure provides a hybrid backup method, apparatus, electronic device, and machine-readable storage medium, so as to solve the above problem that the path reliability and the node reliability cannot be guaranteed at the same time.
The technical scheme is as follows:
the present disclosure provides a hybrid backup method applied to a main service board of a hybrid backup system, the method comprising: establishing a session table entry, synchronizing the session table entry to an IRF (inter-ring buffer) service board of the RBM host group according to IRF configuration, synchronizing the session table entry to the IRF main service board of the RBM host group according to RBM configuration, calculating a reverse flow service board according to a preset rule, and synchronizing the session table entry to the reverse flow service board of the RBM host group; the reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit; establishing an association table item, synchronizing the association table item to an IRF standby service board of the RBM main unit according to IRF configuration, synchronizing the association table item to an IRF main service board of the RBM standby unit according to RBM configuration, calculating a reverse flow service board according to a preset rule, synchronizing the association table item to the reverse flow service board of the RBM main unit, the standby service board thereof and the reverse flow service board of the RBM standby unit; the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit; and forwarding the service traffic according to the session table entry and the associated table entry.
When the session list item triggers aging, the IRF standby service board of the RBM host set, the IRF main service board of the RBM standby set and the reverse flow service board of the RBM host set are informed to delete the session list item; the reverse flow service board of the RBM main unit is used for informing the standby service board of the RBM standby unit to delete the session list item, the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit, the reverse flow service board of the RBM standby unit obtained through calculation according to a preset rule to delete the session list item, and the reverse flow service board of the RBM standby unit informs the standby service board of the RBM standby unit to delete the session list item.
When the associated table item triggers aging, the IRF backup service board of the RBM main unit is informed to delete the associated table item, the IRF main service board of the RBM backup unit is informed to delete the associated table item, and the reverse flow service board of the RBM main unit, the backup service board thereof and the reverse flow service board of the RBM backup unit are informed to delete the associated table item; the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit to delete the associated table entry, and the reverse flow service board of the RBM standby unit is used for informing the standby service board of the RBM standby unit to delete the associated table entry.
As a technical scheme, receiving reverse notification about deletion of associated table items sent by an IRF (inter-ring buffer) service board of an RBM (radial basis function) main unit or an IRF main service board of the RBM main unit or a reverse flow service board of the RBM main unit or a standby service board thereof; deleting the associated table item according to the reverse notification; and according to the reverse notification, notifying the IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit, the reverse flow service board of the RBM standby unit, and the reverse flow service board of the RBM main unit, and deleting the associated table entry by the equipment which does not send the reverse notification in the standby service board.
The present disclosure also provides a hybrid backup device applied to a main service board of a hybrid backup system, the device including: the session module is used for establishing a session table entry, synchronizing the session table entry to the IRF standby service board of the RBM host group according to IRF configuration, synchronizing the session table entry to the IRF main service board of the RBM standby group according to RBM configuration, calculating a reverse flow service board according to a preset rule, and synchronizing the session table entry to the reverse flow service board of the RBM host group; the reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit; the correlation module is used for establishing a correlation table item, synchronizing the correlation table item to the IRF backup service board of the RBM main unit according to IRF configuration, synchronizing the correlation table item to the IRF main service board of the RBM backup unit according to RBM configuration, calculating a reverse flow service board according to a preset rule, synchronizing the correlation table item to the reverse flow service board of the RBM main unit, the backup service board thereof and the reverse flow service board of the RBM backup unit; the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit; and the forwarding module is used for forwarding the service traffic according to the session table entry and the associated table entry.
The technical scheme comprises an aging module, a service management module and a service management module, wherein the aging module is used for notifying an IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit and a reverse flow service board of the RBM main unit to delete a session table item when the session table item triggers aging; the reverse flow service board of the RBM main unit is used for informing the standby service board of the RBM standby unit to delete the session list item, the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit, the reverse flow service board of the RBM standby unit obtained through calculation according to a preset rule to delete the session list item, and the reverse flow service board of the RBM standby unit informs the standby service board of the RBM standby unit to delete the session list item.
The technical scheme comprises an aging module, a reverse flow service board and a backup service board of the RBM main unit, wherein the aging module is used for informing the IRF backup service board of the RBM main unit to delete the related table item when the related table item triggers aging, informing the IRF main service board of the RBM backup unit to delete the related table item, and informing the reverse flow service board of the RBM main unit and the backup service board thereof as well as the reverse flow service board of the RBM backup unit to delete the related table item; the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit to delete the associated table entry, and the reverse flow service board of the RBM standby unit is used for informing the standby service board of the RBM standby unit to delete the associated table entry.
As a technical scheme, the aging device comprises an aging module for: receiving reverse notification about deletion of associated table items sent by an IRF (inter-ring function) standby service board of an RBM (radial basis function) main service board or an IRF main service board of the RBM standby unit or a reverse flow service board of the RBM main unit or a standby service board thereof; deleting the associated table item according to the reverse notification; and according to the reverse notification, notifying the IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit, the reverse flow service board of the RBM standby unit, and the reverse flow service board of the RBM main unit, and deleting the associated table entry by the equipment which does not send the reverse notification in the standby service board.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the hybrid backup method described previously.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the hybrid backup method described previously.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
through the synchronous setting of the session table item and the associated table item, IRF backup and RBM backup are realized in the networking at the same time, and meanwhile, reliable paths and reliable nodes are provided.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required to be used in the embodiments of the present disclosure or the description of the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may also be obtained according to these drawings of the embodiments of the present disclosure to those skilled in the art.
FIG. 1 is a flow chart of a hybrid backup method in one embodiment of the present disclosure;
FIG. 2 is a block diagram of a hybrid backup device in one embodiment of the present disclosure;
FIG. 3 is a hardware block diagram of an electronic device in one embodiment of the present disclosure;
fig. 4 is a networking schematic of a hybrid backup of the present disclosure.
Detailed Description
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
A backup mode is route independent backup, the flow hot backup function is realized through relevant configuration synchronization, session synchronization and service data synchronization, and when one device fails, the flow is seamlessly switched to backup equipment through route path switching; and when one device fails, the flow is forwarded through the backup device by an IRF active-standby switching mechanism, the flow is not interrupted, and the up-and-down routing path is unchanged.
The IRF backup ensures the reliability of the network node, and the RBM backup ensures the reliability of the path, but neither can ensure the reliability of the path and the reliability of the node at the same time.
In view of the above, the present disclosure provides a hybrid backup method, apparatus, electronic device, and machine-readable storage medium, so as to solve the above problem that the path reliability and the node reliability cannot be guaranteed at the same time.
Specifically, the technical scheme is as follows.
In one embodiment, the present disclosure provides a hybrid backup method applied to a main service board of a hybrid backup system, the method including: establishing a session table entry, synchronizing the session table entry to an IRF (inter-ring buffer) service board of the RBM host group according to IRF configuration, synchronizing the session table entry to the IRF main service board of the RBM host group according to RBM configuration, calculating a reverse flow service board according to a preset rule, and synchronizing the session table entry to the reverse flow service board of the RBM host group; the reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit; establishing an association table item, synchronizing the association table item to an IRF standby service board of the RBM main unit according to IRF configuration, synchronizing the association table item to an IRF main service board of the RBM standby unit according to RBM configuration, calculating a reverse flow service board according to a preset rule, synchronizing the association table item to the reverse flow service board of the RBM main unit, the standby service board thereof and the reverse flow service board of the RBM standby unit; the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit; and forwarding the service traffic according to the session table entry and the associated table entry.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, establishing a session table entry, synchronizing the session table entry to the IRF standby service board of the RBM host group according to IRF configuration, synchronizing the session table entry to the IRF main service board of the RBM standby group according to RBM configuration, calculating a reverse flow service board according to a preset rule, and synchronizing the session table entry to the reverse flow service board of the RBM host group;
step S12, establishing an association table item, configuring an IRF backup service board synchronization association table item to an RBM host machine group according to IRF, configuring an IRF main service board synchronization association table item to the RBM backup machine group according to RBM, calculating a reverse flow service board according to a preset rule, and synchronizing the association table item to the reverse flow service board of the RBM host machine group, the backup service board thereof and the reverse flow service board of the RBM backup machine group;
and step S13, forwarding the service flow according to the session table item and the association table item.
The reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit; the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit.
Through the synchronous setting of the session table item and the associated table item, IRF backup and RBM backup are realized in the networking at the same time, and meanwhile, reliable paths and reliable nodes are provided.
In one implementation mode, when the session list item triggers aging, the IRF standby service board of the RBM host set, the IRF main service board of the RBM standby set and the reverse flow service board of the RBM host set are informed to delete the session list item; the reverse flow service board of the RBM main unit is used for informing the standby service board of the RBM standby unit to delete the session list item, the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit, the reverse flow service board of the RBM standby unit obtained through calculation according to a preset rule to delete the session list item, and the reverse flow service board of the RBM standby unit informs the standby service board of the RBM standby unit to delete the session list item.
In one embodiment, when the association table item triggers aging, the IRF backup service board of the RBM main unit is notified to delete the association table item, the IRF main service board of the RBM backup unit is notified to delete the association table item, and the reverse flow service board of the RBM main unit, the backup service board thereof and the reverse flow service board of the RBM backup unit are notified to delete the association table item; the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit to delete the associated table entry, and the reverse flow service board of the RBM standby unit is used for informing the standby service board of the RBM standby unit to delete the associated table entry.
In one implementation, receiving a reverse notification about deletion of an associated table entry sent by an IRF backup service board of the RBM main unit or an IRF main service board of the RBM backup unit or a reverse traffic service board of the RBM main unit or a backup service board thereof; deleting the associated table item according to the reverse notification; and according to the reverse notification, notifying the IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit, the reverse flow service board of the RBM standby unit, and the reverse flow service board of the RBM main unit, and deleting the associated table entry by the equipment which does not send the reverse notification in the standby service board.
In one embodiment, in order to cope with complex networking conditions, IRF backup and RBM backup are configured at the same time, and uplink and downlink flows are irregular, any one device can be used to complete services such as security authentication and NAT address translation, and network services such as SIP, RTSTP and other voice and video services are implemented by using ALG characteristics.
For normal operation of user service, the device needs to generate session table entry and associated table entry matching with IP traffic, to support asymmetric routing, the table entry needs to be synchronized on the forward and backward paths of traffic, and to support the device backup mechanism, the table entry needs to be synchronized between the IRF backup and the device members of RBM backup. And forwarding the flow according to the synchronous session table entry, and establishing a sub-session according to the synchronous association table entry.
As shown in fig. 4, an IRF backup service board F1 of the RBM main unit, an IRF main service board F2 of the RBM main unit, a backup service board B1 of a reverse flow service board of the RBM main unit, and a reverse flow service board B2 of the RBM main unit form the RBM main unit in an IRF elastic stacking backup mode, and are virtualized as a device in a network; an IRF main service board F3 of the RBM standby unit, an IRF standby service board F4 of the RBM standby unit, a reverse flow service board B3 of the RBM standby unit and a standby service board B4 of the reverse flow service board of the RBM standby unit form the RBM standby unit in an IRF elastic stacking backup mode, and are virtualized as a device in a network; the RBM main unit and the RBM standby unit form RBM backup. The main service board, i.e. the IRF main service board of the RBM main unit, i.e. F2 in the figure.
When the main service board F2 session table is established, the synchronous session table is configured to F1 according to IRF, the synchronous table is configured to F3 according to RBM, hash operation is carried out according to the message IP address, and the session table is synchronized to B2; b2 on the reverse path synchronizes the session entry to the corresponding IRF standby B1 when recovering the session entry. Similarly, F3 synchronizes session table entries to F4 and B3, and B3 synchronizes session table entries to corresponding IRF standby machine B4
When the associated table entries are established, in order to ensure that reverse flow and sub-session flow can be processed in time, an IRF reverse flow service board and an RBM service board are calculated, then the associated table entries are sequentially synchronized to F1, F3, B2, B1 and B3, and mark backup is reserved on the associated table entries.
The conversation and the associated list items are synchronously copied according to the label sequence, and the reverse flow and the associated flow are matched with the associated forwarding list items, so that the flow can be normally forwarded in the backup environment.
After the life cycle of the session table entry of the main service board is ended and triggers aging, the main service board notifies the backup session to delete, the backup session cannot initiate deleting by itself, namely, the original session notifies the IRF backup session to delete, notifies the RBM backup session to delete, notifies the synchronous session table entry of the reverse flow path to delete, and notifies the RBM backup session of the reverse path to delete and notifies the IRF backup session of the reverse path to delete when the session of the reverse path is deleted.
After the life cycle of the associated table item is finished and ageing is triggered, if the backup table item is firstly ageing, the original table item is informed to be deleted, when the original table item is deleted, the backup table item of the associated table item is informed to be deleted according to the backup mark, and the backup table item of the associated table item can initiate ageing deletion.
And when the session table item is deleted, the path is consistent with the path of the session table item backup, and the session table item is initiated by F2. The deleting path of the associated table entry can be initiated by the main service plate, the deleting path is consistent with the path of the backup table entry, or initiated by other service plates, the F2 service plate is reversely notified, and then the other service plates are notified according to the backup path from the F2.
In one embodiment, the present disclosure also provides a hybrid backup apparatus, as shown in fig. 2, applied to a main service board of a hybrid backup system, where the apparatus includes: a session module 21, configured to establish a session table entry, synchronize the session table entry to the IRF backup service board of the RBM host according to the IRF configuration, synchronize the session table entry to the IRF main service board of the RBM backup unit according to the RBM configuration, calculate a reverse traffic service board according to a preset rule, and synchronize the session table entry to the reverse traffic service board of the RBM host; the reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit; the association module 22 is configured to establish an association table, synchronize the association table to the IRF backup service boards of the RBM main unit according to the IRF configuration, synchronize the association table to the IRF main service boards of the RBM backup unit according to the RBM configuration, calculate the service boards of the reverse flow according to the preset rule, synchronize the association table to the reverse flow service boards of the RBM main unit, the backup service boards thereof, and the reverse flow service boards of the RBM backup unit; the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit; and the forwarding module 23 is configured to forward the traffic according to the session table entry and the association table entry.
In one embodiment, the device comprises an aging module, a session table entry deletion module, a message processing module and a message processing module, wherein the aging module is used for notifying an IRF standby service board of the RBM host set, an IRF main service board of the RBM standby set and a reverse flow service board of the RBM host set to delete the session table entry when the session table entry triggers aging; the reverse flow service board of the RBM main unit is used for informing the standby service board of the RBM standby unit to delete the session list item, the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit, the reverse flow service board of the RBM standby unit obtained through calculation according to a preset rule to delete the session list item, and the reverse flow service board of the RBM standby unit informs the standby service board of the RBM standby unit to delete the session list item.
In one embodiment, the device comprises an aging module, a reverse traffic service board and a backup service board of the RBM main unit, wherein the aging module is used for notifying the IRF backup service board of the RBM main unit to delete the related table item when the related table item triggers aging, notifying the IRF main service board of the RBM backup unit to delete the related table item, and notifying the reverse traffic service board of the RBM main unit and the backup service board thereof and the reverse traffic service board of the RBM backup unit to delete the related table item; the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit to delete the associated table entry, and the reverse flow service board of the RBM standby unit is used for informing the standby service board of the RBM standby unit to delete the associated table entry.
In one embodiment, an aging module is included for: receiving reverse notification about deletion of associated table items sent by an IRF (inter-ring function) standby service board of an RBM (radial basis function) main service board or an IRF main service board of the RBM standby unit or a reverse flow service board of the RBM main unit or a standby service board thereof; deleting the associated table item according to the reverse notification; and according to the reverse notification, notifying the IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit, the reverse flow service board of the RBM standby unit, and the reverse flow service board of the RBM main unit, and deleting the associated table entry by the equipment which does not send the reverse notification in the standby service board.
The device embodiments are the same as or similar to the corresponding method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the foregoing hybrid backup method, and from a hardware level, a hardware architecture diagram may be seen in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned hybrid backup method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like. For example, a machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of the various elements may be implemented in one or more software and/or hardware in implementing the present disclosure.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. A hybrid backup method applied to a main service board of a hybrid backup system, the method comprising:
establishing a session table entry, synchronizing the session table entry to an IRF (inter-ring buffer) service board of the RBM host group according to IRF configuration, synchronizing the session table entry to the IRF main service board of the RBM host group according to RBM configuration, calculating a reverse flow service board according to a preset rule, and synchronizing the session table entry to the reverse flow service board of the RBM host group;
the reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit;
establishing an association table item, synchronizing the association table item to an IRF standby service board of the RBM main unit according to IRF configuration, synchronizing the association table item to an IRF main service board of the RBM standby unit according to RBM configuration, calculating a reverse flow service board according to a preset rule, synchronizing the association table item to the reverse flow service board of the RBM main unit, the standby service board thereof and the reverse flow service board of the RBM standby unit;
the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit;
and forwarding the service traffic according to the session table entry and the associated table entry.
2. The method of claim 1, wherein upon triggering aging of the session table entry, notifying the IRF backup service board of the RBM main unit, the IRF main service board of the RBM backup unit, and the reverse traffic service board of the RBM main unit to delete the session table entry;
the reverse flow service board of the RBM main unit is used for informing the standby service board of the RBM standby unit to delete the session list item, the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit, the reverse flow service board of the RBM standby unit obtained through calculation according to a preset rule to delete the session list item, and the reverse flow service board of the RBM standby unit informs the standby service board of the RBM standby unit to delete the session list item.
3. The method of claim 1, wherein when an association table is triggered to age, an IRF backup service board of the RBM main unit is notified to delete the association table, an IRF main service board of the RBM backup unit is notified to delete the association table, and a reverse traffic service board of the RBM main unit, a backup service board of the RBM backup unit and a reverse traffic service board of the RBM backup unit are notified to delete the association table;
the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit to delete the associated table entry, and the reverse flow service board of the RBM standby unit is used for informing the standby service board of the RBM standby unit to delete the associated table entry.
4. The method of claim 1, wherein receiving a reverse notification about deletion of an associated table entry sent by an IRF backup service board of the RBM main unit or an IRF main service board of the RBM backup unit or a reverse traffic service board of the RBM main unit or a backup service board thereof;
deleting the associated table item according to the reverse notification;
and according to the reverse notification, notifying the IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit, the reverse flow service board of the RBM standby unit, and the reverse flow service board of the RBM main unit, and deleting the associated table entry by the equipment which does not send the reverse notification in the standby service board.
5. A hybrid backup device for a main service board of a hybrid backup system, the device comprising:
the session module is used for establishing a session table entry, synchronizing the session table entry to the IRF standby service board of the RBM host group according to IRF configuration, synchronizing the session table entry to the IRF main service board of the RBM standby group according to RBM configuration, calculating a reverse flow service board according to a preset rule, and synchronizing the session table entry to the reverse flow service board of the RBM host group;
the reverse flow service board of the RBM main unit is used for synchronizing the session table item with the standby service board of the RBM main unit, the IRF main service board of the RBM standby unit is used for synchronizing the session table item with the IRF standby service board of the RBM standby unit and the reverse flow service board of the RBM standby unit calculated according to a preset rule, and the reverse flow service board of the RBM standby unit synchronizes the session table item with the standby service board of the RBM standby unit;
the correlation module is used for establishing a correlation table item, synchronizing the correlation table item to the IRF backup service board of the RBM main unit according to IRF configuration, synchronizing the correlation table item to the IRF main service board of the RBM backup unit according to RBM configuration, calculating a reverse flow service board according to a preset rule, synchronizing the correlation table item to the reverse flow service board of the RBM main unit, the backup service board thereof and the reverse flow service board of the RBM backup unit;
the IRF main service board of the RBM standby unit is used for synchronizing the associated table items to the IRF standby service board of the RBM standby unit, and the reverse flow service board of the RBM standby unit is used for synchronizing the associated table items to the standby service board of the RBM standby unit;
and the forwarding module is used for forwarding the service traffic according to the session table entry and the associated table entry.
6. The apparatus of claim 5, comprising an aging module configured to notify the IRF backup service board of the RBM main unit, the IRF main service board of the RBM backup unit, and the reverse traffic service board of the RBM main unit to delete the session table entry when the session table entry triggers aging;
the reverse flow service board of the RBM main unit is used for informing the standby service board of the RBM standby unit to delete the session list item, the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit, the reverse flow service board of the RBM standby unit obtained through calculation according to a preset rule to delete the session list item, and the reverse flow service board of the RBM standby unit informs the standby service board of the RBM standby unit to delete the session list item.
7. The apparatus of claim 5, comprising an aging module configured to, when an association table is triggered to age, notify an IRF backup service board of an RBM main unit to delete the association table, notify an IRF main service board of an RBM backup unit to delete the association table, and notify a reverse traffic service board of the RBM main unit and a backup service board thereof, and a reverse traffic service board of the RBM backup unit to delete the association table;
the IRF main service board of the RBM standby unit is used for informing the IRF standby service board of the RBM standby unit to delete the associated table entry, and the reverse flow service board of the RBM standby unit is used for informing the standby service board of the RBM standby unit to delete the associated table entry.
8. The apparatus of claim 5, comprising an aging module to:
receiving reverse notification about deletion of associated table items sent by an IRF (inter-ring function) standby service board of an RBM (radial basis function) main service board or an IRF main service board of the RBM standby unit or a reverse flow service board of the RBM main unit or a standby service board thereof;
deleting the associated table item according to the reverse notification;
and according to the reverse notification, notifying the IRF standby service board of the RBM main unit, the IRF main service board of the RBM standby unit, the reverse flow service board of the RBM standby unit, and the reverse flow service board of the RBM main unit, and deleting the associated table entry by the equipment which does not send the reverse notification in the standby service board.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-4.
10. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-4.
CN202110711225.8A 2021-06-25 2021-06-25 Hybrid backup method, device, equipment and machine-readable storage medium Active CN113507386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110711225.8A CN113507386B (en) 2021-06-25 2021-06-25 Hybrid backup method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110711225.8A CN113507386B (en) 2021-06-25 2021-06-25 Hybrid backup method, device, equipment and machine-readable storage medium

Publications (2)

Publication Number Publication Date
CN113507386A CN113507386A (en) 2021-10-15
CN113507386B true CN113507386B (en) 2023-11-07

Family

ID=78010767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110711225.8A Active CN113507386B (en) 2021-06-25 2021-06-25 Hybrid backup method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN113507386B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733808A (en) * 2017-11-20 2018-02-23 新华三技术有限公司 A kind of flow transmission method and device
WO2018166308A1 (en) * 2017-03-13 2018-09-20 中兴通讯股份有限公司 Distributed nat dual-system hot backup traffic switching system and method
US10083095B1 (en) * 2014-09-25 2018-09-25 EMC IP Holding Company LLC Analytics-based backup system for determining optimum backup methods and predicting backup windows
CN109787835A (en) * 2019-01-30 2019-05-21 新华三技术有限公司 A kind of session backup method and device
CN112231153A (en) * 2020-09-30 2021-01-15 新华三信息安全技术有限公司 Equipment switching method and network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10083095B1 (en) * 2014-09-25 2018-09-25 EMC IP Holding Company LLC Analytics-based backup system for determining optimum backup methods and predicting backup windows
WO2018166308A1 (en) * 2017-03-13 2018-09-20 中兴通讯股份有限公司 Distributed nat dual-system hot backup traffic switching system and method
CN107733808A (en) * 2017-11-20 2018-02-23 新华三技术有限公司 A kind of flow transmission method and device
CN109787835A (en) * 2019-01-30 2019-05-21 新华三技术有限公司 A kind of session backup method and device
CN112231153A (en) * 2020-09-30 2021-01-15 新华三信息安全技术有限公司 Equipment switching method and network equipment

Also Published As

Publication number Publication date
CN113507386A (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN108616431B (en) Message processing method, device, equipment and machine readable storage medium
CN110430076B (en) Route management method and device
EP2911341A1 (en) Method and device for dynamically switching gateway of distributed resilient network interconnect
CN108199967B (en) Route processing method and device
CN101051883B (en) Service switching method and system after main voice server fault restoring
CN112367254B (en) Cross-device link aggregation method and device and electronic device
WO2020001514A1 (en) Service processing
CN110635987A (en) Message transmission method, device, equipment and machine readable storage medium
US20100211544A1 (en) System with session synchronization
CN106878072B (en) Message transmission method and device
CN102624635A (en) Method and device for realizing graceful restart
CN108600069B (en) Link switching method and device
CN109412926B (en) Tunnel establishment method and device
CN109495345B (en) BFD processing method and network equipment
CN103631652A (en) Method and system for achieving virtual machine migration
US11824765B2 (en) Fast redirect of traffic when pods fail
WO2017008641A1 (en) Method of switching redundancy port and device utilizing same
WO2021185169A1 (en) Switching method and apparatus, and device and storage medium
WO2016150307A1 (en) Firewall dual-machine hot spare method, device and system
CN108234358B (en) Multicast message transmission method, device and machine readable storage medium
CN112583947B (en) DHCP processing method, device, equipment and machine readable storage medium
CN102315926B (en) Main device selection method, gateway device and network system
CN113507386B (en) Hybrid backup method, device, equipment and machine-readable storage medium
CN109347746B (en) MAC address learning method and device
CN109788513A (en) Method of data synchronization, system and the controller of edge calculations application

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