Special line opening scheme output method and device and readable storage medium

By using a chain-of-responsibility model processor to verify and screen data centers, equipment, ports, and fiber optic resources, the inefficiency and errors caused by manual configuration in existing technologies are solved, and efficient and accurate dedicated line activation solutions are output.

CN120979923APending Publication Date: 2025-11-18CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511138681.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing dedicated line activation solutions rely on manual configuration, resulting in low activation efficiency and a high risk of errors.

Method used

Multiple processors (data center processor, equipment processor, port processor, and fiber optic processor) using the chain of responsibility model start from the initial data center where the leased line is activated, and sequentially verify and screen the data center, equipment, ports, and fiber optic resources to output a leased line activation plan, replacing manual configuration.

Benefits of technology

It significantly improves the efficiency of dedicated line activation, avoids errors caused by manual configuration, and enhances the accuracy of the solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120979923A_ABST
    Figure CN120979923A_ABST
Patent Text Reader

Abstract

The invention provides a special line opening scheme output method and device and a readable storage medium. The method comprises the steps of receiving service information corresponding to a special line product needing to be opened and selected and / or input by a user through a front-end page; based on the service information, a plurality of processors in a chain of responsibility check and screen machine rooms, equipment, ports and optical fiber resources in sequence by taking a starting machine room opened by a special line as a starting point, and output a special line opening scheme comprising special line opening path and / or equipment and port information, in the responsibility chain mode, a plurality of processors are connected in series to form a chain, so that a request for opening a private line is processed layer by layer according to a preset sequence, and the plurality of processors comprise a machine room processor, an equipment processor, a port processor and an optical fiber processor. According to the method, the device and the readable storage medium, the problems that an existing private line opening scheme depends on manual configuration output, so that the opening efficiency is low, and errors are likely to occur can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular to a method and device for outputting a dedicated line opening scheme and a readable storage medium. BACKGROUND

[0002] Currently, the opening of a dedicated line requires multiple steps, including business acceptance, resource verification, allocation and configuration, etc. When opening a dedicated line, a customer looks for a device that can open a dedicated line for the customer. The device is stored in a machine room, and the two ends of the optical cable are connected to the machine room and the optical distribution box. The customer's location is usually the machine room. If the machine room is regarded as a point, starting from this point, the device that meets the business can pass through countless machine rooms and devices, and finally a corresponding dedicated line opening scheme is generated.

[0003] However, the existing dedicated line opening scheme relies on manual configuration output, resulting in low opening efficiency and easy errors. SUMMARY

[0004] The present application aims to solve the above problems in the prior art and provides a method and device for outputting a dedicated line opening scheme and a readable storage medium to solve the problem that the existing dedicated line opening scheme relies on manual configuration output, resulting in low opening efficiency and easy errors.

[0005] In a first aspect, the present application provides a method for outputting a dedicated line opening scheme, comprising:

[0006] receiving business information corresponding to a dedicated line product to be opened selected and / or input by a user through a front-end page;

[0007] based on the business information, checking and screening machine rooms, devices, ports and optical fiber resources in turn from a starting machine room of the dedicated line opening by a plurality of processors in a chain of responsibility mode, and outputting a dedicated line opening scheme including a path and / or device and port information of the dedicated line opening, wherein the chain of responsibility mode connects the plurality of processors in series to form a chain, so that the request for the dedicated line opening is processed layer by layer in a predetermined order, and the plurality of processors include a machine room processor, a device processor, a port processor and an optical fiber processor.

[0008] Further, the business information includes the number of optical cable cores, circuit rate and port type, and the checking and screening of the machine rooms, devices, ports and optical fiber resources in turn from the starting machine room of the dedicated line opening by the plurality of processors in the chain of responsibility mode based on the business information, and the output of the dedicated line opening scheme including the path and / or device and port information of the dedicated line opening, specifically includes:

[0009] find out a machine room as a starting machine room from machine rooms within a range of a station to which the installation address belongs through a machine room processor, and judge whether there is idle equipment in the starting machine room;

[0010] in response to the idle equipment in the starting machine room, select equipment and ports of the dedicated line opening in the starting machine room based on the circuit rate and the port type through the equipment processor and the port processor, and output the dedicated line opening scheme;

[0011] in response to the idle equipment in the starting machine room, select equipment and ports of the dedicated line opening in the starting machine room based on the circuit rate and the port type through the equipment processor and the port processor, and output the dedicated line opening scheme;

[0012] Further, the plurality of processors further include a station processor; and the service information further includes the installation address;

[0013] Before the finding out of the machine room as the starting machine room through the machine room processor from the machine rooms within the range of the station to which the installation address belongs, the method further includes:

[0014] locating the range of the station to which the installation address belongs through the station processor according to the installation address corresponding to the dedicated line product to be opened.

[0015] Further, the finding out of the machine room as the starting machine room through the machine room processor from the machine rooms within the range of the station to which the installation address belongs specifically includes:

[0016] querying the machine room with the value of the network level attribute as a metropolitan user end through the machine room processor from the machine rooms within the range of the station to which the installation address belongs;

[0017] if the machine room with the value of the network level attribute as the metropolitan user end is queried, taking the machine room as the starting machine room through the machine room processor;

[0018] if the machine room with the value of the network level attribute as the metropolitan user end is not queried, querying the machine room with the value of the network level attribute as a metropolitan access machine room, a point of presence (POP) point, a metropolitan convergence machine room, a metropolitan core machine room, and a backbone core machine room and the value of the machine room type attribute as a fixed network access through the machine room processor from the machine rooms within the range of the station to which the installation address belongs, and taking the machine room as the starting machine room.

[0019] Further, the device processor and the port processor select the device and the port in the starting machine room for the dedicated line opening based on the circuit rate and the port type, specifically comprising:

[0020] The device processor sorts the devices in the starting machine room according to the device network element number;

[0021] For each sorted device, the device processor checks whether the uplink transmission segment of the device meets the circuit rate;

[0022] In response to the uplink transmission segment of the device meeting the circuit rate, the port processor checks whether the device has an idle port;

[0023] In response to the device having an idle port, the port processor checks whether the idle port has a port of the port type;

[0024] In response to the idle port having a port of the port type, the device and the port are selected as the device and the port for the dedicated line opening.

[0025] Further, the fiber processor selects the effective paths to all other machine rooms based on the optical cable topology information of the starting machine room and the optical cable core number, specifically comprising:

[0026] The fiber processor selects the effective paths to all other machine rooms according to the type and the core utilization rate of the optical cable between the starting machine room and all other machine rooms in the optical cable topology information of the starting machine room and the optical cable core number.

[0027] Further, the effective path refers to a path between the starting machine room and other machine rooms, in which the type of the optical cable used is a user optical cable and there is an idle fiber meeting the optical cable core number, or the type of the optical cable used is not a user optical cable but the core utilization rate is less than or equal to a preset threshold and there is an idle fiber meeting the optical cable core number.

[0028] In the second aspect, the application provides a dedicated line opening scheme output device, comprising:

[0029] A receiving module is configured to receive service information corresponding to a dedicated line product to be opened selected and / or input by a user through a front-end page;

[0030] The output module is connected with the receiving module, and is configured to, based on the service information, check and screen, in sequence, the machine room, the equipment, the port and the optical fiber resource by taking the starting machine room of the dedicated line opening as the starting point through the multiple processors in the chain of responsibility mode, and output a dedicated line opening scheme including the path and / or the equipment and port information of the dedicated line opening. The chain of responsibility mode connects the multiple processors in series to form a chain, so that the request of the dedicated line opening is processed layer by layer in a preset order. The multiple processors include a machine room processor, an equipment processor, a port processor and an optical fiber processor.

[0031] In a third aspect, the present application provides a dedicated line opening scheme output device, which comprises a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to implement the dedicated line opening scheme output method of the first aspect.

[0032] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program. When the computer program is executed by a processor, the dedicated line opening scheme output method of the first aspect is implemented.

[0033] The dedicated line opening scheme output method, device and readable storage medium provided by the present application first receive the service information corresponding to the dedicated line product to be opened selected and / or input by a user through a front-end page. Then, based on the service information, the machine room, the equipment, the port and the optical fiber resource are checked and screened in sequence by taking the starting machine room of the dedicated line opening as the starting point through the multiple processors in the chain of responsibility mode, and a dedicated line opening scheme including the path and / or the equipment and port information of the dedicated line opening is output. The chain of responsibility mode connects the multiple processors in series to form a chain, so that the request of the dedicated line opening is processed layer by layer in a preset order. The multiple processors include a machine room processor, an equipment processor, a port processor and an optical fiber processor. The present application checks and screens the machine room, the equipment, the port and the optical fiber resource based on the service information corresponding to the dedicated line product to be opened selected and / or input by a user through a front-end page by the machine room processor, the equipment processor, the port processor and the optical fiber processor in the chain of responsibility mode, and outputs the corresponding dedicated line opening scheme, thereby replacing manual work to complete the configuration and output of the dedicated line opening scheme, avoiding errors in manual configuration and output of the dedicated line opening scheme, significantly improving the opening efficiency, and solving the problem that the existing dedicated line opening scheme relies on manual configuration and output, resulting in low opening efficiency and easy errors. BRIEF DESCRIPTION OF DRAWINGS

[0034] Figure 1 A flowchart of a dedicated line opening scheme output method according to Embodiment 1 of the present application;

[0035] Figure 2 An architecture diagram of an automatic system according to the present application.

[0036] Figure 3 This is a schematic diagram of the page for selecting the dedicated line product to be activated in an embodiment of the present invention;

[0037] Figure 4 This is a schematic diagram of the page containing the business information corresponding to the dedicated line product that needs to be activated in an embodiment of the present invention;

[0038] Figure 5 This is an optical cable topology diagram of the starting site in an embodiment of the present invention;

[0039] Figure 6 This is a schematic diagram of the path from the starting computer room to the ending computer room in an embodiment of the present invention;

[0040] Figure 7 This is a schematic diagram of a dedicated line activation scheme according to an embodiment of the present invention;

[0041] Figure 8 This is a flowchart illustrating the dedicated line activation process according to an embodiment of the present invention.

[0042] Figure 9 This is a schematic diagram of the output device for a dedicated line activation scheme according to Embodiment 2 of the present invention;

[0043] Figure 10 This is a schematic diagram of the output device for a dedicated line activation scheme according to Embodiment 3 of the present invention. Detailed Implementation

[0044] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0045] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.

[0046] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.

[0047] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.

[0048] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.

[0049] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.

[0050] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.

[0051] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.

[0052] Example 1:

[0053] This embodiment provides a dedicated line activation scheme output method, such as... Figure 1 As shown, the method includes:

[0054] Step S101: Receive the service information corresponding to the leased line product that the user selects and / or enters through the front-end page.

[0055] It should be noted that the service information corresponding to leased line products may include: product name, service configuration mode, installation address, order number, number of optical fiber cores, customer name, circuit speed, interface type, main header port, VLAN (Virtual Local Area Network), whether to bypass the data center, whether to bypass equipment, and whether to bypass optical fiber. The product name may include: Ethernet leased line, Internet LAN (Local Area Network) leased line, ordinary Internet leased line, UTN (Universal Transport Network) leased line, cloud leased line, Ethernet leased line (cross-domain), MPLS (Multi-Protocol Label Switching) / VPN (Virtual Private Network) (cross-domain), MPLS_VPN, cloud networking, government and enterprise premium network, OTN (Optical Transport Network) intelligent network leased line, low-latency leased line, OTN / PEOTN (Packet Enhanced Optical Transport Network) main equipment networking, voice digital trunk, SIP (Session) Initiation Protocol (IP), relay, etc.

[0056] Specifically, users input and / or select the service information corresponding to the leased line product they need to activate through the front-end operation page, and the system receives the service information corresponding to the leased line product they need to activate.

[0057] Step S102: Based on the business information, multiple processors in the chain of responsibility mode sequentially verify and filter the data center, equipment, ports, and fiber optic resources, starting from the initial data center for leased line activation, and output a leased line activation scheme that includes the path for leased line activation and / or equipment and port information. The chain of responsibility mode connects multiple processors into a chain, so that the leased line activation request is processed layer by layer in a preset order. The multiple processors include a data center processor, an equipment processor, a port processor, and a fiber optic processor.

[0058] In this embodiment, to address the problem that existing dedicated line activation schemes rely on manual configuration and output, resulting in low activation efficiency and a high risk of errors, a chain-of-responsibility model is used. The data center processor, equipment processor, port processor, and fiber optic processor sequentially verify and screen the data center, equipment, port, and fiber optic resources starting from the initial data center. This replaces the manual output of the corresponding dedicated line activation scheme, avoids errors that may occur when manually outputting the scheme, and improves activation efficiency.

[0059] In one optional embodiment, the service information includes the number of optical fiber cores, circuit speed, and port type. Based on the service information, multiple processors in a chain-of-responsibility model sequentially verify and filter the equipment room, equipment, ports, and optical fiber resources, starting from the initial equipment room for leased line activation, and output a leased line activation scheme that includes the path and / or equipment and port information for leased line activation. Specifically, this includes:

[0060] The data center processor searches for data centers within the local station range of the installation address that meet the preset data center network level attributes or data center type attributes as the starting data center, and determines whether there are any idle devices in the starting data center.

[0061] In response to the availability of idle equipment in the starting equipment room, the device processor and port processor select the equipment and port in the starting equipment room for dedicated line activation based on the circuit speed and port type, and output the dedicated line activation scheme.

[0062] In response to the absence of idle equipment in the starting equipment room, the fiber optic processor selects an effective path to all other equipment rooms based on the fiber optic topology information of the starting equipment room and the number of fiber cores in the fiber optic cable. The first other equipment room with idle equipment to which the effective path is connected is designated as the termination equipment room. The shortest path from the starting equipment room to the termination equipment room is obtained based on a preset shortest path algorithm. The device processor and port processor select the equipment and ports for dedicated line activation in the termination equipment room based on the circuit speed and port type, and output the dedicated line activation scheme.

[0063] Specifically, the data center processor queries the data centers within the local station range of the installation address that meet the preset data center network level attributes or data center type attributes as the starting data center. It then determines whether there is any idle equipment in the starting data center. If there is idle equipment in the starting data center, the device processor and port processor select the equipment and ports for the leased line activation in the starting data center based on the circuit speed and port type corresponding to the leased line product to be activated, and output the corresponding leased line activation scheme. For example, the output format of the above leased line activation scheme can be: [Starting Data Center] → Transmission Equipment / Interface Type in the Starting Data Center.

[0064] It should be noted that the plurality of processors also includes a station processor; the service information also includes the installation address; the station range to which the installation address belongs is the installation address corresponding to the leased line product to be opened as needed, which is located by the station processor.

[0065] Specifically, if there is no idle equipment in the starting equipment room, the fiber optic processor selects an effective path to all other equipment rooms based on the fiber optic topology information of the starting equipment room and the number of fiber cores corresponding to the leased line product to be activated. The first other equipment room with idle equipment to which the effective path is connected is designated as the termination equipment room. Then, the shortest path from the starting equipment room to the termination equipment room is obtained based on a preset shortest path algorithm, preferably Dijkstra's algorithm. The device processor and port processor select the equipment and ports for leased line activation in the termination equipment room based on the circuit rate and port type corresponding to the leased line product to be activated, and output the corresponding leased line activation scheme. For example, the output format of the above leased line activation scheme can be: [Starting equipment room → Other equipment rooms → Other equipment rooms → Termination equipment room] → Transmission equipment / interface type in the termination equipment room.

[0066] In an optional embodiment, the step of using the data center processor to find a data center that meets the preset data center network level attribute or data center type attribute from the data centers within the local station range of the installation address as the starting data center specifically includes:

[0067] The data center processor queries the data centers within the local station range of the installation address to find the data center with the network layer attribute value as the metropolitan area user terminal.

[0068] If the value of the network layer attribute is found to be the data center of the metropolitan area user terminal, then the data center processor will use the data center of the metropolitan area user terminal as the starting data center.

[0069] If no data center with a network layer attribute value of metropolitan area user terminal is found, the data center processor will search for data centers within the local station range of the installation address whose network layer attribute value is metropolitan area access data center, POP (Point of Presence) point, metropolitan area aggregation data center, metropolitan area core data center, or backbone core data center, and whose data center type attribute value is fixed network access data center, and then use the fixed network access data center as the starting data center.

[0070] Specifically, the data center processor queries the data centers within the local station range of the installation address. The data center with the network layer attribute value of "Metropolitan Area User Terminal" is used as the starting data center, which is the client data center. If no client data center is found, the data center with the network layer attribute value of "Metropolitan Area Access Data Center", "POP Point", "Metropolitan Area Aggregation Data Center", "Metropolitan Area Core Data Center", or "Backbone Core Data Center" and the data center type attribute value includes "Fixed Network Access" is used as the starting data center. Among them, the leased line service speed opened by the metropolitan area core data center and the backbone core data center must meet the preset standard range. The preset standard range is preferably greater than or equal to 100M and less than or equal to 1G.

[0071] In an optional embodiment, the step of selecting the devices and ports for the leased line in the starting equipment room based on the circuit speed and port type via the device processor and port processor specifically includes:

[0072] The equipment in the initial computer room is sorted by the equipment network element number through the equipment processor;

[0073] For each sorted device, the device processor checks whether the uplink transmission segment of the device meets the circuit rate.

[0074] In response to the uplink transmission segment of the device meeting the circuit rate, the port processor checks whether the device has a free port;

[0075] In response to the device having a free port, the port processor checks whether there is a port of the specified port type among the free ports;

[0076] If a port of the specified port type is available among the available ports, then the device and port are selected as the device and port for leased line activation.

[0077] Specifically, the device processor sorts the idle devices in the initial equipment room according to the network element number. The sorting method can be from largest to smallest or smallest to largest network element number. For each idle device in the initial equipment room after sorting, the device processor checks whether the current device's uplink transmission segment has enough transmission time slots to meet the circuit rate corresponding to the leased line product to be activated. If the current device's uplink transmission segment has enough transmission time slots to meet the circuit rate corresponding to the leased line product to be activated, the port processor checks whether the current device has any idle ports. If the current device has idle ports, the port processor checks whether any of the idle ports contain ports of the type corresponding to the leased line product to be activated. If any of the idle ports contain ports of the type corresponding to the leased line product to be activated, the current device and its corresponding port that meet the above judgment conditions are selected as the device and port for leased line activation.

[0078] It should be noted that if all devices in the initial equipment room fail to meet the above judgment conditions, the fiber optic processor will jump to the first other equipment room in the equipment room where devices meet the above judgment conditions, and select the devices and corresponding ports in that other equipment room that meet the above judgment conditions as the devices and ports for the leased line.

[0079] In one optional embodiment, the step of selecting an effective path to all other equipment rooms via an optical fiber processor based on the optical cable topology information of the originating equipment room and the number of optical fiber cores specifically includes:

[0080] The fiber optic processor selects an effective path to all other equipment rooms based on the type and core utilization of the optical cables between the starting equipment room and all other equipment rooms, as well as the number of optical fiber cores in the optical cable topology map information of the starting equipment room.

[0081] Specifically, the effective path refers to a path between the starting equipment room and other equipment rooms where the type of optical cable used is a user optical cable and there are idle optical fibers that meet the number of optical fiber cores corresponding to the leased line product that needs to be opened; or, a path between the starting equipment room and other equipment rooms where the type of optical cable used is not a user optical cable but the fiber core utilization rate is less than or equal to a preset threshold and there are idle optical fibers that meet the number of optical fiber cores corresponding to the leased line product that needs to be opened.

[0082] In one specific embodiment, the leased line activation scheme output method is applied to the leased line activation scheme output system provided in this embodiment. The present invention completes the entire process through the following content, and each part is described in detail below:

[0083] I. Core Technical Content and Features

[0084] 1. System Architecture and Key Technology Overview

[0085] The dedicated line activation solution output system needs to process large-scale data, including but not limited to information on data centers, equipment, optical cables, and transmission systems. Therefore, the dedicated line activation solution output system needs to have the ability to efficiently and quickly process large amounts of data. At the same time, the business logic is complex and diverse, requiring the handling of multiple data types and information sources, and ensuring the correctness and integrity of the data during the processing.

[0086] The dedicated line activation solution output system needs to be designed to be efficient, scalable, and stable through optimized algorithms and data structures to cope with various challenges in high-concurrency scenarios. In a high-concurrency environment, a series of technical means are required to ensure the system's security and availability, such as load balancing, fault tolerance, data backup and recovery. High-concurrency design requires comprehensive optimization of system performance, including metrics such as response time, throughput, queries per second, and concurrent users.

[0087] The dedicated line deployment solution's output system needs a well-designed architecture and carefully selected algorithms to ensure stability when handling a large number of requests and guarantee timely and accurate responses to each request. High-concurrency design also requires attention to the full utilization and management of system resources. Reasonable resource allocation and scheduling strategies can maximize system performance and efficiency while avoiding resource waste and overload. Simultaneously, the system must ensure high availability and fault tolerance, enabling rapid recovery in the event of component failures. All security risks must be fully considered, and corresponding preventative measures must be taken, such as access control, encrypted communication, and protection against malicious attacks, to ensure user data security and privacy are protected.

[0088] Specifically, the dedicated line activation solution output system is developed using a Java distributed architecture. The system's business logic is broken down into different functions, ensuring each module has a degree of independence and reusability. As business volume grows, application and data services need to be separated to achieve more efficient data processing and improve application performance. Data storage and access are also separated. To enhance system availability and scalability, data storage and access are separated, allowing multiple applications to access the same database simultaneously without interfering with each other. Common business modules are extracted and deployed on distributed servers for application servers to call, avoiding redundant development and improving development efficiency and application performance. Reusable business functions are separated and deployed independently as distributed services, so new business functions only need to call these distributed services.

[0089] The dedicated line activation solution output system corresponding to this dedicated line activation solution output method includes the following modules:

[0090] Data Center Module: This module is responsible for processing data center network hierarchy attributes, data center type attributes, and other information.

[0091] Equipment Module: This module is responsible for processing information on various equipment in the computer room, including but not limited to equipment type, equipment manufacturer, and equipment model.

[0092] Fiber Optic Module: This module is responsible for processing fiber optic cable information, including but not limited to the facilities at both ends of the fiber optic cable, the fiber optic cable grade, and the usage status of the fiber optic cable.

[0093] Port Module: This module is responsible for processing information such as device boards, device port types, port usage, and device transmission segment usage overview.

[0094] Central Station Module: This module is responsible for processing information about the central station equipment room and optical distribution cabinet.

[0095] In terms of design patterns, Singleton, Proxy, Factory, and Chain of Responsibility patterns were selected. Around the automation sub-scenario, and using network orchestration capabilities as a means, the designed automation system architecture is as follows: Figure 2 As shown in the diagram, the system model is a chain-of-responsibility pattern. The processors include six units: a central office processor, a data center processor, a device processor, a port processor, a central fiber optic processor, and an optical distribution box processor. The optical distribution box processor has no business logic. Applicable products include: ordinary / LAN leased lines for the Internet, OTN intelligent network leased lines, Ethernet leased lines, government and enterprise premium networks, UTN leased lines, cloud networking, and client OTN device networking. Applicable scenarios include: MSTP, OTN / PEOTN, PON, IPRAN, and hybrid optical path + X scenarios. The main component of this chain-of-responsibility pattern is an abstract handler role, which defines an interface for handling requests and includes a successor connection. Concrete handler roles implement the abstract handler's processing methods, determining whether the request can be processed. If it can, it is processed; otherwise, the request is forwarded to its successor. These handler objects form a chain, and requests are forwarded along this chain. Each object has a consistent interface for handling requests and forwarding them to the next object.

[0096] The algorithm employs dynamic programming, divide-and-conquer, and quicksort. Quicksort is an efficient sorting algorithm with a time complexity of O(n log n). It uses a divide-and-conquer strategy, dividing the dataset into smaller subsets, recursively sorting these subsets, and finally merging them into a single ordered array. For the data to be searched, binary search is used. Binary search is also an efficient search algorithm with a time complexity of O(log n). It also uses a divide-and-conquer strategy, dividing the dataset into smaller subsets and recursively searching for the target value within these subsets. Finally, dynamic programming is used to decompose the problem into smaller subproblems and store the solutions to these subproblems for reuse when solving larger problems. This can optimize recursive algorithms and avoid repeatedly calculating the same subproblems. In summary, this system can use quicksort to sort data, binary search to search data, and dynamic programming to process data. These algorithms can be combined to achieve more efficient data processing.

[0097] II. Description of Standardized Output Functions

[0098] 1. Data Preparation

[0099] 1-1. Select the type of dedicated line product to activate.

[0100] like Figure 3 As shown, the fully online workbench provides a function entry point. Select the leased line product to be activated, and enter the solution creation page for each service according to different leased lines. The service categories are: Ethernet leased line, Internet LAN leased line, Internet ordinary leased line, UTN leased line, cloud leased line, Ethernet leased line (cross-domain), MPLS_VPN (cross-domain), MPLS_VPN, cloud networking, government and enterprise premium network, OTN intelligent network leased line, low latency leased line, OTN / PEOTN master equipment networking, voice digital trunk, and SIP trunk.

[0101] 1-2. Input business information

[0102] 1-2-1. The input conditions for the business information scheme are shown in Table 1:

[0103] Table 1: Input Requirements for Business Information Schemes

[0104]

[0105] 1-2-2. Select the scenario, including Scenario 1 installation address, Scenario 2 main circuit, and Scenario 3 specified device, such as... Figure 4As shown, after selecting Scenario 1, the starting data center can be located using a fuzzy search by data center name. Select the required number of fiber cores, equipment interface type, and circuit speed for the dedicated line activation, and enter the order code and customer name.

[0106] 2. Data Analysis

[0107] 2-1. Rules for Occupying Computer Room

[0108] Specifically, first, query data centers whose network layer attribute value is "Metropolitan Area User Terminal" (this is the client data center). If no client data center can be found, then query data centers whose network layer attribute value is "Metropolitan Area Access Data Center," "POP Point," "Metropolitan Area Aggregation Data Center," "Metropolitan Area Core Data Center," or "Backbone Core Data Center," and whose data center type attribute value includes "Fixed Network Access." The service speeds opened in metropolitan area core data centers and backbone core data centers must be greater than or equal to 100 Mbps and less than or equal to 1 Gbps. The chain-of-responsibility model uses multiple functional modules as a chain.

[0109] When activating dedicated line services, the first step in developing a solution is to obtain the fiber optic cable topology information for the starting site. For example, a specific fiber optic cable topology diagram for the starting site would look like this: Figure 5 As shown, data center A and data center B are connected via fiber optic cable segment 1, and data center A and data center C are connected via fiber optic cable segment 2. The installation address, typically the data center, serves as the starting point. The data center module acts as the first processor, handling network layer attributes and data center type information. The processing result is used as the basis for determining the next processing module. The first processing module in the chain of responsibility initiates a request using a specific method, which sequentially passes the request to each processing module in the chain. If the data center resources meet the business requirements, the next processing module is the equipment processing module; otherwise, the fiber optic module is invoked.

[0110] 2-2. Fiber Core Occupancy Rules

[0111] 2-2-1. Regarding the requirements for an effective path, if the optical cable containing the local fiber is a user cable, the idle fiber only needs to meet the input requirements; if it is not a user cable, the fiber core utilization rate must be less than or equal to 90% and the required number of fiber cores must be met.

[0112] 2-2-2, such as Figure 6 As shown, when there are multiple valid paths from the starting equipment room (i.e., the initial equipment room) to the ending equipment room (i.e., the termination equipment room), fiber core utilization and optical cable length are used as a weighted algorithm for a set of schemes. Fiber core utilization can be expressed as the ratio of the number of used fiber cores in the optical cable to the total number of fiber cores, while optical cable length represents the total length of the jumper path. One weighting algorithm is to combine fiber core utilization and optical cable length in a weighted manner to obtain a comprehensive weight value.

[0113] 2-2-3. Effective route routing needs to be refined to the fiber optic cable segment. That is, assuming that there are two fiber optic cable segments between BC in the route ABC, it needs to be decomposed into the routes A-B1-C1 and A-B2-C2.

[0114] Specifically, the optimal path for fiber optic patch cords can be generated using Dijkstra's algorithm, a shortest path algorithm in graph theory. This algorithm determines the shortest path between two given nodes, enabling the selection of the best path for fiber optic patch cords.

[0115] The system uses an algorithm to generate the optimal path for fiber optic patch cords. First, the entire fiber optic network needs to be modeled as a graph, where nodes represent connection points and edges represent the paths of the patch cords. Then, a shortest path algorithm can be used to calculate the shortest path between any two nodes, thereby determining the optimal path for the patch cords.

[0116] The code implementation is as follows:

[0117]

[0118]

[0119]

[0120] In a fiber optic module, one equipment room can typically be connected to n equipment rooms. Assuming each equipment room has an average of n fiber optic cables, the first patching generates n possible solutions, the second generates n^n solutions, and so on. Quick sort is then used to select a pivot element and divide the unsorted array into two subarrays: one subarray contains elements less than the pivot, and the other subarray contains elements greater than the pivot. These subarrays are then recursively sorted until the entire array is ordered (i.e., the set of solutions is ordered). Dynamic programming is then used to decompose the problem into a series of interrelated subproblems, and the solution to each subproblem is stored for reuse when needed. In this way, dynamic programming avoids repeatedly calculating the same subproblems, thus improving system efficiency.

[0121]

[0122]

[0123] 2-3. Equipment Occupancy Rules

[0124] If there are devices in the data center that meet the business requirements, sort the devices from largest to smallest according to their network element numbers, check whether the uplink transmission segment of the current device has enough transmission time slots to meet the circuit rate required by the customer, check whether the device has any idle ports, and whether the idle ports include the port type selected by the customer.

[0125] 3. Sample standardized output format of the solution:

[0126] Single-core or dual-core optical path [Client equipment room → Equipment room / optical cross-connect → Equipment room / optical cross-connect → Equipment room B] → Transmission equipment / interface type within equipment room B; for example: Figure 7 As shown, the single-core optical path is [A City Phase 1 (B1F) → B-line optical distribution box → C-line business hall] → 20513-D Life Plaza / FE electrical port. The electrical module in slot 7 needs to be replaced. A City Phase 1 and B-line optical distribution box, as well as B-line optical distribution box and C-line business hall, are connected by corresponding local fiber optic cables.

[0127] It should be noted that after the plan is created, a plan number is automatically generated. The plan number encoding rule is: SHLTZYFA-Y ...

[0128] like Figure 8 As shown, the automated process for dedicated line activation includes: business acceptance, solution creation, resource allocation and scheduling, data production, external line construction, completion reporting, and rental commencement and billing. Among these, the solution creation function must have the functions of solution query, solution modification, and solution deletion.

[0129] It is worth mentioning that this embodiment first reduces manual intervention and improves data accuracy by introducing an automated data input and verification mechanism. This improves the efficiency and accuracy of the activation scheme. Specifically, this embodiment has the following advantages:

[0130] 1. Automated Process: The key to automating the dedicated line activation solution lies in the degree of automation of the entire activation process. The process needs to cover business acceptance, resource verification, configuration plan formulation, and activation implementation, while minimizing manual intervention and improving activation efficiency.

[0131] 2. Equipment Compatibility: Leased line deployment solutions involve different types of equipment and network environments, therefore, equipment compatibility needs to be considered. The key is equipment selection to ensure that the equipment used meets the requirements of the deployment solution and avoids compatibility issues that could affect data transmission quality.

[0132] 3. Unified Management of the Network Management Platform (i.e., the Leased Line Activation Solution Output System): Automated output of leased line activation solutions also requires unified management of the network management platform. By building a unified network management platform, centralized management and monitoring of the leased line activation process can be achieved, improving management efficiency and reducing maintenance and management costs. Key aspects include the network management platform's architecture design, functional modules, and user interface, ensuring the platform is easy to use and maintain while meeting various leased line activation requirements.

[0133] The dedicated line activation scheme output method provided in this embodiment of the invention first receives the service information corresponding to the dedicated line product to be activated, selected and / or input by the user through a front-end page; then, based on the service information, multiple processors in the chain-of-responsibility mode sequentially verify and filter the data center, equipment, port, and fiber optic resources, starting from the initial data center for dedicated line activation, and output a dedicated line activation scheme including the path and / or equipment and port information for dedicated line activation. The chain-of-responsibility mode connects multiple processors into a chain, so that the request for dedicated line activation is processed layer by layer in a preset order. The multiple processors include a data center processor, an equipment processor, a port processor, and a fiber optic processor. This invention utilizes a chain-of-responsibility model for data center processors, equipment processors, port processors, and fiber optic processors. Based on the service information corresponding to the leased line product selected and / or input by the user through a front-end page, it verifies and filters the data center, equipment, ports, and fiber optic resources for leased line activation, and outputs the corresponding leased line activation plan. This replaces the manual work of configuring and outputting leased line activation plans, avoids errors that may occur during manual configuration, significantly improves activation efficiency, and solves the problem that existing leased line activation plans rely on manual configuration, resulting in low activation efficiency and a high risk of errors.

[0134] Example 2:

[0135] like Figure 9 As shown, this embodiment provides a dedicated line activation scheme output device for executing the above-described dedicated line activation scheme output method, including:

[0136] The receiving module 11 is used to receive the service information corresponding to the leased line product that the user selects and / or inputs through the front-end page;

[0137] Output module 12, connected to receiving module 11, is used to verify and filter the data center, equipment, port, and fiber optic resources sequentially, starting from the initial data center for leased line activation, based on the service information, through multiple processors in the chain-of-responsibility mode. The output includes a leased line activation path and / or equipment and port information. The chain-of-responsibility mode connects multiple processors into a chain, so that the leased line activation request is processed layer by layer in a preset order. The multiple processors include a data center processor, an equipment processor, a port processor, and a fiber optic processor.

[0138] Furthermore, the service information includes the number of optical fiber cores, circuit speed, and port type, and the output module 12 specifically includes:

[0139] The search and judgment unit is used to search for a computer room that meets the preset computer room network level attribute or computer room type attribute from the computer room within the scope of the local station where the installation address belongs, and to determine whether there is any idle equipment in the starting computer room.

[0140] The first output unit is used to respond to the presence of idle equipment in the starting equipment room by selecting the equipment and port in the starting equipment room for dedicated line activation based on the circuit speed and port type through the device processor and port processor, and outputting the dedicated line activation scheme.

[0141] The second output unit is used to respond to the absence of idle equipment in the starting equipment room by selecting an effective path to all other equipment rooms based on the optical cable topology information of the starting equipment room and the number of optical fiber cores through the optical fiber processor, and taking the first other equipment room with idle equipment to which the effective path is connected as the termination equipment room. The unit obtains the shortest path from the starting equipment room to the termination equipment room based on a preset shortest path algorithm, and selects the equipment and ports for dedicated line activation in the termination equipment room based on the circuit speed and port type through the device processor and port processor, and outputs the dedicated line activation scheme.

[0142] Furthermore, the plurality of processors also includes a local station processor; the service information also includes the installation address;

[0143] The output module 12 further includes:

[0144] The positioning unit is used to locate the local station range to which the installation address belongs through the local station processor, based on the installation address corresponding to the leased line product to be opened as needed.

[0145] Furthermore, the search and judgment unit specifically includes:

[0146] The query unit is used to query, through the data center processor, the data center where the network layer attribute value is the metropolitan area user terminal from the data centers within the local station range of the installation address;

[0147] The first unit is used to select the metropolitan area user terminal data center as the starting data center if the value of the network layer attribute is found to be a data center of the metropolitan area user terminal through the data center processor.

[0148] The second unit is used to, if no data center with a network layer attribute value of metropolitan area user terminal is found, query the data center processor from the data centers within the local station range of the installation address to find data centers with a network layer attribute value of metropolitan area access data center, network service provider point (POP) point, metropolitan area aggregation data center, metropolitan area core data center, and backbone core data center whose data center type attribute value is fixed network access data center, and use the fixed network access data center as the starting data center.

[0149] Furthermore, the first output unit specifically includes:

[0150] The sorting unit is used to sort the devices in the initial computer room according to the device network element number by the device processor;

[0151] The first inspection unit is used to check, for each sorted device, whether the uplink transmission segment of the device meets the circuit rate through the device processor.

[0152] The second checking unit is used to check whether the device has a free port via a port processor in response to the uplink transmission segment of the device meeting the circuit rate.

[0153] The third checking unit is used to check whether there is a port of the specified port type among the idle ports in response to the device having an idle port;

[0154] The first selection unit is configured to select the device and port as the device and port for leased line operation if there is a port of the specified port type among the available ports.

[0155] Furthermore, the second output unit specifically includes:

[0156] The second selection unit is used to select an effective path to all other equipment rooms by means of an optical fiber processor based on the type and core utilization of the optical cables between the starting equipment room and all other equipment rooms, as well as the number of optical fiber cores in the optical cable topology map information of the starting equipment room.

[0157] Furthermore, the effective path refers to a path between the starting equipment room and other equipment rooms where the type of optical cable used is a user optical cable and there are idle optical fibers that meet the number of optical cable cores, or a path between the starting equipment room and other equipment rooms where the type of optical cable used is not a user optical cable but the core utilization rate is less than or equal to a preset threshold and there are idle optical fibers that meet the number of optical cable cores.

[0158] Example 3:

[0159] refer to Figure 10 This embodiment provides a dedicated line activation scheme output device, including a memory 21 and a processor 22. The memory 21 stores a computer program, and the processor 22 is configured to run the computer program to execute the dedicated line activation scheme output method in Embodiment 1.

[0160] The memory 21 is connected to the processor 22. The memory 21 can be a flash memory, a read-only memory or other memory, and the processor 22 can be a central processing unit or a microcontroller.

[0161] Example 4:

[0162] This embodiment provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the dedicated line activation scheme output method in Embodiment 1 above.

[0163] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules, or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other memory technologies, CD-ROM (Compact Disc Read-Only Memory), DVD or other optical disc storage, cartridges, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer.

[0164] In summary, the leased line activation scheme output method, apparatus, and readable storage medium provided in this embodiment of the invention first receive the service information corresponding to the leased line product to be activated, selected and / or input by the user through a front-end page; then, based on the service information, multiple processors in a chain-of-responsibility mode sequentially verify and filter the data center, equipment, ports, and fiber optic resources, starting from the initial data center for leased line activation, and output a leased line activation scheme including the path and / or equipment and port information for leased line activation. The chain-of-responsibility mode connects multiple processors in series, allowing the leased line activation request to be processed layer by layer in a preset order. The multiple processors include a data center processor, an equipment processor, a port processor, and a fiber optic processor. This invention utilizes a chain-of-responsibility model for data center processors, equipment processors, port processors, and fiber optic processors. Based on the service information corresponding to the leased line product selected and / or input by the user through a front-end page, it verifies and filters the data center, equipment, ports, and fiber optic resources for leased line activation, and outputs the corresponding leased line activation plan. This replaces the manual work of configuring and outputting leased line activation plans, avoids errors that may occur during manual configuration, significantly improves activation efficiency, and solves the problem that existing leased line activation plans rely on manual configuration, resulting in low activation efficiency and a high risk of errors.

[0165] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A method for outputting a dedicated line activation scheme, characterized in that, The method includes: Receive the service information corresponding to the leased line product that the user selects and / or enters through the front-end page; Based on the aforementioned business information, multiple processors in the chain-of-responsibility model sequentially verify and filter the data center, equipment, ports, and fiber optic resources, starting from the initial data center where the leased line is activated. The output includes a leased line activation path and / or equipment and port information. The chain-of-responsibility model connects multiple processors into a chain, allowing the leased line activation request to be processed layer by layer in a preset order. The multiple processors include a data center processor, an equipment processor, a port processor, and a fiber optic processor.

2. The method according to claim 1, characterized in that, The service information includes the number of optical fiber cores, circuit speed, and port type. Based on this service information, multiple processors in a chain-of-responsibility model sequentially verify and filter the equipment room, equipment, ports, and fiber optic resources, starting from the initial equipment room for leased line activation. The output includes a leased line activation plan that includes the path and / or equipment and port information for the leased line activation. Specifically, this includes: The data center processor searches for data centers within the local station range of the installation address that meet the preset data center network level attributes or data center type attributes as the starting data center, and determines whether there are any idle devices in the starting data center. In response to the availability of idle equipment in the starting equipment room, the device processor and port processor select the equipment and port in the starting equipment room for dedicated line activation based on the circuit speed and port type, and output the dedicated line activation scheme. In response to the absence of idle equipment in the starting equipment room, the fiber optic processor selects an effective path to all other equipment rooms based on the fiber optic topology information of the starting equipment room and the number of fiber cores in the fiber optic cable. The first other equipment room with idle equipment to which the effective path is connected is designated as the termination equipment room. The shortest path from the starting equipment room to the termination equipment room is obtained based on a preset shortest path algorithm. The device processor and port processor select the equipment and ports for dedicated line activation in the termination equipment room based on the circuit speed and port type, and output the dedicated line activation scheme.

3. The method according to claim 2, characterized in that, The plurality of processors also includes a local station processor; the service information also includes the installation address; Before the step of using the data center processor to search for a data center within the local station range of the installation address that matches the preset data center network level attribute or data center type attribute as the starting data center, the method further includes: Based on the installation address corresponding to the dedicated line product to be opened as needed, the local station processor locates the local station range to which the installation address belongs.

4. The method according to claim 2, characterized in that, The process of using the data center processor to find a data center within the local station range of the installation address that matches the preset data center network level attribute or data center type attribute as the starting data center specifically includes: The data center processor queries the data centers within the local station range of the installation address to find the data center with the network layer attribute value as the metropolitan area user terminal. If the value of the network layer attribute is found to be the data center of the metropolitan area user terminal, then the data center processor will use the data center of the metropolitan area user terminal as the starting data center. If no data center with a network layer attribute value of metropolitan area user terminal is found, the data center processor will search for data centers with a network layer attribute value of metropolitan area access data center, network service provider point (POP) point, metropolitan area aggregation data center, metropolitan area core data center, or backbone core data center within the local station range of the installation address. The data center with a data center type attribute value of fixed network access will then be used as the starting data center.

5. The method according to claim 2, characterized in that, The process of selecting the devices and ports for the dedicated line in the initial equipment room based on the circuit speed and port type via the device processor and port processor specifically includes: The equipment in the initial computer room is sorted by the equipment network element number through the equipment processor; For each sorted device, the device processor checks whether the uplink transmission segment of the device meets the circuit rate. In response to the uplink transmission segment of the device meeting the circuit rate, the port processor checks whether the device has a free port; In response to the device having a free port, the port processor checks whether there is a port of the specified port type among the free ports; If a port of the specified port type is available among the available ports, then the device and port are selected as the device and port for leased line activation.

6. The method according to claim 2, characterized in that, The step of selecting effective pathways to all other equipment rooms via a fiber optic processor based on the fiber optic topology information of the originating equipment room and the number of fiber cores in the fiber optic cable specifically includes: The fiber optic processor selects an effective path to all other equipment rooms based on the type and core utilization of the optical cables between the starting equipment room and all other equipment rooms, as well as the number of optical fiber cores in the optical cable topology map information of the starting equipment room.

7. The method according to claim 6, characterized in that, The effective path refers to a path between the starting equipment room and other equipment rooms where the type of optical cable used is a user optical cable and there are spare optical fibers that meet the number of optical cable cores, or a path between the starting equipment room and other equipment rooms where the type of optical cable used is not a user optical cable but the core utilization rate is less than or equal to a preset threshold and there are spare optical fibers that meet the number of optical cable cores.

8. A dedicated line activation scheme output device, characterized in that, include: The receiving module is used to receive the service information corresponding to the leased line product that the user selects and / or inputs through the front-end page; An output module, connected to the receiving module, is used to verify and filter the data center, equipment, ports, and fiber optic resources sequentially, starting from the initial data center where the leased line is opened, based on the service information, through multiple processors in a chain-of-responsibility mode. The output module includes a leased line opening path and / or equipment and port information. The chain-of-responsibility mode connects multiple processors in series, so that the leased line opening request is processed layer by layer in a preset order. The multiple processors include a data center processor, an equipment processor, a port processor, and a fiber optic processor.

9. A dedicated line activation scheme output device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the leased line activation scheme output method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the dedicated line activation scheme output method as described in any one of claims 1-7.