Automatic system and method for outputting total enforcement data of network
By designing an automated system for full implementation data output on the network, the implementation data is automatically sorted and generated, and the inefficiency and error problems caused by manual editing in the existing technology are solved, efficient and accurate generation of implementation data is achieved, and project delivery risks are reduced.
Patent Information
- Application Number
- CN202411742647.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-05-06
AI Technical Summary
In the prior art, the implementation materials involved in the project delivery process need to be manually edited, resulting in inefficiency and errors that are prone to occur, and the quality of the implementation documents cannot be effectively guaranteed.
Design an automated system for full implementation data output of networks, including placement map tools, IP address planning tools, connection table tools and configuration file generation tools, and automatically organize and generate standardized implementation data through these tools.
It significantly improves task processing efficiency, eliminates human input errors, ensures the accuracy and consistency of implementation data, reduces risks in project delivery, and the generated data complies with industry standards and project requirements, making it easier to manage and maintain subsequently.
Smart Images

Figure CN119941141A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer networks, and in particular relates to a system and method for automatically outputting data in full on a network. Background Art
[0002] With the rapid development of cloud computing and network technology, the demand for network implementation of various projects is increasing. In the existing technology, the implementation materials involved in the project delivery process, such as shelf placement map, IP address master plan, connection table and network configuration file, usually need to rely on manual editing.
[0003] This method not only consumes a lot of manpower and time, is inefficient, but is also prone to errors and cannot effectively guarantee the quality of the implementation documents. Summary of the invention
[0004] In view of this, the present invention aims to provide a network full-scale data output automation system and method to at least solve one problem in the background technology.
[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0006] A network full-scale data output automation system, comprising:
[0007] Shelf placement map tool, used to generate standardized shelf placement map templates, and automatically organize and generate equipment shelf placement maps based on equipment information;
[0008] IP address planning tool, which uses the IPy library to parse large IP segments, dynamically allocates IP addresses based on device roles, and generates an overall IP address planning table;
[0009] The connection table tool uses the device list and IP information to automatically generate the interface connection relationship between devices through the architecture template and provide correction function;
[0010] The configuration file generation tool uses the connection table and IP address planning information to automatically generate the deployment configuration and service configuration files that meet project requirements.
[0011] Furthermore, in the shelf placement diagram tool, the shelf placement diagram tool is responsible for generating an Excel template for equipment shelf placement, and automatically collating and generating a final placement diagram based on the cabinet and equipment information, specifically including:
[0012] Use the xlsxwriter library to generate a standardized empty rack template, use the xlrd library to parse the rack equipment list filled in by the user, automatically complete the upstream and downstream equipment port information according to the equipment type and cabinet location, and output the equipment rack placement map that meets the project requirements.
[0013] Furthermore, in the IP address planning tool, the IP address planning table is automatically allocated and generated, including network segment division, device allocation of IP addresses, and generation of pre-files, specifically including:
[0014] Generate a network connection table based on the device list and IP information, output the interface connection relationship and IP configuration between devices, including:
[0015] The input IP segment is parsed through the IPy library, and the subnet segment is allocated according to the subnet division rules;
[0016] Allocate IP addresses according to rules based on device roles, including core switches, access switches, and servers;
[0017] Use the openpyxl library to generate a detailed IP address planning table as input for subsequent tools.
[0018] Furthermore, in the connection table tool, a network connection table is generated according to the device list and IP information, and the interface connection relationship and IP configuration between devices are output, which specifically includes:
[0019] Analyze device type and role, and automatically match device port type and link characteristics. The port types include optical ports and electrical ports, and the link characteristics include rate and protocol type.
[0020] Predefined connection templates are set for different architectures and dynamically adjusted according to specific project requirements. The architectures include standard architectures and lightweight architectures.
[0021] Furthermore, in the configuration file generation tool, a standardized deployment configuration file and a service configuration file are output, specifically including:
[0022] Dynamically generate basic configuration based on the connection table information and device type template;
[0023] Generate complex business configurations based on architectural features.
[0024] Furthermore, the present solution discloses a method for outputting full network implementation data, based on an automated system for outputting full network implementation data, comprising:
[0025] S1. Cabinet location map generation: Use the rack location map tool to generate equipment rack location map and automatically organize equipment information;
[0026] S2. Overall IP address planning: Allocate IP addresses according to project requirements through IP address planning tools and generate an IP address planning table;
[0027] S3. Connection table generation: Use the connection table tool to automatically generate the interface connection relationship between devices based on the device list and IP information;
[0028] S4, configuration file generation: Automatically generate the deployment configuration file and service configuration file based on the connection table and IP planning information.
[0029] Furthermore, the present solution discloses an electronic device, comprising a processor and a memory that is communicatively connected to the processor and is used to store executable instructions of the processor, wherein the processor is used to execute a method for outputting data in full network implementation.
[0030] Furthermore, the present solution discloses a server, comprising at least one processor, and a memory communicatively connected to the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor so that the at least one processor executes a method for outputting data in full network implementation.
[0031] Furthermore, the present solution discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements a method for outputting full network data.
[0032] Compared with the prior art, the network full-scale data output automation system and method described in the present invention has the following beneficial effects:
[0033] (1) The automatic system and method for outputting full network implementation data described in the present invention generates network implementation data through an automated tool chain, significantly improving the processing efficiency of various tasks. At the same time, by automatically generating implementation data, human input errors are effectively eliminated, ensuring the accuracy and consistency of network implementation data, and reducing the risks in project delivery;
[0034] (2) The present invention discloses an automated system and method for outputting full network implementation data. The generated network implementation data all follows a unified standard format, ensuring coordination and consistency across projects and teams. All generated configuration files, planning tables, and connection tables comply with industry standards and project requirements, facilitating subsequent management and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0036] Figure 1 A schematic diagram of an automated system for outputting data in full network implementation according to an embodiment of the present invention;
[0037] Figure 2 The figure is a schematic diagram of a detailed design flow chart of the tool described in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0039] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0040] This solution discloses an automated system and method for outputting full network implementation data, which automatically generates network implementation data, greatly improves the correctness and timeliness of the network configuration baseline of the delivered project, efficiently and accurately generates implementation data, and guides network environment configuration. The specific solution includes:
[0041] A network full-scale data output automation system, comprising:
[0042] Shelf placement map tool, used to generate standardized shelf placement map templates, and automatically organize and generate equipment shelf placement maps based on equipment information;
[0043] IP address planning tool, which uses the IPy library to parse large IP segments, dynamically allocates IP addresses based on device roles, and generates an overall IP address planning table;
[0044] The connection table tool uses the device list and IP information to automatically generate the interface connection relationship between devices through the architecture template and provide correction function;
[0045] The configuration file generation tool uses the connection table and IP address planning information to automatically generate the deployment configuration and service configuration files that meet project requirements.
[0046] In the shelf placement diagram tool, the shelf placement diagram tool is responsible for generating an Excel template for equipment shelf placement, and automatically collating and generating a final placement diagram based on the cabinet and equipment information, specifically including:
[0047] Use the xlsxwriter library to generate a standardized empty rack template, use the xlrd library to parse the rack equipment list filled in by the user, automatically complete the upstream and downstream equipment port information according to the equipment type and cabinet location, and output the equipment rack placement map that meets the project requirements.
[0048] In the IP address planning tool, the IP address planning table is automatically allocated and generated, including network segment division, device IP address allocation, and generation of pre-files, specifically including:
[0049] Generate a network connection table based on the device list and IP information, output the interface connection relationship and IP configuration between devices, including:
[0050] The input IP segment is parsed through the IPy library, and the subnet segment is allocated according to the subnet division rules;
[0051] Allocate IP addresses according to rules based on device roles, including core switches, access switches, and servers;
[0052] Use the openpyxl library to generate a detailed IP address planning table as input for subsequent tools.
[0053] In the connection table tool, a network connection table is generated based on the device list and IP information, and the interface connection relationship and IP configuration between devices are output, including:
[0054] Analyze device type and role, and automatically match device port type and link characteristics. The port types include optical ports and electrical ports, and the link characteristics include rate and protocol type.
[0055] Predefined connection templates are set for different architectures and dynamically adjusted according to specific project requirements. The architectures include standard architectures and lightweight architectures.
[0056] In the configuration file generation tool, a standardized deployment configuration file and a service configuration file are output, specifically including:
[0057] Dynamically generate basic configuration based on the connection table information and device type template;
[0058] Generate complex business configurations based on architectural features.
[0059] The specific implementation process includes:
[0060] According to the data planning deployment process, detailed equipment list and IP segment, project network architecture, output full implementation data. All network tools are developed in Python language, mainly using commonly used libraries such as xlrd, xlsxwriter, openpyxl, IPy, etc.
[0061] Network planning tools are divided into four parts: (1) Shelf placement map tools (placement map Excel initialization tool, placement map device information organization tool), (2) IP address overall planning (IP address planning tool), (3) connection table (connection table tool, distinguishing different architectures), and (4) network configuration files (startup configuration file, official configuration file).
[0062] The overall implementation process is as follows: Use the tool to output the cabinet location map Excel table template, fill in the cabinet location file, and automatically generate the equipment information list according to the cabinet location map. Then, use the IP address planning tool to output the IP address master plan and the pre-files of subsequent tools based on the IP segment of the project information table. Use the automatic generation of connection table tool to output the connection table based on the connection table equipment list and connection table IP information, and use the deployment configuration generation tool to output the deployment configuration file; use the automatic generation of service configuration tool to output the service configuration based on the connection table and IP information.
[0063] The tool list is as follows:
[0064] 1. Output tool for placement map
[0065] 1.1 Empty rack template for placement diagram
[0066] 1.2 Position map equipment information sorting tool
[0067] 2. IP address planning tool
[0068] 3. Connection table output tool
[0069] 3.1 Standard Architecture
[0070] 3.2 Lightweight 2 / 3
[0071] 3.3 Lightweight Phase 4
[0072] 3.4 Pure soft VSR (used with lightweight 4-stage tool)
[0073] 3.5 Agile Architecture (used with lightweight 4th phase tools)
[0074] 3.6 Wiring table correction cabinet position
[0075] 4. Deployment Configuration File Output Tool
[0076] 5. Formal configuration file output tool
[0077] 5.1 Standard Architecture
[0078] 5.2 Lightweight 2 / 3
[0079] 5.3 Lightweight Phase 4
[0080] 5.4VSR pure soft (used with lightweight 4th stage tool)
[0081] 5.5 Agile Architecture (used with lightweight 4th phase tools)
[0082] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0083] In the several embodiments provided in the present application, it should be understood that the disclosed methods and systems can be implemented in other ways. For example, the division of the units described above is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The above-mentioned units may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
[0085] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A network-wide data output automation system, characterized in that: include: Shelf placement map tool, used to generate standardized shelf placement map templates, and automatically organize and generate equipment shelf placement maps based on equipment information; IP address planning tool, which uses the IPy library to parse large IP segments, dynamically allocates IP addresses based on device roles, and generates an overall IP address planning table; The connection table tool uses the device list and IP information to automatically generate the interface connection relationship between devices through the architecture template and provide correction function; The configuration file generation tool uses the connection table and IP address planning information to automatically generate the deployment configuration and service configuration files that meet project requirements.
2. According to claim 1, a network full-scale data output automation system is characterized in that: In the shelf placement diagram tool, the shelf placement diagram tool is responsible for generating an Excel template for equipment shelf placement, and automatically collating and generating a final placement diagram based on the cabinet and equipment information, specifically including: Use the xlsxwriter library to generate a standardized empty rack template, use the xlrd library to parse the rack equipment list filled in by the user, automatically complete the upstream and downstream equipment port information according to the equipment type and cabinet location, and output the equipment rack placement map that meets the project requirements.
3. The network full-scale data output automation system according to claim 1 is characterized in that: In the IP address planning tool, the IP address planning table is automatically allocated and generated, including network segment division, device IP address allocation, and generation of pre-files, specifically including: Generate a network connection table based on the device list and IP information, output the interface connection relationship and IP configuration between devices, including: The input IP segment is parsed through the IPy library, and the subnet segment is allocated according to the subnet division rules; Allocate IP addresses according to rules based on device roles, including core switches, access switches, and servers; Use the openpyxl library to generate a detailed IP address planning table as input for subsequent tools.
4. The automatic system for outputting full network data according to claim 1, characterized in that: In the connection table tool, a network connection table is generated based on the device list and IP information, and the interface connection relationship and IP configuration between devices are output, including: Analyze device type and role, and automatically match device port type and link characteristics. The port types include optical ports and electrical ports, and the link characteristics include rate and protocol type. Predefined connection templates are set for different architectures and dynamically adjusted according to specific project requirements. The architectures include standard architectures and lightweight architectures.
5. The network full-scale data output automation system according to claim 1 is characterized in that: In the configuration file generation tool, a standardized deployment configuration file and a service configuration file are output, specifically including: Dynamically generate basic configuration based on the connection table information and device type template; Generate complex business configurations based on architectural features.
6. A method for outputting full network data, based on an automated system for outputting full network data as claimed in any one of claims 1 to 5, characterized in that: include: S1. Cabinet location map generation: Use the rack location map tool to generate equipment rack location map and automatically organize equipment information; S2. Overall IP address planning: Allocate IP addresses according to project requirements through IP address planning tools and generate an IP address planning table; S3. Connection table generation: Use the connection table tool to automatically generate the interface connection relationship between devices based on the device list and IP information; S4, configuration file generation: Automatically generate the deployment configuration file and service configuration file based on the connection table and IP planning information.
7. An electronic device, comprising a processor and a memory connected to the processor for storing instructions executable by the processor, characterized in that: The processor is used to execute the network full-scale implementation data output method described in claim 6 above.
8. A server, characterized in that: It includes at least one processor and a memory communicatively connected to the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor so that the at least one processor executes a network full-scale implementation data output method as described in claim 6.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the method for outputting full network data as described in claim 6 is implemented.