[go: up one dir, main page]

CN115314336A - User online method of vBRAS and related equipment - Google Patents

User online method of vBRAS and related equipment Download PDF

Info

Publication number
CN115314336A
CN115314336A CN202210957820.4A CN202210957820A CN115314336A CN 115314336 A CN115314336 A CN 115314336A CN 202210957820 A CN202210957820 A CN 202210957820A CN 115314336 A CN115314336 A CN 115314336A
Authority
CN
China
Prior art keywords
user
message
active
network element
user online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210957820.4A
Other languages
Chinese (zh)
Inventor
杨冰
龚霞
朱永庆
伍佑明
袁世章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210957820.4A priority Critical patent/CN115314336A/en
Publication of CN115314336A publication Critical patent/CN115314336A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Landscapes

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

Abstract

The present disclosure provides a method and related device for a user to get online in a vbars; relates to the technical field of communication. The vBRAS comprises a control plane network element (CP) and a forwarding plane network element, wherein the CP comprises a main CP and a standby CP; the method comprises the following steps: when the main CP fails, sending a second user online message to the standby CP, so that the standby CP processes the second user online message; the second user online message is a first user online message which is not responded by the main CP, and the first user online message is a user online message which is sent to the main CP by the access forwarding plane network element responding to the user equipment. The method and the device can solve the problem that the user experience is influenced because a new user cannot be online in the process of main-standby switching.

Description

vBRAS的用户上线方法及相关设备vBRAS user online method and related equipment

技术领域technical field

本公开涉及通信技术领域,具体而言,涉及一种虚拟宽带远程接入服务器(virtual Broadband Remote Access Server,vBRAS)的用户上线方法及相关设备。The present disclosure relates to the field of communication technologies, and in particular, to a method for online user access of a virtual Broadband Remote Access Server (vBRAS) and related equipment.

背景技术Background technique

随着虚拟化的发展,转控分离vBRAS逐渐成为运营商部署的主流。转控分离vBRAS系统是新型城域网的关键网元,其包括控制面(vBRAS-CP)和转发面(vBRAS-UP)。控制面CP,用于用户及业务的管理,且以备份方式部署(即包括主用CP和备用CP)。With the development of virtualization, the separation of control and control vBRAS has gradually become the mainstream deployment of operators. The vBRAS system with separation of transfer and control is a key network element of the new metropolitan area network, which includes a control plane (vBRAS-CP) and a forwarding plane (vBRAS-UP). The control plane CP is used for user and service management, and is deployed in a backup mode (that is, includes the active CP and the standby CP).

当主用CP故障时,会触发主备切换保护机制,将用户的上线流程导向备用CP。但是主备切换过程需要一定切换时间(一般为几分钟到十几分钟),在这段时间内新用户无法上线,影响用户体验。When the active CP fails, the active-standby switching protection mechanism will be triggered, and the user's online process will be directed to the standby CP. However, the master-standby switchover process requires a certain switchover time (usually a few minutes to ten minutes), during which time new users cannot go online, affecting user experience.

需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only for enhancing the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.

发明内容Contents of the invention

本公开实施例的目的在于提供一种虚拟宽带远程接入服务器vBRAS的用户上线方法及相关设备,进而在一定程度上解决了主备切换过程中新用户无法上线,影响用户体验的问题。The purpose of the embodiments of the present disclosure is to provide a user online method and related equipment of the virtual broadband remote access server vBRAS, and further solve the problem that new users cannot go online during the active-standby switchover process and affect user experience to a certain extent.

根据本公开的第一方面,提供了一种vBRAS的用户上线方法,所述vBRAS包括控制面网元CP和转发面网元,所述CP包括主用CP和备用CP;所述方法包括:当所述主用CP故障,所述转发面网元向所述备用CP发送第二用户上线报文,以使所述备用CP处理所述第二用户上线报文;所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文。According to the first aspect of the present disclosure, a vBRAS user online method is provided, the vBRAS includes a control plane network element CP and a forwarding plane network element, and the CP includes an active CP and a standby CP; the method includes: when When the active CP fails, the forwarding plane network element sends a second user online message to the standby CP, so that the standby CP processes the second user online message; the second user online message It is a first user online message that has not been responded to by the active CP, and the first user online message is a message sent to the active CP by the forwarding plane network element in response to user equipment access.

可选地,所述第一用户上线报文包括标记位,所述方法还包括:所述转发面网元在所述标记位添加目标标记,生成所述第二用户上线报文。Optionally, the first user online message includes a flag bit, and the method further includes: the forwarding plane network element adds a target flag to the flag bit to generate the second user online message.

可选地,在向所述备用CP发送第二用户上线报文之前,所述方法还包括:所述转发面网元向所述主用CP发送所述第一用户上线报文;当所述转发面网元在预设时间内未收到所述主用CP的第一响应报文,确定所述主用CP故障;所述第一响应报文为所述主用CP针对所述第一用户上线报文的响应报文。Optionally, before sending the second user online message to the standby CP, the method further includes: the forwarding plane network element sending the first user online message to the active CP; when the The network element on the forwarding plane does not receive the first response message from the active CP within the preset time, and determines that the active CP is faulty; the first response message is that the active CP addresses the first The response message to the user online message.

根据本公开的第二方面,提供了一种vBRAS的用户上线方法,所述vBRAS包括控制面网元CP和转发面网元,所述CP包括主用CP和备用CP;所述方法包括:当所述主用CP故障,所述备用CP接收所述转发面网元发送的第二用户上线报文,所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文;所述备用CP处理所述第二用户上线报文,生成第二响应报文,并向所述转发面网元发送所述第二响应报文。According to the second aspect of the present disclosure, a vBRAS user online method is provided, the vBRAS includes a control plane network element CP and a forwarding plane network element, and the CP includes an active CP and a standby CP; the method includes: when The active CP fails, and the backup CP receives the second user online message sent by the forwarding plane network element, and the second user online message is the first user online message that the active CP does not respond to , the first user online message is a message sent to the active CP in response to the user equipment accessing the forwarding plane network element; the standby CP processes the second user online message to generate a second user online message second response message, and send the second response message to the network element on the forwarding plane.

可选地,在处理所述第二用户上线报文之后,所述方法还包括:向所述主用CP同步通过所述第二用户上线报文上线的用户信息,以使在该用户信息同步成功的情况下,将该用户信息添加于所述主用CP的用户信息库中。Optionally, after processing the second user online message, the method further includes: synchronizing with the active CP the user information that goes online through the second user online message, so that the user information is synchronized If successful, add the user information to the user information database of the active CP.

可选地,所述方法还包括:所述备用CP通过与所述主用CP之间的心跳检测,确定当前是否满足主备切换条件;当满足所述主备切换条件,所述备用CP进行主备切换,并通知所述转发面网元。Optionally, the method further includes: the standby CP determines whether the active/standby switching condition is currently met through heartbeat detection with the active CP; when the active/standby switching condition is met, the standby CP performs Active/standby switchover, and notify the forwarding plane network element.

根据本公开的第三方面,提供一种vBRAS中的转发面网元,所述转发面网元包括:发送模块,用于当所述主用CP故障,所述转发面网元向所述备用CP发送第二用户上线报文,以使所述备用CP处理所述第二用户上线报文;所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文。According to a third aspect of the present disclosure, there is provided a forwarding plane network element in a vBRAS, the forwarding plane network element including: a sending module, configured to send the forwarding plane network element to the standby CP when the active CP fails The CP sends a second user online message, so that the standby CP processes the second user online message; the second user online message is a first user online message that the active CP does not respond to, so The first user online message is a message sent to the active CP by the forwarding plane network element in response to user equipment access.

根据本公开的第四方面,提供一种vBRAS中的备用控制面网元,所述备用控制面网元包括:接收模块和发送模块;接收模块,用于当所述主用CP故障,接收所述转发面网元发送的第二用户上线报文,所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为所述转发面网元接收到的用户上线报文;发送模块,用于处理所述第二用户上线报文,生成第二响应报文,并向所述转发面网元发送所述第二响应报文。According to a fourth aspect of the present disclosure, a backup control plane network element in a vBRAS is provided, the backup control plane network element includes: a receiving module and a sending module; the receiving module is configured to receive the The second user online message sent by the forwarding plane network element, the second user online message is the first user online message that the active CP has not responded to, and the first user online message is the forwarded The user online message received by the network element on the plane; a sending module, configured to process the second user online message, generate a second response message, and send the second response message to the network element on the forwarding plane.

根据本公开的第五方面,提供一种vBRAS系统,所述系统包括上述实施例所述的转发面网元、上述实施例所述的备用控制面网元和主用控制面网元。According to a fifth aspect of the present disclosure, a vBRAS system is provided. The system includes the forwarding plane network element described in the above embodiment, the standby control plane network element and the active control plane network element described in the above embodiment.

根据本公开的第六方面,提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述任意实施例的方法。According to a sixth aspect of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method in any of the foregoing embodiments is implemented.

根据本公开的第七方面,提供一种通信设备,包括:存储器,用于存放计算机程序;处理器,用于执行存储器上所存放的计算机程序时,实现上述任一实施例所述的方法。According to a seventh aspect of the present disclosure, a communication device is provided, including: a memory configured to store a computer program; and a processor configured to implement the method described in any of the foregoing embodiments when executing the computer program stored in the memory.

本公开示例性实施例可以具有以下部分或全部有益效果:Exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:

在本公开示例实施方式所提供的vBRAS的用户上线方法中,在主用CP故障的情况下,通过向备用CP发送第二用户上线报文,以使备用CP处理主用CP未响应的第一用户上线报文,避免了主备切换过程中新用户无法上线的问题,在不影响网络可靠性的前提下,提升了用户体验。另一方面,强化了控制面功能,增加控制面的可靠性,实现用户无感知的控制面主备切换。In the vBRAS user online method provided by the exemplary embodiment of the present disclosure, in the case of failure of the active CP, the second user online message is sent to the standby CP, so that the standby CP can process the first The user online message avoids the problem that new users cannot go online during the active/standby switchover process, and improves user experience without affecting network reliability. On the other hand, the function of the control plane is strengthened, the reliability of the control plane is increased, and the active/standby switching of the control plane without user awareness is realized.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Apparently, the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.

图1示意性示出了根据本公开的一个实施例中vBRAS的用户上线方法的流程示意图之一。Fig. 1 schematically shows one of the schematic flowcharts of a vBRAS user online method according to an embodiment of the present disclosure.

图2示意性示出了根据本公开的一个实施例中vBRAS的用户上线方法的流程示意图之二。Fig. 2 schematically shows the second schematic flow chart of the vBRAS user online method according to an embodiment of the present disclosure.

图3示意性示出了根据本公开的一个实施例中正常状态下的用户上线控制面与转发面的交互流程示意图。Fig. 3 schematically shows a schematic diagram of an interaction process between a user online control plane and a forwarding plane in a normal state according to an embodiment of the present disclosure.

图4示意性示出了根据本公开的一个实施例中主用CP故障情况下用户上线不同网元间交互流程示意图。Fig. 4 schematically shows a schematic diagram of an interaction process between different network elements when a user goes online in the case of an active CP failure according to an embodiment of the present disclosure.

图5示意性示出了根据本公开的一个实施例中转发面网元的结构框图。Fig. 5 schematically shows a structural block diagram of a forwarding plane network element according to an embodiment of the present disclosure.

图6示意性示出了根据本公开的一个实施例中备用控制面网元结构框图。Fig. 6 schematically shows a structural block diagram of a standby control plane network element according to an embodiment of the present disclosure.

图7示意性示出了根据本公开的一个实施例中vBRAS系统架构图。Fig. 7 schematically shows a vBRAS system architecture diagram according to an embodiment of the present disclosure.

图8示意性示出了根据本公开的一个实施例的示例性通信设备结构框图。Fig. 8 schematically shows a structural block diagram of an exemplary communication device according to an embodiment of the present disclosure.

具体实施方式Detailed ways

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.

此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processor means and/or microcontroller means.

BRAS(Broadband Remote Access Server,宽带远程接入服务器)是通过SDN(软件定义网络)使得硬件功能软件化,并实现转发与控制层面分离,结合NFV网络功能虚拟化技术。vBRAS就是虚拟化BRAS,其部署在虚机或者云端使得性能及可扩展性更强。对于控制面网元采用备份方式部署的情况,在主用CP发生故障时,触发主备切换保护机制。但是主备切换过程需要一定的时间,一般从几分钟到十几分钟不等,这段时间新用户无法上线,影响用户体验。针对该问题提出本公开vBRAS的用户上线方法。BRAS (Broadband Remote Access Server, Broadband Remote Access Server) uses SDN (Software Defined Network) to make hardware functions software-based, and realize the separation of forwarding and control planes, combined with NFV network function virtualization technology. vBRAS is a virtualized BRAS, which is deployed on a virtual machine or in the cloud to enhance performance and scalability. For the case where the control plane network elements are deployed in backup mode, when the active CP fails, the active/standby switchover protection mechanism is triggered. However, the master-standby switchover process takes a certain amount of time, generally ranging from a few minutes to more than ten minutes. During this time, new users cannot go online, which affects user experience. Aiming at this problem, a user online method of the disclosed vBRAS is proposed.

参考图1,本公开提供的一个实施例的vBRAS的用户上线方法,vBRAS包括控制面网元CP和转发面网元UP,CP包括主用CP和备用CP。Referring to FIG. 1 , a vBRAS user online method according to an embodiment of the present disclosure, the vBRAS includes a control plane network element CP and a forwarding plane network element UP, and the CP includes an active CP and a standby CP.

在本示例实施方式中,控制面网元可以用于进行用户控制管理、用户接入控制、用户认证授权计费、地址管理等。转发面网元可以用于进行流量转发、服务质量(Quality ofService,QoS)、流量统计等转发功能,还可以用于进行路由协议等功能。控制面可以采用虚拟化技术,运行在一系列服务器上,转发面网元可以在硬件设备上实现,也可以采用虚拟化技术实现,本示例对此不做限定。In this example implementation manner, the control plane network element may be used to perform user control management, user access control, user authentication, authorization and charging, address management, and the like. The forwarding plane network element can be used for forwarding functions such as traffic forwarding, quality of service (Quality of Service, QoS), traffic statistics, etc., and can also be used for routing protocols and other functions. The control plane can use virtualization technology and run on a series of servers, and the network elements of the forwarding plane can be implemented on hardware devices or by using virtualization technology, which is not limited in this example.

本公开方法包括以下步骤S110,本公开方法可以应用于vBRAS的主备切换阶段。The disclosed method includes the following step S110, and the disclosed method can be applied to the active-standby switchover phase of the vBRAS.

步骤S110,当主用CP故障,转发面网元向备用CP发送第二用户上线报文,以使备用CP处理第二用户上线报文;第二用户上线报文为主用CP未响应的第一用户上线报文,第一用户上线报文为响应于用户设备的接入转发面网元向主用CP发送的报文。Step S110, when the active CP fails, the forwarding plane network element sends the second user online message to the standby CP, so that the standby CP processes the second user online message; the second user online message is not responded to by the active CP. The user online message, the first user online message is a message sent to the active CP in response to the access forwarding plane network element of the user equipment.

在本示例实施方式中,第一用户上线报文是指当有用户设备接入网络,vBRAS中的转发面网元向主用CP发送的报文。第一用户上线报文可以包括用户设备的地址信息、账户信息或标识信息,还可以包括用户设备访问的业务信息等,本示例对此不做限定。第二用户上线报文是指主用CP未响应的第一用户上线报文,示例性地,可以通过在第一用户上线报文中添加特定标记以形成第二用户上线报文,例如可以在报文头部添加标识信息等。In this exemplary embodiment, the first user online message refers to a message sent by the forwarding plane network element in the vBRAS to the active CP when a user equipment accesses the network. The first user online message may include address information, account information, or identification information of the user equipment, and may also include service information accessed by the user equipment, which is not limited in this example. The second user online message refers to the first user online message that the active CP does not respond to. For example, a specific tag can be added to the first user online message to form the second user online message. For example, the Add identification information, etc. to the header of the message.

在本示例实施方式中,第一用户上线报文可以是基于PPPoE(Point to PointProtocol over Ethernet,以太网承载点到点连接协议),也可以基于动态主机配置协议IPoE,还可以基于其他协议类型,本示例对此不做限定。第二用户上线报文可以与第一用户上线报文具有相同的协议类型。In this exemplary embodiment, the first user's online message can be based on PPPoE (Point to Point Protocol over Ethernet, Ethernet bearer point-to-point connection protocol), can also be based on the dynamic host configuration protocol IPoE, and can also be based on other protocol types, This example does not limit this. The second user online message may have the same protocol type as the first user online message.

在本示例实施方式中,可以将UP在预设时间内未收到主用CP回复的响应报文时,认为主用CP故障。In this example implementation manner, when the UP does not receive a response message from the active CP within a preset time, it may consider that the active CP is faulty.

当主用CP发生故障,则会导致主用CP断开与转发面网元的连接,这时需要进行主备切换。但是在主备切换之前需要等待主用CP与备用CP之间的心跳检测结果,也就是说,在完成心跳检测判定主CP故障后,才会触发真正的主备切换过程。在心跳检测判定过程中用户无法上线。本公开示例实施方式所提供的vBRAS的用户上线方法中,在主用CP故障的情况下,通过向备用CP发送第二用户上线报文,以使备用CP处理主用CP未响应的第一用户上线报文,避免了主备切换过程中新用户无法上线的问题,在不影响网络可靠性的前提下,提升了用户体验。另一方面,强化了控制面功能,增加控制面的可靠性,实现用户无感知的控制面主备切换。When the active CP fails, it will cause the active CP to disconnect from the network element on the forwarding plane. In this case, an active/standby switchover is required. However, it is necessary to wait for the heartbeat detection result between the active CP and the standby CP before the active/standby switchover, that is, the real active/standby switchover process will not be triggered until the heartbeat detection is completed and the active CP is judged to be faulty. During the heartbeat detection and determination process, the user cannot go online. In the vBRAS user online method provided by the exemplary implementation of the present disclosure, in the case of failure of the active CP, the second user online message is sent to the standby CP, so that the standby CP handles the first user that the active CP does not respond to. The online message avoids the problem that new users cannot go online during the active-standby switchover process, and improves user experience without affecting network reliability. On the other hand, the function of the control plane is strengthened, the reliability of the control plane is increased, and the active/standby switching of the control plane without user awareness is realized.

以下在一些实施例中对本公开进行更加详细的阐述。The present disclosure is illustrated in more detail below in some embodiments.

在一些实施例中,第一用户上线报文包括标记位,方法还包括:In some embodiments, the first user online message includes a flag bit, and the method further includes:

转发面网元在标记位添加目标标记,生成第二用户上线报文。The forwarding plane network element adds a target mark to the mark bit, and generates a second user online message.

在本示例实施方式中,可以预先在第一用户上线报文中配置标记位,正常状态下,该标记位置“0”;当主用CP故障的情况下,将该标记位置“1”,即生成了第二用户上线报文。目标标记可以是1,也可以是其他形式,例如,标记字符或多个比特位数字(如010等),本示例对此不做限定。In this example embodiment, the flag bit can be pre-configured in the first user online message. Under normal conditions, the flag bit is "0"; when the active CP fails, the flag bit is "1", that is, a received the second user online message. The target mark can be 1 or other forms, for example, a mark character or a multi-bit number (such as 010, etc.), which is not limited in this example.

举例而言,对于PPPOE用户的上线,在PADI报文中的TAG_Type字段(16bit),可以选择第1个bit为标记位,目标标记为1时,代表第二用户上线报文,为0时代表正常情况,即第一用户上行报文。对于IPOE用户的上线,在DHCP Discover报文中,可以选择报文中的Flags字段(16bit)的末位1个bit为标记位,标记为1时,代表第二用户上线报文,为0时代表正常情况,即第一用户上行报文。For example, for a PPPOE user to go online, in the TAG_Type field (16bit) in the PADI message, the first bit can be selected as the tag bit. When the target tag is 1, it represents the second user's online message, and when it is 0, it represents In a normal situation, that is, the first user sends an uplink packet. For the IPOE user to go online, in the DHCP Discover message, the last bit of the Flags field (16bit) in the message can be selected as the flag bit. When the flag is 1, it represents the second user online message, and when it is 0 Represents a normal situation, that is, an uplink packet of the first user.

在一些实施例中,在向备用CP发送第二用户上线报文之前,方法还包括:In some embodiments, before sending the second user online message to the standby CP, the method further includes:

转发面网元向主用CP发送第一用户上线报文。The forwarding plane network element sends the first user online message to the active CP.

在本示例实施方式中,可以响应于用户设备上线操作,向主用CP发送第一用户上线报文。第一用户上线报文可以包括待上线用户设备的基础信息,例如,待上线用户设备的地址信息、账户信息、标识信息等,本示例对此不做限定。In this example implementation manner, in response to a user equipment online operation, a first user online message may be sent to the active CP. The first user online message may include basic information of the user equipment to be online, for example, address information, account information, identification information, etc. of the user equipment to be online, which is not limited in this example.

当转发面网元在预设时间内未收到主用CP的第一响应报文,确定主用CP故障。When the network element on the forwarding plane does not receive the first response message from the active CP within the preset time, it is determined that the active CP is faulty.

在本示例实施方式中,第一响应报文为主用CP针对第一用户上线报文的响应报文。预设时间可以基于现有协议或通信标准确定,也可以自行配置,本示例对此不做限定。主用CP故障的快速准确判断是实现用户无感知的重要保障。In this exemplary embodiment, the first response message is a response message of the active CP to the online message of the first user. The preset time can be determined based on an existing protocol or communication standard, or can be configured by itself, which is not limited in this example. Rapid and accurate judgment of the failure of the active CP is an important guarantee for realizing no user perception.

参考图2,本公开提供的一个实施例的vBRAS的用户上线方法,应用于备用CP,vBRAS包括控制面网元CP和转发面网元UP,CP包括主用CP和备用CP。方法可以包括以下步骤S210和S220。Referring to FIG. 2 , a vBRAS user online method according to an embodiment of the present disclosure is applied to a standby CP. The vBRAS includes a control plane network element CP and a forwarding plane network element UP, and the CP includes an active CP and a standby CP. The method may include the following steps S210 and S220.

步骤S210,当主用CP故障,备用CP接收转发面网元发送的第二用户上线报文,第二用户上线报文为主用CP未响应的第一用户上线报文,第一用户上线报文为响应于用户设备的接入转发面网元向主用CP发送的报文。Step S210, when the active CP fails, the standby CP receives the second user online message sent by the forwarding plane network element. The second user online message is the first user online message that the active CP has not responded to. The message sent by the network element on the forwarding plane to the active CP in response to the access of the user equipment.

步骤S220,备用CP处理第二用户上线报文,生成第二响应报文,并向转发面网元发送第二响应报文。Step S220, the standby CP processes the second user's online message, generates a second response message, and sends the second response message to the forwarding plane network element.

本示例方法的详细阐述已经在上述实施例中给出,本示例方法只是站在不同侧进行撰写,因此此处不再赘述。The detailed elaboration of this exemplary method has been given in the above-mentioned embodiments, and this exemplary method is only written from different sides, so details will not be repeated here.

在一些实施例中,方法还包括:In some embodiments, the method also includes:

向所述主用CP同步通过所述第二用户上线报文上线的用户信息,以使在该用户信息同步成功的情况下,将该用户信息添加于所述主用CP的用户信息库中。Synchronizing the user information that goes online through the second user online message to the active CP, so that if the synchronization of the user information is successful, the user information is added to the user information database of the active CP.

在本示例实施方式中,可以在备用CP处理完第二用户上线报文的同时,将通过第二用户上线报文上线的用户信息同步给主用CP,用于告知主用CP该部分用户是主用CP未及时响应的上线用户。In this example embodiment, when the standby CP finishes processing the second user's online message, it can synchronize the information of the users who have gone online through the second user's online message to the active CP, so as to inform the active CP that this part of the users is Online users whose active CP did not respond in time.

在本示例实施方式中,当通过第二用户上线报文上线的用户信息同步成功,则可以确定主用CP并没有发生故障,则主用CP将同步过来的用户信息添加在自身的用户信息库中。这种情况可能的产生原因是主用CP的链路震荡。同步成功后,说明主用CP并未发送故障,后续用户上线报文仍然通过主用CP处理。若同步失败,则说明主用CP本身故障,可以等待心跳检测结果来判定是否进行主备切换过程。In this example embodiment, when the user information that goes online through the second user online message is successfully synchronized, it can be determined that the active CP has not failed, and the active CP will add the synchronized user information to its own user information database middle. The possible cause of this situation is that the link of the active CP is flapping. After the synchronization is successful, it means that the active CP has not sent a fault, and subsequent user online packets are still processed by the active CP. If the synchronization fails, it means that the active CP itself is faulty, and you can wait for the heartbeat detection result to determine whether to perform the active/standby switchover process.

在一些实施例中,方法还包括:In some embodiments, the method also includes:

备用CP通过与主用CP之间的心跳检测,确定当前是否满足主备切换条件。The standby CP determines whether the master-standby switchover condition is currently met through the heartbeat detection between the standby CP and the active CP.

当满足主备切换条件,备用CP进行主备切换,并通知转发面网元。When the master-standby switchover conditions are met, the standby CP performs the master-standby switchover and notifies the forwarding plane NE.

在本示例实施方式中,心跳检测可以在主用CP与备用CP之间实时进行。可以根据心跳检测结果确定当前是否满足主备切换条件,当满足主备切换条件进行正常的主备切换流程。主备转换的同时可以发送相应的通知消息给转发面网元,使得在后续用户上线时,转发面网元直接向切换后的主用CP(即切换前的备用CP)发送第一用户上线报文即可,不用再添加标记信息。In this example implementation, heartbeat detection can be performed between the active CP and the standby CP in real time. According to the heartbeat detection result, it can be determined whether the current master-standby switchover condition is satisfied, and when the master-standby switchover condition is met, the normal master-standby switchover process is performed. At the same time of active-standby switchover, corresponding notification messages can be sent to forwarding plane network elements, so that when subsequent users go online, forwarding plane network elements directly send the first user online report to the switched active CP (that is, the standby CP before the switchover). Just text, no need to add tag information.

如图3和图4所示,vBRAS包括控制面网元和转发面网元,控制面网元包括CP1(主用CP)和CP2(备用CP),转发面网元包括专用转发面网元pUP1~pUP4。As shown in Figure 3 and Figure 4, the vBRAS includes control plane network elements and forwarding plane network elements. The control plane network elements include CP1 (active CP) and CP2 (standby CP), and the forwarding plane network elements include dedicated forwarding plane network elements pUP1. ~pUP4.

正常状态下的用户上线过程如图3所示。当有用户上线报文到达pUP时,pUP1~pUP4均会收到该用户上线报文,并将该报文上传给CP1(主用CP)。CP1接收该用户上线报文并处理,向pUP1~pUP4返回响应报文,示例性地,CP1向pUP1响应报文,告知该用户在pUP1上上线,同时返回pUP2~pUP4响应报文,告知该用户不在pUP2~pUP4上线。The process of a user going online in a normal state is shown in Figure 3. When a user's online message arrives at the pUP, pUP1-pUP4 will all receive the user's online message, and upload the message to CP1 (primary CP). CP1 receives and processes the online message of the user, and returns a response message to pUP1~pUP4. For example, CP1 sends a response message to pUP1 to inform the user that the user is online on pUP1, and returns a response message from pUP2 to pUP4 to inform the user Not online in pUP2~pUP4.

本公开的用户上线过程如图4所示,可以包括以下步骤S401~S407。The user online process of the present disclosure is shown in FIG. 4 , and may include the following steps S401-S407.

步骤S401,pUP1~pUP4发送的第一用户上线报文给CP1(主用CP);Step S401, the first user online message sent by pUP1-pUP4 is sent to CP1 (primary CP);

步骤S402,CP1因为发生故障,无法回复响应或不响应报文给pUP,使pUP1~pUP4在预设时间内均未收到第一响应报文;pUP1~pUP4向CP2(备用CP)发送第二用户上线报文。Step S402, CP1 fails to reply a response or non-response message to pUP due to failure, so that pUP1 ~ pUP4 do not receive the first response message within the preset time; pUP1 ~ pUP4 send the second response message to CP2 (standby CP). User online message.

步骤S403,CP2接收第二用户上线报文后,并代替CP1该报文,向pUP1~pUP4回复第二响应报文。第二响应报文告知该用户在pUP1上上线,同时返回pUP2~pUP4响应报文,告知该用户不在pUP2~pUP4上线。Step S403, after receiving the second user online message, CP2 replaces the message of CP1, and replies a second response message to pUP1-pUP4. The second response message informs that the user is online on pUP1, and at the same time returns pUP2-pUP4 response messages, informing that the user is not online on pUP2-pUP4.

步骤S404,CP2将通过第二用户上线报文上线的用户信息同步给CP1,告知这部分用户是CP1未及时响应的上线用户。In step S404, CP2 synchronizes the information of users who have gone online through the second user online message to CP1, and informs that these users are online users that CP1 has not responded in time.

步骤S405,当同步失败且心跳检测符合主备切换条件,进行主备切换,CP2切换成主用CP,并通告给所有pUP。Step S405, when the synchronization fails and the heartbeat detection meets the master-standby switchover condition, the master-standby switchover is performed, and CP2 is switched to the active CP, and notified to all pUPs.

以上实施例中,当同步成功,主用CP将这部分同步过来的用户信息添加在自身用户信息库中,说明主用CP未发生故障。同步失败说明主用CP故障,完成主备切换后,后续第一用户上线报文(不带有标志位标记),按照正常上线流程进行上线。In the above embodiment, when the synchronization is successful, the active CP adds this part of the synchronized user information to its own user information database, indicating that the active CP is not faulty. Synchronization failure indicates that the active CP is faulty. After the active/standby switchover is completed, the subsequent first user goes online according to the normal online process.

上述实施例中各个步骤的详细介绍可以参照前述实施例中的相应描述,此处不再赘述。For a detailed introduction of each step in the foregoing embodiments, reference may be made to corresponding descriptions in the foregoing embodiments, and details are not repeated here.

本公开提供的vBRAS的用户上线方法,在主用CP发送故障时,pUP发送的第一用户上线报文不能得到CP1的回应,则会主动把这部分报文发送给备用CP,同时在报文中的标志位中添加目标标记,生成第二用户上线报文,以表明这部分用户上线报文是CP1未回应的报文。备用CP接收到标志位带有标记的第二用户上线报文,会暂时代替主用CP处理这部分用户上线报文,并返回第二响应报文给pUP。与此同时,备用CP还可以将通过第二用户上线报文上线的用户信息尝试同步给主用CP,以确定主用CP是发送故障还是由于链路震荡导致的用户上线失败,而导致的用户无法上线。等待心跳检测判定结束,就可以正常进行主备切换的动作,切换后按正常流程进行后续用户上线操作。In the vBRAS user online method provided by this disclosure, when the active CP fails to send the first user online message sent by pUP, if the first user online message cannot be responded by CP1, it will actively send this part of the message to the standby CP. The target mark is added to the flag bit in , and the second user online message is generated to indicate that this part of the user online message is a message that CP1 has not responded to. When the standby CP receives the second user online message with the flag marked, it will temporarily replace the active CP to process this part of the user online message, and return the second response message to pUP. At the same time, the standby CP can also try to synchronize the user information that goes online through the second user online message to the active CP, so as to determine whether the active CP is sending a failure or the user fails to go online due to link vibration. Unable to go online. After the heartbeat detection and judgment are completed, the master/standby switchover can be performed normally, and subsequent user online operations can be performed according to the normal process after the switchover.

本公开通过对现有的vBRAS系统的主备切换过程的研究,即当主CP发生故障时,需要等待主备CP之间的心跳检测结果,完成判定后才会触发主备切换,备用CP完成升主的动作后,通告给转发面,转发面才会将后续的用户上线报文发给新的主用CP。发现在以上心跳检测、判定、备用CP升主和通告转发面过程中无法处理用户相关业务,新用户无法上线。因此,通过设计在第一用户上线报文中增加标志位的目标标记,实现在CP主备切换时采用备用CP临时代替主用CP处理其未响应的用户上线报文,实现用户无感知的主备切换过程,提高用户体验。This disclosure studies the active-standby switching process of the existing vBRAS system, that is, when the active CP fails, it needs to wait for the heartbeat detection result between the active and standby CPs, and triggers the active-standby switchover after the judgment is completed, and the standby CP completes the upgrade. After the main action, it will be notified to the forwarding plane, and the forwarding plane will send subsequent user online messages to the new active CP. It was found that user-related services could not be processed during the above process of heartbeat detection, judgment, standby CP upgrade to master, and notification forwarding plane, and new users could not go online. Therefore, by adding the target flag of the flag bit in the first user online message, the standby CP can be used to temporarily replace the active CP to process the unresponsive user online message during the CP master-standby switchover, so that the user does not perceive the master CP. The standby switchover process is improved to improve user experience.

参见图5,本示例实施方式中还提供了一种vBRAS中的转发面网元500,转发面网元500包括:发送模块510,用于当主用CP故障,向备用CP发送第二用户上线报文,以使备用CP处理第二用户上线报文;第二用户上线报文为主用CP未响应的第一用户上线报文,第一用户上线报文为响应于用户设备的接入转发面网元向主用CP发送的用户上线报文。Referring to FIG. 5 , this exemplary embodiment also provides a forwarding plane network element 500 in a vBRAS, and the forwarding plane network element 500 includes: a sending module 510, configured to send a second user online report to the standby CP when the active CP fails to enable the standby CP to process the second user's online message; the second user's online message is the first user's online message that the active CP does not respond to, and the first user's online message is a response to the access forwarding plane of the user equipment A user online message sent by an NE to the active CP.

在本公开的一个实施例中,转发面网元500还包括标记模块,标记模块用于在标记位添加目标标记,生成第二用户上线报文。In an embodiment of the present disclosure, the forwarding plane network element 500 further includes a marking module, which is configured to add a target mark to a marking position, and generate a second user online message.

在本公开的一个实施例中,转发面网元500还包括确定模块,发送模块510用于在向备用CP发送第二用户上线报文之前,向主用CP发送第一用户上线报文;确定模块用于当转发面网元在预设时间内未收到主用CP的第一响应报文,确定主用CP故障;第一响应报文为主用CP针对第一用户上线报文的响应报文。In an embodiment of the present disclosure, the forwarding plane network element 500 further includes a determination module, and the sending module 510 is configured to send the first user online message to the active CP before sending the second user online message to the backup CP; determine The module is used to determine the failure of the active CP when the network element on the forwarding plane does not receive the first response message from the active CP within the preset time; the first response message is the response of the active CP to the first user online message message.

上述实施例中的转发面网元中涉及的各个模块/单元的具体细节已经在对应的用户上线方法中进行了详细的描述,因此此处不再赘述。The specific details of each module/unit involved in the forwarding plane network element in the above embodiment have been described in detail in the corresponding user online method, so details are not repeated here.

参见图6,本示例实施方式中还提供了一种vBRAS中的备用控制面网元600,备用控制面网元600包括:接收模块610和发送模块620;接收模块610,用于当主用CP故障,接收转发面网元发送的第二用户上线报文,第二用户上线报文为主用CP未响应的第一用户上线报文,第一用户上线报文为转发面网元接收到的用户上线报文;发送模块620,用于处理第二用户上线报文,生成第二响应报文,并向转发面网元发送第二响应报文。Referring to FIG. 6, this exemplary embodiment also provides a backup control plane network element 600 in a vBRAS. The backup control plane network element 600 includes: a receiving module 610 and a sending module 620; the receiving module 610 is used for when the active CP fails , to receive the second user online packet sent by the network element on the forwarding plane. The second user online packet is not responded to by the active CP. Online message; sending module 620, configured to process the second user online message, generate a second response message, and send the second response message to the forwarding plane network element.

在本公开的一个实施例中,备用控制面网元600还包括同步模块,同步模块用于在处理第二用户上线报文之后,向所述主用CP同步通过所述第二用户上线报文上线的用户信息,以使在该用户信息同步成功的情况下,将该用户信息添加于所述主用CP的用户信息库中。In an embodiment of the present disclosure, the backup control plane network element 600 further includes a synchronization module, configured to, after processing the second user online message, synchronously pass the second user online message to the active CP Online user information, so that when the synchronization of the user information is successful, the user information is added to the user information database of the active CP.

在本公开的一个实施例中,备用控制面网元600还包括确定模块和通知模块;确定模块用于通过与主用CP之间的心跳检测,确定当前是否满足主备切换条件;通知模块用于当满足主备切换条件进行主备切换,并通知转发面网元。In an embodiment of the present disclosure, the standby control plane network element 600 further includes a determination module and a notification module; the determination module is used to determine whether the current active-standby switchover condition is satisfied through heartbeat detection with the active CP; the notification module uses When the master-standby switchover conditions are met, the master-standby switchover is performed, and the network elements on the forwarding plane are notified.

上述实施例中的备用控制面网元中涉及的各个模块/单元的具体细节已经在对应的用户上线方法中进行了详细的描述,因此此处不再赘述。The specific details of each module/unit involved in the standby control plane network element in the above embodiment have been described in detail in the corresponding user online method, so details are not repeated here.

参见图7,本示例实施方式中还提供了一种vBRAS系统700,系统包括转发面网元(UP1~UP4)、主用控制面网元CP1和备用控制面网元CP2。UP1~UP4可以是专用转发面网元pUP,该系统还可以包括虚拟转发面网元vUP,本示例对此不做限定。该系统可以应用于城域网的部署,是新型城域网的关键网元。Referring to FIG. 7 , this exemplary embodiment also provides a vBRAS system 700 , the system includes forwarding plane network elements ( UP1 - UP4 ), active control plane network element CP1 and standby control plane network element CP2 . UP1-UP4 may be dedicated forwarding plane network elements pUP, and the system may also include a virtual forwarding plane network element vUP, which is not limited in this example. The system can be applied to the deployment of the metropolitan area network and is the key network element of the new metropolitan area network.

上述实施例中的vBRAS系统中涉及的各个网元/单元的具体细节已经在对应的用户上线方法中进行了详细的描述,因此此处不再赘述。The specific details of each network element/unit involved in the vBRAS system in the above embodiment have been described in detail in the corresponding user online method, so details are not repeated here.

作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备实现如下述实施例中的方法。例如,设备可以实现如图1~图4所示的各个步骤等。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be contained in the device described in the above embodiments, or may exist independently without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device is made to implement the methods in the following embodiments. For example, the device may implement various steps as shown in FIGS. 1 to 4 .

需要说明的是,本公开所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

此外,在本公开的示例性实施例中,还提供了一种能够实现上述方法的设备。所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施例、完全的软件实施例(包括固件、微代码等),或硬件和软件方面结合的实施例,这里可以统称为“电路”、“模块”或“系统”。In addition, in an exemplary embodiment of the present disclosure, a device capable of implementing the above method is also provided. Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms, namely: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system".

参见图8,图8是本申请实施例提供的一种通信设备的结构示意图。如图8所示,该通信设备800包括处理器810、存储器820、收发器830以及通信总线840。处理器810连接到存储器820和收发器830,例如处理器810可以通过通信总线840连接到存储器820和收发器830。处理器810被配置为支持该通信设备执行图1~图4中的用户上线方法中相应的功能。该处理器810可以是中央处理器(Central Processing Unit,CPU),网络处理器(NetworkProcessor,NP),硬件芯片(如DSP(Digital Signal Processing,数字信号处理)芯片或者其任意组合。上述硬件芯片可以是专用集成电路(Application-Specific IntegratedCircuit,ASIC),可编程逻辑器件(Programmable Logic Device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),现场可编程逻辑门阵列(Field-Programmable Gate Array,FPGA),通用阵列逻辑(Generic Array Logic,GAL)或其任意组合。存储器820用于存储程序代码等。存储器820可以包括易失性存储器(VolatileMemory,VM),例如随机存取存储器(Random Access Memory,RAM);存储器820也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如只读存储器(Read-OnlyMemory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);存储器820还可以包括上述种类的存储器的组合。Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 8 , the communication device 800 includes a processor 810 , a memory 820 , a transceiver 830 and a communication bus 840 . The processor 810 is connected to the memory 820 and the transceiver 830 , for example, the processor 810 may be connected to the memory 820 and the transceiver 830 through a communication bus 840 . The processor 810 is configured to support the communication device to execute corresponding functions in the methods for online user in FIG. 1 to FIG. 4 . The processor 810 can be a central processing unit (Central Processing Unit, CPU), a network processor (NetworkProcessor, NP), a hardware chip (such as a DSP (Digital Signal Processing, digital signal processing) chip or any combination thereof. The above-mentioned hardware chip can be It is an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (Complex Programmable Logic Device, CPLD), field programmable logic Gate array (Field-Programmable Gate Array, FPGA), general-purpose array logic (Generic Array Logic, GAL) or its any combination. Memory 820 is used for storing program code etc. Memory 820 can comprise volatile memory (VolatileMemory, VM), Such as random access memory (Random Access Memory, RAM); Memory 820 can also comprise non-volatile memory (Non-Volatile Memory, NVM), such as read-only memory (Read-OnlyMemory, ROM), flash memory (flash memory ), a hard disk (Hard Disk Drive, HDD) or a solid state disk (Solid-State Drive, SSD); the memory 820 may also include a combination of the above types of memory.

该收发器830用于发送或接收数据。The transceiver 830 is used to transmit or receive data.

处理器810可以调用上述程序代码以执行以下操作:The processor 810 can call the above program code to perform the following operations:

当所述主用CP故障,所述转发面网元向所述备用CP发送第二用户上线报文,以使所述备用CP处理所述第二用户上线报文;所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文。When the active CP fails, the forwarding plane network element sends a second user online message to the standby CP, so that the standby CP processes the second user online message; the second user online message The message is a first user online message that the active CP does not respond to, and the first user online message is a message sent to the active CP by the forwarding plane network element in response to user equipment access.

可选的,第一用户上线报文包括标记位,处理器810还可以执行以下操作:在所述标记位添加目标标记,生成所述第二用户上线报文。Optionally, the first user online message includes a flag bit, and the processor 810 may further perform the following operations: add a target mark to the flag bit, and generate the second user online message.

可选的,上述处理器810还可以执行以下操作:Optionally, the processor 810 may also perform the following operations:

在向所述备用CP发送第二用户上线报文之前,向所述主用CP发送所述第一用户上线报文;当在预设时间内未收到所述主用CP的第一响应报文,确定所述主用CP故障;所述第一响应报文为所述主用CP针对所述第一用户上线报文的响应报文。Before sending the second user online message to the standby CP, send the first user online message to the active CP; when the first response message from the active CP is not received within the preset time A message to determine that the active CP is faulty; the first response message is a response message of the active CP to the online message of the first user.

可选的,上述处理器810还可以执行以下操作:Optionally, the processor 810 may also perform the following operations:

当所述主用CP故障,所述备用CP接收所述转发面网元发送的第二用户上线报文,所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为所述转发面网元接收到的用户上线报文;所述备用CP处理所述第二用户上线报文,生成第二响应报文,并向所述转发面网元发送所述第二响应报文。When the active CP fails, the standby CP receives the second user online message sent by the network element on the forwarding plane, and the second user online message is the first user online message that the active CP does not respond to. The first user online message is a user online message received by the forwarding plane network element; the standby CP processes the second user online message, generates a second response message, and sends the The forwarding plane network element sends the second response message.

可选的,上述处理器810还可以执行以下操作:在处理所述第二用户上线报文之后,向所述主用CP同步通过所述第二用户上线报文上线的用户信息,以使在该用户信息同步成功的情况下,将该用户信息添加于所述主用CP的用户信息库中。Optionally, the above-mentioned processor 810 may also perform the following operation: after processing the second user online message, synchronize the user information that goes online through the second user online message with the active CP, so that in If the user information is successfully synchronized, the user information is added to the user information database of the active CP.

可选的,上述处理器810还可以执行以下操作:通过与所述主用CP之间的心跳检测,确定当前是否满足主备切换条件;当满足所述主备切换条件,所述备用CP进行主备切换,并通知所述转发面网元。Optionally, the above-mentioned processor 810 may also perform the following operations: through heartbeat detection with the active CP, determine whether the master-standby switchover condition is currently satisfied; when the master-standby switchover condition is met, the standby CP performs Active/standby switchover, and notify the forwarding plane network element.

需要说明的是,各个操作的实现还可以对应参照图1~图4所示的方法实施例的相应描述;上述处理器810还可以与收发器830配合执行上述方法实施例中的其他操作。It should be noted that the implementation of each operation can also refer to the corresponding descriptions of the method embodiments shown in FIGS.

通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台设备执行根据本公开实施例的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a device to execute the method according to the embodiment of the present disclosure.

此外,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned drawings are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.

需要说明的是,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等,均应视为本公开的一部分。It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be performed in this specific order, or that all shown steps must be performed to achieve achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc., all of which shall be considered as part of the present disclosure.

应可理解的是,本说明书公开和限定的本公开延伸到文中和/或附图中提到或明显的两个或两个以上单独特征的所有可替代组合。所有这些不同的组合构成本公开的多个可替代方面。本说明书的实施方式说明了已知用于实现本公开的最佳方式,并且将使本领域技术人员能够利用本公开。It shall be understood that the disclosure disclosed and defined in this specification extends to all alternative combinations of two or more of the individual features mentioned or evident in the text and/or drawings. All of these different combinations constitute alternative aspects of the disclosure. The embodiments described herein describe the best mode known for carrying out the disclosure and will enable others skilled in the art to utilize the disclosure.

Claims (10)

1.一种虚拟宽带远程接入服务器vBRAS的用户上线方法,其特征在于,所述vBRAS包括控制面网元CP和转发面网元,所述CP包括主用CP和备用CP;所述方法包括:1. A user online method of a virtual broadband remote access server vBRAS, characterized in that, the vBRAS includes a control plane network element CP and a forwarding plane network element, and the CP includes a main CP and a standby CP; the method includes : 当所述主用CP故障,所述转发面网元向所述备用CP发送第二用户上线报文,以使所述备用CP处理所述第二用户上线报文;所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文。When the active CP fails, the forwarding plane network element sends a second user online message to the standby CP, so that the standby CP processes the second user online message; the second user online message The message is a first user online message that the active CP does not respond to, and the first user online message is a message sent to the active CP by the forwarding plane network element in response to user equipment access. 2.根据权利要求1所述的方法,其特征在于,所述第一用户上线报文包括标记位,所述方法还包括:2. The method according to claim 1, wherein the first user online message includes a flag bit, and the method further comprises: 所述转发面网元在所述标记位添加目标标记,生成所述第二用户上线报文。The forwarding plane network element adds a target mark to the mark bit, and generates the second user online message. 3.根据权利要求1所述的方法,其特征在于,在向所述备用CP发送第二用户上线报文之前,所述方法还包括:3. The method according to claim 1, wherein, before sending the second user online message to the standby CP, the method further comprises: 所述转发面网元向所述主用CP发送所述第一用户上线报文;The forwarding plane network element sends the first user online message to the active CP; 当所述转发面网元在预设时间内未收到所述主用CP的第一响应报文,确定所述主用CP故障;所述第一响应报文为所述主用CP针对所述第一用户上线报文的响应报文。When the network element on the forwarding plane does not receive the first response message from the active CP within the preset time, it is determined that the active CP is faulty; A response message to the online message of the first user. 4.一种vBRAS的用户上线方法,其特征在于,所述vBRAS包括控制面网元CP和转发面网元,所述CP包括主用CP和备用CP;所述方法包括:4. A user online method of vBRAS, characterized in that, the vBRAS includes a control plane network element CP and a forwarding plane network element, and the CP includes a main CP and a backup CP; the method includes: 当所述主用CP故障,所述备用CP接收所述转发面网元发送的第二用户上线报文,所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文;When the active CP fails, the standby CP receives the second user online message sent by the network element on the forwarding plane, and the second user online message is the first user online message that the active CP does not respond to. The first user online message is a message sent to the active CP in response to the user equipment accessing the forwarding plane network element; 所述备用CP处理所述第二用户上线报文,生成第二响应报文,并向所述转发面网元发送所述第二响应报文。The standby CP processes the second user online message, generates a second response message, and sends the second response message to the forwarding plane network element. 5.根据权利要求4所述的方法,其特征在于,在处理所述第二用户上线报文之后,所述方法还包括:5. The method according to claim 4, characterized in that, after processing the second user online message, the method further comprises: 向所述主用CP同步通过所述第二用户上线报文上线的用户信息,以使在该用户信息同步成功的情况下,将该用户信息添加于所述主用CP的用户信息库中。Synchronizing the user information that goes online through the second user online message to the active CP, so that if the synchronization of the user information is successful, the user information is added to the user information database of the active CP. 6.根据权利要求4所述的方法,其特征在于,所述方法还包括:6. The method according to claim 4, characterized in that the method further comprises: 所述备用CP通过与所述主用CP之间的心跳检测,确定当前是否满足主备切换条件;The standby CP determines whether the current master-standby switch condition is met through the heartbeat detection between the standby CP and the active CP; 当满足所述主备切换条件,所述备用CP进行主备切换,并通知所述转发面网元。When the master-standby switchover condition is satisfied, the standby CP performs master-standby switchover and notifies the forwarding plane network element. 7.一种vBRAS中的转发面网元,其特征在于,所述转发面网元包括:7. A forwarding plane network element in a vBRAS, characterized in that the forwarding plane network element comprises: 发送模块,用于当所述主用CP故障,向所述备用CP发送第二用户上线报文,以使所述备用CP处理所述第二用户上线报文;所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文。A sending module, configured to send a second user online message to the standby CP when the active CP fails, so that the standby CP processes the second user online message; the second user online message It is a first user online message that has not been responded to by the active CP, and the first user online message is a message sent to the active CP by the forwarding plane network element in response to user equipment access. 8.一种vBRAS中的备用控制面网元,其特征在于,所述备用控制面网元包括:8. A backup control plane network element in a vBRAS, wherein the backup control plane network element includes: 接收模块,用于当所述主用CP故障,接收所述转发面网元发送的第二用户上线报文,所述第二用户上线报文为所述主用CP未响应的第一用户上线报文,所述第一用户上线报文为响应于用户设备的接入所述转发面网元向所述主用CP发送的报文;A receiving module, configured to receive a second user online message sent by the network element on the forwarding plane when the active CP fails, the second user online message is the first user online that the active CP has not responded to A message, the first user online message is a message sent to the active CP in response to the user equipment accessing the forwarding plane network element; 发送模块,用于处理所述第二用户上线报文,生成第二响应报文,并向所述转发面网元发送所述第二响应报文。A sending module, configured to process the second user online message, generate a second response message, and send the second response message to the network element on the forwarding plane. 9.一种vBRAS系统,其特征在于,所述系统包括权利要求7所述的转发面网元、权利要求8所述的备用控制面网元和主用控制面网元。9. A vBRAS system, characterized in that the system comprises the forwarding plane network element according to claim 7, the backup control plane network element and the active control plane network element according to claim 8. 10.一种通信设备,其特征在于,包括:10. A communication device, characterized in that, comprising: 存储器,用于存放计算机程序;memory for storing computer programs; 处理器,用于执行存储器上所存放的计算机程序时,实现权利要求1-6任一项所述的方法。The processor is configured to implement the method according to any one of claims 1-6 when executing the computer program stored in the memory.
CN202210957820.4A 2022-08-10 2022-08-10 User online method of vBRAS and related equipment Pending CN115314336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210957820.4A CN115314336A (en) 2022-08-10 2022-08-10 User online method of vBRAS and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210957820.4A CN115314336A (en) 2022-08-10 2022-08-10 User online method of vBRAS and related equipment

Publications (1)

Publication Number Publication Date
CN115314336A true CN115314336A (en) 2022-11-08

Family

ID=83859906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210957820.4A Pending CN115314336A (en) 2022-08-10 2022-08-10 User online method of vBRAS and related equipment

Country Status (1)

Country Link
CN (1) CN115314336A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024174666A1 (en) * 2023-02-23 2024-08-29 华为技术有限公司 Address allocation method, apparatus and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430115A (en) * 2019-07-25 2019-11-08 新华三大数据技术有限公司 Service restoration method, system, the network equipment and computer readable storage medium
CN111193644A (en) * 2018-11-14 2020-05-22 中移(杭州)信息技术有限公司 A vBRAS service transmission method, device, terminal device and medium
CN113037599A (en) * 2019-12-24 2021-06-25 中兴通讯股份有限公司 Message processing method, device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193644A (en) * 2018-11-14 2020-05-22 中移(杭州)信息技术有限公司 A vBRAS service transmission method, device, terminal device and medium
CN110430115A (en) * 2019-07-25 2019-11-08 新华三大数据技术有限公司 Service restoration method, system, the network equipment and computer readable storage medium
CN113037599A (en) * 2019-12-24 2021-06-25 中兴通讯股份有限公司 Message processing method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024174666A1 (en) * 2023-02-23 2024-08-29 华为技术有限公司 Address allocation method, apparatus and system

Similar Documents

Publication Publication Date Title
US11070431B2 (en) System and method for network validation architecture for clustered and federated storage systems
CN105024855B (en) Distributed type assemblies manage system and method
WO2018113692A1 (en) Method for controlling network slices, forwarding device, control device and communication system
US10361992B2 (en) Method for synchronizing virtual machine location information between data center gateways, gateway, and system
WO2018228302A1 (en) Virtual network link detection method and device
JP7430224B2 (en) Packet processing methods and gateway devices
CN114070723A (en) Virtual network configuration method, system and intelligent network card of bare metal server
EP2731313A1 (en) Distributed cluster processing system and message processing method thereof
CN104301141B (en) A kind of method, apparatus and system for preserving configuration information
WO2019080592A1 (en) Method and device for sending messages
CN105745883A (en) Method for synchronizing forwarding tables, network device, and system
CN110177010B (en) Link switching method and device
WO2017162089A1 (en) Service configuration method and device for network service
WO2019128273A1 (en) Method, device and system for determining connection relation of network devices
WO2020073908A1 (en) Method and device for sending routing information
US20160205033A1 (en) Pool element status information synchronization method, pool register, and pool element
CN114143283A (en) Tunnel self-adaptive configuration method and device, center-end equipment and communication system
US20230188451A1 (en) User keepalive method and apparatus
CN114978910B (en) Time sensitivity realization method and system of virtualization core network
CN115314336A (en) User online method of vBRAS and related equipment
JP7685076B2 (en) Message processing method, apparatus, network device and medium
CN109039680B (en) A method, system and BNG for switching main broadband network gateway BNG and standby BNG
CN102739540B (en) Method and system of access of branch to headquarters, and branch equipment
EP3720078B1 (en) Anima network information processing method, device, and system
CN102594684B (en) A kind of processing method and network access equipment of RADIUS messages

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20221108

RJ01 Rejection of invention patent application after publication