CN114629781A - Equipment switching method, device, equipment and readable storage medium - Google Patents

Equipment switching method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114629781A
CN114629781A CN202011361252.9A CN202011361252A CN114629781A CN 114629781 A CN114629781 A CN 114629781A CN 202011361252 A CN202011361252 A CN 202011361252A CN 114629781 A CN114629781 A CN 114629781A
Authority
CN
China
Prior art keywords
bras
main
fault
fault information
backup
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
CN202011361252.9A
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 Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011361252.9A priority Critical patent/CN114629781A/en
Publication of CN114629781A publication Critical patent/CN114629781A/en
Pending 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
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

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

Abstract

The invention discloses a device switching method, a device, equipment and a readable storage medium, which relate to the technical field of communication and are used for quickly finishing the switching of main and standby BRAS-UP. The method comprises the following steps: according to the preset period and the backup BRAS-UP, respective network state information is notified; when a user side fault or a network side fault occurs in a main BRAS-UP, the fault information of the main BRAS-UP is informed to a BRAS-CP and the fault information of the main BRAS-UP is informed to a standby BRAS-UP; when the network state information of the backup BRAS-UP is not received continuously for many times, the fault information of the backup BRAS-UP is sent to the BRAS-CP; when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to the BRAS-CP. The invention can rapidly complete the switching of the main BRAS-UP and the standby BRAS-UP.

Description

Equipment switching method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device switching method, apparatus, device, and readable storage medium.
Background
A Broadband Remote Access Server (BRAS) is a novel Access gateway for Broadband network applications. With the rapid increase of the number of broadband users and the development of new services such as 4K high definition, internet of things and the like, BRAS equipment serving as an edge of an IP network and a gateway for user access faces challenges such as low equipment utilization rate, complex management, operation and maintenance, slow online of new services and the like.
For BRAS equipment, the most important step in promoting its generalized evolution is the separation of forwarding and control.
The basic idea of a transfer control separation vBRAS (virtualized BRAS) system is to abstract the control surface functions of a plurality of BRAS devices and perform centralized cloud deployment to form a uniform BRAS controller (BRAS-CP, control surface, CP for short); meanwhile, the BRAS device or other forwarding devices with the stripped control plane form a BRAS repeater (BRAS-UP, forwarding plane, abbreviated as UP). The diversion separation vBRAS system consists of CP and UP.
In the hot standby scheme of the switching control separation vBRAS architecture, the main UP and the standby UP have the table entry information of all users of the main UP and the standby UP, and the main-standby switching is completed under the unified control of the CP. The user is on-line and processed on the main UP, and the standby UP is not processed. User traffic needs to be switched to the standby UP in case of a link failure or device failure in the primary UP.
When the main UP has a device failure (or a network side failure), the main UP cannot inform the CP of failure information, and the failure of the main UP can be known and the main-standby switching can be carried out only after the CP detects that the main UP is disconnected.
The detection time required by the CP for detecting the main UP fault is longer, so that the switching time of the main UP and the standby UP is longer, and the user experience is poorer.
Disclosure of Invention
The embodiment of the invention provides a device switching method, a device, equipment and a readable storage medium, which are used for rapidly completing the switching of main and standby BRAS-UP when a BRAS-UP device fails.
In a first aspect, an embodiment of the present invention provides a device handover method, which is applied to a primary BRAS-UP of a vbbras system, and includes:
according to the preset period and the backup BRAS-UP, respective network state information is notified;
the method further comprises any of the following steps:
when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
The main BRAS-UP and the standby BRAS-UP are communicated through BFD (Bidirectional Forwarding Detection);
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-CP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
The main BRAS-UP and the BRAS-CP communicate with each other through an S-CUSP (Service-Control Plane and User Plane Separated Protocol) Protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the method further comprises:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to be switched to the standby BRAS-UP.
In a second aspect, an embodiment of the present invention further provides a device handover method, which is applied to a backup BRAS-UP of a vbbras system, and includes:
according to the preset period and the main BRAS-UP, respective network state information is announced;
the method further comprises any of the following steps:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
Network state information is announced between the main BRAS-UP and the standby BRAS-UP through BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the backup BRAS-UP and the BRAS-CP communicate with each other through the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite end faults;
PF artifact, parameter for identifying opposite end fault.
Wherein the method further comprises:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notice is used for informing the main BRAS-UP to switch to the standby BRAS-UP, and the second notice is used for informing the standby BRAS-UP to switch to the main BRAS-UP.
In a third aspect, an embodiment of the present invention further provides an apparatus handover method, which is applied to a BRAS-CP of a vbars system, and includes:
acquiring fault information of a main BRAS-UP and/or fault information of a standby BRAS-UP;
and determining whether to switch equipment or not according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
Wherein, the determining whether to switch the equipment according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP comprises:
if receiving the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice, determining whether to switch equipment or not according to the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice;
if the fault information of the main BRAS-UP notice and the fault information of the standby BRAS-UP notice are received at the same time:
when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy.
Wherein the method further comprises:
sending a first notification to the primary BRAS-UP and a second notification to the secondary BRAS-UP; or
Sending a second notification to the backup BRAS-UP; or
Sending a first notification to the standby BRAS-UP such that the standby BRAS-UP sends a first notification to the primary BRAS-UP and a second notification to the standby BRAS-UP;
wherein, the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP; the second notification is used for notifying the backup BRAS-UP to switch to the primary BRAS-UP.
In a fourth aspect, an embodiment of the present invention provides a device switching apparatus, which is applied to a primary BRAS-UP of a vbbras system, and includes:
the first processing module is used for announcing respective network state information with the backup BRAS-UP according to a preset period;
a first sending module configured to perform any one of:
when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
Wherein, the main BRAS-UP and the backup BRAS-UP notify the network status information through bidirectional forwarding detection BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the main BRAS-UP and the BRAS-CP communicate with each other through S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, parameters for identifying local faults;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the apparatus further comprises: a first receiving module to:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to be switched to the standby BRAS-UP.
In a fifth aspect, an embodiment of the present invention provides an apparatus switching device, which is applied to a backup BRAS-UP of a vbars system, and includes:
the first processing module is used for announcing respective network state information with the main BRAS-UP according to a preset period;
a first sending module configured to perform any one of:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
Network state information is announced between the main BRAS-UP and the standby BRAS-UP through BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the backup BRAS-UP and the BRAS-CP communicate with each other through the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the apparatus further comprises: a first receiving module to:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notification is used for notifying the primary BRAS-UP to switch to the standby BRAS-UP, and the second notification is used for notifying the standby BRAS-UP to switch to the primary BRAS-UP.
In a sixth aspect, an embodiment of the present invention provides an apparatus switching device, which is applied to a BRAS-CP of a vbars system, and includes:
the first acquisition module is used for acquiring the fault information of a main BRAS-UP and/or the fault information of a standby BRAS-UP;
and the first processing module is used for determining whether to carry out equipment switching according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
Wherein the first processing module is configured to:
if receiving the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice, determining whether to switch equipment or not according to the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice;
if the fault information of the main BRAS-UP notice and the fault information of the standby BRAS-UP notice are received at the same time:
when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy.
Wherein the apparatus further comprises: a first sending module configured to:
sending a first notification to the primary BRAS-UP and a second notification to the secondary BRAS-UP; or
Sending a second notification to the backup BRAS-UP; or
Sending a first notification to the standby BRAS-UP such that the standby BRAS-UP sends a first notification to the primary BRAS-UP and a second notification to the standby BRAS-UP;
wherein, the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP; the second notification is used for notifying the backup BRAS-UP to switch to the primary BRAS-UP.
In a seventh aspect, an embodiment of the present invention provides an apparatus switching device, which is applied to a primary BRAS-UP of a vbbras system, and includes: a processor and a transceiver;
the processor is used for announcing respective network state information with the BRAS-UP according to a preset period;
the transceiver is configured to perform any one of:
when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
Wherein, the main BRAS-UP and the backup BRAS-UP notify the network status information through bidirectional forwarding detection BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the main BRAS-UP and the BRAS-CP communicate with each other through S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the transceiver is further configured to:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to be switched to the standby BRAS-UP.
In an eighth aspect, an embodiment of the present invention provides an apparatus switching device, which is applied to a backup BRAS-UP of a vbars system, and includes: a processor and a transceiver;
the processor is used for announcing respective network state information with the main BRAS-UP according to a preset period;
the transceiver is configured to perform any one of:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of the main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
Network state information is announced between the main BRAS-UP and the standby BRAS-UP through BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, parameters for identifying local faults;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the backup BRAS-UP and the BRAS-CP communicate with each other through the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite end faults;
PF artifact, parameter for identifying opposite end fault.
Wherein the transceiver is further configured to:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notice is used for informing the main BRAS-UP to switch to the standby BRAS-UP, and the second notice is used for informing the standby BRAS-UP to switch to the main BRAS-UP.
In a ninth aspect, an embodiment of the present invention provides an apparatus switching device, which is applied to a BRAS-CP of a vbars system, and includes: a processor and a transceiver;
the processor is used for acquiring the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP; and determining whether to switch equipment or not according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
Wherein the processor is configured to:
if receiving the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP, determining whether to carry out equipment switching according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
if the fault information of the main BRAS-UP notice and the fault information of the standby BRAS-UP notice are received at the same time:
when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy.
Wherein the processor is configured to:
sending a first notification to the primary BRAS-UP and a second notification to the secondary BRAS-UP; or alternatively
Sending a second notification to the backup BRAS-UP; or
Sending a first notification to the standby BRAS-UP to cause the standby BRAS-UP to send a first notification to the primary BRAS-UP, and sending a second notification to the standby BRAS-UP;
wherein, the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP; the second notification is used for notifying the backup BRAS-UP to switch to the primary BRAS-UP.
In a tenth aspect, an embodiment of the present invention further provides a terminal device, including: a transceiver, a memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the steps in the device switching method as described above when executing the program.
In an eleventh aspect, the embodiment of the present invention further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the program implements the steps in the device switching method described above.
In the embodiment of the invention, when the main BRAS-UP has a fault, the fault information of the main BRAS-UP can be sent to the BRAS-CP or the standby BRAS-UP in time; or when the backup BRAS-UP has a fault, the fault information of the backup BRAS-UP is sent to the BRAS-CP, so that the switching between the main BRAS-UP and the backup BRAS-UP can be quickly completed when the main BRAS-UP has the fault.
Drawings
Fig. 1 is a flowchart of a device switching method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of BFD in the prior art;
fig. 3 is a schematic diagram of a format of a BFD control packet after extension in the embodiment of the present invention;
fig. 4 is a second flowchart of a device switching method according to an embodiment of the present invention;
fig. 5 is a third flowchart of a device switching method according to an embodiment of the present invention;
fig. 6 is a fourth flowchart of a device switching method according to an embodiment of the present invention;
fig. 7 is a fifth flowchart of an apparatus switching method according to an embodiment of the present invention;
fig. 8 is a sixth flowchart of an apparatus switching method according to an embodiment of the present invention;
fig. 9 is a seventh flowchart of a device switching method according to an embodiment of the present invention;
fig. 10 is a structural diagram of an apparatus switching device according to an embodiment of the present invention;
fig. 11 is a second structural diagram of an apparatus switching device according to a second embodiment of the present invention;
fig. 12 is a third structural diagram of an apparatus switching device according to an embodiment of the present invention;
FIG. 13 is a fourth block diagram of the switching device of the apparatus according to the embodiment of the present invention;
FIG. 14 is a fifth structural diagram of an apparatus switching device according to an embodiment of the present invention;
fig. 15 is a sixth structural diagram of an equipment switching device according to an embodiment of the present invention.
Detailed Description
In the embodiment of the present invention, the term "and/or" describes an association relationship of an associated object, and indicates that three relationships may exist, for example, a and/or B, and may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a device handover method provided by an embodiment of the present invention, and is applied to a primary BRAS-UP of a vbbras system, as shown in fig. 1, including the following steps:
step 101, according to the preset period, notifying respective network state information with the backup BRAS-UP.
In the embodiment of the invention, a mutual detection mechanism is added between the main BRAS-UP and the standby BRAS-UP, namely, the network state information of the main BRAS-UP and the standby BRAS-UP are periodically notified to each other. The period can be set as desired.
And the primary BRAS-UP and the secondary BRAS-CP are communicated through BFD.
Fig. 2 shows a schematic diagram of BFD in the prior art. In the embodiment of the invention, the 'Diag' (diagnosis) field is extended to identify that the BFD control message carries the network state information of the main BRAS-UP and the standby BRAS-UP, such as fault information. And the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying the main BRAS-UP and/or the standby BRAS-CP. The format of the extended BFD control packet carrying network status information is shown in fig. 3, where the extension field of the BFD includes:
LF Type (Local Failure Type) for identifying the Type of Local Failure: 1 represents a user side fault, 2 represents a network side fault, and 3 represents an equipment fault;
LF alignment (Local Failure alignment), a parameter for identifying Local Failure, representing detailed Local UP Failure information;
the device comprises a PF Type (Peer Failure Type) for identifying the Type of opposite-end Failure, wherein 1 represents user side Failure, 2 represents network side Failure, and 3 represents equipment Failure;
PF attribute (Peer Failure attribute) for identifying parameters of Peer Failure, representing detailed Peer UP Failure information.
The extended Diag field value 31 is defined as: "Failure Information Carrier". When the value of the 'Diag' field is 31, the BFD control message carries the network status information of the main and standby BRAS-UPs, such as fault information.
The network status information may include information about a failure, such as a type of the failure, information about a failure party, and information about a loss of connection of the device. In the embodiment of the invention, if the sender of the network state information is the main BRAS-UP, the opposite terminal is the backup BRAS-UP; if the sender is the backup BRAS-UP, the opposite end is the main BRAS-UP.
Step 102, the method further comprises any one of the following steps:
(1) when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
(2) when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
(3) and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
In the embodiment of the invention, the fault information of the main BRAS-UP and the standby BRAS-UP is supported to be reported to the BRAS-CP by extending the S-CUSP (Service-Control Plane and User Plane Separated Protocol) between CUs, and the extended table item information is shown in the table 1:
TABLE 1
Figure BDA0002804022890000141
Specifically, the method comprises the following steps:
LF Type (Local Failure Type) for identifying the Type of Local Failure: 1 represents a user side fault, 2 represents a network side fault, and 3 represents an equipment fault;
LF alignment (Local Failure alignment), a parameter for identifying Local Failure, representing detailed Local UP Failure information;
the device comprises a PF Type (Peer Failure Type) for identifying the Type of opposite-end Failure, wherein 1 represents user side Failure, 2 represents network side Failure, and 3 represents equipment Failure;
PF attribute (Peer Failure attribute) for identifying a parameter of Peer Failure, representing detailed Peer UP Failure information.
In the embodiment of the invention, if the sender of the fault information is the main BRAS-UP, the opposite terminal is the backup BRAS-UP; if the sender is the backup BRAS-UP, the opposite terminal is the main BRAS-UP.
When the BRAS-CP determines to perform device handover, the method of the embodiment of the present invention may further include:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to be switched to the standby BRAS-UP.
In the embodiment of the invention, when the main BRAS-UP has a fault, the fault information of the main BRAS-UP can be sent to the BRAS-CP or the standby BRAS-UP in time; or when the backup BRAS-UP has a fault, the fault information of the backup BRAS-UP is sent to the BRAS-CP, so that the switching between the main BRAS-UP and the backup BRAS-UP can be quickly completed when the main BRAS-UP has the fault.
Referring to fig. 4, fig. 4 is a flowchart of a device handover method provided by an embodiment of the present invention, and is applied to a backup BRAS-UP of a vbars system, as shown in fig. 4, including the following steps:
step 401, according to the preset period, notifying the network state information of each main BRAS-UP.
And the backup BRAS-UP and the main BRAS-UP are communicated through BFD. The diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-CP;
the extension field of the BFD includes:
LF Type (Local Failure Type) for identifying the Type of Local Failure: 1 represents user side failure, 2 represents network side failure, and 3 represents equipment failure;
LF alignment (Local Failure alignment), a parameter for identifying Local Failure, representing detailed Local UP Failure information;
the device comprises a PF Type (Peer Failure Type) for identifying the Type of opposite-end Failure, wherein 1 represents user side Failure, 2 represents network side Failure, and 3 represents equipment Failure;
PF attribute (Peer Failure attribute) for identifying a parameter of Peer Failure, representing detailed Peer UP Failure information.
Specifically, the extended Diag field value 31 is defined as: "Failure Information Carrier". When the value of the 'Diag' field is 31, the BFD control message carries the network state information of the main BRAS-UP and the standby BRAS-UP.
Step 402, the method further comprises any one of the following steps:
(1) when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is informed to a BRAS-CP, and the fault information of the backup BRAS-UP is informed to the main BRAS-UP;
(2) receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
(3) when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
The backup BRAS-UP and the BRAS-CP communicate with each other through the S-CUSP protocol. Extensions to the S-CUSP protocol may be found in relation to the description of the previous embodiments.
When the BRAS-CP determines to perform device handover, the method of the embodiment of the present invention may further include:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notice is used for informing the main BRAS-UP to switch to the standby BRAS-UP, and the second notice is used for informing the standby BRAS-UP to switch to the main BRAS-UP.
Then, the backup BRAS-UP after being upgraded to the main BRAS-UP sends free arp to a user side switch, and the user uplink flow is guided to the backup BRAS-UP upgraded to the main BRAS-UP; and the backup BRAS-UP after the primary BRAS-UP is increased sends a user route to a network side, and the downlink flow is guided to the backup BRAS-UP.
In the embodiment of the present invention, the specific implementation forms of the first notification and the second notification are not limited as long as they can implement the same function.
In the embodiment of the invention, when the main BRAS-UP has a fault, the fault information of the main BRAS-UP can be sent to the BRAS-CP or the standby BRAS-UP in time; or when the backup BRAS-UP has a fault, the fault information of the backup BRAS-UP is sent to the BRAS-CP, so that the switching between the main BRAS-UP and the backup BRAS-UP can be quickly completed when the main BRAS-UP has the fault.
Referring to fig. 5, fig. 5 is a flowchart of a device handover method provided by an embodiment of the present invention, and is applied to a BRAS-CP of a vbars system, as shown in fig. 5, including the following steps:
and step 501, acquiring the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
In practical application, the BRAS-CP may receive the fault information reported by the main and standby BRAS-UPs at the same time, or may receive the fault information reported by only one of the main and standby BRAS-UPs.
For example, when a user side fault or a network side fault occurs in a main BRAS-UP, the main BRAS-UP informs a BRAS-CP of fault information of the main BRAS-UP and informs the backup BRAS-UP of the fault information of the main BRAS-UP; and the backup BRAS-UP sends the fault information of the main BRAS-UP to the BRAS-CP. In this case, the BRAS-CP receives the fault information reported by the main BRAS-UP and the standby BRAS-UP at the same time.
Step 502, according to the failure information of the main BRAS-UP and/or the failure information of the standby BRAS-UP, whether to switch the equipment is determined.
In this step, if the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP is received, whether the equipment is switched or not is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP.
If the fault information announced by the main BRAS-UP and the fault information announced by the standby BRAS-UP are received at the same time: when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP; and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy. Wherein the preset strategy can be preset.
If the report of either party is not received, the switching is not carried out.
In the embodiment of the invention, a mutual detection mechanism is added between the main BRAS-UP and the standby BRAS-UP, namely, the network state information of the main BRAS-UP and the standby BRAS-UP are periodically notified to each other. If normal communication can be kept between CUs, when fault occurs, the main and standby BRAS-UP can inform the self fault information to the BRAS-CP, and can also report the fault information of the counterpart BRAS-UP to the BRAS-CP, and the BRAS-CP determines the main and standby switch according to the reported fault information. If the channel between the main BRAS-UP and the BRAS-CP is in failure and cannot notify the failure of the channel, the backup BRAS-UP can notify the failure of the main BRAS-UP to the BRAS-CP, and the main backup switching is determined by the BRAS-CP.
For BRAS-CP, the logic for making the active/standby switching decision is as follows:
(1) if the fault information of the main BRAS-UP and the standby BRAS-UP is not received, no main/standby switching is carried out;
(2) if only receiving fault information (for example, only receiving fault information of main BRAS-UP or standby BRAS-UP notice), deciding main/standby switch according to the fault information of UP notice;
(3) if receiving the fault information notified by both main and standby BRAS-UP parties:
if the fault information announced by the main BRAS-UP and the standby BRAS-UP is consistent, the consistent fault information is used for deciding the main/standby switching;
if the fault information announced by the main BRAS-UP and the standby BRAS-UP are not consistent, the fault information reported by the main BRAS-UP and the standby BRAS-UP is synthesized to decide the main-standby switching.
For the main BRAS-UP fault situation, the main BRAS-UP and the standby BRAS-UP periodically inform each fault information to the other side (fast period). Then, the main BRAS-UP and the backup BRAS-UP inform the BRAS-CP of the local fault information and the received fault information of the opposite side. If UP can not receive UP notice information of opposite side for a long time, then UP of opposite side is judged to be lost and BRAS-CP is informed.
The BRAS-CP synthesizes various fault information notified by the main and standby BRAS-UP to decide the main-standby switching. If the equipment is switched, the BRAS-CP informs the backup BRAS-UP to be increased to the main BRAS-UP, and the BRAS-CP informs the main BRAS-UP to be decreased to the backup BRAS-UP (if the communication channel between the main BRAS-UP and the BRAS-CP fails, the main BRAS-UP informs the backup BRAS-UP of the information that the main BRAS-UP is decreased to the backup BRAS-UP, and the backup BRAS-UP informs the main BRAS-UP).
And the backup BRAS-UP after the increase of the main sends a free arp to a user side switch, the uplink traffic of the user is guided to the backup BRAS-UP after the increase of the main, the backup BRAS-UP after the increase of the main sends a user route to a network side, and the downlink traffic is guided to the backup BRAS-UP.
In the embodiment of the invention, when the main BRAS-UP has a fault, the fault information of the main BRAS-UP can be sent to the BRAS-CP or the standby BRAS-UP in time; or when the backup BRAS-UP has a fault, the fault information of the backup BRAS-UP is sent to the BRAS-CP, so that the switching between the backup BRAS-UP and the master BRAS-UP can be quickly completed when the backup BRAS-UP has a fault.
Referring to fig. 6, fig. 6 is a flowchart of a device switching method according to an embodiment of the present invention. In this embodiment, the main BRAS-UP has a user side or network side fault, but the communication channel between the main BRAS-UP and the BRAS-CP is normal. As shown in fig. 6, the method includes:
step 601, the main BRAS-UP and the backup BRAS-UP periodically announce the network status of themselves, including the user side failure, the network side failure, etc.
Step 602, if the main BRAS-UP finds out the local user side fault or the network side fault, the fault information is reported to the BRAS-CP.
Step 603, the primary BRAS-UP sends the failure information to the backup BRAS-UP.
Step 604, the backup BRAS-UP reports the fault information of the main BRAS-UP to the BRAS-CP.
Step 605, BRAS-CP decides whether to switch according to the reported information of main BRAS-UP and backup BRAS-UP.
Step 606, if switching is carried out, the BRAS-CP informs the main BRAS-UP to be reduced to the standby BRAS-UP, and the BRAS-CP informs the standby BRAS-UP to be increased to the main BRAS-UP.
Referring to fig. 7, fig. 7 is a flowchart of a device switching method according to an embodiment of the present invention. In this embodiment, the primary BRAS-UP has a complete machine failure. As shown in fig. 7, the method includes:
step 701, the primary BRAS-UP and the backup BRAS-UP periodically announce their own network status, including user side failure, network side failure, etc. Suppose that the primary BRAS-UP has a complete machine failure.
Step 702, if the backup BRAS-UP does not receive the network state information of the main BRAS-UP for a plurality of times, the loss of connection of the main BRAS-UP is judged.
And step 703, the backup BRAS-UP reports the loss of connection information of the main BRAS-UP to the BRAS-CP.
Step 704, the BRAS-CP decides to switch according to the information reported by the backup BRAS-UP.
Step 705, BRAS-CP informs the backup BRAS-UP to rise to the primary BRAS-UP.
Referring to fig. 8, fig. 8 is a flowchart of a device switching method according to an embodiment of the present invention. In this embodiment, the communication channels of the primary BRAS-UP and BRAS-CP fail. As shown in fig. 8, the method includes:
step 801, the primary BRAS-UP and the backup BRAS-UP periodically announce the network state of the self, including the user side fault, the network side fault and the like.
Step 802, the primary BRAS-UP sends the failure information to the backup BRAS-UP.
Step 803, the backup BRAS-UP reports the fault information of the main BRAS-UP to the BRAS-CP.
And step 804, the BRAS-CP decides whether to switch according to the reported information of the main BRAS-UP and the backup BRAS-UP.
Step 805, if switching, BRAS-CP informs backup BRAS-UP to main BRAS-UP.
The BRAS-CP sends a notification to the standby BRAS-UP that the primary BRAS-UP is down to the standby BRAS-UP. The backup BRAS-UP sends a notification that the primary BRAS-UP is down to the backup BRAS-UP.
Referring to fig. 9, fig. 9 is a flowchart of a device switching method according to an embodiment of the present invention. In this embodiment, the communication channel of the primary BRAS-UP and the backup BRAS-UP fails, assuming that the failure is due to a failure of the user side link of the primary BRAS-UP. As shown in fig. 9, the method includes:
step 901, if the master BRAS-UP does not receive the network status information of the backup BRAS-UP continuously for many times, the backup BRAS-UP is judged to be lost. And the primary BRAS-UP sends the loss of contact information of the backup BRAS-UP to the BRAS-CP.
Step 902, the primary BRAS-UP sends the failure information to the BRAS-CP.
Step 903, if the backup BRAS-UP does not receive the network state information of the primary BRAS-UP continuously for many times, the loss of connection of the primary BRAS-UP is judged. And the backup BRAS-UP sends the loss of connection information of the main BRAS-UP to the BRAS-CP.
And step 904, the BRAS-CP decides whether to switch according to the reported information of the main BRAS-UP and the backup BRAS-UP.
Step 905, if the switching is carried out, the BRAS-CP informs the backup BRAS-UP to be increased to the main BRAS-UP, and informs the main BRAS-UP to be decreased to the backup BRAS-UP.
It can be seen from the above description that, in the embodiment of the present invention, when the primary BRAS-UP fails or the communication channel between the primary BRAS-UP and the BRAS-CP fails, the switching between the primary BRAS-UP and the secondary BRAS-UP can be completed quickly.
The embodiment of the invention also provides a device switching device which is applied to the main BRAS-UP of the vBRAS system. Referring to fig. 10, fig. 10 is a structural diagram of a device switching apparatus according to an embodiment of the present invention. Because the principle of the device switching apparatus for solving the problem is similar to the device switching method in the embodiment of the present invention, the method can be used for implementing the device switching apparatus, and repeated details are not described herein.
As shown in fig. 10, the device switching apparatus 1000 includes:
a first processing module 1001, configured to notify respective network status information with a backup BRAS-UP according to a preset period;
a first sending module 1002 configured to perform any one of:
when a user side fault or a network side fault occurs in a main BRAS-UP, the fault information of the main BRAS-UP is informed to a BRAS control plane BRAS-CP, and the fault information of the main BRAS-UP is informed to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
Wherein, the main BRAS-UP and the backup BRAS-UP notify the network status information through bidirectional forwarding detection BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, parameters for identifying local faults;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the main BRAS-UP and the BRAS-CP communicate with each other through S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the apparatus further comprises: a first receiving module to:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a device switching device which is applied to the backup BRAS-UP of the vBRAS system. Referring to fig. 11, fig. 11 is a structural diagram of a device switching apparatus according to an embodiment of the present invention. Because the principle of the device switching apparatus for solving the problem is similar to the device switching method in the embodiment of the present invention, the method can be used for implementing the device switching apparatus, and repeated details are not described herein.
As shown in fig. 11, the device switching apparatus 1100 includes:
a first processing module 1101, configured to notify respective network status information with a primary BRAS-UP according to a preset period;
a first sending module 1102 configured to perform any one of:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to the BRAS-CP.
Network state information is announced between the main BRAS-UP and the standby BRAS-UP through BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the backup BRAS-UP and the BRAS-CP communicate with each other through the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the apparatus further comprises: a first receiving module to:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notification is used for notifying the primary BRAS-UP to switch to the standby BRAS-UP, and the second notification is used for notifying the standby BRAS-UP to switch to the primary BRAS-UP.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a device switching device which is applied to the BRAS-CP of the vBRAS system. Referring to fig. 12, fig. 12 is a structural diagram of a device switching apparatus according to an embodiment of the present invention. Because the principle of solving the problem of the device switching apparatus is similar to the device switching method in the embodiment of the present invention, the implementation of the device switching apparatus may refer to the implementation of the method, and repeated details are not described herein.
As shown in fig. 12, the device switching apparatus 1200 includes:
a first obtaining module 1201, configured to obtain fault information of a primary BRAS-UP and/or fault information of a standby BRAS-UP;
a first processing module 1202, configured to determine whether to perform device handover according to the failure information of the primary BRAS-UP and/or the failure information of the secondary BRAS-UP.
Wherein the first processing module is configured to:
if receiving the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice, determining whether to switch equipment or not according to the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice;
if the fault information announced by the main BRAS-UP and the fault information announced by the standby BRAS-UP are received at the same time:
when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy.
Wherein the apparatus further comprises: a first sending module configured to:
sending a first notification to the primary BRAS-UP and a second notification to the secondary BRAS-UP; or alternatively
Sending a second notification to the backup BRAS-UP; or alternatively
Sending a first notification to the standby BRAS-UP to cause the standby BRAS-UP to send a first notification to the primary BRAS-UP, and sending a second notification to the standby BRAS-UP;
wherein, the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP; the second notification is used for notifying the backup BRAS-UP to switch to the primary BRAS-UP.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a device switching device which is applied to the main BRAS-UP of the vBRAS system. Referring to fig. 13, fig. 13 is a structural diagram of a device switching apparatus according to an embodiment of the present invention. Because the principle of the device switching apparatus for solving the problem is similar to the device switching method in the embodiment of the present invention, the method can be used for implementing the device switching apparatus, and repeated details are not described herein.
As shown in fig. 13, the device switching apparatus 1300 includes: a processor 1301 and a transceiver 1302;
the processor is used for announcing respective network state information with the backup BRAS-UP according to a preset period;
the transceiver is configured to perform any one of:
when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
Wherein, the main BRAS-UP and the backup BRAS-UP notify the network status information through bidirectional forwarding detection BFD;
the value of a diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the main BRAS-UP and the BRAS-CP communicate with each other through S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
PF artifact, parameter for identifying opposite end fault.
Wherein the transceiver is further configured to:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to be switched to the standby BRAS-UP.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the invention also provides a device switching device which is applied to the backup BRAS-UP of the vBRAS system. Referring to fig. 14, fig. 14 is a structural diagram of a device switching apparatus according to an embodiment of the present invention. Because the principle of the device switching apparatus for solving the problem is similar to the device switching method in the embodiment of the present invention, the method can be used for implementing the device switching apparatus, and repeated details are not described herein.
As shown in fig. 14, the device switching apparatus 1400 includes: a processor 1401 and a transceiver 1402;
the processor is used for announcing respective network state information with the main BRAS-UP according to a preset period;
the transceiver is configured to perform any one of:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of the main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
Network state information is announced between the main BRAS-UP and the standby BRAS-UP through BFD;
the value of a diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein, the backup BRAS-UP and the BRAS-CP communicate with each other through the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite end faults;
and PF alignment for identifying parameters of opposite end faults.
Wherein the transceiver is further configured to:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notification is used for notifying the primary BRAS-UP to switch to the standby BRAS-UP, and the second notification is used for notifying the standby BRAS-UP to switch to the primary BRAS-UP.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
The embodiment of the invention also provides a device switching device which is applied to the BRAS-CP of the vBRAS system. Referring to fig. 15, fig. 15 is a structural diagram of a device switching apparatus according to an embodiment of the present invention. Because the principle of the device switching apparatus for solving the problem is similar to the device switching method in the embodiment of the present invention, the method can be used for implementing the device switching apparatus, and repeated details are not described herein.
As shown in fig. 15, the device switching apparatus 1500 includes: a processor 1501 and a transceiver 1502;
the processor is used for acquiring the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP; and determining whether to switch equipment or not according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
Wherein the processor is configured to:
if receiving the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice, determining whether to switch equipment or not according to the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice;
if the fault information announced by the main BRAS-UP and the fault information announced by the standby BRAS-UP are received at the same time:
when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy.
Wherein the processor is configured to:
sending a first notification to the primary BRAS-UP and a second notification to the secondary BRAS-UP; or
Sending a second notification to the backup BRAS-UP; or
Sending a first notification to the standby BRAS-UP to cause the standby BRAS-UP to send a first notification to the primary BRAS-UP, and sending a second notification to the standby BRAS-UP;
wherein the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP; the second notification is used for notifying the backup BRAS-UP to switch to the primary BRAS-UP.
The apparatus provided in the embodiment of the present invention may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
An embodiment of the present invention further provides a terminal device, including: a transceiver, a memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the steps in the device switching method as described above when executing the program.
The embodiment of the present invention further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the program implements each process of the device switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The readable storage medium may be any available medium or data storage device that can be accessed by a processor, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical memory (e.g., CD, DVD, BD, HVD, etc.), and semiconductor memory (e.g., ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), Solid State Disk (SSD)), etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. With such an understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (19)

1. A device switching method is applied to a primary BRAS user plane BRAS-UP of a virtualized broadband remote access server vBRAS system, and is characterized by comprising the following steps:
according to the preset period and the backup BRAS-UP, respective network state information is notified;
the method further comprises any of the steps of:
when a user side fault or a network side fault occurs in a main BRAS-UP, the fault information of the main BRAS-UP is informed to a BRAS control plane BRAS-CP, and the fault information of the main BRAS-UP is informed to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
2. The method of claim 1 wherein the network status information is announced between the primary BRAS-UP and the secondary BRAS-UP via Bidirectional Forwarding Detection (BFD);
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
3. The method of claim 1 wherein the primary BRAS-UP and the BRAS-CP communicate therebetween via the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
4. The method of claim 1, further comprising:
directly receiving a first notice sent by the BRAS-CP, wherein the first notice is used for notifying the primary BRAS-UP to switch to a standby BRAS-UP; or
And receiving a first notice sent by the BRAS-CP through the standby BRAS-CP, wherein the first notice is used for informing the primary BRAS-UP to be switched to the standby BRAS-UP.
5. A device switching method is applied to a backup BRAS-UP of a vBRAS system, and is characterized by comprising the following steps:
according to the preset period and the main BRAS-UP, the network state information of each is announced;
the method further comprises any of the following steps:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
6. The method of claim 5 wherein network status information is advertised between the primary BRAS-UP and the secondary BRAS-UP via BFD;
the diagnostic field Diag of the BFD is a preset value and is used for representing network state information carrying main BRAS-UP and/or standby BRAS-UP;
the extension field of the BFD includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, parameters for identifying local faults;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
7. The method of claim 5 wherein the backup BRAS-UP and the BRAS-CP communicate therebetween via the S-CUSP protocol;
wherein the S-CUSP extension field includes:
the LF Type is used for identifying the Type of the local fault;
LF alignment, which is used to identify the parameters of the local fault;
the PF Type is used for identifying the Type of opposite-end faults;
and PF alignment for identifying parameters of opposite end faults.
8. The method of claim 5, further comprising:
receiving a second notice sent by the BRAS-CP; and/or
Receiving a first notice sent by the BRAS-CP and sending the first notice to the primary BRAS-UP;
the first notice is used for informing the main BRAS-UP to switch to the standby BRAS-UP, and the second notice is used for informing the standby BRAS-UP to switch to the main BRAS-UP.
9. A device switching method is applied to BRAS-CP of a vBRAS system, and is characterized by comprising the following steps:
acquiring fault information of a main BRAS-UP and/or fault information of a standby BRAS-UP;
and determining whether to switch equipment or not according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
10. The method of claim 9 wherein the determining whether to perform a device handover according to the failure information of the primary BRAS-UP and/or the failure information of the secondary BRAS-UP comprises:
if receiving the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice, determining whether to switch equipment or not according to the fault information of the main BRAS-UP notice or the fault information of the standby BRAS-UP notice;
if the fault information of the main BRAS-UP notice and the fault information of the standby BRAS-UP notice are received at the same time:
when the fault information announced by the main BRAS-UP is consistent with the fault information announced by the standby BRAS-UP, whether equipment switching is carried out is determined according to the fault information announced by the main BRAS-UP or the fault information announced by the standby BRAS-UP;
and when the fault information announced by the main BRAS-UP is inconsistent with the fault information announced by the standby BRAS-UP, determining whether to switch equipment or not according to a preset strategy.
11. The method of claim 9, further comprising:
sending a first notification to the primary BRAS-UP and a second notification to the secondary BRAS-UP; or
Sending a second notification to the backup BRAS-UP; or
Sending a first notification to the standby BRAS-UP to cause the standby BRAS-UP to send a first notification to the primary BRAS-UP, and sending a second notification to the standby BRAS-UP;
wherein, the first notice is used for informing the primary BRAS-UP to switch to the standby BRAS-UP; the second notification is used for notifying the backup BRAS-UP to switch to the primary BRAS-UP.
12. A device switching apparatus, applied to a primary BRAS-UP of a vbars system, comprising:
the first processing module is used for announcing respective network state information with the BRAS-UP according to a preset period;
a first sending module configured to perform any one of:
when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
13. A device switching apparatus, for use in a backup BRAS-UP of a vbars system, comprising:
the first processing module is used for announcing respective network state information with the main BRAS-UP according to a preset period;
a first sending module configured to perform any one of:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
14. A device switching apparatus, applied to BRAS-CP of a vbars system, comprising:
the first acquisition module is used for acquiring the fault information of a main BRAS-UP and/or the fault information of a standby BRAS-UP;
and the first processing module is used for determining whether to carry out equipment switching according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
15. A device switching apparatus, applied to a primary BRAS-UP of a vbars system, comprising: a processor and a transceiver;
the processor is used for announcing respective network state information with the backup BRAS-UP according to a preset period;
the transceiver is configured to perform any one of:
when a user side fault or a network side fault occurs in a main BRAS-UP, notifying fault information of the main BRAS-UP to a BRAS-CP and notifying fault information of the main BRAS-UP to a standby BRAS-UP;
when the network state information of the backup BRAS-UP is not received for a plurality of times continuously, the fault information of the backup BRAS-UP is sent to the BRAS-CP;
and when receiving the user side fault or network side fault information sent by the backup BRAS-UP, sending the fault information of the backup BRAS-UP to a BRAS-CP.
16. A device switching apparatus, for use in a backup BRAS-UP of a vbars system, comprising: a processor and a transceiver;
the processor is used for announcing respective network state information with the main BRAS-UP according to a preset period;
the transceiver is configured to perform any one of:
when a user side fault or a network side fault occurs in the backup BRAS-UP, the fault information of the backup BRAS-UP is notified to a BRAS-CP, and the fault information of the backup BRAS-UP is notified to the main BRAS-UP;
receiving fault information of a main BRAS-UP sent by the main BRAS-UP when the main BRAS-UP has a user side fault or a network side fault, and sending the fault information of the main BRAS-UP to a BRAS-CP;
when the network state information of the primary BRAS-UP is not received for a plurality of times continuously, the fault information of the primary BRAS-UP is sent to a BRAS-CP.
17. A device switching apparatus, applied to BRAS-CP of a vbars system, comprising: a processor and a transceiver;
the processor is used for acquiring the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP; and determining whether to switch equipment or not according to the fault information of the main BRAS-UP and/or the fault information of the standby BRAS-UP.
18. A communication device, comprising: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; the processor, configured to read a program in a memory, and implement the steps in the device switching method according to any one of claims 1 to 11.
19. A readable storage medium storing a program, wherein the program, when executed by a processor, implements the steps in the device switching method according to any one of claims 1 to 11.
CN202011361252.9A 2020-11-27 2020-11-27 Equipment switching method, device, equipment and readable storage medium Pending CN114629781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011361252.9A CN114629781A (en) 2020-11-27 2020-11-27 Equipment switching method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011361252.9A CN114629781A (en) 2020-11-27 2020-11-27 Equipment switching method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114629781A true CN114629781A (en) 2022-06-14

Family

ID=81894802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011361252.9A Pending CN114629781A (en) 2020-11-27 2020-11-27 Equipment switching method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114629781A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011143891A1 (en) * 2010-05-21 2011-11-24 中兴通讯股份有限公司 Method and apparatus for backup of subscriber service information
US20180167262A1 (en) * 2016-12-14 2018-06-14 Hewlett Packard Enterprise Development Lp Establishing a network fault detection session
CN108880917A (en) * 2018-08-23 2018-11-23 华为技术有限公司 Switching method, device and turn control separation system of control plane equipment
CN109245911A (en) * 2017-07-11 2019-01-18 中国移动通信有限公司研究院 A kind of implementation method that BRAS is hot standby, equipment and computer readable storage medium
CN110572318A (en) * 2019-09-29 2019-12-13 迈普通信技术股份有限公司 Main/standby switching method and router
CN110971462A (en) * 2019-12-09 2020-04-07 深信服科技股份有限公司 Equipment switching method, device, equipment and storage medium
WO2020168533A1 (en) * 2019-02-22 2020-08-27 Zte Corporation Performance measurement using extended bi-directional forwarding control packet

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011143891A1 (en) * 2010-05-21 2011-11-24 中兴通讯股份有限公司 Method and apparatus for backup of subscriber service information
US20180167262A1 (en) * 2016-12-14 2018-06-14 Hewlett Packard Enterprise Development Lp Establishing a network fault detection session
CN109245911A (en) * 2017-07-11 2019-01-18 中国移动通信有限公司研究院 A kind of implementation method that BRAS is hot standby, equipment and computer readable storage medium
CN108880917A (en) * 2018-08-23 2018-11-23 华为技术有限公司 Switching method, device and turn control separation system of control plane equipment
WO2020168533A1 (en) * 2019-02-22 2020-08-27 Zte Corporation Performance measurement using extended bi-directional forwarding control packet
CN110572318A (en) * 2019-09-29 2019-12-13 迈普通信技术股份有限公司 Main/standby switching method and router
CN110971462A (en) * 2019-12-09 2020-04-07 深信服科技股份有限公司 Equipment switching method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11057309B2 (en) Management method, management unit, and system
US11070989B2 (en) Network slice management method, management unit, and system
CN109548037B (en) Control method, distributed unit, centralized unit and storage medium
CN107465613B (en) Link aggregation interface communication state switching method and device
CN109842507B (en) Network slice management method and equipment
CN112751697B (en) Network topology discovery method and node equipment
CN105794308B (en) Autonomous enhanced node B
CN108632848B (en) Network slice self-optimization coordination method and device
CN111372272A (en) Method and device for recovering abnormity of wireless bridging network
CN112218342A (en) Method, device and system for realizing core network sub-slice disaster tolerance
CN110674096A (en) Node troubleshooting method, device and equipment and computer readable storage medium
CN113207081A (en) Communication method, communication device, electronic equipment and medium
CN110213798B (en) Shunt method and device based on Femto gateway
CN113824576A (en) Slice data transmission method and device, electronic equipment and readable medium
CN113453252A (en) Communication method and device
CN114339948A (en) Communication method and communication device
CN114629781A (en) Equipment switching method, device, equipment and readable storage medium
CN112690014A (en) Cellular telecommunications network
CN107547264B (en) Data backup method and device based on Internet of things
EP3206334B1 (en) Information sending method, managed system, and managing system
CN112822791B (en) Information reporting and processing method, terminal, network side equipment and core network equipment
CN110635927B (en) Node switching method, network node and network system
CN114205184B (en) Service data transmission method and device
EP4373045A1 (en) Dbng-up backup method and apparatus
CN113014481B (en) Method, device, equipment and storage medium for transmitting link state notification

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