CN106685818B - Message feedback method and device - Google Patents
Message feedback method and device Download PDFInfo
- Publication number
- CN106685818B CN106685818B CN201611260865.7A CN201611260865A CN106685818B CN 106685818 B CN106685818 B CN 106685818B CN 201611260865 A CN201611260865 A CN 201611260865A CN 106685818 B CN106685818 B CN 106685818B
- Authority
- CN
- China
- Prior art keywords
- user plane
- plane device
- user
- equipment
- vrrp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 104
- 238000012790 confirmation Methods 0.000 claims abstract description 57
- 230000008859 change Effects 0.000 claims description 50
- 230000009467 reduction Effects 0.000 claims description 33
- 238000011084 recovery Methods 0.000 claims description 29
- 238000001514 detection method Methods 0.000 claims description 18
- 239000010410 layer Substances 0.000 description 22
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 230000003247 decreasing effect Effects 0.000 description 11
- 208000033748 Device issues Diseases 0.000 description 8
- 239000012792 core layer Substances 0.000 description 8
- 230000004044 response Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 239000013256 coordination polymer Substances 0.000 description 4
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/58—Association of routers
- H04L45/586—Association of routers of virtual routers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/60—Router architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a message feedback method and a message feedback device, and belongs to the technical field of communication. The method comprises the following steps: when the first user plane equipment can not provide service, the control plane equipment sends user information corresponding to the first user plane equipment to the second user plane equipment, the second user plane equipment receives a keep-alive message sent by the user equipment, and a confirmation message is fed back to the user equipment according to the user information; when the first user plane equipment recovers from the service incapable of being provided to the service providing state, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment, the first user plane equipment receives the keep-alive messages sent by the user equipment, and confirmation messages are fed back to the user equipment according to the user information. The invention solves the problem that the user information on the main router needs to be backed up to the standby router in real time in order to keep the user from being disconnected, so that the equipment resources of the standby router are excessively occupied.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for message feedback.
Background
As shown in fig. 1, a broadband access network generally includes: an access switch 110, a BRAS (Broadband remote access Server) 120, and an uplink network device 130, wherein the user equipment 140 accesses the internet 150 through the access switch 110, the BRAS 120, and the uplink network device 130.
The BRAS 120 generally includes a main Router (master)121 and a standby Router (backup)122, after a VRRP (Virtual Router Redundancy Protocol) is configured on the main Router 121 and the standby Router 122, the main Router 121 and the standby Router 122 are virtualized as one Router, the virtualized Router has a virtualized IP (Internet Protocol, Protocol for interconnecting networks) address and a MAC (Media Access Control) address, and the user device 140 perceives the virtualized Router as the Virtual Router and does not perceive the actual main Router 121 and the actual standby Router 122. Usually, the master router 121 with the highest VRRP priority in the two routers is used, the master router 121 implements the real forwarding function, and when the master router 121 fails, the standby router 122 serves as a new master router to take over the operation of the failed master router 121. In order to ensure fast discovery of the failure, a BFD (Bidirectional Forwarding Detection) technique may be used for failure Detection on the primary router 121 and the standby router 122. The BFD on the master router 121 is bound with an interface of an uplink for probing a state of the uplink of the master router 121, the uplink refers to a link between the master router 121 and the uplink network device 130; the BFD on the standby router 122 is bound with the IP of the master router 121 for probing the state of the downlink of the master router 121, which refers to the link between the master router 121 and the access switch 110. After the BFD is configured, the BFD sends a detection message to the bound opposite terminal regularly, when the BFD detects that the opposite terminal does not respond, the state of the BFD is changed into DOWN to indicate a fault, and then the BFD informs the VRRP to carry out active-standby switching immediately. Such as: when the primary router 121 detects an interface failure of an uplink through BFD, the BFD state changes to DOWN, and the BFD in the primary router 121 notifies the VRRP in the primary router 121 to lower the first VRRP priority, so that the standby router 122 is quickly switched to the primary router; when the standby router 122 detects a failure of the master router through BFD, the BFD state changes to DOWN, and the BFD in the standby router 122 notifies the VRRP in the standby router 122 to increase the second VRRP priority, so that the standby router 122 is quickly switched to the master router. Wherein the first VRRP priority is the VRRP priority of the master router, and the second VRRP priority is the VRRP priority of the standby router.
After the user equipment 140 is online, the online status is maintained through the keep-alive message. When the BRAS 120 performs the primary-secondary switching, the BRAS 120 receives the keep-alive messages reported by the user equipment 140, and the secondary router 122 needs to find the user information corresponding to the user equipment 140 when receiving the keep-alive messages reported by the user equipment 140, confirm that the user equipment 140 is on line, and then feed back the confirmation messages to the user equipment 140, thereby ensuring that the user equipment 140 does not drop the line during the primary-secondary switching. In the prior art, after the user device 140 goes online through the main router 121, the user information on the main router 121 is synchronized to the standby router 122 in real time, when the main router 121 fails, the standby router 122 is switched to a new main router immediately, and because the user information of the user device 140 is synchronized in the standby router 122, the standby router 122 can feed back an acknowledgement message after receiving the keep-alive message of the user device 140, so that the user device 140 does not drop the line.
In order to keep the user from being disconnected, the user information on the primary router 121 needs to be backed up to the standby router 122 in real time, so that the standby router 122 can be switched to for continuous operation immediately when the primary router 121 fails, and the real-time backup would occupy too much device resources of the standby router 122.
Disclosure of Invention
In order to solve the problem that in the prior art, user information on a main router needs to be backed up to a standby router in real time, which causes excessive occupation of equipment resources of the standby router, embodiments of the present invention provide a message feedback method and apparatus. The technical scheme is as follows:
in a first aspect, a message feedback method is provided, where the message feedback method is applied to a second user plane device, and when a first user plane device fails to provide a service due to an upgrade of the first user plane device or a failure of a link to which the first user plane device belongs, the second user plane device obtains user information corresponding to the first user plane device from a control plane device, and after the second user plane device obtains the user information, the second user plane device responds to a keep-alive message sent by the received user device and feeds back a confirmation message to the user device. The second user plane device is in a standby state when the first user plane device provides service, the first user plane device and the second user plane device are used for realizing the uploading of a user dialing message, the receiving of a forwarding table item and the forwarding of user flow, and the control plane device is used for realizing user access protocol processing and user management.
When the first user plane equipment can not provide service, the second user plane equipment acquires user information corresponding to the first user plane equipment from the control plane equipment, and feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
In addition, after receiving the user information, the second user plane device can feed back a confirmation message to the user device sending the keep-alive message according to the user information, so that the user device can continue to be on line through the second user plane device when the first user plane device cannot provide the service.
In a first possible implementation manner of the first aspect, the first user plane device cannot provide a service due to upgrade, and the second user plane device receives, when the first user plane device is upgraded, user information corresponding to the first user plane device and sent by the control plane device. The upgrading process comprises a preset time length before upgrading and an upgrading process, wherein the preset time length is at least longer than the time length of the second user plane equipment for receiving the user information issued by the control plane equipment.
Because the first user plane equipment cannot provide service during upgrading, the second user plane equipment receives user information corresponding to the first user plane equipment and issued by the control plane equipment during upgrading of the first user plane equipment, and therefore forwarding work of user traffic can be performed on the first user plane equipment instead of the first user plane equipment in the upgrading process of the first user plane equipment. The second user plane equipment receives the user information sent by the control plane equipment within the preset time before the first user plane equipment is upgraded, and the preset time is longer than the time for the control plane equipment to send the user information, so that the second user plane equipment stores the user information and can respond to the message sent by the user equipment in the upgrading process of the first user plane equipment, and the user equipment cannot be disconnected during the active-standby switching.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, when the first user plane device is upgraded, after the second user plane device acquires, from the control plane device, user information corresponding to the first user plane device, the second user plane device switches the VRRP state of the second user plane device from the standby state to the master state in two ways. The first mode is that the second user plane equipment receives a priority raising command sent by the control plane equipment and raises the second VRRP priority of the second user plane equipment according to the priority raising command; the second way is to receive a first VRRP priority sent by the first user plane device, where the first VRRP priority is obtained after the first user plane device lowers the original first VRRP priority of the first user plane device according to the priority lowering command after receiving the priority lowering command sent by the control plane device. After the first user plane equipment and the second user plane equipment interact through the VRRP notification message, it is determined that the second VRRP priority of the second user plane equipment is higher than the first VRRP priority of the first user plane equipment, and then the VRRP state of the second user plane equipment is switched from the standby state to the main state.
The second user plane equipment receives the priority increasing command sent by the control plane equipment method after receiving the user information corresponding to the first user plane equipment, or receives the first VRRP priority reduced by the first user plane equipment according to the priority reducing command, then the VRRP state of the second user plane equipment is switched from the standby state to the main state, and the second user plane equipment takes over the first user plane equipment to continue providing service, so that the user information is already in the second user plane equipment during switching, and the condition that the user flow is discarded due to the fact that no user information exists in the second user plane equipment during switching can not occur.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner, when the first user plane device is upgraded, the second user plane device switches the VRRP state of the second user plane device from the main state to the standby state in two ways. The first mode is that the second user plane equipment receives a priority reduction command sent by the control plane equipment, and reduces the second VRRP priority of the second user plane equipment according to the priority reduction command; the second way is to receive a first VRRP priority sent by the first user plane device, where the first VRRP priority is obtained by the first user plane device increasing the first VRRP priority of the first user plane device after the first user plane device increases the priority according to a priority increase command sent by the control plane device. After the first user plane equipment and the second user plane equipment interact through the VRRP notification message, it is determined that the first VRRP priority of the first user plane equipment is higher than the second VRRP priority of the second user plane equipment, and then the VRRP state of the second user plane equipment is switched from the main state to the standby state. The second user plane device receives the priority level lowering command sent by the control plane device, or the first user plane device receives the priority level raising command sent by the control plane device, which is executed after the first user plane device finishes upgrading and receives the user information sent by the control plane device.
After the first user plane equipment is upgraded, the control plane equipment sends a priority increasing command to the first user plane equipment or sends a priority decreasing command to the second user plane equipment after receiving the user information, so that after the first user plane equipment is upgraded, the VRRP state of the second user plane equipment is switched from the main state to the standby state under the condition that the user information is stored in the first user plane equipment, the VRRP state of the first user plane equipment is switched from the standby state to the main state, the first user plane equipment replaces the second user plane equipment to continue providing service, the user information is already in the first user plane equipment during switching, and the condition that the user flow is discarded due to the fact that the user information is not in the first user plane equipment during switching cannot be generated.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner, when a link where the first user plane device is located fails to provide a service due to a failure, the VRRP state of the second user plane device is switched from the standby state to the master state, a VRRP state switching notification is sent to the control plane device, and then user information corresponding to the first user plane device sent by the control plane device is received. The user information is sent by the control plane device after receiving the VRRP state switching notification sent by the second user plane device.
When the link where the first user plane equipment is located fails, the VRRP state of the second user plane equipment is switched from the standby state to the main state, and a state switching notification request is sent to the control plane equipment to issue user information, so that the second user plane equipment can continue to provide service when the first user plane equipment fails to provide service due to failure, and forwarding of user traffic is realized.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, when the second user plane device detects that a downlink of the first user plane device or the first user plane device occurs through BFD, the second user plane device automatically increases the second VRRP priority of the second user plane device, so that the second VRRP priority is higher than the first VRRP priority of the first user plane device, and then the second user plane device switches the VRRP state from the standby state to the primary state; when the first user plane device detects that the uplink of the first user plane device has a fault through BFD, the first user plane device automatically reduces the first VRRP priority so that the first VRRP priority is lower than the second VRRP priority of the second user plane device, then the second user plane device receives the reduced first VRRP priority, and the VRRP state of the second user plane device is switched from the standby state to the main state.
When the uplink of the first user plane equipment fails, the first user plane equipment can detect the uplink failure through BFD and automatically reduce the first VRRP priority, and when the downlink of the first user plane equipment or the first user plane equipment fails, the second user plane equipment can detect the downlink failure of the first user plane equipment or the first user plane equipment through BFD and automatically improve the second VRRP priority, so that the first VRRP priority is finally lower than the second VRRP priority, the VRRP state of the second user plane equipment is switched from the standby state to the main state, and the first user plane equipment is replaced to continuously provide services.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, the fourth possible implementation manner of the first aspect, or the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, when the first user plane device cannot provide a service, the second user plane device queries whether user information corresponding to a keep-alive message is stored when receiving the keep-alive message sent by the user device, and if the user information is stored, the second user plane device sends a confirmation message to the user device sending the keep-alive message according to the user information; if not, the second user equipment sends the keep-alive message to the control surface equipment, and the control surface equipment sends a confirmation message to the user equipment according to the user information. After the user equipment is on line, the control plane equipment stores all user information of the user equipment, and the user plane equipment providing services stores user information of the user equipment related to user traffic forwarding.
When receiving the keep-alive message sent by the user equipment, the second user plane equipment firstly inquires whether the user information corresponding to the keep-alive message is stored in the second user plane equipment, and when the second user plane equipment cannot inquire the corresponding user information, the second user plane equipment reports the keep-alive message to the control plane equipment for response, so that the user equipment can still receive the confirmation message before the second user plane equipment receives the user information, and the user equipment cannot be disconnected.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, the fourth possible implementation manner of the first aspect, the fifth possible implementation manner of the first aspect, or the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner, when the uplink failure of the first user plane device is recovered, the first user plane device sends, to the control plane device, first state change information that informs the control plane device that the first user plane device is recovered to be normal after detecting that the uplink failure is recovered by BFD, so that a service can be provided. The control surface equipment sends user information corresponding to the second user plane equipment to the first user plane equipment after receiving the first state change information, and after the user information is sent, the control surface equipment sends a first switching notice to the first user plane equipment for informing the first user plane equipment to improve the first VRRP priority so that the first VRRP priority is higher than the second VRRP priority, and the second user plane equipment switches the VRRP state from the main state to the standby state after receiving the first VRRP priority. When the downlink fault of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment sends second state change information to the control plane equipment after detecting that the downlink fault of the first user plane equipment or the first user plane equipment is recovered through BFD, the control plane equipment informs the control plane equipment that the first user plane equipment is recovered normally, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment after receiving the second state change information, after the user information is sent, the control plane equipment sends a second switching notice to the second user plane equipment, the second switching notice is used for informing the second user plane equipment to reduce the second VRRP priority, the second VRRP priority is lower than the first VRRP priority, and the second user plane equipment switches the VRRP state from the main state to the standby state.
When the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can detect the failure recovery through BFD for the uplink of the first user plane equipment, when the failure of the downlink of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment can detect the failure recovery through BFD, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment by informing the control plane equipment that the failure of the link where the first user plane equipment is located is recovered, and the second user plane equipment is informed to be switched from the main state to the standby state after the user information is sent, so that when the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can be switched back to the main state to continue providing services.
In addition, the control plane equipment firstly sends the user information and then sends the switching notice, so that the problem of user flow loss can not be caused when the first user plane equipment is in the failure recovery switching back to the main state.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, the fourth possible implementation manner of the first aspect, the fifth possible implementation manner of the first aspect, the sixth possible implementation manner of the first aspect, or the seventh possible implementation manner of the first aspect, in an eighth possible implementation manner, the UP delay time is configured in the BFD on the first user plane device and the second user plane device, and a duration of the UP delay time is greater than a duration of issuing user information to the first user plane device by the control plane device. Wherein, UP is a state of BFD, which indicates normal, and correspondingly, when a fault occurs, the state of BFD is DOWN.
By configuring the UP delay time for the BFD, when the link where the first user plane equipment is located is recovered due to a fault, the state of the BFD cannot be immediately switched to be normal, and the problem of user flow loss caused by switching back to the main state to provide service under the condition that user information is not received in the first user plane equipment is solved.
In addition, because the time length of the UP delay time is longer than the time length of the user information issued by the control plane device, the second user plane device can not be switched back to the standby state under the condition that the user information is not completely issued to the first user plane device, and the condition that partial user flow is lost when the first user plane device provides service is avoided.
A second aspect provides a message feedback method, where the message feedback method is applied to a first user plane device, when the first user plane device recovers from failing to provide service to a service providing state, that is, when a link where the first user plane device is located recovers to be normal, the first user plane device obtains user information corresponding to a second user plane device from a control plane device, and when the first user plane device receives a keep-alive message sent by the user device, the first user plane device sends a confirmation message to the user device sending the keep-alive message according to the received user information. The first user plane device and the second user plane device are used for realizing user dial message uploading, receiving of forwarding table items and user flow forwarding, and the control plane device is used for realizing user access protocol processing and user management.
When the first user plane equipment is in a service providing state from service recovery incapable of being provided, the first user plane equipment acquires user information corresponding to the second user plane equipment from the control plane equipment, and feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
In addition, after receiving the user information, the first user plane device can feed back a confirmation message to the user device sending the keep-alive message according to the user information, so that the user device can continue to be on line through the first user plane device when the first user plane device recovers to provide the service.
In a first possible implementation manner of the second aspect, when the first user plane device is upgraded, the first user plane device switches the VRRP state of the first user plane device from the standby state to the main state in two ways. The first mode is that the first user plane equipment receives a priority raising command sent by the control plane equipment, and raises the first VRRP priority of the first user plane equipment according to the priority raising command; the second way is to receive a second VRRP priority sent by the second user plane device, where the second VRRP priority is obtained by the second user plane device decreasing the second VRRP priority of the second user plane device after the second user plane device decreases the priority according to the priority decreasing command sent by the control plane device. After interaction between the first user plane equipment and the second user plane equipment is carried out through the VRRP notification message, it is determined that the first VRRP priority of the first user plane equipment is higher than the second VRRP priority of the second user plane equipment, and then the VRRP state of the first user plane equipment is switched from the standby state to the main state. The first user plane equipment receives the priority increasing command sent by the control plane equipment, or the second user plane equipment receives the priority decreasing command sent by the control plane equipment, and the priority increasing command or the priority decreasing command is executed after the first user plane equipment receives user information sent by the control plane equipment after being upgraded.
After the first user plane equipment is upgraded, the control plane equipment sends a priority increasing command to the first user plane equipment or sends a priority decreasing command to the second user plane equipment after receiving the user information, so that after the first user plane equipment is upgraded, the VRRP state of the first user plane equipment is switched from the standby state to the main state under the condition that the user information is stored in the first user plane equipment, the VRRP state of the second user plane equipment is switched from the main state to the standby state, the first user plane equipment replaces the second user plane equipment to continue providing services, the user information is already in the first user plane equipment during switching, and the condition that the user flow is discarded due to the fact that the user information is not in the first user plane equipment during switching cannot be generated.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, when the first user plane device is upgraded, after the second user plane device acquires, from the control plane device, user information corresponding to the first user plane device, the first user plane device switches the VRRP state of the first user plane device from the main state to the standby state in two ways. The first mode is that the first user plane equipment receives a priority reduction command sent by the control plane equipment, and reduces the first VRRP priority of the first user plane equipment according to the priority reduction command; the second way is to receive a second VRRP priority sent by the second user plane device, where the second VRRP priority is obtained after the second user plane device raises the original second VRRP priority of the second user plane device according to the priority raising command after receiving the priority raising command sent by the control plane device. After the first user plane equipment and the second user plane equipment interact through the VRRP notification message, it is determined that the second VRRP priority of the second user plane equipment is higher than the first VRRP priority of the first user plane equipment, and then the VRRP state of the first user plane equipment is switched from the main state to the standby state.
The second user plane equipment receives the priority increasing command sent by the control plane equipment method after receiving the user information corresponding to the first user plane equipment, or receives the first VRRP priority reduced by the first user plane equipment according to the priority reducing command, then the VRRP state of the first user plane equipment is switched from the main state to the standby state, and the second user plane equipment takes over the first user plane equipment to continue providing service, so that the user information is already in the second user plane equipment during switching, and the condition that the user flow is discarded due to the fact that no user information exists in the second user plane equipment during switching can not occur.
With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a third possible implementation manner, when the uplink failure of the first user plane device is recovered, after the first user plane device detects the recovery of the uplink failure through BFD, the first user plane device sends the first state change information to the control plane device to notify the control plane device that the first user plane device is recovered to be normal, and a service can be provided. The control surface equipment sends user information corresponding to the second user plane equipment to the first user plane equipment after receiving the first state change information, and after the user information is sent, the control surface equipment sends a first switching notice to the first user plane equipment for informing the first user plane equipment to improve the first VRRP priority so that the first VRRP priority is higher than the second VRRP priority, and the first user plane equipment switches the VRRP state from the standby state to the main state. When the downlink failure of the first user plane equipment or the first user plane equipment is recovered, after the second user plane equipment detects that the downlink failure of the first user plane equipment or the first user plane equipment is recovered through BFD, sending second state change information to the control plane device to inform the control plane device that the first user plane device is recovered to normal, after receiving the second state change information, the control plane device sends user information corresponding to the second user plane device to the first user plane device, after the user information is sent, the control plane equipment sends a second switching notice to the second user plane equipment, and the second user plane equipment is used for informing the second user plane equipment to reduce the second VRRP priority so that the second VRRP priority is lower than the first VRRP priority, and the first user plane equipment switches the VRRP state of the first user plane equipment from the standby state back to the main state when receiving the second VRRP priority.
When the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can detect the failure recovery through BFD for the uplink of the first user plane equipment, when the failure of the downlink of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment can detect the failure recovery through BFD, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment by informing the control plane equipment that the failure of the link where the first user plane equipment is located is recovered, and the first user plane equipment is informed to be switched from the standby state to the main state after the user information is sent, so that when the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can be switched back to the main state to continue providing services.
In addition, the control plane equipment firstly sends the user information and then sends the switching notice, so that the problem of user flow loss can not be caused when the first user plane equipment is in the failure recovery switching back to the main state.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner, when the first user plane device detects that an uplink of the first user plane device fails through BFD, the first user plane device automatically lowers the first VRRP priority so that the first VRRP priority is lower than the second VRRP priority of the second user plane device, and then the first user plane device switches the VRRP status of the first user plane device from the primary status to the standby status; when the second user plane equipment detects that the first user plane equipment or the downlink of the first user plane equipment occurs through BFD, the second user plane equipment automatically increases the second VRRP priority of the second user plane equipment, so that the second VRRP priority is higher than the first VRRP priority of the first user plane equipment, and then when the first user plane equipment receives the second VRRP priority, the first user plane equipment switches the VRRP state from the main state to the standby state.
When the uplink of the first user plane equipment fails, the first user plane equipment can detect the uplink failure through BFD and automatically reduce the first VRRP priority, and when the downlink of the first user plane equipment or the first user plane equipment fails, the second user plane equipment can detect the downlink failure of the first user plane equipment or the first user plane equipment through BFD and automatically improve the second VRRP priority, so that the first VRRP priority is lower than the second VRRP priority, the VRRP state of the first user plane equipment is switched from the main state to the standby state, and the second user plane equipment replaces the first user plane equipment to continue to provide services.
With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, a delay UP time is configured in BFD on the first user plane device and the second user plane device, and a duration of the delay UP time is greater than a duration of issuing user information to the first user plane device by the control plane device. Wherein, UP is a state of BFD, which indicates normal, and correspondingly, when a fault occurs, the state of BFD is DOWN.
By configuring the UP delay time for the BFD, when the link where the first user plane equipment is located is recovered due to a fault, the state of the BFD cannot be immediately switched to be normal, and the problem of user flow loss caused by switching back to the main state to provide service under the condition that user information is not received in the first user plane equipment is solved.
In addition, because the duration of the UP delay time is longer than the duration of the user information issued by the control plane device, the first user plane device does not switch back to the main state under the condition that the user information is not all issued to the first user plane device, and the condition that part of user flow is lost when the first user plane device provides service is avoided.
A third aspect provides a message feedback method, where the message feedback method is applied in a control plane device, when a first user plane device cannot provide service due to upgrade or a link failure where the first user plane device is located, the control plane device sends user information corresponding to the first user plane device to a second user plane device, and after receiving the user information, the second user plane device sends a confirmation message to a user device sending a keep-alive message according to the user information when the second user plane information receives the keep-alive message sent by the user device; when the first user plane equipment is upgraded or recovered from a fault, and the service cannot be provided and recovered to a service providing state, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment, and after the first user plane equipment receives the user information, when the first user plane equipment receives a keep-alive message sent by the user equipment, the first user plane equipment sends a confirmation message to the user equipment sending the keep-alive message according to the user information. The state of the second user plane device when the first user plane device provides service is a standby state, the state of the second user plane device when the first user plane device cannot provide service is a main state, the first user plane device and the second user plane device are used for realizing user dial message uploading, receiving of forwarding table items and user flow forwarding, and the control plane device is used for realizing user access protocol processing and user management.
When the first user plane equipment can not provide service, the control plane equipment sends user information corresponding to the first user plane equipment to the second user plane equipment, so that the second user plane equipment feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
When the first user plane equipment is in a service providing state from service recovery incapable of being provided, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment, so that the first user plane equipment feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
In a first possible implementation manner of the third aspect, when a first user plane device is upgraded, a control plane device performs active-standby switching on the first user plane device and a second user plane device through two manners, the first manner is that the control plane device sends a priority reduction command to the first user plane device, the first user plane device reduces a first VRRP priority of the first user plane device after receiving the priority reduction command, and as the first VRRP priority is reduced, the first VRRP priority is lower than a second VRRP priority of the second user plane device, a VRRP state of the first user plane device is switched from a main state to a standby state; the second mode is that the control plane device sends a priority raising command to the second user plane device, the second user plane device raises the second VRRP priority of the second user plane device after receiving the priority raising command, and the VRRP priority of the second user plane device is higher than the first VRRP priority of the first user plane device because the second VRRP priority is raised, and the VRRP state of the second user plane device is switched from the standby state to the main state. The upgrading process comprises a preset time length before upgrading and an upgrading process, wherein the preset time length is at least longer than the time length of the second user plane equipment for receiving the user information issued by the control plane equipment.
Because the first user plane device cannot provide service when upgrading, the control plane device needs to make preparation measures in advance, issue user information corresponding to the first user plane device to the second user plane device, and after the user information is issued, send a priority reduction command to the first user plane device or send a priority improvement command to the second user plane device, so that the first user plane device and the second user plane device perform active-standby switching, and the second user plane device can continue to provide service when upgrading the first user plane device.
The control plane device issues the user information to the second user plane device within the preset time before the first user plane device is upgraded, and the preset time is longer than the time for the control plane device to issue the user information, so that the second user plane device stores the user information and can respond to the message sent by the user device in the process of upgrading the first user plane device, and the user device cannot be disconnected during the active-standby switching.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner, when the first user plane device is upgraded, the control plane device performs active-standby switching on the first user plane device and the second user plane device again through two manners, where the first manner is that the control plane device sends a priority raising command to the first user plane device, and the first user plane device raises the first VRRP priority of the first user plane device after receiving the priority raising command, and because the first VRRP priority is raised, the first VRRP priority is higher than the second VRRP priority of the second user plane device, the VRRP state of the first user plane device is switched from the standby state to the main state; the second mode is that the control plane device sends a priority reduction command to the second user plane device, the second user plane device reduces the second VRRP priority of the second user plane device after receiving the priority reduction command, and as the second VRRP priority is reduced, the second VRRP priority is lower than the first VRRP priority of the first user plane device, the VRRP state of the second user plane device is switched from the main state to the standby state.
The first user plane equipment can provide services after the upgrade is finished, so the control plane equipment can issue the user information of the second user plane equipment to the first user plane equipment, and after the user information is issued, a priority level increasing command is sent to the first user plane equipment or a priority level reducing command is sent to the second user plane equipment, so that the first user plane equipment and the second user plane equipment are subjected to active-standby switching, and the first user plane equipment can continue to provide services after the upgrade is finished.
With reference to the third aspect, the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner, when an uplink failure of the first user plane device occurs, the first user plane device detects the uplink failure through BFD, and will lower the first VRRP priority by itself, when a downlink failure of the first user plane device or the first user plane device occurs, the second user plane device detects the downlink failure of the first user plane device or the first user plane device through BFD, and will raise the second VRRP priority by itself, and when it is determined that the first VRRP priority is lower than the second VRRP priority through a VRRP notification message between the first user plane device and the second user plane device, the second user plane device sends a VRRP status switching notification to the control plane device, and after the control plane device receives the VRRP status switching notification, user information corresponding to the first user plane device is sent to the second user plane device.
When the link where the first user plane device is located fails, the first user plane device and the second user plane device can perform active-standby switching by themselves, then the second user plane device informs the control plane device of the condition of VRRP state switching, and the control plane device issues user information corresponding to the first user plane device to the second user plane device, so that the second user plane device can take over the first user plane device to continue providing services when the link where the first user plane device is located fails.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner, when the first user plane device cannot provide a service, and when the second user plane device receives a keep-alive message sent by the user device, and when it is queried that user information corresponding to the keep-alive message does not exist in the second user device, the second user plane device reports the keep-alive message to the control plane device for processing, and the control plane device receives the keep-alive message of the user device sent by the second user plane device, and feeds back a confirmation message to the user device according to the user information.
When the second user plane equipment inquires that the user information corresponding to the keep-alive message is not stored in the second user plane equipment, the control plane equipment receives the keep-alive message reported by the second user plane equipment and responds, so that the user equipment can still receive the confirmation message before the second user plane equipment receives the user information, and the user equipment cannot be disconnected.
With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, or the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner, when the uplink failure of the first user plane device is recovered, after the first user plane device detects the recovery of the uplink failure through BFD, the first user plane device sends first state change information to the control plane device to notify the control plane device that the first user plane device is recovered to be normal, and a service can be provided. The control surface equipment sends user information corresponding to the second user plane equipment to the first user plane equipment after receiving the first state change information, and sends a first switching notice to the first user plane equipment after the user information is sent, wherein the first switching notice is used for informing the first user plane equipment to improve the first VRRP priority, so that the first VRRP priority is higher than the second VRRP priority. When the downlink fault of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment sends second state change information to the control plane equipment after detecting that the downlink fault of the first user plane equipment or the first user plane equipment is recovered through BFD, the control plane equipment informs the control plane equipment that the first user plane equipment is recovered normally, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment after receiving the second state change information, and after the user information is sent, the control plane equipment sends a second switching notice to the second user plane equipment for informing the second user plane equipment to reduce the second VRRP priority so that the second VRRP priority is lower than the first VRRP priority.
When the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can detect the failure recovery through BFD for the uplink of the first user plane equipment, when the failure of the downlink of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment can detect the failure recovery through BFD, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment by informing the control plane equipment that the failure of the link where the first user plane equipment is located is recovered, and the second user plane equipment is informed to be switched from the main state to the standby state after the user information is sent, so that when the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can be switched back to the main state to continue providing services.
In addition, the control plane equipment firstly sends the user information and then sends the switching notice, so that the problem of user flow loss can not be caused when the first user plane equipment is in the failure recovery switching back to the main state.
In a fourth aspect, a message feedback device is provided, where the message feedback device is applied in a second user plane device, and includes at least one unit, and each unit of the message feedback device is respectively configured to implement a corresponding step in the message feedback method of the first aspect.
In a fifth aspect, a message feedback device is provided, where the message feedback device is applied in a first user plane device, and includes at least one unit, and each unit of the message feedback device is respectively configured to implement a corresponding step in the message feedback method according to the second aspect.
A sixth aspect provides a message feedback device, where the message feedback device is applied in a control plane device, and includes at least one unit, and each unit of the message feedback device is respectively configured to implement a corresponding step in the message feedback method according to the third aspect.
In a seventh aspect, a computer-readable medium is provided, which stores instructions for implementing the message feedback method provided in the first, second, and third aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a broadband access network provided by an embodiment of the present invention;
FIG. 2A is a schematic illustration of an implementation environment provided by one embodiment of the invention;
FIG. 2B is a schematic diagram of a VRRP provided by one embodiment of the invention;
FIG. 2C is a schematic diagram of BFD provided by one embodiment of the present invention;
fig. 3 is a flowchart of a method for feeding back a message according to an embodiment of the present invention;
fig. 4A is a flowchart of a method for feeding back a message according to another embodiment of the present invention;
fig. 4B is a flowchart of a method for feeding back a message according to still another embodiment of the present invention;
fig. 4C is a flowchart of a method for feeding back a message according to yet another embodiment of the present invention;
fig. 4D is a flowchart of a method for feeding back a message according to still another embodiment of the present invention;
fig. 5A is a flowchart of a method for feeding back a message according to yet another embodiment of the present invention;
fig. 5B is a flowchart of a method for feeding back a message according to still another embodiment of the present invention;
fig. 5C is a flowchart of a method for feeding back a message according to yet another embodiment of the present invention;
fig. 5D is a flowchart of a method for feeding back a message according to still another embodiment of the present invention;
fig. 6 is a block diagram of a structure of a message feedback apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a structure of a message feedback apparatus according to another embodiment of the present invention;
fig. 8 is a block diagram illustrating a structure of a message feedback apparatus according to still another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
To facilitate understanding of the embodiments of the present invention, an implementation environment related to the embodiments of the present invention will be described with reference to fig. 2A.
FIG. 2A is a schematic diagram of an implementation environment provided by one embodiment of the invention. The implementation environment is a hierarchical network structure, as shown in fig. 2A, the internet 150 from the user equipment 140 to the backbone layer goes through the access layer 230, the convergence layer 240 and the core layer 250.
The access stratum 230 is the point at which the user device 140 is permitted access to the internet 150 and is located at the edge of the internet 150. The convergence layer 240 is a demarcation point between the access layer 230 and the core layer 250, and generally, the processing of data is performed at the convergence layer 240. The devices of convergence layer 240 are all connected to core layer 250, and core layer 250 provides a high speed connection for the devices of convergence layer 240.
Optionally, the implementation environment relates to a TIC (telecommunications Infrastructure Cloud) network architecture, and adopts an architecture in which a control plane and a user plane are separated. The TIC network architecture includes a TICCore (telecommunications Infrastructure Cloud Core) 210 and a TICEdge (telecommunications Infrastructure Cloud Edge) 220. BRAS CP 211(Control Plane) is deployed in TICCore 210, and BRAS UP 221(User Plane) is deployed in TIC Edge 220.
In the BRAS in the prior art, user dial message uploading, forwarding table entry receiving, user traffic forwarding, user access protocol processing and user management are realized by the same device, a TIC network architecture uses a control forwarding separation scenario, BRAS CP 211 is mainly used for realizing user access protocol processing and user management, and BRAS UP 221 is mainly used for realizing user dial message uploading, forwarding table entry receiving and user traffic forwarding. Optionally, a RADIUS (Remote Authentication Dial In User Service) server 212 and a DHCP (Dynamic Host Configuration Protocol) server 213 are further connected to the TIC Core 210, where the RADIUS server 212 is configured to authenticate and charge a Dial-up User, and the DHCP server 213 is configured to automatically allocate an IP address to a network Service.
Combining the TIC network architecture with the hierarchical network structure, it appears that TIC Core 210 corresponds to Core layer 250, and TIC edge 220 corresponds to convergence layer 240, then BRAS CP 211 is deployed in Core layer 250 after BRAS CP 211 is separated from BRAS UP 221, BRAS CP 211 includes at least one control plane device 214, and BRAS UP 221 is deployed in convergence layer 240.
An access layer switch 231 is configured in the access layer 230, and the access layer switch 231 is generally used for connecting the user equipment 140. optionally, an O L T (Optical line terminal) 232 may be further configured in the access layer 230, and an O L T232 is used for connecting the terminal equipment of the Optical fiber trunk, and corresponding to the O L T232, the user equipment 140 needs to be configured with an ONT (Optical network terminal) 233, and the ONT 233 is connected with the O L T232.
A convergence layer switch 241 is disposed in the convergence layer 240, and the convergence layer switch 241 is a convergence point of the plurality of access layer switches 231.
In the convergence layer 240, a convergence layer switch 241 is connected to the first user plane device 222 and the second user plane device 223, respectively.
There is an upstream network device 251 in the core layer 250, the first user plane device 222 and the second user plane device 223 in the convergence layer 240 are both connected to the upstream network device 251, the upstream network device 251 is a transmission device in the core layer 250, and the upstream network device 251 is finally connected to the internet 150 in the backbone layer.
In order to ensure the stability of transmission, each BRAS UP 221 generally includes a first user plane device 222 and a second user plane device 223, and when the first user plane device 222 cannot provide service, the second user plane device 223 takes over the first user plane device 222 to provide service. Optionally, the first user plane device 222 and the second user plane device 223 are routers.
For the first user plane device 222 and the second user plane device 223, physical device and logical device separation needs to be implemented. The concrete implementation is as follows: the first user plane device 222 and the second user plane device 223 are virtualized as one virtual user plane device by configuring VRRP, and the user device 140 perceives the virtual user plane device and does not perceive the first user plane device 222 and the second user plane device 223. Referring collectively to FIG. 2B, a schematic diagram of VRRP is shown. Physically, the user equipment 140 is connected to the access switch 232, the access switch 232 is connected to the first user plane device 222 and the second user plane device 223, respectively, and the first user plane device 222 and the second user plane device 223 are connected to the internet 150. After the first user plane device 222 and the second user plane device 223 configure VRRP, the first user plane device 222 and the second user plane device 223 are virtualized as a virtual user plane device 224. Logically, the user equipment 140 is connected to the access switch 232, the access switch 232 is connected to the virtual user plane device 224, and the virtual user plane device 224 is connected to the internet 150. For example, the IP address of the first user plane device 222 is 10.1.1.2/24, the IP address of the second user plane device 223 is 10.1.1.1/24, the IP address of the virtual user plane device 224 is 10.1.1.10, the IP address of the user device 140 is 10.1.1.3/24, and the IP address of the gateway pointed to by the user device 140 is 10.1.1.10, then the user device 140 can only perceive the virtual user plane device 224, but cannot perceive the first user plane device 222 and the second user plane device 223.
The first user plane device 222 and the second user plane device 223 configured with VRRP will be configured with respective VRRP priorities. Optionally, the value range of the VRRP priority is 0 to 255, the default is 100, the VRRP state of the higher VRRP priority device of the first user plane device 222 and the second user plane device 223 is the main state, the VRRP state of the lower VRRP priority device is the standby state, and when the VRRP priorities of the first user plane device 222 and the second user plane device 223 are changed, the corresponding VRRP states are also switched.
Assuming that the VRRP state of the first user plane device 222 is a master state, the VRRP state of the second user plane device 223 is a standby state, the first user plane device 222 with the VRRP state being the master state periodically sends a VRRP notification message to the second user plane device 223, the VRRP notification message contains a first VRRP priority of the first user plane device 222, the second user plane device 223 replies a second VRRP priority to the first user plane device 222 after receiving the VRRP notification message, and when the first user plane device 222 learns that the second VRRP priority is lower than the first VRRP priority, the first user plane device 222 maintains its own VRRP state as the master state; when the first VRRP priority sent by the first user plane device 222 is lower than the second VRRP priority of the second user plane device 223, the second user plane device 223 preemptively becomes the main state when receiving the VRRP notification message sent by the first user plane device 222, and replies the second VRRP priority to the first user plane device 222, and when knowing that the second VRRP priority is higher than the first VRRP priority, the first user plane device 222 switches the VRRP state from the main state to the standby state. The period of sending the VRRP notification message is usually 1 second, and if the second user plane device 223 does not receive the VRRP notification message sent by the first user plane device 222 within the time period (3 seconds) of three VRRP notification messages, the second user plane device 223 determines that the first user plane device 222 fails, and automatically switches the VRRP state of the second user plane device 223 from the standby state to the master state.
At initialization, the VRRP priorities of the first user plane device 222 and the second user plane device 223 are manually configured, such as the first VRRP priority of the first user plane device 222 is configured to be 200 and the second VRRP priority of the second user plane device 223 is configured to be 100. In practice, when the first user plane device 222 is unable to provide service, decreasing the first VRRP priority represents decreasing the first VRRP priority to less than the second VRRP priority, such as to 50, and increasing the second VRRP priority represents increasing the second VRRP priority to greater than the first VRRP priority, such as to 220.
In order to enable the failure of the first user plane device 222 to be discovered as soon as possible, failure detection is performed on the first user plane device 222 and the second user plane device 223 using BFD techniques. With combined reference to fig. 2C, a schematic diagram of BFD is shown. The user equipment 140 is connected to the access switch 232, the access switch 232 is connected to the first user plane equipment 222 and the second user plane equipment 223 respectively, the first user plane equipment 222 is connected to the first uplink network equipment 252, the second user plane equipment 223 is connected to the second uplink network equipment 253, and both the first uplink network equipment 252 and the second uplink network equipment 253 are connected to the internet 150. When the BFD is configured, the BFD on the first user plane device 222 is bound to an interface of an uplink, that is, the BFD on the first user plane device 222 is bound to an access interface of the first uplink network device 252, and is used to detect a state of the uplink of the first user plane device 222, where the uplink refers to a link between the first user plane device 222 and the uplink network device 252; the BFD on the second user plane device 223 is bound to the IP address of the first user plane device 222, and since the access switch 232 is connected between the first user plane device 222 and the second user plane device 223, the BFD of the second user plane device 223 is bound to the IP address of the first user plane device 222, and is used for detecting the state of the downlink of the first user plane device 222 or the first user plane device 222, where the downlink refers to a link between the first user plane device 222 and the access switch 232. After the BFD is configured, the BFD detection message is sent to the bound opposite terminal periodically, the opposite terminal replies after receiving the detection message, if the BFD detects that the detection message sent to the opposite terminal does not respond, the state of the BFD is changed into DOWN to indicate a fault, and if the BFD detects that the detection message sent to the opposite terminal responds, the state of the BFD is changed into UP to indicate normal. For example, the first user plane device 222 sends a detection message to the access interface of the uplink network device 252, and if no response is received, it indicates that the uplink fails, and the state of BFD changes to DOWN, and sends a notification to the VRRP in the first user plane device 222; the BFD of the second user plane device 223 sends a detection message to the first user plane device 222 through the access switch 232, and if no response is received, it indicates that the first user plane device 222 has a fault or that the downlink of the first user plane device 222 has a fault, and the state of the BFD changes to DOWN, and sends a notification to the VRRP of the second user plane device 223.
The period of sending the detection message by the BFD is about 50 milliseconds, and when the BFD waits for three periods (150 milliseconds) and does not receive a response, the BFD considers that a fault occurs and sends a notice to the VRRP. Since the BFD takes a short time to detect a failure, it is possible to quickly find the failure and notify the VRRP of the failure handling. The user equipment 140 will not perceive the failure as a result of the shortened time for failure handling.
In addition, the BFD needs to configure Delay-UP seconds (Delay-UP seconds) for reserving a certain time for the control plane device 214 to issue the user information when the failure is recovered, so the duration of the Delay-UP time is longer than the duration of the control plane device 214 to issue the user information to the user plane device. The down-sending of user information usually takes tens of seconds, so the BFD delay UP time can be set to 20 seconds. When the user information is sent down, the BFD switches the state to UP, so that the first user plane device 222 can immediately process the user traffic (or user data packet) when the user traffic is switched, thereby avoiding the loss of the user traffic.
Fig. 3 is a flowchart of a method for feeding back a message according to an embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, and as shown in fig. 3, the message feedback method includes:
301, when the first user plane device cannot provide the service, the control plane device sends user information corresponding to the first user plane device to the second user plane device.
The first user plane equipment cannot provide service when upgrading, self failure, uplink failure or downlink failure.
Because the first user plane equipment can not provide service, in order to enable the user equipment to be accessed normally, the BRAS UP replaces the main user plane equipment with the second user plane equipment from the first user plane equipment.
Optionally, the user information at least includes a unique Identifier (ID) of the user equipment, AN access interface of the user equipment, a Virtual L local Area Network (V L AN) on the interface equipment, a MAC address of the user equipment, and AN IP address of the user equipment, where the interface equipment refers to the access switch and the access interface refers to AN interface on the access switch.
In practical application, after the user equipment accesses the internet through the first user plane device, the control plane device stores all user information of the user equipment, the first user plane device stores user information related to user traffic forwarding, and the second user plane device does not store the user information related to the user equipment in an initial state. Therefore, when the first user plane device cannot provide a service and the user traffic needs to be switched to the second user plane device for forwarding, the control plane device needs to send the user information to the second user plane device first, and the second user plane device can forward the user traffic after receiving the user information.
In practical applications, the control plane device may be connected to a plurality of groups of user plane devices, where a group of user plane devices includes a first user plane device and a second user plane device. Since there are many user plane devices connected to the control plane device, when the control plane device issues user information to the second user plane device, it needs to issue user information corresponding to the first user plane device. The user information corresponding to the first user plane device refers to user information used by the first user plane device to implement user traffic forwarding.
302, the second user plane device obtains user information corresponding to the first user plane device from the control plane device.
The control surface equipment transmits the user information corresponding to the first user surface equipment to the second user surface equipment, and the second user surface equipment stores the received user information.
303, the second user plane device receives the keep-alive message sent by the user equipment.
The keep-alive message is used for requesting the user equipment to be in an online state.
Optionally, the keep-alive message includes: ID of the user equipment, keep-alive information, etc.
And after the user equipment is online, setting a keep-alive timer, if the time length without data interaction reaches the timing time length of the keep-alive timer, sending a keep-alive message by the user equipment, resetting the keep-alive timer when the user equipment receives a confirmation message for feeding back the keep-alive message, and if the user equipment does not receive the confirmation message, disconnecting the user equipment.
And 304, the second user plane equipment feeds back a confirmation message to the user equipment according to the user information.
When receiving the keep-alive message sent by the user equipment, the second user plane equipment needs to search user information corresponding to the user equipment to determine whether the user equipment is online, and if the user equipment is online, the second user plane equipment feeds back a confirmation message to the user equipment.
Since the second user plane device acquires the user information from the control plane device, the confirmation message can be fed back to the user device by inquiring the user information.
305, the control plane device sends user information corresponding to the second user plane device to the first user plane device when the first user plane device is recovered from the service unavailable state to the service providing state.
Optionally, when the first user plane device is upgraded or the link failure is recovered, the first user plane device recovers to the service providing state.
In a possible case, since the first user plane device forwards the user traffic through the second user plane device during the period when the first user plane device cannot provide the service, the user information during the period is not stored on the first user plane device, and therefore when the first user plane device resumes providing the service, the control plane device needs to send the user information corresponding to the second user plane device to the first user plane device.
In another possible scenario, the first user plane device loses data due to upgrade or failure, and when the first user plane device recovers to the service providing state, the control plane device needs to issue the user information to the first user plane device.
And 306, the first user plane device acquires the user information corresponding to the second user plane device from the control plane device.
307, the first user plane device receives the keep-alive message sent by the user device.
308, the first user plane device feeds back a confirmation message to the user device according to the user information.
The control plane device issues the user information to the first user plane device, so that the first user plane device can feed back the confirmation message according to the user information.
In summary, in the message feedback method provided in the embodiment of the present invention, when the first user plane device cannot provide a service, the second user plane device obtains the user information corresponding to the first user plane device from the control plane device, and feeds back a confirmation message to the user device sending the keep-alive message according to the user information, because the second user plane device does not need to backup the user information of the first user plane device in real time, that is, the user plane device in the standby state does not need to backup the user information of the user plane device in the main state in real time, the problem that too much user plane device resources in the standby state are occupied is not generated.
In addition, after receiving the user information, the second user plane device can feed back a confirmation message to the user device sending the keep-alive message according to the user information, so that the user device can continue to be on line through the second user plane device when the first user plane device cannot provide the service.
When the first user plane equipment is in a service providing state from service recovery incapable of being provided, the first user plane equipment acquires user information corresponding to the second user plane equipment from the control plane equipment, and feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
In addition, after receiving the user information, the first user plane device can feed back a confirmation message to the user device sending the keep-alive message according to the user information, so that the user device can continue to be on line through the first user plane device when the first user plane device recovers to provide the service.
When the first user plane equipment can not provide service, the control plane equipment sends user information corresponding to the first user plane equipment to the second user plane equipment, so that the second user plane equipment feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
When the first user plane equipment is in a service providing state from service recovery incapable of being provided, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment, so that the first user plane equipment feeds back a confirmation message to the user equipment sending the keep-alive message according to the user information.
When the first user plane device cannot provide a service due to upgrade, please refer to the steps shown in fig. 4A or fig. 4B for the handover between the first user plane device and the second user plane device and the feedback of the keep-alive message.
When the first user plane device is upgraded and the service providing state is recovered, please refer to the steps shown in fig. 4C or fig. 4D for the switching between the first user plane device and the second user plane device and the feedback of the keep-alive message.
When the uplink of the first user plane device fails, please refer to the step shown in fig. 5A for the switching between the first user plane device and the second user plane device and the feedback of the keep-alive message; when the uplink failure of the first user plane device is recovered, please refer to the steps shown in fig. 5B for the handover between the first user plane device and the second user plane device and the feedback of the keep-alive message.
When the downlink of the first user plane device or the first user plane device fails, please refer to the step shown in fig. 5C for the switching between the first user plane device and the second user plane device and the feedback of the keep-alive message; when the downlink of the first user plane device or the failure of the first user plane device is recovered, please refer to the step shown in fig. 5D for the switching between the first user plane device and the second user plane device and the feedback of the keep-alive message.
Fig. 4A is a flowchart of a method for feeding back a message according to another embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, in this embodiment, the first user plane device cannot provide a service due to upgrade, as shown in fig. 4A, the message feedback method includes:
401, when the first user plane device is upgraded, the control plane device sends user information corresponding to the first user plane device to the second user plane device.
In actual implementation, the upgrading includes a predetermined time before upgrading and an upgrading process, and the predetermined time is at least longer than a time required for the control plane device to issue the user information to the second user plane device.
Due to the fact that the first user plane equipment cannot provide services due to upgrading of the first user plane equipment is foreseeable, switching between the first user plane equipment and the second user plane equipment is accurately conducted in advance, and the control plane equipment issues user information to the first user plane equipment in advance, so that after switching, loss of user flow due to the fact that the user information is not issued is avoided.
In practical applications, the time required for the control plane device to issue the user information is about ten seconds, and the predetermined time may be set to 20 seconds.
402, the second user plane device receives user information corresponding to the first user plane device, which is sent by the control plane device.
403a, the control plane device sends a priority down command to the first user plane device.
The control equipment firstly sends the user information and then sends the priority reduction instruction, so that when the user flow is switched to the second user plane equipment, the second user plane equipment stores the user information, the user flow can be forwarded, and the loss of the user flow is avoided.
In practical applications, the first user plane device and the second user plane device manually set the VRRP priority at the time of configuration, such as: the VRRP priority of the first user plane device is 200 and the VRRP priority of the second user plane device is 100. The VRRP state of the user plane equipment with high VRRP priority is the main state, and the VRRP state of the user plane equipment with low VRRP priority is the standby state.
The priority reduction command is used to instruct the first user plane device to reduce its VRRP priority to a lower level than the VRRP priority of the second user plane device, such as: the VRRP priority of the first user plane device is reduced to 80.
404a, the first user plane device receives a priority down command sent by the control plane device.
405a, the first user plane device lowers the first VRRP priority of the first user plane device according to the priority lowering command.
In practical application, the reduced first VRRP priority of the first user plane device is lower than the second VRRP priority of the second user plane device.
406a, the first user plane device sends the first VRRP priority to the second user plane device.
Because the VRRP priority initially configured by the first user plane equipment is higher than that of the second user plane equipment, the VRRP state of the first user plane equipment is a main state and has the capability of sending a VRRP notification message. The VRRP notification message periodically sent by the first user plane equipment comprises the priority of the first VRRP.
407a, the second user plane device receives the first VRRP priority sent by the first user plane device.
408a, the second user plane device switches the VRRP state of the second user plane device from the standby state to the master state when the first VRRP priority is lower than the second VRRP priority of the second user plane device.
Since the first VRRP priority is lowered, when the second VRRP priority is higher than the first VRRP priority, the VRRP state of the second user plane device is switched to the master state.
409a, the second user plane device sends the second VRRP priority to the first user plane device.
And after receiving the VRRP notification message sent by the first user plane equipment, the second user plane equipment replies a second VRRP priority to the first user plane equipment.
410a, the first user plane equipment receives the second VRRP priority sent by the second user plane equipment.
411a, when the first VRRP priority is lower than the second VRRP priority, the first user plane device switches the VRRP state of the first user plane device from the main state to the standby state.
After receiving a second VRRP priority returned by a second user plane device, a first user plane device which originally has the main VRRP state determines that the first VRRP priority is lower than the second VRRP priority, so that the VRRP state is switched from the main state to the standby state.
Alternatively, steps 403a to 411a may be replaced with steps 403B to 411B shown in fig. 4B.
403b, the control plane device sends a priority raising command to the second user plane device.
The priority raising command is used to instruct the VRRP priority of the second user plane device to be raised higher than the VRRP priority of the first user plane device, such as: the VRRP priority of the second user plane device is increased to 220.
404b, the second user plane device receives the priority raising command sent by the control plane device.
405b, the second user plane equipment raises the second VRRP priority of the second user plane equipment according to the priority raising command.
The second VRRP priority of the second user plane device is increased the same as the first VRRP priority of the first user plane device is decreased, all to make the first VRRP priority less than the second VRRP priority.
406b, the first user plane device sends the first VRRP priority of the first user plane device to the second user plane device.
407b, the second user plane device receives the first VRRP priority sent by the first user plane device.
408b, the second user plane device switches the VRRP state of the second user plane device from the standby state to the master state when the first VRRP priority is lower than the second VRRP priority of the second user plane device.
And when the second VRRP priority is higher than the first VRRP priority, the VRRP state of the second user plane equipment is switched to the master state.
409b, the second user plane equipment sends the second VRRP priority to the first user plane equipment.
And 410b, the first user plane equipment receives the second VRRP priority sent by the second user plane equipment.
411b, the first user plane device switches the VRRP state of the first user plane device from the main state to the standby state when the first VRRP priority is lower than the second VRRP priority.
And 412, the second user plane device receives the keep-alive message sent by the user device.
413, the second user plane device feeds back a confirmation message to the user device according to the user information.
After receiving the user information sent by the control plane device, the second user plane device can respond to the keep-alive message according to the user information and feed back the confirmation message.
Fig. 4C is a flowchart of a method for feeding back a message according to still another embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, in this embodiment, the first user plane device resumes the service providing state after the upgrade is completed, as shown in fig. 4C, the message feedback method includes:
and 414, the control plane device sends the user information corresponding to the second user plane device to the first user plane device when the first user plane device is upgraded.
After the first user plane equipment is upgraded, the first user plane equipment can continue to provide services.
Since the user traffic is forwarded through the second user plane device during the upgrade of the first user plane device, corresponding user information may not be stored in the first user plane device, or user information data of the first user plane device is completely lost due to the upgrade, and therefore the control plane device needs to send the user information corresponding to the second user plane device to the first user plane device.
415, the first user plane device receives the user information sent by the control plane device.
416a, the control plane device sends a priority up command to the first user plane device.
The control plane equipment firstly issues the user information and then issues the priority raising command to indicate the VRRP state to switch, so that when the user flow is switched back to the first user plane equipment, the user flow cannot be lost due to the fact that the user information is not issued.
In actual implementation, the user plane device with the VRRP state as the main state usually implements a real forwarding function, so when the first user plane device recovers to provide a service state, the VRRP state of the first user plane device needs to be switched to the main state first, and switching the VRRP state of the first user plane device to the main state requires that the first VRRP priority is greater than the second VRRP priority, so the control plane device sends a priority raising command to the first user plane device to raise the first VRRP priority.
417a, the first user plane device receives the priority raising command sent by the control plane device.
418a, the first user plane equipment raises the first VRRP priority of the first user plane equipment according to the priority raising command.
419a, the second user plane device sends the second VRRP priority to the first user plane device.
During the upgrade of the first user plane device, the VRRP status of the second user plane device is the master status, so the second user plane device sends a VRRP notification message to the first user plane device, where the VRRP notification message carries the second VRRP priority.
420a, the first user plane equipment receives the second VRRP priority sent by the second user plane equipment.
421a, when the first VRRP priority is higher than the second VRRP priority of the second user plane device, the first user plane device switches the VRRP priority of the first user plane device from the standby state to the master state.
422a, the first user plane equipment sends the first VRRP priority to the second user plane equipment.
423a, the second user plane equipment receives the first VRRP priority sent by the first user plane equipment.
424a, the second user plane device switches the VRRP state of the second user plane device from the master state to the standby state when the first VRRP priority is higher than the second VRRP priority.
Alternatively, steps 416a through 424a may be replaced with steps 416b through 424b shown in fig. 4D.
416b, the control plane device sends a priority down command to the second user plane device.
The purpose of lowering the second VRRP priority of the second user plane device is the same as the purpose of raising the first VRRP priority of the first user plane device, and the second VRRP priority is lower than the first VRRP priority, so that the VRRP state of the first user plane device is switched to the master state.
417b, the second user plane device receives the priority down command sent by the control plane device.
418b, the second user plane device lowers the second VRRP priority in accordance with the priority lowering command.
419b, the second user plane device sends the second VRRP priority to the first user plane device.
420b, the first user plane equipment receives the second VRRP priority sent by the second user plane equipment.
421b, when the second VRRP priority is lower than the first VRRP priority, the first user plane device switches the VRRP state of the first user plane device from the standby state to the main state.
422b, the first user plane equipment sends the first VRRP priority to the second user plane equipment.
423b, the second user plane equipment receives the first VRRP priority sent by the first user plane equipment.
424b, the second user plane device switches the VRRP state of the second user plane device from the master state to the standby state when the second VRRP priority is lower than the first VRRP priority.
425, the first user plane device receives the keep-alive message sent by the user device.
After the VRRP state is switched to the main state, the first user plane equipment provides a service for forwarding user traffic, so that the first user plane equipment can receive a keep-alive message sent by the user equipment.
426, the first user plane device feeds back a confirmation message to the user device according to the user information.
Because the first user plane device receives the user information sent by the control plane device, the first user plane device can feed back a confirmation message to the user device according to the user information.
In summary, in the packet feedback method provided in the embodiment of the present invention, since the first user plane device cannot provide a service during the upgrade, when the first user plane device is upgraded, the second user plane device receives the user information corresponding to the first user plane device and sent by the control plane device, so that the forwarding operation of the user traffic can be performed by the first user plane device instead of the first user plane device during the upgrade process of the first user plane device. The second user plane equipment receives the user information sent by the control plane equipment within the preset time before the first user plane equipment is upgraded, and the preset time is longer than the time for the control plane equipment to send the user information, so that the second user plane equipment stores the user information and can respond to the message sent by the user equipment in the upgrading process of the first user plane equipment, and the user equipment cannot be disconnected during the active-standby switching.
The second user plane equipment receives the priority increasing command sent by the control plane equipment method after receiving the user information corresponding to the first user plane equipment, or receives the first VRRP priority reduced by the first user plane equipment according to the priority reducing command, then the VRRP state of the second user plane equipment is switched from the standby state to the main state, and the second user plane equipment takes over the first user plane equipment to continue providing service, so that the user information is already in the second user plane equipment during switching, and the condition that the user flow is discarded due to the fact that no user information exists in the second user plane equipment during switching can not occur.
After the first user plane equipment is upgraded, the control plane equipment sends a priority increasing command to the first user plane equipment or sends a priority decreasing command to the second user plane equipment after receiving the user information, so that after the first user plane equipment is upgraded, the VRRP state of the second user plane equipment is switched from the main state to the standby state under the condition that the user information is stored in the first user plane equipment, the VRRP state of the first user plane equipment is switched from the standby state to the main state, the first user plane equipment replaces the second user plane equipment to continue providing service, the user information is already in the first user plane equipment during switching, and the condition that the user flow is discarded due to the fact that the user information is not in the first user plane equipment during switching cannot be generated.
After the first user plane equipment is upgraded, the control plane equipment sends a priority increasing command to the first user plane equipment or sends a priority decreasing command to the second user plane equipment after receiving the user information, so that after the first user plane equipment is upgraded, the VRRP state of the first user plane equipment is switched from the standby state to the main state under the condition that the user information is stored in the first user plane equipment, the VRRP state of the second user plane equipment is switched from the main state to the standby state, the first user plane equipment replaces the second user plane equipment to continue providing services, the user information is already in the first user plane equipment during switching, and the condition that the user flow is discarded due to the fact that the user information is not in the first user plane equipment during switching cannot be generated.
The second user plane equipment receives the priority increasing command sent by the control plane equipment method after receiving the user information corresponding to the first user plane equipment, or receives the first VRRP priority reduced by the first user plane equipment according to the priority reducing command, then the VRRP state of the first user plane equipment is switched from the main state to the standby state, and the second user plane equipment takes over the first user plane equipment to continue providing service, so that the user information is already in the second user plane equipment during switching, and the condition that the user flow is discarded due to the fact that no user information exists in the second user plane equipment during switching can not occur.
Because the first user plane device cannot provide service when upgrading, the control plane device needs to make preparation measures in advance, issue user information corresponding to the first user plane device to the second user plane device, and after the user information is issued, send a priority reduction command to the first user plane device or send a priority improvement command to the second user plane device, so that the first user plane device and the second user plane device perform active-standby switching, and the second user plane device can continue to provide service when upgrading the first user plane device.
The control plane device issues the user information to the second user plane device within the preset time before the first user plane device is upgraded, and the preset time is longer than the time for the control plane device to issue the user information, so that the second user plane device stores the user information and can respond to the message sent by the user device in the process of upgrading the first user plane device, and the user device cannot be disconnected during the active-standby switching.
The first user plane equipment can provide services after the upgrade is finished, so the control plane equipment can issue the user information of the second user plane equipment to the first user plane equipment, and after the user information is issued, a priority level increasing command is sent to the first user plane equipment or a priority level reducing command is sent to the second user plane equipment, so that the first user plane equipment and the second user plane equipment are subjected to active-standby switching, and the first user plane equipment can continue to provide services after the upgrade is finished.
Fig. 5A is a flowchart of a method for feeding back a message according to still another embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, in this embodiment, the first user plane device cannot provide a service due to an uplink failure, as shown in fig. 5A, the message feedback method includes:
501, after the first user plane device detects the uplink failure through BFD, the first user plane device lowers the first VRRP priority of the first user plane device.
Because the BFD of the first user plane device is bound with the uplink interface, when the first user plane device sends out the detection message through the BFD and does not receive a response, the uplink is indicated to be in failure. And after the BFD detects the fault, the state of the BFD is changed into DOWN, the BFD communicates with the VRRP, the VRRP learns the uplink fault, and the user flow is switched to second user plane equipment by automatically reducing the priority of the first VRRP.
In practical application, the user flow can be switched to the second user plane device quickly through BFD fault detection, so that the user device cannot sense the user flow.
502, the first user plane device sends the first VRRP priority to the second user plane device.
503, the second user plane device receives the first VRRP priority sent by the first user plane device.
And 504, when the first VRRP priority is lower than the second VRRP priority of the second user plane equipment, the second user plane equipment switches the VRRP state of the second user plane equipment from the standby state to the main state.
Because the uplink of the first user plane device fails, the first user plane device cannot continue to provide the service, and therefore the VRRP state of the second user plane device needs to be switched to the master state, and the second user plane device takes over the service provided by the first user plane device.
505, the second user plane device sends the second VRRP priority to the first user plane device.
The first user plane device receives 506 the second VRRP priority sent by the second user plane device.
507, the first user plane device switches the VRRP state of the first user plane device from the primary state to the standby state when the first VRRP priority is lower than the second VRRP priority.
And 508, the second user plane equipment sends a VRRP state switching notice to the control plane equipment.
509, the control plane device receives the VRRP status switch notification sent by the second user plane device.
510, the control plane device issues user information corresponding to the first user plane device to the second user plane device.
511, the second user plane device receives the user information corresponding to the first user plane device sent by the control plane device.
And 512, the second user plane equipment receives the keep-alive message sent by the user equipment.
513, the second user plane device queries whether the second user plane device has user information corresponding to the keep-alive message.
Since it takes ten seconds for the control plane device to send the user information, and the user information sent by the control plane device may be sent in multiple times, and when the BFD detects a failure, the second user plane device may be switched to the master state only in more than 100 milliseconds, and thus the second user plane device may not receive the user information or all the user information.
514, when the user information corresponding to the keep-alive message exists in the second user plane device, the second user plane device feeds back a confirmation message to the user device.
If the user information corresponding to the keep-alive message has just been received in the second user plane device, the second user plane device may feed back a confirmation message to the user device that sent the keep-alive message according to the user information.
515, when the user information corresponding to the keep-alive message does not exist in the second user plane device, the second user plane device sends the keep-alive message to the control plane device.
If the second user plane device does not have the user information corresponding to the keep-alive message, the second user plane device cannot respond to the keep-alive message, and if the second user plane device discards the keep-alive message, the corresponding user device is disconnected.
And the control plane device stores all user information, in order to prevent the user equipment from dropping, the second user plane device reports the keep-alive messages to the control plane device, and the control plane device responds to the keep-alive messages according to the user information, so that the user equipment cannot drop when an uplink fails.
And 516, the control plane equipment receives the keep-alive message sent by the second user plane equipment.
517, the control plane device feeds back the confirmation message to the user device according to the stored user information.
Fig. 5B is a flowchart of a method for feeding back a message according to still another embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, in this embodiment, the first user plane device can normally provide a service due to uplink failure recovery, as shown in fig. 5B, the message feedback method includes:
518, the first user plane device sends the first state change information to the control plane device upon detection of recovery of the uplink failure of the first user plane device by BFD.
And when the first user plane equipment sends the detection message to the uplink interface through BFD to obtain a response, indicating that the uplink fault is recovered.
In practical application, when the BFD detects that the failure is recovered, the state of the BFD is immediately switched to UP, which indicates normal, the BFD communicates with the VRRP, and the VRRP quickly switches the VRRP state of the first user plane device to the master state, but since the control plane device needs a certain time period for issuing the user information, if the VRRP state of the first user plane device is quickly switched to the master state, but the first user plane device does not yet receive the user information, a part of the user traffic is lost, so the BFD is configured with a delay UP time, and the time period of the delay UP time needs to be longer than the time period for issuing the user information by the control plane device, so that the VRRP state of the first user plane device cannot be switched to the master state before the user information is not completely issued, thereby avoiding the loss of the user traffic.
519, the control plane device receives the first state change information sent by the first user plane device.
When the first user plane device detects that the uplink failure is recovered through BFD, the first user plane device informs the control plane device of performing VRRP state switching on the first user plane device through the first state change information, so that the control plane device can send user information to the first user plane device in time.
The first state change information at least includes an IP address of the first user plane device, and the control plane device searches for corresponding user information through the first state change information.
And 520, the control plane device sends the user information corresponding to the second user plane device to the first user plane device.
And after finding the user information required by the first user plane equipment, the control plane equipment sends the user information to the first user plane equipment.
521, the first user plane device receives user information corresponding to the second user plane device, which is issued by the control plane device according to the first state change information.
522, after the user information is completely issued, the control plane device sends a first switching notification to the first user plane device, where the first switching notification is used to increase the first VRRP priority of the first user plane device.
And after the user information is sent, the control plane equipment sends a first switching notification to the first user plane equipment, and the first VRRP priority is improved through the first switching notification, so that the VRRP state of the first user plane equipment is switched to a main state.
In practical applications, the time for the control plane device to send the first handover notification is earlier than the BFD delay UP time. Since BFD delay UP time is longer than time for the control plane device to issue the user information and send the first handover notification, the switching of the VRRP state is based on time for the first user plane device to receive the first handover notification sent by the control plane device.
523, the first user plane device receives the first handover notification sent by the control plane device.
The first user plane device raises the first VRRP priority of the first user plane device according to the first handover notification 524.
And 525, the second user plane device sends the second VRRP priority to the first user plane device.
526, the first user plane equipment receives the second VRRP priority sent by the second user plane equipment.
527, the first user plane device switches the VRRP state of the first user plane device from the standby state to the primary state when the first VRRP priority is higher than the second VRRP priority.
528, the first user plane device sends the first VRRP priority to the second user plane device.
529, the second user plane device receives the first VRRP priority sent by the first user plane device.
And 530, when the first VRRP priority is higher than the second VRRP priority, the second user plane equipment switches the VRRP state of the second user plane equipment from the main state to the standby state.
531, the first user plane device receives a keep-alive message sent by the user equipment.
532, the first user plane device feeds back a confirmation message to the user device according to the user information.
Fig. 5C is a flowchart of a method for feeding back a message according to still another embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, in this embodiment, the first user plane device cannot provide a service due to a downlink failure or a failure of the first user plane device, as shown in fig. 5C, the message feedback method includes:
533, when the second user plane device detects, through BFD, that the first user plane device or the downlink of the first user plane device is faulty, raising the second VRRP priority of the second user plane device.
And if the second user plane equipment does not respond to the detection message sent by the BFD, indicating that the first user plane equipment or the downlink of the first user plane equipment has a fault. And the BFD state of the second user plane equipment is changed into DOWN, and the second user plane equipment communicates with the VRRP to inform the VRRP of switching the state.
The second user plane equipment automatically raises the second VRRP priority to make the second VRRP priority higher than the first VRRP priority, so that the VRRP state of the second user plane equipment is switched to the main state.
The second user plane device sends 534 the second VRRP priority to the first user plane device.
535, the first user plane device receives the second VRRP priority sent by the second user plane device.
536, the first user plane device switches the VRRP state of the first user plane device from the primary state to the standby state when the second VRRP priority is higher than the first VRRP priority.
When the downlink failure of the first user plane device results in that the first user plane device and the second user plane device cannot communicate through the VRRP advertisement message, steps 534 to 536 may not be executed, and step 537 is directly executed to switch the VRRP state of the second user plane device from the standby state to the master state.
537, the second user plane device switches the VRRP state of the second user plane device from the standby state to the master state when the first VRRP priority is lower than the second VRRP priority.
Optionally, when the second VRRP priority of the second user plane device increases, the VRRP state of the second user plane device switches from the standby state to the master state.
Optionally, when the second user plane device receives the first VRRP priority and the first VRRP priority is lower than the second VRRP priority, the VRRP state of the second user plane device is switched from the standby state to the master state.
Optionally, when the second user plane device does not receive the VRRP notification message sent by the first user plane device in 3 message periods of the VRRP notification message, the VRRP state of the second user plane device is switched from the standby state to the master state.
538, the second user plane device sends a VRRP state switch notification to the control plane device.
539 the control plane device receives a VRRP state switch notification sent by the second user plane device.
540, the control plane device issues the user information corresponding to the first user plane device to the second user plane device.
541, the second user plane device receives the user information corresponding to the first user plane device sent by the control plane device.
542, the second user plane device receives the keep-alive message sent by the user device.
543, the second user plane device inquires whether there is user information corresponding to the keep-alive message in the second user plane device.
Since it takes ten seconds for the control plane device to send the user information, and the user information sent by the control plane device may be sent in multiple times, and when the BFD detects a failure, the second user plane device may be switched to the master state only in more than 100 milliseconds, and thus the second user plane device may not receive the user information or all the user information.
544, when the user information corresponding to the keep-alive message exists in the second user plane device, the second user plane device feeds back a confirmation message to the user device.
If the user information corresponding to the keep-alive message has just been received in the second user plane device, the second user plane device may feed back a confirmation message to the user device that sent the keep-alive message according to the user information.
545, when the user information corresponding to the keep-alive message does not exist in the second user plane device, the second user plane device sends the keep-alive message to the control plane device.
If the second user plane device does not have the user information corresponding to the keep-alive message, the second user plane device cannot respond to the keep-alive message, and if the second user plane device discards the keep-alive message, the corresponding user device is disconnected.
And the control plane device stores all user information, in order to prevent the user equipment from being disconnected, the second user plane device reports the keep-alive messages to the control plane device, and the control plane device responds to the keep-alive messages according to the user information, so that the user equipment cannot be disconnected when a downlink or the first user plane device fails.
546, the control plane device receives the keep-alive message sent by the second user plane device.
547, the control plane device feeds back a confirmation message to the user equipment according to the stored user information.
Fig. 5D is a flowchart of a method for feeding back a message according to still another embodiment of the present invention. The message feedback method is exemplified by being applied to the implementation environment shown in fig. 2A, in this embodiment, the first user plane device can normally provide a service due to downlink failure recovery or first user plane device failure recovery, as shown in fig. 5D, the message feedback method includes:
548, the second user plane device sends the second state change information to the control plane device when detecting, through BFD, that the first user plane device or the downlink failure of the first user plane device is recovered.
And when the second user plane equipment sends the detection message to the first user plane equipment through BFD to obtain a response, indicating that the first user plane equipment or the downlink fault of the first user plane equipment is recovered.
In practical application, when the BFD detects that the failure is recovered, the state of the BFD is immediately switched to UP, which indicates normal, the BFD communicates with the VRRP, and the VRRP quickly switches the VRRP state of the first user plane device to the master state, but since the control plane device needs a certain time period for issuing the user information, if the VRRP state of the first user plane device is quickly switched to the master state, but the first user plane device does not yet receive the user information, a part of the user traffic is lost, so the BFD is configured with a delay UP time, and the time period of the delay UP time needs to be longer than the time period for issuing the user information by the control plane device, so that the VRRP state of the first user plane device cannot be switched to the master state before the user information is not completely issued, thereby avoiding the loss of the user traffic.
And 549, the control plane device receives the second state change information sent by the second user plane device.
When the second user plane device detects that the downlink or the first user plane device is recovered from the fault through BFD, the second user plane device informs the control plane device that the first user plane device is about to switch the VRRP state through the second state change information, so that the control plane device can send the user information to the first user plane device in time.
The second state change information at least includes an IP address of the first user plane device, and the control plane device searches for corresponding user information through the first state change information.
And 550, the control plane device sends the user information corresponding to the second user plane device to the first user plane device.
And after finding the user information required by the first user plane equipment, the control plane equipment sends the user information to the first user plane equipment.
And 551, the first user plane equipment receives user information corresponding to the second user plane equipment issued by the control plane equipment according to the second state change information.
552, after the user information is sent, the control plane device sends a second switching notification to the second user plane device, where the second switching notification is used to reduce the second VRRP priority of the second user plane device.
And after the user information is sent, the control plane equipment sends a second switching notice to the second user plane equipment, and the second switching notice reduces the priority of the second VRRP, so that the VRRP state of the second user plane equipment is switched to a standby state.
In practical applications, the time for the control plane device to send the second handover notification is earlier than the BFD delay UP time. Because the BFD UP delay time is longer than the time for the control plane device to issue the user information and send the second handover notification, the switching of the VRRP state is based on the time for the second user plane device to receive the second handover notification sent by the control plane device.
553, the second user plane equipment receives the second switching notification sent by the control plane equipment.
The second user plane device lowers 554 the second VRRP priority of the second user plane device according to the second handoff notification.
555, the second user plane device sends the second VRRP priority to the first user plane device.
556, the first user plane device receives the second VRRP priority sent by the second user plane device.
557, the first user plane device switches the VRRP state of the first user plane device from the standby state to the master state when the first VRRP priority is higher than the second VRRP priority.
558, the first user plane device sends the first VRRP priority to the second user plane device.
559, the second user plane device receives the first VRRP priority sent by the first user plane device.
560, the second user plane device switches the VRRP state of the second user plane device from the master state to the standby state when the first VRRP priority is higher than the second VRRP priority.
561, the first user plane device receives the keep-alive message sent by the user device.
562, the first user plane device feeds back a confirmation message to the user device according to the user information.
In summary, in the message feedback method provided in the embodiment of the present invention, when a link where the first user plane device is located fails, the VRRP state of the second user plane device is switched from the standby state to the main state, and a state switching notification request is sent to the control plane device to issue the user information, so that the second user plane device can continue to provide the service when the first user plane device fails to provide the service due to the failure, and the forwarding of the user traffic is implemented.
When the uplink of the first user plane equipment fails, the first user plane equipment can detect the uplink failure through BFD and automatically reduce the first VRRP priority, and when the downlink of the first user plane equipment or the first user plane equipment fails, the second user plane equipment can detect the downlink failure of the first user plane equipment or the first user plane equipment through BFD and automatically improve the second VRRP priority, so that the first VRRP priority is finally lower than the second VRRP priority, the VRRP state of the second user plane equipment is switched from the standby state to the main state, and the first user plane equipment is replaced to continuously provide services.
When receiving the keep-alive message sent by the user equipment, the second user plane equipment firstly inquires whether the user information corresponding to the keep-alive message is stored in the second user plane equipment, and when the second user plane equipment cannot inquire the corresponding user information, the second user plane equipment reports the keep-alive message to the control plane equipment for response, so that the user equipment can still receive the confirmation message before the second user plane equipment receives the user information, and the user equipment cannot be disconnected.
When the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can detect the failure recovery through BFD for the uplink of the first user plane equipment, when the failure of the downlink of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment can detect the failure recovery through BFD, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment by informing the control plane equipment that the failure of the link where the first user plane equipment is located is recovered, and the second user plane equipment is informed to be switched from the main state to the standby state after the user information is sent, so that when the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can be switched back to the main state to continue providing services.
In addition, the control plane equipment firstly sends the user information and then sends the switching notice, so that the problem of user flow loss can not be caused when the first user plane equipment is in the failure recovery switching back to the main state.
When the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can detect the failure recovery through BFD for the uplink of the first user plane equipment, when the failure of the downlink of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment can detect the failure recovery through BFD, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment by informing the control plane equipment that the failure of the link where the first user plane equipment is located is recovered, and the first user plane equipment is informed to be switched from the standby state to the main state after the user information is sent, so that when the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can be switched back to the main state to continue providing services.
In addition, the control plane equipment firstly sends the user information and then sends the switching notice, so that the problem of user flow loss can not be caused when the first user plane equipment is in the failure recovery switching back to the main state.
When the uplink of the first user plane equipment fails, the first user plane equipment can detect the uplink failure through BFD and automatically reduce the first VRRP priority, and when the downlink of the first user plane equipment or the first user plane equipment fails, the second user plane equipment can detect the downlink failure of the first user plane equipment or the first user plane equipment through BFD and automatically improve the second VRRP priority, so that the first VRRP priority is lower than the second VRRP priority, the VRRP state of the first user plane equipment is switched from the main state to the standby state, and the second user plane equipment replaces the first user plane equipment to continue to provide services.
When the link where the first user plane device is located fails, the first user plane device and the second user plane device can perform active-standby switching by themselves, then the second user plane device informs the control plane device of the condition of VRRP state switching, and the control plane device issues user information corresponding to the first user plane device to the second user plane device, so that the second user plane device can take over the first user plane device to continue providing services when the link where the first user plane device is located fails.
When the second user plane equipment inquires that the user information corresponding to the keep-alive message is not stored in the second user plane equipment, the control plane equipment receives the keep-alive message reported by the second user plane equipment and responds, so that the user equipment can still receive the confirmation message before the second user plane equipment receives the user information, and the user equipment cannot be disconnected.
When the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can detect the failure recovery through BFD for the uplink of the first user plane equipment, when the failure of the downlink of the first user plane equipment or the first user plane equipment is recovered, the second user plane equipment can detect the failure recovery through BFD, the control plane equipment sends user information corresponding to the second user plane equipment to the first user plane equipment by informing the control plane equipment that the failure of the link where the first user plane equipment is located is recovered, and the second user plane equipment is informed to be switched from the main state to the standby state after the user information is sent, so that when the failure of the link where the first user plane equipment is located is recovered, the first user plane equipment can be switched back to the main state to continue providing services.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 6 is a block diagram of a structure of a message feedback apparatus according to an embodiment of the present invention. The message feedback apparatus is applied to the second user plane device 223 shown in fig. 2A, and the message feedback apparatus may be implemented as part or all of the second user plane device 223 through software, hardware, or a combination of both. As shown in fig. 6, the message feedback apparatus 600 includes: an acquisition unit 610, a receiving unit 620 and a feedback unit 630.
An obtaining unit 610, configured to implement the above-mentioned step 302, step 402, step 508, step 511, step 538, step 541, and any other implicit or disclosed obtaining related functions.
A receiving unit 620, configured to implement the above-mentioned step 303, step 407a, step 408a, step 409a, step 404b, step 405b, step 407b, step 408b, step 409b, step 412, step 419a, step 423a, step 424a, step 417b, step 418b, step 419b, step 423b, step 424b, step 503, step 504, step 505, step 512, step 525, step 529, step 530, step 533, step 534, step 537, step 542, step 548, step 553, step 554, step 555, step 559, step 560, and any other implicit or explicit receiving related functions.
A feedback unit 630, configured to implement the above-mentioned step 304, step 413, step 513, step 514, step 515, step 543, step 544, step 545, and any other implicit or public feedback-related functions.
Fig. 7 is a block diagram of a structure of a message feedback apparatus according to another embodiment of the present invention. The message feedback device is applied to the first user plane device 222 shown in fig. 2A, and the message feedback device may be implemented by software, hardware, or a combination of the two to become part or all of the first user plane device 222. As shown in fig. 7, the message feedback apparatus 700 includes: an acquisition unit 710, a receiving unit 720 and a feedback unit 730.
An obtaining unit 710, configured to implement the above step 306, step 415, step 521, step 551, and any other implicit or disclosed obtaining related functions.
A receiving unit 720, configured to implement the above step 307, step 404a, step 405a, step 406a, step 410a, step 411a, step 406b, step 410b, step 411b, step 417a, step 418a, step 420a, step 421a, step 422a, step 420b, step 421b, step 422b, step 425, step 501, step 502, step 506, step 507, step 518, step 523, step 524, step 526, step 527, step 528, step 531, step 535, step 536, step 556, step 557, step 558, step 561, and any other implicit or explicit receiving related functions.
A feedback unit 730 for implementing the above-mentioned steps 308, 426, 532, 562 and any other implicit or disclosed feedback-related functions.
Fig. 8 is a block diagram illustrating a structure of a message feedback apparatus according to still another embodiment of the present invention. The message feedback device is applied in the control plane equipment 214 shown in fig. 2A, and the message feedback device may be implemented by software, hardware, or a combination of the two to become part or all of the control plane equipment 214. As shown in fig. 8, the message feedback apparatus 800 includes: a first transmission unit 810 and a second transmission unit 820.
A first sending unit 810, configured to implement the above-mentioned step 301, step 401, step 403a, step 403b, step 509, step 510, step 516, step 517, step 539, step 540, step 546, step 547, and any other implicit or public functions related to sending.
A second sending unit 820, configured to implement step 305, step 414, step 416a, step 416b, step 519, step 520, step 522, step 549, step 550, step 552, and any other implicit or public functions related to sending.
It should be noted that: in the message feedback device provided in the foregoing embodiment, when feeding back a message, only the division of each functional module is described as an example, and in practical applications, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the message feedback device and the method embodiment of the message feedback method provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment and will not be described again.
It should be understood that, as used herein, the singular forms "a," "an," "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (40)
1. A message feedback method is used in a second user plane device, and the method comprises:
when first user plane equipment cannot provide services, acquiring user information corresponding to the first user plane equipment from control plane equipment;
receiving a keep-alive message sent by user equipment, wherein the keep-alive message is used for requesting the user equipment to be in an online state;
inquiring whether user information corresponding to the keep-alive message exists in the second user plane equipment;
when user information corresponding to the keep-alive message exists, feeding back a confirmation message to the user equipment;
and when the user information corresponding to the keep-alive message does not exist, sending the keep-alive message to the control surface equipment, wherein the control surface equipment is used for responding to the keep-alive message.
2. The method of claim 1, wherein when the first user plane device cannot provide the service, acquiring, from a control plane device, user information corresponding to the first user plane device includes:
and receiving user information corresponding to the first user plane equipment, which is issued by the control plane equipment, when the first user plane equipment is upgraded.
3. The method of claim 2, wherein after the obtaining the user information corresponding to the first user plane device from the control plane device when the first user plane device cannot provide the service, the method further comprises:
receiving a priority raising command sent by the control plane equipment; increasing the second VRRP priority of the second user plane equipment according to the priority increasing command; when the second VRRP priority is higher than the first VRRP priority of the first user plane equipment, switching the VRRP state of the second user plane equipment from a standby state to a main state;
or,
receiving a first VRRP priority sent by the first user plane equipment, wherein the first VRRP priority is reduced after the first user plane equipment receives a priority reduction command of the control plane equipment; and when the second VRRP priority of the second user plane equipment is higher than the first VRRP priority, switching the VRRP state of the second user plane equipment from the standby state to the main state.
4. The method of claim 3, wherein after switching the VRRP state of the second user plane device from the standby state to the primary state, further comprising:
receiving a priority reduction command sent by the control plane device, wherein the priority reduction command is sent by the control plane device after the first user plane device is upgraded; lowering the second VRRP priority in accordance with the priority lowering command; when the second VRRP priority is lower than the first VRRP priority, switching the VRRP state of the second user plane device from the main state to the standby state;
or,
receiving the first VRRP priority sent by the first user plane equipment, wherein the first VRRP priority is increased after the first user plane equipment receives a priority increasing command of the control plane equipment, and the priority increasing command is sent by the control plane equipment after the first user plane equipment is upgraded; switching the VRRP state of the second user plane device from the primary state to the standby state when the first VRRP priority is higher than the second VRRP priority.
5. The method of claim 1, wherein when the first user plane device cannot provide the service, acquiring, from a control plane device, user information corresponding to the first user plane device includes:
when the first VRRP priority of the first user plane equipment is lower than the second VRRP priority of the second user plane equipment caused by the failure, the VRRP state of the second user plane equipment is switched from the standby state to the main state;
sending a VRRP state switching notification to the control plane equipment;
and receiving user information corresponding to the first user plane device and issued by the control plane device, wherein the user information is sent by the control plane device after receiving the VRRP state switching notification.
6. The method of claim 5, further comprising, prior to switching the VRRP state of the second user plane device from the standby state to the primary state when the failure results in the first VRRP priority of the first user plane device being lower than the second VRRP priority of the second user plane device:
receiving a first VRRP priority sent by the first user plane equipment, wherein the first VRRP priority is reduced when the first user plane equipment detects that an uplink fails through BFD;
or,
increasing the second VRRP priority upon BFD detection of the first user plane device or a downlink failure of the first user plane device.
7. The method of claim 5, wherein after switching the VRRP state of the second user plane device from the standby state to the primary state, further comprising:
receiving the first VRRP priority sent by the first user plane device, where the first VRRP priority is raised when the first user plane device receives a first handover notification sent by the control plane device, the first handover notification is sent after the control plane device completes issuing user information to the first user plane device according to first state change information, and the first state change information is sent to the control plane device when the first user plane device detects recovery of an uplink failure of the first user plane device through BFD; when the first VRRP priority is higher than the second VRRP priority, switching the VRRP state of the second user plane equipment from a main state to a standby state;
or,
when BFD detects that the first user plane equipment or the downlink failure of the first user plane equipment is recovered, sending second state change information to the control plane equipment, and reducing the second VRRP priority according to a second switching notification sent by the control plane equipment, wherein the second state change information is used for triggering the control plane equipment to issue the user information to the first user plane equipment, and the second switching notification is sent by the control plane equipment after the user information is completely issued to the first user plane equipment according to the second state change information; and when the second VRRP priority is lower than the first VRRP priority, switching the VRRP state of the second user plane equipment from a main state to a standby state.
8. The method of claim 7 wherein a state of BFD is DOWN indicates a fault and a state of BFD is UP indicates normal;
the BFD is configured with a delay UP time, and the duration of the delay UP time is longer than the duration of the user information issued by the control plane device to the first user plane device.
9. A message feedback method is used in a first user plane device, and the method comprises:
when the first user plane equipment recovers from the service incapability to the service providing state, acquiring user information corresponding to second user plane equipment from control plane equipment;
receiving a keep-alive message sent by user equipment, wherein the keep-alive message is used for requesting the user equipment to be in an online state;
feeding back a confirmation message to the user equipment according to the user information;
the second user plane device is configured to, when the first user plane device cannot provide a service, obtain user information corresponding to the first user plane device from a control plane device, receive a keep-alive message sent by the user device, query whether user information corresponding to the keep-alive message exists in the second user plane device, feed back the confirmation message to the user device when the user information corresponding to the keep-alive message exists, and send the keep-alive message to the control plane device when the user information corresponding to the keep-alive message does not exist, where the control plane device is configured to respond to the keep-alive message.
10. The method of claim 9, wherein when the first user plane device returns from being unable to provide the service to being in the service providing state, acquiring, from a control plane device, user information corresponding to a second user plane device, includes:
after the first user plane equipment is upgraded, receiving the user information sent by the control plane equipment;
when the first user plane device recovers from being unable to provide the service to being in the service providing state, after obtaining the user information corresponding to the second user plane device from the control plane device, the method further includes:
receiving a priority raising command sent by the control plane device, wherein the priority raising command is sent by the control plane device after the first user plane device is upgraded; increasing the first VRRP priority of the first user plane equipment according to the priority increasing command; when the first VRRP priority is higher than a second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a standby state to a main state;
or,
receiving a second VRRP priority sent by the second user plane equipment, wherein the second VRRP priority is reduced after the second user plane equipment receives a priority reduction command of the control plane equipment, and the priority reduction command is sent by the control plane equipment after the first user plane equipment is upgraded; switching the VRRP state of the first user plane device from a standby state to a primary state when the second VRRP priority is lower than the first VRRP priority.
11. The method of claim 10, wherein before the obtaining, by the first user plane device, the user information corresponding to the second user plane device from the control plane device when the first user plane device returns from being unable to provide the service to being in the service providing state, the method further comprises:
receiving a priority reduction command sent by the control plane device, where the priority reduction command is sent by the control plane device when the first user plane device is upgraded; reducing the first VRRP priority of the first user plane equipment according to the priority reduction command; when the first VRRP priority is lower than a second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from the main state to the standby state;
or,
receiving a second VRRP priority sent by the second user plane equipment, wherein the second VRRP priority is increased after the second user plane equipment receives a priority increasing command of the control plane equipment, and the priority increasing command is sent by the control plane equipment when the first user plane equipment is updated; switching a VRRP state of the first user plane device from the primary state to the standby state when a first VRRP priority of the first user plane device is lower than the second VRRP priority.
12. The method of claim 9, wherein when the first user plane device returns from being unable to provide the service to being in the service providing state, acquiring, from a control plane device, user information corresponding to a second user plane device, includes:
transmitting first state change information to the control plane device when detecting uplink failure recovery of the first user plane device through BFD; receiving user information issued by the control surface equipment according to the first state change information; after the user information is sent, receiving a first switching notification sent by the control plane equipment; increasing a first VRRP priority of the first user plane device according to the first handover notification; when the first VRRP priority is higher than a second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a standby state to a main state;
or,
receiving a second VRRP priority sent by the second user plane device, where the second VRRP priority is lowered when the second user plane device receives a second switching notification sent by the control plane device, the second switching notification is sent after the control plane device finishes issuing the user information to the first user plane device according to second state change information, and the second state change information is sent to the control plane device when the second user plane device detects, through BFD, that a downlink failure of the first user plane device or the first user plane device is recovered; switching the VRRP state of the first user plane device from a standby state to a primary state when the second VRRP priority is lower than the first VRRP priority of the first user plane device.
13. The method of claim 9, wherein before the obtaining, by the first user plane device, the user information corresponding to the second user plane device from the control plane device when the first user plane device returns from being unable to provide the service to being in the service providing state, the method further comprises:
after detecting that the uplink fails through BFD, reducing the first VRRP priority of the first user plane equipment; when the first VRRP priority of the first user plane equipment is lower than the second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a main state to a standby state;
or,
receiving a second VRRP priority sent by the second user plane equipment, wherein the second VRRP priority is increased when the second user plane equipment detects that the first user plane equipment or a downlink of the first user plane equipment fails through BFD; switching the VRRP state of the first user equipment from a primary state to a standby state when the second VRRP priority is higher than the first VRRP priority of the first user plane equipment.
14. The method of claim 12 wherein a state of BFD is DOWN indicates a fault and a state of BFD is UP indicates normal;
the BFD is configured with a delay UP time, and the delay duration of the delay UP time is longer than the duration of issuing the user information to the first user plane equipment by the control plane equipment.
15. A message feedback method is used in a control plane device, and the method includes:
when first user plane equipment cannot provide service, sending user information corresponding to the first user plane equipment to second user plane equipment, wherein the second user plane equipment is used for acquiring the user information corresponding to the first user plane equipment from control plane equipment when the first user plane equipment cannot provide service, receiving a keep-alive message sent by the user equipment, inquiring whether the user information corresponding to the keep-alive message exists in the second user plane equipment, feeding back a confirmation message to the user equipment when the user information corresponding to the keep-alive message exists, and sending the keep-alive message to the control plane equipment when the user information corresponding to the keep-alive message does not exist, wherein the control plane equipment is used for responding to the keep-alive message;
and when the first user plane equipment recovers from the service incapable of being provided to the service provided, sending user information corresponding to the second user plane equipment to the first user plane equipment, wherein the first user plane equipment is used for receiving a keep-alive message sent by the user equipment and feeding back a confirmation message to the user equipment according to the user information.
16. The method of claim 15, wherein sending user information corresponding to a first user plane device to a second user plane device when the first user plane device cannot provide a service comprises:
when the first user plane equipment is upgraded, sending user information corresponding to the first user plane equipment to the second user plane equipment;
when the first user plane device cannot provide the service, after the user information corresponding to the first user plane device is sent to the second user plane device, the method further includes:
sending a priority reduction command to the first user plane equipment, wherein the first user plane equipment is used for reducing the first VRRP priority of the first user plane equipment after receiving the priority reduction command, and switching the VRRP state of the first user plane equipment from a main state to a standby state when the first VRRP priority is lower than the second VRRP priority of the second user plane equipment;
or,
and sending a priority increasing command to the second user plane equipment, wherein the second user plane equipment is used for increasing the second VRRP priority of the second user plane equipment after receiving the priority increasing command, and when the second VRRP priority is higher than the first VRRP priority of the first user plane equipment, the VRRP state of the second user plane equipment is switched from the standby state to the main state.
17. The method according to claim 15, wherein the sending, to the first user plane device, the user information corresponding to the second user plane device when the first user plane device recovers from failing to provide the service to providing the service includes:
after the first user plane equipment is upgraded, sending user information corresponding to the second user plane equipment to the first user plane equipment;
after the sending, by the first user plane device, the user information corresponding to the second user plane device to the first user plane device when the first user plane device recovers from failing to provide the service to providing the service, the method further includes:
sending a priority increasing command to the first user plane equipment, wherein the first user plane equipment is used for increasing a first VRRP priority of the first user plane equipment after receiving the priority increasing command, and switching the VRRP state of the first user plane equipment from a standby state to a main state when the first VRRP priority is higher than a second VRRP priority of the second user plane equipment;
or,
and sending a priority reduction command to the second user plane equipment, wherein the second user plane equipment is used for reducing the second VRRP priority of the second user plane equipment after receiving the priority reduction command, and switching the VRRP state of the second user plane equipment from the main state to the standby state when the second VRRP priority is lower than the first VRRP priority of the first user plane equipment.
18. The method of claim 15, wherein sending user information corresponding to a first user plane device to a second user plane device when the first user plane device cannot provide a service comprises:
receiving a VRRP state switching notification sent by the second user plane equipment, wherein the VRRP state switching notification is sent when a first VRRP priority of the first user plane equipment is lower than a second VRRP priority of the second user plane equipment;
issuing user information corresponding to the first user plane equipment to the second user plane equipment;
wherein the first VRRP priority is lowered after the first user plane equipment detects that the uplink fails through BFD; or the second VRRP priority is increased when the second user plane device detects, through BFD, that the first user plane device or the downlink of the first user plane device is malfunctioning.
19. The method of claim 18, wherein before sending the user information corresponding to the first user plane device to the second user plane device, the method further comprises:
receiving a keep-alive message of the user equipment sent by the second user plane equipment, wherein the keep-alive message is sent when the second user plane equipment inquires that no user information corresponding to the keep-alive message exists;
and feeding back a confirmation message to the user equipment according to the stored user information.
20. The method according to claim 15, wherein before the sending, to the first user plane device, the user information corresponding to the second user plane device when the first user plane device recovers from being unable to provide the service to providing the service, further comprising:
receiving first state change information sent by the first user plane device, wherein the first state change information is sent when the first user plane device detects that an uplink failure of the first user plane device is recovered through BFD;
or,
receiving second state change information sent by the second user plane device, where the second state change information is sent by the second user plane device when the second user plane device detects, through BFD, that the downlink failure of the first user plane device or the first user plane device is recovered;
after the sending, by the first user plane device, the user information corresponding to the second user plane device to the first user plane device when the first user plane device recovers from failing to provide the service to providing the service, the method further includes:
after the user information is issued, sending a first switching notification to the first user plane equipment, wherein the first switching notification is used for improving the first VRRP priority of the first user plane equipment;
or,
and after the user information is issued, sending a second switching notification to the second user plane equipment, wherein the second switching notification is used for reducing the second VRRP priority of the second user plane equipment.
21. A message feedback apparatus, configured to be used in a second user plane device, the apparatus includes:
an obtaining unit, configured to obtain, from a control plane device, user information corresponding to a first user plane device when the first user plane device cannot provide a service;
a receiving unit, configured to receive a keep-alive message sent by a user equipment, where the keep-alive message is used to request that the user equipment is in an online state;
a feedback unit, configured to query whether user information corresponding to the keep-alive message exists in the second user plane device; when user information corresponding to the keep-alive message exists, feeding back a confirmation message to the user equipment; and when the user information corresponding to the keep-alive message does not exist, sending the keep-alive message to the control surface equipment, wherein the control surface equipment is used for responding to the keep-alive message.
22. The apparatus of claim 21,
the obtaining unit is further configured to receive, when the first user plane device is upgraded, user information corresponding to the first user plane device and sent by the control plane device.
23. The apparatus of claim 22,
the receiving unit is further configured to receive a priority raising command sent by the control plane device; increasing the second VRRP priority of the second user plane equipment according to the priority increasing command; when the second VRRP priority is higher than the first VRRP priority of the first user plane equipment, switching the VRRP state of the second user plane equipment from a standby state to a main state;
the receiving unit is further configured to receive a first VRRP priority sent by the first user plane device, where the first VRRP priority is lowered by the first user plane device after receiving a priority lowering command of the control plane device; and when the second VRRP priority of the second user plane equipment is higher than the first VRRP priority, switching the VRRP state of the second user plane equipment from the standby state to the main state.
24. The apparatus of claim 23,
the receiving unit is further configured to receive a priority reduction command sent by the control plane device, where the priority reduction command is sent by the control plane device after the first user plane device is upgraded; lowering the second VRRP priority in accordance with the priority lowering command; when the second VRRP priority is lower than the first VRRP priority, switching the VRRP state of the second user plane device from the main state to the standby state;
the receiving unit is further configured to receive the first VRRP priority sent by the first user plane device, where the first VRRP priority is raised after the first user plane device receives a priority raising command of the control plane device, and the priority raising command is sent by the control plane device after the first user plane device is completely upgraded; switching the VRRP state of the second user plane device from the primary state to the standby state when the first VRRP priority is higher than the second VRRP priority.
25. The apparatus of claim 21,
the obtaining unit is further configured to switch the VRRP state of the second user plane device from the standby state to the master state when a failure causes that the first VRRP priority of the first user plane device is lower than the second VRRP priority of the second user plane device; sending a VRRP state switching notification to the control plane equipment; and receiving user information corresponding to the first user plane device and issued by the control plane device, wherein the user information is sent by the control plane device after receiving the VRRP state switching notification.
26. The apparatus of claim 25,
the receiving unit is further configured to receive a first VRRP priority sent by the first user plane device, where the first VRRP priority is lowered when the first user plane device detects that an uplink fails through BFD;
or,
the receiving unit is further configured to increase the second VRRP priority when BFD detects that the first user plane device or the downlink of the first user plane device fails.
27. The apparatus of claim 24,
the receiving unit is further configured to receive the first VRRP priority sent by the first user plane device, where the first VRRP priority is higher when the first user plane device receives a first handover notification sent by the control plane device, the first handover notification is sent after the control plane device completes issuing user information to the first user plane device according to first state change information, and the first state change information is sent to the control plane device when the first user plane device detects, through BFD, that an uplink failure of the first user plane device is recovered; when the first VRRP priority is higher than the second VRRP priority, switching the VRRP state of the second user plane equipment from a main state to a standby state;
the receiving unit is further configured to send second state change information to the control plane device when detecting that the first user plane device or a downlink failure of the first user plane device recovers through BFD, and lower the second VRRP priority according to a second switching notification sent by the control plane device, where the second state change information is used to trigger the control plane device to issue the user information to the first user plane device, and the second switching notification is sent by the control plane device after the user information is completely issued to the first user plane device according to the second state change information; and when the second VRRP priority is lower than the first VRRP priority, switching the VRRP state of the second user plane equipment from a main state to a standby state.
28. The apparatus of claim 27 wherein a state of BFD is DOWN indicates a fault and a state of BFD is UP indicates normal;
the BFD is configured with a delay UP time, and the duration of the delay UP time is longer than the duration of the user information issued by the control plane device to the first user plane device.
29. A message feedback apparatus, configured to be used in a first user plane device, the apparatus comprising:
an obtaining unit, configured to obtain, from a control plane device, user information corresponding to a second user plane device when the first user plane device recovers from being unable to provide a service to being in a service providing state;
a receiving unit, configured to receive a keep-alive message sent by a user equipment, where the keep-alive message is used to request that the user equipment is in an online state;
a feedback unit, configured to feed back a confirmation message to the user equipment according to the user information acquired by the acquisition unit;
the second user plane device is configured to, when the first user plane device cannot provide a service, obtain user information corresponding to the first user plane device from a control plane device, receive a keep-alive message sent by the user device, query whether user information corresponding to the keep-alive message exists in the second user plane device, feed back the confirmation message to the user device when the user information corresponding to the keep-alive message exists, and send the keep-alive message to the control plane device when the user information corresponding to the keep-alive message does not exist, where the control plane device is configured to respond to the keep-alive message.
30. The apparatus of claim 29,
the obtaining unit is further configured to receive the user information sent by the control plane device after the first user plane device is upgraded;
the receiving unit is further configured to receive a priority raising command sent by the control plane device, where the priority raising command is sent by the control plane device after the first user plane device is upgraded; increasing the first VRRP priority of the first user plane equipment according to the priority increasing command; when the first VRRP priority is higher than a second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a standby state to a main state;
the receiving unit is further configured to receive a second VRRP priority sent by the second user plane device, where the second VRRP priority is lowered after the second user plane device receives a priority lowering command of the control plane device, and the priority lowering command is sent by the control plane device after the first user plane device is upgraded; switching the VRRP state of the first user plane device from a standby state to a primary state when the second VRRP priority is lower than the first VRRP priority.
31. The apparatus of claim 30,
the receiving unit is further configured to receive a priority reduction command sent by the control plane device, where the priority reduction command is sent by the control plane device when the first user plane device is upgraded; reducing the first VRRP priority of the first user plane equipment according to the priority reduction command; when the first VRRP priority is lower than the second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a main state to a standby state;
the receiving unit is further configured to receive a second VRRP priority sent by the second user plane device, where the second VRRP priority is increased after the second user plane device receives a priority increase command of the control plane device, and the priority increase command is sent by the control plane device when the first user plane device is updated; switching the VRRP state of the first user plane device from a primary state to a standby state when the first VRRP priority of the first user plane device is lower than the second VRRP priority.
32. The apparatus of claim 29,
the receiving unit is further configured to send first state change information to the control plane device when detecting, through BFD, that the uplink failure of the first user plane device is recovered; receiving user information issued by the control surface equipment according to the first state change information; after the user information is sent, receiving a first switching notification sent by the control plane equipment; increasing a first VRRP priority of the first user plane device according to the first handover notification; when the first VRRP priority is higher than a second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a standby state to a main state;
the receiving unit is further configured to receive a second VRRP priority sent by the second user plane device, where the second VRRP priority is lower when the second user plane device receives a second handover notification sent by the control plane device, the second handover notification is sent after the control plane device completes issuing the user information to the first user plane device according to second state change information, and the second state change information is sent to the control plane device when the second user plane device detects, through BFD, that the downlink failure of the first user plane device or the first user plane device is recovered; switching the VRRP state of the first user plane device from a standby state to a primary state when the second VRRP priority is lower than the first VRRP priority of the first user plane device.
33. The apparatus of claim 29,
the receiving unit is further configured to reduce the first VRRP priority of the first user plane device after detecting that the uplink fails through BFD; when the first VRRP priority of the first user plane equipment is lower than the second VRRP priority of the second user plane equipment, switching the VRRP state of the first user plane equipment from a main state to a standby state;
the receiving unit is further configured to receive a second VRRP priority sent by the second user plane device, where the second VRRP priority is increased when the second user plane device detects, through BFD, that the downlink of the first user plane device or the first user plane device fails; switching the VRRP state of the first user plane device from a primary state to a standby state when the second VRRP priority is higher than the first VRRP priority of the first user plane device.
34. The apparatus of claim 32, wherein the BFD status is DOWN indicates a fault and the BFD status is UP indicates normal;
the BFD is configured with a delay UP time, and the delay duration of the delay UP time is longer than the duration of issuing the user information to the first user plane equipment by the control plane equipment.
35. A message feedback apparatus, configured to be used in a control plane device, the apparatus comprising:
a first sending unit, configured to send, when a first user plane device cannot provide a service, user information corresponding to the first user plane device to a second user plane device, where the second user plane device is configured to obtain, from a control plane device, the user information corresponding to the first user plane device when the first user plane device cannot provide the service, receive a keep-alive message sent by the user device, query whether user information corresponding to the keep-alive message exists in the second user plane device, feed back a confirmation message to the user device when the user information corresponding to the keep-alive message exists, and send, when the user information corresponding to the keep-alive message does not exist, the keep-alive message to the control plane device, where the control plane device is configured to respond to the keep-alive message;
a second sending unit, configured to send, to the first user plane device, user information corresponding to the second user plane device when the first user plane device recovers from failing to provide the service to providing the service, where the first user plane device is configured to receive a keep-alive message sent by the user device, and feed back a confirmation message to the user device according to the user information.
36. The apparatus of claim 35,
the first sending unit is further configured to send, to the second user plane device, user information corresponding to the first user plane device when the first user plane device is upgraded;
the first sending unit is further configured to send a priority reduction command to the first user plane device, where the first user plane device is configured to reduce a first VRRP priority of the first user plane device after receiving the priority reduction command, and switch a VRRP state of the first user plane device from a master state to a standby state when the first VRRP priority is lower than a second VRRP priority of the second user plane device;
the first sending unit is configured to send a priority raising command to the second user plane device, where the second user plane device is configured to raise a second VRRP priority of the second user plane device after receiving the priority raising command, and switch the VRRP state of the second user plane device from the standby state to the master state when the second VRRP priority is higher than the first VRRP priority of the first user plane device.
37. The apparatus of claim 35,
the second sending unit is further configured to send, to the first user plane device, user information corresponding to the second user plane device after the first user plane device is upgraded;
the second sending unit is further configured to send a priority raising command to the first user plane device, where the first user plane device is configured to raise a first VRRP priority of the first user plane device after receiving the priority raising command, and switch a VRRP state of the first user plane device from a standby state to a master state when the first VRRP priority is higher than a second VRRP priority of the second user plane device;
the second sending unit is further configured to send a priority reduction command to the second user plane device, where the second user plane device is configured to reduce a second VRRP priority of the second user plane device after receiving the priority reduction command, and switch the VRRP state of the second user plane device from the master state to the standby state when the second VRRP priority is lower than the first VRRP priority of the first user plane device.
38. The apparatus of claim 35,
the first sending unit is further configured to receive a VRRP status switching notification sent by the second user plane device, where the VRRP status switching notification is sent when a first VRRP priority of the first user plane device is lower than a second VRRP priority of the second user plane device; issuing user information corresponding to the first user plane equipment to the second user plane equipment; wherein the first VRRP priority is lowered after the first user plane equipment detects that the uplink fails through BFD; or the second VRRP priority is increased when the second user plane device detects, through BFD, that the first user plane device or the downlink of the first user plane device is malfunctioning.
39. The apparatus of claim 38,
the first sending unit is further configured to receive a keep-alive message of the user equipment sent by the second user plane equipment, where the keep-alive message is sent when the second user plane equipment queries that there is no user information corresponding to the keep-alive message; and feeding back a confirmation message to the user equipment according to the stored user information.
40. The apparatus of claim 35,
the first sending unit is further configured to receive first state change information sent by the first user plane device, where the first state change information is sent by the first user plane device when the first user plane device detects, through BFD, that an uplink failure of the first user plane device is recovered;
the first sending unit is further configured to receive second state change information sent by the second user plane device, where the second state change information is sent by the second user plane device when the second user plane device detects, through BFD, that the downlink failure of the first user plane device or the first user plane device is recovered;
the second sending unit is further configured to send a first switching notification to the first user plane device after the user information is completely issued, where the first switching notification is used to improve the first VRRP priority of the first user plane device;
the second sending unit is further configured to send a second switching notification to the second user plane device after the user information is completely issued, where the second switching notification is used to reduce a second VRRP priority of the second user plane device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611260865.7A CN106685818B (en) | 2016-12-30 | 2016-12-30 | Message feedback method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611260865.7A CN106685818B (en) | 2016-12-30 | 2016-12-30 | Message feedback method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106685818A CN106685818A (en) | 2017-05-17 |
CN106685818B true CN106685818B (en) | 2020-07-28 |
Family
ID=58848744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611260865.7A Active CN106685818B (en) | 2016-12-30 | 2016-12-30 | Message feedback method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106685818B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547675B (en) * | 2017-05-26 | 2020-11-06 | 新华三技术有限公司 | User equipment migration method and device |
CN108259633B (en) | 2017-05-31 | 2020-05-12 | 新华三技术有限公司 | Method, system and device for realizing management message three-layer communication |
CN108259453B (en) | 2017-05-31 | 2020-03-06 | 新华三技术有限公司 | Message forwarding method and device |
CN109218143B (en) * | 2017-07-03 | 2021-06-18 | 中国移动通信有限公司研究院 | Information processing method and device and computer readable storage medium |
CN107623593B (en) * | 2017-08-31 | 2021-06-15 | 北京华为数字技术有限公司 | Method and equipment for hot standby of dual computers based on CU separation |
CN108667695B (en) * | 2017-09-06 | 2020-12-29 | 新华三技术有限公司 | Backup method and device for BRAS transfer control separation |
CN108667575B (en) * | 2017-09-06 | 2021-04-27 | 新华三技术有限公司 | Backup method and device for BRAS transfer control separation |
CN108512703B (en) * | 2018-03-28 | 2021-08-24 | 新华三技术有限公司 | Backup method, device and equipment for BRAS transfer control separation and machine readable storage medium |
CN108616431B (en) * | 2018-04-20 | 2020-09-08 | 新华三技术有限公司 | Message processing method, device, equipment and machine readable storage medium |
CN110417761B (en) * | 2019-07-17 | 2021-12-17 | 上海东土远景工业科技有限公司 | Communication method and device based on dual-computer redundancy |
CN113746655B (en) * | 2020-05-30 | 2022-10-04 | 华为技术有限公司 | Backup state determination method, device and system |
CN114531337A (en) * | 2020-10-31 | 2022-05-24 | 华为技术有限公司 | Broadband connection method and device |
CN115150256A (en) * | 2021-03-16 | 2022-10-04 | 华为技术有限公司 | User online processing method and related device |
EP4358476A4 (en) * | 2021-07-08 | 2024-07-31 | Huawei Tech Co Ltd | Message processing method, apparatus and system, and computer-readable storage medium |
CN113542775B (en) * | 2021-07-15 | 2023-09-19 | 广州安思创信息技术有限公司 | Live broadcast keep-alive service system, live broadcast keep-alive management method, server and medium |
CN115811767A (en) * | 2021-09-11 | 2023-03-17 | 华为技术有限公司 | Message transceiving method, information acquisition and transceiving method and related equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1006702A2 (en) * | 1998-12-04 | 2000-06-07 | Nortel Networks Corporation | Method and apparatus providing for an improved VRRP (Virtual Router Redundancy Protocol) |
CN101094102A (en) * | 2007-07-18 | 2007-12-26 | 杭州华三通信技术有限公司 | Main and standby switching method and route standby system for route device |
CN102137021A (en) * | 2011-03-31 | 2011-07-27 | 北京傲天动联技术有限公司 | Remote redundancy back-up method of access controllers |
CN102447583A (en) * | 2012-01-04 | 2012-05-09 | 中兴通讯股份有限公司 | Hot standby method and device for network address conversion equipment |
CN102869059A (en) * | 2011-07-05 | 2013-01-09 | 中兴通讯股份有限公司 | Method for switching wireless access controllers (ACs) and wireless access point (AP) |
CN104080132A (en) * | 2013-03-25 | 2014-10-01 | 中国移动通信集团公司 | Data processing method and equipment |
CN105897486A (en) * | 2016-06-07 | 2016-08-24 | 武汉邮电科学研究院 | Hot backup method of SCTP |
CN106130898A (en) * | 2016-08-29 | 2016-11-16 | 北京神州绿盟信息安全科技股份有限公司 | A kind of virtual flow-line link support method and device |
-
2016
- 2016-12-30 CN CN201611260865.7A patent/CN106685818B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1006702A2 (en) * | 1998-12-04 | 2000-06-07 | Nortel Networks Corporation | Method and apparatus providing for an improved VRRP (Virtual Router Redundancy Protocol) |
CN101094102A (en) * | 2007-07-18 | 2007-12-26 | 杭州华三通信技术有限公司 | Main and standby switching method and route standby system for route device |
CN102137021A (en) * | 2011-03-31 | 2011-07-27 | 北京傲天动联技术有限公司 | Remote redundancy back-up method of access controllers |
CN102869059A (en) * | 2011-07-05 | 2013-01-09 | 中兴通讯股份有限公司 | Method for switching wireless access controllers (ACs) and wireless access point (AP) |
CN102447583A (en) * | 2012-01-04 | 2012-05-09 | 中兴通讯股份有限公司 | Hot standby method and device for network address conversion equipment |
CN104080132A (en) * | 2013-03-25 | 2014-10-01 | 中国移动通信集团公司 | Data processing method and equipment |
CN105897486A (en) * | 2016-06-07 | 2016-08-24 | 武汉邮电科学研究院 | Hot backup method of SCTP |
CN106130898A (en) * | 2016-08-29 | 2016-11-16 | 北京神州绿盟信息安全科技股份有限公司 | A kind of virtual flow-line link support method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106685818A (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106685818B (en) | Message feedback method and device | |
US10230684B2 (en) | Method, apparatus, and edge node controller for allocating edge node | |
US9722875B2 (en) | Master device, slave device, and methods thereof | |
US20040008694A1 (en) | Method for implementing router interface backup with virtual router redundancy protocol | |
US8213320B2 (en) | Method and switching device for stack port configuration | |
US20220334935A1 (en) | Hot standby method, apparatus, and system | |
CN101309165B (en) | Control method, apparatus and equipment for information reporting | |
JP5676605B2 (en) | Primary and standby protection system, method and routing device for user-side multicast service | |
CN102075343B (en) | An out-of-band management realization method, a system for the same and an out-of-band management switch | |
CN101729290A (en) | Method and device for realizing business system protection | |
JP5366177B2 (en) | Slot interface access device, method and program thereof, and redundant configuration and alternative method of main device | |
WO2009023996A1 (en) | Method for implementing network interconnect via link aggregation | |
CN101060533B (en) | A method, system and device for improving the reliability of VGMP protocol | |
JP2014512149A (en) | Packet processing method and router during server failure | |
CN100525378C (en) | Management method, system and device to update distributed set top box | |
WO2021135419A1 (en) | Method and apparatus for updating routing information, computer device, and storage medium | |
CN111371625A (en) | Method for realizing dual-computer hot standby | |
WO2017024697A1 (en) | Cross-network segment message forwarding method for dispatching automation system | |
JP2013030190A (en) | Slot interface access device, method and program thereof, and redundancy configuration and alternative method of main device | |
CN112214377B (en) | Equipment management method and system | |
EP3002906B1 (en) | Method and device for updating radio network controller | |
CN113904909B (en) | Network environment change self-adaption method and system of distributed agent management system | |
CN108833613B (en) | Method and system for implementing dynamic host configuration protocol | |
CN102255741B (en) | User service information backup method and device | |
US10749744B2 (en) | Enhanced performance of a telecommunications network comprising at least one group of pooled mobility management entities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |