A method and device for transmitting configuration error information
The vBRAS-UP system enhances error reporting flexibility by prioritizing and selectively reporting configuration errors, improving root cause analysis and maintenance efficiency.
Patent Information
- Application Number
- CN202010872050.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-26
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2040-08-26
AI Technical Summary
In the architecture of virtual broadband remote access server (vBRAS), the forwarding network element (vBRAS-UP) can only report the most generated small amount of configuration error information when configuring parameter groups in batches, resulting in difficulty in finding the root causes and problem locations.
By giving reporting priority to configuration error information, the forwarding network element (vBRAS-UP) selects reporting configuration error information based on the reporting priority and constraints of the service, improving the flexibility and reporting efficiency of configuration error information.
It improves the flexibility of forwarding the network element to report configuration error information to the network element of the control surface (vBRAS-CP), and enhances the efficiency of finding the root causes of configuration errors and positioning problems.
Smart Images

Figure CN114205225B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a method and device for transmitting configuration error information. Background Technique
[0002] To solve the problems of low resource utilization, complex management and maintenance, and slow service provisioning of traditional broadband remote access servers (BRAS), the software-defined network (SDN) technology and network function virtualization (NFV) technology are introduced into BRAS in this field, and the virtual broadband remote access server (vBRAS) architecture is proposed to achieve the separation and decoupling of the user plane (UP) and the control plane (CP). Therefore, the vBRAS architecture includes vBRAS-UP and vBRAS-CP.
[0003] The southbound interface between vBRAS-UP and vBRAS-CP includes a service interface, a management interface, and a control interface. The vBRAS-CP can perform configuration distribution and configuration reconciliation on the vBRAS-UP through the management interface to achieve configuration synchronization between the two.
[0004] In the process of the vBRAS-CP performing configuration distribution and configuration reconciliation on the vBRAS-UP, the following steps are included:
[0005] 1. The vBRAS-CP sends the target configuration information to the vBRAS-UP through a remote procedure call protocol (RPC) message. Among them, the target configuration information contains multiple configuration parameter groups. Each configuration parameter group is used to configure a service or instance.
[0006] 2. The vBRAS-UP configures according to the received target configuration information and returns an RPC-reply message to the vBRAS-CP according to the configuration result.
[0007] When all the configuration parameter groups in the target configuration information are successfully configured by the vBRAS-UP, the RPC-reply message indicates successful configuration; when the vBRAS-UP fails to configure any one of the configuration parameter groups, a configuration error message indicating the failure of the configuration of the configuration parameter group is generated, the RPC-reply message indicates configuration failure, and carries a small amount of the earliest generated configuration error information.
[0008] 3. When the vBRAS-CP determines that the vBRAS-UP is successfully configured according to the RPC-reply message, it sends an effect indication message (commit message) to the vBRAS-UP to indicate that the target configuration information of this configuration takes effect. When the vBRAS-CP determines that the vBRAS-UP is configured failed according to the RPC-reply message, it sends a rollback indication message (discard commit message) to the vBRAS-UP to indicate that the vBRAS-UP rolls back to the previous configuration; in addition, the vBRAS-CP can also generate a configuration failure record according to at least one configuration error information in the RPC-reply message, and update the configuration failure record to the operation log. In this way, the vBRAS-CP can generate an alarm message according to the configuration failure record in the operation log for the user to query.
[0009] Wherein, the configuration failure record is used to indicate that the configuration of the configuration parameters of a service fails.
[0010] In the case of batch configuration by the vBRAS-CP, the vBRAS-UP may generate a large number of configuration error information. However, due to the poor flexibility of the traditional configuration error information transmission method, the vBRAS-UP can only report a small amount of the earliest generated configuration error information, which makes it difficult to find the root cause of the configuration error, locate the problem and perform operation and maintenance. Summary of the Invention
[0011] The present application provides a method and device for transmitting configuration error information to improve the flexibility of the vBRAS-UP to report configuration error information to the vBRAS-CP.
[0012] In a first aspect, an embodiment of the present application provides a method for transmitting configuration error information, and the method includes the following steps:
[0013] The forwarding plane network element receives a first configuration message from the control plane network element, and a plurality of configuration parameter groups are carried in the first configuration message; wherein, any one of the plurality of configuration parameter groups belongs to a service; after being configured according to the plurality of configuration parameter groups, the forwarding plane network element generates a plurality of configuration error messages; wherein, any one of the configuration error messages corresponds to a configuration parameter group, and any one of the configuration error messages is used to indicate that the forwarding plane network element fails to configure the configuration parameter group corresponding to the configuration error message; the forwarding plane network element sends a first configuration reply message including the reported error information to the control plane network element; wherein, the reported error information includes a first configuration error message among the plurality of configuration error messages, and the reported error information does not include a second configuration error message among the plurality of configuration error messages, and the reporting priority of the first configuration error message is higher than or equal to the reporting priority of the second configuration error message.
[0014] Through this method, the forwarding plane network element can report according to the reporting priority of the configuration error information. In this way, the user or the control plane network element can configure the priority order of the configuration error information reported by the forwarding plane network element by configuring the reporting priority, thereby improving the flexibility of the forwarding plane network element to report the configuration error information to the control plane network element, and further improving the efficiency of the control plane network element to find the root cause of the configuration error, problem location and operation and maintenance.
[0015] In a possible design, the reporting priority of the first configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error message belongs; the reporting priority of the second configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error message belongs.
[0016] Through this design, the forwarding plane network element can determine the reporting priority of the configuration error message corresponding to the configuration parameter group belonging to the service according to the reporting priority of the service.
[0017] In a possible design, before the forwarding plane network element sends a first configuration reply message including the reported error information to the control plane network element, the forwarding plane network element can determine the reporting priority of at least one service, and the at least one service includes the service to which at least one of the plurality of configuration parameter groups belongs; and determine the reported error information from the plurality of configuration error messages according to the reporting priority of the at least one service.
[0018] Through this design, the forwarding plane network element can determine the reported error information according to the reporting priority of at least one service, so that the configuration error information related to the service with a higher reporting priority can be reported preferentially.
[0019] In a possible design, the forwarding plane network element may determine the reported error information through the following steps:
[0020] The forwarding plane network element determines the reported error information from the multiple configuration error messages according to the reporting priorities and constraint conditions of the at least one service;
[0021] Wherein, the constraint condition is that the number of the reported error messages is the target number; or the constraint condition is that the number of services to which the configuration parameter groups corresponding to the reported error messages belong is the target number.
[0022] Through this design, the forwarding plane network element can select the reported error information with the number of configuration error messages to be reported as the constraint, or with the number of services to be reported as the constraint.
[0023] In a possible design, when the constraint condition is that the number of the reported error messages is the target number, the forwarding plane network element determines the reported error information from the multiple configuration error messages according to the reporting priorities of the at least one service and the constraint condition through the following steps:
[0024] When the number of configuration error messages in the reporting record is less than the target number, the forwarding plane network element adds the first configuration error message to the reporting record; when the number of configuration error messages in the reporting record is equal to the target number, the forwarding plane network element determines that the reporting priority of the first configuration error message is higher than that of the third configuration error message in the reporting record, the forwarding plane network element deletes the third configuration error message in the reporting record, and adds the first configuration error message to the reporting record; finally, the forwarding plane network element determines that the reported error information is the configuration error message included in the reporting record.
[0025] Through this design, the forwarding plane network element can select the configuration error message with a higher reporting priority as the reported error information for reporting from multiple configuration error messages.
[0026] The more alarm messages generated by the control plane network element regarding the forwarding plane network element, the more conducive it is for users to find the root cause of configuration errors, locate problems, and perform operation and maintenance through these alarm messages. However, usually, there is a limit to the number of alarm messages of the forwarding plane network element saved by the control plane network element, that is, the number of alarm messages of the forwarding plane network element saved by the control plane network element is less than or equal to a preset maximum number. Exemplarily, the maximum number can be 100, 200, etc. In a possible design, in order to make the number of alarm messages generated by the control plane network element according to the reported error information reported by the forwarding plane network element as close as possible to the maximum number, the target number of the constraint condition can be determined according to the maximum number. For example, the target data is similar to or the same as the maximum number, and the value of the target number can be specifically set according to the specific scenario. Exemplarily, the target number can be greater than or equal to the maximum number.
[0027] In a possible design, in order to enable the forwarding plane network element to report configuration error information to the control plane network element as much as possible, the target number is determined according to the maximum data volume that can be carried by the first configuration reply message.
[0028] In a possible design, the forwarding plane network element can, but is not limited to, determine the reporting priority of the at least one service in the following ways:
[0029] Method 1: The forwarding plane network element obtains the preset reporting priorities of the at least one service.
[0030] Method 2: The forwarding plane network element obtains the first priority configuration information sent by the control plane network element, and the first priority configuration information is used to configure the reporting priorities of the at least one service; the forwarding plane network element determines the reporting priorities of the at least one service according to the first priority configuration information.
[0031] Method 3: The forwarding plane network element obtains the second priority configuration information sent by the control plane network element, and the second priority configuration information is used to configure the priority of the first service in the at least one service; the forwarding plane network element determines the priority of the first service according to the second priority configuration information; and the forwarding plane network element obtains the preset reporting priority of the second service in the at least one service, or the forwarding plane network element adjusts the reporting priority of the second service according to the priority of the first service.
[0032] The above design can improve the flexibility of the forwarding plane network element to obtain the reporting priorities of services.
[0033] In a possible design, the reported error information further includes a fourth configuration error information among the multiple configuration error information, and the service to which the configuration parameter group corresponding to the fourth configuration error information belongs is different from the service to which the configuration parameter group corresponding to the first configuration error information belongs.
[0034] With this design, the reported error information can include configuration error information related to multiple services.
[0035] In a possible design, the method is applied to a communication system with a separated control plane and forwarding plane. The forwarding plane network element is the forwarding plane network element in the communication system, and the control plane network element is the control plane network element in the communication system. For example Figure 1 or Figure 2 In the shown communication system, the forwarding plane network element can be vBRAS-UP, and the control plane network element can be vBRAS-CP.
[0036] In a second aspect, an embodiment of the present application provides a method for transmitting configuration error information. The method includes the following steps:
[0037] The control plane network element sends a first configuration message to the forwarding plane network element. The first configuration message carries multiple first configuration parameter groups, and any one of the multiple first configuration parameters belongs to a service. The control plane network element receives a first configuration reply message from the forwarding plane network element. The first configuration reply message contains reported error information. Among them, the reported error information contained in the first configuration reply message includes first configuration error information, and the reported error information contained in the first configuration reply message does not include second configuration error information. The reporting priority of the first configuration error information is higher than or equal to the reporting priority of the second configuration error information. The first configuration error information is generated by the forwarding plane network element after configuration according to any one of the multiple first configuration parameter groups.
[0038] With this method, the forwarding plane network element can report according to the reporting priority of the configuration error information. In this way, the user or the control plane network element can configure the priority order of the configuration error information reported by the forwarding plane network element by configuring the reporting priority, thereby improving the flexibility of the forwarding plane network element to report the configuration error information to the control plane network element, and further improving the efficiency of the control plane network element to find the root cause of the configuration error, problem location, and operation and maintenance.
[0039] In a possible design, the reporting priority of the first configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error information belongs; the reporting priority of the second configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error information belongs.
[0040] In a possible design, the quantity of the reported error messages is a target quantity; or the quantity of services to which the configuration parameter groups corresponding to the reported error messages belong is a target quantity.
[0041] In a possible design, the target quantity is determined according to the maximum quantity of alarm messages of the forwarding plane network element that the control plane network element can store, where the alarm messages are generated by the control plane network element based on the reported error messages reported by the forwarding plane network element; the target quantity is determined according to the maximum data carrying capacity of the first configuration reply message.
[0042] In a possible design, when the target quantity is determined according to the maximum quantity of alarm messages of the forwarding plane network element that the control plane network element can store, the target quantity is greater than or equal to the maximum quantity.
[0043] In a possible design, the control plane network element may further send priority configuration information to the forwarding plane network element, where the priority configuration information is used to configure the reporting priorities of at least one service, and the at least one service includes the services to which at least one of the multiple first configuration parameter groups belongs.
[0044] Through this design, the control plane network element can flexibly configure the reporting priorities of services.
[0045] In a possible design, after the control plane network element receives the first configuration reply message from the forwarding plane network element, the control plane network element may further generate a configuration failure record of the forwarding plane network element according to the first reported error message; and generate at least one alarm message of the forwarding plane network element according to the configuration failure record.
[0046] In a possible design, the first reported error message includes the first configuration error message and the third configuration error message, the configuration parameter group corresponding to the first configuration error message belongs to the first service, and the configuration parameter group corresponding to the third configuration error message belongs to the second service; the configuration failure record is used to indicate that the configuration parameter groups of the first service and the second service fail to be configured; the at least one alarm message includes a first alarm message and a second alarm message, where the first alarm message is used to alarm the failure of configuring the configuration parameter group of the first service, and the second alarm message is used to alarm the failure of configuring the configuration parameter group of the second service.
[0047] With this design, the control plane network element can support recording multiple services in one configuration failure record, so that multiple alarm messages can be generated based on the configuration failure record subsequently, thereby enriching the quantity of alarm information and facilitating finding the root cause of configuration errors, problem location, and operation and maintenance based on these richer alarm messages subsequently.
[0048] In a possible design, the method further includes the following steps:
[0049] The control plane network element obtains target configuration information, where the target configuration information includes multiple configuration parameter groups; the control plane network element determines the multiple first configuration parameter groups and multiple second configuration parameter groups among the multiple configuration parameter groups included in the target configuration information; wherein, any one of the multiple first configuration parameter groups is different from any one of the multiple second configuration parameter groups; the control plane network element sends a second configuration message to the forwarding plane network element, and the second configuration message carries the multiple second configuration parameter groups; the control plane network element receives a second configuration reply message from the forwarding plane network element, where the second configuration reply message includes reported error information, and the reported error information included in the second configuration reply message is generated by the forwarding plane network element after configuring according to at least one of the multiple second configuration parameter groups.
[0050] Since in each configuration distribution process, the control plane network element will send a configuration message to the forwarding plane network element, and the forwarding plane network element will feedback a configuration reply message to the control plane network element for this configuration message. In this design, the control plane network element can split the multiple configuration parameter groups in the target configuration information into multiple sets and distribute the corresponding sets through multiple configuration distribution processes. Compared with the method of centrally configuring and distributing the multiple configuration parameter groups in the target configuration information, through this design, the forwarding plane network element can feedback a configuration reply message in each configuration distribution process, thereby increasing the opportunity and quantity of the forwarding plane network element reporting configuration error information, so that the control plane network element can obtain as much configuration error information as possible.
[0051] In a possible design, the control plane network element can obtain the target configuration information in the following ways:
[0052] Way 1: The control plane network element obtains the target configuration information sent by the management device;
[0053] Way 2: The control plane network element obtains the target configuration information input by the user;
[0054] Way 3: The control plane network element obtains the target configuration information during the configuration reconciliation process between the control plane network element and the forwarding plane network element.
[0055] In a possible design, the method is applied to a communication system with a separated control plane and forwarding plane. The forwarding plane network element is the forwarding plane network element in the communication system, and the control plane network element is the control plane network element in the communication system.
[0056] In a third aspect, an embodiment of the present application provides a forwarding plane network element, including units for performing the respective steps in the above first aspect.
[0057] In a fourth aspect, an embodiment of the present application provides a control plane network element, including units for performing the respective steps in the above second aspect.
[0058] In a fifth aspect, an embodiment of the present application provides a communication device, including at least one processing element and at least one storage element. The at least one storage element is used to store programs and data, and the at least one processing element is used to read and execute the programs and data stored in the storage element, so that the method provided in any of the above aspects of the present application is implemented.
[0059] In a sixth aspect, an embodiment of the present application provides a communication system with a separated forwarding plane and control plane, including a forwarding plane network element and a control plane network element. The forwarding plane network element is used to implement the method provided in the above first aspect, and the control plane network element is used to implement the method provided in the above second aspect.
[0060] In a seventh aspect, an embodiment of the present application further provides a computer program, which, when running on a computer, causes the computer to execute the method provided in any of the above aspects.
[0061] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, it causes the computer to execute the method provided in any of the above aspects.
[0062] In a ninth aspect, an embodiment of the present application further provides a chip, which is used to read the computer program stored in a memory and execute the method provided in any of the above aspects.
[0063] In a tenth aspect, an embodiment of the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method provided in any of the above aspects. In a possible design, the chip system further includes a memory for storing necessary programs and data for the computer device. The chip system can be composed of chips or can include chips and other discrete devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 It is an architecture diagram of a communication system provided by an embodiment of the present application;
[0065] Figure 2 It is a schematic diagram of the functional structure within each network element in the architecture of a vBRAS provided by an embodiment of the present application;
[0066] Figure 3 It is a flowchart of the traditional configuration distribution process;
[0067] Figure 4 It is a flowchart of the traditional configuration reconciliation process;
[0068] Figure 5 It is a flowchart of a method for transmitting configuration error information provided by an embodiment of the present application;
[0069] Figure 6 It is a flowchart of a method for determining error information to be reported provided by an embodiment of the present application;
[0070] Figure 7 It is a flowchart of a configuration method provided by an embodiment of the present application;
[0071] Figure 8 It is a structural diagram of a communication device provided by an embodiment of the present application;
[0072] Figure 9 It is a structural diagram of a communication device provided by an embodiment of the present application. Detailed implementation manners
[0073] The present application provides a method and device for transmitting configuration error information to improve the flexibility of a vBRAS-UP reporting configuration error information to a vBRAS-CP. Among them, the method and the device are based on the same technical concept. Since the principles of the method and the device for solving problems are similar, the implementation of the device and the method can be referred to each other, and the repeated parts will not be elaborated.
[0074] In the solution provided by the embodiment of the present application, when a plurality of configuration error information is generated after a forwarding plane network element configures a batch of configuration parameter groups, the configuration error information can be reported to a control plane network element according to the reporting priority of the configuration error information. Compared with the traditional method in which the forwarding plane network element can only report the first generated configuration error information, this method can report according to the reporting priority of the configuration error information. In this way, a user or a control plane network element can configure the priority order of the configuration error information reported by the forwarding plane network element by configuring the reporting priority, thereby improving the flexibility of the forwarding plane network element reporting the configuration error information to the control plane network element, and further improving the efficiency of the control plane network element finding the root cause of the configuration error, problem location, and operation and maintenance.
[0075] Hereinafter, some terms in the present application are explained to facilitate the understanding of those skilled in the art.
[0076] 1). The vBRAS architecture is proposed for introducing SDN technology and NFV technology into BRAS in the communication field, which can achieve the separation and decoupling of the UP and CP. Therefore, in the vBRAS architecture, there are the following two network elements: the vBRAS-UP network element and the vBRAS-CP network element.
[0077] 2). The vBRAS-CP network element, also known as the control plane network element, can be abbreviated as vBRAS-CP. The vBRAS-CP is the control and management component in the vBRAS architecture, mainly responsible for functions such as user control management (UCM), user access control, user authentication, authorization and accounting, address management (AM), and configuration management (CM).
[0078] 3). The vBRAS-UP network element, also known as the forwarding plane network element and the user plane network element, can be abbreviated as vBRAS-UP. The vBRAS-UP, as the edge of the three-layer network element and the user policy execution component in the vBRAS architecture, is mainly responsible for forwarding plane functions such as traffic forwarding (i.e., forwarding of user data packets), Quality of Service (QoS), traffic statistics, and network address translation (NAT). In addition, the vBRAS-UP can also be responsible for pipeline control plane functions such as unicast routing protocol, multicast routing protocol, and Multiprotocol Label Switching (MPLS) to achieve traffic scheduling and traffic balancing.
[0079] 4). The configuration parameter group contains one configuration parameter or a series of multiple configuration parameters related to configuration. The vBRAS-CP / vBRAS-UP can generate a configuration parameter command for a configuration parameter group to achieve the configuration of the configuration parameter group.
[0080] 5). The configuration error message, that is, the error message, corresponds one-to-one with the configuration parameter group and is used to indicate that the vBRAS-UP fails to configure the configuration parameter group corresponding to the configuration error message. That is, when the vBRAS-UP fails to configure a configuration parameter group, the vBRAS-UP generates a configuration error message.
[0081] 6). The configuration message contains at least one configuration parameter group and is used to achieve the parameter configuration of the vBRAS-UP by the vBRAS-CP. Exemplarily, the configuration message can be a remote procedure call (RPC) message.
[0082] 7) Configure a reply message corresponding to the configuration message. After vBRAS-UP is configured according to the configuration parameter groups included in the configuration message, it returns a configuration reply message to vBRAS-CP according to the configuration result. Therefore, the configuration reply message can indicate successful configuration (successful configuration of all configuration parameter groups included in the configuration message); it can also indicate failed configuration (failed configuration of at least one configuration parameter group included in the configuration message).
[0083] It should be noted that when the configuration reply message indicates a failed configuration, the configuration reply message also carries configuration error information generated by vBRAS-UP.
[0084] Exemplarily, when the configuration message is an RPC message, the configuration reply message can be an RPC-reply message, and the configuration error information carried in the RPC-reply message can be expressed as RPC-error information.
[0085] 8) Service, which is used to represent the functions, services, or applications (APP) of the vBRAS architecture. Exemplarily, the services in the vBRAS architecture can include but are not limited to the following services: Service 1 (aclcu), Service 2 (cusrvcomm), Service 3 (cuqos), Service 4 (cucgn), Service 5 (cusc), Service 6 (cuBr), Service 7 (brascuofa), Service 8 (brascuif), Service 9 (brascuagent), Service 10 (ethernetcuadp), Service 11 (brascuipv6), Service 12 (brascuipv4), Service 13 (mcastcuadp), Service 14 (cubraskeychain), Service 15 (cuussl), Service 16 (timerange), etc.
[0086] 9) "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the front and back associated objects.
[0087] It should be noted that the "multiple" involved in this application refers to two or more. "At least one" refers to one or more.
[0088] In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.
[0089] The embodiments of the present application will be specifically described below with reference to the accompanying drawings.
[0090] Figure 1 FIG. shows the architecture of a communication system to which the configuration error information transmission method provided by the embodiments of the present application is applicable. Refer to Figure 1 As shown, the communication system may include: a service system / network management system 101, a vBRAS 102, and a management and orchestration system (MANO) 103.
[0091] The service system / network management system 101 is mainly responsible for management functions such as access services, network management, remote access dial-up user services, IP address allocation, and policy configuration. The service system / network management system 101 mainly implements the above management functions through management devices. Exemplarily, the service system / network management system 101 may include at least one or a combination of the following management devices: a remote authentication dial in user service (RADIUS) server, a dynamic host configuration protocol (DHCP) server, a policy server, an element management system (EMS), and other servers.
[0092] The vBRAS 102 is obtained by introducing SDN technology and NFV technology into the traditional BRAS and separating and decoupling the UP and CP of the BRAS. As Figure 1 shown, the vBRAS 102 includes a vBRAS-CP 1021 and a vBRAS-UP 1022. The vBRAS-CP 1021 is centrally deployed using virtualization / cloud technology to achieve unified management of multiple vBRAS-UP 1022.
[0093] Among them, the vBRAS-CP 1021, as the control and management component in the vBRAS 102, is mainly responsible for functions such as UCM, user access control, user authentication, authorization, and accounting, AM, and CM.
[0094] The vBRAS-UP 1022 is mainly responsible for forwarding plane functions such as traffic forwarding (i.e., forwarding of user data packets), QoS, traffic statistics, and NAT. In addition, the vBRAS-UP 1022 may also be responsible for pipeline control plane functions such as unicast routing protocols, multicast routing protocols, and MPLS to achieve traffic scheduling and traffic balancing.
[0095] Within the architecture of the vBRAS 102 with separated control and forwarding, the vBRAS-CP 1021 and the vBRAS-UP 1022 are connected through a standardized interface for communication. This standardized interface is also known as the southbound interface of the vBRAS-CP 1021. As Figure 1 shown, the standardized interface between the two can include a service interface, a management interface, and a control interface.
[0096] Among them, the service interface can adopt the virtual extensible local area network (VxLAN) technology to transmit the point-to-point protocol over Ethernet (PPPoE) access control messages, RADIUS authentication, authorization, and accounting messages, IPoE messages, and layer 2 tunneling protocol (L2TP) messages between the vBRAS-CP 1021 and the vBRAS-UP 1022.
[0097] The management interface can adopt the network configuration protocol (Netconf) technology or the openflow technology to implement the configuration distribution and configuration reconciliation of the vBRAS-CP 1021 to the vBRAS-UP 1022. That is, the vBRAS-CP 1021 can send configuration messages (such as RPC messages) to the vBRAS-UP 1022 through the management interface, while the vBRAS-UP 1022 can return configuration reply messages (such as RPC-reply messages) to the vBRAS-CP 1021 through the management interface.
[0098] The control interface can adopt the openflow technology to implement the distribution of forwarding table entries from the vBRAS-CP 1021 to the vBRAS-UP 1022, and the reporting of service events from the vBRAS-UP 1022 to the vBRAS-CP 1021, ultimately realizing the unified management and control of the behavior of the vBRAS-UP 1022 by the vBRAS-CP 1021.
[0099] The service system / network management system 101 and the vBRAS 102 are also connected through an interface to complete the docking between the two and the unified invocation of the functions / capabilities of the vBRAS 102 by the service system / network management system 101. This interface is also known as the northbound interface of the vBRAS-CP 1021.
[0100] In this communication system, since the vBRAS 102 is implemented using NFV technology, in the NFV architecture, the vBRAS-CP 1021 and vBRAS-UP 1022 are virtual network functions (VNFs) obtained by virtualizing hardware resources. The MANO 103 is the NFV-MANO, which is used to monitor and manage VNFs such as the vBRAS-CP 1021 and vBRAS-UP 1022.
[0101] It should be noted that Figure 1 The shown communication system is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application. Those skilled in the art know that with the evolution of the network architecture and the update of technology, the technical solution provided by the embodiment of the present application is also applicable to other similar communication systems.
[0102] In the architecture of vBRAS as shown in Figure 1 order to implement the configuration delivery and configuration reconciliation of the vBRAS-CP to the vBRAS-UP using the Netconf technology, refer to Figure 2 As shown, according to the logical function division, the vBRAS-CP can include the following modules / components: a configuration module, a south interface manage agent (SIMA) module, a CP Netconf module, and a facilities management (FM) module. And the vBRAS-UP can include, but is not limited to, an UP Netconf module.
[0103] The functions of the modules in the vBRAS-CP are described below:
[0104] The configuration module, abbreviated as CPcfg, is used to receive the configuration information in the service system / network management system 101, and store and configure the configuration parameter groups in the configuration information. The SIMA module, also known as the CP Netconfc module, is mainly used to complete message encapsulation, Netconf session establishment, and the sending and ending of RPC messages; specifically, it is used to send the configuration parameter group to the remote vBRAS-UP, obtain the configuration result of the vBRAS-UP, and determine whether the configuration parameter group takes effect according to the configuration result. The CPNetconf module is used for message processing of the vBRAS-CP. The FM module is responsible for functions such as the management, parsing, and maintenance of operation logs.
[0105] The UP Netconf module in the vBRAS-UP is mainly responsible for functions such as packet processing, parameter configuration, and configuration result feedback.
[0106] The functions of each of the modules shown below will be specifically described in combination with the configuration distribution process and the configuration reconciliation process. Figure 2
[0107] Refer to Figure 3 As shown, the configuration distribution process of the traditional vBRAS-CP to the vBRAS-UP may include the following steps:
[0108] S301: The management device sends target configuration information to the vBRAS-CP, where the target configuration information includes at least one configuration parameter group, and each configuration parameter group belongs to a type of service.
[0109] Optionally, the management device may be Figure 1 any management device in the service system / network management system 101 in the communication system shown. Exemplarily, the management device may be an EMS.
[0110] S302: After the CPcfg module in the vBRAS-CP receives the target configuration information, it configures according to the at least one configuration parameter group in the target configuration information and saves the at least one configuration parameter group.
[0111] S303: When the SIMA module in the vBRAS-CP subscribes to configuration data, the CPcfg module sends an update message to the SIMA module, and the update message carries the at least one configuration parameter group.
[0112] Among them, the SIMA module can subscribe to configuration data through a data application model (DAM) component. The DAM component can define the at least one configuration parameter group to be distributed. At this time, the at least one configuration parameter group is defined as DAM data. Therefore, the DAM data can be carried in the update message.
[0113] S304: After the SIMA module receives the update message, it saves / caches the at least one configuration parameter group (the DAM data) carried in the update message.
[0114] S305: The management device sends a first effect indication message (commit message) to the vBRAS-CP to indicate that the target configuration information configured by the vBRAS-CP this time takes effect.
[0115] S306: The CPcfg module sends a configuration command to the SIMA module according to the first effective indication message. Optionally, the configuration command can be sent through an information (info) message.
[0116] S307: After receiving the configuration command, the SIMA module returns a configuration response to the CPcfg module. Optionally, the configuration response can be sent through a distribute trans-no message.
[0117] The SIMA module can determine that the at least one configuration parameter group of this configuration becomes effective according to the configuration command, and can perform a configuration distribution process to vBRAS-UP.
[0118] At this time, after the CPcfg module receives the configuration response, that is, the current configuration of vBRAS-CP becomes effective, generating a new vBRAS-CP configuration change point.
[0119] S308: The SIMA module generates a configuration message according to the cached at least one configuration parameter group. The configuration message contains the at least one configuration parameter group.
[0120] Optionally, the configuration message can be an RPC message. The type of the RPC message can be an edit-config type.
[0121] S309: The SIMA module sends the configuration message to vBRAS-UP.
[0122] S310: The UP Netconf module in vBRAS-UP configures the at least one configuration parameter group in the configuration message.
[0123] In the case where the vBRAS-UP configuration is successful (Case A), the vBRAS-UP and the vBRAS-CP execute S311a - S312a. In the case where the vBRAS-UP configuration is successful (Case B), the vBRAS-UP and the vBRAS-CP execute S311b - S317b.
[0124] The steps in Case A are described below.
[0125] S311a: When the UP Netconf module in vBRAS-UP configures all the at least one configuration parameter groups successfully, it sends a configuration reply message indicating successful configuration to the SIMA module in vBRAS-CP.
[0126] S312a: After receiving the configuration reply message, the SIMA module sends a second effectiveness indication message (commit message) to the vBRAS-UP to indicate that the at least one configuration parameter group configured this time by the vBRAS-UP becomes effective.
[0127] After receiving the second effectiveness indication message, the UP Netconf module in the vBRAS-UP determines that the at least one configuration parameter group configured this time becomes effective.
[0128] At this time, after receiving the second effectiveness indication message, the UP Netconf module means that the current configuration of the vBRAS-UP becomes effective, generating a new vBRAS-UP configuration change point.
[0129] The steps in case A are described below.
[0130] S311b: If the UP Netconf module in the vBRAS-UP fails to configure any one of the at least one configuration parameter groups, it sends a configuration reply message indicating the configuration failure to the SIMA module in the vBRAS-CP.
[0131] Corresponding to the configuration message, when the configuration message is an RPC message, the configuration reply message is an RPC-reply message. The configuration error information can be the RPC-error information.
[0132] Among them, when the UP Netconf module fails to configure a configuration parameter group, it generates configuration error information indicating the failure of the configuration parameter group. Optionally, the configuration reply message can carry a small amount of the earliest generated configuration error information according to the maximum data carrying capacity. For example, when the maximum data carrying capacity of the configuration reply message is 30K, the configuration reply message can carry at most 30 - 50 configuration error information.
[0133] S312b: After receiving the configuration reply message, the SIMA module sends a rollback indication message (discard commit message) to the vBRAS-UP to indicate that the vBRAS-UP rolls back to the previous configuration.
[0134] S313b: The UP Netconf module rolls back the successfully configured configuration this time according to the rollback indication message, so as to roll back to the previous configuration.
[0135] S314b: The UP Netconf module sends a discard commit response message to the CP Netconf module in the vBRAS-CP.
[0136] S315b: After receiving the configuration reply message, the SIMA module can generate a configuration failure record according to the configuration error information carried in the configuration reply message.
[0137] Among them, the configuration failure record is used to indicate that the configuration of a configuration parameter group of a service fails. The service is one of at least one service to which the configuration parameter group corresponding to at least one configuration error information carried in the configuration reply message belongs.
[0138] S316b: The SIMA module sends the configuration failure record to the FM module.
[0139] S317b: The FM module updates and saves the configuration failure record to the maintained operation log.
[0140] In this way, the vBRAS-CP can parse the configuration failure record in the operation log through the APP script, so as to generate an alarm message. The alarm message is used to alarm the failure of the configuration of the configuration parameter group of this service.
[0141] In an example, the format of the configuration failure record can be represented by the following code:
[0142] Failed to configure access point.(User-name=[user-name],IP-address=[IP-address],Session-id=[session-id],UPId=[UPId],MsgID=[MsgID],packCount=[packCount],packSeq=[packSeq],app-name=[app-name],Operation=[operation],Reason=[reason]).
[0143] Among them, the key information included in the above configuration failure record includes the service name (app-name), the reason for the error (Reason), etc.
[0144] Users can view the alarm information of a vBRAS-UP by displaying the southbound configuration conflict command (display south configuration conflict). The format of the display southbound configuration conflict command can be represented by the following code:
[0145]
[0146] It should be noted that the number of alarm messages of a vBRAS-UP saved by vBRAS-CP is less than or equal to a preset maximum number. Exemplarily, the maximum number can be 100, 200, etc.
[0147] Refer to Figure 4 As shown, the configuration reconciliation process of traditional vBRAS-CP for vBRAS-UP can include the following steps:
[0148] S401: When vBRAS-CP starts to process a reconciliation process, the SIMA module obtains local configuration data. Among them, the local configuration data may include: configuration parameter groups of N services configured by vBRAS-CP, where N is a positive integer. Exemplarily, N can be 3.
[0149] S402: The SIMA module sends a configuration request message (get-config message) to vBRAS-UP. Among them, the indication information of the N services is carried in the configuration request message.
[0150] Optionally, the type of the configuration request message can be an Extensible Markup Language (XML) message.
[0151] S403: After receiving the configuration request message, the UP Netconf module in vBRAS-UP obtains its local configuration data according to the indication information of the N services. Since the local configuration data obtained by the UP Netconf module is remote configuration data relative to the SIMA module, in the subsequent embodiments of this application, it will be referred to as remote configuration data. The UP Netconf module sends a configuration response message to vBRAS-CP, and the configuration response message contains the remote configuration data.
[0152] Optionally, the remote configuration data includes: configuration parameter groups of the N services configured by vBRAS-UP.
[0153] S404: After the SIMA module obtains the remote configuration data, it compares the local configuration data with the remote configuration data. When there are differences between the two, it generates reconciliation difference configuration data. Among them, at least one configuration parameter group included in the reconciliation difference configuration data is included in the local configuration data.
[0154] S405: The SIMA module performs a configuration distribution process according to the reconciliation difference configuration data. Among them, this configuration distribution process can refer to Figure 3 S308 - S317b in the configuration distribution process shown, which will not be elaborated here.
[0155] Through the above description of Figure 3 the configuration distribution process shown and Figure 4 the configuration reconciliation process shown, it can be seen that the vBRAS - CP executes the configuration failure processes such as S315b - S317b based on the configuration error information reported by the vBRAS - UP through the configuration response message. However, the vBRAS - UP can only report a small amount of the earliest generated configuration error information based on the maximum data volume that the configuration response message can carry and the generation time of the configuration error information.
[0156] When the vBRAS - CP performs batch configuration, there may be a large number of configuration error information in the vBRAS - UP. However, limited by the above - mentioned configuration error information reporting method, the vBRAS - UP can only report a small amount of the earliest generated configuration error information, which may cause a large number of key configuration error information (that is, the configuration error information corresponding to some key service configuration parameter groups) to be not reported or omitted, which brings great difficulties to finding the root cause of configuration errors, problem positioning, and operation and maintenance.
[0157] To improve the flexibility of the vBRAS - UP to report configuration error information to the vBRAS - CP, this application provides a configuration error information transmission method. This method can be but is not limited to being applicable to communication systems such as Figure 1 and Figure 2 shown. Refer to Figure 5 below for a detailed description of the process of this method.
[0158] S500: The vBRAS - CP obtains target configuration information, where the target configuration information includes L configuration parameter groups, and L is a positive integer. Each configuration parameter group belongs to a service.
[0159] Optionally, the vBRAS - CP can obtain the target configuration information through the following methods but is not limited to:
[0160] Method 1: The vBRAS - CP obtains the target configuration information sent by the management device. Optionally, the management device can be such as Figure 1The management device in the service system / network management system 101 shown, such as an EMS.
[0161] Method 2: The vBRAS-CP obtains the target configuration information input by the user.
[0162] Method 3: The vBRAS-CP obtains the target configuration information during the configuration reconciliation process with the vBRAS-UP. In this method, the target configuration information is the reconciliation difference configuration data generated by the vBRAS-CP during the configuration reconciliation process.
[0163] In one implementation, after the vBRAS-CP obtains the target configuration information, it can send the L configuration parameter groups to the vBRAS-UP through a configuration distribution process. That is, the vBRAS-CP carries the L configuration parameter groups in a configuration message and sends them to the vBRAS-UP.
[0164] In another implementation, after the vBRAS-CP obtains the target configuration information, it can split the L configuration parameter groups into multiple sets according to the number of the L configuration parameter groups or according to the H services to which the L configuration parameter groups belong, and send each set to the vBRAS-UP through multiple configuration distribution processes. There are no identical configuration parameter groups in different sets.
[0165] Since the vBRAS-UP will feedback a configuration reply message to the vBRAS-CP in each configuration distribution process, in this implementation, the vBRAS-UP can feedback a configuration reply message for each configuration distribution process compared with the method of centrally configuring and distributing the L configuration parameter groups, thereby increasing the opportunity and quantity of the vBRAS-UP reporting configuration error information, so that the vBRAS-CP can obtain as much configuration error information as possible.
[0166] For example, when the number of the L configuration parameter groups is 1000, the vBRAS-CP can split the L configuration parameter groups into two sets: M first configuration parameter groups (the number can be 500) and N second configuration parameter groups (the number can be 500).
[0167] For another example, when the number of the L configuration parameter groups is 300, the vBRAS-CP can send the L configuration parameter groups to the vBRAS-UP through a configuration distribution process.
[0168] For another example, when the L configuration parameter groups belong to 6 services, the vBRAS-CP may split the L configuration parameter groups into two sets: M first configuration parameter groups (including the configuration parameter groups belonging to 3 services) and N second configuration parameter groups (including the configuration parameter groups belonging to the other 3 services).
[0169] For another example, when the L configuration parameter groups belong to 2 services, the vBRAS-CP may send the L configuration parameter groups to the vBRAS-UP through a configuration distribution process.
[0170] S501: The vBRAS-CP sends a first configuration message to the vBRAS-UP, where the first configuration message contains M first configuration parameter groups, and M is a positive integer. The vBRAS-UP receives the first configuration message from the vBRAS-CP.
[0171] Optionally, when the vBRAS-CP determines to send the L configuration parameter groups to the vBRAS-UP through a configuration distribution process, the M first configuration parameter groups are the L configuration parameter groups; when the vBRAS-CP determines to send the L configuration parameter groups to the vBRAS-UP through multiple configuration distribution processes, the M first configuration parameter groups are part of the L configuration parameter groups.
[0172] S502: After configuring according to the M first configuration parameter groups, the vBRAS-UP generates P first configuration error messages; the vBRAS-UP determines a first reported error message from the P first configuration error messages. Wherein, any one of the first configuration error messages corresponds to a first configuration parameter group, and any one of the first configuration error messages is used to indicate that the vBRAS-UP fails to configure the first configuration parameter group corresponding to the first configuration error message; the first reported error message contains the first configuration error message i and does not contain the first configuration error message j, and the reporting priority of the first configuration error message i is higher than or equal to the reporting priority of the first configuration error message j.
[0173] In the embodiments of the present application, the reporting priority of the first configuration error message i may be the reporting priority of the service to which the first configuration parameter group corresponding to the first configuration error message i belongs; the reporting priority of the first configuration error message j may be the reporting priority of the service to which the first configuration parameter group corresponding to the first configuration error message j belongs.
[0174] In one implementation, the vBRAS-UP may determine the first reported error message from the P first configuration error messages through the following steps:
[0175] A1: The vBRAS-UP determines the reporting priority of at least one service, where the at least one service includes the service to which at least one of the M first configuration parameter groups belongs. Exemplarily, the at least one service includes the service to which the M first configuration parameter groups belong.
[0176] A2: The vBRAS-UP determines the first reported error information from the P first configuration error messages according to the reporting priority of the at least one service.
[0177] It should be noted that the first configuration parameter group corresponding to the first configuration error information included in the first reported error information may belong to one or more services.
[0178] Optionally, the vBRAS-UP can execute step A2 through the following steps:
[0179] The vBRAS-UP determines the first reported error information from the P first configuration error messages according to the reporting priority of the at least one service and the constraint condition.
[0180] In one design, the constraint condition is a constraint on the number of configuration error messages to be reported. For example, the constraint condition is that the number of the first reported error information is the target number.
[0181] In this design, the vBRAS-UP can specifically determine the first reported error information from the P first configuration error messages according to the reporting priority of the at least one service and the constraint condition through the following steps:
[0182] B1: The vBRAS-UP maintains a reporting record for the current configuration distribution process, and the reporting record is used to save the first configuration error information to be reported;
[0183] B2: Then, the vBRAS-UP executes the following steps for each or part of the P first configuration error messages (hereinafter only taking the first configuration error message i as an example for illustration):
[0184] When the number of the first configuration error messages in the reporting record is less than the target number, the vBRAS-UP adds the first configuration error message i to the reporting record;
[0185] When the number of the first configuration error messages in the reported record is equal to the target number, the vBRAS-UP determines that the reporting priority of the first configuration error message i is higher than that of the first configuration error message k in the reported record, and the vBRAS-UP deletes the first configuration error message k in the reported record and adds the first configuration error message i to the reported record;
[0186] message k, and adds the first configuration error message i to the reported record;
[0187] B3: Finally, the vBRAS-UP determines that the first reported error message is the target number of first configuration error messages included in the reported record.
[0188] Optionally, in this design, the vBRAS-UP may execute the above steps for each generated first configuration error message; alternatively, the vBRAS-UP may execute the above steps for each first configuration error message in sequence after all the P first configuration error messages are generated. This application does not make any limitations in this regard.
[0189] Exemplarily, the vBRAS-UP may determine the first reported error message through the flowchart as shown in Figure 6 The specific process is as follows:
[0190] S600: The vBRAS-UP fails to configure the M first configuration parameter groups and starts the process of determining the first reported error message.
[0191] S601: The vBRAS-UP determines whether all the first configuration error messages have been processed. If so, the process ends; otherwise, for the current first configuration error message i, S602 is executed.
[0192] S602: The vBRAS-UP determines whether the number of the first configuration error messages in the reported record is less than the target number. If so, S606 is executed; otherwise, S603 is executed.
[0193] S603: The vBRAS-UP determines whether there is a first configuration error message k in the reported record whose reporting priority is lower than that of the current first configuration error message i. If so, S604 is executed; otherwise, S605 is executed.
[0194] Among them, when the vBRAS-UP executes S603, it can compare the reporting priority of each first configuration error message in the reporting record with the reporting priority of the first configuration error message i until the first configuration error message k is found, or until the vBRAS-UP determines that the reporting priority of each first configuration error message in the reporting record is higher than or equal to the reporting priority of the first configuration error message i.
[0195] S604: When the vBRAS-UP determines that there is a first configuration error message k, replace the first configuration error message k with the first configuration error message i, that is, the vBRAS-UP deletes the first configuration error message k in the reporting record and adds the first configuration error message i to the reporting record.
[0196] S605: When the vBRAS-UP determines that the first configuration error message k does not exist, do not process the first configuration error message i.
[0197] S606: When the vBRAS-UP determines that the number of first configuration error messages in the reporting record is less than the target number, record (add) the first configuration error message i to the reporting record.
[0198] As Figure 6 shown, after the vBRAS-UP executes step S604 or S606, it continues to execute S601 until the end.
[0199] In another design, the constraint condition is a constraint on the number of services to be reported. For example, the constraint condition is that the number of services to which the first configuration parameter group corresponding to the first reporting error message belongs is the target number.
[0200] In this design, the vBRAS-UP can specifically determine the first reporting error message among the P first configuration error messages according to the reporting priorities of the at least one service and the constraint condition through the following steps:
[0201] C1: The vBRAS-UP determines the G services to which the first configuration parameter groups corresponding to the P first configuration error messages belong. Where G is a positive integer.
[0202] C2: The vBRAS-UP selects the target number of reporting services with the highest reporting priority from the G services according to the reporting priorities of the at least one service.
[0203] C3: Among the P first configuration error messages, the vBRAS-UP selects the first configuration error messages for which the corresponding first configuration parameter group belongs to the reported services of the target quantity.
[0204] C4: The vBRAS-UP uses the selected first configuration error messages as the first reported error messages.
[0205] Through the above two designs, the vBRAS-UP can select the first configuration error messages with higher reporting priorities from the P first configuration error messages as the first reported error messages for reporting. In this way, the flexibility of the vBRAS-UP to report configuration error messages can be improved. In addition, users or vBRAS-CP can flexibly configure the reporting priorities of services. For example, the reporting priorities of critical services can be increased, and the reporting priorities of non-critical services can be decreased, so as to avoid the vBRAS-UP missing or being unable to report configuration error messages for these critical services when reporting configuration error messages.
[0206] Optionally, in the embodiments of the present application, the vBRAS-UP can, but is not limited to, perform the above step A1 in the following manner:
[0207] Method 1: The vBRAS-UP obtains the reporting priorities of the preset at least one service. The reporting priorities of the at least one service can be the preset default order. For example, the services are sorted in descending order of reporting priority as follows: aclcu, cusrvcomm, cuqos, cucgn, cusc, cuBr, brascuofa, brascuif, brascuagent, ethernetcuadp, brascuipv6, brascuipv4, mcastcuadp, cubraskeychain, cuussl, timerange.
[0208] Method 2: The vBRAS-CP sends first priority configuration information to the vBRAS-UP; the vBRAS-UP obtains the first priority configuration information sent by the vBRAS-CP, and the first priority configuration information is used to configure the reporting priorities of the at least one service; the vBRAS-UP determines the reporting priorities of the at least one service according to the first priority configuration information.
[0209] To avoid the problem that the default reporting priority order of services in Method 1 is unreasonable or does not meet user requirements, the embodiments of the present application provide Method 2. Exemplarily, the priority configuration command codes included in the first priority configuration information are as follows:
[0210] [~CP10-diagnose]netconfc sync-config operation rpc-error priority[aclcu|cusrvcomm|cuqos|cucgn|cusc|cuBr|brascuofa|brascuif|brascuagent|ethernetcuadp|brascuipv6|brascuipv4|mcastcuadp|cubraskeychain|cuussl|timerange].
[0211] Method 3: The vBRAS-CP sends second priority configuration information to the vBRAS-UP; the vBRAS-UP obtains the second priority configuration information sent by the vBRAS-CP, and the second priority configuration information is used to configure the priorities of some services among the at least one service; the vBRAS-UP determines the priorities of the some services according to the second priority configuration information, and the vBRAS-UP obtains the reporting priorities of another part of the at least one service preset; or the vBRAS-UP adaptively adjusts the reporting priorities of another part of the at least one service according to the priorities of the some services.
[0212] To avoid the problem that the reporting priority order of all services configured by Method 1 and Method 2 is unreasonable or does not meet the user's requirements, the embodiments of the present application can also support specifying the reporting priorities of some services. Exemplarily, when the user is concerned about each qos service, the vBRAS-CP can, through the second priority configuration information, only adjust the reporting priority of qos to the highest. Exemplarily, the priority configuration command codes included in the second priority configuration information are as follows:
[0213] netconfc sync-config operation rpc-error priority qos.
[0214] The reporting priorities of another part of the services can be adaptively adjusted through the following priority configuration commands in the system view:
[0215] netconfc sync-config operation rpc-error priority auto.
[0216] For example, the first configuration parameter groups corresponding to the P first configuration error messages generated by vBRAS-UP belong to the following services: aclcu, cusrvcomm, cuqos, cucgn, cusc, cuBr, brascuofa, brascuif, brascuagent. When vBRAS-CP configures the priorities of the above services through priority configuration information and specifies that the reporting priority of brascuif is higher than that of other services, then regardless of the number of the first configuration error messages generated for other services and whether they are generated first, vBRAS-UP preferentially reports the first configuration error messages for brascuif.
[0217] S503: vBRAS-UP sends a first configuration reply message to vBRAS-CP, where the first configuration reply message contains the first reported error information. vBRAS-CP receives the first configuration reply message from vBRAS-UP.
[0218] S504: vBRAS-CP generates a first configuration failure record of vBRAS-UP according to the first reported error information. The first configuration failure record is used to indicate that the first configuration parameter groups of at least one target service fail to be configured.
[0219] In one implementation, vBRAS-CP can follow the traditional method, such as Figure 3 the method for generating a configuration failure record in S315b in the configuration distribution process shown, to generate the first configuration failure record.
[0220] At this time, even if the first configuration parameter groups corresponding to the first configuration error information included in the first reported error information belong to multiple services, the first configuration failure record is only used to indicate that the first configuration parameter groups of one target service among the multiple services fail to be configured. And at this time, the format of the first configuration failure record is the same as that of Figure 3 the configuration failure record involved in the configuration distribution process shown, and they can be referred to each other.
[0221] In another implementation, the first configuration failure record can indicate that the first configuration parameter groups of multiple target services fail to be configured. That is, when the first configuration parameter groups corresponding to the first configuration error information included in the first reported error information belong to multiple services, then the first configuration failure record can indicate that the first configuration parameter groups of the multiple services (i.e., multiple target services) fail to be configured.
[0222] Exemplarily, the format of the first configuration failure record can be represented by the following code:
[0223] Failed to configure access point.(User-name=[user-name],IP-address=[IP-address],Session-id=[session-id],UPId=[UPId],MsgID=[MsgID],packCount=[packCount],packSeq=[packSeq],app-name=[app-name1,app-name2,……],Operation=[operation],Reason=[reason])。
[0224] Among them, as shown in the code, multiple service identifiers can be filled in the app-name field at the same time to support multiple services. For example, app-name=[brascuif,aclcu].
[0225] Through this implementation, the vBRAS-CP can support recording multiple services in a configuration failure record, so that multiple alarm messages can be generated based on this configuration failure record in the future, thereby enriching the number of alarm messages and facilitating the subsequent search for the root cause of configuration errors, problem location, and operation and maintenance based on these richer alarm messages.
[0226] S505: The vBRAS-CP generates at least one first alarm message for the vBRAS-UP according to the first configuration failure record.
[0227] Corresponding to S504, when one target service is recorded in the first configuration failure record, the vBRAS-CP generates a first alarm message, and the first alarm message is used to alarm the configuration failure of the configuration parameter group of the target service. When multiple target services are recorded in the first configuration failure record, taking the first service and the second service as examples, then the vBRAS-CP generates two first alarm messages. Among them, one of the two first alarm messages is used to alarm the configuration failure of the configuration parameter group of the first service, and the other first alarm message is used to alarm the configuration failure of the configuration parameter group of the second service.
[0228] As can be seen from the above description, the more alarm messages generated by the vBRAS-CP for the vBRAS-UP, the more conducive it is for users to find the root cause of configuration errors, locate problems, and perform operation and maintenance through these alarm messages. However, usually, there is a limit to the number of alarm messages of a vBRAS-UP saved by the vBRAS-CP, that is, the number of alarm messages of a vBRAS-UP saved by the vBRAS-CP is less than or equal to a preset maximum number. Exemplarily, the maximum number can be 100, 200, etc.
[0229] Therefore, in order to make the number of alarm messages generated by the vBRAS-CP in each configuration distribution process as close as possible to the maximum number, in one implementation, the target number of the constraint condition in step S502 can be determined according to the maximum number of alarm messages of the vBRAS-UP that the vBRAS-CP can save; or the target number is determined according to the maximum data volume carried by the first configuration reply message, and this application does not limit this.
[0230] When the target number is determined according to the maximum number of alarm messages of the vBRAS-CP that the vBRAS-CP can save, the target data is similar to or the same as the maximum number, and the value of the target number can be specifically set according to the specific scenario. Exemplarily, the target number can be greater than or equal to the maximum number.
[0231] Through this implementation, the vBRAS-UP can report configuration error information to the vBRAS-CP as much as possible, so that the vBRAS-CP can generate alarm messages as much as possible.
[0232] It should be noted that the target number and / or the constraint condition can be preset, or configured for the vBRAS-UP after being determined by the vBRAS-CP.
[0233] When the vBRAS-CP determines to distribute L configuration parameter groups in the target configuration information to the vBRAS-UP through multiple configuration distribution processes, the vBRAS-CP can send multiple configuration messages to the vBRAS-UP respectively. The following takes M first configuration parameter groups and N second configuration parameter groups determined by the vBRAS-CP in the L configuration parameter groups as an example for description. The vBRAS-CP can also execute another configuration distribution process through S506 - S510. It should be noted that this application does not limit the execution time of the two configuration distribution processes. The two configuration distribution processes can be executed simultaneously, or there can be partial time overlap, or there can be no time overlap.
[0234] S506: The vBRAS-CP sends a second configuration message to the vBRAS-UP, where the second configuration message contains N second configuration parameter groups, and N is a positive integer. The vBRAS-UP receives the second configuration message from the vBRAS-CP.
[0235] S507: After the vBRAS-UP is configured according to the N second configuration parameter groups, Q second configuration error messages are generated; the vBRAS-UP determines a second reported error message among the Q second configuration error messages. Wherein, any one of the second configuration error messages corresponds to a second configuration parameter group, and any one of the second configuration error messages is used to indicate that the vBRAS-UP fails to configure the second configuration parameter group corresponding to the second configuration error message.
[0236] Optionally, the vBRAS-UP may use the same method as in S502 to determine the second reported error message, and the specific process may refer to the description in S502, which will not be elaborated here.
[0237] S508: The vBRAS-UP sends a second configuration reply message to the vBRAS-CP, where the second configuration reply message contains the second reported error message. The vBRAS-CP receives the second configuration reply message from the vBRAS-UP.
[0238] S509: The vBRAS-CP generates a second configuration failure record of the vBRAS-UP according to the second reported error message. Wherein, the second configuration failure record is used to indicate that the second configuration parameter groups of at least one target service fail to be configured.
[0239] S510: The vBRAS-CP generates at least one second alarm message of the vBRAS-UP according to the second configuration failure record.
[0240] Wherein, the processes of the vBRAS-CP executing S509 and S510 may refer to the descriptions in S504 and S505, which will not be elaborated here.
[0241] It should also be noted that in the embodiments of the present application, the vBRAS-CP may implement the above steps through, for example, Figure 2 the CPcfg module, the SIMA module, the CP Netconf module, and the FM module in Figure 3 and Figure 4 The description; and the vBRAS-UP may implement the above steps through, for example, Figure 2 the UP Netconf module inFigure 3 and Figure 4 description
[0242] An embodiment of the present application provides a method for transmitting configuration error information. In this method, when the vBRAS-UP generates multiple configuration error information after configuring a batch of configuration parameter groups, it can report the configuration error information to the vBRAS-CP according to the reporting priority of the configuration error information. Compared with the traditional method in which the vBRAS-UP can only report the first generated configuration error information, this method can report according to the reporting priority of the configuration error information. In this way, the user or the vBRAS-CP can configure the priority order of the configuration error information reported by the vBRAS-UP by configuring the reporting priority, thereby improving the flexibility of the vBRAS-UP to report the configuration error information to the vBRAS-CP, and further improving the efficiency of the vBRAS-CP to find the root cause of the configuration error, problem location, and operation and maintenance.
[0243] The present application also provides a configuration method, which can be but is not limited to being applicable to a communication system as shown in Figure 1 and Figure 2 shown. Refer to Figure 7 below for a detailed description of the process of this method.
[0244] S701: The vBRAS-CP obtains target configuration information, where the target configuration information includes L configuration parameter groups, and L is a positive integer. Each configuration parameter group belongs to a service.
[0245] Optionally, the vBRAS-CP can obtain the target configuration information through the three methods provided in S500 in the embodiment shown in Figure 5 shown. The specific process can refer to the description in S500 and will not be elaborated here.
[0246] In the embodiment of the present application, after the vBRAS-CP obtains the target configuration information, it can split the L configuration parameter groups into multiple sets according to the number of the L configuration parameter groups or according to the number of H services to which the L configuration parameter groups belong, and send them to the vBRAS-UP through multiple configuration distribution processes respectively. There are no identical configuration parameter groups in different sets.
[0247] The embodiment of the present application takes M first configuration parameter groups and N second configuration parameter groups determined by the vBRAS-CP in the L configuration parameter groups as an example for description.
[0248] S702: The vBRAS-CP determines M first configuration parameter groups and N second configuration parameter groups in the L configuration parameter groups.
[0249] S703: The vBRAS-CP sends a first configuration message to the vBRAS-UP, where the first configuration message includes M first configuration parameter groups; the vBRAS-CP sends a second configuration message to the vBRAS-UP, where the second configuration message includes N second configuration parameter groups.
[0250] The process of the vBRAS-CP executing S703 can refer to Figure 5 the descriptions in S501 and S506 in the embodiments shown, which will not be elaborated here. Additionally, the processing process of the vBRAS-UP after receiving the first configuration message and the second configuration message can also refer to Figure 5 the descriptions in the embodiments, or Figure 3 or Figure 4 the descriptions in the processes shown, which will not be elaborated here.
[0251] The embodiments of the present application provide a configuration method. In this configuration method, the vBRAS-CP can split L configuration parameter groups configured at one time into multiple sets, and send them to the vBRAS-UP through multiple configuration distribution processes respectively. Since the vBRAS-UP will feedback a configuration reply message to the vBRAS-CP in each configuration distribution process, in this way, compared with the traditional method of centrally configuring and distributing L configuration parameter groups, through this method, the vBRAS-UP can feedback a configuration reply message for each configuration distribution process, so as to increase the opportunity and quantity of the vBRAS-UP reporting configuration error information during this configuration process, so that the vBRAS-CP can obtain as many configuration error information as possible.
[0252] The present application also provides a method for generating a configuration failure record. This method can be but is not limited to being applicable to a communication system such as Figure 1 and Figure 2 shown. In this method, after receiving a configuration reply message from the vBRAS-UP, the vBRAS-CP can generate a configuration failure record of the vBRAS-UP according to the reported error information included in the configuration reply message. Among them, the configuration failure record is used to indicate that the configuration parameter groups of at least one target service fail to be configured, and the at least one target service is the service to which the configuration parameter groups corresponding to the configuration error information included in the reported error information belong.
[0253] In the embodiments of the present application, the format in the configuration failure record can refer to Figure 5 the format of the first configuration failure record in the embodiments shown, which will not be elaborated here. Among them, the identifiers of multiple services can be recorded in this configuration failure record.
[0254] Through this embodiment, the vBRAS-CP can support recording multiple services in one configuration failure record, so that multiple alarm messages can be generated based on this configuration failure record subsequently, thereby enriching the number of alarm messages and facilitating subsequent searching for the root cause of configuration errors, problem location, and operation and maintenance based on these richer alarm messages.
[0255] The present application also provides a service priority configuration method, which can be adapted to, but is not limited to, a communication system as shown in Figure 1 and Figure 2 In this method, the vBRAS-CP sends priority configuration information to the vBRAS-UP. The priority configuration information can be used to configure the reporting priorities of at least one service; or the vBRAS-UP stores the preset reporting priorities of at least one service; the vBRAS-UP adaptively adjusts the reporting priorities of other services according to the priorities of the at least one service configured in the priority configuration information.
[0256] Exemplarily, the priority configuration information may include the reporting priorities of all services. In this case, the priority configuration command code in this priority configuration information is as follows:
[0257] [~CP10-diagnose]netconfc sync-config operation rpc-error priority[aclcu|cusrvcomm|cuqos|cucgn|cusc|cuBr|brascuofa|brascuif|brascuagent|ethernetcuadp|brascuipv6|brascuipv4|mcastcuadp|cubraskeychain|cuussl|timerange].
[0258] Exemplarily, the priority configuration information may include the reporting priorities of some services. In this case, the priority configuration command code in this priority configuration information is as follows:
[0259] netconfc sync-config operation rpc-error priority qos.
[0260] Exemplarily, the vBRAS-UP can adaptively adjust the reporting priorities of other services through the following priority configuration command:
[0261] netconfc sync-config operation rpc-error priority auto.
[0262] Through the embodiments of the present application, the vBRAS-UP can determine the reporting priority of services. In this way, during a configuration distribution process, if the vBRAS-UP generates a large number of configuration error messages, the vBRAS-UP can, according to the reporting priority of services, select to report the configuration error messages corresponding to the configuration parameter groups of services with a higher reporting priority to the vBRAS-CP, thereby improving the flexibility of the vBRAS-UP to report configuration error messages. In addition, users or the vBRAS-CP can flexibly configure the reporting priority of services. For example, the reporting priority of critical services can be increased, and the reporting priority of non-critical services can be decreased, so as to avoid the vBRAS-UP missing or being unable to report the configuration error messages for these critical services when reporting configuration error messages.
[0263] The present application also provides a method for transmitting configuration error messages. This method can be, but is not limited to, applicable to a communication system as Figure 1 and Figure 2 shown. In this method, during a configuration distribution process, if the vBRAS-UP generates a large number of configuration error messages, the vBRAS-UP selects error messages to report from the large number of configuration error messages according to the constraint conditions.
[0264] In one embodiment, the constraint condition is that the number of reported error messages is the target number. In another embodiment, the constraint condition is that the number of services to which the configuration parameter groups corresponding to the reported error messages belong is the target number.
[0265] Among them, the target number is determined according to the maximum number of alarm messages of the vBRAS-UP that the vBRAS-CP can store. The target data is close to or the same as the maximum number, and the value of the target number can be specifically set according to the specific scenario. Exemplarily, the target number can be greater than or equal to the maximum number.
[0266] Compared with the traditional method of reporting configuration error messages, through this method, the vBRAS-UP can report as many configuration error messages as possible to the vBRAS-CP, so that the vBRAS-CP can generate as many alarm messages as possible.
[0267] Based on the same technical concept, the present application also provides a communication device. The structure of this device is as Figure 8 shown, including a communication unit 801 and a processing unit 802. The communication device 800 can be applied to a communication system as Figure 1 and Figure 2The forwarding plane network element (vBRAS-UP) or the control plane network element (vBRAS-CP) in the communication system shown, and the method provided in the above embodiments can be implemented. Next, the functions of each unit in the device 800 will be introduced.
[0268] The communication unit 801 is used to receive and send data. In one implementation, the communication unit 801 can be implemented through a physical interface, a communication module, a communication interface, and an input / output interface. The communication device 800 can be connected to a network cable or a cable through the communication unit 801, and then establish a physical connection with other devices.
[0269] Next, when the communication device 800 is applied to the forwarding plane network element (for example, the communication device 800 can execute Figures 5 - 7 each step performed by the forwarding plane network element), the function of the processing unit 802 will be introduced.
[0270] The processing unit 802 is used for:
[0271] Receive, through the communication unit 801, a first configuration message from the control plane network element, where the first configuration message carries a plurality of configuration parameter groups; wherein, any one of the plurality of configuration parameter groups belongs to a service;
[0272] After configuring according to the plurality of configuration parameter groups, generate a plurality of configuration error messages; wherein, any one of the configuration error messages corresponds to one of the configuration parameter groups, and any one of the configuration error messages is used to indicate that the processing unit 802 fails to configure the configuration parameter group corresponding to the configuration error message;
[0273] Send, through the communication unit 801, a first configuration reply message including the reported error information to the control plane network element; wherein, the reported error information includes a first configuration error message among the plurality of configuration error messages, and the reported error information does not include a second configuration error message among the plurality of configuration error messages, and the reporting priority of the first configuration error message is higher than or equal to the reporting priority of the second configuration error message.
[0274] In one implementation, the reporting priority of the first configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error message belongs; the reporting priority of the second configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error message belongs.
[0275] In one implementation, the processing unit 802 is further used for:
[0276] Before sending a first configuration reply message containing reported error information to the control plane network element through the communication unit 801, determine the reporting priorities of at least one service, where the at least one service includes the service to which at least one of the multiple configuration parameter groups belongs;
[0277] According to the reporting priorities of the at least one service, determine the reported error information among the multiple configuration error messages.
[0278] In one implementation, when the processing unit 802 determines the reported error information among the multiple configuration error messages according to the reporting priorities of the at least one service, it is specifically configured to:
[0279] Determine the reported error information among the multiple configuration error messages according to the reporting priorities of the at least one service and the constraint conditions;
[0280] Wherein, the constraint condition is that the number of the reported error messages is the target number; or the constraint condition is that the number of services to which the configuration parameter groups corresponding to the reported error messages belong is the target number.
[0281] In one implementation, when the constraint condition is that the number of the reported error messages is the target number, when the processing unit 802 determines the reported error information among the multiple configuration error messages according to the reporting priorities of the at least one service and the constraint conditions, it is specifically configured to:
[0282] When the number of configuration error messages in the reporting record is less than the target number, add the first configuration error message to the reporting record;
[0283] When the number of configuration error messages in the reporting record is equal to the target number, determine that the reporting priority of the first configuration error message is higher than the reporting priority of the third configuration error message in the reporting record, delete the third configuration error message in the reporting record, and add the first configuration error message to the reporting record;
[0284] Determine that the reported error information is the configuration error information included in the reporting record.
[0285] In one implementation, the target number is determined according to the maximum number of alarm messages of the forwarding plane network element that the control plane network element can store, where the alarm messages are generated by the control plane network element according to the reported error information reported by the forwarding plane network element; or the target number is determined according to the maximum data carrying capacity of the first configuration reply message.
[0286] In one embodiment, when the target quantity is determined according to the maximum quantity of alarm messages of the forwarding plane network element that the control plane network element can store, the target quantity is greater than or equal to the maximum quantity.
[0287] In one embodiment, when determining the reporting priority of the at least one service, the processing unit 802 is specifically configured to:
[0288] Obtain the preset reporting priorities of the at least one service; or obtain first priority configuration information sent by the control plane network element, where the first priority configuration information is used to configure the reporting priorities of the at least one service; determine the reporting priorities of the at least one service according to the first priority configuration information; or obtain second priority configuration information sent by the control plane network element, where the second priority configuration information is used to configure the priority of a first service among the at least one service; determine the priority of the first service according to the second priority configuration information; and obtain the preset reporting priority of a second service among the at least one service, or adjust the reporting priority of the second service according to the priority of the first service.
[0289] In one embodiment, the reported error information further includes a fourth configuration error information among the multiple configuration error information, and the service to which the configuration parameter group corresponding to the fourth configuration error information belongs is different from the service to which the configuration parameter group corresponding to the first configuration error information belongs.
[0290] In one embodiment, the forwarding plane network element is applied to a communication system with separated control plane and forwarding plane. The forwarding plane network element is the forwarding plane network element in the communication system, and the control plane network element is the control plane network element in the communication system.
[0291] Next, when the communication device 800 is applied to a control plane network element (for example, the communication device 800 can execute Figures 5 - 7 each step executed by the control plane network element), the functions of the processing unit 802 are introduced.
[0292] The processing unit 802 is configured to:
[0293] Send a first configuration message to the forwarding plane network element through the communication unit 801. The first configuration message carries multiple first configuration parameter groups, and any one of the multiple first configuration parameters belongs to a service.
[0294] Receive, via the communication unit 801, a first configuration reply message from the forwarding plane network element, where the first configuration reply message contains reported error information; wherein, the reported error information contained in the first configuration reply message includes first configuration error information, and the reported error information contained in the first configuration reply message does not include second configuration error information, and the reporting priority of the first configuration error information is higher than or equal to the reporting priority of the second configuration error information; the first configuration error information is generated after the forwarding plane network element is configured according to any one of the multiple first configuration parameter groups.
[0295] In one implementation, the reporting priority of the first configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error information belongs; the reporting priority of the second configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error information belongs.
[0296] In one implementation, the number of the reported error information is a target number; or the number of services to which the configuration parameter groups corresponding to the reported error information belong is a target number.
[0297] In one implementation, the target number is determined according to the maximum number of alarm messages of the forwarding plane network element that the control plane network element can store, and the alarm messages are generated by the control plane network element according to the reported error information reported by the forwarding plane network element;
[0298] The target number is determined according to the maximum data carrying capacity of the first configuration reply message.
[0299] In one implementation, when the target number is determined according to the maximum number of alarm messages of the forwarding plane network element that the control plane network element can store, the target number is greater than or equal to the maximum number.
[0300] In one implementation, the processing unit 802 is further configured to:
[0301] Send, via the communication unit 801, priority configuration information to the forwarding plane network element, where the priority configuration information is used to configure the reporting priorities of at least one service, and the at least one service includes the services to which at least one of the multiple first configuration parameter groups belongs.
[0302] In one implementation, the processing unit 802 is further configured to:
[0303] After receiving the first configuration reply message from the forwarding plane network element via the communication unit 801, generate a configuration failure record of the forwarding plane network element according to the first reported error information;
[0304] Generate at least one alarm message for the forwarding plane network element according to the configuration failure record.
[0305] In one implementation, the first reported error information includes the first configuration error information and the third configuration error information. The configuration parameter group corresponding to the first configuration error information belongs to the first service, and the configuration parameter group corresponding to the third configuration error information belongs to the second service; the configuration failure record is used to indicate that the configuration parameter groups of the first service and the second service fail to be configured.
[0306] The at least one alarm message includes a first alarm message and a second alarm message. Among them, the first alarm message is used to alarm the failure of configuring the configuration parameter group of the first service, and the second alarm message is used to alarm the failure of configuring the configuration parameter group of the second service.
[0307] In one implementation, the processing unit 802 is further configured to:
[0308] Obtain target configuration information, where the target configuration information includes multiple configuration parameter groups.
[0309] Determine the multiple first configuration parameter groups and multiple second configuration parameter groups among the multiple configuration parameter groups included in the target configuration information; where any one of the multiple first configuration parameter groups is different from any one of the multiple second configuration parameter groups.
[0310] Send a second configuration message to the forwarding plane network element through the communication unit 801, and the second configuration message carries the multiple second configuration parameter groups.
[0311] Receive a second configuration reply message from the forwarding plane network element through the communication unit 801. Among them, the second configuration reply message includes reported error information, and the reported error information included in the second configuration reply message is generated by the forwarding plane network element after configuring according to at least one configuration parameter group among the multiple second configuration parameter groups.
[0312] In one implementation, when obtaining the target configuration information, the processing unit 802 is specifically configured to:
[0313] Obtain the target configuration information sent by the management device through the communication unit 801; or obtain the target configuration information input by the user; or obtain the target configuration information during the configuration reconciliation process between the control plane network element and the forwarding plane network element.
[0314] In one embodiment, the control plane network element is applied to a communication system with separated control plane and forwarding plane. The forwarding plane network element is the forwarding plane network element in the communication system, and the control plane network element is the control plane network element in the communication system.
[0315] It should be noted that the division of modules in the above embodiments of this application is illustrative, merely a logical function division. In actual implementation, there may be other division methods. Additionally, in each embodiment of this application, each functional unit may be integrated in a processing unit, may exist independently physically, or two or more units may be integrated in one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0316] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0317] Based on the same technical concept, this application also provides a communication device. The communication device can be applied to the forwarding plane network element (vBRAS-UP) or the control plane network element (vBRAS-CP) in a communication system as shown in Figure 1 or Figure 2 and can implement the methods provided in the above embodiments, and has the functions of the communication device shown in Figure 8 Refer to Figure 9 As shown, the communication device 900 includes: a communication module 901, a processor 902, and a memory 903. Among them, the communication module 901, the processor 902, and the memory 903 are interconnected with each other.
[0318] Optionally, the communication module 901, the processor 902, and the memory 903 are interconnected with each other via a bus 904. The bus 904 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 9 it is only represented by a thick line in Figure 9 , but it does not mean that there is only one bus or one type of bus.
[0319] The communication module 901 is configured to receive and send data to implement communication interaction with other devices. Exemplarily, the communication module 901 can be implemented through a physical interface or a communication interface.
[0320] In one embodiment, the communication device 900 is applied to a forwarding plane network element. For example, the communication device 900 can execute Figures 5 - 7 each step executed by the forwarding plane network element. Specifically, the processor 902 is configured to:
[0321] Receive a first configuration message from a control plane network element through the communication module 901. The first configuration message carries a plurality of configuration parameter groups; wherein, any one of the plurality of configuration parameter groups belongs to a service;
[0322] After being configured according to the plurality of configuration parameter groups, generate a plurality of configuration error messages; wherein, any one of the configuration error messages corresponds to a configuration parameter group, and any one of the configuration error messages is used to indicate that the processor 902 fails to configure the configuration parameter group corresponding to the configuration error message;
[0323] Send a first configuration reply message including reported error information to the control plane network element through the communication module 901; wherein, the reported error information includes a first configuration error message among the plurality of configuration error messages, and the reported error information does not include a second configuration error message among the plurality of configuration error messages, and the reporting priority of the first configuration error message is higher than or equal to the reporting priority of the second configuration error message.
[0324] In one embodiment, the communication device 900 is applied to a control plane network element. For example, the communication device 900 can execute Figures 5 - 7 each step executed by the control plane network element. Specifically, the processor 902 is configured to:
[0325] Send a first configuration message to the forwarding plane network element through the communication module 901, where the first configuration message carries a plurality of first configuration parameter groups, and any one of the plurality of first configuration parameters belongs to a service;
[0326] Receive a first configuration reply message from the forwarding plane network element through the communication module 901, where the first configuration reply message contains reported error information; wherein, the reported error information contained in the first configuration reply message includes first configuration error information, and the reported error information contained in the first configuration reply message does not include second configuration error information, and the reporting priority of the first configuration error information is higher than or equal to the reporting priority of the second configuration error information; the first configuration error information is generated by the forwarding plane network element after configuration according to any one of the plurality of first configuration parameter groups.
[0327] The specific functions of the processor 902 can be referred to the descriptions in the methods provided in the above embodiments, and Figure 8 the specific function descriptions of the communication device 800 in the illustrated embodiments will not be elaborated here.
[0328] The memory 903 is used to store program instructions and data, etc. Specifically, the program instructions may include program codes, and the program codes include computer operation instructions. The memory 903 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The processor 902 executes the program instructions stored in the memory 903 and uses the data stored in the memory 903 to implement the above functions, thereby implementing the methods provided in the above embodiments. When Figure 8 When each unit included in the illustrated communication device 800 is implemented by a software module, the program instructions corresponding to each unit may be stored in the memory 903.
[0329] It can be understood that this application Figure 9The memory 903 therein may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and DirectRambus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include but are not limited to these and any other suitable types of memories.
[0330] Based on the above embodiments, the present application also provides a communication system with a separated forwarding plane and control plane, including a control plane network element and a forwarding plane network element. The control plane network element is configured to execute the steps on the control plane network element side in the method provided in the above embodiments, and the forwarding plane network element is configured to execute the steps on the forwarding plane network element side in the method provided in the above embodiments.
[0331] Based on the above embodiments, the present application also provides a computer program. When the computer program runs on a computer, it causes the computer to execute the method provided in the above embodiments.
[0332] Based on the above embodiments, the present application also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a computer, it causes the computer to execute the method provided in the above embodiments.
[0333] Among them, the storage medium can be any available medium that can be accessed by a computer. Taking this as an example but not limited to: the computer-readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.
[0334] Based on the above embodiments, the present application also provides a chip, which is used to read the computer program stored in the memory and implement the method provided by the above embodiments.
[0335] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the functions involved in the forwarding plane network element or the control plane network element in the above embodiments. In a possible design, the chip system further includes a memory for storing the necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices.
[0336] In summary, the present application provides a method and device for transmitting configuration error information. In this method, when a forwarding plane network element generates multiple configuration error information after configuring a batch of configuration parameter groups, the configuration error information can be reported to the control plane network element according to the reporting priority of the configuration error information. Compared with the traditional method in which the forwarding plane network element can only report the earliest generated configuration error information, this method can report according to the reporting priority of the configuration error information. In this way, the user or the control plane network element can configure the priority order of the configuration error information reported by the forwarding plane network element by configuring the reporting priority, thereby improving the flexibility of the forwarding plane network element to report the configuration error information to the control plane network element, and further improving the efficiency of the control plane network element to find the root cause of the configuration error, problem location and operation and maintenance.
[0337] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0338] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0339] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0340] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0341] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.
Claims
1. A method for transmitting configuration error information, characterized in that, Including: The forwarding plane network element receives a first configuration message from the control plane network element, and a plurality of configuration parameter groups are carried in the first configuration message; wherein, any one of the plurality of configuration parameter groups belongs to a service. After being configured according to the plurality of configuration parameter groups, the forwarding plane network element generates a plurality of configuration error messages; wherein, any one of the configuration error messages corresponds to a configuration parameter group, and any one of the configuration error messages is used to indicate that the forwarding plane network element fails to configure the configuration parameter group corresponding to the configuration error message. The forwarding plane network element sends a first configuration reply message including the reported error information to the control plane network element; wherein, the reported error information includes a first configuration error message among the plurality of configuration error messages, and the reported error information does not include a second configuration error message among the plurality of configuration error messages, and the reporting priority of the first configuration error message is higher than or equal to the reporting priority of the second configuration error message.
2. The method according to claim 1, wherein The reporting priority of the first configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error message belongs; the reporting priority of the second configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error message belongs.
3. The method according to claim 2, characterized in that, Before the forwarding plane network element sends the first configuration reply message including the reported error information to the control plane network element, the method further includes: The forwarding plane network element determines the reporting priorities of at least one service, and the at least one service includes the services to which at least one of the plurality of configuration parameter groups belongs. The forwarding plane network element determines the reported error information from the plurality of configuration error messages according to the reporting priorities of the at least one service.
4. The method according to claim 3, characterized in that, The forwarding plane network element determines the reported error information from the plurality of configuration error messages according to the reporting priorities of the at least one service, including: The forwarding plane network element determines the reported error information from the plurality of configuration error messages according to the reporting priorities of the at least one service and a constraint condition. Wherein, the constraint condition is that the number of the reported error messages is a target number; or The constraint condition is that the number of services to which the configuration parameter groups corresponding to the reported error messages belong is a target number.
5. The method according to claim 4, characterized in that, When the constraint condition is that the number of the reported error messages is a target number, the forwarding plane network element determines the reported error information from the plurality of configuration error messages according to the reporting priorities of the at least one service and the constraint condition, including: When the number of configuration error messages in the reporting record is less than the target number, the forwarding plane network element adds the first configuration error message to the reporting record. When the number of configuration error messages in the reporting record is equal to the target number, the forwarding plane network element determines that the reporting priority of the first configuration error message is higher than the reporting priority of a third configuration error message in the reporting record, the forwarding plane network element deletes the third configuration error message in the reporting record, and adds the first configuration error message to the reporting record. The forwarding plane network element determines that the reported error information is the configuration error information included in the reported record.
6. The method according to claim 4, wherein The target quantity is determined according to the maximum quantity of alarm messages of the forwarding plane network element that the control plane network element can store, where the alarm messages are generated by the control plane network element according to the reported error information reported by the forwarding plane network element; or The target quantity is determined according to the maximum data carrying capacity of the first configuration reply message.
7. The method according to claim 6, wherein When the target quantity is determined according to the maximum quantity of alarm messages of the forwarding plane network element that the control plane network element can store, the target quantity is greater than or equal to the maximum quantity.
8. The method according to any one of claims 3-7, characterized in that, The forwarding plane network element determines the reporting priorities of the at least one service, including: The forwarding plane network element obtains the preset reporting priorities of the at least one service; or The forwarding plane network element obtains the first priority configuration information sent by the control plane network element, where the first priority configuration information is used to configure the reporting priorities of the at least one service; the forwarding plane network element determines the reporting priorities of the at least one service according to the first priority configuration information; or The forwarding plane network element obtains the second priority configuration information sent by the control plane network element, where the second priority configuration information is used to configure the priority of the first service in the at least one service; the forwarding plane network element determines the priority of the first service according to the second priority configuration information; and the forwarding plane network element obtains the preset reporting priority of the second service in the at least one service, or the forwarding plane network element adjusts the reporting priority of the second service according to the priority of the first service.
9. The method according to any one of claims 2-7, characterized in that, The reported error information further includes the fourth configuration error information in the multiple configuration error information, and the service to which the configuration parameter group corresponding to the fourth configuration error information belongs is different from the service to which the configuration parameter group corresponding to the first configuration error information belongs.
10. The method according to any one of claims 1-7, characterized in that, The method is applied to a communication system with separated control plane and forwarding plane, where the forwarding plane network element is the forwarding plane network element in the communication system, and the control plane network element is the control plane network element in the communication system.
11. A method for transmitting configuration error information, characterized in that, Including: The control plane network element sends a first configuration message to the forwarding plane network element, where the first configuration message carries multiple first configuration parameter groups, and any one of the multiple first configuration parameters belongs to a service; The control plane network element receives a first configuration reply message from the forwarding plane network element, where the first configuration reply message includes reported error information; among them, the reported error information included in the first configuration reply message includes first configuration error information, and the reported error information included in the first configuration reply message does not include second configuration error information, and the reporting priority of the first configuration error information is higher than or equal to the reporting priority of the second configuration error information; the first configuration error information is generated by the forwarding plane network element after configuration according to any one of the multiple first configuration parameter groups.
12. The method according to claim 11, wherein The reporting priority of the first configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error information belongs; the reporting priority of the second configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error information belongs.
13. The method according to claim 11, wherein The number of the reported error messages is the target number; or The number of services to which the configuration parameter groups corresponding to the reported error messages belong is the target number.
14. The method according to claim 13, wherein The target number is determined according to the maximum number of alarm messages of the forwarding network element that the control plane network element can store, where the alarm messages are generated by the control plane network element based on the reported error messages reported by the forwarding network element; The target number is determined according to the maximum data volume that can be carried by the first configuration response message.
15. The method according to claim 14, characterized in that, When the target number is determined according to the maximum number of alarm messages of the forwarding network element that the control plane network element can store, the target number is greater than or equal to the maximum number.
16. The method according to claim 12, characterized in that, The method further includes: The control plane network element sends priority configuration information to the forwarding network element, where the priority configuration information is used to configure the reporting priorities of at least one service, and the at least one service includes the service to which at least one first configuration parameter group in the multiple first configuration parameter groups belongs.
17. The method according to any one of claims 11-16, characterized in that, After the control plane network element receives the first configuration response message from the forwarding network element, the method further includes: The control plane network element generates a configuration failure record of the forwarding network element according to the first reported error information; The control plane network element generates at least one alarm message of the forwarding network element according to the configuration failure record.
18. The method according to claim 17, wherein The first reported error information includes the first configuration error information and the third configuration error information, where the configuration parameter group corresponding to the first configuration error information belongs to the first service, and the configuration parameter group corresponding to the third configuration error information belongs to the second service; the configuration failure record is used to indicate that the configuration parameter groups of the first service and the second service fail to be configured; The at least one alarm message includes a first alarm message and a second alarm message, where the first alarm message is used to alarm the failure of configuring the configuration parameter group of the first service, and the second alarm message is used to alarm the failure of configuring the configuration parameter group of the second service.
19. The method according to any one of claims 11-16, characterized in that, The method further includes: The control plane network element obtains target configuration information, where the target configuration information includes multiple configuration parameter groups; The control plane network element determines the multiple first configuration parameter groups and multiple second configuration parameter groups in the multiple configuration parameter groups included in the target configuration information; where any one of the multiple first configuration parameter groups is different from any one of the multiple second configuration parameter groups; The control plane network element sends a second configuration message to the forwarding network element, and the multiple second configuration parameter groups are carried in the second configuration message. The control plane network element receives a second configuration reply message from the forwarding plane network element, where the second configuration reply message contains reported error information, and the reported error information included in the second configuration reply message is generated by the forwarding plane network element after being configured according to at least one of the multiple second configuration parameter groups.
20. The method according to claim 19, wherein The control plane network element obtains target configuration information, including: The control plane network element obtains the target configuration information sent by the management device; or The control plane network element obtains the target configuration information input by the user; or The control plane network element obtains the target configuration information during the configuration reconciliation process between the control plane network element and the forwarding plane network element.
21. The method according to any one of claims 11-16, characterized in that, The method is applied to a communication system with a separated control plane and forwarding plane. The forwarding plane network element is the forwarding plane network element in the communication system, and the control plane network element is the control plane network element in the communication system.
22. A forwarding plane network element, characterized in that Including: A communication unit, configured to receive and send data; A processing unit, configured to: Receive, through the communication unit, a first configuration message from the control plane network element, where the first configuration message carries multiple configuration parameter groups; wherein, any one of the multiple configuration parameter groups belongs to a service; After being configured according to the multiple configuration parameter groups, generate multiple configuration error information; wherein, any one of the configuration error information corresponds to a configuration parameter group, and any one of the configuration error information is used to indicate that the processing unit fails to configure the configuration parameter group corresponding to the configuration error information; Send, through the communication unit, a first configuration reply message containing reported error information to the control plane network element; wherein, the reported error information includes the first configuration error information among the multiple configuration error information, and the reported error information does not include the second configuration error information among the multiple configuration error information, and the reporting priority of the first configuration error information is higher than or equal to the reporting priority of the second configuration error information.
23. The forwarding plane network element according to claim 22, characterized in that, The reporting priority of the first configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error information belongs; the reporting priority of the second configuration error information is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error information belongs.
24. The forwarding plane network element according to claim 23, wherein The processing unit is further configured to: Before sending, through the communication unit, a first configuration reply message containing reported error information to the control plane network element, determine the reporting priorities of at least one service, where the at least one service includes the services to which at least one of the multiple configuration parameter groups belongs; Determine the reported error information from the multiple configuration error information according to the reporting priorities of the at least one service.
25. The forwarding plane network element according to claim 24, wherein When the processing unit determines the reported error information from the multiple configuration error information according to the reporting priorities of the at least one service, it is specifically configured to: Determine the reported error information from the multiple configuration error information according to the reporting priorities of the at least one service and a constraint condition, wherein, the constraint condition is that the number of the reported error information is a target number; or The constraint condition is that the number of services to which the configuration parameter group corresponding to the reported error message belongs is the target number.
26. The forwarding plane network element according to claim 25, wherein When the constraint condition is that the number of reported error messages is the target number, when the processing unit determines the reported error message from the multiple configuration error messages according to the reporting priorities of the at least one service and the constraint condition, it is specifically used for: When the number of configuration error messages in the reporting record is less than the target number, adding the first configuration error message to the reporting record; When the number of configuration error messages in the reporting record is equal to the target number, determining that the reporting priority of the first configuration error message is higher than that of the third configuration error message in the reporting record, deleting the third configuration error message in the reporting record, and adding the first configuration error message to the reporting record; Determining that the reported error message is the configuration error message included in the reporting record.
27. The forwarding plane network element according to any one of claims 24-26, characterized in that, When the processing unit determines the reporting priorities of the at least one service, it is specifically used for: Obtaining the preset reporting priorities of the at least one service; or Obtaining the first priority configuration information sent by the control plane network element, where the first priority configuration information is used to configure the reporting priorities of the at least one service; and determining the reporting priorities of the at least one service according to the first priority configuration information; Or Obtaining the second priority configuration information sent by the control plane network element, where the second priority configuration information is used to configure the priority of the first service in the at least one service; Determining the priority of the first service according to the second priority configuration information; And obtaining the preset reporting priority of the second service in the at least one service, or adjusting the reporting priority of the second service according to the priority of the first service.
28. A control plane network element, characterized in that Including: A communication unit, configured to receive and send data; A processing unit, configured to: Send a first configuration message to the forwarding plane network element through the communication unit, where the first configuration message carries multiple first configuration parameter groups, and any one of the multiple first configuration parameters belongs to a service; Receive a first configuration reply message from the forwarding plane network element through the communication unit, where the first configuration reply message includes a reported error message; where the reported error message included in the first configuration reply message includes a first configuration error message, and the reported error message included in the first configuration reply message does not include a second configuration error message, and the reporting priority of the first configuration error message is higher than or equal to that of the second configuration error message; the first configuration error message is generated by the forwarding plane network element after configuring according to any one of the multiple first configuration parameter groups.
29. The control plane network element according to claim 28, wherein The reporting priority of the first configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the first configuration error message belongs; the reporting priority of the second configuration error message is the reporting priority of the service to which the configuration parameter group corresponding to the second configuration error message belongs.
30. The control plane network element according to claim 28, characterized in that, The number of reported error messages is the target number; or The number of services to which the configuration parameter group corresponding to the reported error message belongs is the target number.
31. The control plane network element according to claim 29, characterized in that, The processing unit is further configured to: Send priority configuration information to the forwarding plane network element through the communication unit, where the priority configuration information is used to configure the reporting priorities of at least one service, and the at least one service includes the services to which at least one first configuration parameter group among the multiple first configuration parameter groups belongs.
32. The control plane network element according to any one of claims 28-31, characterized in that, The processing unit is further configured to: After receiving the first configuration reply message from the forwarding plane network element through the communication unit, generate a configuration failure record of the forwarding plane network element according to the first reported error message; Generate at least one alarm message for the forwarding plane network element according to the configuration failure record.
33. The control plane network element according to claim 32, wherein The first reported error message includes the first configuration error message and the third configuration error message. The configuration parameter group corresponding to the first configuration error message belongs to the first service, and the configuration parameter group corresponding to the third configuration error message belongs to the second service; the configuration failure record is used to indicate that the configuration parameter groups of the first service and the second service have failed in configuration; The at least one alarm message includes a first alarm message and a second alarm message, where the first alarm message is used to alarm about the failure of configuring the configuration parameter group of the first service, and the second alarm message is used to alarm about the failure of configuring the configuration parameter group of the second service.
34. A communication system with a separated forwarding plane and control plane, characterized in that, The communication system includes a forwarding plane network element according to any one of claims 22-27 and a control plane network element according to any one of claims 28-33.
35. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to implement the method according to any one of claims 1-21.
Citation Information
Patent Citations
Method for enhancing status communications in a SDN-based communication system
US20200153679A1
Forwarding node, control node and processing method for forwarding node
WO2014205647A1