A method for building a digital network based on programmable templates and automated networking protocols

By adopting a method based on orchestable templates and automated networking protocols in digital networking, the problem of high networking and operation and maintenance costs in large-scale digital networking is solved, and a more efficient and accurate networking process is achieved.

CN118368305BActive Publication Date: 2025-03-14BEIJING BIG DATA ADVANCED TECH RES INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410615913.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2025-03-14
Estimated Expiration
2044-05-17

AI Technical Summary

Technical Problem

In the application scenario of large-scale digital networking, network engineers need to manually complete the prefix allocation, information configuration, and networking credentials of thousands of identification resolution nodes, resulting in high networking and operation and maintenance costs. Since the overall identification resolution network can only see the real network status and architecture after completing the networking, the error rate and labor cost are increased.

Method used

Using a digital networking construction method based on orchestable templates and automated networking protocols, a target networking orchestration template is built through the first node and evaluated, a networking instruction set is generated, and sent to multiple second nodes. Each node builds an identification resolution network based on the received networking instructions.

Benefits of technology

Through orchestable target networking orchestration template design and automated networking protocol, the architecture adjustment and operation and maintenance costs during the construction of the identification and resolution network are reduced, and the efficiency and accuracy of the networking process are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118368305B_ABST
    Figure CN118368305B_ABST
Patent Text Reader

Abstract

The present application provides a method for building a data network based on a programmable template and an automated networking protocol, which relates to the field of big data technology. A target networking orchestration template is built through a first node, and the target networking orchestration template is evaluated for rationality. After the target networking orchestration template is evaluated, the first node generates a corresponding networking instruction set based on the target networking orchestration template. The networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template. The first node sends the networking instruction set to multiple second nodes, and the networking instruction set includes multiple networking instructions. Each of the second nodes constructs an identity resolution network based on the corresponding networking instructions in the received networking instruction set. Before the identity resolution network is built, the target networking orchestration template can be designed according to the user's business needs, and the target networking orchestration template can be evaluated, thereby reducing the architecture adjustment and operation and maintenance costs during the construction process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a method for building a data network based on programmable templates and automated networking protocols. Background Art

[0002] In recent years, with the continuous innovation of new technologies and the emergence of new applications, the digital economy has developed rapidly. Accelerating the promotion of digital industrialization and industrial digitization, and promoting the integrated development of the digital economy and the real economy has become an important trend in global economic development. The essence of digital transformation is to interconnect and interoperate data from different hosts, structures, and locations across systems, industries, and platforms. In this process, all industries are facing problems and challenges such as the inability to share data in an orderly manner. Real problems such as data silos, network security, system segmentation, and lack of governance need to be overcome urgently.

[0003] In large-scale data networking application scenarios, the networking and operation and maintenance costs of thousands of identity resolution nodes are extremely high. Network engineers need to manually complete the prefix allocation of thousands of identity resolution nodes, information configuration of each node, build networking credentials, upload networking credentials and join the network. In addition, since the overall identity resolution network can only see the real network status and network architecture after the networking is completed, this will greatly increase the error rate and labor cost of networking. Summary of the invention

[0004] In view of this, an embodiment of the present application provides a method for building a digital network based on a programmable template and an automated networking protocol, so as to overcome the above-mentioned problems or at least partially solve the above-mentioned problems.

[0005] The first aspect of the embodiment of the present application provides a method for building a data network based on a programmable template and an automated networking protocol, the method comprising:

[0006] Building a target networking orchestration template through the first node, and performing a rationality evaluation on the target networking orchestration template;

[0007] After the target networking orchestration template is evaluated and passed, the first node generates a corresponding networking instruction set according to the target networking orchestration template, where the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template;

[0008] The first node sends the networking instruction set to multiple second nodes, where the networking instruction set includes multiple networking instructions;

[0009] Each of the second nodes constructs an identity resolution network according to the corresponding networking instruction in the received networking instruction set.

[0010] Optionally, a client is provided on the first node, and the step of building a target networking orchestration template through the first node includes:

[0011] The first node establishes a network planning template project on the client, sets the IP address, prefix, name of each node, and the connection relationship between each node on the network planning template project, and obtains a preset network arrangement template;

[0012] Evaluate the rationality, feasibility and construction cost of the preset networking orchestration template;

[0013] When the preset networking orchestration template passes the evaluation, the target networking orchestration template is obtained.

[0014] Optionally, after building the target networking orchestration template through the first node, the method further includes:

[0015] When there is a node parameter update in the target networking orchestration template, re-set the IP address, prefix, and name of the updated node in the target networking orchestration template;

[0016] When there is a node position update in the target networking orchestration template, determining whether the updated node is a leaf node;

[0017] When the updated node is a leaf node, directly updating the updated node;

[0018] When the updated node is not a leaf node, the updated node and its child nodes are updated.

[0019] Optionally, the target networking orchestration template includes: an N-layer network with the first node as a root node, each layer of the network having multiple nodes, and the first node sending the networking instruction set to multiple second nodes, including:

[0020] Sending, through the first node, other networking instructions in the networking instruction set except the networking instruction corresponding to the first node to a child node of the first node in the layer 2 network;

[0021] Each node in the N-layer network sends the networking instructions corresponding to the node's child nodes to the nodes in the N+1-layer network;

[0022] Among them, each node in the target networking orchestration template holds its corresponding networking instructions and the networking instructions corresponding to its respective child nodes. The networking instructions include executors, execution commands, execution templates, and execution contexts. The execution commands include configuring node metadata, allocating subordinate node prefix information, generating network access credentials, and accessing the network.

[0023] Optionally, the method further comprises:

[0024] Each node packages its own networking instructions into tasks to obtain networking tasks;

[0025] The execution engine provided on each node performs task scheduling for each networking task corresponding to the node according to the scheduling strategy and resource status;

[0026] The method further comprises:

[0027] The execution engine saves the historical execution records generated during the execution of each of the networking tasks, wherein the historical execution records include at least one of the following: data, log, and status;

[0028] When the execution of the networking task is interrupted or fails, the execution engine calls the historical execution record to re-trigger the execution of the networking task;

[0029] The method further comprises:

[0030] When the networking task is executed successfully, interrupted or failed, the execution engine records the execution result of the networking task and feeds back the execution result in the reverse direction of the networking instruction set;

[0031] The networking task includes networking instructions, number of retries, parameters, sequence numbers, and historical execution records.

[0032] Optionally, the first node includes a root node and / or any one node in the existing target networking orchestration template, and the method further includes:

[0033] The first nodes obtain in real time the construction status of the construction process of the identity resolution network corresponding to each node and its child nodes;

[0034] When there are unrecoverable software problems or network problems in the process of building the identity resolution network, feedback network operation and maintenance personnel will intervene in time to handle them.

[0035] A second aspect of the embodiment of the present application provides a device for building a digital network based on a programmable template and an automated networking protocol, the device comprising:

[0036] A target networking orchestration template building module, used to build a target networking orchestration template through the first node and perform a rationality evaluation on the target networking orchestration template;

[0037] A networking instruction set generation module, configured to generate, by the first node, a corresponding networking instruction set according to the target networking orchestration template after the target networking orchestration template is evaluated and passed, the networking instruction set being used to build an identity resolution network corresponding to the target networking orchestration template;

[0038] A networking instruction set issuing module, configured for the first node to issue the networking instruction set to multiple second nodes, wherein the networking instruction set includes multiple networking instructions;

[0039] The identity resolution network construction module is used for each of the second nodes to construct the identity resolution network according to the corresponding networking instructions in the received networking instruction set.

[0040] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described in the first aspect.

[0041] In a fourth aspect of the embodiments of the present application, a computer-readable medium is provided, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, the method described in the first aspect is implemented.

[0042] Beneficial effects of this application:

[0043] An embodiment of the present application provides a method for building a digital network based on a programmable template and an automated networking protocol. First, a target networking orchestration template is built through a first node, and the rationality of the target networking orchestration template is evaluated. After the target networking orchestration template is evaluated, the first node generates a corresponding networking instruction set based on the target networking orchestration template, and the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template. Furthermore, the first node sends the networking instruction set to multiple second nodes, and the networking instruction set includes multiple networking instructions. Finally, each of the second nodes constructs an identity resolution network according to the corresponding networking instructions in the received networking instruction set.

[0044] Through the WYSIWYG technical concept of the programmable target networking orchestration template, before the identity resolution network is built, the target networking orchestration template can be designed according to the user's business needs, and the feasibility and rationality of the target networking orchestration template can be evaluated, thereby reducing the architecture adjustment and operation and maintenance costs during the identity resolution network construction process. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application.

[0046] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the description of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0047] Figure 1 It is a flowchart of a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application;

[0048] Figure 2 It is a system framework diagram of a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application;

[0049] Figure 3 It is a schematic diagram of a target networking orchestration template in a method for building a data network based on an orchestratable template and an automated networking protocol provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of an example of issuing networking instructions in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application;

[0051] Figure 5 It is a schematic diagram of a networking instruction in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application;

[0052] Figure 6 It is a schematic diagram of a task pool to be executed in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application;

[0053] Figure 7 It is a schematic diagram of each node feeding back execution results in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application;

[0054] Figure 8 It is a framework diagram of a digital network construction device based on a programmable template and an automated networking protocol provided in one embodiment of the present application. DETAILED DESCRIPTION

[0055] It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other.

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] In recent years, with the continuous innovation of new technologies and the emergence of new applications, the digital economy has developed rapidly. Accelerating the promotion of digital industrialization and industrial digitization, and promoting the integrated development of the digital economy and the real economy has become an important trend in global economic development. The essence of digital transformation is to interconnect and interoperate data from different hosts, structures and locations across systems, industries and platforms. In this process, all industries are facing problems and challenges such as the inability to share data in an orderly manner. Real problems such as data silos, network security, system segmentation, and lack of governance need to be overcome urgently.

[0058] At this time, the Digital Object Architecture (DOA) was proposed. DOA was invented by Robert Kahn, the "Father of the World Internet". It is known as the nervous system of the Internet and the key infrastructure of the digital space. It effectively solves two outstanding problems of the traditional Internet.

[0059] In the digital object architecture, the identity resolution system is a core component. The identity resolution system can also be called the node system. If the digital object architecture is known as the neural network of the Internet, then the node system is the neuron of the neural network. The node system builds a digital Internet through a certain networking method. The registration capability of the digital object through the node system enables the state information of the digital object to be distributed and stored in the entire digital network.

[0060] The global resolution network built around the Handle system and the corresponding management specifications have laid a solid foundation for the development of the global digital economy. However, in certain specific areas, the data Internet is closed and does not need to rely on the Handle-based identity resolution system. Instead, it needs to flexibly build its own digital Internet architecture based on its own business and data characteristics. Therefore, the identity resolution solution based on Handle has certain limitations when facing this scenario, mainly including the following issues:

[0061] It is impossible to build any multi-layer identity resolution network. On the industrial Internet infrastructure with the Handle system as the core, the identity resolution network relies on a two-layer logical architecture based on GHR and LHS. Therefore, it is difficult to build a custom-level identity resolution network in a specific local area according to business needs.

[0062] The identity resolution network architecture cannot be customized. In the industrial Internet infrastructure with the Handle system as the core, the identity resolution network is built incrementally because it is aimed at the national or even international industry scope. It is built on the network foundation based on the international Handle registration agency. This means that it is impossible to customize the local identity resolution network in a specific field.

[0063] It is impossible to automatically build and operate a large-scale identity resolution network. In the industrial Internet with the Handle system as the core, building your own data Internet requires applying for the LHS identity prefix from the international Handle registration agency, manually making the network access certificate after approval, and then submitting it to the Handle official agency for LHS network access. This whole process is redundant and lengthy. However, in specific fields, it is not necessary to rely on the international identity resolution network to build your own data Internet, but it is necessary to customize the identity network architecture according to business needs and automatically complete the construction and operation of the digital Internet according to the network design.

[0064] This application can be applied to large-scale digital networking scenarios. In the process of networking, since networking engineers need to manually complete the prefix allocation, node information configuration, network certificate construction, network certificate upload, and network access of thousands of identity resolution nodes, the networking and operation and maintenance costs of thousands of identity resolution nodes are high. In addition, since the overall identity resolution network can only see the real network status and network architecture after the networking is completed, the scientific evaluation of the constructed identity resolution network architecture is also seriously lagging behind. Therefore, the resulting network architecture adjustment also interviews unimaginable operation and maintenance manpower costs.

[0065] Based on this, in order to solve the problems of building and operating large-scale data networks, this application proposes a method for building a data network based on programmable templates and automated networking protocols.

[0066] Figure 1 is a flowchart of a method for building a data network based on a programmable template and an automated networking protocol provided by an embodiment of the present application, such as Figure 1 As shown, this embodiment provides a method for building a data network based on a programmable template and an automated networking protocol, the method comprising:

[0067] In step S101, a target networking orchestration template is built through a first node, and a rationality evaluation is performed on the target networking orchestration template;

[0068] In step S102, after the target networking orchestration template is evaluated and passed, the first node generates a corresponding networking instruction set according to the target networking orchestration template, and the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template;

[0069] In step S103, the first node sends the networking instruction set to multiple second nodes, where the networking instruction set includes multiple networking instructions;

[0070] In step S104, each of the second nodes constructs an identity resolution network according to the corresponding networking instruction in the received networking instruction set.

[0071] First, in step S101, a target networking orchestration template is constructed by a first node, and a rationality evaluation is performed on the target networking orchestration template. Figure 2 This is a system framework diagram of a method for building a data network based on a programmable template and an automated networking protocol provided by an embodiment of the present application, such as Figure 2 As shown, in the embodiment of the present application, there are two parts, one is to design a programmable networking template, and the other is to abstract the actual dynamic networking process of the target networking orchestration template obtained through the automated networking protocol. The automated networking protocol consists of five parts, namely, generating a networking instruction set, issuing a networking task set, generating a networking task, executing a networking task, and feeding back a networking result. The first node can be any identity resolution node participating in the networking. Before the specific process of networking is carried out, the user of the first node first designs the identity resolution network on the networking orchestration platform in a visual and interactive way.

[0072] like Figure 2 As shown in the figure, the target network orchestration template is an orchestratable network template. During the design process of the target network orchestration template, users can design the network plan, select node components with various functions according to actual needs, and then place them in specific locations by dragging and dropping. Users can set the properties and parameters of the components according to their needs, such as the IP address of the node, the planned allocation prefix, etc. Through this visual drag-and-drop interaction method, users can intuitively see the changes in the network structure and the design results. During the design process, users can continuously adjust and optimize the layout and parameter settings of the network to meet more complex network requirements. At the same time, the system will also provide real-time feedback and prompts to help users discover potential problems and optimization space.

[0073] Further, in step S102, after the target networking orchestration template is evaluated and passed, the first node generates a corresponding networking instruction set according to the target networking orchestration template, and the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template. Figure 2As shown, after the above-mentioned target networking orchestration template is evaluated and passed, the first node is responsible for generating a specific networking instruction set according to the target networking orchestration template (for example, including networking instruction 1, networking instruction 2...networking instruction n), and the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template. The networking instruction set contains networking instructions for each identity resolution node, and each networking instruction is an instruction abstraction for a networking operation. If the planning protocol is an abstraction of the planning protocol, then the networking instruction is an instruction-level abstraction of a specific operation in the networking process. Networking instructions can be executed by program code to complete fixed target actions. The networking instruction structure is divided into four parts, as shown in the following formula: {Executor}-{Specified command}-{Execution template}-{Execution context}

[0074] There are four types of networking instructions, namely, configuring node metadata (config), assigning lower-level node prefix information (assign), generating network access credentials (build), and network access (upload). The networking instruction set is a system-recognizable networking instruction that is automatically generated based on the designed target networking orchestration template and is strictly sorted in time sequence. Similar to the process of converting software code into machine instructions in a computer operating system, the networking instruction is a mapping of the executable code of the target networking orchestration template. The timing properties of the networking instruction set ensure the consistency of the target networking orchestration template to the final networking. In this process, factors such as network topology information, device configuration requirements, and performance requirements are combined to ensure that each generated networking instruction can meet the actual networking needs.

[0075] Among them, as an example, the networking instruction set is shown in Table 1. Since the networking process is a recursive downward strategy, as long as the networking instructions of other nodes are generated in the order of executing the networking instructions, the networking instruction set of the entire identity resolution network is constructed.

[0076] Table 1: Networking instruction set

[0077] coding Networking instructions Explanation of meaning 1 a-config-a-node a node configures the root node information 2 a-assign-b-prefix Node a assigns node b a prefix 3 a-assign-c-prefix a node assigns c node prefix 4 a-assign-d-prefix a node assigns a prefix to d node 5 b-build-b-cert b node constructs network access credentials 6 b-upload-b-cert Node b uploads the network credentials and completes the network access 7 b-config-b-node b node configuration node information ...... n-3 f-assign-l-prefix f node is assigned the prefix of l node n-2 l-build-l-cert l Node builds network access credentials n-1 l-upload-l-cert l Node uploads Internet access credentials n l-config-l-node lNode configuration node information

[0078] Further, in step S103, the first node sends the networking instruction set to multiple second nodes, and the networking instruction set includes multiple networking instructions. In an embodiment of the present application, the first node quickly and accurately sends the generated networking instruction set to each second node, wherein the second node is a subnode directly or indirectly connected to the first node, and the networking instruction set includes multiple networking instructions, and in this process, it is necessary to use efficient communication protocols and network technologies to ensure timely transmission and reliable reception of the networking instruction set, thereby ensuring the smooth progress of the entire networking process.

[0079] Finally, in step S104, each of the second nodes constructs an identity resolution network according to the corresponding networking instructions in the received networking instruction set. In the embodiment of the present application, each of the second nodes constructs a network according to the corresponding networking instructions in the received networking instruction set to obtain an identity resolution network, so that the final identity resolution network can be coordinated with the target networking orchestration template.

[0080] Through the above embodiment, a target networking orchestration template is built by a first node, and the rationality of the target networking orchestration template is evaluated. After the target networking orchestration template is evaluated, the first node generates a corresponding networking instruction set based on the target networking orchestration template, and the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template. Further, the first node sends the networking instruction set to multiple second nodes, and the networking instruction set includes multiple networking instructions. Finally, each of the second nodes constructs an identity resolution network according to the corresponding networking instructions in the received networking instruction set.

[0081] Through the WYSIWYG technical concept of the programmable target networking orchestration template, before the identity resolution network is built, the target networking orchestration template can be designed according to the user's business needs, and the feasibility and rationality of the target networking orchestration template can be evaluated, thereby reducing the architecture adjustment and operation and maintenance costs during the identity resolution network construction process.

[0082] Optionally, a client is provided on the first node, and step S101 includes:

[0083] The first node establishes a network planning template project on the client, sets the IP address, prefix, name of each node, and the connection relationship between each node on the network planning template project, and obtains a preset network arrangement template;

[0084] Evaluate the rationality, feasibility and construction cost of the preset networking orchestration template;

[0085] When the preset networking orchestration template passes the evaluation, the target networking orchestration template is obtained.

[0086] Specifically, in an embodiment of the present application, the client corresponding to the first node as described above establishes a network planning template project on a network orchestration platform to design a preset network orchestration template, wherein the specific execution steps are as follows:

[0087] Step 1: The client of the first node creates a new network planning template project on the network orchestration platform, enters the orchestration page, drags a node component on the drawing board as the root node, and sets the relevant properties, including the IP address of the node corresponding to the node component, the assigned prefix, the node name and other properties, as well as the connection relationship between each node. Figure 3 is a schematic diagram of a target networking orchestration template in a method for building a data network based on an orchestratable template and an automated networking protocol provided in an embodiment of the present application, such as Figure 3 As shown, the A hospital branch is the root node (the first node), the assigned prefix is ​​1.10, and the IP address is 192.168.1.10.

[0088] Step ②: Repeat the operation in step ①, and arrange and design the nodes of the second-layer network, the third-layer network, and the fourth-layer network in turn, and fill in the IP addresses of the corresponding nodes, assign prefixes, node names and other attributes. Figure 3 As shown, the Layer 2 network includes Hospital A Branch 1 and Hospital A Branch 2. The Layer 3 and Layer 4 networks are similar and will not be described in detail here.

[0089] Step 3: For the arranged network arrangement template, if there is a parameter update, it can be completed through the component editing operation. Modify the IP address, allocation prefix, node name and other attributes of the node component that needs to be updated.

[0090] Step ④: For the arranged network arrangement template, if you need to delete the designed node, you can do so by deleting the component. However, it should be noted that the node component deletion must follow the intelligent deletion of leaf node components, such as Figure 3 As shown, if you want to delete the 1.10.1.2 (A Hospital Branch 4) node component, you need to first delete the child node component of 1.10.1.2.1 (A Hospital Branch 6), and then you can delete the 1.10.1.2 (A Hospital Branch 4) node component.

[0091] Step ⑤: After completing steps ① to ④ above, the preset network orchestration template is ready. Users can evaluate the rationality, feasibility and construction cost based on the designed preset network orchestration template. If the evaluation is completed and the target network orchestration template is obtained, the software environment can be initialized.

[0092] Step ⑥: According to the arranged target networking orchestration template, all identity resolution network nodes involved in the target networking orchestration template need to be installed according to the identity resolution node software.

[0093] Step 7: After all software is installed, you can execute the above-arranged networking template. Click the Execute button on the details page to trigger the operation of the networking protocol.

[0094] Optionally, after step S101, the method further includes:

[0095] When there is a node parameter update in the target networking orchestration template, re-set the IP address, prefix, and name of the updated node in the target networking orchestration template;

[0096] When there is a node position update in the target networking orchestration template, determining whether the updated node is a leaf node;

[0097] When the updated node is a leaf node, directly updating the updated node;

[0098] When the updated node is not a leaf node, the updated node and its child nodes are updated.

[0099] Specifically, when there are node parameters in the evaluated target networking orchestration template that need to be updated, the IP address, prefix, and name of the updated node in the target networking orchestration template can be set again according to the above step ③. When the position of an existing node in the target networking orchestration template needs to be updated, it is first necessary to determine whether the node is a leaf node. When the node to be updated is a leaf node, the node to be updated is directly updated. When the node to be updated is not a leaf node, the node to be updated and its child nodes need to be updated at the same time.

[0100] For example, Figure 3 Taking an example to illustrate, when it is necessary to update the node position of Hospital A Branch 6, since Hospital A Branch 6 is a leaf node in the entire target networking orchestration network at this time, the node position of Hospital A Branch 6 can be directly updated without considering other nodes. When it is necessary to update the node position of Hospital A Branch 1, since Hospital A Branch 1 is not a leaf node at this time, the child nodes corresponding to the node of Hospital A Branch 1 are Hospital A Branch 3, Hospital A Branch 4, and Hospital A Branch 6. Therefore, it is necessary to update the nodes of Hospital A Branch 1, Hospital A Branch 3, Hospital A Branch 4, and Hospital A Branch 6 at the same time.

[0101] Optionally, the target networking orchestration template includes: an N-layer network with the first node as the root node, each layer of the network having multiple nodes, and the step S103 includes:

[0102] Sending, through the first node, other networking instructions in the networking instruction set except the networking instruction corresponding to the first node to a child node of the first node in the layer 2 network;

[0103] Each node in the N-layer network sends the networking instructions corresponding to the node's child nodes to the nodes in the N+1-layer network;

[0104] Among them, each node in the target networking orchestration template holds its corresponding networking instructions and the networking instructions corresponding to its respective child nodes. The networking instructions include executors, execution commands, execution templates, and execution contexts. The execution commands include configuring node metadata, allocating subordinate node prefix information, generating network access credentials, and accessing the network.

[0105] Specifically, Figure 3 As shown, in the N-layer network with A Hospital General Hospital (first node) as the root node, each layer of the network contains multiple nodes. In the process of issuing the networking instruction set, A Hospital General Hospital (first node) first issues the other networking instructions in the networking instruction set except the networking instructions corresponding to A Hospital General Hospital (first node) to each child node directly connected to the first node in the second-layer network. The second node in the second-layer network issues the other networking instructions in the received networking instructions except the networking instructions corresponding to the second node to each child node directly connected to the second node in the third-layer network... The Nth node in the N-layer network issues the other networking instructions in the received networking instructions except the networking instructions corresponding to the Nth node to each child node directly connected to the N+1th node in the N+1 layer network, and so on, until the networking instruction is issued to the leaf node.

[0106] Figure 4 A schematic diagram of an example of issuing networking instructions in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application is shown below. Figure 4 Take the example to explain the process of issuing networking instructions in detail. Figure 4 As shown, the target networking coding template includes 9 nodes A to I, with node A (the first node) being the root node.

[0107] The specific steps are as follows:

[0108] Step 1: Node A generates a networking instruction set according to the target networking coding template. The networking instruction set includes all the operation instructions required in the networking process from node A to node I.

[0109] Step 2: Node A sends the networking instruction set related to nodes B, E, F, G, and I in the networking instruction set to node B.

[0110] Step 3: Node A sends the networking instructions related to node C in the networking instruction set to node C.

[0111] Step 4: Node A sends the networking instructions related to nodes D and H in the networking instruction set to node D.

[0112] Step 5: Node B sends the networking instructions related to node E in the networking instruction set to node E.

[0113] Step 6: Node B sends the networking instructions related to nodes F and I in the networking instruction set to node F.

[0114] Step 7: Node B sends the networking instructions related to node G in the networking instruction set to node G.

[0115] Step 8: Node F sends the networking instructions related to node I in the networking instruction set to node I.

[0116] Step 9: Node D sends the networking instructions related to node H in the networking instruction set to node H.

[0117] At this point, the issuance of the networking instruction set is completed. It should be noted that although the above steps 1 to 9 are arranged in sequence, since the distributed identity resolution nodes are independently deployed and run in parallel, the above issuance steps are also parallel. For example, the issuance of the networking instructions of steps 5 and 9 can be issued in parallel.

[0118] Optionally, the method further comprises:

[0119] Each node packages its own networking instructions into tasks to obtain networking tasks;

[0120] The execution engine provided on each node performs task scheduling for each networking task corresponding to the node according to the scheduling strategy and resource status;

[0121] The method further comprises:

[0122] The execution engine saves the historical execution records generated during the execution of each of the networking tasks, wherein the historical execution records include at least one of the following: data, log, and status;

[0123] When the execution of the networking task is interrupted or fails, the execution engine calls the historical execution record to re-trigger the execution of the networking task;

[0124] The method further comprises:

[0125] When the networking task is executed successfully, interrupted or failed, the execution engine records the execution result of the networking task and feeds back the execution result in the reverse direction of the networking instruction set;

[0126] The networking task includes networking instructions, number of retries, parameters, sequence numbers, and historical execution records.

[0127] Specifically, in the embodiment of the present application, after receiving their respective networking instructions, each node will package their respective networking instructions into tasks to obtain their respective networking tasks, which are executable packaging of the networking instructions. The packaged networking instructions are called executable networking tasks, which are similar to the relationship between software code and threads. Figure 5 is a schematic diagram of a networking instruction in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application, such as Figure 5 As shown, the executable networking task contains necessary metadata information such as the execution time, execution status, execution scheduling, number of execution retries, parameters, sequence number, historical execution records, etc. required for the execution of the networking instructions.

[0128] The metadata contained in the networking task can be used to take into account possible execution failure and retry scenarios during the execution of the networking task, thereby ensuring that the task status strictly meets the idempotence and retryability of subsequent executions.

[0129] In order to better manage the context of networking task execution, the networking task will record the relevant input parameters, responses, and status of related modules for each task execution. This context record allows the system to directly use the previous execution record to trigger the restart of the task in the case of a retry, to ensure that the networking task can be successfully completed, and improve the efficiency and accuracy of networking task execution.

[0130] In addition, in order to ensure the execution order of networking instructions, each networking instruction will be assigned an independent sequence number. The existence of this sequence number is to ensure that the execution of networking operations follows strict timing logic. After all, the networking process itself is a timing operation, so the execution of instructions must follow the logical order of networking to ensure the correctness of the operation. By packaging networking instructions into tasks and attaching metadata and execution context management, the system can efficiently and accurately execute networking tasks.

[0131] An execution engine is set up on each node in each layer of the network. As the core component of the automatic networking of the identity resolution network, the execution engine executes executable networking tasks with the support of the distributed scheduling engine, including task scheduling, task execution, storage of execution results and context persistence.

[0132] The bottom layer of the execution engine adopts a timed scheduling strategy, and schedules based on the running instance of the target networking orchestration template. Since there may be multiple target networking template instances running at the same time, and the running instance of the same target networking orchestration template may have both retried networking tasks and newly created networking tasks, the task pool to be executed for the networking task will calculate the priority of the networking task according to the relevant characteristics, thereby building a multi-task queue for the engine to schedule, ensuring that the various networking tasks corresponding to the node are scheduled according to the scheduling strategy and resource status.

[0133] The following is a detailed description of the process of the execution engine performing networking tasks:

[0134] First, the execution engine saves the generated networking task in the task pool to be executed. Figure 6 is a schematic diagram of a task pool to be executed in a method for building a data network based on a programmable template and an automated networking protocol provided in an embodiment of the present application, such as Figure 6 As shown in the figure, the task pool to be executed groups multiple networking tasks according to the execution instances of different target networking orchestration templates (template A, template B, template C). By managing them in the form of groups, it can ensure that the networking tasks in each group are executed in the specified order. This group management method ensures the order and consistency of networking tasks.

[0135] There are two types of networking tasks in the pending task pool, one is the initial task and the other is the retry task. Because networking tasks are retryable, when a networking task fails, it will be marked as a retry task and put back into the pending task pool. This mechanism can ensure the reliable execution of networking tasks. When a networking task is interrupted or fails, the execution engine calls the historical execution record to re-trigger the execution of the networking task, thereby avoiding the situation where subsequent dependent networking tasks cannot continue to execute due to execution failure.

[0136] Preferably, the node that failed to execute will save the execution context and retry at a fixed time until it succeeds or exceeds the maximum number of retries.

[0137] The execution engine dynamically pulls networking tasks from the task pool to be executed based on the scheduling strategy and resource status. It considers the dependencies of each networking task and the availability of resources, and schedules the networking tasks suitable for execution to the appropriate nodes for execution. The execution engine uses the capabilities of the distributed scheduling engine to achieve intelligent scheduling and balancing of tasks, ensuring that tasks can be efficiently allocated and executed.

[0138] When the execution engine runs a networking task, it will call the corresponding networking execution module to complete the specific operation according to the type and requirements of the networking task. This may involve multiple aspects such as device configuration, network connection, and service deployment. The execution engine will be responsible for coordinating the work of different modules to ensure that the networking task can be completed as expected.

[0139] Optionally, the first node includes a root node and / or any one node in the existing target networking orchestration template, and the method further includes:

[0140] The first nodes obtain in real time the construction status of the construction process of the identity resolution network corresponding to each node and its child nodes;

[0141] When there are unrecoverable software problems or network problems in the process of building the identity resolution network, feedback network operation and maintenance personnel will intervene in time to handle them.

[0142] The execution engine is also responsible for saving the results of the networking task execution. When the networking task is executed successfully, interrupted, or failed, the execution engine records the execution results of the networking task and feeds back the execution results in the reverse direction issued by the networking instruction set, so that the data, logs, and status information generated during the execution process will be saved and can be used for subsequent monitoring, analysis, and optimization. Figure 7 Schematic diagram of feedback of execution results by each node in a method for building a data network based on a programmable template and an automated networking protocol provided by an embodiment of the present application, such as Figure 7 As shown in the figure, each node will know the status of the identity resolution network construction of the subtree it is responsible for. Each node needs to feedback the execution result in the opposite direction of the network instruction issuance direction, so that the first node can obtain the construction status of each subnode in the network process in real time. In addition, if a software or network problem that cannot be recovered by retrying is encountered, the network operation and maintenance personnel can intervene in time to handle it. Help the system to make real-time adjustments and optimizations, and improve the efficiency and stability of the networking process.

[0143] Figure 8 is a schematic diagram of a framework of a data network construction device based on a programmable template and an automated networking protocol provided by an embodiment of the present application, such as Figure 8 As shown, this embodiment provides a data network construction device based on a programmable template and an automated networking protocol, the device comprising:

[0144] A target networking orchestration template building module 11 is used to build a target networking orchestration template through the first node and perform a rationality evaluation on the target networking orchestration template;

[0145] A networking instruction set generation module 12, configured to generate a corresponding networking instruction set according to the target networking orchestration template by the first node after the target networking orchestration template is evaluated and passed, wherein the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template;

[0146] A networking instruction set issuing module 13, configured for the first node to issue the networking instruction set to multiple second nodes, wherein the networking instruction set includes multiple networking instructions;

[0147] The identity resolution network construction module 14 is used for each of the second nodes to construct an identity resolution network according to the corresponding networking instruction in the received networking instruction set.

[0148] Optionally, a client is provided on the first node, and the target networking orchestration template building module 11 includes:

[0149] The first node establishes a network planning template project on the client, sets the IP address, prefix, name of each node, and the connection relationship between each node on the network planning template project, and obtains a preset network arrangement template;

[0150] Evaluate the rationality, feasibility and construction cost of the preset networking orchestration template;

[0151] When the preset networking orchestration template passes the evaluation, the target networking orchestration template is obtained.

[0152] Optionally, the device further comprises:

[0153] A node parameter updating module, configured to, after the target networking orchestration template is built by the first node, re-set the IP address, prefix, and name of the updated node in the target networking orchestration template when there is a node parameter update in the target networking orchestration template;

[0154] A determination module, used to determine whether the updated node is a leaf node when there is a node position update in the target networking orchestration template;

[0155] A first node position updating module, used for directly updating the updated node when the updated node is a leaf node;

[0156] The second node position updating module is used to update the updated node and its child nodes when the updated node is not a leaf node.

[0157] Optionally, the target networking orchestration template includes: an N-layer network with the first node as the root node, each layer of the network having multiple nodes, and the networking instruction set issuing module 13 includes:

[0158] A first issuing unit, configured to issue other networking instructions in the networking instruction set except the networking instruction corresponding to the first node to a child node of the first node in the layer 2 network through the first node;

[0159] The second sending unit is used for each node in the N-layer network to send the networking instruction corresponding to the child node of the node to the node in the N+1-layer network;

[0160] Among them, each node in the target networking orchestration template holds its corresponding networking instructions and the networking instructions corresponding to its respective child nodes. The networking instructions include executors, execution commands, execution templates, and execution contexts. The execution commands include configuring node metadata, allocating subordinate node prefix information, generating network access credentials, and accessing the network.

[0161] Optionally, the device further comprises:

[0162] The packaging module is used by each node to package its own networking instructions to obtain a networking task;

[0163] A scheduling unit, configured to schedule the execution engines provided on the nodes for the networking tasks corresponding to the nodes according to the scheduling strategy and resource status;

[0164] The device also includes:

[0165] A saving module, used for the execution engine to save the historical execution records generated during the execution of each of the networking tasks, wherein the historical execution records include at least one of the following: data, log, status;

[0166] A re-execution module, configured to cause the execution engine to call the historical execution record to re-trigger the execution of the networking task when the execution of the networking task is interrupted or fails;

[0167] The device also includes:

[0168] A first feedback module, configured to cause the execution engine to record the execution result of the networking task when the networking task is successfully executed, interrupted, or failed, and to feed back the execution result in the reverse direction of the networking instruction set;

[0169] The networking task includes networking instructions, number of retries, parameters, sequence numbers, and historical execution records.

[0170] Optionally, the first node includes a root node and / or any one node in the existing target networking orchestration template, and the device further includes:

[0171] An acquisition module, used for the first node to acquire in real time the construction status of the construction process of the identity resolution network corresponding to each node and its child node;

[0172] The second feedback module is used to provide feedback to the network operation and maintenance personnel to promptly intervene and handle the problem when there are unrecoverable software problems or network problems in the process of building the identity resolution network.

[0173] Based on the same inventive concept, another embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement a method for building a digital network based on a programmable template and an automated networking protocol as described in any of the above embodiments.

[0174] Based on the same inventive concept, another embodiment of the present application further provides a computer-readable medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method for building a digital network based on a programmable template and an automated networking protocol as described in any of the above embodiments is implemented.

[0175] As for the device, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0176] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0177] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0178] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0179] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0180] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0181] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0182] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0183] The above is a detailed introduction to a method for building a digital network based on a programmable template and an automated networking protocol provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for building a digital network based on programmable templates and automated networking protocols, characterized in that: The method comprises: Building a target networking orchestration template through the first node, and performing a rationality evaluation on the target networking orchestration template; After the target networking orchestration template is evaluated and passed, the first node generates a corresponding networking instruction set according to the target networking orchestration template, where the networking instruction set is used to build an identity resolution network corresponding to the target networking orchestration template; The first node sends the networking instruction set to multiple second nodes, where the networking instruction set includes multiple networking instructions; Each of the second nodes constructs an identity resolution network according to the corresponding networking instruction in the received networking instruction set; The target networking orchestration template includes: An N+1-layer network with the first node as the root node, each layer of the network having multiple nodes, wherein the first node sends the networking instruction set to multiple second nodes, including: Sending, through the first node, other networking instructions in the networking instruction set except the networking instruction corresponding to the first node to a child node of the first node in the layer 2 network; Each node in the first N layers of the N+1 layer network sends the networking instructions corresponding to the node's child nodes to the nodes in the next layer of the network; Among them, each node in the target networking orchestration template holds its corresponding networking instructions and the networking instructions corresponding to its respective child nodes. The networking instructions include executors, execution commands, execution templates, and execution contexts. The execution commands include configuring node metadata, allocating subordinate node prefix information, generating network access credentials, and accessing the network.

2. The method according to claim 1, characterized in that The first node is provided with a client, and the target networking orchestration template is built through the first node, including: The first node establishes a network planning template project on the client, sets the IP address, prefix, name of each node, and the connection relationship between each node on the network planning template project, and obtains a preset network arrangement template; Evaluate the rationality, feasibility and construction cost of the preset networking orchestration template; When the preset networking orchestration template passes the evaluation, the target networking orchestration template is obtained.

3. The method according to claim 1, characterized in that After the target networking orchestration template is built by the first node, the method further includes: When there is a node parameter update in the target networking orchestration template, re-set the IP address, prefix, and name of the updated node in the target networking orchestration template; When there is a node position update in the target networking orchestration template, determining whether the updated node is a leaf node; When the updated node is a leaf node, directly updating the updated node; When the updated node is not a leaf node, the updated node and its child nodes are updated.

4. The method according to claim 1, characterized in that The method further comprises: Each node packages its own networking instructions into tasks to obtain networking tasks; The execution engine provided on each node performs task scheduling for each networking task corresponding to the node according to the scheduling strategy and resource status; The method further comprises: The execution engine saves the historical execution records generated during the execution of each of the networking tasks, wherein the historical execution records include at least one of the following: data, log, and status; When the execution of the networking task is interrupted or fails, the execution engine calls the historical execution record to re-trigger the execution of the networking task; The method further comprises: When the networking task is executed successfully, interrupted or failed, the execution engine records the execution result of the networking task and feeds back the execution result in the reverse direction of the networking instruction set; The networking task includes networking instructions, number of retries, parameters, sequence numbers, and historical execution records.

5. The method according to claim 1, characterized in that The first node includes a root node and / or any node in the existing target networking orchestration template, and the method further includes: The first nodes obtain in real time the construction status of the construction process of the identity resolution network corresponding to each node and its child nodes; When there are unrecoverable software problems or network problems in the process of building the identity resolution network, feedback network operation and maintenance personnel will intervene in time to handle them.

6. A digital network construction device based on programmable templates and automated networking protocols, characterized in that: The device comprises: A target networking orchestration template building module, used to build a target networking orchestration template through the first node and perform a rationality evaluation on the target networking orchestration template; A networking instruction set generation module, configured to generate, by the first node, a corresponding networking instruction set according to the target networking orchestration template after the target networking orchestration template is evaluated and passed, the networking instruction set being used to build an identity resolution network corresponding to the target networking orchestration template; A networking instruction set issuing module, configured for the first node to issue the networking instruction set to multiple second nodes, wherein the networking instruction set includes multiple networking instructions; An identity resolution network construction module, used for each of the second nodes to construct an identity resolution network according to the corresponding networking instruction received in the networking instruction set; The target networking orchestration template includes: An N+1-layer network with the first node as the root node, each layer of the network having multiple nodes, wherein the first node sends the networking instruction set to multiple second nodes, including: Sending, through the first node, other networking instructions in the networking instruction set except the networking instruction corresponding to the first node to a child node of the first node in the layer 2 network; Each node in the first N layers of the N+1 layer network sends the networking instructions corresponding to the node's child nodes to the nodes in the next layer of the network; Among them, each node in the target networking orchestration template holds its corresponding networking instructions and the networking instructions corresponding to its respective child nodes. The networking instructions include executors, execution commands, execution templates, and execution contexts. The execution commands include configuring node metadata, allocating subordinate node prefix information, generating network access credentials, and accessing the network.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by the processor, the method for building a digital network based on a programmable template and an automated networking protocol as described in any one of claims 1 to 5 is implemented.

8. A computer-readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the method for building a digital network based on a programmable template and an automated networking protocol as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Container arrangement management system and arrangement method for wireless access network

    CN111542064A