A method and device for automatically opening SPN data dedicated line service
By automatically processing SPN data dedicated line business work orders, the automatic activation of SPN data dedicated line business is realized, solving the problem of low activation efficiency in the existing technology, improving the activation efficiency and accuracy, and supporting the rapid launch of the service.
Patent Information
- Application Number
- CN202211674852.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-26
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-12-26
AI Technical Summary
There are a lot of manual links in the process of opening the existing SPN data dedicated line service, which leads to low activation efficiency and is difficult to support the rapid launch of the business, affecting market expansion.
Provides a method for automatically activate SPN data dedicated line services, which automatically assigns slicing and selects the shortest path by real-time reception of service work orders, generates network configuration data, and calls the transmission workbench to issue configuration instructions, and uses the fault monitoring system to verify the correctness of the instructions. Achieve automated activation.
It has improved the efficiency of SPN data dedicated line service, reduced manual operation errors, supported the rapid launch of the business, and improved the market expansion capabilities.
Smart Images

Figure CN116112420B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of real-time processing of SPN data dedicated line services, and in particular to a method and device for automatically opening a SPN data dedicated line service. Background Art
[0002] With the rapid development of Slicing Packet Network (SPN) data dedicated line services, the business process requirements are more flexible and diverse, and there are also very high requirements for rapid product launch and delivery, automated operation and maintenance, and intelligent scheduling. However, the current SPN data dedicated line services are all long processes, and most of the links such as acceptance, return, solution design, review, testing, and acceptance are manual links. Resource allocation is also mostly manual, with low launch efficiency, making it difficult to support rapid business launch, which is not conducive to market expansion. Summary of the invention
[0003] In view of this, the main purpose of the present invention is to provide a method and device for automatically activating SPN data dedicated line services, which realizes automatic activation of SPN data dedicated line services, shields manual operation errors, and improves activation efficiency.
[0004] To achieve the above objectives, on the one hand, the present application provides a method for automatically activating a SPN data dedicated line service, comprising:
[0005] A. Receive SPN data line service work orders in real time, where the service work orders include: service scenario, service parameters, product type, customer service level, service bandwidth, service guarantee level, A-end access address, Z-end access address, required nodes, and customer code;
[0006] B. Allocate slices according to the product type; select the site closest to the A-end access address and the site closest to the Z-end access address; access the resources of each selected site, find the site with the most sufficient resources among the sites closest to the A-end access address as the A-end network element, and find the site with the most sufficient resources among the sites closest to the Z-end access address as the Z-end network element; according to the type of allocated slices, select the idle device port of the A-end network element as the A-end port, and select the idle device port of the Z-end network element as the Z-end port; determine the shortest path from the A-end port to the Z-end port in the SPN network topology that passes through the necessary nodes; from the determined shortest paths, select the shortest path that meets the pre-set selection conditions as the optimal design solution;
[0007] C. Configure resources based on the optimal design solution, customer service level, service bandwidth, and service assurance level, and generate network configuration data;
[0008] D. Encapsulate network configuration data, business scenarios and business parameters into configuration instructions, and call the transmission workbench to send the configuration instructions to the corresponding SPN network devices;
[0009] E. Call the fault monitoring system to verify whether the configuration instructions are issued correctly; if yes, the activation is successful; if not, return to step B.
[0010] In a possible implementation, the allocating slices includes:
[0011] The product type is the basic version - slice dedicated line, allocated shared large network slices; the product type is the advanced version - premium slice dedicated line, allocated exclusive slices for customers; the product type is the customized version - industry slice private network, allocated shared slices for customers.
[0012] In another possible implementation, determining the shortest path includes:
[0013] Collect data sets to generate SPN network topology;
[0014] Arrange all the necessary nodes to generate a necessary node matrix M with n*(n-1) rows and n columns; take the first necessary node in each row of M as an element to form the starting matrix M1; take the last necessary node in each row of M as an element to form the end matrix Mn, and calculate the shortest path that passes through the necessary nodes in each row of the matrix M in sequence;
[0015] Calculate the shortest path from the A-end port to each necessary node in M1; calculate the shortest path from each necessary node in Mn to the Z-end port;
[0016] The shortest path from the A-port to each necessary node in M1, the shortest path that sequentially passes through the necessary nodes in each row of matrix M, and the shortest path from each necessary node in Mn to the Z-port are connected to obtain the determined shortest path.
[0017] On the other hand, the present application also provides an automatic activation device for SPN data dedicated line services, including: a receiving unit, a scheme design unit, a configuration unit, an instruction issuing unit and a verification unit; wherein,
[0018] The receiving unit is used to receive the SPN data line service work order in real time, wherein the service work order includes: service scenario, service parameters, product type, customer service level, service bandwidth, service guarantee level, A-end access address, Z-end access address, necessary nodes, and customer code;
[0019] A scheme design unit is used to allocate slices according to the product type; screen out the site closest to the A-end access address and the site closest to the Z-end access address; access the resources of each screened site, find out the site with the most sufficient resources among the sites closest to the A-end access address as the A-end network element, and find out the site with the most sufficient resources among the sites closest to the Z-end access address as the Z-end network element; according to the type of allocated slices, select the idle device port of the A-end network element as the A-end port, and select the idle device port of the Z-end network element as the Z-end port; determine the shortest path that passes through the necessary nodes in the path from the A-end port to the Z-end port in the SPN network topology; from the determined shortest paths, select the shortest path that meets the pre-set selection conditions as the optimal design scheme;
[0020] A configuration unit, used to configure resources according to the optimal design solution, customer service level, service bandwidth, and service guarantee level, and generate network configuration data;
[0021] The instruction issuing unit is used to encapsulate the network configuration data, business scenarios and business parameters into configuration instructions, and call the transmission workbench to issue the configuration instructions to the corresponding SPN network equipment;
[0022] The verification unit is used to call the fault monitoring system to verify whether the configuration instructions are correctly issued, and if they are correctly issued, confirm that the activation is successful; if they are not correctly issued, notify the solution design unit to redesign the optimal design solution.
[0023] In a possible implementation, when allocating slices, the solution design unit is specifically used for allocating shared large network slices when the product type is the basic version - slice dedicated line; allocating exclusive slices for customers when the product type is the advanced version - premium slice dedicated line; and allocating shared slices for customers when the product type is the customized version - industry slice private network.
[0024] In another possible implementation, when determining the shortest path, the solution design unit is specifically used to:
[0025] Collect data sets to generate SPN network topology;
[0026] Arrange all the necessary nodes to generate a necessary node matrix M with n*(n-1) rows and n columns; take the first necessary node in each row of M as an element to form the starting matrix M1; take the last necessary node in each row of M as an element to form the end matrix Mn, and calculate the shortest path that passes through the necessary nodes in each row of the matrix M in sequence;
[0027] Calculate the shortest path from the A-end port to each necessary node in M1; calculate the shortest path from the Z-end port to each necessary node in Mn;
[0028] The shortest path from the A-port to each necessary node in M1, the shortest path that sequentially passes through the necessary nodes in each row of matrix M, and the shortest path from each necessary node in Mn to the Z-port are connected to obtain the determined shortest path. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 The present invention is a flowchart of a method for automatically activating an SPN data dedicated line service according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] Specifically, the process of the automatic activation method of SPN data dedicated line service in the embodiment of the present invention is as follows: Figure 1 As shown, it includes steps 101 to 105.
[0031] Step 101: Receive the SPN data line service work order in real time, where the service work order includes: service scenario, service parameters, product type, customer service level, service bandwidth, service guarantee level, A-end access address, Z-end access address, required nodes, and customer code;
[0032] Step 102: Allocate slices according to the product type; select the site closest to the A-end access address and the site closest to the Z-end access address; access the resources of each selected site, find the site with the most sufficient resources among the sites closest to the A-end access address as the A-end network element, and find the site with the most sufficient resources among the sites closest to the Z-end access address as the Z-end network element; select the idle device port of the A-end network element as the A-end port according to the type of allocated slices, and select the idle device port of the Z-end network element as the Z-end port; determine the shortest path from the A-end port to the Z-end port in the SPN network topology that passes through the necessary nodes; from the determined shortest paths, select the shortest path that meets the pre-set selection conditions as the optimal design solution;
[0033] Step 103: Allocate resources according to the optimal design solution, customer service level, service bandwidth, and service guarantee level, and generate network configuration data;
[0034] Step 104: Encapsulate the network configuration data, business scenarios and business parameters into configuration instructions, and call the transmission workbench to send the configuration instructions to the corresponding SPN network devices;
[0035] Step 105: Call the fault monitoring system to verify whether the configuration instruction is correctly issued; if yes, the activation is successful and the task is completed; if not, return to execute steps 102 to 105.
[0036] Among them, in step 101, the SPN data dedicated line service work order is received in real time, implemented using the RESTFUL interface based on the HTTP protocol, and nginx load balancing is used to handle high-concurrency requests to maintain efficient service.
[0037] In step 102, the selection conditions include: the shortest path and / or no repeated nodes and / or no loops.
[0038] In step 103, the configuration data includes circuit configuration data and circuit routing configuration data. The circuit data includes: circuit code, A-end computer room, A-end network element, A-end port, A-end VLAN, Z-end computer room, Z-end network element, Z-end port, Z-end VLAN, circuit bandwidth, protection mode, etc.; the circuit routing configuration data includes: routing type (primary, backup), routing segment sequence number, routing segment A-end network element and port information, routing segment Z-end network element and port information, etc.
[0039] Here, the configuration of VLAN resources is achieved by building a VLAN resource pool, specifically: managing idle and used VLANs at the three levels of network elements, ports, and VLANs to implement VLAN resource configuration.
[0040] In step 105, verify whether the configuration instruction is correctly issued, specifically: the alarm serial number, alarm title, alarm level, alarm occurrence time, alarm clearing time, network element name, positioning information, circuit number and network element information obtained by the fault monitoring system are compared to see whether the obtained network element name, positioning information, circuit number and network element information are consistent with the corresponding information in the configuration instruction. If they are consistent, it is considered to be correctly issued; otherwise, it is considered to have not been correctly issued.
[0041] In a possible implementation, in step 102, allocating slices includes:
[0042] The product type is the basic version - slice dedicated line, allocated shared large network slices; the product type is the advanced version - premium slice dedicated line, allocated exclusive slices for customers; the product type is the customized version - industry slice private network, allocated shared slices for customers.
[0043] Here, the product types are defined as basic version - dedicated slice line, advanced version - premium slice line, and customized version - industry slice private network, corresponding to shared large network slice, exclusive slice for customers, and shared slice for customers. Among them, shared large network slice and shared slice for customers use the Quality of Service (QoS) scheduling mechanism to complete the scheduling between different services within the slice, while exclusive slice for customers uses FGU small particle technology to further complete the strict hard isolation between different services within the slice.
[0044] In another possible implementation, in step 102, determining the shortest path includes:
[0045] Collect data sets to generate SPN network topology;
[0046] Arrange all the necessary nodes to generate a necessary node matrix M with n*(n-1) rows and n columns; take the first necessary node in each row of M as an element to form the starting matrix M1; take the last necessary node in each row of M as an element to form the end matrix Mn, and calculate the shortest path that passes through the necessary nodes in each row of the matrix M in sequence;
[0047] Calculate the shortest path from the A-end port to each necessary node in M1; calculate the shortest path from each necessary node in Mn to the Z-end port;
[0048] The shortest path from the A-port to each necessary node in M1, the shortest path that sequentially passes through the necessary nodes in each row of matrix M, and the shortest path from each necessary node in Mn to the Z-port are connected to obtain the determined shortest path.
[0049] Here, the shortest path from the A-port to each necessary node in M1, the shortest path sequentially passing through each row of the matrix M, and the shortest path from each necessary node in Mn to the Z-port are all calculated using the Dijkstra algorithm.
[0050] If the business work order also includes the unavoidable nodes, the unavoidable nodes are removed from the collected data set.
[0051] In another possible implementation, the better shortest paths can also be displayed to the user, and the user can select one of them as the optimal design solution. For example, the determined shortest paths are sorted from short to long, and the top five paths are displayed to the user, and the user can select one of the five paths as the optimal design solution.
[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. A method for automatically opening a SPN data line service, characterized in that: include: A. Receive SPN data line service work orders in real time, where the service work orders include: service scenario, service parameters, product type, customer service level, service bandwidth, service guarantee level, A-end access address, Z-end access address, required nodes, and customer code; B. Allocate slices according to the product type; select the site closest to the A-end access address and the site closest to the Z-end access address; access the resources of each selected site, find the site with the most sufficient resources among the sites closest to the A-end access address as the A-end network element, and find the site with the most sufficient resources among the sites closest to the Z-end access address as the Z-end network element; according to the type of allocated slices, select the idle device port of the A-end network element as the A-end port, and select the idle device port of the Z-end network element as the Z-end port; determine the shortest path from the A-end port to the Z-end port in the SPN network topology that passes through the necessary nodes; from the determined shortest paths, select the shortest path that meets the pre-set selection conditions as the optimal design solution; C. Configure resources based on the optimal design solution, customer service level, service bandwidth, and service assurance level, and generate network configuration data; D. Encapsulate network configuration data, business scenarios and business parameters into configuration instructions, and call the transmission workbench to send the configuration instructions to the corresponding SPN network devices; E. Call the fault monitoring system to verify whether the configuration instructions are issued correctly; if yes, the activation is successful; if not, return to execute steps B to E.
2. The method according to claim 1, characterized in that The allocation slice comprises: The product type is the basic version - slice dedicated line, allocated shared large network slices; the product type is the advanced version - premium slice dedicated line, allocated exclusive slices for customers; the product type is the customized version - industry slice private network, allocated shared slices for customers.
3. The method according to claim 1 or 2, characterized in that: Determining the shortest path includes: Collect data sets to generate SPN network topology; Arrange all the necessary nodes to generate a necessary node matrix M with n*(n-1) rows and n columns; take the first necessary node in each row of M as an element to form the starting matrix M1; take the last necessary node in each row of M as an element to form the end matrix Mn, and calculate the shortest path that passes through the necessary nodes in each row of the matrix M in sequence; Calculate the shortest path from the A-end port to each necessary node in M1; calculate the shortest path from each necessary node in Mn to the Z-end port; The shortest path from the A-port to each necessary node in M1, the shortest path that sequentially passes through the necessary nodes in each row of matrix M, and the shortest path from each necessary node in Mn to the Z-port are connected to obtain the determined shortest path.
4. A device for automatically opening a SPN data line service, characterized in that: include: Receiving unit, scheme design unit, configuration unit, instruction issuing unit and verification unit; wherein, The receiving unit is used to receive the SPN data line service work order in real time, wherein the service work order includes: service scenario, service parameters, product type, customer service level, service bandwidth, service guarantee level, A-end access address, Z-end access address, necessary nodes, and customer code; A scheme design unit is used to allocate slices according to the product type; screen out the site closest to the A-end access address and the site closest to the Z-end access address; access the resources of each screened site, find out the site with the most sufficient resources among the sites closest to the A-end access address as the A-end network element, and find out the site with the most sufficient resources among the sites closest to the Z-end access address as the Z-end network element; according to the type of allocated slices, select the idle device port of the A-end network element as the A-end port, and select the idle device port of the Z-end network element as the Z-end port; determine the shortest path that passes through the necessary nodes in the path from the A-end port to the Z-end port in the SPN network topology; from the determined shortest paths, select the shortest path that meets the pre-set selection conditions as the optimal design scheme; A configuration unit, used to configure resources according to the optimal design solution, customer service level, service bandwidth, and service guarantee level, and generate network configuration data; The instruction issuing unit is used to encapsulate the network configuration data, business scenarios and business parameters into configuration instructions, and call the transmission workbench to issue the configuration instructions to the corresponding SPN network equipment; The verification unit is used to call the fault monitoring system to verify whether the configuration instructions are correctly issued, and if they are correctly issued, confirm that the activation is successful; if they are not correctly issued, notify the solution design unit to redesign the optimal design solution.
5. The device according to claim 4, characterized in that When allocating slices, the solution design unit is specifically used for allocating shared large network slices when the product type is the basic version - slice dedicated line; and allocating exclusive slices for customers when the product type is the advanced version - premium slice dedicated line; The product type is a customized version - industry slice private network, allocating customer shared slices.
6. The device according to claim 4 or 5, characterized in that When determining the shortest path, the scheme design unit is specifically used to: Collect data sets to generate SPN network topology; Arrange all the necessary nodes to generate a necessary node matrix M with n*(n-1) rows and n columns; take the first necessary node in each row of M as an element to form the starting matrix M1; take the last necessary node in each row of M as an element to form the end matrix Mn, and calculate the shortest path that passes through the necessary nodes in each row of the matrix M in sequence; Calculate the shortest path from port A to each necessary node in M1; Calculate the shortest path from the Z port to each necessary node in Mn; The shortest path from the A-port to each necessary node in M1, the shortest path that sequentially passes through the necessary nodes in each row of matrix M, and the shortest path from each necessary node in Mn to the Z-port are connected to obtain the determined shortest path.
