CN111654384A - Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium - Google Patents

Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium Download PDF

Info

Publication number
CN111654384A
CN111654384A CN201910927945.0A CN201910927945A CN111654384A CN 111654384 A CN111654384 A CN 111654384A CN 201910927945 A CN201910927945 A CN 201910927945A CN 111654384 A CN111654384 A CN 111654384A
Authority
CN
China
Prior art keywords
control plane
state
instance
plane
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201910927945.0A
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 CN201910927945.0A priority Critical patent/CN111654384A/en
Priority to PCT/CN2020/113393 priority patent/WO2021057438A1/en
Publication of CN111654384A publication Critical patent/CN111654384A/en
Withdrawn legal-status Critical Current

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS

Abstract

The application provides a main/standby switching method, BRAS equipment and a storage medium. The main/standby switching method comprises the following steps: when the first control surface is abnormal, the instance in the second control surface is switched from a standby state to a recovery state, the recovery state is used for the second control surface to extract user data in the first control surface from a database, the instance in the first control surface is a main state, the first control surface and the second control surface are respectively connected with the database, and the database is used for storing the user data in the first control surface and the second control surface; and under the condition that the second control plane is determined to finish the extraction of the user data in the first control plane, the instance in the second control plane is switched from the recovery state to the main state.

Description

Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a master/slave switching method, a BRAS device, and a storage medium.
Background
A Virtual Broadband Remote Access Server (vbrs) is a kind of virtualization of the Broadband Remote Access Server (BRAS), and is located in a network service such as a website of an operator metropolitan area network, which is an entrance for a user to implement various services. The control transfer separation system of the vBRAS comprises standardized interfaces among a control plane CP, a transfer plane UP and a C/U, so that the transfer and control separation, the control plane virtualization centralization and the virtual-real coexistence of the transfer plane are realized.
In the process of implementing the present application, the inventors found that the following defects exist in the prior art: in the control plane field of the vbrs, when a control plane in a single data center fails, loss of user data may be caused, thereby affecting disaster recovery performance and security of the vbrs system.
Disclosure of Invention
The application provides a main/standby switching method, BRAS equipment and a storage medium, which can ensure that the loss of user data is not caused by the main/standby switching, thereby improving the disaster tolerance performance and the safety of a vBRAS system.
In a first aspect, an embodiment of the present application provides a method for switching between a main standby mode and a standby mode, including:
when the first control surface is abnormal, the instance in the second control surface is switched from a standby state to a recovery state, the recovery state is used for the second control surface to extract user data in the first control surface from a database, the instance in the first control surface is a main state, the first control surface and the second control surface are respectively connected with the database, and the database is used for storing the user data in the first control surface and the second control surface;
and under the condition that the second control plane is determined to finish the extraction of the user data in the first control plane, the instance in the second control plane is switched from the recovery state to the main state.
In a second aspect, an embodiment of the present application provides a BRAS device in a scenario where a control plane and a forwarding plane are separated, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the active-standby switching method according to the embodiment of the present application.
In a third aspect, an embodiment of the present application provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for switching between active and standby is implemented.
With regard to the above embodiments and other aspects of the present application and implementations thereof, further description is provided in the accompanying drawings description, detailed description and claims.
Drawings
Fig. 1 is a schematic view of an application scenario of a primary/standby switching method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a primary/standby switching method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a user data recovery process in a specific implementation according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a user data recovery process in another embodiment according to the present application;
fig. 5 is a schematic diagram of an example state transition on a control plane according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a main/standby switching method according to a second embodiment of the present application;
fig. 7 is a schematic structural diagram of a main/standby switching device provided in the present application;
fig. 8 is a schematic structural diagram of the apparatus provided in the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Example one
In an exemplary embodiment, the present application provides a primary/secondary switching method, and as shown in fig. 1, an application scenario schematic diagram of the primary/secondary switching method in the embodiment of the present application is shown, which shows a networking diagram of a vbrs system in a disaster recovery scenario. As shown in fig. 2, a schematic flow chart of the active/standby switching method provided in the present application is shown. The method can be suitable for the situation of user-unaware upgrading of the control plane in the vBRAS system. The method can be executed by the main/standby switching device provided by the application, and the main/standby switching device is realized by software and/or hardware and is integrated on one device.
As shown in fig. 1, a method for switching between a master device and a slave device according to an embodiment of the present application includes steps 101 and 102.
Step 101, when the first control plane is abnormal, the instance in the second control plane is switched from the standby state to the recovery state, and the recovery state is used for the second control plane to extract the user data in the first control plane from the database.
The example in the first control plane is a main state, the first control plane and the second control plane are respectively connected with a database, and the database is used for storing user data in the first control plane and the second control plane.
In a specific implementation, as shown in fig. 3, a schematic diagram of a user data recovery process in this specific implementation is shown, where a control plane a is used as a first control plane, a control plane B is used as a second control plane, and the first control plane and the second control plane respectively include only one same instance, an instance1 is used as an instance, where the first control plane is normal, the instance in the first control plane is a main state, the instance in the second control plane is a standby state, and the first control plane and the second control plane are respectively connected to a forwarding plane 1, a forwarding plane 2, a forwarding plane 3, and a forwarding plane 4, and since the forwarding plane always sends user data to the control plane whose instance is the main state, the first control plane is used to receive and manage the above four control planes under the condition that the first control plane is normal. When the user dials up, the user connected with the four forwarding planes by the physical network sends the on-line message to the first control plane, and the first control plane stores the user information in the database after processing the on-line message of the user.
In one example, the exceptions include: a downtime, outage, or network interface link failure occurs. When the first control plane has any one of the above abnormal states, the instance in the second control plane is switched from the standby state to the recovery state, and the recovery state is used for the second control plane to extract the user data in the first control plane from the database.
In one example, after the instance in the second control plane is switched from the standby state to the recovery state, the method further includes: and under the condition that the communication connection between the first control plane and the second control plane is determined to be normal, the second control plane sends a state transition message to the first control plane, wherein the state transition message is used for indicating that the instance in the first control plane is switched from the main state to the standby state.
In one example, after the instance in the second control plane is switched from the standby state to the recovery state, the method further includes: and the second control plane sends a switching instruction to the forwarding plane pointing to the first control plane, wherein the switching instruction is used for indicating the forwarding plane to point to the second control plane.
In one example, the forwarding plane is directed to a second control plane, comprising: and the encapsulation decapsulation table of the forwarding plane points to the second control plane, or the channel link of the forwarding plane points to the second control plane.
For example, the NSH encapsulation decapsulation tables of the forwarding plane 1, the forwarding plane 2, the forwarding plane 3, and the forwarding plane 4 point to the second control plane, or the forwarding plane 1, the forwarding plane 2, the forwarding plane 3, and the forwarding plane 4 respectively select the main OpenFlow channel as an OpenFlow channel linked to the second control plane.
In one example, the number of examples is at least two, and the state switching of the at least two instances in the first control plane is independent of each other, and the state switching of the at least two instances in the second control plane is independent of each other.
In another specific implementation, as shown in fig. 4, a schematic diagram of a user data recovery process in the specific implementation is shown, in the specific implementation, two control planes respectively include multiple instances, in this embodiment, two instances are used as an example for description, and the two instances are respectively used as a master and a slave. Taking a control plane A as a first control plane, taking a control plane B as a second control plane, taking an instance1 as a first instance and taking an instance2 as a second instance, wherein under the condition that the first control plane is normal, the first instance in the first control plane is in a main state, and the second instance in the first control plane is in a standby state; the first instance of the second control plane is a standby state and the second instance of the second control plane is a master state. In the case that the first control plane is normal, the first control plane takes over the forwarding plane 1 and the forwarding plane 2, and the second control plane takes over the forwarding plane 3 and the forwarding plane 4. When a user dials up, the user connected with the forwarding plane 1 and the forwarding plane 2 through the physical network sends an online message to the first control plane, the user connected with the forwarding plane 3 and the forwarding plane 4 through the physical network sends an online message to the second control plane, and the first control plane and the second control plane respectively store respective user information in the database after the online message of the user is processed by the first control plane and the second control plane.
The first control surface is provided with users of a forwarding surface 1 and a forwarding surface 2 and belongs to a first example, the second control surface is provided with users of a forwarding surface 3 and a forwarding surface 4 and belongs to a second example, the first control surface and the second control surface are mutually active and standby, all users of the forwarding surface 1, the forwarding surface 2, the forwarding surface 3 and the forwarding surface 4 are arranged in the database, and all user loads are shared on the first control surface and the second control surface.
Therefore, when the first control plane is abnormal, the second control plane needs to take over the forwarding plane 1 and the forwarding plane 2, and does not affect the online user, so that the first instance in the second control plane is raised from the standby state to the main state. Before the first instance in the second control plane is raised from the standby state to the main state, the first instance in the second control plane is first switched from the main state to the recovery state.
In one example, after switching the instance in the second control plane from the standby state to the recovery state, the method further includes: and under the condition that the communication connection between the first control plane and the second control plane is determined to be normal, the second control plane sends a state transition message to the first control plane, wherein the state transition message is used for indicating that the first instance in the first control plane is switched from the main state to the standby state.
In one example, after switching the first instance in the second control plane from the standby state to the recovering state, the method further includes: and the second control plane sends a switching instruction to the forwarding plane pointing to the first control plane, wherein the switching instruction is used for indicating the forwarding plane 1 and the forwarding plane 2 to point to the second control plane.
Specifically, the forwarding plane 1 and the forwarding plane 2 direct the NSH encapsulation decapsulation table to the second control plane, or the forwarding plane 1 and the forwarding plane 2 select the main OpenFlow channel as an OpenFlow channel linked with the second control plane, respectively.
It should be noted that, in this embodiment, data such as the user table and the network segment route on the forwarding plane 1 and the forwarding plane 2 may start aging, and wait for the second control plane to send service data again. And when the first instance in the second control plane is in the recovering state, the second control plane will pull the users in the forwarding plane 1 and the forwarding plane 2 which are already online from the database and recover to the second control plane. And the second control plane synchronizes the user to the forwarding plane 1 or the forwarding plane 2 every time the second control plane acquires one user, and the forwarding plane 1 and the forwarding plane 2 stop aging of the user after receiving the user synchronization information.
When the first instance in the second control plane is in the recovering state, the second control plane controls the new users of the forwarding plane 1 and the forwarding plane 2 not to be online, so that the resource occupied by the new online users is prevented from colliding with the user under the first instance recovered from the database. And when the instance in the second control plane is in the recovering state, the user tables on the forwarding plane 1 and the forwarding plane 2 still exist, and the uplink traffic and the downlink traffic of the user are normal, so that the internet experience of the user is not influenced.
It should be noted that, when the first instance in the second control plane is in the recovery state, if the second instance in the first control plane acquires the master-raising instruction, the second instance on the first control plane is switched from the standby state to the recovery state, and the corresponding second instance on the second control plane is changed to the standby state.
And step 102, under the condition that the second control plane is determined to finish the extraction of the user data in the first control plane, switching the instance in the second control plane from the recovering state to the main state.
As shown in fig. 5, a schematic diagram of example state transition on the control plane in this embodiment is shown, and it can be seen that by using three states of the main state, the standby state, and the recovery, a function of hot backup of user data between the control plane a and the control plane B is implemented.
In fig. 3 or 4, control plane a may be the first control plane and control plane B may be the second control plane, or control plane a may be the second control plane and control plane B may be the first control plane. Therefore, in the embodiment of the present application, whether the control plane a is abnormal or the control plane B is abnormal, the switching between the active and standby states of the example can be realized. In the embodiments of the present application, only the control plane a is used as the first control plane for exemplary illustration.
It should be noted that, in the embodiments of the present application, not only one instance but also multiple instances configured on the control plane are supported. And under the condition of configuring a plurality of instances, the state switching of each instance is mutually independent and does not influence each other, the states of the instances in the first control plane and the second control plane can be mutually active and standby, and each instance supports the operation of different forwarding planes respectively, so that all users can share the first control plane and the second control plane, thereby realizing the load balancing function of the control plane.
Example two
In an exemplary embodiment, the present application provides a main/standby switching method, and fig. 6 is a flowchart illustrating the main/standby switching method provided in the present application. The method can be suitable for the situation of user-unaware upgrading of the control plane in the vBRAS system. The method can be executed by the main/standby switching device provided by the application, and the main/standby switching device is realized by software and/or hardware and is integrated on one device.
As shown in fig. 6, a method for switching between main and standby provided in the embodiment of the present application includes steps 201 to 203.
Step 201, when the first control plane is abnormal, the instance in the second control plane is switched from the standby state to the recovery state, and the recovery state is used for the second control plane to extract the user data in the first control plane from the database.
The example in the first control plane is a main state, the first control plane and the second control plane are respectively connected with a database, and the database is used for storing user data in the first control plane and the second control plane.
Step 202, in the case that it is determined that the second control plane completes the extraction of the user data in the first control plane, an instance in the second control plane is switched from the recovering state to the main state.
Step 203, in case that it is determined that the instance in the first control plane still maintains the main state, performing instance state adjustment through negotiation between the first control plane and the second control plane.
In one example, the performing the instance state adjustment through negotiation between the first control plane and the second control plane comprises: if the second control plane is determined to receive the state information of the first control plane first, the second control plane determines that the instance in the second control plane is switched to the main state after determining that the instance in the second control plane is switched to the standby state according to the state information of the first control plane, and the second control plane sends an instruction to the first control plane, wherein the instruction is used for indicating that the instance in the first control plane is switched from the main state to the standby state; if the first control plane is determined to receive the state information of the second control plane first, the first control plane determines that the instance in the second control plane is switched to the main state after determining that the instance is switched to the main state according to the state information of the second control plane, and then the first control plane automatically switches the included instance from the main state to the standby state.
After the instance in the second control plane is switched from the standby state to the recovery state, the second control plane sends a state switching message to the first control plane under the condition that the communication connection between the first control plane and the second control plane is determined to be normal, wherein the state switching message is used for indicating that the instance in the first control plane is switched from the main state to the standby state. However, when the first control plane has a network failure, the first control plane cannot receive the state transition message of the second control plane, and therefore, after the instance in the second control plane is switched to the master state, both the instance in the first control plane and the instance in the second control plane are in the master state, and a phenomenon of dual masters occurs. Therefore, when the first control plane network recovers to normal, the first control plane and the second control plane perform instance state adjustment through negotiation.
The first control plane and the second control plane respectively comprise an example for illustration, the example of the first control plane is upgraded to the main state at the time of T1, then the network of the first control plane fails, the example of the second control plane is controlled to be upgraded to the main state at the time of T2, the network link between the first control plane and the second control plane is restored at the time of T3, and T3> T2> T1 are performed in time sequence.
In the first case: the first control plane sends the state information to the second control plane, so that the second control plane receives the state information in the first control plane: the duration of the main state of the instance is (T3-T1), after the second control plane receives the state information sent by the first control plane, the duration of the main state of the instance is (T3-T2), and because (T3-T1) > (T3-T2), the second control plane can determine that the instance is switched to the main state after the instance is switched to, so that the state of the second control plane can be maintained, and meanwhile, an instruction is sent to the first control plane, and the instruction is used for indicating that the instance in the first control plane is switched from the main state to the standby state.
In the second case: the second control plane sends the state information to the first control plane first, so that the first control plane receives the state information in the second control plane first as follows: the duration of the main state of the instance is (T3-T2), after the first control plane receives the state information sent by the second control plane, the duration of the main state of the instance is (T3-T1), because (T3-T1) > (T3-T2), the first control plane can determine that the instance is switched to the main state first, the current instance should be switched to the standby state incorrectly, and the second control plane is correct, so the first control plane can switch the state of the instance contained in the first control plane from the main state to the standby state, thereby achieving consistency of the states.
EXAMPLE III
Fig. 7 is a schematic structural diagram of a main/standby switching device provided in the present application, and as shown in fig. 7, the device includes: a first state switching module 31, configured to switch, when a first control plane is abnormal, an instance in a second control plane from a standby state to a recovering state, where the recovering state is used for the second control plane to extract user data in the first control plane from a database, the instance in the first control plane is a main state, the first control plane and the second control plane are respectively connected to the database, and the database is used for storing the user data in the first control plane and the second control plane; a second state switching module 32, configured to switch, when it is determined that the second control plane completes extraction of the user data in the first control plane, an instance in the second control plane from the recovering state to the main state.
The main/standby switching device provided in this embodiment is used for implementing the main/standby switching method of this application, and the implementation principle and technical effect of the main/standby switching device provided in this embodiment are similar to those of the main/standby switching method of this application, and are not described here again.
In one example, further comprising: the first sending module is configured to send, to the first control plane, a state transition message when it is determined that the communication connection between the first control plane and the second control plane is normal, where the state transition message is used to indicate that an instance in the first control plane is switched from a main state to a standby state.
In one example, further comprising: and the second sending module is used for sending a switching instruction to the forwarding plane pointing to the first control plane by the second control plane, wherein the switching instruction is used for indicating the forwarding plane to point to the second control plane.
In one example, the forwarding plane is directed to a second control plane, comprising:
the encapsulation decapsulation table of the forwarding plane points to the second control plane, or,
the channel links of the forwarding plane point to the second control plane.
In one example, further comprising: and the state adjusting module is used for adjusting the state of the instance through negotiation between the first control plane and the second control plane under the condition that the instance in the first control plane still keeps the main state.
In one example, the state adjustment module is specifically configured to: if the second control plane is determined to receive the state information of the first control plane first, the second control plane determines that the instance in the second control plane is switched to the main state after determining that the instance in the second control plane is switched to the standby state according to the state information of the first control plane, and the second control plane sends an instruction to the first control plane, wherein the instruction is used for indicating that the instance in the first control plane is switched from the main state to the standby state;
if the first control plane is determined to receive the state information of the second control plane first, the first control plane determines that the instance in the second control plane is switched to the main state after determining that the instance is switched to the main state according to the state information of the second control plane, and then the first control plane automatically switches the included instance from the main state to the standby state.
In one example, the number of instances is at least two, and the state switching of at least two instances in the first control plane is independent of each other, and the state switching of at least two instances in the second control plane is independent of each other.
In one example, the exceptions include: a downtime, outage, or network interface link failure occurs.
Example four
An embodiment of the present application provides a BRAS device in a scenario where a control plane and a forwarding plane are separated, where fig. 8 is a schematic structural diagram of the device provided in the present application, and as shown in fig. 8, the device provided in the present application includes: one or more processors 41 and storage 42; the processor 41 of the device may be one or more, and fig. 8 illustrates one processor 41 as an example; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, so that the one or more processors 41 implement the active-standby switching method as in the embodiment of the present invention.
The processor 41 and the storage device 42 in the apparatus may be connected by a bus or other means, and fig. 8 illustrates the connection by a bus as an example.
As a computer-readable storage medium, the storage device 42 may be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the active-standby switching method according to the embodiment of the present application (for example, the first state switching module 31 and the second state switching module 32 in the active-standby switching device). The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE five
The embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for switching between the main and standby devices in the embodiment of the present application is implemented.
The master-slave switcher method comprises the following steps: when the first control surface is abnormal, the instance in the second control surface is switched from a standby state to a recovery state, the recovery state is used for the second control surface to extract user data in the first control surface from a database, the instance in the first control surface is a main state, the first control surface and the second control surface are respectively connected with the database, and the database is used for storing the user data in the first control surface and the second control surface;
and under the condition that the second control plane is determined to finish the extraction of the user data in the first control plane, the instance in the second control plane is switched from the recovery state to the main state.
The above description is only exemplary embodiments of the present application, and is not intended to limit the scope of the present application.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The Memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random Access Memory (RAM), optical storage devices and systems (Digital Video Disc (DVD) or Compact Disc (CD)), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the following drawings and the appended claims without departing from the scope of the invention. Therefore, the proper scope of the invention is to be determined according to the claims.

Claims (10)

1. A method for switching between a main device and a standby device, comprising:
when a first control surface is abnormal, switching an instance in a second control surface from a standby state to a recovery state, wherein the recovery state is used for the second control surface to extract user data in the first control surface from a database, the instance in the first control surface is a main state, the first control surface and the second control surface are respectively connected with the database, and the database is used for storing the user data in the first control surface and the second control surface;
and under the condition that the second control plane is determined to finish the extraction of the user data in the first control plane, switching the instance in the second control plane from the recovering state to the main state.
2. The method of claim 1, wherein after the instance in the second control plane is switched from the standby state to the recovery state, further comprising:
and under the condition that the communication connection between the first control plane and the second control plane is determined to be normal, the second control plane sends a state transition message to the first control plane, wherein the state transition message is used for indicating that an instance in the first control plane is switched from a main state to a standby state.
3. The method of claim 2, wherein after the instance in the second control plane is switched from the standby state to the recovery state, further comprising:
and the second control plane sends a switching instruction to a forwarding plane pointing to the first control plane, wherein the switching instruction is used for indicating the forwarding plane to point to the second control plane.
4. The method of claim 3, wherein the forwarding plane is directed to the second control plane, comprising:
the encapsulation decapsulation table of the forwarding plane points to the second control plane, or,
the channel link of the forwarding plane points to the second control plane.
5. The method of claim 1, wherein after the instance in the second control plane is switched from the recovering state to the main state, further comprising:
and under the condition that the instance in the first control plane still keeps the main state, carrying out instance state adjustment through negotiation between the first control plane and the second control plane.
6. The method of claim 5, wherein the performing instance state adjustment through negotiation between the first control plane and the second control plane comprises:
if it is determined that the second control plane receives the state information of the first control plane first, determining, by the second control plane according to the state information of the first control plane, that the instance in the second control plane is switched to a main state after the instance in the second control plane is switched to a standby state, and sending, by the second control plane, an instruction to the first control plane, where the instruction is used to instruct the instance in the first control plane to be switched from the main state to the standby state;
if it is determined that the first control plane first receives the state information of the second control plane, the first control plane determines, according to the state information of the second control plane, that the instance in the second control plane is switched to the main state, and then the first control plane automatically switches the included instance from the main state to the standby state.
7. The method of any one of claims 1-6, wherein the anomaly comprises: a downtime, outage, or network interface link failure occurs.
8. The method of claim 1, wherein the number of the instances is at least two, and the state switching of at least two of the instances in the first control plane is independent of each other, and the state switching of at least two of the instances in the second control plane is independent of each other.
9. A BRAS device in a control plane and forwarding plane separation scenario, wherein the BRAS device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the active-standby switching method according to any one of claims 1-8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the active-standby switching method according to any one of claims 1 to 8.
CN201910927945.0A 2019-09-27 2019-09-27 Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium Withdrawn CN111654384A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910927945.0A CN111654384A (en) 2019-09-27 2019-09-27 Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
PCT/CN2020/113393 WO2021057438A1 (en) 2019-09-27 2020-09-04 Main/standby switching method and apparatus, bras device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910927945.0A CN111654384A (en) 2019-09-27 2019-09-27 Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111654384A true CN111654384A (en) 2020-09-11

Family

ID=72347952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910927945.0A Withdrawn CN111654384A (en) 2019-09-27 2019-09-27 Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111654384A (en)
WO (1) WO2021057438A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766032A (en) * 2021-09-14 2021-12-07 烽火通信科技股份有限公司 Service protection method and system of VBRAS (visual basic service architecture) of transfer control separation framework
CN114338599A (en) * 2021-12-27 2022-04-12 中国电信股份有限公司 Data processing method, device and equipment
WO2023274164A1 (en) * 2021-06-28 2023-01-05 中兴通讯股份有限公司 Automatic main/standby switching method, control plane device, vbras system and storage medium
WO2023284367A1 (en) * 2021-07-16 2023-01-19 中兴通讯股份有限公司 Dbng-up backup method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2536068A1 (en) * 2011-06-18 2012-12-19 Deutsche Telekom AG Virtual subscriber management
CN106657168A (en) * 2015-07-27 2017-05-10 中兴通讯股份有限公司 Method, device and system for synchronizing data
CN108616431A (en) * 2018-04-20 2018-10-02 新华三技术有限公司 A kind of message processing method, device, equipment and machine readable storage medium
CN109698757A (en) * 2017-10-20 2019-04-30 中兴通讯股份有限公司 Switch master/slave device, the method for restoring user data, server and the network equipment
CN110061855A (en) * 2018-06-28 2019-07-26 新华三技术有限公司 A kind of method for processing business, system and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2369538B (en) * 2000-11-24 2004-06-30 Ibm Recovery following process or system failure
KR100703488B1 (en) * 2004-06-01 2007-04-03 삼성전자주식회사 Method and apparatus for state transition backup router in a router redundancy system
CN101394641B (en) * 2007-09-18 2011-09-21 中兴通讯股份有限公司 Main standby machine switching method oriented to user data
CN102255716B (en) * 2010-05-20 2015-12-16 中兴通讯股份有限公司 A kind of method and system of the backup between equipment to protocol status
CN105553863B (en) * 2015-12-14 2018-06-19 大连梯耐德网络技术有限公司 A kind of more logic variant route control systems and control method based on OpenFlow
CN113328894B (en) * 2017-08-31 2022-06-28 华为技术有限公司 Method and equipment for hot standby of dual computers based on CU separation
CN110166355B (en) * 2018-02-13 2021-06-22 华为技术有限公司 Message forwarding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2536068A1 (en) * 2011-06-18 2012-12-19 Deutsche Telekom AG Virtual subscriber management
CN106657168A (en) * 2015-07-27 2017-05-10 中兴通讯股份有限公司 Method, device and system for synchronizing data
CN109698757A (en) * 2017-10-20 2019-04-30 中兴通讯股份有限公司 Switch master/slave device, the method for restoring user data, server and the network equipment
CN108616431A (en) * 2018-04-20 2018-10-02 新华三技术有限公司 A kind of message processing method, device, equipment and machine readable storage medium
CN110061855A (en) * 2018-06-28 2019-07-26 新华三技术有限公司 A kind of method for processing business, system and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023274164A1 (en) * 2021-06-28 2023-01-05 中兴通讯股份有限公司 Automatic main/standby switching method, control plane device, vbras system and storage medium
WO2023284367A1 (en) * 2021-07-16 2023-01-19 中兴通讯股份有限公司 Dbng-up backup method and apparatus
CN113766032A (en) * 2021-09-14 2021-12-07 烽火通信科技股份有限公司 Service protection method and system of VBRAS (visual basic service architecture) of transfer control separation framework
CN114338599A (en) * 2021-12-27 2022-04-12 中国电信股份有限公司 Data processing method, device and equipment

Also Published As

Publication number Publication date
WO2021057438A1 (en) 2021-04-01

Similar Documents

Publication Publication Date Title
CN111654384A (en) Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
US11194679B2 (en) Method and apparatus for redundancy in active-active cluster system
EP3300298B1 (en) Method and apparatus for switching vnf
US9141494B2 (en) Isolating a PCI host bridge in response to an error event
CN102006188B (en) Path back switching method and device in transport network
CN108027723B (en) Optical line terminal and method for upgrading master and slave equipment thereof
CN104038376A (en) Method and device for managing real servers and LVS clustering system
CN106911597B (en) Cross-board forwarding method and device
US20230132861A1 (en) Switching method and apparatus, device, and storage medium
CN107948063B (en) Method for establishing aggregation link and access equipment
CN111698157B (en) Link management method, board card and switch
CN204406385U (en) The management devices of computer system
CN106027313B (en) Network link disaster tolerance system and method
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
CN102983997A (en) Method and device for migrating master services
CN114598594B (en) Method, system, medium and equipment for processing application faults under multiple clusters
CN102546313B (en) Multi-activation detection method and multi-activation detection device
CN107179912B (en) Hot upgrading method for distributed architecture software defined network controller
CN111181766B (en) Redundant FC network system and method for realizing dynamic configuration of switch
CN114422335A (en) Communication method, communication device, server and storage medium
CN102790814B (en) A kind of Media Access Control Address defining method, relevant apparatus and system
CN112804077B (en) Data protection method, controller, control plane device and storage medium
CN115134220B (en) Master-slave server switching method and device, computing equipment and storage medium
CN115604087A (en) Main/standby automatic switching method, control plane equipment, vBRAS system and storage medium
EP4084492A1 (en) A method, system and olt for dual-parenting pon protection

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200911

WW01 Invention patent application withdrawn after publication