CN117640347A - Fault recovery method and device, vBRAS and storage medium - Google Patents

Fault recovery method and device, vBRAS and storage medium Download PDF

Info

Publication number
CN117640347A
CN117640347A CN202210999799.4A CN202210999799A CN117640347A CN 117640347 A CN117640347 A CN 117640347A CN 202210999799 A CN202210999799 A CN 202210999799A CN 117640347 A CN117640347 A CN 117640347A
Authority
CN
China
Prior art keywords
mode
trust
fault
synchronization processing
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210999799.4A
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210999799.4A priority Critical patent/CN117640347A/en
Publication of CN117640347A publication Critical patent/CN117640347A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure provides a fault recovery method, a device, a vbas and a storage medium, wherein the method comprises the following steps: when fault recovery processing is carried out, a trust mode is determined according to the fault type; the trust mode comprises a trust UP mode and a trust CP mode; and carrying out data synchronization processing on the CP or the UP according to the trust mode. The method and the device can determine that the trust mode is a trust UP mode or a trust CP mode based on different fault types, and perform data synchronization processing on the CP or UP according to the corresponding trust mode, so that the consistency of the CP and UP service information can be maintained, meanwhile, the service on the UP can be realized without interruption when the fault is recovered, and the reliability of the service can be improved.

Description

Fault recovery method and device, vBRAS and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a fault recovery method, a fault recovery device, a vbas, and a storage medium.
Background
Currently, a vbas (Virtual Broadband Remote Access Server, virtual broadband remote access server device) technology for implementing transfer control separation is a hotspot technology for cloud deployment of a metropolitan area network. The vBRAS-CP (Control Plane) is a control surface and is responsible for user access and centralized control; the vBRAS-UP (User Plane) is responsible for traffic forwarding, including both pUP and vUP types. The existing vBRAS control surface fault protection mechanism is as follows: when the connection between the CP and the UP fails, the user on the UP should maintain the existing service forwarding; when the connection is restored, the UP uses the CP as a reference to carry out data synchronization, and the consistency of the data between the CP and the UP is ensured. When the connection between the CP and the UP is interrupted due to the failure of the CP, the user data on the CP is damaged or lost; when the CP is restored, if the CP is still used as the brain for checking, the problem of a large number of users on UP being dropped will occur.
Disclosure of Invention
In view of the above, it is an object of the present invention to provide a fault recovery method, device, vbas and storage medium.
According to a first aspect of the present disclosure, a fault recovery method is provided, which is applied to a virtual broadband remote access server vbas, wherein the vbas includes a control plane CP and a forwarding plane UP; the method comprises the following steps: when fault recovery processing is carried out, a trust mode is determined according to the fault type; wherein the trust pattern comprises: trust UP mode, trust CP mode; and carrying out data synchronization processing on the CP or the UP according to the trust mode.
Optionally, the determining the trust mode according to the fault type includes: when the fault type is that the CP fails, determining that the trust mode is a trust UP mode; or when the fault type is that the CP fails, determining that the trust mode is a trust UP mode or a trust CP mode based on the CP fault condition; or a connection channel is arranged between the CP and the UP; and when the fault type is that the connection channel has connection faults, determining that the trust mode is a trust CP mode.
Optionally, the determining, based on the CP fault condition, that the trust mode is a trusted UP mode or a trusted CP mode includes: when the CP failure causes the damage or loss of user data, determining that the trust mode is a trust UP mode; when the CP failure does not cause damage or loss of user data, determining that the trust mode is a trust CP mode; and when one of the CP fault is a main CP or a standby CP fault occurs, determining that the trust mode is a trust CP mode.
Optionally, the performing data synchronization processing on the CP or the UP according to the trust mode includes: according to the trusted UP mode, carrying out data synchronization processing on the CP based on first service data in the UP; or, according to the trust CP mode, performing data synchronization processing on the UP based on the second service data in the CP; or according to the trust CP mode, carrying out data synchronization processing on the fault recovery CP based on third service data in the working CP.
Optionally, the performing data synchronization processing on the CP based on the first service data in the UP includes: and controlling the CP to acquire the first service data from the UP for data synchronization processing.
Optionally, the performing data synchronization processing on the UP based on the second service data in the CP includes: and controlling the UP to acquire the second service data from the CP for data synchronization processing.
Optionally, the performing data synchronization processing on the fault recovery CP based on the third service data in the working CP includes: and controlling the fault recovery CP to acquire the third service data from the working CP for data synchronization processing.
Optionally, in the process of performing data synchronization processing on the CP or the UP, controlling the UP to maintain a currently performed service.
Optionally, during the process of performing data synchronization processing on the CP or the UP, controlling the UP to keep the currently performed service includes: in the process of recovering the fault of the connecting channel and carrying out data synchronization processing on the UP, controlling the UP to keep the current service; or in the process of recovering the CP fault and carrying out data synchronization processing on the CP or the UP, controlling the UP to keep the current service.
Optionally, the connection channel includes: a CUSP channel for heartbeat detection.
Optionally, the CP includes: a primary CP and a standby CP; the UP includes: pUP and vUP.
Optionally, the failure type is that the primary CP fails, and the trust mode is a trust CP mode; when the main CP fails, the standby CP is used as a working CP to carry out service processing, and the main CP is a failure recovery CP; the data synchronization processing of the CP or the UP according to the trust mode includes: and when the fault recovery CP performs recovery processing, performing data synchronization processing on the fault recovery CP according to the trust CP mode and based on third service data in the working CP.
According to a second aspect of the present disclosure, there is provided a method applied to a vbas, wherein the vbas comprises a control plane CP and a forwarding plane UP; the device comprises: the mode setting module is used for determining a trust mode according to the fault type when fault recovery processing is carried out; wherein the trust pattern comprises: trust UP mode, trust CP mode; and the synchronous processing module is used for carrying out data synchronous processing on the CP or the UP according to the trust mode.
Optionally, the mode setting module is configured to determine that the trust mode is a trusted UP mode when the failure type is that the CP fails; or when the fault type is that the CP fails, determining that the trust mode is a trust UP mode or a trust CP mode based on the CP fault condition; a connection channel is arranged between the CP and the UP; and the mode setting module is further configured to determine that the trust mode is a trust CP mode when the failure type is that the connection channel has a connection failure.
Optionally, the mode setting module is configured to determine that the trust mode is a trusted UP mode when the CP failure causes damage or loss of user data; when the CP failure does not cause damage or loss of user data, determining that the trust mode is a trust CP mode; and when one of the CP fault is a main CP or a standby CP fault occurs, determining that the trust mode is a trust CP mode.
Optionally, the synchronization processing module is configured to perform data synchronization processing on the CP based on the first service data in the UP according to the trusted UP mode; the synchronization processing module is further configured to perform data synchronization processing on the UP based on the second service data in the CP according to the trusted CP mode, or perform data synchronization processing on the failure recovery CP based on the third service data in the working CP according to the trusted CP mode.
Optionally, the synchronization processing module is specifically configured to control the CP to acquire the first service data from the UP, so as to perform data synchronization processing.
Optionally, the synchronization processing module is configured to control the UP to acquire the second service data from the CP, so as to perform data synchronization processing.
Optionally, the synchronization processing module is configured to control the fault recovery CP to acquire the third service data from the working CP, so as to perform data synchronization processing.
Optionally, the synchronization processing module is configured to control the UP to keep a currently performed service in a process of performing data synchronization processing on the CP or the UP.
Optionally, the synchronization processing module is configured to control the UP to maintain a currently performed service during the connection channel failure recovery and the data synchronization processing of the UP; or in the process of recovering the CP fault and carrying out data synchronization processing on the CP or the UP, controlling the UP to keep the current service.
Optionally, the connection channel includes: a CUSP channel for heartbeat detection.
Optionally, the CP includes: a primary CP and a standby CP; the UP includes: pUP and vUP.
Optionally, the failure type is that the primary CP fails, and the trust mode is a trust CP mode; when the main CP fails, the standby CP is used as a working CP to carry out service processing, and the main CP is a failure recovery CP; and the synchronous processing module is also used for carrying out data synchronous processing on the fault recovery CP according to the trust CP mode and based on third service data in the working CP when the fault recovery CP carries out recovery processing.
According to a third aspect of the present disclosure, there is provided a fault recovery apparatus comprising: a memory; and a processor coupled to the memory, the processor configured to perform the method as described above based on instructions stored in the memory.
According to a fourth aspect of the present disclosure, there is provided a vbas comprising: CP, UP, fault resilient means as described above.
According to a fifth aspect of the present disclosure, there is provided a computer readable storage medium storing computer instructions for execution by a processor of a method as described above.
The fault recovery method, the fault recovery device, the vBRAS and the storage medium can determine that the trust mode is a trust UP mode or a trust CP mode based on different fault types, and perform data synchronization processing on the CP or the UP according to the corresponding trust mode, so that the consistency of the CP and the UP service information can be maintained, meanwhile, the service on the UP can be not interrupted during fault recovery, and the reliability of the service can be improved; by selecting trust modes aiming at different scenes, the optimization evolution of the vBRAS system in the aspect of high reliability is realized, and the high guarantee requirement of the current network service is met.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the description of the prior art, it being obvious that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a flow diagram of one embodiment of a fault recovery method according to the present disclosure;
fig. 2 is a networking schematic diagram of a vbas control plane deployment;
FIG. 3 is a schematic diagram of a recovery flow of a failure of a CP in one embodiment of a failure recovery method according to the present disclosure;
FIG. 4 is a schematic diagram of a recovery flow in which a communication connection failure occurs in one embodiment of a failure recovery method according to the present disclosure;
FIG. 5 is a schematic diagram of a recovery flow in which a primary CP fails in one embodiment of a failure recovery method according to the present disclosure;
FIG. 6 is a block diagram of one embodiment of a fault resilient device according to the present disclosure;
fig. 7 is a block diagram of another embodiment of a fault resilient device according to the present disclosure.
Detailed Description
The present disclosure now will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the disclosure are shown. The following description of the technical solutions in the embodiments of the present disclosure will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
The following "first", "second", etc. are used merely to describe differences and are not otherwise specifically meant.
In the related art known by the inventor, the vBRAS is a kind of virtualization of the BRAS, and the vBRAS is divided into a control plane network element vBRAS-CP and a forwarding plane network element vBRAS-UP, wherein the vBRAS-CP is used as a control plane and is responsible for user access, centralized management and control and the like; the vBRAS-UP is responsible for traffic forwarding and the like and comprises two types, namely pUP and vUP, wherein pUP is deployed by special equipment so as to improve the utilization rate and reliability of resources; vUP the virtualized deployment is used to carry large session small traffic.
The existing vBRAS control surface fault protection mechanism is as follows: pUP single deployment or pooled deployment (for example, N+1 protection is adopted to improve reliability of a forwarding plane), vUP is usually single-device deployment, and a CP can manage a plurality of pUPs/vUP simultaneously; when the connection between the CP and the UP fails, the user on the UP should maintain the service forwarding; when the connection is restored, the UP performs user checking with the CP as a reference (similar to the brain function), and the consistency of information between the CP and the UP is ensured. However, when the CP fails to cause the connection between the CP and the UP to be interrupted, the user data on the CP is damaged or lost; when the CP is restored, if the synchronization process is still performed with reference to the CP, all users on the UP will be dropped.
Fig. 1 is a flow diagram of one embodiment of a fault recovery method according to the present disclosure, applied to a vbra, which includes a control plane CP and a forwarding plane UP; as shown in fig. 1:
step 101, determining a trust mode according to a fault type when fault recovery processing is performed; the trust mode comprises a trust UP mode, a trust CP mode and the like.
And 102, performing data synchronization processing on the CP or the UP according to the trust mode.
According to the fault recovery method disclosed by the invention, the trust mode can be determined to be the trust UP mode or the trust CP mode based on different fault types, the data synchronization processing is carried out on the CP or the UP according to the corresponding trust mode, the user can be realized without disconnection and flow interruption during fault recovery, and the reliability of the service can be improved.
In one embodiment, determining the trust pattern based on the type of fault may take a variety of approaches. For example, when the fault type is CP, determining that the trust mode is a trusted UP mode; or when the fault type is that the CP fails, determining that the trust mode is a trust UP mode or a trust CP mode based on the CP fault condition; or a connection channel is arranged between the CP and the UP; and when the fault type is that the connection channel has connection faults, determining that the trust mode is a trust CP mode.
Determining the trust pattern based on the CP failure condition may take a variety of approaches. For example, when the CP failure causes the user data to be damaged or lost, determining that the trust mode is the trust UP mode; when the user data is not damaged or lost due to the CP failure, determining that the trust mode is a trust CP mode; and when one of the CP failure is a main CP or a standby CP fails, determining that the trust mode is a trust CP mode.
As shown in fig. 2, the vbas is deployed in a steering separation mode, the CP may be deployed through clouding, and a CUSP channel (heartbeat channel) is deployed between the CP and the UP to perform heartbeat detection. CP includes a master CP and a standby CP, and UP includes puc and vUP. pUP is deployed by special equipment to improve the utilization rate and reliability of resources; vUP adopts a virtualization mode to deploy and bear the high-session low-traffic service; pUP1 and pUP 2 constitute pUP pool, vUP are connected with main CP and standby CP respectively through CUSP (control plane and user plane separated protocol, control plane and user plane separation protocol) channel, and connection state is monitored.
In one embodiment, when the failure type is that the CP fails, the trust mode is determined to be a trusted UP mode, and data synchronization processing is performed on the CP based on first service data in the UP, where a scenario in which the CP fails includes a scenario in which user data is damaged/lost due to a device software failure, a hardware failure, a power failure, or the like.
Fig. 3 is a schematic diagram of a recovery flow of a CP failure in one embodiment of a failure recovery method according to the present disclosure, as shown in fig. 3:
in step 301, when the CP failure causes the user data to be damaged or lost, it is determined that the trust mode is the trusted UP mode.
And 302, according to the trusted UP mode, performing data synchronization processing on the CP based on the first service data in the UP.
For example, the primary CP and the backup CP both fail, which results in damage or loss of data of the primary CP and the backup CP, and the data may be service data such as user information. When the main CP and/or the standby CP perform recovery processing, the trust mode is set to be a trust UP mode, and the main CP and/or the standby CP are controlled to acquire first service data from the UP according to the trust UP mode so as to perform data synchronization processing. The UP may be pUP, vUP, etc., and the first service data may be service data such as user information.
In the process of carrying out data synchronization processing on the main CP and/or the standby CP, the UP is controlled to keep the currently carried out service, and the service can be a call service, a data transmission service and the like. The consistency of service data can be realized by synchronizing the service data such as user information and the like from the UP by the CP, the existing users are kept from being disconnected and the flow is kept from being interrupted, and the service reliability is improved.
In one embodiment, the connection channel provided between CP and UP includes a CUSP pathway or the like for heartbeat detection. The fault type is that the connection channel has connection fault, the trust mode is a trust CP mode, and the data synchronization processing is carried out on the UP based on the second service data in the CP. Fig. 4 is a schematic diagram of a recovery flow in which a communication connection failure occurs in one embodiment of a failure recovery method according to the present disclosure, as shown in fig. 4:
in step 401, when it is determined that the connection channel has a connection failure, the UP is controlled to maintain the currently ongoing service.
Step 402, when it is determined that the connection is failed back, the trust mode is set to the trusted CP mode.
And step 403, according to the trusted CP mode, performing data synchronization processing on the UP based on the second service data in the CP.
For example, the CUSP connection channel between the master CP and the backup CP and the UP is failed, and the data of the master CP and/or the backup CP is not damaged or lost (when the master CP and the backup CP fail, the data of the master CP and the backup CP may be damaged or lost). When the CUSP connection fault is recovered, the trust mode is set to be a trust CP mode, and the UP is controlled to acquire second service data from the main CP and/or the standby CP according to the trust CP mode so as to perform data synchronization processing.
The UP may be pUP, vUP, etc., and the second service data may be service data such as user information. The UP performs processes such as checking accounts based on the second service data acquired from the CP so as to maintain consistency of the service data and perform data synchronization processing.
In the process of carrying out data synchronization processing on the UP, the UP is controlled to keep the current service, the service can be a call service, a data transmission service and the like, the normal forwarding of the existing service of the UP and the like can be kept, the user does not drop a line, the flow is not interrupted, and the service reliability can be improved.
In one embodiment, according to the trusted CP mode, the fault recovery CP is subjected to data synchronization processing based on third service data in the working CP, where the third data may be service data such as user information. Under the normal working condition, the main CP is the working CP, when the main CP fails, the standby CP replaces the main CP to provide corresponding service and function, and corresponding business processing is carried out, namely the standby CP is converted into the working CP, and the former main CP is the failure recovery CP. The data synchronization process of the fault recovery CP may be performed by using various methods, for example, controlling the fault recovery CP to acquire the third service data from the working CP for performing the data synchronization process.
In one embodiment, the failure type is that the primary CP fails, and the trusted mode is a trusted CP mode. Fig. 5 is a schematic diagram of a recovery flow of a primary CP failure in one embodiment of a failure recovery method according to the present disclosure, as shown in fig. 5:
in step 501, when the primary CP fails, the standby CP performs service processing as a working CP.
In one embodiment, when the main CP fails, the standby CP performs service processing as a working CP, and provides corresponding services and functions; the primary CP is a fault recovery CP.
And 502, when the fault recovery CP performs recovery processing, performing data synchronization processing on the fault recovery CP according to the trust CP mode and based on third service data in the working CP. The third service data may be service data such as user information.
The fault recovery method solves the problem that the user on the UP drops in the recovery process of the existing CP, can determine that the trust mode is a trust UP mode or a trust CP mode based on different fault types, carries out data synchronization processing on the CP or the UP according to the corresponding trust mode, can realize that the user does not drop the line and the flow does not interrupt during the fault recovery, and can improve the reliability of the service; by selecting trust modes aiming at different scenes, the optimization evolution of the vBRAS system in the aspect of high reliability is realized, and the high guarantee requirement of the current network service can be met.
In one embodiment, as shown in fig. 6, the present disclosure provides a fault recovery apparatus 60 including a mode setting module 61 and a synchronization processing module 62. When performing the failure recovery process, the mode setting module 61 determines a trust mode according to the failure type, wherein the trust mode includes a trust UP mode, a trust CP mode, and the like. The synchronization processing module 62 performs data synchronization processing on the CP or UP according to the trust mode.
In one embodiment, when the failure type is that the CP fails, the mode setting module 61 determines that the trust mode is the trusted UP mode; or, when the failure type is that the CP fails, the mode setting module 61 determines that the trusted mode is the trusted UP mode or the trusted CP mode based on the CP failure condition.
For example, when the CP failure causes the user data to be damaged or lost, the mode setting module 61 determines that the trust mode is the trusted UP mode; when the CP failure does not cause the user data to be damaged or lost, the mode setting module 61 determines that the trust mode is the trusted CP mode; when one of the CP failure, which is the primary CP or the backup CP, fails, the mode setting module 61 determines that the trust mode is the trusted CP mode.
A connection channel is provided between the CP and the UP, and when the failure type is that the connection channel has a connection failure, the mode setting module 61 determines that the trust mode is a trusted CP mode.
In one embodiment, the synchronization processing module 62 performs data synchronization processing on the CP based on the first service data in the UP according to the trusted UP mode. For example, the synchronization processing module 62 controls the CP to acquire the first service data from the UP for performing the data synchronization process. The synchronization processing module 62 controls the UP to maintain the currently ongoing service during the data synchronization process on the CP or the UP.
The synchronization processing module 62 performs data synchronization processing on the UP based on the second service data in the CP according to the trusted CP mode, or performs data synchronization processing on the failure recovery CP based on the third service data in the working CP according to the trusted CP mode. For example, the synchronization processing module 62 controls the UP to acquire the second service data from the CP for performing data synchronization processing; the synchronization processing module 62 controls the fault recovery CP to acquire third service data from the working CP for performing data synchronization processing.
The synchronization processing module 62 controls the UP to maintain the currently ongoing service during the data synchronization process on the CP or the UP. For example, the synchronization processing module 62 controls the UP to maintain the currently ongoing service during the connection channel failure recovery and the data synchronization processing of the UP; alternatively, the synchronization processing module 62 controls the UP to maintain the currently ongoing service during the CP failure recovery and the data synchronization processing of the CP.
The failure type is that the main CP fails, and the trust mode is a trust CP mode. When the main CP fails, the standby CP is used as a working CP to carry out service processing, and the main CP is a failure recovery CP; when the fault-resilient CP performs the restoration process, the synchronization processing module 62 performs the data synchronization process on the fault-resilient CP according to the trusted CP mode and based on the third service data in the working CP.
Fig. 7 is a block diagram of another embodiment of a fault resilient device according to the present disclosure. As shown in fig. 7, the fault resilient means may comprise a memory 71, a processor 72, a communication interface 73 and a bus 74. The memory 71 is for storing instructions, and the processor 72 is coupled to the memory 71, the processor 72 being configured to implement the fault recovery method described above based on the instructions stored by the memory 71.
The memory 71 may be a high-speed RAM memory, a nonvolatile memory (non-volatile memory), or the like, and the memory 71 may be a memory array. The memory 71 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules. The processor 72 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the fault recovery methods of the present disclosure.
In one embodiment, the present disclosure provides a vbas comprising: CP, UP, fault resilient means as in any of the above embodiments.
In one embodiment, the present disclosure provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the fault recovery method of any of the embodiments above.
The fault recovery method, the fault recovery device, the vBRAS and the storage medium solve the problem that a large number of users on UP drop lines when the fault CP in the vBRAS system is recovered, can determine that the trust mode is a trust UP mode or a trust CP mode based on different fault types, carry out data synchronization processing on the CP or the UP according to the corresponding trust mode, can maintain the consistency of the CP and the UP service information, can realize that the users on UP do not drop lines and the flow is not interrupted during the fault recovery, and can improve the reliability of the service; by selecting trust modes aiming at different scenes, the optimization evolution of the vBRAS system in the aspect of high reliability is realized, and the high guarantee requirement of the current network service can be met.
The methods and systems of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments were chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (21)

1. The fault recovery method is applied to a virtual broadband remote access server (vBRAS), wherein the vBRAS comprises a control plane CP and a forwarding plane UP; the method comprises the following steps:
when fault recovery processing is carried out, a trust mode is determined according to the fault type; wherein the trust pattern comprises: trust UP mode, trust CP mode;
and carrying out data synchronization processing on the CP or the UP according to the trust mode.
2. The method of claim 1, wherein the determining a trust pattern based on a fault type comprises:
when the fault type is that the CP fails, determining that the trust mode is a trust UP mode;
or when the fault type is that the CP fails, determining that the trust mode is a trust UP mode or a trust CP mode based on the CP fault condition;
or a connection channel is arranged between the CP and the UP; and when the fault type is that the connection channel has connection faults, determining that the trust mode is a trust CP mode.
3. The method of claim 2, wherein the determining that the trust mode is a trusted UP mode or a trusted CP mode based on a CP fault condition comprises:
when the CP failure causes the damage or loss of user data, determining that the trust mode is a trust UP mode;
when the CP failure does not cause damage or loss of user data, determining that the trust mode is a trust CP mode;
and when one of the CP fault is a main CP or a standby CP fault occurs, determining that the trust mode is a trust CP mode.
4. The method of claim 1, wherein the data synchronization processing of the CP or the UP according to the trust mode comprises:
according to the trusted UP mode, carrying out data synchronization processing on the CP based on first service data in the UP;
or,
according to the trust CP mode, carrying out data synchronization processing on the UP based on second service data in the CP;
or,
and according to the trust CP mode, carrying out data synchronization processing on the fault recovery CP based on third service data in the working CP.
5. The method of claim 2, further comprising:
and controlling the UP to keep the current service in the process of carrying out data synchronization processing on the CP or the UP.
6. The method of claim 5 wherein controlling the UP to maintain the currently ongoing service during the data synchronization process of the CP or the UP comprises:
in the process of recovering the fault of the connecting channel and carrying out data synchronization processing on the UP, controlling the UP to keep the current service;
or,
and controlling the UP to keep the current service in the processes of recovering the CP fault and carrying out data synchronization processing on the CP or the UP.
7. The method of claim 2, wherein,
the connection channel includes: a CUSP channel for heartbeat detection.
8. The method of claim 1, wherein,
the CP includes: a primary CP and a standby CP; the UP includes: pUP and vUP.
9. The method of claim 8, wherein the failure type is that the primary CP fails, and the trust mode is a trusted CP mode; when the main CP fails, the standby CP is used as a working CP to carry out service processing, and the main CP is a failure recovery CP; the data synchronization processing of the CP or the UP according to the trust mode includes:
and when the fault recovery CP performs recovery processing, performing data synchronization processing on the fault recovery CP according to the trust CP mode and based on third service data in the working CP.
10. A fault recovery device is applied to a vbas, wherein the vbas comprises a control plane CP and a forwarding plane UP; the device comprises:
the mode setting module is used for determining a trust mode according to the fault type when fault recovery processing is carried out; wherein the trust pattern comprises: trust UP mode, trust CP mode;
and the synchronous processing module is used for carrying out data synchronous processing on the CP or the UP according to the trust mode.
11. The apparatus of claim 10, wherein,
the mode setting module is used for determining that the trust mode is a trust UP mode when the fault type is that the CP has a fault; or when the fault type is that the CP fails, determining that the trust mode is a trust UP mode or a trust CP mode based on the CP fault condition;
a connection channel is arranged between the CP and the UP; and the mode setting module is further configured to determine that the trust mode is a trust CP mode when the failure type is that the connection channel has a connection failure.
12. The apparatus of claim 11, wherein,
the mode setting module is used for determining that the trust mode is a trust UP mode when the CP failure causes the damage or loss of user data; when the CP failure does not cause damage or loss of user data, determining that the trust mode is a trust CP mode; and when one of the CP fault is a main CP or a standby CP fault occurs, determining that the trust mode is a trust CP mode.
13. The apparatus of claim 10, wherein,
the synchronization processing module is used for performing data synchronization processing on the CP based on first service data in the UP according to the trust UP mode;
the synchronization processing module is further configured to perform data synchronization processing on the UP based on the second service data in the CP according to the trusted CP mode, or perform data synchronization processing on the failure recovery CP based on the third service data in the working CP according to the trusted CP mode.
14. The apparatus of claim 11, wherein,
and the synchronous processing module is used for controlling the UP to keep the current service in the process of carrying out data synchronous processing on the CP or the UP.
15. The apparatus of claim 14, wherein,
the synchronous processing module is used for controlling the UP to keep the current service in the process of recovering the fault of the connecting channel and carrying out data synchronous processing on the UP; or in the process of recovering the CP fault and carrying out data synchronization processing on the CP or the UP, controlling the UP to keep the current service.
16. The apparatus of claim 11, wherein,
the connection channel includes: a CUSP channel for heartbeat detection.
17. The apparatus of claim 10, wherein,
the CP includes: a primary CP and a standby CP; the UP includes: pUP and vUP.
18. The apparatus of claim 17, wherein the failure type is that the primary CP fails, and the trusted mode is a trusted CP mode; when the main CP fails, the standby CP is used as a working CP to carry out service processing, and the main CP is a failure recovery CP;
and the synchronous processing module is also used for carrying out data synchronous processing on the fault recovery CP according to the trust CP mode and based on third service data in the working CP when the fault recovery CP carries out recovery processing.
19. A fault recovery apparatus comprising:
a memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 1-9 based on instructions stored in the memory.
20. A vbas, comprising:
CP, UP, fault resilient means as claimed in any one of claims 9 to 19.
21. A computer readable storage medium storing computer instructions for execution by a processor of the method of any one of claims 1 to 9.
CN202210999799.4A 2022-08-19 2022-08-19 Fault recovery method and device, vBRAS and storage medium Pending CN117640347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210999799.4A CN117640347A (en) 2022-08-19 2022-08-19 Fault recovery method and device, vBRAS and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210999799.4A CN117640347A (en) 2022-08-19 2022-08-19 Fault recovery method and device, vBRAS and storage medium

Publications (1)

Publication Number Publication Date
CN117640347A true CN117640347A (en) 2024-03-01

Family

ID=90024086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210999799.4A Pending CN117640347A (en) 2022-08-19 2022-08-19 Fault recovery method and device, vBRAS and storage medium

Country Status (1)

Country Link
CN (1) CN117640347A (en)

Similar Documents

Publication Publication Date Title
CN108900415B (en) Master-slave equipment switching method and system under MLAG interface failure
CN100499507C (en) Disaster recovery system, method and network device
US20160036625A1 (en) Method and device for protecting service reliability and network virtualization system
GB2444170A (en) Ethernet protection using a redundant link, with link up of a remote port being triggered using a "link status control mechanism".
WO2021057438A1 (en) Main/standby switching method and apparatus, bras device, and storage medium
US11924024B2 (en) Switching method and apparatus, device, and storage medium
CN110581782A (en) Disaster tolerance data processing method, device and system
CN112218321B (en) Master-slave link switching method, device, communication equipment and storage medium
CN104917630A (en) Method for recovering virtual network and system for recovering virtual network
WO2021109900A1 (en) Flexe network-based rerouting method and apparatus, and electronic device and readable storage medium
CN105790965A (en) Method and device for link switching and line card
CN105530116A (en) Virtual network backup and recovery method and corresponding device
CN102487332B (en) Fault processing method, apparatus thereof and system thereof
CN110740066B (en) Seat-invariant cross-machine fault migration method and system
CN109617716B (en) Data center exception handling method and device
CN117640347A (en) Fault recovery method and device, vBRAS and storage medium
CN103414591A (en) Method and system for fast converging when port failure is recovered
CN114598594B (en) Method, system, medium and equipment for processing application faults under multiple clusters
CN108282346B (en) Software upgrading method and device
CN104503871A (en) Implementation method based on full-redundancy model of small computer system
CN114301763A (en) Distributed cluster fault processing method and system, electronic device and storage medium
CN112911731B (en) Power saving control method, device, equipment and medium for uRLLC equipment
CN110011834A (en) A kind of control pattern of fusion telecommunications network management method and system
CN107967190A (en) A kind of disaster recovery test method
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