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
- plane device
- user plane
- user
- vrrp
- priority
- 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 124
- 238000012790 confirmation Methods 0.000 claims abstract description 55
- 230000008859 change Effects 0.000 claims description 54
- 230000009467 reduction Effects 0.000 claims description 31
- 238000011084 recovery Methods 0.000 claims description 29
- 230000003111 delayed effect Effects 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 3
- 239000010410 layer Substances 0.000 description 23
- 238000001514 detection method Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 230000004044 response Effects 0.000 description 11
- 230000002776 aggregation Effects 0.000 description 10
- 238000004220 aggregation Methods 0.000 description 10
- 239000012792 core layer Substances 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 208000033748 Device issues Diseases 0.000 description 5
- 239000013256 coordination polymer Substances 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011144 upstream manufacturing Methods 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)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种报文反馈方法及装置。The present invention relates to the field of communication technologies, and in particular, to a message feedback method and device.
背景技术Background technique
如图1所示,宽带接入网通常包括:接入交换机110、BRAS(Broadband RemoteAccess Server Control Plane,宽带远程接入服务器)120以及上行网络设备130,用户设备140通过接入交换机110、BRAS 120、上行网络设备130接入到互联网150。As shown in FIG. 1 , the broadband access network generally includes: an
BRAS 120中通常包括主路由器(master)121和备路由器(backup)122,在主路由器121和备路由器122上配置VRRP(Virtual Router Redundancy Protocol,虚拟路由冗余协议)后,主路由器121和备路由器122虚拟为一台路由器,这台虚拟的路由器拥有虚拟的IP(Internet Protocol,网络之间互连的协议)地址和MAC(Media Access Control,媒体访问控制)地址,用户设备140感知的是这台虚拟路由器,对实际的主路由器121和备路由器122并不感知。通常两个路由器中VRRP优先级高的作为主路由器121,主路由器121实现真正的转发功能,当主路由器121出现故障时,备路由器122作为新的主路由器来接替故障的主路由器121的工作。为了保证故障的快速发现,在主路由器121和备路由器122上可以使用BFD(Bidirectional Forwarding Detection,双向转发检查)技术进行故障探测。主路由器121上的BFD与上行链路的接口绑定,用于探测主路由器121的上行链路的状态,上行链路是指主路由器121和上行网络设备130之间的链路;备路由器122上的BFD与主路由器121的IP绑定,用于探测主路由器121的下行链路的状态,下行链路是指主路由器121和接入交换机110之间的链路。BFD配置好之后,会定期发送检测报文给绑定的对端,当BFD检测到对端没有回应时,BFD的状态变为DOWN,表示故障,然后BFD会立刻通知VRRP进行主备切换。比如:当主路由器121通过BFD检测到上行链路的接口故障时,BFD状态变为DOWN,主路由器121中的BFD通知主路由器121中的VRRP降低第一VRRP优先级,使得备路由器122快速切换为主路由器;当备路由器122通过BFD检测到主路由器故障时,BFD状态变为DOWN,备路由器122中的BFD通知备路由器122中的VRRP提高第二VRRP优先级,使得备路由器122快速切换为主路由器。其中,第一VRRP优先级是主路由器的VRRP优先级,第二VRRP优先级是备路由器的VRRP优先级。The BRAS 120 usually includes a master router (master) 121 and a backup router (backup) 122. After VRRP (Virtual Router Redundancy Protocol) is configured on the
用户设备140在上线后,通过保活报文来保持在线状态。在BRAS 120进行主备切换时,BRAS 120接收用户设备140上报的保活报文,备路由器122在接收到用户设备140上报的保活报文时,需要查找到与用户设备140对应的用户信息,确认用户设备140已上线,然后向用户设备140反馈确认报文,从而保证用户设备140在主备切换时不掉线。现有技术中,用户设备140通过主路由器121上线后,主路由器121上的用户信息被实时同步到备路由器122上,当主路由器121发生故障时,备路由器122会立刻切换成新的主路由器,由于备路由器122中同步有用户设备140的用户信息,因此备路由器122在接收到用户设备140的保活报文后能够反馈确认报文,从而使得用户设备140不掉线。After the
为了保持用户不掉线,主路由器121上的用户信息需要实时备份到备路由器122上,以便在主路由器121发生故障时能够立即切换到备路由器122继续工作,而实时备份会过多占用备路由器122的设备资源。In order to keep users from being disconnected, the user information on the
发明内容SUMMARY OF THE INVENTION
为了解决现有技术中主路由器上的用户信息需要实时备份到备路由器上,导致过多占用备路由器的设备资源的问题,本发明实施例提供了一种报文反馈方法及装置。所述技术方案如下:In order to solve the problem in the prior art that the user information on the main router needs to be backed up to the standby router in real time, resulting in excessive occupation of equipment resources of the standby router, embodiments of the present invention provide a message feedback method and device. The technical solution is as follows:
第一方面,提供了一种报文反馈方法,该报文反馈方法应用在第二用户面设备中,当第一用户面设备由于升级或第一用户面设备所属链路发生故障导致第一用户面设备无法提供服务时,第二用户面设备从控制面设备获取第一用户面设备对应的用户信息,在第二用户面设备获取到用户信息后,第二用户面设备对接收到的用户设备发送的保活报文进行响应,向用户设备反馈确认报文。其中,第二用户面设备在第一用户面设备提供服务时的状态为备用状态,第一用户面设备和第二用户面设备用于实现用户拨号报文上送、转发表项的接收以及用户流量转发,控制面设备用于实现用户接入协议处理和用户管理。In a first aspect, a packet feedback method is provided. The packet feedback method is applied to a second user plane device. When the first user plane device is upgraded or a link to which the first user plane device belongs is faulty, the first user plane device is faulty. When the plane device cannot provide the service, the second user plane device obtains the user information corresponding to the first user plane device from the control plane device. After the second user plane device obtains the user information, the second user plane device communicates with the received user equipment. The sent keep-alive message responds, and an acknowledgement message is sent back to the user equipment. Wherein, the state of the second user plane device when the first user plane device provides services is a standby state, and the first user plane device and the second user plane device are used to implement user dial-up message upload, reception of forwarding entries, and user Traffic forwarding, and the control plane device is used to implement user access protocol processing and user management.
通过在第一用户面设备无法提供服务时,第二用户面设备从控制面设备获取第一用户面设备对应的用户信息,根据用户信息向发送保活报文的用户设备反馈确认报文,由于第二用户面设备不需要实时备份第一用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。When the first user plane device cannot provide services, 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 equipment that sent the keep-alive message according to the user information. The second user plane device does not need to back up 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 back up the user information of the user plane device in the main state in real time, so it will not generate too many users occupying the standby state. face device resource problems.
另外,由于第二用户面设备在接收到用户信息后,根据用户信息可以向发送保活报文的用户设备反馈确认报文,从而使得在第一用户面设备无法提供服务时,用户设备能够通过第二用户面设备继续上线。In addition, after receiving the user information, the second user plane device can feed back a confirmation message to the user equipment that sent the keep-alive message according to the user information, so that when the first user plane device cannot provide services, the user equipment can pass The second user plane device continues to go online.
在第一方面的第一种可能的实施方式中,第一用户面设备由于升级导致无法提供服务,第二用户面设备在第一用户面设备升级时接收控制面设备下发的第一用户面设备对应的用户信息。这里的升级时包括升级前的预定时长和升级过程,预定时长至少大于第二用户面设备接收控制面设备下发用户信息的时长。In a first possible implementation manner of the first aspect, the first user plane device cannot provide services due to an upgrade, and the second user plane device receives the first user plane delivered by the control plane device when the first user plane device is upgraded User information corresponding to the device. The upgrade here includes a predetermined duration before the upgrade and an upgrade process, and the predetermined duration is at least greater than the duration for the second user plane device to receive the user information delivered by the control plane device.
由于第一用户面设备在升级时无法提供服务,因此第一用户面设备在升级时,第二用户面设备接收控制面设备下发的第一用户面设备对应的用户信息,从而在第一用户面设备升级的过程中能够接替第一用户面设备进行用户流量的转发工作。由于第二用户面设备是在第一用户面设备升级前的预定时长就接收控制面设备下发的用户信息,并且预定时长大于控制面设备下发用户信息的时长,因此在第一用户面设备升级过程中,第二用户面设备中已经存储了用户信息,能够对用户设备发送的报文进行响应,从而使得用户设备在主备切换时不会掉线。Since the first user plane device cannot provide services 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 delivered by the control plane device, so that the first user plane device can During the upgrade process of the plane device, it can take over the forwarding work of the user traffic by the first user plane device. Because the second user plane device receives the user information delivered by the control plane device before the first user plane device is upgraded, and the predetermined time period is longer than the time period for which the control plane device delivers the user information, the first user plane device During the upgrade process, the user information has been stored in the second user plane device, and it can respond to the message sent by the user equipment, so that the user equipment will not be disconnected during active/standby switching.
结合第一方面或者第一方面的第一种可能的实施方式,在第二种可能的实施方式中,在第一用户面设备升级时,第二用户面设备从控制面设备获取到第一用户面设备对应的用户信息之后,第二用户面设备通过两种方式将第二用户面设备的VRRP状态从备用状态切换为主状态。第一种方式是第二用户面设备接收控制面设备发送的优先级提高命令,并根据优先级提高命令提高第二用户面设备的第二VRRP优先级;第二种方式是接收第一用户面设备发送的第一VRRP优先级,该第一VRRP优先级是第一用户面设备在接收到控制面设备发送的优先级降低命令后根据优先级降低命令将第一用户面设备原来的第一VRRP优先级降低后得到的。第一用户面设备与第二用户面设备之间通过VRRP通告报文交互后确定出第二用户面设备的第二VRRP优先级高于第一用户面设备的第一VRRP优先级,则第二用户面设备的VRRP状态从备用状态切换为主状态。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, the second user plane device acquires the first user from the control plane device After the user information corresponding to the plane device is stored, the second user plane device switches the VRRP state of the second user plane device from the standby state to the main state in two ways. The first way is that the second user plane device receives the priority increase command sent by the control plane device, and increases the second VRRP priority of the second user plane device according to the priority increase command; the second way is to receive the first user plane device. The first VRRP priority sent by the device, where the first VRRP priority is that after the first user plane device receives the priority reduction command sent by the control plane device, the original first VRRP of the first user plane device is changed according to the priority reduction command. Obtained after lowering the priority. After the first user plane device and the second user plane device exchange VRRP advertisement messages, it is determined that the second VRRP priority of the second user plane device is higher than the first VRRP priority of the first user plane device, then the second The VRRP state of the user plane device is switched from the standby state to the active state.
由于第二用户面设备在接收到第一用户面设备对应的用户信息之后,才接收到控制面设备法发送的优先级提高命令,或者接收到第一用户面设备根据优先级降低命令降低的第一VRRP优先级,然后第二用户面设备的VRRP状态由备用状态切换为主状态,第二用户面设备接替第一用户面设备继续提供服务,使得在切换时第二用户面设备中已经有用户信息,从而不会产生切换时由于第二用户面设备中没有用户信息使得用户流量被丢弃的情况。Because the second user plane device only receives the priority increase command sent by the control plane device method after receiving the user information corresponding to the first user plane device, or receives the first user plane device to reduce the priority according to the priority reduction command. A VRRP priority, then the VRRP state of the second user plane device is switched from the standby state to the main state, and the second user plane device takes over the first user plane device and continues to provide services, so that there are already users in the second user plane device during the switchover. information, so that there is no situation in which user traffic is discarded during handover because there is no user information in the second user plane device.
结合第一方面、第一方面的第一种可能的实施方式或者第一方面的第二种可能的实施方式,在第三种可能的实施方式中,在第一用户面设备升级完毕时,第二用户面设备通过两种方式将第二用户面设备的VRRP状态从主状态切换为备用状态。第一种方式是第二用户面设备接收控制面设备发送的优先级降低命令,并根据优先级降低命令降低第二用户面设备的第二VRRP优先级;第二种方式是接收第一用户面设备发送的第一VRRP优先级,该第一VRRP优先级是第一用户面设备根据控制面设备发送的优先级提高命令后将第一用户面设备的第一VRRP优先级提高后得到的。第一用户面设备与第二用户面设备之间通过VRRP通告报文交互后确定出第一用户面设备的第一VRRP优先级高于第二用户面设备的第二VRRP优先级,则第二用户面设备的VRRP状态从主状态切换为备用状态。其中,第二用户面设备接收到控制面设备发送的优先级降低命令,或第一用户面设备接收到控制面设备发送的优先级提高命令,均是在第一用户面设备升级完毕后接收到控制面设备下发的用户信息后执行的。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 the third possible implementation manner, when the first user plane device is upgraded, the 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 method is that the second user plane device receives the priority reduction command sent by the control plane device, and reduces the second VRRP priority of the second user plane device according to the priority reduction command; the second method is to receive the first user plane device. The first VRRP priority sent by the device, where the first VRRP priority is obtained after the first user plane device increases the first VRRP priority of the first user plane device according to the priority increase command sent by the control plane device. After the first user plane device and the second user plane device exchange VRRP advertisement messages, it is determined that the first VRRP priority of the first user plane device is higher than the second VRRP priority of the second user plane device, then the second The VRRP state of the user plane device is switched from the active state to the standby state. The second user plane device receives the priority reduction command sent by the control plane device, or the first user plane device receives the priority increase command sent by the control plane device, both of which are received after the first user plane device is upgraded. Executed after the user information delivered by the control plane device.
由于第一用户面设备升级完毕后,第一用户面设备在接收到用户信息后,控制面设备才对第一用户面设备下发优先级提高命令,或对第二用户面设备下发优先级降低命令,使得在第一用户面设备升级完毕后,第一用户面设备中在存储有用户信息的情况下才将第二用户面设备的VRRP状态由主状态切换为备用状态,而第一用户面设备的VRRP状态由备用状态切换为主状态,第一用户面设备接替第二用户面设备继续提供服务,使得在切换时第一用户面设备中已经有用户信息,从而不会产生切换时由于第一用户面设备中没有用户信息使得用户流量被丢弃的情况。After the upgrade of the first user plane device is completed, after the first user plane device receives the user information, the control plane device issues a priority increase command to the first user plane device, or issues a priority to the second user plane device. The lowering command, so that after the upgrade of the first user plane device is completed, the VRRP state of the second user plane device is switched from the main state to the standby state only when user information is stored in the first user plane device. The VRRP state of the plane device is switched from the standby state to the main state, and the first user plane device takes over the second user plane device to continue to provide services, so that the first user plane device already has user information during the handover. There is no user information in the first user plane device, so that user traffic is discarded.
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式或者第一方面的第三种可能的实施方式,在第四种可能的实施方式中,在第一用户面设备所在链路由于故障导致第一用户面设备无法提供服务时,第二用户面设备的VRRP状态从备用状态切换为主状态,并向控制面设备发送VRRP状态切换通知,然后接收控制面设备下发的第一用户面设备对应的用户信息。其中,用户信息是控制面设备接收到第二用户面设备发送的VRRP状态切换通知后发送的。In combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, or the third possible implementation of the first aspect, in the fourth possible implementation , when the first user plane device cannot provide services due to a failure of the link where the first user plane device is located, the VRRP state of the second user plane device is switched from the standby state to the main state, and a VRRP state switching notification is sent to the control plane device, Then, the user information corresponding to the first user plane device delivered by the control plane device is received. The user information is sent after the control plane device receives the VRRP state switching notification sent by the second user plane device.
由于在第一用户面设备所在链路发生故障时,第二用户面设备的VRRP状态从备用状态切换为主状态,并向控制面设备发送状态切换通知请求下发用户信息,使得在由于故障第一用户面设备无法提供服务时,第二用户面设备能够继续提供服务,实现对用户流量的转发。When the link on which 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 is sent to the control plane device to request to deliver user information. When one user plane device cannot provide services, the second user plane device can continue to provide services, so as to realize the forwarding of user traffic.
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式或者第一方面的第四种可能的实施方式,在第五种可能的实施方式中,第二用户面设备在通过BFD探测到第一用户面设备或第一用户面设备的下行链路发生时,自行提高第二用户面设备的第二VRRP优先级,使得第二VRRP优先级高于第一用户面设备的第一VRRP优先级,然后第二用户面设备将VRRP状态由备用状态切换为主状态;当第一用户面设备通过BFD探测到第一用户面设备的上行链路发生故障时,第一用户面设备自行降低第一VRRP优先级,使得第一VRRP优先级低于第二用户面设备的第二VRRP优先级,然后第二用户面设备接收到降低后的第一VRRP优先级,将第二用户面设备的VRRP状态从备用状态切换为主状态。In combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, or the fourth possible implementation of the first aspect Implementation mode, in a fifth possible implementation manner, when the second user plane device detects that the first user plane device or the downlink of the first user plane device occurs through BFD, the second user plane device automatically increases the number of the second user plane device. Two VRRP priorities, 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 main state; when the first user plane device passes BFD When detecting that the uplink of the first user plane device fails, the first user plane device lowers the first VRRP priority by itself, so that the first VRRP priority is lower than the second VRRP priority of the second user plane device, and then the first VRRP priority is lower than the second VRRP priority of the second user plane device. The second user plane device receives the reduced first VRRP priority, and switches the VRRP state of the second user plane device from the standby state to the main state.
由于在第一用户面设备的上行链路发生故障时,第一用户面设备能够通过BFD探测到上行链路故障,并自行降低第一VRRP优先级,在第一用户面设备或第一用户面设备的下行链路发生故障时,第二用户面设备能够通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障,并自行提高第二VRRP优先级,最终使得第一VRRP优先级低于第二VRRP优先级,从而使得第二用户面设备的VRRP状态由备用状态切换为主状态,接替第一用户面设备继续提供服务。Because when the uplink of the first user plane device fails, the first user plane device can detect the uplink failure through BFD and lower the priority of the first VRRP by itself. When the downlink of the device fails, the second user plane device can detect the downlink failure of the first user plane device or the first user plane device through BFD, and automatically increase the priority of the second VRRP, and finally make the first VRRP The priority is lower than the second VRRP priority, so that the VRRP state of the second user plane device is switched from the standby state to the main state, and the first user plane device continues to provide services.
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式或者第一方面的第五种可能的实施方式,在第六种可能的实施方式中,在第一用户面设备不能提供服务时,第二用户面设备在接收到用户设备发送的保活报文时,查询是否存储有与保活报文对应的用户信息,若存在,则第二用户面设备根据用户信息向发送保活报文的用户设备发送确认报文;若不存在,则第二用户面设备将保活报文发送给控制面设备,由控制面设备根据用户信息向用户设备发送确认报文。其中,在用户设备上线后,控制面设备中存储有该用户设备全部的用户信息,提供服务的用户面设备中存储有该用户设备的与用户流量转发相关的用户信息。Combining the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, the fourth possible implementation of the first aspect Implementation manner or the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner, when the first user plane device cannot provide the service, the second user plane device receives the keep-alive sent by the user equipment. When sending a message, query whether the user information corresponding to the keep-alive message is stored. If it exists, the second user plane device sends a confirmation message to the user equipment that sent the keep-alive message according to the user information; The second user plane device sends the keep-alive message to the control plane device, and the control plane device sends a confirmation message to the user equipment according to the user information. After the user equipment goes online, the control plane device stores all the user information of the user equipment, and the user plane device that provides the service stores user information related to user traffic forwarding of the user equipment.
由于第二用户面设备在接收到用户设备发送的保活报文时,先查询自身是否存储有与保活报文对应的用户信息,第二用户面设备在查询不到对应的用户信息时,将保活报文上报给控制面设备进行回应,使得在第二用户面设备接收到用户信息之前,用户设备依然能够接收到确认报文,从而使得用户设备不会掉线。Because when the second user plane device receives the keep-alive message sent by the user equipment, it first checks whether it stores the user information corresponding to the keep-alive message. The keep-alive message is reported to the control plane device for response, so that the user equipment can still receive the confirmation message before the second user plane device receives the user information, so that the user equipment will not be disconnected.
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式、第一方面的第五种可能的实施方式或者第一方面的第六种可能的实施方式,在第七种可能的实施方式中,当第一用户面设备的上行链路故障恢复时,第一用户面设备通过BFD探测到上行链路故障恢复后,向控制面设备发送第一状态变化信息,告知控制面设备第一用户面设备恢复正常,能够提供服务。控制面设备在接收到第一状态变化信息后,向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后,控制面设备向第一用户面设备发送第一切换通知,用于通知第一用户面设备提高第一VRRP优先级,使得第一VRRP优先级高于第二VRRP优先级,第二用户面设备在接收到第一VRRP优先级后,将VRRP状态由主状态切换回备用状态。当第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障恢复后,向控制面设备发送第二状态变化信息,告知控制面设备第一用户面设备恢复正常,控制面设备在接收到第二状态变化信息后,向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后,控制面设备向第二用户面设备发送第二切换通知,用于通知第二用户面设备降低第二VRRP优先级,使得第二VRRP优先级低于第一VRRP优先级,第二用户面设备将VRRP状态由主状态切换回备用状态。Combining the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, the fourth possible implementation of the first aspect implementation manner, the fifth possible implementation manner of the first aspect, or the sixth possible implementation manner of the first aspect, in the seventh possible implementation manner, when the uplink failure of the first user plane device recovers , after the first user plane device detects the recovery of the uplink failure through BFD, it sends first state change information to the control plane device, informing the control plane device that the first user plane device is back to normal and can provide services. After receiving the first state change information, the control plane device delivers the user information corresponding to the second user plane device to the first user plane device, and after the user information is delivered, the control plane device sends the first user plane device to the first user plane device. A handover notification, used to notify the first user plane device to increase the first VRRP priority, so that the first VRRP priority is higher than the second VRRP priority. After receiving the first VRRP priority, the second user plane device The state is switched from the primary state back to the standby state. When the downlink failure of the first user plane device or the first user plane device recovers, the second user plane device detects the recovery of the downlink failure of the first user plane device or the first user plane device through BFD, and reports to the control The plane device sends the second state change information to inform the control plane device that the first user plane device is back to normal. After receiving the second state change information, the control plane device delivers the user corresponding to the second user plane device to the first user plane device. information, after the user information is delivered, the control plane device sends a second handover notification to the second user plane device to notify the second user plane device to lower the second VRRP priority so that the second VRRP priority is lower than the first VRRP priority, the second user plane device switches the VRRP state from the active state to the standby state.
由于在第一用户面设备所在链路故障恢复时,对于第一用户面设备的上行链路,第一用户面设备能够通过BFD探测到故障恢复,对于第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备能够通过BFD探测到故障恢复,通过告知控制面设备第一用户面设备所在链路故障恢复,控制面设备向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后通知第二用户面设备由主状态切换为备用状态,使得在第一用户面设备所在链路故障恢复时,第一用户面设备能够切换回主状态继续提供服务。When the link on which the first user plane device is located recovers from a fault, for the uplink of the first user plane device, the first user plane device can detect the fault recovery through BFD. For the first user plane device or the first user plane device When the downlink fails to recover, the second user plane device can detect the failure recovery through BFD, and by notifying the control plane device that the link where the first user plane device is located has recovered from the failure, the control plane device sends the second user plane device to the first user plane device. The user information corresponding to the user plane device is notified after the user information is delivered to the second user plane device to switch from the main state to the standby state, so that when the link where the first user plane device is located is restored, the first user plane device can switch Return to the main state to continue to provide services.
另外,由于控制面设备先下发用户信息,再发送切换通知,使得第一用户面设备在故障恢复切换回主状态时,不会产生用户流量丢失的问题。In addition, because the control plane device delivers user information first, and then sends the switching notification, so that the problem of user traffic loss will not occur when the first user plane device switches back to the primary state after failure recovery.
结合第一方面、第一方面的第一种可能的实施方式、第一方面的第二种可能的实施方式、第一方面的第三种可能的实施方式、第一方面的第四种可能的实施方式、第一方面的第五种可能的实施方式、第一方面的第六种可能的实施方式或者第一方面的第七种可能的实施方式,在第八种可能的实施方式中,在第一用户面设备和第二用户面设备上的BFD配置有延迟UP时间,并且延迟UP时间的时长大于控制面设备向第一用户面设备下发用户信息的时长。其中,UP是BFD的一种状态,表示正常,对应的,在发生故障时,BFD的状态为DOWN。Combining the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, the fourth possible implementation of the first aspect implementation, the fifth possible implementation of the first aspect, the sixth possible implementation of the first aspect, or the seventh possible implementation of the first aspect, in the eighth possible implementation, in The BFDs on the first user plane device and the second user plane device are configured with a delay UP time, and the duration of the delay UP time is longer than the time period for the control plane device to deliver user information to the first user plane device. Among them, UP is a state of the BFD, which means normal. Correspondingly, when a fault occurs, the state of the BFD is DOWN.
通过为BFD配置延迟UP时间,使得在第一用户面设备所在链路故障恢复时,BFD的状态不会立刻切换为正常,避免了在第一用户面设备中还没有接收到用户信息的情况下切换回主状态提供服务时,导致用户流量丢失的问题。By configuring the delay UP time for BFD, when the link where the first user plane device is located recovers from failure, the state of BFD will not be switched to normal immediately, avoiding the situation that the first user plane device has not received user information. When switching back to the main state to provide services, user traffic is lost.
另外,由于延迟UP时间的时长大于控制面设备下发用户信息的时长,使得第二用户面设备不会在用户信息未全部下发给第一用户面设备的情况下就切换回备用状态,避免了第一用户面设备在提供服务时导致部分用户流量丢失的情况。In addition, since the duration of the delayed UP time is longer than the duration of the control plane device delivering the user information, the second user plane device will not switch back to the standby state when the user information is not all delivered to the first user plane device, avoiding The situation in which the first user plane device causes part of user traffic to be lost when providing services is solved.
第二方面,提供了一种报文反馈方法,该报文反馈方法应用在第一用户面设备中,当第一用户面设备由无法提供服务恢复为提供服务状态时,即第一用户面设备所在链路恢复正常时,第一用户面设备从控制面设备获取第二用户面设备对应的用户信息,当第一用户面设备接收到用户设备发送的保活报文时,第一用户面设备根据接收到的用户信息向发送保活报文的用户设备发送确认报文。其中,第一用户面设备在第二用户面设备提供服务时的状态为备用状态,即第一用户面设备在第一用户面设备无法提供服务时的状态为备用状态,第一用户面设备和第二用户面设备用于实现用户拨号报文上送、转发表项的接收以及用户流量转发,控制面设备用于实现用户接入协议处理和用户管理。In a second aspect, a message feedback method is provided. The message feedback method is applied to the first user plane device. When the first user plane device recovers from being unable to provide a service to a state of providing a service, that is, the first user plane device When the link where the link is located returns to normal, the first user plane device obtains user information corresponding to the second user plane device from the control plane device, and when the first user plane device receives the keep-alive message sent by the user equipment, the first user plane device Send a confirmation message to the user equipment that sends the keep-alive message according to the received user information. The state of the first user plane device when the second user plane device provides the service is the standby state, that is, the state of the first user plane device when the first user plane device cannot provide the service is the standby state, and the first user plane device and the first user plane device are in the standby state. The second user plane device is used to implement user dial-up message uploading, reception of forwarding entries, and user traffic forwarding, and the control plane device is used to implement user access protocol processing and user management.
通过在第一用户面设备从无法提供服务恢复为提供服务状态时,第一用户面设备从控制面设备获取第二用户面设备对应的用户信息,根据用户信息向发送保活报文的用户设备反馈确认报文,由于第一用户面设备在无法提供服务时不需要实时备份第二用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。When the first user plane device recovers from being unable to provide services to providing services, the first user plane device obtains user information corresponding to the second user plane device from the control plane device, and sends the keep-alive message to the user equipment according to the user information. The confirmation message is fed back, because the first user plane device does not need to back up the user information of the second user plane device in real time when it cannot provide services, that is, the user plane device in the standby state does not need to back up the user information of the user plane device in the main state in real time. Therefore, the problem of excessively occupying the resources of the user plane equipment in the standby state will not arise.
另外,由于第一用户面设备在接收到用户信息后,根据用户信息可以向发送保活报文的用户设备反馈确认报文,从而使得在第一用户面设备恢复提供服务时,用户设备能够通过第一用户面设备继续上线。In addition, after receiving the user information, the first user plane device can feed back a confirmation message to the user equipment that sent the keep-alive message according to the user information, so that when the first user plane device resumes providing services, the user equipment can pass The first user plane device continues to go online.
在第二方面的第一种可能的实施方式中,在第一用户面设备升级完毕时,第一用户面设备通过两种方式将第一用户面设备的VRRP状态从备用状态切换为主状态。第一种方式是第一用户面设备接收控制面设备发送的优先级提高命令,并根据优先级提高命令提高第一用户面设备的第一VRRP优先级;第二种方式是接收第二用户面设备发送的第二VRRP优先级,该第二VRRP优先级是第二用户面设备根据控制面设备发送的优先级降低命令后将第二用户面设备的第二VRRP优先级降低后得到的。第一用户面设备与第二用户面设备之间通过VRRP通告报文交互后确定出第一用户面设备的第一VRRP优先级高于第二用户面设备的第二VRRP优先级,则第一用户面设备的VRRP状态从备用状态切换为主状态。其中,第一用户面设备接收到控制面设备发送的优先级提高命令,或第二用户面设备接收到控制面设备发送的优先级降低命令,均是在第一用户面设备升级完毕后接收到控制面设备下发的用户信息后执行的。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 method is that the first user plane device receives the priority increase command sent by the control plane device, and increases the first VRRP priority of the first user plane device according to the priority increase command; the second method is to receive the second user plane device. The second VRRP priority sent by the device, where the second VRRP priority is obtained after the second user plane device lowers the second VRRP priority of the second user plane device according to the priority lowering command sent by the control plane device. After the first user plane device and the second user plane device exchange VRRP advertisement messages, it is determined that the first VRRP priority of the first user plane device is higher than the second VRRP priority of the second user plane device, then the first The VRRP state of the user plane device is switched from the standby state to the active state. The first user plane device receives the priority increasing command sent by the control plane device, or the second user plane device receives the priority decreasing command sent by the control plane device, both of which are received after the first user plane device is upgraded. Executed after the user information delivered by the control plane device.
由于第一用户面设备升级完毕后,第一用户面设备在接收到用户信息后,控制面设备才对第一用户面设备下发优先级提高命令,或对第二用户面设备下发优先级降低命令,使得在第一用户面设备升级完毕后,第一用户面设备中在存储有用户信息的情况下才将第一用户面设备的VRRP状态由备用状态切换为主状态,而第二用户面设备的VRRP状态由主状态切换为备用状态,第一用户面设备接替第二用户面设备继续提供服务,使得在切换时第一用户面设备中已经有用户信息,从而不会产生切换时由于第一用户面设备中没有用户信息使得用户流量被丢弃的情况。After the upgrade of the first user plane device is completed, after the first user plane device receives the user information, the control plane device issues a priority increase command to the first user plane device, or issues a priority to the second user plane device. The lowering command, so that after the upgrade of the first user plane device is completed, the VRRP state of the first user plane device is switched from the standby state to the main state only when the user information is stored in the first user plane device, and the second user The VRRP state of the plane device is switched from the main state to the standby state, and the first user plane device takes over the second user plane device to continue to provide services, so that the first user plane device already has user information during the handover, so there will be no There is no user information in the first user plane device, so that user traffic is discarded.
结合第二方面或者第二方面的第一种可能的实施方式,在第二种可能的实施方式中,在第一用户面设备升级时,第二用户面设备从控制面设备获取到第一用户面设备对应的用户信息之后,第一用户面设备通过两种方式将第一用户面设备的VRRP状态从主状态切换为备用状态。第一种方式是第一用户面设备接收控制面设备发送的优先级降低命令,并根据优先级降低命令降低第一用户面设备的第一VRRP优先级;第二种方式是接收第二用户面设备发送的第二VRRP优先级,该第二VRRP优先级是第二用户面设备在接收到控制面设备发送的优先级提高命令后根据优先级提高命令将第二用户面设备原来的第二VRRP优先级提高后得到的。第一用户面设备与第二用户面设备之间通过VRRP通告报文交互后确定出第二用户面设备的第二VRRP优先级高于第一用户面设备的第一VRRP优先级,则第一用户面设备的VRRP状态从主状态切换为备用状态。With reference to the second aspect or the first possible implementation manner of the second aspect, in the second possible implementation manner, when the first user plane device is upgraded, the second user plane device acquires the first user from the control plane device After the user information corresponding to the plane device is stored, 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 method is that the first user plane device receives the priority reduction command sent by the control plane device, and reduces the first VRRP priority of the first user plane device according to the priority reduction command; the second method is to receive the second user plane device. The second VRRP priority sent by the device, where the second VRRP priority is that after the second user plane device receives the priority increase command sent by the control plane device, according to the priority increase command, the original second VRRP of the second user plane device is changed. Obtained after the priority has been raised. After the first user plane device and the second user plane device exchange VRRP advertisement messages, it is determined that the second VRRP priority of the second user plane device is higher than the first VRRP priority of the first user plane device. The VRRP state of the user plane device is switched from the active state to the standby state.
由于第二用户面设备在接收到第一用户面设备对应的用户信息之后,才接收到控制面设备法发送的优先级提高命令,或者接收到第一用户面设备根据优先级降低命令降低的第一VRRP优先级,然后第一用户面设备的VRRP状态由主状态切换为备用状态,第二用户面设备接替第一用户面设备继续提供服务,使得在切换时第二用户面设备中已经有用户信息,从而不会产生切换时由于第二用户面设备中没有用户信息使得用户流量被丢弃的情况。Because the second user plane device only receives the priority increase command sent by the control plane device method after receiving the user information corresponding to the first user plane device, or receives the first user plane device to reduce the priority according to the priority reduction command. A VRRP priority, and then the VRRP state of the first user plane device is switched from the main state to the standby state, and the second user plane device takes over the first user plane device and continues to provide services, so that there are already users in the second user plane device when switching information, so that there is no situation in which user traffic is discarded during handover because there is no user information in the second user plane device.
结合第二方面、第二方面的第一种可能的实施方式或者第二方面的第二种可能的实施方式,在第三种可能的实施方式中,当第一用户面设备的上行链路故障恢复时,第一用户面设备通过BFD探测到上行链路故障恢复后,向控制面设备发送第一状态变化信息,告知控制面设备第一用户面设备恢复正常,能够提供服务。控制面设备在接收到第一状态变化信息后,向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后,控制面设备向第一用户面设备发送第一切换通知,用于通知第一用户面设备提高第一VRRP优先级,使得第一VRRP优先级高于第二VRRP优先级,第一用户面设备将VRRP状态由备用状态切换回主状态。当第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障恢复后,向控制面设备发送第二状态变化信息,告知控制面设备第一用户面设备恢复正常,控制面设备在接收到第二状态变化信息后,向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后,控制面设备向第二用户面设备发送第二切换通知,用于通知第二用户面设备降低第二VRRP优先级,使得第二VRRP优先级低于第一VRRP优先级,第一用户面设备在接收到第二VRRP优先级时,将第一用户面设备的VRRP状态由备用状态切换回主状态。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 the third possible implementation manner, when the uplink of the first user plane device fails During recovery, after detecting that the uplink fault has recovered through BFD, the first user plane device sends first state change information to the control plane device, informing the control plane device that the first user plane device is back to normal and can provide services. After receiving the first state change information, the control plane device delivers the user information corresponding to the second user plane device to the first user plane device, and after the user information is delivered, the control plane device sends the first user plane device to the first user plane device. A switching notification is used to notify the first user plane device to increase the first VRRP priority so that the first VRRP priority is higher than the second VRRP priority, and the first user plane device switches the VRRP state from the standby state to the main state. When the downlink failure of the first user plane device or the first user plane device recovers, the second user plane device detects the recovery of the downlink failure of the first user plane device or the first user plane device through BFD, and reports to the control The plane device sends the second state change information to inform the control plane device that the first user plane device is back to normal. After receiving the second state change information, the control plane device delivers the user corresponding to the second user plane device to the first user plane device. information, after the user information is delivered, the control plane device sends a second handover notification to the second user plane device to notify the second user plane device to lower the second VRRP priority so that the second VRRP priority is lower than the first VRRP priority, when the first user plane device receives the second VRRP priority, it switches the VRRP state of the first user plane device from the standby state to the main state.
由于在第一用户面设备所在链路故障恢复时,对于第一用户面设备的上行链路,第一用户面设备能够通过BFD探测到故障恢复,对于第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备能够通过BFD探测到故障恢复,通过告知控制面设备第一用户面设备所在链路故障恢复,控制面设备向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后通知第一用户面设备由备用状态切换为主状态,使得在第一用户面设备所在链路故障恢复时,第一用户面设备能够切换回主状态继续提供服务。When the link on which the first user plane device is located recovers from a fault, for the uplink of the first user plane device, the first user plane device can detect the fault recovery through BFD. For the first user plane device or the first user plane device When the downlink fails to recover, the second user plane device can detect the failure recovery through BFD, and by notifying the control plane device that the link where the first user plane device is located has recovered from the failure, the control plane device sends the second user plane device to the first user plane device. The user information corresponding to the user plane device is notified after the user information is delivered to the first user plane device to switch from the standby state to the main state, so that when the link where the first user plane device is located is restored, the first user plane device can switch over Return to the main state to continue to provide services.
另外,由于控制面设备先下发用户信息,再发送切换通知,使得第一用户面设备在故障恢复切换回主状态时,不会产生用户流量丢失的问题。In addition, because the control plane device delivers user information first, and then sends the switching notification, so that the problem of user traffic loss will not occur when the first user plane device switches back to the primary state after failure recovery.
结合第二方面、第二方面的第一种可能的实施方式、第二方面的第二种可能的实施方式或者第二方面的第三种可能的实施方式,在第四种可能的实施方式中,当第一用户面设备通过BFD探测到第一用户面设备的上行链路发生故障时,第一用户面设备自行降低第一VRRP优先级,使得第一VRRP优先级低于第二用户面设备的第二VRRP优先级,然后第一用户面设备将第一用户面设备的VRRP状态从主状态切换为备用状态;第二用户面设备在通过BFD探测到第一用户面设备或第一用户面设备的下行链路发生时,自行提高第二用户面设备的第二VRRP优先级,使得第二VRRP优先级高于第一用户面设备的第一VRRP优先级,然后第一用户面设备在接收到第二VRRP优先级时,第一用户面设备将VRRP状态由主状态切换为备用状态。In combination with the second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, or the third possible implementation of the second aspect, in the fourth possible implementation , when the first user plane device detects that the uplink of the first user plane device is faulty through BFD, the first user plane device reduces the priority of the first VRRP by itself, so that the priority of the first VRRP is lower than that of the second user plane device Then the first user plane device switches the VRRP state of the first user plane device from the main state to the standby state; the second user plane device detects the first user plane device or the first user plane device through BFD. When the downlink of the device occurs, it 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 first user plane device receives When the second VRRP priority is reached, the first user plane device switches the VRRP state from the main state to the standby state.
由于在第一用户面设备的上行链路发生故障时,第一用户面设备能够通过BFD探测到上行链路故障,并自行降低第一VRRP优先级,在第一用户面设备或第一用户面设备的下行链路发生故障时,第二用户面设备能够通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障,并自行提高第二VRRP优先级,最终使得第一VRRP优先级低于第二VRRP优先级,从而使得第一用户面设备的VRRP状态由主状态切换为备用状态,使得第二用户面设备接替第一用户面设备继续提供服务。Because when the uplink of the first user plane device fails, the first user plane device can detect the uplink failure through BFD and lower the priority of the first VRRP by itself. When the downlink of the device fails, the second user plane device can detect the downlink failure of the first user plane device or the first user plane device through BFD, and automatically increase the priority of the second VRRP, and finally make the first VRRP The priority is lower than the second VRRP priority, so that the VRRP state of the first user plane device is switched from the main state to the standby state, so that the second user plane device takes over the first user plane device and continues to provide services.
结合第二方面、第二方面的第一种可能的实施方式、第二方面的第二种可能的实施方式、第二方面的第三种可能的实施方式或者第二方面的第四种可能的实施方式,在第五种可能的实施方式中,在第一用户面设备和第二用户面设备上的BFD配置有延迟UP时间,并且延迟UP时间的时长大于控制面设备向第一用户面设备下发用户信息的时长。其中,UP是BFD的一种状态,表示正常,对应的,在发生故障时,BFD的状态为DOWN。Combining the second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, the third possible implementation of the second aspect, or the fourth possible implementation of the second aspect Implementation mode, in a fifth possible implementation manner, the BFD on the first user plane device and the second user plane device is configured with a delay UP time, and the duration of the delay UP time is longer than that from the control plane device to the first user plane device. The duration for delivering user information. Among them, UP is a state of the BFD, which means normal. Correspondingly, when a fault occurs, the state of the BFD is DOWN.
通过为BFD配置延迟UP时间,使得在第一用户面设备所在链路故障恢复时,BFD的状态不会立刻切换为正常,避免了在第一用户面设备中还没有接收到用户信息的情况下切换回主状态提供服务时,导致用户流量丢失的问题。By configuring the delay UP time for BFD, when the link where the first user plane device is located recovers from failure, the state of BFD will not be switched to normal immediately, avoiding the situation that the first user plane device has not received user information. When switching back to the main state to provide services, user traffic is lost.
另外,由于延迟UP时间的时长大于控制面设备下发用户信息的时长,使得第一用户面设备不会在用户信息未全部下发给第一用户面设备的情况下就切换回主状态,避免了第一用户面设备在提供服务时导致部分用户流量丢失的情况。In addition, since the duration of the delayed UP time is longer than the duration of the control plane device delivering the user information, the first user plane device will not switch back to the main state when the user information is not all delivered to the first user plane device, avoiding The situation in which the first user plane device causes part of user traffic to be lost when providing services is solved.
第三方面,提供了一种报文反馈方法,该报文反馈方法应用在控制面设备中,在第一用户面设备由于升级或所在链路故障无法提供服务时,控制面设备向第二用户面设备发送第一用户面设备对应的用户信息,第二用户面设备在接收到用户信息后,当第二用户面信息接收到用户设备发送的保活报文时,根据用户信息向发送保活报文的用户设备发送确认报文;当第一用户面设备在升级完毕或故障恢复,从无法提供服务恢复为提供服务状态时,控制面设备向第一用户面设备发送第二用户面设备对应的用户信息,第一用户面设备在接收到用户信息后,当第一用户面设备接收到用户设备发送的保活报文时,根据用户信息向发送保活报文的用户设备发送确认报文。其中,第二用户面设备在第一用户面设备提供服务时的状态为备用状态,第二用户面设备在第一用户面设备无法提供服务时的状态为主状态,第一用户面设备和第二用户面设备用于实现用户拨号报文上送、转发表项的接收以及用户流量转发,控制面设备用于实现用户接入协议处理和用户管理。In a third aspect, a message feedback method is provided. The message feedback method is applied to a control plane device. When the first user plane device cannot provide services due to an upgrade or a link failure, the control plane device reports to the second user The plane device sends the user information corresponding to the first user plane device. After the second user plane device receives the user information, when the second user plane information receives the keep-alive message sent by the user equipment, it sends the keep-alive message to the sender according to the user information. The user equipment of the message sends an acknowledgment message; when the first user plane device has been upgraded or recovered from a fault, and returns from being unable to provide services to providing services, the control plane device sends the second user plane device to the first user plane device. After receiving the user information, when the first user plane device receives the keep-alive message sent by the user equipment, it sends an acknowledgement message to the user equipment that sent the keep-alive message according to the user information. . The state of the second user plane device when the first user plane device provides the service is the standby state, the state of the second user plane device when the first user plane device cannot provide the service is the main state, the first user plane device and the second user plane device are in the main state. The two user plane devices are used to implement user dial-up message upload, receive forwarding entries, and user traffic forwarding, and the control plane devices are used to implement user access protocol processing and user management.
通过在第一用户面设备无法提供服务时,控制面设备向第二用户面设备发送第一用户面设备对应的用户信息,使得第二用户面设备根据用户信息向发送保活报文的用户设备反馈确认报文,由于第二用户面设备不需要实时备份第一用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。When the first user plane device cannot provide services, the control plane device sends the user information corresponding to the first user plane device to the second user plane device, so that the second user plane device can send the keep-alive message to the user equipment according to the user information. Feedback confirmation message, because the second user plane device does not need to back up 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 back up the user information of the user plane device in the main state in real time, so there will be no real-time backup of user information. The problem of occupying more resources of the user plane equipment in the standby state.
通过在第一用户面设备从无法提供服务恢复为提供服务状态时,控制面设备向第一用户面设备发送第二用户面设备对应的用户信息,使得第一用户面设备根据用户信息向发送保活报文的用户设备反馈确认报文,由于第一用户面设备在无法提供服务时不需要实时备份第二用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。By sending the user information corresponding to the second user plane device to the first user plane device when the first user plane device recovers from the state of being unable to provide services to providing services, the first user plane device can send the user information to the sending guarantee device according to the user information. The user equipment of the live packet feeds back the confirmation message, because the first user plane device does not need to back up the user information of the second user plane device in real time when it cannot provide services, that is, the user plane device in the standby state does not need to backup the users in the main state in real time. user information of the plane device, so there is no problem of excessively occupying the resources of the user plane device in the standby state.
在第三方面的第一种可能的实施方式中,在第一用户面设备升级时,控制面设备通过两种方式对第一用户面设备和第二用户面设备进行主备切换,第一种方式是控制面设备向第一用户面设备发送优先级降低命令,第一用户面设备在接收到优先级降低命令后降低第一用户面设备的第一VRRP优先级,由于第一VRRP优先级降低,第一VRRP优先级低于第二用户面设备的第二VRRP优先级,第一用户面设备的VRRP状态从主状态切换为备用状态;第二种方式是控制面设备向第二用户面设备发送优先级提高命令,第二用户面设备在接收到优先级提高命令后提高第二用户面设备的第二VRRP优先级,由于第二VRRP优先级提高,第二VRRP优先级高于第一用户面设备的第一VRRP优先级,第二用户面设备的VRRP状态从备用状态切换为主状态。这里的升级时包括升级前的预定时长和升级过程,预定时长至少大于第二用户面设备接收控制面设备下发用户信息的时长。In a first possible implementation manner of the third aspect, when the first user plane device is upgraded, the control plane device performs active/standby switching between the first user plane device and the second user plane device in two ways. The method is that the control plane device sends a priority lowering command to the first user plane device, and the first user plane device lowers the first VRRP priority of the first user plane device after receiving the priority lowering command. , the first VRRP priority is lower than the second VRRP priority of the second user plane device, and the VRRP state of the first user plane device is switched from the main state to the standby state; Sending a priority increase command, the second user plane device increases the second VRRP priority of the second user plane device after receiving the priority increase command. Because the second VRRP priority is increased, the second VRRP priority is higher than that of the first user The first VRRP priority of the plane device, and the VRRP state of the second user plane device is switched from the standby state to the main state. The upgrade here includes a predetermined duration before the upgrade and an upgrade process, and the predetermined duration is at least greater than the duration for the second user plane device to receive the user information delivered by the control plane device.
由于第一用户面设备在升级时无法提供服务,因此控制面设备需要提前做好准备措施,向第二用户面设备下发第一用户面设备对应的用户信息,在下发完用户信息后,向第一用户面设备发送优先级降低命令或向第二用户面设备发送优先级提高命令,使得第一用户面设备和第二用户面设备进行主备切换,从而保证了第一用户面设备在升级时,第二用户面设备能够继续提供服务。Since the first user plane device cannot provide services during the upgrade, the control plane device needs to prepare in advance to deliver the user information corresponding to the first user plane device to the second user plane device. The first user plane device sends a priority lowering command or sends a priority increasing command to the second user plane device, so that the first user plane device and the second user plane device perform active/standby switchover, thereby ensuring that the first user plane device is being upgraded , the second user plane device can continue to provide services.
由于控制面设备是在第一用户面设备升级前的预定时长就向第二用户面设备下发用户信息,并且预定时长大于控制面设备下发用户信息的时长,因此在第一用户面设备升级过程中,第二用户面设备中已经存储了用户信息,能够对用户设备发送的报文进行响应,从而使得用户设备在主备切换时不会掉线。Since the control plane device delivers user information to the second user plane device within a predetermined time period before the first user plane device is upgraded, and the predetermined time period is longer than the time period for the control plane device to issue user information, the first user plane device is upgraded before the first user plane device is upgraded. During the process, the user information has been stored in the second user plane device, and the second user plane device can respond to the message sent by the user device, so that the user device will not be disconnected during the master/slave switchover.
结合第三方面或者第三方面的第一种可能的实施方式,在第二种可能的实施方式中,在第一用户面设备升级完毕时,控制面设备通过两种方式再次对第一用户面设备和第二用户面设备进行主备切换,第一种方式是控制面设备向第一用户面设备发送优先级提高命令,第一用户面设备在接收到优先级提高命令后提高第一用户面设备的第一VRRP优先级,由于第一VRRP优先级提高,第一VRRP优先级高于第二用户面设备的第二VRRP优先级,第一用户面设备的VRRP状态从备用状态切换为主状态;第二种方式是控制面设备向第二用户面设备发送优先级降低命令,第二用户面设备在接收到优先级降低命令后降低第二用户面设备的第二VRRP优先级,由于第二VRRP优先级降低,第二VRRP优先级低于第一用户面设备的第一VRRP优先级,第二用户面设备的VRRP状态从主状态切换为备用状态。With reference to the third aspect or the first possible implementation manner of the third aspect, in the second possible implementation manner, when the upgrade of the first user plane device is completed, the control plane device updates the first user plane device again in two ways. The device and the second user plane device perform active/standby switchover. The first method is that the control plane device sends a priority increase command to the first user plane device, and the first user plane device increases the first user plane after receiving the priority increase command. The first VRRP priority of the device, because the first VRRP priority is increased, the first VRRP priority is higher than the second VRRP priority of the second user plane device, and the VRRP state of the first user plane device is switched from the standby state to the main state The second way is that the control plane device sends a priority reduction command to the second user plane device, and the second user plane device reduces the second VRRP priority of the second user plane device after receiving the priority reduction command. The VRRP priority is lowered, the second VRRP priority is lower than the first VRRP priority of the first user plane device, and the VRRP state of the second user plane device is switched from the main state to the standby state.
由于第一用户面设备在升级完毕后能够提供服务,因此控制面设备可以将第二用户面设备的用户信息下发给第一用户面设备,在下发完用户信息后,向第一用户面设备发送优先级提高命令或向第二用户面设备发送优先级降低命令,使得第一用户面设备和第二用户面设备进行主备切换,从而使得第一用户面设备在升级完毕后能够继续提供服务。Since the first user plane device can provide services after the upgrade is completed, the control plane device can deliver the user information of the second user plane device to the first user plane device, and after the user information is delivered, send the user information to the first user plane device. Send a priority increase command or send a priority decrease command to the second user plane device, so that the first user plane device and the second user plane device perform active/standby switchover, so that the first user plane device can continue to provide services after the upgrade is complete .
结合第三方面、第三方面的第一种可能的实施方式或者第三方面的第二种可能的实施方式,在第三种可能的实施方式中,在第一用户面设备的上行链路故障时,第一用户面设备通过BFD探测到上行链路故障,会自行降低第一VRRP优先级,在第一用户面设备或第一用户面设备的下行链路故障时,第二用户面设备通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障,会自行提高第二VRRP优先级,第一用户面设备和第二用户面设备之间通过VRRP通告报文确定第一VRRP优先级低于第二VRRP优先级,则第二用户面设备向控制面设备发送VRRP状态切换通知,控制面设备在接收到VRRP状态切换通知后,会向第二用户面设备发送第一用户面设备对应的用户信息。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 the third possible implementation manner, the uplink failure of the first user plane equipment When the first user plane device detects an uplink failure through BFD, it will lower the priority of the first VRRP by itself. When the first user plane device or the downlink of the first user plane device fails, the second user plane device passes the When BFD detects that the first user plane device or the downlink of the first user plane device is faulty, it will automatically increase the priority of the second VRRP. The first user plane device and the second user plane device determine the first If the VRRP priority is lower than the second VRRP priority, the second user plane device sends a VRRP state switching notification to the control plane device. After receiving the VRRP state switching notification, the control plane device will send the first user notification to the second user plane device. User information corresponding to the face device.
由于在第一用户面设备所在链路发生故障时,第一用户面设备和第二用户面设备会自行进行主备切换,然后第二用户面设备向控制面设备告知VRRP状态切换的情况,控制面设备向第二用户面设备下发第一用户面设备对应的用户信息,使得在第一用户面设备所在链路发生故障时,第二用户面设备能够接替第一用户面设备继续提供服务。When the link where the first user plane device is located fails, the first user plane device and the second user plane device will perform active/standby switchover by themselves, and then the second user plane device notifies the control plane device of the VRRP state switching, and controls the The plane device delivers user information corresponding to the first user plane device to the second user plane device, so that when the link where the first user plane device is located fails, the second user plane device can take over the first user plane device and continue to provide services.
结合第三方面、第三方面的第一种可能的实施方式、第三方面的第二种可能的实施方式或者第三方面的第三种可能的实施方式,在第四种可能的实施方式中,在第一用户面设备无法提供服务时,第二用户面设备在接收到用户设备发送的保活报文时,当查询到第二用户设备中不存在与保活报文对应的用户信息时,第二用户面设备将保活报文上报给控制面设备处理,控制面设备接收第二用户面设备发送的用户设备的保活报文,根据用户信息向用户设备反馈确认报文。In combination with the third aspect, the first possible implementation of the third aspect, the second possible implementation of the third aspect, or the third possible implementation of the third aspect, in the fourth possible implementation , when the first user plane device cannot provide the service, when the second user plane device receives the keep-alive message sent by the user equipment, and finds that the user information corresponding to the keep-alive message does not exist in the second user equipment , the second user plane device reports the keep-alive message to the control plane device for processing, the control plane device receives the keep-alive message of the user equipment sent by the second user plane device, and feeds back a confirmation message to the user equipment according to the user information.
由于控制面设备在第二用户面设备查询到自身没有存储有与保活报文对应的用户信息时,接收第二用户面设备上报的保活报文并进行回应,使得在第二用户面设备接收到用户信息之前,用户设备依然能够接收到确认报文,从而使得用户设备不会掉线。Since the control plane device receives the keep-alive message reported by the second user plane device and responds when the second user plane device finds that it does not store the user information corresponding to the keep-alive message, the second user plane device Before receiving the user information, the user equipment can still receive the confirmation message, so that the user equipment will not be disconnected.
结合第三方面、第三方面的第一种可能的实施方式、第三方面的第二种可能的实施方式、第三方面的第三种可能的实施方式或者第三方面的第四种可能的实施方式,在第五种可能的实施方式中,当第一用户面设备的上行链路故障恢复时,第一用户面设备通过BFD探测到上行链路故障恢复后,向控制面设备发送第一状态变化信息,告知控制面设备第一用户面设备恢复正常,能够提供服务。控制面设备在接收到第一状态变化信息后,向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后,控制面设备向第一用户面设备发送第一切换通知,用于通知第一用户面设备提高第一VRRP优先级,使得第一VRRP优先级高于第二VRRP优先级。当第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障恢复后,向控制面设备发送第二状态变化信息,告知控制面设备第一用户面设备恢复正常,控制面设备在接收到第二状态变化信息后,向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后,控制面设备向第二用户面设备发送第二切换通知,用于通知第二用户面设备降低第二VRRP优先级,使得第二VRRP优先级低于第一VRRP优先级。In combination with the third aspect, the first possible implementation of the third aspect, the second possible implementation of the third aspect, the third possible implementation of the third aspect, or the fourth possible implementation of the third aspect In a fifth possible implementation manner, when the uplink failure of the first user plane device recovers, the first user plane device sends the first user plane device to the control plane device after detecting that the uplink failure recovers through BFD. The state change information informs the control plane device that the first user plane device is back to normal and can provide services. After receiving the first state change information, the control plane device delivers the user information corresponding to the second user plane device to the first user plane device, and after the user information is delivered, the control plane device sends the first user plane device to the first user plane device. A handover notification, used to notify the first user plane device to increase the first VRRP priority so that the first VRRP priority is higher than the second VRRP priority. When the downlink failure of the first user plane device or the first user plane device recovers, the second user plane device detects the recovery of the downlink failure of the first user plane device or the first user plane device through BFD, and reports to the control The plane device sends the second state change information to inform the control plane device that the first user plane device is back to normal. After receiving the second state change information, the control plane device delivers the user corresponding to the second user plane device to the first user plane device. information, after the user information is delivered, the control plane device sends a second handover notification to the second user plane device to notify the second user plane device to lower the second VRRP priority so that the second VRRP priority is lower than the first VRRP priority.
由于在第一用户面设备所在链路故障恢复时,对于第一用户面设备的上行链路,第一用户面设备能够通过BFD探测到故障恢复,对于第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备能够通过BFD探测到故障恢复,通过告知控制面设备第一用户面设备所在链路故障恢复,控制面设备向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后通知第二用户面设备由主状态切换为备用状态,使得在第一用户面设备所在链路故障恢复时,第一用户面设备能够切换回主状态继续提供服务。When the link on which the first user plane device is located recovers from a fault, for the uplink of the first user plane device, the first user plane device can detect the fault recovery through BFD. For the first user plane device or the first user plane device When the downlink fails to recover, the second user plane device can detect the failure recovery through BFD, and by notifying the control plane device that the link where the first user plane device is located has recovered from the failure, the control plane device sends the second user plane device to the first user plane device. The user information corresponding to the user plane device is notified after the user information is delivered to the second user plane device to switch from the main state to the standby state, so that when the link where the first user plane device is located is restored, the first user plane device can switch Return to the main state to continue to provide services.
另外,由于控制面设备先下发用户信息,再发送切换通知,使得第一用户面设备在故障恢复切换回主状态时,不会产生用户流量丢失的问题。In addition, because the control plane device delivers user information first, and then sends the switching notification, so that the problem of user traffic loss will not occur when the first user plane device switches back to the primary state after failure recovery.
第四方面,提供了一种报文反馈装置,该报文反馈装置应用在第二用户面设备中,包括至少一个单元,该报文反馈装置的各个单元分别用于实现上述第一方面的报文反馈方法中对应的步骤。In a fourth aspect, a message feedback apparatus is provided. The message feedback apparatus is applied in a second user plane device and includes at least one unit, and each unit of the message feedback apparatus is respectively used to implement the message of the first aspect. Corresponding steps in the text feedback method.
第五方面,提供了一种报文反馈装置,该报文反馈装置应用在第一用户面设备中,包括至少一个单元,该报文反馈装置的各个单元分别用于实现上述第二方面的报文反馈方法中对应的步骤。In a fifth aspect, a message feedback device is provided, the message feedback device is applied in the first user plane device, and includes at least one unit, and each unit of the message feedback device is respectively used to implement the message of the second aspect. Corresponding steps in the text feedback method.
第六方面,提供了一种报文反馈装置,该报文反馈装置应用在控制面设备中,包括至少一个单元,该报文反馈装置的各个单元分别用于实现上述第三方面的报文反馈方法中对应的步骤。In a sixth aspect, a message feedback device is provided. 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 used to implement the message feedback of the third aspect. corresponding steps in the method.
第七方面,提供了一种计算机可读介质,该计算机可读介质存储用于实现第一方面、第二方面和第三方面所提供的报文反馈方法的指令。In a seventh aspect, a computer-readable medium is provided, where the computer-readable medium stores instructions for implementing the message feedback methods provided in the first aspect, the second aspect, and the third aspect.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本发明一个实施例提供的宽带接入网的示意图;1 is a schematic diagram of a broadband access network provided by an embodiment of the present invention;
图2A是本发明一个实施例提供的实施环境的示意图;2A is a schematic diagram of an implementation environment provided by an embodiment of the present invention;
图2B是本发明一个实施例提供的VRRP的原理示意图;2B is a schematic diagram of the principle of VRRP provided by an embodiment of the present invention;
图2C是本发明一个实施例提供的BFD的原理示意图;2C is a schematic diagram of the principle of a BFD provided by an embodiment of the present invention;
图3是本发明一个实施例提供的报文反馈方法的方法流程图;3 is a method flowchart of a message feedback method provided by an embodiment of the present invention;
图4A是本发明另一个实施例提供的报文反馈方法的方法流程图;4A is a method flowchart of a message feedback method provided by another embodiment of the present invention;
图4B是本发明再一个实施例提供的报文反馈方法的方法流程图;4B is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图4C是本发明再一个实施例提供的报文反馈方法的方法流程图;4C is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图4D是本发明再一个实施例提供的报文反馈方法的方法流程图;4D is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图5A是本发明再一个实施例提供的报文反馈方法的方法流程图;5A is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图5B是本发明再一个实施例提供的报文反馈方法的方法流程图;5B is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图5C是本发明再一个实施例提供的报文反馈方法的方法流程图;5C is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图5D是本发明再一个实施例提供的报文反馈方法的方法流程图;5D is a method flowchart of a message feedback method provided by still another embodiment of the present invention;
图6是本发明一个实施例提供的报文反馈装置的结构方框图;6 is a structural block diagram of a message feedback device provided by an embodiment of the present invention;
图7是本发明另一个实施例提供的报文反馈装置的结构方框图;7 is a structural block diagram of a message feedback apparatus provided by another embodiment of the present invention;
图8是本发明再一个实施例提供的报文反馈装置的结构方框图。FIG. 8 is a structural block diagram of a message feedback apparatus provided by still another embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
为了便于对本发明各实施例的理解,首先结合图2A对本发明各实施例所涉及的实施环境进行说明。In order to facilitate the understanding of the embodiments of the present invention, the implementation environment involved in the embodiments of the present invention is first described with reference to FIG. 2A .
图2A是本发明一个实施例提供的实施环境的示意图。该实施环境是一种分级网络结构,如图2A所示,从用户设备140到骨干层的互联网150要经过接入层230、汇聚层240与核心层250。FIG. 2A is a schematic diagram of an implementation environment provided by an embodiment of the present invention. The implementation environment is a hierarchical network structure. As shown in FIG. 2A , the
接入层230是用户设备140被许可接入互联网150的点,位于互联网150的边缘。汇聚层240是接入层230和核心层250之间的分界点,通常数据的处理是在汇聚层240完成。汇聚层240的设备都要连接到核心层250,核心层250为汇聚层240的设备提供高速的连接。The
可选地,该实施环境涉及TIC(Telecommunication Infrastructure Cloud,电信基础云)网络架构,并且采用了控制平面和用户平面分离的架构。TIC网络架构包括TICCore(Telecommunication Infrastructure Cloud Core,电信基础云核心节点)210和TICEdge(Telecommunication Infrastructure Cloud Edge,电信基础云边缘节点)220。在TICCore 210中部署有BRAS CP 211(Control Plane,控制平面),在TIC Edge 220中部署有BRAS UP 221(User Plane,用户平面)。Optionally, the implementation environment involves a TIC (Telecommunication Infrastructure Cloud, telecommunication infrastructure cloud) network architecture, and adopts an architecture in which the control plane and the user plane are separated. The TIC network architecture includes TICCore (Telecommunication Infrastructure Cloud Core, telecom infrastructure cloud core node) 210 and TICEdge (Telecommunication Infrastructure Cloud Edge, telecom infrastructure cloud edge node) 220 . A BRAS CP 211 (Control Plane, control plane) is deployed in the
在现有技术的BRAS中,用户拨号报文上送、转发表项的接收、用户流量转发、用户接入协议处理和用户管理由同一设备实现,而TIC网络架构使用的是控制转发分离场景,BRAS CP 211主要用于实现用户接入协议处理和用户管理,BRAS UP 221主要用于实现用户拨号报文上送、转发表项的接收以及用户流量转发。可选地,与TIC Core 210相连的还有RADIUS(Remote Authentication Dial In User Service,远程用户拨号认证服务)服务器212和DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)服务器213,RADIUS服务器212用于为拨号上网用户进行认证和计费,DHCP服务器213用于为网络服务自动分配IP地址。In the BRAS of the prior art, the sending of user dial-up messages, the reception of forwarding entries, the forwarding of user traffic, the processing of user access protocols, and the management of users are implemented by the same device, while the TIC network architecture uses the scenario of control and forwarding separation. The
将TIC网络架构与分级网络结构结合起来看,TIC Core 210与核心层250对应,TICEdge 220与汇聚层240对应,则BRAS CP 211与BRAS UP 221在分离之后,BRAS CP 211部署在核心层250,BRAS CP 211中包括至少一个控制面设备214,BRAS UP 221部署在汇聚层240。Combining the TIC network architecture and the hierarchical network structure, the
在接入层230中配置有接入层交换机231,接入层交换机231一般用于连接用户设备140。可选地,接入层230中还可以配置有OLT(optical line terminal,光线路终端)232,OLT 232用于连接光纤干线的终端设备,与OLT 232对应的,用户设备140需要配置有ONT(Optical network terminal,光网络终端)233,ONT 233与OLT 232相连。An
在汇聚层240中配置有汇聚层交换机241,汇聚层交换机241是多台接入层交换机231的汇聚点。An
在汇聚层240中,汇聚层交换机241分别与第一用户面设备222和第二用户面设备223相连。In the
在核心层250中有上行网络设备251,汇聚层240中的第一用户面设备222和第二用户面设备223均连接至上行网络设备251,上行网络设备251是核心层250中的传输设备,上行网络设备251最终与骨干层的互联网150相连。There is an
为了保证传输的稳定性,每个BRAS UP 221中通常包括第一用户面设备222和第二用户面设备223,在第一用户设备222无法提供服务时,第二用户面设备223将接替第一用户面设备222提供服务。可选的,第一用户面设备222和第二用户面设备223为路由器。In order to ensure the stability of transmission, each
对于第一用户面设备222和第二用户面设备223,需要实现物理设备和逻辑设备分离。具体实现为:第一用户面设备222和第二用户面设备223通过配置VRRP虚拟为一台虚拟用户面设备,用户设备140感知的是虚拟用户面设备,对于第一用户面设备222和第二用户面设备223并不感知。结合参考图2B,其示出了VRRP的原理示意图。在物理上,用户设备140与接入交换机232相连,接入交换机232分别与第一用户面设备222和第二用户面设备223相连,第一用户面设备222和第二用户面设备223连接至互联网150。当第一用户面设备222和第二用户面设备223配置VRRP后,第一用户面设备222和第二用户面设备223虚拟为一台虚拟用户面设备224。在逻辑上,用户设备140与接入交换机232相连,接入交换机232与虚拟用户面设备224相连,虚拟用户面设备224与互联网150相连。举例说明,第一用户面设备222的IP地址为10.1.1.2/24,第二用户面设备223的IP地址为10.1.1.1/24,虚拟用户面设备224的IP地址为10.1.1.10,用户设备140的IP地址为10.1.1.3/24,用户设备140指向的网关的IP地址为10.1.1.10,则用户设备140只能感知到虚拟用户设备224,而不能感知第一用户面设备222和第二用户面设备223。For the first
配置了VRRP的第一用户面设备222和第二用户面设备223会被分别配置各自的VRRP优先级。可选地,VRRP优先级的取值范围为0~255,缺省为100,第一用户面设备222和第二用户面设备223中VRRP优先级较高的一个设备的VRRP状态为主状态,较低的一个设备的VRRP状态为备用状态,当第一用户面设备222和第二用户面设备223的VRRP优先级的高低发生了改变后,对应的VRRP状态也会进行切换。The first
假设第一用户面设备222的VRRP状态为主状态,第二用户面设备223的VRRP状态为备用状态,VRRP状态为主状态的第一用户面设备222周期性地向第二用户面设备223发送VRRP通告报文,VRRP通告报文中包含第一用户面设备222的第一VRRP优先级,第二用户面设备223在接收到VRRP通告报文后,向第一用户面设备222回复第二VRRP优先级,当第一用户面设备222得知第二VRRP优先级低于第一VRRP优先级时,第一用户面设备222维保自身的VRRP状态为主状态;当第一用户面设备222发送的第一VRRP优先级低于第二用户面设备223的第二VRRP优先级时,第二用户面设备223在接收到第一用户面设备222发送的VRRP通告报文时,抢占成为主状态,并向第一用户面设备222回复第二VRRP优先级,第一用户面设备222在得知第二VRRP优先级高于第一VRRP优先级时,将VRRP状态由主状态切换为备用状态。VRRP通告报文发送的周期通常为1秒,若第二用户面设备223在三个VRRP通告报文的时间周期(3秒)没有收到第一用户面设备222发送的VRRP通告报文,则第二用户面设备223认定第一用户面设备222出现故障,自动将第二用户面设备223的VRRP状态从备用状态切换为主状态。It is assumed that the VRRP state of the first
在初始化时,第一用户面设备222与第二用户面设备223的VRRP优先级是手动配置的,比如第一用户面设备222的第一VRRP优先级配置成200,第二用户面设备223的第二VRRP优先级配置成100。在实际应用中,当第一用户面设备222无法提供服务时,降低第一VRRP优先级代表将第一VRRP优先级降低到小于第二VRRP优先级,比如降低成50,提高第二VRRP优先级代表将第二VRRP优先级提高到大于第一VRRP优先级,比如提高成220。During initialization, the VRRP priorities of the first
为了使第一用户面设备222的故障能够尽快被发现,在第一用户面设备222和第二用户面设备223上使用BFD技术进行故障探测。结合参考图2C,其示出了BFD的原理示意图。用户设备140与接入交换机232相连,接入交换机232分别与第一用户面设备222和第二用户面设备223连接,第一用户面设备222与第一上行网络设备252相连,第二用户面设备223与第二上行网络设备253相连,第一上行网络设备252和第二上行网络设备253均接入互联网150。在对BFD进行配置时,第一用户面设备222上的BFD与上行链路的接口进行绑定,即第一用户面设备222上的BFD与第一上行网络设备252的接入接口绑定,用于探测第一用户面设备222的上行链路的状态,上行链路是指第一用户面设备222与上行网络设备252之间的链路;第二用户面设备223上的BFD与第一用户面设备222的IP地址绑定,由于第一用户面设备222与第二用户面设备223之间连接了接入交换机232,因此第二用户面设备223的BFD与第一用户面设备222的IP绑定,用于探测第一用户面设备222或第一用户面设备222的下行链路的状态,下行链路是指第一用户面设备222与接入交换机232之间的链路。BFD配置好之后,会定期发送BFD检测报文给绑定的对端,对端接收到检测报文后会进行回复,若BFD检测到发送给对端的检测报文没有回应,则BFD的状态变为DOWN,表示故障,若BFD检测到发送给对端的检测报文有回应,则BFD的状态变为UP,表示正常。比如,第一用户面设备222向上行网络设备252的接入接口发送检测报文,若没有收到回应,则表示上行链路故障,BFD的状态变为DOWN,并向第一用户面设备222中的VRRP发送通知;第二用户面设备223的BFD经过接入交换机232向第一用户面设备222发送检测报文,若没有收到回应,则表示第一用户面设备222故障或第一用户面设备222的下行链路故障,BFD的状态变为DOWN,并向第二用户面设备223的VRRP发送通知。In order to find the fault of the first
BFD发送检测报文的周期大约为50毫秒,等待三个周期(150毫秒)没有收到回应,则BFD认为出现故障,向VRRP发送通知。由于BFD检测到故障所花费的时间较短,因此能够快速发现故障,并通知VRRP进行故障处理。故障处理的时间缩短后,用户设备140就不会感知到发生故障。The period for BFD to send detection packets is about 50 milliseconds. If no response is received after three periods (150 milliseconds), BFD considers a fault and sends a notification to VRRP. Since it takes a short time for BFD to detect a fault, it can quickly find the fault and notify VRRP to handle the fault. After the time for failure processing is shortened, the
另外,BFD还需要配置延迟UP时间(Delay-up seconds),用于在故障恢复时为控制面设备214下发用户信息预留一定时间,因此延迟UP时间的时长要大于控制面设备214向用户面设备下发用户信息的时长。用户信息的下发通常需要十几秒,因此BFD延迟UP时间可以设置为20秒。等到用户信息下发完毕,BFD再将状态切换为UP,使得用户流量(或用户数据报文)切换的时候第一用户面设备222能够立即进行处理,避免了用户流量的丢失。In addition, BFD also needs to configure the delay-up time (Delay-up seconds), which is used to reserve a certain time for the
图3是本发明一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,如图3所示,该报文反馈方法包括:FIG. 3 is a method flowchart of a message feedback method provided by an embodiment of the present invention. The message feedback method is illustrated in the implementation environment shown in FIG. 2A as an example. As shown in FIG. 3 , the message feedback method includes:
301,控制面设备在第一用户面设备无法提供服务时,向第二用户面设备发送第一用户面设备对应的用户信息。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 device cannot provide services when it is upgraded, when itself fails, when the uplink fails, or when the downlink fails.
由于第一用户面设备无法提供服务,为了使用户设备能够正常接入,BRAS UP将主用户面设备由第一用户面设备替换成第二用户面设备。Since the first user plane device cannot provide services, in order to enable the user equipment to access normally, the BRAS UP replaces the primary user plane device from the first user plane device with the second user plane device.
可选地,用户信息至少包括用户设备的唯一标识(ID)、用户设备的接入接口、接口设备上的VLAN(Virtual Local Area Network,虚拟局域网)、用户设备的MAC地址以及用户设备的IP地址,其中,接口设备指接入交换机,接入接口指接入交换机上的接口。Optionally, the user information includes at least a unique identifier (ID) of the user equipment, an access interface of the user equipment, a VLAN (Virtual Local Area Network, virtual local area network) on the interface device, the MAC address of the user equipment, and the IP address of the user equipment. , where the interface device refers to the access switch, and the access interface refers to the interface on the access switch.
在实际应用中,在用户设备通过第一用户面设备接入互联网后,控制面设备中存储有该用户设备的全部用户信息,第一用户面设备中存储有与用户流量转发相关的用户信息,第二用户面设备中初始状态下是没有存储该用户设备相关的用户信息。因此在第一用户面设备无法提供服务,用户流量需要切换到第二用户面设备进行转发时,控制面设备需要先将用户信息下发到第二用户面设备上,第二用户面设备在接收到用户信息后才能对用户流量进行转发。In practical applications, 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, and the first user plane device stores user information related to user traffic forwarding, In the initial state of the second user plane device, no user information related to the user device is stored. Therefore, when the first user plane device cannot provide services and user traffic needs to be switched to the second user plane device for forwarding, the control plane device needs to first deliver the user information to the second user plane device, and the second user plane device is receiving The user traffic can be forwarded only after the user information is obtained.
在实际应用中,控制面设备可能与多组用户面设备相连,一组用户面设备包括第一用户面设备和第二用户面设备。由于与控制面设备相连的用户面设备很多,因此控制面设备在向第二用户面设备下发用户信息时,需要下发与第一用户面设备对应的用户信息。与第一用户面设备对应的用户信息是指第一用户面设备用于实现用户流量转发相关的用户信息。In practical applications, the control plane device may be connected to multiple groups of user plane devices, and 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 delivering user information to the second user plane device, the control plane device needs to deliver user information corresponding to the first user plane device. The user information corresponding to the first user plane device refers to user information related to the first user plane device used to implement user traffic forwarding.
302,第二用户面设备从控制面设备获取第一用户面设备对应的用户信息。302. The second user plane device acquires user information corresponding to the first user plane device from the control plane device.
控制面设备向第二用户面设备下发第一用户面设备对应的用户信息,第二用户面设备将接收到的用户信息进行存储。The control plane device delivers user information corresponding to the first user plane device to the second user plane device, and the second user plane device stores the received user information.
303,第二用户面设备接收用户设备发送的保活报文。303. The second user plane device receives the keep-alive message sent by the user equipment.
保活报文用于请求用户设备处于在线状态。Keep-alive packets are used to request that the user equipment is online.
可选地,保活报文中包含:用户设备的ID、保活信息等。Optionally, the keep-alive message includes: the ID of the user equipment, keep-alive information, and the like.
用户设备在上线后,设置保活定时器,若无数据交互的时长达到保活定时器定时时长,则用户设备发送保活报文,用户设备在接收到用于反馈保活报文的确认报文时,对保活定时器进行重置,若用户设备没有收到确认报文,则用户设备掉线。After the user equipment goes online, a keep-alive timer is set. If the period of no data interaction reaches the time period of the keep-alive timer, the user equipment sends a keep-alive message, and the user equipment receives an acknowledgment message for feeding back the keep-alive message. When the message is sent, the keep-alive timer is reset. If the user equipment does not receive the confirmation message, the user equipment is disconnected.
304,第二用户面设备根据用户信息向用户设备反馈确认报文。304. The second user plane device feeds back a confirmation message to the user equipment according to the user information.
第二用户面设备在接收到用户设备发送的保活报文时,需要查找与用户设备对应的用户信息,确定出用户设备是否已上线,若用户设备已上线,则第二用户面设备向用户设备反馈确认报文。When the second user plane device receives the keep-alive message sent by the user equipment, it needs to look up the user information corresponding to the user equipment to determine whether the user equipment is online. The device sends back a confirmation message.
由于第二用户面设备从控制面设备获取到用户信息,因此能够通过查询用户信息向用户设备反馈确认报文。Since the second user plane device acquires the user information from the control plane device, it can feed back a confirmation message to the user equipment by querying the user information.
305,控制面设备在第一用户面设备从无法提供服务恢复为提供服务状态时,向第一用户面设备发送第二用户面设备对应的用户信息。305. When the first user plane device recovers from the state of being unable to provide the service to the state of providing the service, the control plane device sends the user information corresponding to the second user plane device to the first user plane device.
可选地,在第一用户面设备升级完毕或所属链路故障恢复时,第一用户面设备恢复为提供服务状态。Optionally, when the first user plane device is upgraded or the link to which it belongs is recovered from a fault, the first user plane device is restored to a state of providing services.
在一种可能的情况中,由于第一用户面设备在无法提供服务期间,用户流量是通过第二用户面设备转发的,在此期间的用户信息是没有存储在第一用户面设备上,因此当第一用户面设备恢复提供服务时,控制面设备需要将第二用户面设备对应的用户信息发送给第一用户面设备。In a possible situation, since the first user plane device cannot provide services, the user traffic is forwarded through the second user plane device, and the user information during this period is not stored on the first user plane device. Therefore, When the first user plane device resumes providing services, the control plane device needs to send user information corresponding to the second user plane device to the first user plane device.
在另一种可能的情况中,第一用户面设备由于升级或故障导致数据丢失,当第一用户面设备恢复为提供服务的状态时,控制面设备需要下发用户信息给第一用户面设备。In another possible situation, data is lost due to an upgrade or failure of the first user plane device. When the first user plane device returns to the state of providing services, the control plane device needs to deliver user information to the first user plane device. .
306,第一用户面设备从控制面设备获取第二用户面设备对应的用户信息。306. The first user plane device acquires user information corresponding to the second user plane device from the control plane device.
307,第一用户面设备接收用户设备发送的保活报文。307. The first user plane device receives the keep-alive message sent by the user equipment.
308,第一用户面设备根据用户信息向用户设备反馈确认报文。308. The first user plane device feeds back a confirmation message to the user equipment according to the user information.
由于控制面设备向第一用户面设备下发了用户信息,因此第一用户面设备能够根据用户信息反馈确认报文。Since the control plane device delivers user information to the first user plane device, the first user plane device can feed back a confirmation message according to the user information.
综上所述,本发明实施例提供的报文反馈方法,通过在第一用户面设备无法提供服务时,第二用户面设备从控制面设备获取第一用户面设备对应的用户信息,根据用户信息向发送保活报文的用户设备反馈确认报文,由于第二用户面设备不需要实时备份第一用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。To sum up, in the packet feedback method provided by the embodiments of the present invention, when the first user plane device cannot provide services, the second user plane device obtains user information corresponding to the first user plane device from the control plane device, and according to the user The information feeds back a confirmation message to the user equipment that sends the keep-alive message. Since the second user plane device does not need to back up 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 back up the user plane in the active state in real time. user information of the device, so there is no problem of excessively occupying the resources of the user plane device in the standby state.
另外,由于第二用户面设备在接收到用户信息后,根据用户信息可以向发送保活报文的用户设备反馈确认报文,从而使得在第一用户面设备无法提供服务时,用户设备能够通过第二用户面设备继续上线。In addition, after receiving the user information, the second user plane device can feed back a confirmation message to the user equipment that sent the keep-alive message according to the user information, so that when the first user plane device cannot provide services, the user equipment can pass The second user plane device continues to go online.
通过在第一用户面设备从无法提供服务恢复为提供服务状态时,第一用户面设备从控制面设备获取第二用户面设备对应的用户信息,根据用户信息向发送保活报文的用户设备反馈确认报文,由于第一用户面设备在无法提供服务时不需要实时备份第二用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。When the first user plane device recovers from being unable to provide services to providing services, the first user plane device obtains user information corresponding to the second user plane device from the control plane device, and sends the keep-alive message to the user equipment according to the user information. The confirmation message is fed back, because the first user plane device does not need to back up the user information of the second user plane device in real time when it cannot provide services, that is, the user plane device in the standby state does not need to back up the user information of the user plane device in the main state in real time. Therefore, the problem of excessively occupying the resources of the user plane equipment in the standby state will not arise.
另外,由于第一用户面设备在接收到用户信息后,根据用户信息可以向发送保活报文的用户设备反馈确认报文,从而使得在第一用户面设备恢复提供服务时,用户设备能够通过第一用户面设备继续上线。In addition, after receiving the user information, the first user plane device can feed back a confirmation message to the user equipment that sent the keep-alive message according to the user information, so that when the first user plane device resumes providing services, the user equipment can pass The first user plane device continues to go online.
通过在第一用户面设备无法提供服务时,控制面设备向第二用户面设备发送第一用户面设备对应的用户信息,使得第二用户面设备根据用户信息向发送保活报文的用户设备反馈确认报文,由于第二用户面设备不需要实时备份第一用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。When the first user plane device cannot provide services, the control plane device sends the user information corresponding to the first user plane device to the second user plane device, so that the second user plane device can send the keep-alive message to the user equipment according to the user information. Feedback confirmation message, because the second user plane device does not need to back up 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 back up the user information of the user plane device in the main state in real time, so there will be no real-time backup of user information. The problem of occupying more resources of the user plane equipment in the standby state.
通过在第一用户面设备从无法提供服务恢复为提供服务状态时,控制面设备向第一用户面设备发送第二用户面设备对应的用户信息,使得第一用户面设备根据用户信息向发送保活报文的用户设备反馈确认报文,由于第一用户面设备在无法提供服务时不需要实时备份第二用户面设备的用户信息,即备用状态的用户面设备不需要实时备份主状态的用户面设备的用户信息,因此不会产生过多占用备用状态的用户面设备资源的问题。By sending the user information corresponding to the second user plane device to the first user plane device when the first user plane device recovers from the state of being unable to provide services to providing services, the first user plane device can send the user information to the sending guarantee device according to the user information. The user equipment of the live packet feeds back the confirmation message, because the first user plane device does not need to back up the user information of the second user plane device in real time when it cannot provide services, that is, the user plane device in the standby state does not need to backup the users in the main state in real time. user information of the plane device, so there is no problem of excessively occupying the resources of the user plane device in the standby state.
当第一用户面设备由于升级导致无法提供服务时,对于第一用户面设备与第二用户面设备之间的切换以及对保活报文的反馈请参见图4A或图4B所示的步骤。When the first user plane device cannot provide services due to the 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.
当第一用户面设备升级完毕恢复提供服务状态时,对于第一用户面设备与第二用户面设备之间的切换以及对保活报文的反馈请参见图4C或图4D所示的步骤。When the first user plane device is upgraded and resumes the state of providing services, for the switching between the first user plane device and the second user plane device and the feedback of the keep-alive message, please refer to the steps shown in FIG. 4C or FIG. 4D .
当第一用户面设备的上行链路发生故障时,对于第一用户面设备与第二用户面设备之间的切换以及对保活报文的反馈请参见图5A所示的步骤;当第一用户面设备的上行链路故障恢复时,对于第一用户面设备与第二用户面设备之间的切换以及对保活报文的反馈请参见图5B所示的步骤。When the uplink of the first user plane device fails, please refer to the steps shown in FIG. 5A 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 uplink failure of the 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.
当第一用户面设备的下行链路或第一用户面设备发生故障时,对于第一用户面设备与第二用户面设备之间的切换以及对保活报文的反馈请参见图5C所示的步骤;当第一用户面设备的下行链路或第一用户面设备故障恢复时,对于第一用户面设备与第二用户面设备之间的切换以及对保活报文的反馈请参见图5D所示的步骤。When the downlink of the first user plane device or the first user plane device fails, please refer to FIG. 5C for the handover between the first user plane device and the second user plane device and the feedback of the keep-alive message step; when the downlink of the first user plane device or the first user plane device recovers from a fault, please refer to Fig. Steps shown in 5D.
图4A是本发明另一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,本实施例中第一用户面设备由于升级导致无法提供服务,如图4A所示,该报文反馈方法包括:FIG. 4A is a method flowchart of a message feedback method provided by another embodiment of the present invention. The message feedback method is applied in the implementation environment shown in FIG. 2A as an example. In this embodiment, the first user plane device cannot provide services due to an upgrade. As shown in FIG. 4A , the message feedback method includes:
401,控制面设备在第一用户面设备升级时,向第二用户面设备发送第一用户面设备对应的用户信息。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 upgrade includes a predetermined duration before the upgrade and an upgrade process, and the predetermined duration is at least greater than the duration required for the control plane device to deliver user information to the second user plane device.
由于第一用户面设备的升级导致第一用户面设备无法提供服务是可以预见的,因此提前对第一用户面设备和第二用户面设备的切换进行准确,控制面设备提前将用户信息下发至第一用户面设备,使得在切换后,避免了由于用户信息未下发导致用户流量的丢失。It is foreseeable that the first user plane device cannot provide services due to the upgrade of the first user plane device. Therefore, the switching between the first user plane device and the second user plane device is performed accurately in advance, and the control plane device issues user information in advance. to the first user plane device, so that after the handover, the loss of user traffic due to the failure to deliver user information is avoided.
在实际应用中,控制面设备下发用户信息所需时长大约为十几秒,预定时长可以设置为20秒。In practical applications, the time required for the control plane device to deliver user information is about ten seconds, and the predetermined time can be set to 20 seconds.
402,第二用户面设备接收控制面设备下发的第一用户面设备对应的用户信息。402. The second user plane device receives user information corresponding to the first user plane device delivered by the control plane device.
403a,控制面设备向第一用户面设备发送优先级降低命令。403a, the control plane device sends a priority reduction command to the first user plane device.
控制设备先下发用户信息再发送优先级降低指令,使得在用户流量切换到第二用户面设备时,第二用户面设备中已经存储有用户信息,从而能够对用户流量进行转发,避免了用户流量的丢失。The control device first delivers the user information and then sends the priority reduction instruction, so that when the user traffic is switched to the second user plane device, the user information is already stored in the second user plane device, so that the user traffic can be forwarded, avoiding user traffic. loss of traffic.
在实际应用中,第一用户面设备和第二用户面设备在配置时手动设置好VRRP优先级,比如:第一用户面设备的VRRP优先级为200,第二用户面设备的VRRP优先级为100。VRRP优先级高的用户面设备的VRRP状态为主状态,VRRP优先级低的用户面设备的VRRP状态为备用状态。In practical applications, the VRRP priority of the first user plane device and the second user plane device are manually set during configuration. For example, 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 device with a higher VRRP priority is the primary state, and the VRRP state of the user plane device with a lower VRRP priority is the standby state.
优先级降低命令用于指示第一用户面设备的VRRP优先级降低到比第二用户面设备的VRRP优先级低,比如:第一用户面设备的VRRP优先级降低到80。The priority reduction command is used to instruct the VRRP priority of the first user plane device to be reduced to a lower priority than the VRRP priority of the second user plane device, for example, the VRRP priority of the first user plane device is reduced to 80.
404a,第一用户面设备接收控制面设备发送的优先级降低命令。404a: The first user plane device receives a priority reduction command sent by the control plane device.
405a,第一用户面设备根据优先级降低命令降低第一用户面设备的第一VRRP优先级。405a, the first user plane device lowers the first VRRP priority of the first user plane device according to the priority lowering command.
在实际应用中,第一用户面设备降低后的第一VRRP优先级要低于第二用户面设备的第二VRRP优先级。In practical applications, 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,第一用户面设备向第二用户面设备发送第一VRRP优先级。406a. The first user plane device sends the first VRRP priority to the second user plane device.
由于第一用户面设备初始配置的VRRP优先级高于第二用户面设备的VRRP优先级,因此第一用户面设备的VRRP状态为主状态,具备发送VRRP通告报文的能力。第一用户面设备周期性发送的VRRP通告报文中包括第一VRRP的优先级。Since the VRRP priority initially configured on the first user plane device is higher than the VRRP priority of the second user plane device, the VRRP state of the first user plane device is the main state and is capable of sending VRRP advertisement packets. The VRRP advertisement message periodically sent by the first user plane device includes the priority of the first VRRP.
407a,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。407a, the second user plane device receives the first VRRP priority sent by the first user plane device.
408a,第二用户面设备在第一VRRP优先级低于第二用户面设备的第二VRRP优先级时,将第二用户面设备的VRRP状态从备用状态切换为主状态。408a: When the first VRRP priority is lower than the second VRRP priority of the second user plane device, the second user plane device switches the VRRP state of the second user plane device from the standby state to the main state.
由于第一VRRP优先级降低,当第二VRRP优先级高于第一VRRP优先级时,第二用户面设备的VRRP状态切换为主状态。Since the priority of the first VRRP is lowered, when the priority of the second VRRP is higher than the priority of the first VRRP, the VRRP state of the second user plane device is switched to the main state.
409a,第二用户面设备向第一用户面设备发送第二VRRP优先级。409a, the second user plane device sends the second VRRP priority to the first user plane device.
第二用户面设备在接收到第一用户面设备发送的VRRP通告报文后,向第一用户面设备回复第二VRRP优先级。After receiving the VRRP notification message sent by the first user plane device, the second user plane device replies with the second VRRP priority to the first user plane device.
410a,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。410a. The first user plane device receives the second VRRP priority sent by the second user plane device.
411a,第一用户面设备在第一VRRP优先级低于第二VRRP优先级时,将第一用户面设备的VRRP状态从主状态切换为备用状态。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.
原本VRRP状态为主状态的第一用户面设备在接收到第二用户面设备返回的第二VRRP优先级后,确定出第一VRRP优先级低于第二VRRP优先级,从而将VRRP状态从主状态切换为备用状态。After receiving the second VRRP priority returned by the second user plane device, the first user plane device in the original VRRP state determines that the first VRRP priority is lower than the second VRRP priority, thereby changing the VRRP state from the master state. The state switches to the standby state.
可替换的,步骤403a至步骤411a可以替换成图4B所示的步骤403b至步骤411b。Alternatively, steps 403a to 411a may be replaced with steps 403b to 411b shown in FIG. 4B .
403b,控制面设备向第二用户面设备发送优先级提高命令。403b, the control plane device sends a priority increase command to the second user plane device.
优先级提高命令用于指示第二用户面设备的VRRP优先级提高到比第一用户面设备的VRRP优先级高,比如:第二用户面设备的VRRP优先级提高到220。The priority increase command is used to instruct the VRRP priority of the second user plane device to be higher than the VRRP priority of the first user plane device, for example, the VRRP priority of the second user plane device is increased to 220.
404b,第二用户面设备接收控制面设备发送的优先级提高命令。404b, the second user plane device receives the priority increase command sent by the control plane device.
405b,第二用户面设备根据优先级提高命令提高第二用户面设备的第二VRRP优先级。405b, the second user plane device increases the second VRRP priority of the second user plane device according to the priority increasing command.
第二用户面设备的第二VRRP优先级提高与第一用户面设备的第一VRRP优先级降低的目的是相同的,都是为了使第一VRRP优先级小于第二VRRP优先级。The purpose of increasing the second VRRP priority of the second user plane device and decreasing the first VRRP priority of the first user plane device is the same, both are to make the first VRRP priority smaller than the second VRRP priority.
406b,第一用户面设备向第二用户面设备发送第一用户面设备的第一VRRP优先级。406b, the first user plane device sends the first VRRP priority of the first user plane device to the second user plane device.
407b,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。407b, the second user plane device receives the first VRRP priority sent by the first user plane device.
408b,第二用户面设备在第一VRRP优先级低于第二用户面设备的第二VRRP优先级时,将第二用户面设备的VRRP状态从备用状态切换为主状态。408b. When the first VRRP priority is lower than the second VRRP priority of the second user plane device, the second user plane device switches the VRRP state of the second user plane device from the standby state to the main state.
由于第二用户面设备的第二VRRP优先级提高,当第二VRRP优先级高于第一VRRP优先级时,第二用户面设备的VRRP状态切换为主状态。Since the second VRRP priority of the second user plane device is increased, 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 main state.
409b,第二用户面设备向第一用户面设备发送第二VRRP优先级。409b, the second user plane device sends the second VRRP priority to the first user plane device.
410b,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。410b, the first user plane device receives the second VRRP priority sent by the second user plane device.
411b,第一用户面设备在第一VRRP优先级低于第二VRRP优先级时,将第一用户面设备的VRRP状态从主状态切换为备用状态。411b, 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.
412,第二用户面设备接收用户设备发送的保活报文。412. The second user plane device receives the keep-alive message sent by the user equipment.
413,第二用户面设备根据用户信息向用户设备反馈确认报文。413. The second user plane device feeds back a confirmation message to the user equipment according to the user information.
第二用户面设备在接收了控制面设备下发的用户信息后,可以根据用户信息对保活报文进行回应,反馈确认报文。After receiving the user information delivered by the control plane device, the second user plane device may respond to the keep-alive message according to the user information, and feed back a confirmation message.
图4C是本发明再一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,本实施例中第一用户面设备由于升级完毕恢复提供服务状态,如图4C所示,该报文反馈方法包括:FIG. 4C is a method flowchart of a message feedback method provided by still another embodiment of the present invention. The message feedback method is applied in the implementation environment shown in FIG. 2A as an example. In this embodiment, the first user plane device resumes providing a service state after the upgrade is completed. As shown in FIG. 4C , the message feedback method includes:
414,控制面设备在第一用户面设备升级完毕时,向第一用户面设备发送第二用户面设备对应的用户信息。414. When the upgrade of the first user plane device is completed, the control plane device sends the user information corresponding to the second user plane device to the first user plane device.
在第一用户面设备升级完毕后,第一用户面设备能够继续提供服务。After the first user plane device is upgraded, the first user plane device can continue to provide services.
由于在第一用户面设备升级期间,用户流量是通过第二用户面设备转发的,因此第一用户面设备中可能没有存储对应的用户信息,或者第一用户面设备由于升级导致用户信息数据全部丢失,因此控制面设备需要向第一用户面设备下发第二用户面对应的用户信息。During the upgrade of the first user plane device, user traffic is forwarded through the second user plane device, so the first user plane device may not store the corresponding user information, or the first user plane device may cause all user information data due to the upgrade. is lost, so the control plane device needs to deliver the user information corresponding to the second user plane to the first user plane device.
415,第一用户面设备接收控制面设备发送的用户信息。415. The first user plane device receives the user information sent by the control plane device.
416a,控制面设备向第一用户面设备发送优先级提高命令。416a. The control plane device sends a priority increase command to the first user plane device.
控制面设备先下发用户信息,再下发优先级提高命令指示VRRP状态进行切换,使得在用户流量切换回第一用户面设备时,不会由于用户信息未下发,导致用户流量的丢失。The control plane device first delivers the user information, and then sends the priority raising command to instruct the VRRP state to switch, so that when the user traffic is switched back to the first user plane device, the user traffic will not be lost because the user information is not delivered.
在实际实现时,通常是由VRRP状态为主状态的用户面设备实现真正的转发功能,因此在第一用户面设备恢复提供服务状态时,第一用户面设备的VRRP状态需要先切换为主状态,第一用户面设备的VRRP状态切换为主状态需要第一VRRP优先级大于第二VRRP优先级,因此控制面设备向第一用户面设备发送优先级提高命令提高第一VRRP优先级。In actual implementation, the real forwarding function is usually realized by the user plane device in the VRRP state as the main state. Therefore, when the first user plane device resumes providing the service state, the VRRP state of the first user plane device needs to be switched to the main state first. , the VRRP state of the first user plane device is switched to the main state, and the first VRRP priority is greater than the second VRRP priority, so the control plane device sends a priority increase command to the first user plane device to increase the first VRRP priority.
417a,第一用户面设备接收控制面设备发送的优先级提高命令。417a: The first user plane device receives the priority increase command sent by the control plane device.
418a,第一用户面设备根据优先级提高命令提高第一用户面设备的第一VRRP优先级。418a. The first user plane device increases the first VRRP priority of the first user plane device according to the priority increasing command.
419a,第二用户面设备向第一用户面设备发送第二VRRP优先级。419a. The second user plane device sends the second VRRP priority to the first user plane device.
在第一用户面设备升级期间,第二用户面设备的VRRP状态为主状态,因此第二用户面设备向第一用户面设备发送VRRP通告报文,VRRP通告报文中携带有第二VRRP优先级。During the upgrade of the first user plane device, the VRRP state of the second user plane device is the main state. Therefore, the second user plane device sends a VRRP advertisement packet to the first user plane device. The VRRP advertisement packet carries the second VRRP priority. class.
420a,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。420a. The first user plane device receives the second VRRP priority sent by the second user plane device.
421a,第一用户面设备在第一VRRP优先级高于第二用户面设备的第二VRRP优先级时,将第一用户面设备的VRRP优先级从备用状态切换为主状态。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 main state.
422a,第一用户面设备向第二用户面设备发送第一VRRP优先级。422a. The first user plane device sends the first VRRP priority to the second user plane device.
423a,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。423a. The second user plane device receives the first VRRP priority sent by the first user plane device.
424a,第二用户面设备在第一VRRP优先级高于第二VRRP优先级时,将第二用户面设备的VRRP状态从主状态切换为备用状态。424a. When the first VRRP priority is higher than the second VRRP priority, the second user plane device switches the VRRP state of the second user plane device from the main state to the standby state.
可替换的,步骤416a至步骤424a可以替换成图4D所示的步骤416b至步骤424b。Alternatively, steps 416a to 424a may be replaced with steps 416b to 424b shown in FIG. 4D .
416b,控制面设备向第二用户面设备发送优先级降低命令。416b, the control plane device sends a priority reduction command to the second user plane device.
降低第二用户面设备的第二VRRP优先级与提高第一用户面设备的第一VRRP优先级的目的是一样的,都是为了使第二VRRP优先级低于第一VRRP优先级,从而使得第一用户面设备的VRRP状态切换为主状态。The purpose of lowering the second VRRP priority of the second user plane device is the same as increasing the first VRRP priority of the first user plane device, both are to make the second VRRP priority lower than the first VRRP priority, so that The VRRP state of the first user plane device is switched to the main state.
417b,第二用户面设备接收控制面设备发送的优先级降低命令。417b, the second user plane device receives the priority reduction command sent by the control plane device.
418b,第二用户面设备根据优先级降低命令降低第二VRRP优先级。418b, the second user plane device lowers the second VRRP priority according to the priority lowering command.
419b,第二用户面设备向第一用户面设备发送第二VRRP优先级。419b, the second user plane device sends the second VRRP priority to the first user plane device.
420b,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。420b, the first user plane device receives the second VRRP priority sent by the second user plane device.
421b,第一用户面设备在第二VRRP优先级低于第一VRRP优先级时,将第一用户面设备的VRRP状态从备用状态切换为主状态。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,第一用户面设备向第二用户面设备发送第一VRRP优先级。422b, the first user plane device sends the first VRRP priority to the second user plane device.
423b,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。423b, the second user plane device receives the first VRRP priority sent by the first user plane device.
424b,第二用户面设备在第二VRRP优先级低于第一VRRP优先级时,将第二用户面设备的VRRP状态从主状态切换为备用状态。424b, when the second VRRP priority is lower than the first VRRP priority, the second user plane device switches the VRRP state of the second user plane device from the main state to the standby state.
425,第一用户面设备接收用户设备发送的保活报文。425. The first user plane device receives the keep-alive message sent by the user equipment.
第一用户面设备在VRRP状态切换为主状态后,提供用户流量转发的服务,因此第一用户面设备能够接收到用户设备发送的保活报文。After the VRRP state is switched to the main state, the first user plane device provides a service of user traffic forwarding, so the first user plane device can receive the keep-alive message sent by the user equipment.
426,第一用户面设备根据用户信息向用户设备反馈确认报文。426. The first user plane device feeds back a confirmation message to the user equipment according to the user information.
由于第一用户面设备接收控制面设备下发的用户信息,因此第一用户面设备可以根据用户信息向用户设备反馈确认报文。Since the first user plane device receives the user information delivered by the control plane device, the first user plane device can feed back a confirmation message to the user equipment according to the user information.
综上所述,本发明实施例提供的报文反馈方法,由于第一用户面设备在升级时无法提供服务,因此第一用户面设备在升级时,第二用户面设备接收控制面设备下发的第一用户面设备对应的用户信息,从而在第一用户面设备升级的过程中能够接替第一用户面设备进行用户流量的转发工作。由于第二用户面设备是在第一用户面设备升级前的预定时长就接收控制面设备下发的用户信息,并且预定时长大于控制面设备下发用户信息的时长,因此在第一用户面设备升级过程中,第二用户面设备中已经存储了用户信息,能够对用户设备发送的报文进行响应,从而使得用户设备在主备切换时不会掉线。To sum up, in the packet feedback method provided by the embodiment of the present invention, since the first user plane device cannot provide services during the upgrade, the second user plane device receives the data sent by the control plane device when the first user plane device is upgraded. The user information corresponding to the first user plane device, so that the first user plane device can take over for the first user plane device to perform user traffic forwarding during the upgrade process of the first user plane device. Because the second user plane device receives the user information delivered by the control plane device before the first user plane device is upgraded, and the predetermined time period is longer than the time period for which the control plane device delivers the user information, the first user plane device During the upgrade process, the user information has been stored in the second user plane device, and it can respond to the message sent by the user equipment, so that the user equipment will not be disconnected during active/standby switching.
由于第二用户面设备在接收到第一用户面设备对应的用户信息之后,才接收到控制面设备法发送的优先级提高命令,或者接收到第一用户面设备根据优先级降低命令降低的第一VRRP优先级,然后第二用户面设备的VRRP状态由备用状态切换为主状态,第二用户面设备接替第一用户面设备继续提供服务,使得在切换时第二用户面设备中已经有用户信息,从而不会产生切换时由于第二用户面设备中没有用户信息使得用户流量被丢弃的情况。Because the second user plane device only receives the priority increase command sent by the control plane device method after receiving the user information corresponding to the first user plane device, or receives the first user plane device to reduce the priority according to the priority reduction command. A VRRP priority, then the VRRP state of the second user plane device is switched from the standby state to the main state, and the second user plane device takes over the first user plane device and continues to provide services, so that there are already users in the second user plane device during the switchover. information, so that there is no situation in which user traffic is discarded during handover because there is no user information in the second user plane device.
由于第一用户面设备升级完毕后,第一用户面设备在接收到用户信息后,控制面设备才对第一用户面设备下发优先级提高命令,或对第二用户面设备下发优先级降低命令,使得在第一用户面设备升级完毕后,第一用户面设备中在存储有用户信息的情况下才将第二用户面设备的VRRP状态由主状态切换为备用状态,而第一用户面设备的VRRP状态由备用状态切换为主状态,第一用户面设备接替第二用户面设备继续提供服务,使得在切换时第一用户面设备中已经有用户信息,从而不会产生切换时由于第一用户面设备中没有用户信息使得用户流量被丢弃的情况。After the upgrade of the first user plane device is completed, after the first user plane device receives the user information, the control plane device issues a priority increase command to the first user plane device, or issues a priority to the second user plane device. The lowering command, so that after the upgrade of the first user plane device is completed, the VRRP state of the second user plane device is switched from the main state to the standby state only when user information is stored in the first user plane device. The VRRP state of the plane device is switched from the standby state to the main state, and the first user plane device takes over the second user plane device to continue to provide services, so that the first user plane device already has user information during the handover. There is no user information in the first user plane device, so that user traffic is discarded.
由于第一用户面设备升级完毕后,第一用户面设备在接收到用户信息后,控制面设备才对第一用户面设备下发优先级提高命令,或对第二用户面设备下发优先级降低命令,使得在第一用户面设备升级完毕后,第一用户面设备中在存储有用户信息的情况下才将第一用户面设备的VRRP状态由备用状态切换为主状态,而第二用户面设备的VRRP状态由主状态切换为备用状态,第一用户面设备接替第二用户面设备继续提供服务,使得在切换时第一用户面设备中已经有用户信息,从而不会产生切换时由于第一用户面设备中没有用户信息使得用户流量被丢弃的情况。After the upgrade of the first user plane device is completed, after the first user plane device receives the user information, the control plane device issues a priority increase command to the first user plane device, or issues a priority to the second user plane device. The lowering command, so that after the upgrade of the first user plane device is completed, the VRRP state of the first user plane device is switched from the standby state to the main state only when the user information is stored in the first user plane device, and the second user The VRRP state of the plane device is switched from the main state to the standby state, and the first user plane device takes over the second user plane device to continue to provide services, so that the first user plane device already has user information during the handover, so there will be no There is no user information in the first user plane device, so that user traffic is discarded.
由于第二用户面设备在接收到第一用户面设备对应的用户信息之后,才接收到控制面设备法发送的优先级提高命令,或者接收到第一用户面设备根据优先级降低命令降低的第一VRRP优先级,然后第一用户面设备的VRRP状态由主状态切换为备用状态,第二用户面设备接替第一用户面设备继续提供服务,使得在切换时第二用户面设备中已经有用户信息,从而不会产生切换时由于第二用户面设备中没有用户信息使得用户流量被丢弃的情况。Because the second user plane device only receives the priority increase command sent by the control plane device method after receiving the user information corresponding to the first user plane device, or receives the first user plane device to reduce the priority according to the priority reduction command. A VRRP priority, and then the VRRP state of the first user plane device is switched from the main state to the standby state, and the second user plane device takes over the first user plane device and continues to provide services, so that there are already users in the second user plane device when switching information, so that there is no situation in which user traffic is discarded during handover because there is no user information in the second user plane device.
由于第一用户面设备在升级时无法提供服务,因此控制面设备需要提前做好准备措施,向第二用户面设备下发第一用户面设备对应的用户信息,在下发完用户信息后,向第一用户面设备发送优先级降低命令或向第二用户面设备发送优先级提高命令,使得第一用户面设备和第二用户面设备进行主备切换,从而保证了第一用户面设备在升级时,第二用户面设备能够继续提供服务。Since the first user plane device cannot provide services during the upgrade, the control plane device needs to prepare in advance to deliver the user information corresponding to the first user plane device to the second user plane device. The first user plane device sends a priority lowering command or sends a priority increasing command to the second user plane device, so that the first user plane device and the second user plane device perform active/standby switchover, thereby ensuring that the first user plane device is being upgraded , the second user plane device can continue to provide services.
由于控制面设备是在第一用户面设备升级前的预定时长就向第二用户面设备下发用户信息,并且预定时长大于控制面设备下发用户信息的时长,因此在第一用户面设备升级过程中,第二用户面设备中已经存储了用户信息,能够对用户设备发送的报文进行响应,从而使得用户设备在主备切换时不会掉线。Since the control plane device delivers user information to the second user plane device within a predetermined time period before the first user plane device is upgraded, and the predetermined time period is longer than the time period for the control plane device to issue user information, the first user plane device is upgraded before the first user plane device is upgraded. During the process, the user information has been stored in the second user plane device, and the second user plane device can respond to the message sent by the user device, so that the user device will not be disconnected during the master/slave switchover.
由于第一用户面设备在升级完毕后能够提供服务,因此控制面设备可以将第二用户面设备的用户信息下发给第一用户面设备,在下发完用户信息后,向第一用户面设备发送优先级提高命令或向第二用户面设备发送优先级降低命令,使得第一用户面设备和第二用户面设备进行主备切换,从而使得第一用户面设备在升级完毕后能够继续提供服务。Since the first user plane device can provide services after the upgrade is completed, the control plane device can deliver the user information of the second user plane device to the first user plane device, and after the user information is delivered, send the user information to the first user plane device. Send a priority increase command or send a priority decrease command to the second user plane device, so that the first user plane device and the second user plane device perform active/standby switchover, so that the first user plane device can continue to provide services after the upgrade is complete .
图5A是本发明再一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,本实施例中第一用户面设备由于上行链路故障导致无法提供服务,如图5A所示,该报文反馈方法包括:FIG. 5A is a method flowchart of a message feedback method provided by still another embodiment of the present invention. The packet feedback method is used in the implementation environment shown in FIG. 2A as an example. In this embodiment, the first user plane device cannot provide services due to an uplink failure. As shown in FIG. 5A , the packet feedback method includes: :
501,第一用户面设备在通过BFD探测到上行链路发生故障后,降低第一用户面设备的第一VRRP优先级。501. After detecting an uplink failure through BFD, the first user plane device lowers the first VRRP priority of the first user plane device.
由于第一用户面设备的BFD与上行链路接口绑定,当第一用户面设备通过BFD发出检测报文没有得到响应时,表明上行链路发生故障。BFD在检测到故障后,BFD的状态变为DOWN,BFD与VRRP进行通信,VRRP得知上行链路故障,通过自行降低第一VRRP优先级,使得用户流量切换到第二用户面设备。Since the BFD of the first user plane device is bound to the uplink interface, when the first user plane device sends a detection packet through the BFD and receives no response, it indicates that the uplink is faulty. After BFD detects a fault, the BFD status changes to DOWN, and BFD communicates with VRRP. VRRP learns that the uplink is faulty and lowers the priority of the first VRRP by itself, so that user traffic is switched to the second user plane device.
在实际应用中,通过BFD故障检测,能够很快将用户流量切换到第二用户面设备,目的是使用户设备感知不到。In practical applications, through BFD fault detection, user traffic can be quickly switched to the second user plane equipment, so that the user equipment cannot perceive it.
502,第一用户面设备向第二用户面设备发送第一VRRP优先级。502. The first user plane device sends the first VRRP priority to the second user plane device.
503,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。503. The second user plane device receives the first VRRP priority sent by the first user plane device.
504,第二用户面设备在第一VRRP优先级低于第二用户面设备的第二VRRP优先级时,将第二用户面设备的VRRP状态从备用状态切换为主状态。504. When the first VRRP priority is lower than the second VRRP priority of the second user plane device, the second user plane device switches the VRRP state of the second user plane device from the standby state to the main state.
由于第一用户面设备的上行链路故障,第一用户面设备无法继续提供服务,因此需要将第二用户面设备的VRRP状态切换为主状态,由第二用户面设备接替第一用户面设备提供服务。Due to the uplink failure of the first user plane device, the first user plane device cannot continue to provide services. Therefore, the VRRP state of the second user plane device needs to be switched to the main state, and the second user plane device takes over the first user plane device. Provide services.
505,第二用户面设备向第一用户面设备发送第二VRRP优先级。505. The second user plane device sends the second VRRP priority to the first user plane device.
506,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。506. The first user plane device receives the second VRRP priority sent by the second user plane device.
507,第一用户面设备在第一VRRP优先级低于第二VRRP优先级时,将第一用户面设备的VRRP状态从主状态切换为备用状态。507. 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.
508,第二用户面设备向控制面设备发送VRRP状态切换通知。508. The second user plane device sends a VRRP state switching notification to the control plane device.
509,控制面设备接收第二用户面设备发送的VRRP状态切换通知。509. The control plane device receives the VRRP state switching notification sent by the second user plane device.
510,控制面设备向第二用户面设备下发第一用户面设备对应的用户信息。510. The control plane device delivers user information corresponding to the first user plane device to the second user plane device.
511,第二用户面设备接收控制面设备下发的第一用户面设备对应的用户信息。511. The second user plane device receives user information corresponding to the first user plane device delivered by the control plane device.
512,第二用户面设备接收用户设备发送的保活报文。512. The second user plane device receives the keep-alive message sent by the user equipment.
513,第二用户面设备查询第二用户面设备中是否存在与保活报文对应的用户信息。513. The second user plane device queries whether there is user information corresponding to the keep-alive message in the second user plane device.
由于控制面设备下发用户信息需要十几秒的时间,并且控制面设备下发用户信息有可能分多次下发,而在BFD检测到故障时,第二用户面设备只需要100多毫秒即可切换为主状态,因此第二用户面设备中可能还未接收到用户信息或者还未接收到全部用户信息。Since it takes more than ten seconds for the control plane device to deliver user information, and the control plane device may deliver user information in multiple times, when the BFD detects a fault, the second user plane device only needs more than 100 milliseconds. It can be switched to the main state, so the second user plane device may not have received user information or all user information has not yet been received.
514,当第二用户面设备中存在与保活报文对应的用户信息时,第二用户面设备向用户设备反馈确认报文。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 equipment.
若第二用户面设备中正好已经接收到与保活报文对应的用户信息,则第二用户面设备可以根据用户信息向发送保活报文的用户设备反馈确认报文。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 equipment sending the keep-alive message according to the user information.
515,当第二用户面设备中不存在与保活报文对应的用户信息时,第二用户面设备向控制面设备发送保活报文。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 a keep-alive message to the control plane device.
若第二用户面设备中不存在与保活报文对应的用户信息,则第二用户面设备无法对保活报文进行回应,若第二用户面设备将保活报文丢弃,对应的用户设备则会掉线。If the user information corresponding to the keep-alive message does not exist in the second user plane device, the second user plane device cannot respond to the keep-alive message. If the second user plane device discards the keep-alive message, the corresponding user The device will be dropped.
而控制面设备中存储了全部的用户信息,为了使用户设备不掉线,第二用户面设备将保活报文上报给控制面设备,由控制面设备根据用户信息对保活报文进行回应,从而使得用户设备在上行链路发生故障时不会掉线。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 message to the control plane device, and the control plane device responds to the keep-alive message according to the user information. , so that the user equipment will not be dropped when the uplink fails.
516,控制面设备接收第二用户面设备发送的保活报文。516. The control plane device receives the keep-alive message sent by the second user plane device.
517,控制面设备根据存储的用户信息向用户设备反馈确认报文。517. The control plane device feeds back a confirmation message to the user equipment according to the stored user information.
图5B是本发明再一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,本实施例中第一用户面设备由于上行链路故障恢复能够正常提供服务,如图5B所示,该报文反馈方法包括:FIG. 5B is a method flowchart of a message feedback method provided by still another embodiment of the present invention. The packet feedback method is applied in the implementation environment shown in FIG. 2A as an example. In this embodiment, the first user plane device can normally provide services due to uplink fault recovery. As shown in FIG. 5B , the packet feedback method include:
518,第一用户面设备在通过BFD探测到第一用户面设备的上行链路故障恢复时,向控制面设备发送第一状态变化信息。518 , when the first user plane device detects that the uplink fault of the first user plane device has recovered through BFD, sends the first state change information to the control plane device.
当第一用户面设备通过BFD向上行链路接口发送检测报文得到回应时,表明上行链路故障恢复。When the first user plane device sends a detection packet to the uplink interface through BFD and receives a response, it indicates that the uplink fault has recovered.
在实际应用中,当BFD检测到故障恢复时,BFD的状态会立刻切换为UP,表示正常,BFD与VRRP进行通信,VRRP很快也会将第一用户面设备的VRRP状态切换为主状态,但由于控制面设备下发用户信息需要一定时长,若第一用户面设备的VRRP状态快速切换为主状态,但第一用户面设备中还未接收到用户信息,则会导致部分用户流量的丢失,因此BFD配置有延迟UP时间,延迟UP时间的时长需要大于控制面设备下发用户信息的时长,使得在用户信息没有全部下发完毕之前,第一用户面设备的VRRP状态不能切换成主状态,避免了用户流量的丢失。In practical applications, when BFD detects that the fault has recovered, the BFD state will immediately switch to UP, indicating normal, BFD communicates with VRRP, and VRRP will soon switch the VRRP state of the first user plane device to the main state. However, since it takes a certain period of time for the control plane device to deliver user information, if the VRRP state of the first user plane device quickly switches to the main state, but the first user plane device has not yet received user information, some user traffic will be lost. , so the BFD is configured with a delay UP time, and the delay UP time should be longer than the time for the control plane device to deliver the user information, so that the VRRP state of the first user plane device cannot be switched to the main state before all the user information is delivered. , to avoid the loss of user traffic.
519,控制面设备接收第一用户面设备发送的第一状态变化信息。519. The control plane device receives the first state change information sent by the first user plane device.
当第一用户面设备通过BFD检测到上行链路故障恢复时,第一用户面设备通过第一状态变化信息告知控制面设备即将第一用户面设备进行VRRP状态切换,使得控制面设备能够及时将用户信息下发到第一用户面设备上。When the first user plane device detects that the uplink fault has recovered through BFD, the first user plane device informs the control plane device through the first state change information that the first user plane device is about to perform VRRP state switching, so that the control plane device can timely The user information is delivered to the first user plane device.
第一状态变化信息中至少包含第一用户面设备的IP地址,控制面设备通过第一状态变化信息查找对应的用户信息。The first state change information includes at least the IP address of the first user plane device, and the control plane device searches for corresponding user information through the first state change information.
520,控制面设备向第一用户面设备发送第二用户面设备对应的用户信息。520. The control plane device sends the user information corresponding to the second user plane device to the first user plane device.
控制面设备在查找到第一用户面设备需要的用户信息后,将用户信息下发给第一用户面设备。After finding the user information required by the first user plane device, the control plane device delivers the user information to the first user plane device.
521,第一用户面设备接收控制面设备根据第一状态变化信息下发的第二用户面设备对应的用户信息。521. The first user plane device receives user information corresponding to the second user plane device that is delivered by the control plane device according to the first state change information.
522,在用户信息下发完毕后,控制面设备向第一用户面设备发送第一切换通知,第一切换通知用于提高第一用户面设备的第一VRRP优先级。522. After the user information is delivered, the control plane device sends a first handover notification to the first user plane device, where the first handover notification is used to increase the first VRRP priority of the first user plane device.
控制面设备在用户信息下发完毕后,向第一用户面设备发送第一切换通知,通过第一切换通知提高第一VRRP优先级,从而使第一用户面设备的VRRP状态切换为主状态。After the user information is delivered, the control plane device sends a first handover notification to the first user plane device, and increases the first VRRP priority through the first handover notification, so that the VRRP state of the first user plane device is switched to the main state.
在实际应用中,控制面设备发送第一切换通知的时间要早于BFD延迟UP时间。由于BFD延迟UP时间要长于控制面设备下发用户信息和发送第一切换通知的时间,因此VRRP状态的切换以第一用户面设备接收到控制面设备发送的第一切换通知的时间为准。In practical applications, the time when the control plane device sends the first handover notification is earlier than the BFD delay UP time. Since the BFD delay UP time is longer than the time for the control plane device to deliver user information and send the first handover notification, the VRRP state switching is based on the time when the first user plane device receives the first handover notification sent by the control plane device.
523,第一用户面设备接收控制面设备发送的第一切换通知。523. The first user plane device receives the first handover notification sent by the control plane device.
524,第一用户面设备根据第一切换通知提高第一用户面设备的第一VRRP优先级。524. The first user plane device increases the first VRRP priority of the first user plane device according to the first handover notification.
525,第二用户面设备向第一用户面设备发送第二VRRP优先级。525. The second user plane device sends the second VRRP priority to the first user plane device.
526,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。526. The first user plane device receives the second VRRP priority sent by the second user plane device.
527,第一用户面设备在第一VRRP优先级高于第二VRRP优先级时,将第一用户面设备的VRRP状态从备用状态切换为主状态。527. When the first VRRP priority is higher than the second 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.
528,第一用户面设备向第二用户面设备发送第一VRRP优先级。528. The first user plane device sends the first VRRP priority to the second user plane device.
529,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。529. The second user plane device receives the first VRRP priority sent by the first user plane device.
530,第二用户面设备在第一VRRP优先级高于第二VRRP优先级时,将第二用户面设备的VRRP状态从主状态切换为备用状态。530. When the first VRRP priority is higher than the second VRRP priority, the second user plane device switches the VRRP state of the second user plane device from the main state to the standby state.
531,第一用户面设备接收用户设备发送的保活报文。531. The first user plane device receives the keep-alive message sent by the user equipment.
532,第一用户面设备根据用户信息向用户设备反馈确认报文。532. The first user plane device feeds back a confirmation message to the user equipment according to the user information.
图5C是本发明再一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,本实施例中第一用户面设备由于下行链路故障或由于第一用户面设备故障导致无法提供服务,如图5C所示,该报文反馈方法包括:FIG. 5C is a method flowchart of a message feedback method provided by still another embodiment of the present invention. The packet feedback method is applied in the implementation environment shown in FIG. 2A as an example. In this embodiment, the first user plane device cannot provide services 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,第二用户面设备通过BFD探测到第一用户面设备或第一用户面设备的下行链路发生故障时,提高第二用户面设备的第二VRRP优先级。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, increase the second VRRP priority of the second user plane device.
第二用户面设备的BFD与第一用户面设备的IP地址绑定,若第二用户面设备通过BFD发送检测检测报文没有得到回应,则表明第一用户面设备或第一用户面设备的下行链路故障。第二用户面设备的BFD状态变为DOWN,并与VRRP进行通信,告知VRRP进行状态切换。The BFD of the second user plane device is bound to the IP address of the first user plane device. If the second user plane device does not receive a response by sending a detection packet through BFD, it indicates that the first user plane device or the first user plane device has an IP address. Downlink failure. The BFD state of the second user plane device changes to DOWN, and communicates with VRRP to inform VRRP to perform state switching.
第二用户面设备通过自行提高第二VRRP优先级,使得第二VRRP优先级高于第一VRRP优先级,从而使得第二用户面设备的VRRP状态切换为主状态。The second user plane device increases the second VRRP priority by itself, so that the second VRRP priority is higher than the first VRRP priority, so that the VRRP state of the second user plane device is switched to the main state.
534,第二用户面设备向第一用户面设备发送第二VRRP优先级。534. The second user plane device sends the second VRRP priority to the first user plane device.
535,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。535. The first user plane device receives the second VRRP priority sent by the second user plane device.
536,第一用户面设备在第二VRRP优先级高于第一VRRP优先级时,将第一用户面设备的VRRP状态从主状态切换为备用状态。536. When the second VRRP priority is higher than the first 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.
当第一用户面设备的下行链路故障导致第一用户面设备和第二用户面设备之间无法通过VRRP通告报文通信时,步骤534至步骤536可以不执行,直接执行步骤537,将第二用户面设备的VRRP状态从备用状态切换为主状态。When the downlink failure of the first user plane device causes the communication between the first user plane device and the second user plane device to fail through VRRP advertisement packets, steps 534 to 536 may not be executed, and step 537 is directly executed, and the The VRRP state of the second user plane device is switched from the standby state to the active state.
537,第二用户面设备在第一VRRP优先级低于第二VRRP优先级时,将第二用户面设备的VRRP状态从备用状态切换为主状态。537. When the first VRRP priority is lower than the second VRRP priority, the second user plane device switches the VRRP state of the second user plane device from the standby state to the main state.
可选地,当第二用户面设备的第二VRRP优先级提高时,第二用户面设备的VRRP状态从备用状态切换为主状态。Optionally, when the second VRRP priority of the second user plane device is increased, the VRRP state of the second user plane device is switched from the standby state to the main state.
可选地,当第二用户面设备接收到第一VRRP优先级,且第一VRRP优先级低于第二VRRP优先级时,第二用户面设备的VRRP状态从备用状态切换为主状态。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 switches from the standby state to the main state.
可选地,当第二用户面设备在VRRP通告报文的3个报文周期没有收到第一用户面设备发送的VRRP通告报文时,第二用户面设备的VRRP状态从备用状态切换为主状态。Optionally, when the second user plane device does not receive the VRRP advertisement packet sent by the first user plane device within 3 packet periods of the VRRP advertisement packet, the VRRP state of the second user plane device is switched from the standby state to the standby state. main state.
538,第二用户面设备向控制面设备发送VRRP状态切换通知。538. The second user plane device sends a VRRP state switching notification to the control plane device.
539,控制面设备接收第二用户面设备发送的VRRP状态切换通知。539. The control plane device receives the VRRP state switching notification sent by the second user plane device.
540,控制面设备向第二用户面设备下发第一用户面设备对应的用户信息。540. The control plane device delivers user information corresponding to the first user plane device to the second user plane device.
541,第二用户面设备接收控制面设备下发的第一用户面设备对应的用户信息。541. The second user plane device receives user information corresponding to the first user plane device delivered by the control plane device.
542,第二用户面设备接收用户设备发送的保活报文。542. The second user plane device receives the keep-alive message sent by the user equipment.
543,第二用户面设备查询第二用户面设备中是否存在与保活报文对应的用户信息。543. The second user plane device queries whether there is user information corresponding to the keep-alive message in the second user plane device.
由于控制面设备下发用户信息需要十几秒的时间,并且控制面设备下发用户信息有可能分多次下发,而在BFD检测到故障时,第二用户面设备只需要100多毫秒即可切换为主状态,因此第二用户面设备中可能还未接收到用户信息或者还未接收到全部用户信息。Since it takes more than ten seconds for the control plane device to deliver user information, and the control plane device may deliver user information in multiple times, when the BFD detects a fault, the second user plane device only needs more than 100 milliseconds. It can be switched to the main state, so the second user plane device may not have received user information or all user information has not yet been received.
544,当第二用户面设备中存在与保活报文对应的用户信息时,第二用户面设备向用户设备反馈确认报文。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 equipment.
若第二用户面设备中正好已经接收到与保活报文对应的用户信息,则第二用户面设备可以根据用户信息向发送保活报文的用户设备反馈确认报文。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 equipment sending the keep-alive message according to the user information.
545,当第二用户面设备中不存在与保活报文对应的用户信息时,第二用户面设备向控制面设备发送保活报文。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 user information corresponding to the keep-alive message does not exist in the second user plane device, the second user plane device cannot respond to the keep-alive message. If the second user plane device discards the keep-alive message, the corresponding user The device will be dropped.
而控制面设备中存储了全部的用户信息,为了使用户设备不掉线,第二用户面设备将保活报文上报给控制面设备,由控制面设备根据用户信息对保活报文进行回应,从而使得用户设备在下行链路或第一用户面设备发生故障时不会掉线。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 message to the control plane device, and the control plane device responds to the keep-alive message according to the user information. , so that the user equipment will not be dropped when the downlink or the first user plane equipment fails.
546,控制面设备接收第二用户面设备发送的保活报文。546. The control plane device receives the keep-alive message sent by the second user plane device.
547,控制面设备根据存储的用户信息向用户设备反馈确认报文。547. The control plane device feeds back a confirmation message to the user equipment according to the stored user information.
图5D是本发明再一个实施例提供的报文反馈方法的方法流程图。该报文反馈方法以应用在图2A所示的实施环境中举例说明,本实施例中第一用户面设备由于下行链路故障恢复或第一用户面设备故障恢复能够正常提供服务,如图5D所示,该报文反馈方法包括:FIG. 5D is a method flowchart of a message feedback method provided by still another embodiment of the present invention. The packet feedback method is applied in the implementation environment shown in FIG. 2A as an example. In this embodiment, the first user plane device can normally provide services due to downlink failure recovery or first user plane device failure recovery, as shown in FIG. 5D . As shown, the message feedback method includes:
548,第二用户面设备通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障恢复时,向控制面设备发送第二状态变化信息。548. When the second user plane device detects that the first user plane device or the downlink fault of the first user plane device has recovered through BFD, it sends the second state change information to the control plane device.
当第二用户面设备通过BFD向第一用户面设备发送检测报文得到回应时,表明第一用户面设备或第一用户面设备的下行链路故障恢复。When the second user plane device sends a detection packet to the first user plane device through BFD and gets a response, it indicates that the first user plane device or the downlink fault of the first user plane device has recovered.
在实际应用中,当BFD检测到故障恢复时,BFD的状态会立刻切换为UP,表示正常,BFD与VRRP进行通信,VRRP很快也会将第一用户面设备的VRRP状态切换为主状态,但由于控制面设备下发用户信息需要一定时长,若第一用户面设备的VRRP状态快速切换为主状态,但第一用户面设备中还未接收到用户信息,则会导致部分用户流量的丢失,因此BFD配置有延迟UP时间,延迟UP时间的时长需要大于控制面设备下发用户信息的时长,使得在用户信息没有全部下发完毕之前,第一用户面设备的VRRP状态不能切换成主状态,避免了用户流量的丢失。In practical applications, when BFD detects that the fault has recovered, the BFD state will immediately switch to UP, indicating normal, BFD communicates with VRRP, and VRRP will soon switch the VRRP state of the first user plane device to the main state. However, since it takes a certain period of time for the control plane device to deliver user information, if the VRRP state of the first user plane device quickly switches to the main state, but the first user plane device has not yet received user information, some user traffic will be lost. , so the BFD is configured with a delay UP time, and the delay UP time should be longer than the time for the control plane device to deliver the user information, so that the VRRP state of the first user plane device cannot be switched to the main state before all the user information is delivered. , to avoid the loss of user traffic.
549,控制面设备接收第二用户面设备发送的第二状态变化信息。549. The control plane device receives the second state change information sent by the second user plane device.
当第二用户面设备通过BFD检测到下行链路或第一用户面设备故障恢复时,第二用户面设备通过第二状态变化信息告知控制面设备第一用户面设备即将进行VRRP状态切换,使得控制面设备能够及时将用户信息下发到第一用户面设备上。When the second user plane device detects through BFD that the downlink or the first user plane device has recovered from a fault, the second user plane device informs the control plane device through the second state change information that the first user plane device is about to perform VRRP state switching, so that The control plane device can deliver the user information to the first user plane device in time.
第二状态变化信息中至少包含第一用户面设备的IP地址,控制面设备通过第一状态变化信息查找对应的用户信息。The second state change information includes at least the IP address of the first user plane device, and the control plane device searches for corresponding user information through the first state change information.
550,控制面设备向第一用户面设备发送的第二用户面设备对应的用户信息。550. The control plane device sends the user information corresponding to the second user plane device to the first user plane device.
控制面设备在查找到第一用户面设备需要的用户信息后,将用户信息下发给第一用户面设备。After finding the user information required by the first user plane device, the control plane device delivers the user information to the first user plane device.
551,第一用户面设备接收控制面设备根据第二状态变化信息下发的第二用户面设备对应的用户信息。551. The first user plane device receives user information corresponding to the second user plane device that is delivered by the control plane device according to the second state change information.
552,在用户信息下发完毕后,控制面设备向第二用户面设备发送第二切换通知,第二切换通知用于降低第二用户面设备的第二VRRP优先级。552. After the user information is delivered, the control plane device sends a second handover notification to the second user plane device, where the second handover notification is used to reduce the second VRRP priority of the second user plane device.
控制面设备在用户信息下发完毕后,向第二用户面设备发送第二切换通知,通过第二切换通知降低第二VRRP优先级,从而使第二用户面设备的VRRP状态切换为备用状态。After the user information is delivered, the control plane device sends a second handover notification to the second user plane device, and reduces the second VRRP priority through the second handover notification, so that the VRRP state of the second user plane device is switched to the standby state.
在实际应用中,控制面设备发送第二切换通知的时间要早于BFD延迟UP时间。由于BFD延迟UP时间要长于控制面设备下发用户信息和发送第二切换通知的时间,因此VRRP状态的切换以第二用户面设备接收到控制面设备发送的第二切换通知的时间为准。In practical applications, the time at which the control plane device sends the second handover notification is earlier than the BFD delay UP time. Since the BFD delay UP time is longer than the time for the control plane device to deliver user information and send the second handover notification, the VRRP state switching is based on the time when the second user plane device receives the second handover notification sent by the control plane device.
553,第二用户面设备接收控制面设备发送的第二切换通知。553. The second user plane device receives the second handover notification sent by the control plane device.
554,第二用户面设备根据第二切换通知降低第二用户面设备的第二VRRP优先级。554. The second user plane device reduces the second VRRP priority of the second user plane device according to the second handover notification.
555,第二用户面设备向第一用户面设备发送第二VRRP优先级。555. The second user plane device sends the second VRRP priority to the first user plane device.
556,第一用户面设备接收第二用户面设备发送的第二VRRP优先级。556. The first user plane device receives the second VRRP priority sent by the second user plane device.
557,第一用户面设备在第一VRRP优先级高于第二VRRP优先级时,将第一用户面设备的VRRP状态从备用状态切换为主状态。557. When the first VRRP priority is higher than the second VRRP priority, the first user plane device switches the VRRP state of the first user plane device from the standby state to the primary state.
558,第一用户面设备向第二用户面设备发送第一VRRP优先级。558. The first user plane device sends the first VRRP priority to the second user plane device.
559,第二用户面设备接收第一用户面设备发送的第一VRRP优先级。559. The second user plane device receives the first VRRP priority sent by the first user plane device.
560,第二用户面设备在第一VRRP优先级高于第二VRRP优先级时,将第二用户面设备的VRRP状态从主状态切换为备用状态。560. When the first VRRP priority is higher than the second VRRP priority, the second user plane device switches the VRRP state of the second user plane device from the main state to the standby state.
561,第一用户面设备接收用户设备发送的保活报文。561. The first user plane device receives the keep-alive message sent by the user equipment.
562,第一用户面设备根据用户信息向用户设备反馈确认报文。562. The first user plane device feeds back a confirmation message to the user equipment according to the user information.
综上所述,本发明实施例提供的报文反馈方法,由于在第一用户面设备所在链路发生故障时,第二用户面设备的VRRP状态从备用状态切换为主状态,并向控制面设备发送状态切换通知请求下发用户信息,使得在由于故障第一用户面设备无法提供服务时,第二用户面设备能够继续提供服务,实现对用户流量的转发。To sum up, in the packet feedback method provided by the embodiment of the present invention, when the 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 the control plane is sent to the control plane. The device sends a state switching notification requesting to issue user information, so that when the first user plane device cannot provide services due to a fault, the second user plane device can continue to provide services and forward user traffic.
由于在第一用户面设备的上行链路发生故障时,第一用户面设备能够通过BFD探测到上行链路故障,并自行降低第一VRRP优先级,在第一用户面设备或第一用户面设备的下行链路发生故障时,第二用户面设备能够通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障,并自行提高第二VRRP优先级,最终使得第一VRRP优先级低于第二VRRP优先级,从而使得第二用户面设备的VRRP状态由备用状态切换为主状态,接替第一用户面设备继续提供服务。Because when the uplink of the first user plane device fails, the first user plane device can detect the uplink failure through BFD and lower the priority of the first VRRP by itself. When the downlink of the device fails, the second user plane device can detect the downlink failure of the first user plane device or the first user plane device through BFD, and automatically increase the priority of the second VRRP, and finally make the first VRRP The priority is lower than the second VRRP priority, so that the VRRP state of the second user plane device is switched from the standby state to the main state, and the first user plane device continues to provide services.
由于第二用户面设备在接收到用户设备发送的保活报文时,先查询自身是否存储有与保活报文对应的用户信息,第二用户面设备在查询不到对应的用户信息时,将保活报文上报给控制面设备进行回应,使得在第二用户面设备接收到用户信息之前,用户设备依然能够接收到确认报文,从而使得用户设备不会掉线。Because when the second user plane device receives the keep-alive message sent by the user equipment, it first checks whether it stores the user information corresponding to the keep-alive message. The keep-alive message is reported to the control plane device for response, so that the user equipment can still receive the confirmation message before the second user plane device receives the user information, so that the user equipment will not be disconnected.
由于在第一用户面设备所在链路故障恢复时,对于第一用户面设备的上行链路,第一用户面设备能够通过BFD探测到故障恢复,对于第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备能够通过BFD探测到故障恢复,通过告知控制面设备第一用户面设备所在链路故障恢复,控制面设备向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后通知第二用户面设备由主状态切换为备用状态,使得在第一用户面设备所在链路故障恢复时,第一用户面设备能够切换回主状态继续提供服务。When the link on which the first user plane device is located recovers from a fault, for the uplink of the first user plane device, the first user plane device can detect the fault recovery through BFD. For the first user plane device or the first user plane device When the downlink fails to recover, the second user plane device can detect the failure recovery through BFD, and by notifying the control plane device that the link where the first user plane device is located has recovered from the failure, the control plane device sends the second user plane device to the first user plane device. The user information corresponding to the user plane device is notified after the user information is delivered to the second user plane device to switch from the main state to the standby state, so that when the link where the first user plane device is located is restored, the first user plane device can switch Return to the main state to continue to provide services.
另外,由于控制面设备先下发用户信息,再发送切换通知,使得第一用户面设备在故障恢复切换回主状态时,不会产生用户流量丢失的问题。In addition, because the control plane device delivers user information first, and then sends the switching notification, so that the problem of user traffic loss will not occur when the first user plane device switches back to the primary state after failure recovery.
由于在第一用户面设备所在链路故障恢复时,对于第一用户面设备的上行链路,第一用户面设备能够通过BFD探测到故障恢复,对于第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备能够通过BFD探测到故障恢复,通过告知控制面设备第一用户面设备所在链路故障恢复,控制面设备向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后通知第一用户面设备由备用状态切换为主状态,使得在第一用户面设备所在链路故障恢复时,第一用户面设备能够切换回主状态继续提供服务。When the link on which the first user plane device is located recovers from a fault, for the uplink of the first user plane device, the first user plane device can detect the fault recovery through BFD. For the first user plane device or the first user plane device When the downlink fails to recover, the second user plane device can detect the failure recovery through BFD, and by notifying the control plane device that the link where the first user plane device is located has recovered from the failure, the control plane device sends the second user plane device to the first user plane device. The user information corresponding to the user plane device is notified after the user information is delivered to the first user plane device to switch from the standby state to the main state, so that when the link where the first user plane device is located is restored, the first user plane device can switch over Return to the main state to continue to provide services.
另外,由于控制面设备先下发用户信息,再发送切换通知,使得第一用户面设备在故障恢复切换回主状态时,不会产生用户流量丢失的问题。In addition, because the control plane device delivers user information first, and then sends the switching notification, so that the problem of user traffic loss will not occur when the first user plane device switches back to the primary state after failure recovery.
由于在第一用户面设备的上行链路发生故障时,第一用户面设备能够通过BFD探测到上行链路故障,并自行降低第一VRRP优先级,在第一用户面设备或第一用户面设备的下行链路发生故障时,第二用户面设备能够通过BFD探测到第一用户面设备或第一用户面设备的下行链路故障,并自行提高第二VRRP优先级,最终使得第一VRRP优先级低于第二VRRP优先级,从而使得第一用户面设备的VRRP状态由主状态切换为备用状态,使得第二用户面设备接替第一用户面设备继续提供服务。Because when the uplink of the first user plane device fails, the first user plane device can detect the uplink failure through BFD and lower the priority of the first VRRP by itself. When the downlink of the device fails, the second user plane device can detect the downlink failure of the first user plane device or the first user plane device through BFD, and automatically increase the priority of the second VRRP, and finally make the first VRRP The priority is lower than the second VRRP priority, so that the VRRP state of the first user plane device is switched from the main state to the standby state, so that the second user plane device takes over the first user plane device and continues to provide services.
由于在第一用户面设备所在链路发生故障时,第一用户面设备和第二用户面设备会自行进行主备切换,然后第二用户面设备向控制面设备告知VRRP状态切换的情况,控制面设备向第二用户面设备下发第一用户面设备对应的用户信息,使得在第一用户面设备所在链路发生故障时,第二用户面设备能够接替第一用户面设备继续提供服务。When the link where the first user plane device is located fails, the first user plane device and the second user plane device will perform active/standby switchover by themselves, and then the second user plane device notifies the control plane device of the VRRP state switching, and controls the The plane device delivers user information corresponding to the first user plane device to the second user plane device, so that when the link where the first user plane device is located fails, the second user plane device can take over the first user plane device and continue to provide services.
由于控制面设备在第二用户面设备查询到自身没有存储有与保活报文对应的用户信息时,接收第二用户面设备上报的保活报文并进行回应,使得在第二用户面设备接收到用户信息之前,用户设备依然能够接收到确认报文,从而使得用户设备不会掉线。Since the control plane device receives the keep-alive message reported by the second user plane device and responds when the second user plane device finds that it does not store the user information corresponding to the keep-alive message, the second user plane device Before receiving the user information, the user equipment can still receive the confirmation message, so that the user equipment will not be disconnected.
由于在第一用户面设备所在链路故障恢复时,对于第一用户面设备的上行链路,第一用户面设备能够通过BFD探测到故障恢复,对于第一用户面设备或第一用户面设备的下行链路故障恢复时,第二用户面设备能够通过BFD探测到故障恢复,通过告知控制面设备第一用户面设备所在链路故障恢复,控制面设备向第一用户面设备下发第二用户面设备对应的用户信息,在用户信息下发完毕后通知第二用户面设备由主状态切换为备用状态,使得在第一用户面设备所在链路故障恢复时,第一用户面设备能够切换回主状态继续提供服务。When the link on which the first user plane device is located recovers from a fault, for the uplink of the first user plane device, the first user plane device can detect the fault recovery through BFD. For the first user plane device or the first user plane device When the downlink fails to recover, the second user plane device can detect the failure recovery through BFD, and by notifying the control plane device that the link where the first user plane device is located has recovered from the failure, the control plane device sends the second user plane device to the first user plane device. The user information corresponding to the user plane device is notified after the user information is delivered to the second user plane device to switch from the main state to the standby state, so that when the link where the first user plane device is located is restored, the first user plane device can switch Return to the main state to continue to provide services.
下述为本发明装置实施例,可以用于执行本发明方法实施例。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。The following are apparatus embodiments of the present invention, which can be used to execute method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.
图6是本发明一个实施例提供的报文反馈装置的结构方框图。该报文反馈装置应用在图2A所示的第二用户面设备223中,该报文反馈装置可以通过软件、硬件或者两者的结合实现成为第二用户面设备223的部分或者全部。如图6所示,该报文反馈装置600包括:获取单元610、接收单元620和反馈单元630。FIG. 6 is a structural block diagram of a message feedback apparatus provided by an embodiment of the present invention. The message feedback device is applied in the second
获取单元610,用于实现上述步骤302、步骤402、步骤508、步骤511、步骤538、步骤541以及其他任意隐含或公开的与获取相关的功能。The obtaining
接收单元620,用于实现上述步骤303、步骤407a、步骤408a、步骤409a、步骤404b、步骤405b、步骤407b、步骤408b、步骤409b、步骤412、步骤419a、步骤423a、步骤424a、步骤417b、步骤418b、步骤419b、步骤423b、步骤424b、步骤503、步骤504、步骤505、步骤512、步骤525、步骤529、步骤530、步骤533、步骤534、步骤537、步骤542、步骤548、步骤553、步骤554、步骤555、步骤559、步骤560以及其他任意隐含或公开的与接收相关的功能。The receiving
反馈单元630,用于实现上述步骤304、步骤413、步骤513、步骤514、步骤515、步骤543、步骤544、步骤545以及其他任意隐含或公开的与反馈相关的功能。The
图7是本发明另一个实施例提供的报文反馈装置的结构方框图。该报文反馈装置应用在图2A所示的第一用户面设备222中,该报文反馈装置可以通过软件、硬件或者两者的结合实现成为第一用户面设备222的部分或者全部。如图7所示,该报文反馈装置700包括:获取单元710、接收单元720和反馈单元730。FIG. 7 is a structural block diagram of a message feedback apparatus provided by another embodiment of the present invention. The message feedback device is applied in the first
获取单元710,用于实现上述步骤306、步骤415、步骤521、步骤551以及其他任意隐含或公开的与获取相关的功能。The obtaining
接收单元720,用于实现上述步骤307、步骤404a、步骤405a、步骤406a、步骤410a、步骤411a、步骤406b、步骤410b、步骤411b、步骤417a、步骤418a、步骤420a、步骤421a、步骤422a、步骤420b、步骤421b、步骤422b、步骤425、步骤501、步骤502、步骤506、步骤507、步骤518、步骤523、步骤524、步骤526、步骤527、步骤528、步骤531、步骤535、步骤536、步骤556、步骤557、步骤558、步骤561以及其他任意隐含或公开的与接收相关的功能。The receiving
反馈单元730,用于实现上述步骤308、步骤426、步骤532、步骤562以及其他任意隐含或公开的与反馈相关的功能。The
图8是本发明再一个实施例提供的报文反馈装置的结构方框图。该报文反馈装置应用在图2A所示的控制面设备214中,该报文反馈装置可以通过软件、硬件或者两者的结合实现成为控制面设备214的部分或者全部。如图8所示,该报文反馈装置800包括:第一发送单元810和第二发送单元820。FIG. 8 is a structural block diagram of a message feedback apparatus provided by still another embodiment of the present invention. The message feedback apparatus is applied in the
第一发送单元810,用于实现上述步骤301、步骤401、步骤403a、步骤403b、步骤509、步骤510、步骤516、步骤517、步骤539、步骤540、步骤546、步骤547以及其他任意隐含或公开的与发送相关的功能。The
第二发送单元820,用于实现上述步骤305、步骤414、步骤416a、步骤416b、步骤519、步骤520、步骤522、步骤549、步骤550、步骤552以及其他任意隐含或公开的与发送相关的功能。The
需要说明的是:上述实施例提供的报文反馈装置在反馈报文时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的报文反馈装置与报文反馈方法的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the message feedback device provided in the above embodiment feeds back a message, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules as required. , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the message feedback device provided in the above embodiments and the method embodiment of the message feedback method belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, which will not be repeated here.
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”(“a”、“an”、“the”)旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。It should be understood that, as used herein, the singular forms "a" ("a", "an", "the") are intended to include the plural forms as well, unless the context clearly supports an exception. It will 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 only for description, and do not represent the advantages or disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (40)
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 (17)
| 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 | 中国移动通信有限公司研究院 | An information processing method, device and computer-readable storage medium |
| CN113328894B (en) * | 2017-08-31 | 2022-06-28 | 华为技术有限公司 | Method and device for dual-machine hot backup based on CU separation |
| CN108667575B (en) * | 2017-09-06 | 2021-04-27 | 新华三技术有限公司 | Backup method and device for BRAS transfer control separation |
| CN108667695B (en) * | 2017-09-06 | 2020-12-29 | 新华三技术有限公司 | A 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 |
| CN114079584B (en) * | 2020-08-18 | 2025-10-24 | 华为技术有限公司 | Method and device for keeping a user terminal alive |
| 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 |
| JP2024525083A (en) * | 2021-07-08 | 2024-07-09 | 華為技術有限公司 | PACKET 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 | |
| EP3525405B1 (en) | Packet sending method and network device | |
| US6856591B1 (en) | Method and system for high reliability cluster management | |
| EP1379038B1 (en) | Method for implementing router interface backup with virtual router redundancy protocol | |
| US10230684B2 (en) | Method, apparatus, and edge node controller for allocating edge node | |
| CN102439903B (en) | Method, device and system for realizing disaster recovery and backup | |
| US20220334935A1 (en) | Hot standby method, apparatus, and system | |
| CN102404146B (en) | Master-slave switching method, network device and DHCP server | |
| US7307945B2 (en) | Methods for providing a reliable server architecture using a multicast topology in a communications network | |
| JP2013500651A (en) | Primary and standby protection system, method and routing device for user-side multicast service | |
| US10462048B2 (en) | Virtual cluster establishment method and network device | |
| US11362935B2 (en) | Automatic multi-chassis link aggregation configuration with link layer discovery | |
| CN100388703C (en) | Method and system for Ethernet interface node backup | |
| CN101060533B (en) | A method, system and device for improving reliability of VGMP protocol | |
| CN105745883A (en) | Method for synchronizing forwarding tables, network device, and system | |
| WO2013113228A1 (en) | Method, routing device and system for redundant backup of network device | |
| CN102006189A (en) | Primary access server determination method and device for dual-machine redundancy backup | |
| CN101610210A (en) | Multicast transmission system and method with redundant structure | |
| EP2658172A1 (en) | Multicast method and multicast device | |
| US20130311624A1 (en) | Method, apparatus and system for configuring ip address | |
| CN102142978B (en) | Data backup transmission processing method, device and system | |
| CN104125079B (en) | A kind of method and device for determining two-node cluster hot backup configuration information | |
| CN102187627B (en) | Method and device for load sharing, broadband access server system | |
| CN104243304B (en) | The data processing method of non-full-mesh topological structure, equipment and system | |
| WO2023065750A1 (en) | State synchronization method and apparatus, and device |
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 |