Network activation method, device, equipment and storage medium

Through automated configuration of network resources, the problems of low efficiency and low accuracy of traditional metropolitan area network Internet dedicated line activation methods are solved, and an efficient network activation process is achieved, reducing errors caused by human operations are reduced.

CN116016169BActive Publication Date: 2024-12-24CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211666181.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-23
Publication Date
2024-12-24
Estimated Expiration
2042-12-23

AI Technical Summary

Technical Problem

The traditional metropolitan area network Internet dedicated line activation method requires manual checksum service testing at different network levels, resulting in low efficiency and low accuracy.

Method used

By obtaining the circuit activation request, network resources (target device, physical port number, IP address, VLAN number and IP gateway number) are determined, and these resources are verified and processed, configuration parameters are generated and sent to the target device, and network resources are automatically configured. Improve activation efficiency and avoid errors caused by human operation.

Benefits of technology

It improves the efficiency of Internet dedicated circuit activation, saves workload, and reduces the repeated order refund problems caused by human operations, improving the accuracy of activation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016169B_ABST
    Figure CN116016169B_ABST
Patent Text Reader

Abstract

The present application provides a network activation method, device, equipment and storage medium. The method includes: obtaining a circuit activation request, the circuit activation request is used to request the activation of an Internet dedicated circuit; determining network resources according to the circuit activation request, the network resources including a target device, a physical port number, an IP Internet Protocol address, a VLAN virtual local area network number and an IP Internet Protocol gateway number; verifying and processing the network resources to obtain a resource status of the network resources, the resource status being an available state or an unavailable state; when the resource status is an available state, generating configuration parameters of the target device, and sending the configuration parameters to the target device. The method of the present application solves the problem of low efficiency and low accuracy of service activation in the traditional activation method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network technology, and in particular to a network activation method, device, equipment and storage medium. Background Art

[0002] With the development of communication technology, the application areas of metropolitan area networks are constantly expanding, and more and more users have put forward higher requirements for the use of metropolitan area networks.

[0003] At present, the process of opening the metropolitan area network Internet dedicated line users can be accepted and opened online. When accepting and opening the service online, it is necessary to first allocate dedicated line resources for the service, and then configure it based on the allocated dedicated line resources, and finally realize the online acceptance and opening of the service based on the configured dedicated line resources.

[0004] The traditional activation method requires relevant configuration for the metropolitan area network service control layer and access layer services, and requires manual verification and service testing at different network levels, resulting in low efficiency and accuracy in service activation. Summary of the invention

[0005] The present application provides a network activation method, device, equipment and storage medium to solve the problem that the traditional activation method requires relevant configuration of the metropolitan area network service control layer and access layer services, and requires manual verification and service testing at different network levels, resulting in low efficiency and low accuracy of service activation.

[0006] On the one hand, the present application provides a network provisioning method, comprising:

[0007] Obtaining a circuit opening request, where the circuit opening request is used to request opening of an Internet dedicated line circuit;

[0008] Determine network resources according to the circuit opening request, wherein the network resources include a target device, a physical port number, an IP Internet Protocol address, a VLAN virtual local area network number, and an IP Internet Protocol gateway number;

[0009] Checking the network resource to obtain a resource status of the network resource, where the resource status is either an available status or an unavailable status;

[0010] When the resource status is an available status, a configuration parameter of the target device is generated, and the configuration parameter is sent to the target device.

[0011] Optionally, checking the network resource to obtain a resource status of the network resource includes:

[0012] Determine a first number of users who can access the target device and a second number of users who can access the physical port number;

[0013] Obtaining the occupation status of the IP address, the VLAN number and the IP gateway number;

[0014] The resource status is determined according to the first quantity, the second quantity, and the occupation status of the IP address, the VLAN number, and the IP gateway number.

[0015] Optionally, determining the resource status according to the first quantity, the second quantity, and occupation status of the IP address, the VLAN, and the IP gateway number includes:

[0016] If the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupation status of the IP address, the VLAN number, and the IP gateway number are all unoccupied, then determining that the resource status is available;

[0017] If at least one of the following conditions is met, the resource status is determined to be unavailable: the first number is less than 1, the second number is less than 1, and the occupancy status of at least one of the IP address, the VLAN number, and the IP gateway number is occupied.

[0018] Optionally, obtaining the occupation status of the IP address includes:

[0019] Get the routing table;

[0020] Determine whether the IP address is included in the routing forwarding table;

[0021] If yes, it is determined that the IP address is occupied;

[0022] If not, it is determined that the IP address is not occupied.

[0023] Optionally, the circuit activation request includes order parameters, and the order parameters include at least one of the following: user identification, bandwidth or product category;

[0024] Determining network resources according to the circuit opening request includes:

[0025] Determining the target device and the physical port number according to the order parameters;

[0026] Automatically generate the IP address and the VLAN number;

[0027] The IP gateway number is generated according to the physical port number and the VLAN number.

[0028] Optionally, generating the IP gateway number according to the physical port number and the VLAN number includes:

[0029] Combining the physical port number and the VLAN number to obtain an initial IP gateway number;

[0030] Obtain an IP gateway list, wherein the IP gateway list includes a plurality of occupied IP gateway numbers;

[0031] If the IP gateway list does not include the initial IP gateway number, determining the initial IP gateway number as the IP gateway number;

[0032] If the IP gateway list includes the initial IP gateway number, the IP gateway number is generated according to the IP gateway list.

[0033] Optionally, obtaining a circuit opening request includes:

[0034] Receiving the circuit opening request sent by the order center;

[0035] After sending the configuration parameters to the target device, the method further includes:

[0036] A response message is sent to the order center, where the response message is used to indicate that the network is successfully activated.

[0037] On the other hand, the present application provides a network provisioning device, including:

[0038] An acquisition module, used to acquire a circuit opening request, wherein the circuit opening request is used to request opening of an Internet dedicated line circuit;

[0039] A determination module, used to determine network resources according to the circuit opening request, wherein the network resources include a target device, a physical port number, an IP address, a VLAN number, and an IP gateway number;

[0040] A checking module, used to check the network resources to obtain the resource status of the network resources, where the resource status is an available status or an unavailable status;

[0041] The sending module is used to generate configuration parameters of the target device and send the configuration parameters to the target device when the resource status is an available status.

[0042] In a possible implementation, the verification module is specifically used to:

[0043] Determine a first number of users who can access the target device and a second number of users who can access the physical port number;

[0044] Obtaining the occupation status of the IP address, the VLAN number and the IP gateway number;

[0045] The resource status is determined according to the first quantity, the second quantity, and the occupation status of the IP address, the VLAN number, and the IP gateway number.

[0046] In a possible implementation, the verification module is specifically used to:

[0047] If the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupation status of the IP address, the VLAN number, and the IP gateway number are all unoccupied, then determining that the resource status is available;

[0048] If at least one of the following conditions is met, the resource status is determined to be unavailable: the first number is less than 1, the second number is less than 1, and the occupancy status of at least one of the IP address, the VLAN number, and the IP gateway number is occupied.

[0049] In a possible implementation, the verification module is specifically used to:

[0050] Get the routing table;

[0051] Determine whether the IP address is included in the routing forwarding table;

[0052] If yes, it is determined that the IP address is occupied;

[0053] If not, it is determined that the IP address is not occupied.

[0054] In a possible implementation, the determination module is specifically used for:

[0055] Determining the target device and the physical port number according to the order parameters;

[0056] Automatically generate the IP address and the VLAN number;

[0057] The IP gateway number is generated according to the physical port number and the VLAN number.

[0058] In a possible implementation, the determination module is specifically used for:

[0059] Combining the physical port number and the VLAN number to obtain an initial IP gateway number;

[0060] Obtain an IP gateway list, wherein the IP gateway list includes a plurality of occupied IP gateway numbers;

[0061] If the IP gateway list does not include the initial IP gateway number, determining the initial IP gateway number as the IP gateway number;

[0062] If the IP gateway list includes the initial IP gateway number, the IP gateway number is generated according to the IP gateway list.

[0063] In a possible implementation, the acquisition module is specifically used for:

[0064] Receiving the circuit opening request sent by the order center;

[0065] After sending the configuration parameters to the target device, the method further includes:

[0066] A response message is sent to the order center, where the response message is used to indicate that the network is successfully activated.

[0067] According to a third aspect of the present application, an electronic device is provided, including:

[0068] Processor and memory;

[0069] Memory stores computer-executable instructions;

[0070] The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs any method in the first aspect.

[0071] In a fourth aspect of the present application, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement a method for determining a driver program for a hardware peripheral as described in any one of the first aspects.

[0072] This embodiment provides a network activation method, device, equipment and storage medium. The method obtains a circuit activation request, the circuit activation request is used to request the activation of an Internet dedicated line circuit; determines network resources according to the circuit activation request, the network resources include a target device, a physical port number, an IP address, a VLAN number and an IP gateway number; verifies and processes the network resources to obtain the resource status of the network resources, the resource status is an available state or an unavailable state; when the resource status is an available state, generates configuration parameters of the target device, and sends the configuration parameters to the target device. The method automates the process of determining network resources according to the circuit activation request, and then verifies the network resources, thereby improving the activation efficiency of the Internet dedicated line circuit, saving workload, and avoiding the problem of repeated order returns due to errors caused by human operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0074] Figure 1A specific application scenario diagram of the network activation method provided in this application;

[0075] Figure 2 The network activation method provided in the embodiment of the present application Figure 1 ;

[0076] Figure 3 The network activation method provided in the embodiment of the present application Figure 2 ;

[0077] Figure 4 The network activation method provided in the embodiment of the present application Figure 3 ;

[0078] Figure 5 The network activation method provided in the embodiment of the present application Figure 4 ;

[0079] Figure 6 A schematic diagram of the structure of a network activation device provided in an embodiment of the present application;

[0080] Figure 7 A hardware structure diagram of the network activation device provided in an embodiment of the present application.

[0081] Description of reference numerals:

[0082] 101-backbone network router A;

[0083] 102-backbone network router B;

[0084] 103-Metropolitan area network CRa of various cities;

[0085] 104- CRb of metropolitan area networks in various cities;

[0086] 105-BNGa;

[0087] 106-BNGb;

[0088] 107-SWa;

[0089] 108-SWb;

[0090] 109-OLTa;

[0091] 110-OLTb.

[0092] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0093] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0094] Figure 1 This is a specific application scenario diagram of the network activation method provided in this application. Figure 1 As shown, the application scenario includes: backbone network router A101, backbone network router B102, local metropolitan area networks CRa103, local metropolitan area networks CRb104, BNGa105, BNGb106, SWa107, SWb108, OLTa109 and OLTb110.

[0095] Among them, CR is the abbreviation of Core Router, BNG is the abbreviation of Broadband Network Gateway, and BNG is mainly used for user and service control, including address allocation. SW is the abbreviation of Switch, a network device composed of input and output interfaces and forwarding logic with the ability to exchange data units such as packets or cells. OLT is the abbreviation of optical line terminal, which is a terminal device used to connect optical fiber trunk lines.

[0096] At present, the way to provide Internet access services to users is to allow Internet dedicated line users to access the physical ports of OLTa109 and OLTb110 or SWa107 and SWb108 switch devices, and access global Internet related content through OLTa109 and OLTb110 (or SWa107 and SWb108) - BNGa105 and BNGb106 - local metropolitan area networks CRa103 and local metropolitan area networks CRb104 - backbone network routers A101 and backbone network routers B102. Among them, the user access layer OLT or SW equipment runs the LAN Ethernet protocol, and the service control layer BNG and above runs the IP layer protocol.

[0097] The present application provides a network activation method, which obtains a circuit activation request, determines network resources according to the circuit activation request, and verifies and processes the network resources to obtain a resource status of the network resources. When the resource status is an available status, the method generates configuration parameters of a target device, sends the configuration parameters to the target device, automates the process of configuring network resources, and then verifies the network resources, thereby improving the activation efficiency of Internet dedicated line circuits, saving workload, and avoiding the problem of repeated order returns due to errors caused by human operations.

[0098] The network activation method provided in this application is intended to solve the above technical problems in the prior art.

[0099] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0100] Figure 2 The network activation method provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, the method of this embodiment includes:

[0101] S201. Obtain a circuit opening request, where the circuit opening request is used to request opening of an Internet dedicated line circuit;

[0102] In this embodiment, the network activation system accepts the circuit activation request and the subsequent processing work. The network activation system is usually composed of multiple systems connected to each other, including an order center, an order arrangement center, a network device resource arrangement module, a business logic arrangement module, a product console module, a network resource verification module, and network devices. The order center is responsible for obtaining the circuit activation request, which usually includes the user's identification, bandwidth, and product category. After obtaining the circuit activation request, the order center will send the activation request to the system responsible for processing the activation request in the network activation system, such as the order arrangement center system, so that the activation request is processed.

[0103] S202, according to the circuit opening request, determine the network resources, the network resources include the target device, the physical port number, the IP Internet Protocol address, the VLAN virtual local area network number and the IP Internet Protocol gateway number;

[0104] In this embodiment, network resources mainly include two types: network device resources and logical resources. Network devices include devices and physical ports accessed by users, such as OLT and SW, etc. Logical resources include IP addresses, VLAN numbers and IP gateway numbers allocated to users.

[0105] IP address (Internet Protocol) refers to the Internet Protocol address. IP address is a unified address format provided by the IP protocol. It assigns a logical address to each network and each host on the Internet to shield the difference in physical addresses.

[0106] When exchanging data, the switch determines which port to forward it to based on the destination Mac address. The Media Access Control Address (MAC) is an address used to confirm the physical location of a network device. It maintains a Mac forwarding table in its memory. When a new Mac address comes and needs to be forwarded, the switch does not have a port record corresponding to this Mac after querying, and will construct an ARP data packet. The Address Resolution Protocol (ARP) is a TCP / IP protocol that obtains the physical address based on the IP address. When the host sends information, it broadcasts the ARP request containing the target IP address to all hosts on the local area network and receives a return message to determine the physical address of the target. The switch forwards it from all ports except the one that receives this data, which is called broadcasting. Its function is to obtain which port the destination Mac address comes from. Every time a new data is received, a broadcast is sent. As long as it is a host under this switch, it needs to process the ARP request. When the network scale is large, there will be a lot of broadcasts, which seriously affects the performance of the network. At this time, VLAN is needed.

[0107] The function of Virtual Local Area Network (VLAN) is to divide the hosts connected to the same switch into smaller logical segments to reduce the number of broadcasts. Different VLANs cannot communicate with each other, so the broadcast is limited to the VLAN of the host with the same business demand. Even if they are connected to the same switch, different VLANs will not receive broadcast ARP requests. The VLAN number is the identifier of different VLANs in the switch.

[0108] The IP gateway number refers to the gateway based on the TCP / IP protocol. In essence, it is the IP address that connects one network to other networks. The gateway selects one of the available IP addresses in the network segment.

[0109] In this embodiment, after receiving the circuit activation request, the network activation system performs network device resource orchestration within the system, that is, allocates devices and physical ports to users, and then performs service logic resource orchestration, that is, allocates IP addresses, VLAN numbers and IP gateway numbers to users.

[0110] S203, checking and processing the network resources to obtain the resource status of the network resources, where the resource status is either available or unavailable;

[0111] In this embodiment, before generating the configuration parameters of the target device, after allocating the user resources in the above steps, the network resources will be checked. The purpose of the check is to ensure that there is no inconsistency between the network resource database and the existing network port resource occupancy due to third-party human operations, resulting in repeated order returns and reallocation of resources, leading to a decrease in the opening efficiency. The objects of the check include the device, physical port number, IP address, VLAN number, and IP gateway number. The check result includes whether the resource is currently available or unavailable.

[0112] S204: When the resource status is an available status, generate configuration parameters of the target device, and send the configuration parameters to the target device.

[0113] In this embodiment, under the premise of determining that the resource status is available, the network provisioning system generates configuration parameters of the target device, including the device, physical port number, IP address, VLAN number and IP gateway number. Thereafter, the network provisioning system sends the configuration parameters to the target device so that the device can be configured.

[0114] Optionally, obtaining a circuit opening request includes:

[0115] Receive circuit opening request sent by the order center;

[0116] After sending the configuration parameters to the target device, it also includes:

[0117] A response message is sent to the order center, indicating that the network is successfully activated.

[0118] In this embodiment, after receiving the activation request sent by the order center, the network activation system performs network resource configuration and network resource verification according to the activation request, determines that the configuration parameters are completed, and sends the configuration parameters to the target device. At this time, the main activation process has ended, so the metropolitan area network controller in the network activation system will obtain the activation result and send a response message to the order center, so that the order center obtains the activation result and notifies the user.

[0119] This embodiment provides a network opening method, which obtains a circuit opening request, the circuit opening request is used to request the opening of an Internet dedicated line circuit; determines network resources according to the circuit opening request, the network resources include a target device, a physical port number, an IP address, a VLAN number, and an IP gateway number; verifies and processes the network resources to obtain the resource status of the network resources, the resource status is an available state or an unavailable state; when the resource status is an available state, generates configuration parameters of the target device, and sends the configuration parameters to the target device. The method automates the process of configuring network resources according to the circuit opening request, and then verifies the network resources, thereby improving the opening efficiency of the Internet dedicated line circuit, saving workload, and avoiding the problem of repeated order returns due to errors caused by human operation.

[0120] Figure 3 The network activation method provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, the method of this embodiment, in Figure 2 On the basis of the illustrated embodiment, the detailed process of checking and processing the network resources to obtain the resource status of the network resources is described.

[0121] S301, determining a first number of accessible users of a target device and a second number of accessible users of a physical port number;

[0122] In this embodiment, the network provisioning system checks the network resources, and first confirms the available status of the network device resources. The network device resources include the target device and the physical port number. The first number of accessible users of the target device is determined, and the first number is used to determine whether the accessible users have idle devices, such as whether there is an OLT or SW that can be accessed by the user. The second number of accessible users of the physical port number is determined, and the second number is used to determine whether there is an idle physical port number on the device of the accessible user.

[0123] S302, obtaining the occupation status of the IP address, VLAN number and IP gateway number;

[0124] In this embodiment, the network activation system checks the network resources and also includes confirmation of the available status of the logical resources. The logical resources include IP addresses, VLAN numbers, and IP gateway numbers. Confirming whether the IP addresses, VLAN numbers, and IP gateway numbers are occupied can avoid the problem of repeated order returns due to the occupation of logical resources. Because the network activation system includes multiple processes when opening a circuit, once an order needs to be returned, it is necessary to go through the operations of multiple systems to reopen the circuit.

[0125] Optionally, obtain the occupation status of the IP address, including:

[0126] Get the routing table;

[0127] Determine whether the routing forwarding table includes the IP address;

[0128] If yes, it is determined that the IP address is occupied;

[0129] If not, it is determined that the IP address is not occupied.

[0130] In this embodiment, the network activation system uses user route tracing technology, that is, the system automatically logs in to the designated IP metropolitan area network router device, queries the running routing forwarding table (FIB table) on the router device, and traverses the routing forwarding table (FIB table) to find whether the user IP address segment to be activated is occupied by the activated circuit, so as to avoid the occupation of the user IP address to be activated due to third-party human operation and other reasons, resulting in repeated return of orders and reallocation of resources, resulting in reduced activation efficiency. The introduction of the user IP resource verification function can improve the accuracy of the automatic activation resource allocation link and the configuration delivery link.

[0131] S303: If the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupation status of the IP address, VLAN number, and IP gateway number are all unoccupied, then determine that the resource status is available;

[0132] In this embodiment, if the first number is greater than or equal to 1, it indicates that the target device of the currently accessible user exists, and if the second number is greater than or equal to 1, it indicates that the physical port number of the currently accessible user exists. At the same time, the occupation status of the IP address, VLAN number, and IP gateway number are all unoccupied, indicating that the resources are in an available state.

[0133] S304. If at least one of the following conditions is met, determine that the resource status is unavailable: the first number is less than 1, the second number is less than 1, and the occupation status of at least one of the IP address, VLAN number, and IP gateway number is occupied.

[0134] In this embodiment, if the first number is less than 1, it means that the target device that the user can currently access does not exist, and if the second number is less than 1, it means that the physical port number that the user can currently access does not exist. At the same time, the occupation status of the IP address, VLAN number, and IP gateway number are all occupied. As long as one of the conditions is met, it means that the network resources required by the user cannot be configured for the user at present, that is, the resources are in an unavailable state.

[0135] This embodiment provides a network activation method, which determines the first number of accessible users of the target device and the second number of accessible users of the physical port number; obtains the occupancy status of the IP address, VLAN number and IP gateway number; if the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupancy status of the IP address, VLAN number and IP gateway number are all unoccupied, then the resource status is determined to be available; if at least one of the following conditions is met, the resource status is determined to be unavailable: the first number is less than 1, the second number is less than 1, and the occupancy status of at least one of the IP address, VLAN number and IP gateway number is occupied. The method confirms whether the current resources are available by confirming the status of the target device, physical port number, IP address, VLAN number and IP gateway number, and performs a comprehensive check and processing before configuring resources to avoid repeated cancellations that reduce the efficiency of circuit activation.

[0136] Figure 4 The network activation method provided in the embodiment of the present application Figure 3 .like Figure 4 As shown, the method of this embodiment, in Figure 2 Based on the illustrated embodiment, a detailed process of determining network resources according to a circuit activation request is described.

[0137] S401, determining the target device and physical port number according to the order parameters;

[0138] In this embodiment, the circuit opening request includes order parameters, and the order parameters include at least one of the following: user identification, bandwidth, or product category. After receiving the circuit opening request, the network opening system will parse it and obtain the order parameters therein. The user identification includes the area where the user is located, the bandwidth refers to the network bandwidth required by the user, and the product category refers to different types of network products at different times. The network opening system determines the corresponding target device and physical port number based on the user identification, the network bandwidth specified by the user, and the product category.

[0139] S402, automatically generate IP address and VLAN number;

[0140] In this embodiment, the network activation system generates a new IP address according to the user identification, bandwidth or product category, and determines an unused VLAN number in the switch.

[0141] S403, combining the physical port number and the VLAN number to obtain an initial IP gateway number;

[0142] In this embodiment, the network opening system introduces the IP gateway number occupation re-arrangement function, that is, in the resource allocation link of the Internet dedicated line circuit, the physical port number plus the VLAN number (separated by "." in the middle) is used as the user IP gateway number by default. The network opening system can use the above default rules to automatically log in to the specified IP metropolitan area network router device.

[0143] S404, obtaining an IP gateway list, the IP gateway list including a plurality of occupied IP gateway numbers;

[0144] In this embodiment, the network activation system uses the user IP gateway number to log in to the specified IP metropolitan area network router device and obtain the IP gateway list, the purpose of which is to traverse the existing IP gateway numbers of the device and query whether the user IP gateway number to be activated is occupied.

[0145] S405: If the IP gateway list does not include the initial IP gateway number, the initial IP gateway number is determined as the IP gateway number;

[0146] S406: If the IP gateway list includes the initial IP gateway number, generate the IP gateway number according to the IP gateway list.

[0147] In this embodiment, if the IP gateway list includes the initial IP gateway number, it means that the IP gateway number has been occupied. At this time, according to the result of traversing the existing IP gateway numbers of the device, an unoccupied IP gateway number is automatically generated as the user IP gateway number to be opened. Compared with the previous semi-automatic method (automatically allocating physical port resources and manually allocating logical resources), the efficiency of the resource allocation link can be greatly improved.

[0148] This embodiment provides a network activation method, which determines the target device and physical port number according to the order parameters; automatically generates an IP address and a VLAN; combines the physical port number and the VLAN number to obtain an initial IP gateway number; obtains an IP gateway list, which includes multiple occupied IP gateway numbers; if the IP gateway list does not include the initial IP gateway number, the initial IP gateway number is determined as the IP gateway number; if the IP gateway list includes the initial IP gateway number, the IP gateway number is generated according to the IP gateway list. The method uses the combination of the physical port number and the VLAN number as the user IP gateway number, logs in to the router device and traverses the existing user IP gateway numbers of the device to check for duplicates. If there is overlap, the user IP gateway number is generated based on the traversal results, which greatly improves the efficiency of the resource allocation link.

[0149] The technical solution of the present application is described in detail below with a specific embodiment.

[0150] Figure 5The network activation method provided in the embodiment of the present application Figure 4 .like Figure 5 As shown in the figure, the network activation system is composed of multiple interconnected systems including the order center, order arrangement center, network equipment resource orchestration module, business logic orchestration module, product console module, network resource verification module, and network equipment. The automatic activation of Internet dedicated lines is divided into two links: the business circuit resource orchestration link and the business configuration delivery link.

[0151] The service circuit resource orchestration includes the following process: the user order center sends the Internet dedicated line circuit activation demand form to the order arrangement center, the order arrangement center converts the demand form into an activation order and sends it to the network device resource orchestration module, the network device resource orchestration module allocates the user access device and physical port for the order and sends it to the business logic resource orchestration module, the business logic resource orchestration module allocates the IP address, VLAN and IP gateway number for the order and sends it to the product console, the product console calls the network resource verification module, the network resource verification module verifies whether the corresponding network resources on the network can be used to access new users, and feeds back the results to the order arrangement center

[0152] The service configuration delivery includes the following process: After the above-mentioned resource allocation verification link is completed, the order arrangement center sends the Internet dedicated line service activation application form to the product console. The product console calls the network resource verification module again to verify whether the network resource information in the activation application form is available. Then the product console calls the metropolitan area network controller to deliver the configuration capability. The metropolitan area network controller sends the configuration command to the network device and feeds back the execution results to the user order center step by step. The user order center stores the user completion information in the database.

[0153] Figure 6 This is a schematic diagram of the structure of a network provisioning device provided in an embodiment of the present application. The device of this embodiment may be in the form of software and / or hardware. Figure 6 As shown, a network provisioning device 600 provided in an embodiment of the present application includes an acquisition module 601, a determination module 602, a verification module 603 and a sending module 604.

[0154] An acquisition module 601 is used to acquire a circuit opening request, where the circuit opening request is used to request opening of an Internet dedicated line circuit;

[0155] The determination module 602 is used to determine the network resources according to the circuit opening request, and the network resources include the target device, the physical port number, the IP address, the VLAN number and the IP gateway number;

[0156] The checking module 603 is used to check the network resources and obtain the resource status of the network resources, where the resource status is either available or unavailable;

[0157] The sending module 604 is used to generate configuration parameters of the target device and send the configuration parameters to the target device when the resource status is an available status.

[0158] In a possible implementation, the verification module is specifically used to:

[0159] Determine a first number of users who can access the target device and a second number of users who can access the physical port number;

[0160] Get the occupation status of IP address, VLAN number and IP gateway number;

[0161] The resource status is determined according to the first quantity, the second quantity, and the occupation status of the IP address, the VLAN number, and the IP gateway number.

[0162] In a possible implementation, the verification module is specifically used to:

[0163] If the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupation status of the IP address, the VLAN number, and the IP gateway number are all unoccupied, then the resource status is determined to be available;

[0164] If at least one of the following conditions is met, the resource state is determined to be unavailable: the first number is less than 1, the second number is less than 1, and the occupation state of at least one of the IP address, VLAN number, and IP gateway number is occupied.

[0165] In a possible implementation, the verification module is specifically used to:

[0166] Get the routing table;

[0167] Determine whether the routing forwarding table includes the IP address;

[0168] If yes, it is determined that the IP address is occupied;

[0169] If not, it is determined that the IP address is not occupied.

[0170] In a possible implementation, the determination module is specifically used for:

[0171] Determine the target device and physical port number based on the order parameters;

[0172] Automatically generate IP address and VLAN number;

[0173] Generate an IP gateway number based on the physical port number and VLAN number.

[0174] In a possible implementation, the determination module is specifically used for:

[0175] Combine the physical port number and the VLAN number to obtain the initial IP gateway number;

[0176] Get the IP gateway list, which includes multiple occupied IP gateway numbers;

[0177] If the IP gateway list does not include the initial IP gateway number, the initial IP gateway number is determined as the IP gateway number;

[0178] If the IP gateway list includes the initial IP gateway number, the IP gateway number is generated according to the IP gateway list.

[0179] In a possible implementation, the acquisition module is specifically used for:

[0180] Receive circuit opening request sent by the order center;

[0181] After sending the configuration parameters to the target device, it also includes:

[0182] A response message is sent to the order center, indicating that the network is successfully activated.

[0183] The network provisioning device provided in this embodiment can be used to execute the above method embodiments, and its implementation principle and technical effects are similar, which will not be described in detail in this embodiment.

[0184] Figure 7 This is a hardware structure diagram of the network provisioning device provided in the embodiment of the present application. Figure 7 As shown, the network provisioning device 700 includes:

[0185] Processor 701 and memory 702;

[0186] Memory stores computer-executable instructions;

[0187] The processor executes the computer-executable instructions stored in the memory 702, so that the electronic device executes the network provisioning method as described above.

[0188] It should be understood that the processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), or application-specific integrated circuits (ASIC). A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The memory 702 may include a high-speed random access memory (RAM), or may also include a non-volatile memory (NVM), such as at least one disk memory, or may be a USB flash drive, a mobile hard disk, a read-only memory, a disk, or an optical disk.

[0189] The embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, a network activation method is implemented.

[0190] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0191] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0192] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A network activation method, characterized in that: include: Obtaining a circuit opening request, where the circuit opening request is used to request opening of an Internet dedicated line circuit; The circuit opening request includes order parameters, and the order parameters include at least one of the following: user identification, bandwidth or product category; Determine network resources according to the circuit opening request, wherein the network resources include a target device, a physical port number, an IP Internet Protocol address, a VLAN virtual local area network number, and an IP Internet Protocol gateway number; Checking the network resource to obtain a resource status of the network resource, where the resource status is either an available status or an unavailable status; When the resource state is an available state, generating configuration parameters of the target device, and sending the configuration parameters to the target device; The determining of network resources according to the circuit opening request includes: Determining the target device and the physical port number according to the order parameters; Generate a new IP address based on user ID, bandwidth or product category, and determine an unused VLAN number in the switch; Combining the physical port number and the VLAN number to obtain an initial IP gateway number; Obtain an IP gateway list, wherein the IP gateway list includes a plurality of occupied IP gateway numbers; If the IP gateway list does not include the initial IP gateway number, determining the initial IP gateway number as the IP gateway number; If the IP gateway list includes the initial IP gateway number, generating the IP gateway number according to the IP gateway list; The checking and processing of the network resource to obtain the resource status of the network resource includes: First, confirm the available status of network device resources, the network device resources including the target device and the physical port number, determine a first number of users who can access the target device and a second number of users who can access the physical port number; Confirming the available status of the logical resources, the logical resources including the IP address, the VLAN number and the IP gateway number, and obtaining the occupation status of the IP address, the VLAN number and the IP gateway number; If the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupation status of the IP address, the VLAN number, and the IP gateway number are all unoccupied, then determining that the resource status is available; If at least one of the following conditions is met, the resource status is determined to be unavailable: the first number is less than 1, the second number is less than 1, and the occupancy status of at least one of the IP address, the VLAN number, and the IP gateway number is occupied.

2. The method according to claim 1, characterized in that Obtaining the occupation status of the IP address, including: Get the routing table; Determine whether the IP address is included in the routing forwarding table; If yes, it is determined that the IP address is occupied; If not, it is determined that the IP address is not occupied.

3. The method according to any one of claims 1 to 2, characterized in that: Get circuit opening request, including: Receiving the circuit opening request sent by the order center; After sending the configuration parameters to the target device, the method further includes: A response message is sent to the order center, where the response message is used to indicate that the network is successfully activated.

4. A network provisioning device, characterized in that: include: An acquisition module, used to acquire a circuit opening request, wherein the circuit opening request is used to request opening of an Internet dedicated line circuit; The circuit opening request includes order parameters, and the order parameters include at least one of the following: user identification, bandwidth or product category; A determination module, used to determine network resources according to the circuit opening request, wherein the network resources include a target device, a physical port number, an IP address, a VLAN number, and an IP gateway number; A checking module, used to check the network resources to obtain the resource status of the network resources, where the resource status is an available status or an unavailable status; A sending module, used for generating configuration parameters of the target device and sending the configuration parameters to the target device when the resource status is an available status; The determination module is specifically used to determine the target device and the physical port number according to the order parameters; generate a new IP address according to the user identification, bandwidth or product category, and determine an unused VLAN number in the switch; combine the physical port number and the VLAN number to obtain an initial IP gateway number; Obtain an IP gateway list, wherein the IP gateway list includes a plurality of occupied IP gateway numbers; If the IP gateway list does not include the initial IP gateway number, the initial IP gateway number is determined as the IP gateway number; if the IP gateway list includes the initial IP gateway number, the IP gateway is generated according to the IP gateway list; The checking module is specifically used to first confirm the available status of network device resources, the network device resources include the target device and the physical port number, determine the first number of users who can access the target device and the second number of users who can access the physical port number; confirm the available status of logical resources, the logical resources include the IP address, the VLAN number and the IP gateway number, and obtain the occupation status of the IP address, the VLAN number and the IP gateway number; If the first number is greater than or equal to 1, the second number is greater than or equal to 1, and the occupancy status of the IP address, the VLAN number, and the IP gateway number are all unoccupied, then the resource status is determined to be an available state; if at least one of the following conditions is met, the resource status is determined to be an unavailable state: the first number is less than 1, the second number is less than 1, and the occupancy status of at least one of the IP address, the VLAN number, and the IP gateway number is an occupied state.

5. An electronic device comprising: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement a network activation method according to any one of claims 1 to 3.

7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the network activation method described in any one of claims 1 to 3 is implemented.