Network configuration sending method and device, storage medium, and electronic device
By determining and mapping rule-action pairs for multi-level service quality HQoS configuration in the BRAS transfer control separation model, the problem of QoS policy interoperability between different vendors is solved, flexible and efficient network configuration is achieved, and the design constraints of the traditional YANG model are overcome.
Patent Information
- Application Number
- CN202011057076.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-09-29
AI Technical Summary
In the BRAS transfer control separation model, the equipment architecture and hierarchical QoS policy design of different manufacturers are inconsistent, which makes it difficult to achieve interoperability between different manufacturers for standardized QoS policies based on the YANG model, and there is a lack of effective solutions.
By determining the N rule action pairs corresponding to each layer of quality of service Qos configuration information in the multi-layered quality of service HQoS configuration, and mapping them to the target device, the forwarding plane of the bandwidth remote access system BRAS is used for configuration to avoid being affected by traditional YANG Model data structure constraints enable QoS policy interoperability between different manufacturers.
It achieves effective interoperability between different vendors in the BRAS transfer control separation model, improves the flexibility and efficiency of network configuration, and solves the hierarchical QoS policy design problem that cannot be unified and standardized in the traditional YANG model.
Smart Images

Figure CN112491576B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a method and device for sending a network configuration, a storage medium, and an electronic device. Background Art
[0002] Wired broadband access is the basic access service for home broadband, enterprise dedicated lines, public WiFi, etc. It is the second largest mainstream broadband access service after mobile broadband. With the rapid development of emerging access services such as interactive network television IPTV and high-definition video, the traditional model of integrated forwarding and control plane of wired access gateway equipment (Broadband Remote Access System (BRAS)) is increasingly unsuitable for cloud network architecture, rapid development and delivery of new services, etc. The separation of BRAS forwarding and control plane based on SDN / NFV (Software-Defined Network / Network Function Virtualization) has become a consensus in the industry and has been commercially deployed in some domestic and international markets. Relevant international and domestic standard organizations are also actively standardizing to achieve the interconnection and interoperability of the forwarding plane and control plane of access equipment.
[0003] Under the BRAS control-forwarding separation mechanism, the control plane is responsible for centrally processing user access and user service policies, and sending user ACLs and QoS policies to the forwarding plane for deployment and execution. Normally, the control plane sends user service policies to the forwarding plane through the management interface, such as sending the user policy data model language (Yet Another Next Generation, referred to as YANG) model through the network configuration (Network Configuration, referred to as NETCONF) protocol of the management interface. However, the forwarding plane of the BRAS with control-forwarding separation implements hierarchical service quality (Quality of Service, referred to as QoS) HQoS. For the hierarchy and architecture design of the YANG model, the equipment architecture and hierarchical design of different manufacturers are inevitably different, so it is difficult to unify and standardize. That is, it will be very complicated or even impossible to design a standardized QoS policy based on the YANG model to achieve interoperability among different manufacturers.
[0004] With respect to the above technical problems, no effective solutions have been proposed in the relevant technologies. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for sending a network configuration, a storage medium, and an electronic device, so as to at least solve the problem in the related art that the transfer-control separation model cannot effectively communicate with each other.
[0006] According to one embodiment of the present invention, a method for sending a network configuration is provided, comprising: determining N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in a multi-layered quality of service (HQos) configuration, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the Qos configuration information, and the N is a natural number greater than or equal to 1; sending the target Qos configuration information mapped by the N rule-action pairs to a forwarding plane of a bandwidth remote access system (BRAS), wherein the forwarding plane is used to configure the target Qos configuration information into the target device to configure the network of the target device.
[0007] According to another embodiment of the present invention, a network configuration sending device is provided, including: a first determination module, used to determine N rule-action pairs corresponding to each layer of service quality Qos configuration information in a multi-level service quality HQos configuration, wherein the above-mentioned N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the above-mentioned Qos configuration information, and the above-mentioned N is a natural number greater than or equal to 1; a first sending module, used to send the target Qos configuration information mapped by the above-mentioned N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS, wherein the above-mentioned forwarding plane is used to configure the above-mentioned target Qos configuration information into the above-mentioned target device to configure the network of the above-mentioned target device.
[0008] According to another embodiment of the present invention, a network configuration device is provided, including: a first receiving module, used to receive an upper-layer application message sent by a control plane of a bandwidth remote access system BRAS; a first parsing module, used to parse the above-mentioned upper-layer application message to obtain N rule-action pairs encapsulated in the above-mentioned upper-layer application message, wherein the above-mentioned N rule-action pairs are used to represent network configuration rules and network configuration actions corresponding to service quality Qos configuration information, and the above-mentioned N is a natural number greater than or equal to 1; a second determination module, used to determine the target Qos configuration information mapped by the above-mentioned N rule-action pairs; a first configuration module, used to configure the above-mentioned target Qos configuration information into the above-mentioned target device to configure the network of the above-mentioned target device.
[0009] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.
[0010] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0011] Through the present invention, since the control plane in the bandwidth remote access system BRAS determines the N rule-action pairs corresponding to the service quality Qos configuration information of each layer in the multi-layered service quality HQos configuration, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the Qos configuration information, and N is a natural number greater than or equal to 1; the control plane sends the target Qos configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS, wherein the forwarding plane is used to configure the target Qos configuration information to the target device to configure the network of the target device. The target device can flexibly select configuration data according to its own structure and is no longer constrained by the traditional YANG model data structure. Therefore, the problem that the transfer control separation model in the related technology cannot be effectively interoperable can be solved, and the effect that the transfer control separation model of different manufacturers can be effectively interoperable can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for sending a network configuration according to an embodiment of the present invention;
[0013] Figure 2 is a flow chart of a method for sending a network configuration according to an embodiment of the present invention;
[0014] Figure 3 is a flow chart of a network configuration method according to an embodiment of the present invention;
[0015] Figure 4 It is a secondary TLV structure diagram of BRAS forwarding plane ACL&QoS rule-action pair according to an embodiment of the present invention;
[0016] Figure 5 It is a flat pattern diagram of ACL&QoS rule-action pairs of the forwarding plane of the BRAS with separation of forwarding and control according to an embodiment of the present invention;
[0017] Figure 6 is a structural block diagram of a sending device for network configuration according to an embodiment of the present invention;
[0018] Figure 7 is a structural block diagram of a network configuration device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0021] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for sending a network configuration according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0022] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for sending the network configuration in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0023] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0024] In this embodiment, a method for sending a network configuration is provided. Figure 2 is a flow chart of a method for sending a network configuration according to an embodiment of the present invention, such as Figure 2As shown, the process includes the following steps:
[0025] Step S202, determining N rule-action pairs corresponding to each layer of quality of service Qos configuration information in the multi-level service HQos configuration, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the Qos configuration information, and N is a natural number greater than or equal to 1;
[0026] Step S204: Send the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS, wherein the forwarding plane is used to configure the target QoS configuration information into the target device to configure the network of the target device.
[0027] The execution subject of the above steps may be a control plane in a broadband remote access system BRAS, etc., but is not limited thereto.
[0028] Through the above steps, since the control plane in the bandwidth remote access system BRAS determines the N rule-action pairs corresponding to the quality of service Qos configuration information of each layer in the multi-layered quality of service HQos configuration, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the Qos configuration information, and N is a natural number greater than or equal to 1; the control plane sends the target Qos configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS, wherein the forwarding plane is used to configure the target Qos configuration information to the target device to configure the network of the target device. The target device can flexibly select the configuration data according to its own structure, and is no longer constrained by the traditional YANG model data structure. Therefore, the problem that the control-forwarding separation model in the related technology cannot be effectively interoperable can be solved, and the control-forwarding separation model of different manufacturers can be effectively interoperable.
[0029] In an exemplary embodiment, determining N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in a multi-layered quality of service (HQos) configuration includes:
[0030] S1, defines the quality of service (Qos) configuration information of each layer in the HQos configuration based on the preset protocol;
[0031] S2, determining the rule information and action information corresponding to each layer of QoS configuration information in the HQoS configuration, wherein the rule information includes: rule type, rule length and rule value, and the action information includes: action type, action length and action value;
[0032] S3, based on the rule information and the action information, determine N rule-action pairs corresponding to each layer of the quality of service (Qos) configuration information in the multi-layered quality of service (HQos) configuration.
[0033] In this embodiment, the preset protocols include but are not limited to Simple-Control and User plane Separation Protocol (S-CUSP for short), Border Gateway Protocol-Link State (BGP-LS for short), Path Computation Entity Protocol (PCEP for short), and TR-459 Packet Forwarding Control Protocol (PFCP for short).
[0034] In an optional embodiment, sending target QoS configuration information mapped by N rule-action pairs to a forwarding plane of a bandwidth remote access system BRAS includes:
[0035] S1, based on the structural information between N rule-action pairs and target QoS configuration information, the target QoS configuration information mapped by N rule-action pairs is sent to the forwarding plane of the bandwidth remote access system BRAS, wherein the structural information includes the mapping relationship between the N rule-action pairs and the target QoS configuration information.
[0036] In this embodiment, the control plane of the BRAS with separation of forwarding and control sends configuration information to the forwarding plane according to the two-level structure of QoS configuration information and rule actions, and the forwarding plane chooses to configure or not configure the configuration information according to its own equipment structure characteristics.
[0037] In an exemplary embodiment, after determining N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in the multi-layered quality of service (HQos) configuration, the method further includes one of the following:
[0038] S1, determine the type length value TLV of each layer of QoS configuration information;
[0039] S2: Determine a rule-action pair combination corresponding to the QoS configuration information according to the semantic information of the TLV, wherein the N rule-action pairs include the rule-action pair combination.
[0040] In an exemplary embodiment, after determining N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in the multi-layered quality of service (HQos) configuration, the method further includes one of the following:
[0041] S1, determining a rule-action pair combination corresponding to the QoS configuration information, wherein N rule-action pairs include the rule-action pair combination;
[0042] S2, determining a transmission message for data transmission between a control plane and a forwarding plane in the BRAS;
[0043] S3, based on the message type of the transmission message, determine the rule-action pair combination as the data payload of the transmission message.
[0044] In this embodiment, a rule-action pair type defines a unique set of rule and action combinations to form a specific ACL&QoS basic configuration unit, and a QoS configuration information is composed of one or more rule-action pairs.
[0045] In an exemplary embodiment, sending target QoS configuration information mapped by N rule-action pairs to a forwarding plane of a bandwidth remote access system BRAS includes:
[0046] S1, encapsulates N rule-action pairs into upper-layer application messages;
[0047] S2, sends the upper layer application message to the forwarding plane, wherein the forwarding plane is used to unpack the upper layer application message and parse out N rule-action pairs to determine the target QoS configuration information mapped by the N rule-action pairs, and configure the target QoS configuration information into the target device to configure the network of the target device.
[0048] In this embodiment, the rules and actions corresponding to each policy are nested and encapsulated in the data payload of the upper-layer application message through the rule-action type-length value (TypeLength Value, abbreviated as TLV), and sent from the control plane of the forwarding-control separation BRAS to the forwarding plane, which decapsulates, parses and reads the TLV semantic values at all levels, performs corresponding ACL&QoS policy configuration, or ignores TLVs that are not suitable for local devices.
[0049] In an exemplary embodiment, sending target QoS configuration information mapped by N rule-action pairs to a forwarding plane of a bandwidth remote access system BRAS includes:
[0050] The target QoS configuration information mapped by N rule-action pairs is sent to the forwarding plane of the bandwidth remote access system BRAS through the state interface protocol.
[0051] In this embodiment, the configuration data is sent down through the control interface protocol such as S-CUSP, PFCP, etc., which is more efficient and flexible.
[0052] In this embodiment, a network configuration method is provided. Figure 3 is a flow chart of a network configuration method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0053] Step S302, receiving an upper layer application message sent by a control plane of a bandwidth remote access system BRAS;
[0054] Step S304, parsing the upper layer application message to obtain N rule-action pairs encapsulated in the upper layer application message, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the quality of service QoS configuration information, and N is a natural number greater than or equal to 1;
[0055] Step S306, determining target QoS configuration information mapped to N rule action pairs;
[0056] Step S308: configure the target QoS configuration information into the target device to configure the network of the target device.
[0057] The execution subject of the above steps may be a forwarding plane in a broadband remote access system BRAS, etc., but is not limited thereto.
[0058] Through the above steps, the forwarding plane receives the upper-layer application message sent by the control plane of the bandwidth remote access system BRAS; parses the upper-layer application message to obtain N rule-action pairs encapsulated in the upper-layer application message, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the quality of service Qos configuration information, and N is a natural number greater than or equal to 1; determines the target Qos configuration information mapped by the N rule-action pairs; configures the target Qos configuration information into the target device to configure the network of the target device. The target device can flexibly select configuration data according to its own structure and is no longer constrained by the traditional YANG model data structure. Therefore, the problem that the forwarding and control separation model in the related technology cannot be effectively interoperable can be solved, and the forwarding and control separation model of different manufacturers can be effectively interoperable.
[0059] The present invention will be described below in conjunction with specific embodiments:
[0060] The hierarchical QoS system of the BRAS forwarding plane with separation of forwarding and control involves QoS policies such as device interface, sub-interface, user group, user, user service (service flow) from coarse to fine granularity. In the YANG model configuration scheme, the control plane needs to be nested and configured in sequence and sent to the forwarding plane through the management interface NETCONF protocol. It is usually configured in a YANG model table. The forwarding plane configures QoS policies for device interfaces and users according to the hierarchical QoS YANG model.
[0061] This embodiment proposes a type-length value (TLV)-based flat forwarding and control-separated BRAS QoS policy delivery and configuration process, that is, for the multi-level QoS policy of the BRAS forwarding plane, one or more rule-action pairs are defined for each level, and the corresponding QoS policy is mapped by the combination of rule-action pairs. The forwarding plane can select the rule-action pairs supported by the device for parsing and deployment configuration according to the specific structure of the device, and directly ignore the unsupported rule-action pairs or combinations. Therefore, different forwarding plane devices do not need to support a unified YANG model configuration data structure, thereby flexibly and efficiently solving the interoperability problem of the hierarchical QoS YANG model.
[0062] In particular, TLV-based QoS rule-action pairs do not need to be delivered through the NETCONF protocol of the management interface, but can be delivered through the state control interface protocol, which is more flexible and efficient.
[0063] Specifically, the BRAS forwarding plane ACL & QoS rule-action pair is a secondary TLV structure based on basic rules and basic actions, such as Figure 4 As shown in the figure, a rule-action pair type defines a unique set of rules and action combinations, which constitute a specific ACL&QoS basic configuration unit. A QoS policy consists of one or more rule-action pairs. The BRAS control plane with forwarding and control separation sends the ACL&QoS configuration policy to the forwarding plane based on the two-level structure of policy and rule-action pair. The forwarding plane chooses to configure or not configure the policy based on the structural characteristics of its own equipment. Under the two-level TLV structure, the hierarchical QoS of the BRAS forwarding plane realizes flat delivery and is not constrained by the hierarchical overall data structure, such as Figure 5 shown.
[0064] In the rule-action pair TLV message structure, the BRAS forwarding plane ACL & QoS policy with forwarding and control separation can be reflected in the following two ways:
[0065] ACL&QoS policy TLV: A TLV is defined for each hierarchical ACL&QoS policy. The rule-action pair combination contained in it is defined by the ACL&QoS policy TLV semantics. The rule-action pair TLV is a subordinate nested TLV of the ACL&QoS policy TLV.
[0066] The ACL&QoS policy is represented by the message type sent by the control plane of the forwarding plane of the BRAS separated from the control plane, and the rule-action pair TLV combination contained in the message is used as the data payload of the message.
[0067] like Figure 5As shown in the figure, the basic configuration of the QoS policy is generated by the control plane through the rule-action pair TLV and sent to the forwarding plane through the control interface. Each rule-action pair is parsed separately by the forwarding plane, and the decision to deploy or ignore the corresponding rule-action pair TLV is made based on the structural characteristics of its own equipment and the public configuration requirements of the operator. Since the rule-action pair TLV is arranged and sent without a hierarchical structure, the forwarding plane equipment is no longer constrained by the traditional hierarchical ACL&QoS YANG model structure.
[0068] The hierarchical ACL & QoS policy of the BRAS forwarding plane with forwarding and control separation includes a series of basic matching rules and basic processing actions. According to the ACL policy, interface QoS policy, and user (including user group) QoS policy, typical basic rules and basic actions are listed respectively. The present invention aims to replace the traditional YANG model with a flat QoS policy model of TLV with rule-action pairs. Other new and extended rules and actions in the future can all be used for QoS policy construction, distribution and deployment configuration through the above-mentioned secondary TLV structure.
[0069] Specific embodiment 1: BRAS forwarding plane ACL & QoS policy rule-action pair TLV extension solution based on RFC 8772S-CUSP interface protocol with forwarding and control separation.
[0070] The physical interface, sub-interface, user group and user, and service flow ACL&QoS policy TLVs are extended to define in the S-CUSP protocol TLV type, and the rules and actions corresponding to each policy are nested and encapsulated in the data payload of the upper-layer application message through the rule-action pair TLV. The control plane of the BRAS is sent down to the forwarding plane, which decapsulates, parses and reads the semantic values of TLVs at all levels, performs corresponding ACL&QoS policy configuration, or ignores TLVs that are not suitable for local devices.
[0071] Specifically, the following three types of TLV extension definitions are performed:
[0072] 1. ACL policy level 3 TLV
[0073] 1. ACL policy TLV;
[0074] 2. Secondary rule - action pair TLV;
[0075] 3. Level 3 rule TLV. The rule format adopts the IPFilterRule attribute method defined in RFC 6733:
[0076] action dir proto from src to dst
[0077] for example:
[0078] permit in ip from assigned to any
[0079] The parameter descriptions in IPFilterRule are shown in Table 1:
[0080] Table 1:
[0081]
[0082]
[0083] 4. Level 3 basic action TLV:
[0084] discard;
[0085] forward;
[0086] redirect-ip Ip redirection;
[0087] redirect-http http message redirection;
[0088] redirect-nat CGN service redirection;
[0089] Car performs car speed limit processing;
[0090] remark-ipv4-dscp sets the DSCP field in the IPv4 header;
[0091] remark-ipv6-dscp sets the DSCP field in the IPv6 header;
[0092] remark-mpls-exp sets the EXP field of the MPLS header;
[0093] UPF predefine action UPF predefined action.
[0094] 2. Interface QoS policy TLV:
[0095] Interface QoS policy level 1 TLV;
[0096] Interface QoS policy rule-action pair secondary TLV;
[0097] Interface QoS policy basic rule level 3 TLV:
[0098] Hierarchical instances;
[0099] Match QinQ C-Vlan ID;
[0100] Match QinQ S-Vlan ID;
[0101] UPF predefined rules.
[0102] 4. Interface QoS policy basic action level 3 TLV:
[0103] Interface queue priority classification identifier;
[0104] Strict priority scheduling level;
[0105] WFQ scheduling weight percentage;
[0106] Packet outbound shaping rate CIR, unit: Kbps;
[0107] Packet dequeue integer token bucket size CBS, unit: Kbytes;
[0108] Queue depth (cache) size;
[0109] WRED drop priority
[0110] WRED discard lower threshold;
[0111] WRED discard lower threshold;
[0112] UPF predefined actions.
[0113] 1. User QoS policy TLV:
[0114] 1. User QoS policy level 1 TLV;
[0115] 2. User QoS policy rule-action pair secondary TLV;
[0116] 3. User QoS policy basic rules level 3 TLV:
[0117] Hierarchical example:
[0118] ipv4-dcsp matches IPv4 DSCP<0-63>;
[0119] ipv6-dscp matches IPv6 DSCP<0-63>;
[0120] vlan-802.1p matches VLAN 802.1p<0-7>;
[0121] cvlan matches the QinQ C-Vlan ID;
[0122] svlan matches the QinQ S-Vlan ID;
[0123] ipv4-acl matches IPv4 ACL;
[0124] ipv6-acl matches IPv6 ACL;
[0125] UPF predefined rules.
[0126] 4. User QoS policy action TLV:
[0127] The logical relationship between and-or traffic classifications;
[0128] fast-forward: low latency and fast forwarding;
[0129] schedule-grade strict priority scheduling grade;
[0130] wfq-sch-percentage WFQ scheduling weight percentage;
[0131] Cir traffic limit promised rate CIR;
[0132] Cbs traffic rate limit allows token bucket size CBS;
[0133] Pir traffic speed limit peak rate PIR;
[0134] Pbs traffic rate limit peak token bucket size PBS;
[0135] queue-cache queue depth (cache);
[0136] wred-discard-priority WRED discard priority;
[0137] wred-discard-high WRED discard lower threshold;
[0138] wred-discard-low WRED discard lower threshold;
[0139] Wred-discard-prob The discard probability of WRED;
[0140] UPF predefine action UPF predefined action.
[0141] Specific embodiment 2: BRAS forwarding plane ACL&QoS policy rule-action pair TLV extension solution based on BGP-LS protocol for forwarding and control separation.
[0142] In the BGP-LS protocol TLV type, physical interfaces, sub-interfaces, user groups and users, and service flow ACL&QoS policy TLVs are extended to define, and the rules and actions corresponding to each policy are nested and encapsulated in the data payload of the upper-layer application message through rule-action pair TLVs. The control plane of the BRAS separated from the forwarding control is sent down to the forwarding plane, which decapsulates, parses and reads the semantic values of TLVs at all levels, performs corresponding ACL&QoS policy configuration, or ignores TLVs that are not suitable for local devices.
[0143] Specifically, the following three types of TLV extension definitions are performed:
[0144] 1. ACL policy level 3 TLV
[0145] 1. ACL policy TLV;
[0146] 2. Secondary rule - action pair TLV;
[0147] 3. Level 3 rule TLV. The rule format adopts the IPFilterRule attribute method defined in RFC 6733:
[0148] action dir proto from src to dst
[0149] for example:
[0150] permit in ip from assigned to any
[0151] The parameter descriptions in IPFilterRule are shown in Table 2:
[0152] Table 2:
[0153]
[0154]
[0155] 4. Level 3 action TLV:
[0156] discard;
[0157] forward;
[0158] redirect-ip Ip redirection;
[0159] redirect-http http message redirection;
[0160] redirect-nat CGN service redirection;
[0161] Car performs car speed limit processing;
[0162] remark-ipv4-dscp sets the DSCP field in the IPv4 header;
[0163] remark-ipv6-dscp sets the DSCP field in the IPv6 header;
[0164] remark-mpls-exp sets the EXP field of the MPLS header;
[0165] UPF predefine action UPF predefined action.
[0166] 2. Interface QoS policy TLV:
[0167] 1. Interface QoS policy level 1 TLV;
[0168] 2. Interface QoS policy rule-action pair secondary TLV;
[0169] 3. Interface QoS policy basic rules level 3 TLV:
[0170] Hierarchical instances;
[0171] Match QinQ C-Vlan ID;
[0172] Match QinQ S-Vlan ID;
[0173] UPF predefined rules.
[0174] 4. Interface QoS policy basic action level 3 TLV:
[0175] Interface queue priority classification identifier;
[0176] Strict priority scheduling level;
[0177] WFQ scheduling weight percentage;
[0178] Packet outbound shaping rate CIR, unit: Kbps;
[0179] Packet dequeue integer token bucket size CBS, unit: Kbytes;
[0180] Queue depth (cache) size;
[0181] WRED drop priority
[0182] WRED discard lower threshold;
[0183] WRED discard lower threshold;
[0184] UPF predefined actions.
[0185] 3. User QoS Policy TLV:
[0186] 1. User QoS policy level 1 TLV;
[0187] 2. User QoS policy rule-action pair secondary TLV;
[0188] 3. User QoS policy basic rules level 3 TLV:
[0189] Hierarchical example:
[0190] ipv4-dcsp matches IPv4 DSCP<0-63>;
[0191] ipv6-dscp matches IPv6 DSCP<0-63>;
[0192] vlan-802.1p matches VLAN 802.1p<0-7>;
[0193] cvlan matches the QinQ C-Vlan ID;
[0194] svlan matches the QinQ S-Vlan ID;
[0195] ipv4-acl matches IPv4 ACL;
[0196] ipv6-acl matches IPv6 ACL;
[0197] UPF predefined rules.
[0198] 4. User QoS policy action TLV:
[0199] The logical relationship between and-or traffic classifications;
[0200] fast-forward: low latency and fast forwarding;
[0201] schedule-grade strict priority scheduling grade;
[0202] wfq-sch-percentage WFQ scheduling weight percentage;
[0203] Cir traffic limit promised rate CIR;
[0204] Cbs traffic rate limit allows token bucket size CBS;
[0205] Pir traffic speed limit peak rate PIR;
[0206] Pbs traffic rate limit peak token bucket size PBS;
[0207] queue-cache queue depth (cache);
[0208] wred-discard-priority WRED discard priority;
[0209] wred-discard-high WRED discard lower threshold;
[0210] wred-discard-low WRED discard lower threshold;
[0211] Wred-discard-prob The discard probability of WRED;
[0212] UPF predefine action UPF predefined action.
[0213] Specific embodiment 3: PCEP-based BRAS forwarding plane ACL & QoS policy rule-action pair TLV extension solution for forwarding and control separation.
[0214] The physical interface, sub-interface, user group and user, and service flow ACL&QoS policy TLVs are extended to define in the PCEP protocol TLV type, and the rules and actions corresponding to each policy are nested and encapsulated in the data payload of the upper-layer application message through the rule-action pair TLV. The control plane of the BRAS separated from the forwarding control is sent down to the forwarding plane, which decapsulates, parses and reads the semantic values of TLVs at all levels, performs corresponding ACL&QoS policy configuration, or ignores TLVs that are not suitable for local devices.
[0215] Specifically, the following three types of TLV extension definitions are performed:
[0216] 1. ACL policy level 3 TLV
[0217] 1. ACL policy TLV;
[0218] 2. Secondary rule - action pair TLV;
[0219] 3. Level 3 rule TLV. The rule format adopts the IPFilterRule attribute method defined in RFC 6733:
[0220] action dir proto from src to dst;
[0221] for example:
[0222] permit in ip from assigned to any;
[0223] The parameter descriptions in IPFilterRule are shown in Table 3:
[0224] Table 3:
[0225]
[0226]
[0227] 4. Level 3 basic action TLV:
[0228] discard;
[0229] forward;
[0230] redirect-ip Ip redirection;
[0231] redirect-http http message redirection;
[0232] redirect-nat CGN service redirection;
[0233] Car performs car speed limit processing;
[0234] remark-ipv4-dscp sets the DSCP field in the IPv4 header;
[0235] remark-ipv6-dscp sets the DSCP field in the IPv6 header;
[0236] remark-mpls-exp sets the EXP field of the MPLS header;
[0237] UPF predefine action UPF predefined action.
[0238] 2. Interface QoS policy TLV:
[0239] 1. Interface QoS policy level 1 TLV;
[0240] 2. Interface QoS policy rule-action pair secondary TLV;
[0241] 3. Interface QoS policy basic rules level 3 TLV:
[0242] Hierarchical example:
[0243] Match QinQ C-Vlan ID;
[0244] Match QinQ S-Vlan ID;
[0245] UPF predefined rules.
[0246] 4. Interface QoS policy basic action level 3 TLV:
[0247] Interface queue priority classification identifier;
[0248] Strict priority scheduling level;
[0249] WFQ scheduling weight percentage;
[0250] Packet outbound shaping rate CIR, unit: Kbps;
[0251] Packet dequeue integer token bucket size CBS, unit: Kbytes;
[0252] Queue depth (cache) size;
[0253] WRED drop priority
[0254] WRED discard lower threshold;
[0255] WRED discard lower threshold;
[0256] UPF predefined actions.
[0257] 3. User QoS Policy TLV:
[0258] 1. User QoS policy level 1 TLV;
[0259] 2. User QoS policy rule-action pair secondary TLV;
[0260] 3. User QoS policy basic rules level 3 TLV:
[0261] Hierarchical Instances
[0262] ipv4-dcsp matches IPv4 DSCP<0-63>;
[0263] ipv6-dscp matches IPv6 DSCP<0-63>;
[0264] vlan-802.1p matches VLAN 802.1p<0-7>;
[0265] cvlan matches the QinQ C-Vlan ID;
[0266] svlan matches the QinQ S-Vlan ID;
[0267] ipv4-acl matches IPv4 ACL;
[0268] ipv6-acl matches IPv6 ACL;
[0269] UPF predefined rules.
[0270] 4. User QoS policy basic action TLV:
[0271] The logical relationship between and-or traffic classifications;
[0272] fast-forward: low latency and fast forwarding;
[0273] schedule-grade strict priority scheduling grade;
[0274] wfq-sch-percentage WFQ scheduling weight percentage;
[0275] Cir traffic limit promised rate CIR;
[0276] Cbs traffic rate limit allows token bucket size CBS;
[0277] Pir traffic speed limit peak rate PIR;
[0278] Pbs traffic rate limit peak token bucket size PBS;
[0279] queue-cache queue depth (cache);
[0280] wred-discard-priority WRED discard priority;
[0281] wred-discard-high WRED discard lower threshold;
[0282] wred-discard-low WRED discard lower threshold;
[0283] Wred-discard-prob The discard probability of WRED;
[0284] UPF predefine action UPF predefined action.
[0285] Specific embodiment 4: BRAS forwarding plane ACL & QoS policy rule-action to IE extension solution based on TR-459 PFCP protocol for forwarding and control separation.
[0286] In the TR-459PFCP protocol IE type, physical interfaces, sub-interfaces, user groups and users, and service flow ACL&QoS policy IEs are extended to define, and the rules and actions corresponding to each policy are nested and encapsulated in the data payload of the upper-layer application message through the rule-action pair IE. The control plane of the BRAS separated from the forwarding control is sent down to the forwarding plane, which decapsulates, parses and reads the semantic values of IEs at all levels, performs corresponding ACL&QoS policy configuration, or ignores IEs that are not suitable for local devices.
[0287] Specifically, the following three types of IE extension definitions are performed:
[0288] 1. ACL policy level 3 IE
[0289] 1. ACL policy IE;
[0290] 2. Secondary rules - action to IE;
[0291] 3. Level 3 basic rules IE, the rule format uses the IPFilterRule attribute method defined in RFC 6733:
[0292] action dir proto from src to dst;
[0293] for example:
[0294] permit in ip from assigned to any;
[0295] The parameter descriptions in IPFilterRule are shown in Table 4:
[0296]
[0297]
[0298] 4. Level 3 basic action information browser (Information Element, referred to as IE):
[0299] discard;
[0300] forward;
[0301] redirect-ip Ip redirection;
[0302] redirect-http http message redirection;
[0303] redirect-nat CGN service redirection;
[0304] Car performs car speed limit processing;
[0305] remark-ipv4-dscp sets the DSCP field in the IPv4 header;
[0306] remark-ipv6-dscp sets the DSCP field in the IPv6 header;
[0307] remark-mpls-exp sets the EXP field of the MPLS header;
[0308] UPF predefine action UPF predefined action.
[0309] 2. Interface QoS Policy IE:
[0310] 1. Interface QoS policy level 1 IE;
[0311] 2. Interface QoS policy rule-action to secondary IE;
[0312] 3. Interface QoS policy basic rules level 3 IE:
[0313] Hierarchical instances;
[0314] Match QinQ C-Vlan ID;
[0315] Match QinQ S-Vlan ID;
[0316] UPF predefined rules.
[0317] 4. Interface QoS policy basic action level 3 IE:
[0318] Interface queue priority classification identifier;
[0319] Strict priority scheduling level;
[0320] WFQ scheduling weight percentage;
[0321] Packet outbound shaping rate CIR, unit: Kbps;
[0322] Packet dequeue integer token bucket size CBS, unit: Kbytes;
[0323] Queue depth (cache) size;
[0324] WRED drop priority
[0325] WRED discard lower threshold;
[0326] WRED discard lower threshold;
[0327] UPF predefined actions.
[0328] 3. User QoS Policy IE:
[0329] 1. User QoS policy level 1 IE;
[0330] 2. User QoS policy rule-action to secondary IE;
[0331] 3. User QoS policy basic rules level 3 IE:
[0332] Hierarchical example:
[0333] ipv4-dcsp matches IPv4 DSCP<0-63>;
[0334] ipv6-dscp matches IPv6 DSCP<0-63>;
[0335] vlan-802.1p matches VLAN 802.1p<0-7>;
[0336] cvlan matches the QinQ C-Vlan ID;
[0337] svlan matches the QinQ S-Vlan ID;
[0338] ipv4-acl matches IPv4 ACL;
[0339] ipv6-acl matches IPv6 ACL;
[0340] UPF predefined rules.
[0341] 4. User QoS policy action IE:
[0342] The logical relationship between and-or traffic classifications;
[0343] fast-forward: low latency and fast forwarding;
[0344] schedule-grade strict priority scheduling grade;
[0345] wfq-sch-percentage WFQ scheduling weight percentage;
[0346] Cir traffic limit promised rate CIR;
[0347] Cbs traffic rate limit allows token bucket size CBS;
[0348] Pir traffic speed limit peak rate PIR;
[0349] Pbs traffic rate limit peak token bucket size PBS;
[0350] queue-cache queue depth (cache);
[0351] wred-discard-priority WRED discard priority;
[0352] wred-discard-high WRED discard lower threshold;
[0353] wred-discard-low WRED discard lower threshold;
[0354] Wred-discard-prob The discard probability of WRED;
[0355] UPF predefine action UPF predefined action.
[0356] In summary, the traditional network configuration management data is described by multi-level TLV of user ACL&QoS policy and its rule-action pair, and the user ACL&QoS policy is issued through the non-management interface protocol; the traditional hierarchical QoS configuration data is flattened through the rule-action pair TLV mode; the configuration device can flexibly select the configuration data according to its own structure and is no longer constrained by the traditional YANG model data structure; the configuration data is issued through control interface protocols such as S-CUSP, PFCP, etc., which is more efficient and flexible; and the industry bottleneck that different manufacturers of BRAS YANG model with separation of transfer and control cannot effectively communicate with each other is solved.
[0357] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0358] In the present embodiment, a sending device of network configuration is also provided, and the device is used to implement the above-mentioned embodiment and preferred implementation mode, and the description has been made no further. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0359] Figure 6is a structural block diagram of a sending device of a network configuration according to an embodiment of the present invention, such as Figure 6 As shown, the device comprises:
[0360] A first determination module 62 is used to determine N rule-action pairs corresponding to each layer of quality of service Qos configuration information in the multi-level service quality HQos configuration, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the Qos configuration information, and N is a natural number greater than or equal to 1;
[0361] The first sending module 64 is used to send the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS, wherein the forwarding plane is used to configure the target QoS configuration information into the target device to configure the network of the target device.
[0362] In an exemplary embodiment, the first determining module 62 includes:
[0363] A first configuration unit, configured to define the quality of service (Qos) configuration information of each layer in the HQos configuration based on a preset protocol;
[0364] A first determining unit, configured to determine rule information and action information corresponding to each layer of QoS configuration information in the HQoS configuration, wherein the rule information includes: rule type, rule length, and rule value, and the action information includes: action type, action length, and action value;
[0365] The second determining unit is used to determine N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in the multi-level quality of service (HQos) configuration based on the rule information and the action information.
[0366] In an exemplary embodiment, the first sending module 64 includes:
[0367] The first sending unit is used to send the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS based on the structural information between the N rule-action pairs and the target QoS configuration information, wherein the structural information includes the mapping relationship between the N rule-action pairs and the target QoS configuration information.
[0368] In an exemplary embodiment, the above device further comprises:
[0369] The third determination module is used to determine the type length value TLV of each layer of Qos configuration information after determining the N rule-action pairs corresponding to each layer of Qos configuration information in the multi-layered quality of service HQos configuration;
[0370] The fourth determination module is used to determine the rule-action pair combination corresponding to the QoS configuration information according to the semantic information of the TLV, wherein the N rule-action pairs include the rule-action pair combination.
[0371] In an exemplary embodiment, the above device further comprises:
[0372] A fifth determination module, configured to determine the rule-action pair combination corresponding to the Qos configuration information of each layer in the multi-layered quality of service HQos configuration after determining the N rule-action pairs corresponding to the Qos configuration information, wherein the N rule-action pairs include the rule-action pair combination;
[0373] A sixth determination module, used to determine a transmission message for data transmission between a control plane and a forwarding plane in the BRAS;
[0374] The seventh determination module is used to determine the rule-action pair combination as the data load of the transmission message based on the message type of the transmission message.
[0375] In an exemplary embodiment, the first sending module 64 includes:
[0376] A first encapsulation unit, used to encapsulate N rule-action pairs into an upper layer application message;
[0377] The second sending unit is used to send the upper-layer application message to the forwarding plane, wherein the forwarding plane is used to unpack the upper-layer application message and parse out N rule-action pairs to determine the target QoS configuration information mapped by the N rule-action pairs, and configure the target QoS configuration information into the target device to configure the network of the target device.
[0378] In an exemplary embodiment, the sending module 64 includes:
[0379] The third sending unit is used to send the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS through the state interface protocol.
[0380] Figure 7 is a structural block diagram of a network configuration device according to an embodiment of the present invention. Figure 7 As shown, the device includes: a first receiving module 72, a first parsing module 74, a second determining module 76 and a first configuring module 78. The device is described in detail below:
[0381] A first receiving module 72, configured to receive an upper layer application message sent by a control plane of a bandwidth remote access system BRAS;
[0382] A first parsing module 74 is used to parse the upper layer application message to obtain N rule-action pairs encapsulated in the upper layer application message, wherein the N rule-action pairs are used to represent the network configuration rules and network configuration actions corresponding to the quality of service (QoS) configuration information, and N is a natural number greater than or equal to 1;
[0383] A second determination module 76 is used to determine the target QoS configuration information mapped by the N rule action pairs;
[0384] The first configuration module 78 is used to configure the target QoS configuration information into the target device to configure the network of the target device.
[0385] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0386] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0387] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0388] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0389] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0390] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0391] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0392] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for sending a network configuration, characterized in that: include: Determine N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in a multi-layered quality of service (HQos) configuration, wherein the N rule-action pairs are used to represent network configuration rules and network configuration actions corresponding to the Qos configuration information, and N is a natural number greater than or equal to 1; Sending the target QoS configuration information mapped by the N rule-action pairs to a forwarding plane of a bandwidth remote access system BRAS, wherein the forwarding plane is used to configure the target QoS configuration information into a target device to configure a network of the target device; After determining N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in the multi-layered quality of service (HQos) configuration, the method further includes: Determine a rule-action pair combination corresponding to the QoS configuration information, wherein the N rule-action pairs include the rule-action pair combination; Determining a transmission message for data transmission between a control plane in the BRAS and the forwarding plane; Based on the message type of the transmission message, the rule-action pair combination is determined as the data payload of the transmission message.
2. The method according to claim 1, characterized in that Determine N rule-action pairs corresponding to each layer of service quality Qos configuration information in the multi-layered service quality HQos configuration, including: Defining the quality of service (Qos) configuration information of each layer in the HQos configuration based on a preset protocol; Determine the rule information and action information corresponding to each layer of QoS configuration information in the HQoS configuration, wherein the rule information includes: rule type, rule length and rule value, and the action information includes: action type, action length and action value; Based on the rule information and the action information, N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in the multi-layered quality of service (HQos) configuration are determined.
3. The method according to claim 1, characterized in that Sending the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS includes: Based on the structural information between the N rule-action pairs and the target QoS configuration information, the target QoS configuration information mapped by the N rule-action pairs is sent to the forwarding plane of the bandwidth remote access system BRAS, wherein the structural information includes the mapping relationship between the N rule-action pairs and the target QoS configuration information.
4. The method according to claim 1, characterized in that: After determining N rule-action pairs corresponding to each layer of quality of service (Qos) configuration information in the multi-layered quality of service (HQos) configuration, the method further includes: Determine the type length value TLV of each layer of QoS configuration information; A rule-action pair combination corresponding to the QoS configuration information is determined according to the semantic information of the TLV, wherein the N rule-action pairs include the rule-action pair combination.
5. The method according to claim 1, characterized in that Sending the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS includes: Encapsulating the N rule-action pairs into an upper layer application message; The upper layer application message is sent to the forwarding plane, wherein the forwarding plane is used to unpack the upper layer application message and parse out the N rule-action pairs to determine the target QoS configuration information mapped by the N rule-action pairs, and configure the target QoS configuration information into the target device to configure the network of the target device.
6. The method according to claim 1, characterized in that Sending the target QoS configuration information mapped by the N rule-action pairs to the forwarding plane of the bandwidth remote access system BRAS includes: The target QoS configuration information mapped by the N rule-action pairs is sent to the forwarding plane of the bandwidth remote access system BRAS through the state interface protocol.
7. A network configuration method, characterized in that: include: Receiving an upper layer application message sent by a control plane of a bandwidth remote access system BRAS; Parsing the upper layer application message to obtain N rule-action pairs encapsulated in the upper layer application message, wherein the N rule-action pairs are used to represent network configuration rules and network configuration actions corresponding to the quality of service (QoS) configuration information, and N is a natural number greater than or equal to 1; Determine target QoS configuration information mapped by the N rule-action pairs; Configuring the target QoS configuration information into the target device to configure the network of the target device; The control plane is used to determine the N rule-action pairs, and after determining the N rule-action pairs, determine the rule-action pair combination corresponding to the Qos configuration information, wherein the N rule-action pairs include the rule-action pair combination; determine a transmission message for data transmission between the control plane and the forwarding plane in the BRAS; based on the message type of the transmission message, determine the rule-action pair combination as the data load of the transmission message.
8. A network configuration sending device, characterized in that: include: A first determination module is used to determine N rule-action pairs corresponding to each layer of quality of service Qos configuration information in a multi-layered quality of service HQos configuration, wherein the N rule-action pairs are used to represent network configuration rules and network configuration actions corresponding to the Qos configuration information, and N is a natural number greater than or equal to 1; A first sending module, configured to send the target QoS configuration information mapped by the N rule-action pairs to a forwarding plane of a bandwidth remote access system BRAS, wherein the forwarding plane is used to configure the target QoS configuration information into a target device to configure a network of the target device; The device is also used to determine N rule-action pairs corresponding to each layer of service quality Qos configuration information in the multi-level service quality HQos configuration, and then determine the rule-action pair combination corresponding to the Qos configuration information, wherein the N rule-action pairs include the rule-action pair combination; determine a transmission message for data transmission between the control plane and the forwarding plane in the BRAS; based on the message type of the transmission message, determine the rule-action pair combination as the data load of the transmission message.
9. A network configuration device, characterized in that: include: A first receiving module, configured to receive an upper layer application message sent by a control plane of a bandwidth remote access system BRAS; A first parsing module, used to parse the upper layer application message to obtain N rule-action pairs encapsulated in the upper layer application message, wherein the N rule-action pairs are used to represent network configuration rules and network configuration actions corresponding to the quality of service (Qos) configuration information, and N is a natural number greater than or equal to 1; A second determination module is used to determine the target QoS configuration information mapped by the N rule action pairs; A first configuration module, configured to configure the target QoS configuration information into a target device to configure a network of the target device; The control plane is used to determine the N rule-action pairs, and after determining the N rule-action pairs, determine the rule-action pair combination corresponding to the Qos configuration information, wherein the N rule-action pairs include the rule-action pair combination; determine a transmission message for data transmission between the control plane and the forwarding plane in the BRAS; based on the message type of the transmission message, determine the rule-action pair combination as the data load of the transmission message.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented, or the steps of the method described in any one of claim 7 are implemented.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the processor implements the steps of the method described in any one of claims 1 to 6, or implements the steps of the method described in any one of claim 7.
