SD-WAN networking configuration method and device, and computer readable medium

By introducing the binding mechanism of configuration templates and device configuration files into SD-WAN, the problem of complexity of SD-WAN network configuration and difficulty in operation and maintenance is solved, hierarchical decoupling and information management of the configuration process are realized, and efficiency is improved. Configuration efficiency and security.

CN118612072APending Publication Date: 2024-09-06GUIZHOU BAISHANCLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410804394.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In SD-WAN application scenarios, large-scale multi-branch networking requires a large amount of configuration, long processes, complex operation and maintenance, and operational risks, resulting in heavy configuration workload, complex version management, and high difficulty in operation and maintenance.

Method used

Introducing the middle-layer concept of configuration template, by binding the configuration template to the sites and networking devices that need to be configured, a device configuration file is generated and pushed to the networking device for configuration, thereby achieving pre-setting and unification of configuration information. Management, reducing operation and maintenance difficulty and operational risks.

Benefits of technology

Through the use of configuration templates, the hierarchical decoupling of the configuration process and the unified management of information are achieved, which reduces the workload, reduces the difficulty of operation and maintenance, avoids risks caused by direct effect, and improves configuration efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612072A
    Figure CN118612072A
Patent Text Reader

Abstract

The invention provides an SD-WAN networking configuration method and device, and a computer readable medium, the scheme introduces a concept of a middle layer of a configuration template, on one hand, the configuration process is logically layered, so that specific configuration information does not directly take effect in a networking device, and on the other hand, the configuration efficiency is improved; instead, the configuration template is bound with the site needing to be configured and the networking equipment to generate the equipment configuration file to complete presetting of the configuration information, and then the equipment configuration file is pushed to the networking equipment to be bound, on the other hand, the equipment configuration files can be generated in batches based on the configuration template, and the equipment configuration efficiency is improved. Therefore, layered decoupling of the whole configuration process and unified management and issuing of the configuration information are realized, the operation and maintenance difficulty can be effectively reduced, the workload is reduced, and the risk caused by direct effectiveness is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to a SD-WAN networking configuration method, device, and computer-readable medium. Background Art

[0002] With the development of information technology, the application of SD-WAN (Software-Defined WAN) is becoming more and more widespread. SD-WAN is a fast-deployable, low-cost, and highly flexible wide area network solution that can be used to achieve network interconnection between various branches of an enterprise.

[0003] In the SD-WAN application scenario, when networking large-scale multi-branch offices, the amount of configuration involved is large and the configuration process is long. In the current configuration scheme, during the project implementation, the operation and maintenance personnel need to operate each networking device in turn according to the delivery process, and the configuration operation is directly related to each networking device. For example, when a tenant operator configures a networking device at a certain site, the configuration result will take effect directly on the networking device. Therefore, the existing configuration scheme has the following disadvantages: the configuration content is complex and the process is lengthy. The same type of networking devices need to be configured repeatedly multiple times, and the corresponding operations need to be performed in multiple configuration interfaces such as device management, basic device configuration, and network configuration on the device side and the control center. It is necessary to switch back and forth between multiple configuration interfaces, and the workload of the entire process is large. The configuration process has a high degree of coupling and complex version management. The configuration information will be directly issued and take effect in the networking device, resulting in the configuration information of each networking device needing to be independently version managed, which makes operation and maintenance difficult, and when there is a problem with the configuration information, there is a risk of affecting the entire network. Summary of the invention

[0004] One purpose of the present application is to provide a SD-WAN networking configuration method, device and computer-readable medium, at least to solve the problems in the prior art of large configuration workload, complex operation and maintenance and operational risks.

[0005] To solve the above problems, an embodiment of the present application provides a SD-WAN networking configuration method, the method comprising:

[0006] Get the configuration template;

[0007] According to the SD-WAN site to be bound and the networking device to be bound, add variable information to the configuration template to generate a device configuration file bound to the site and the networking device, wherein the variable information is related to the SD-WAN site to be bound and the networking device to be bound;

[0008] The configuration information corresponding to the device configuration file is pushed to the bound networking device, so that the networking device completes the networking configuration according to the configuration information.

[0009] The embodiment of the present application also provides a SD-WAN networking configuration device, the device comprising:

[0010] A configuration generation module, used to obtain a configuration template, add variable information to the configuration template according to the SD-WAN site to be bound and the networking device to be bound, and generate a device configuration file bound to the site and the networking device, wherein the variable information is related to the SD-WAN site to be bound and the networking device to be bound;

[0011] The push module is used to push the configuration information corresponding to the device configuration file to the bound networking device, so that the networking device completes the networking configuration according to the configuration information.

[0012] In addition, an embodiment of the present application also provides a computing device, which includes a memory for storing computer program instructions and a processor for executing computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the networking configuration of the SD-WAN.

[0013] An embodiment of the present application also provides a computer-readable medium on which computer program instructions are stored, and the computer program instructions can be executed by a processor to implement the networking configuration of the SD-WAN.

[0014] Compared with the prior art, in the networking configuration solution of the SD-WAN provided in the embodiment of the present application, a configuration template is first obtained, and then variable information is added to the configuration template according to the SD-WAN site to be bound and the networking device to be bound, to generate a device configuration file bound to the site and the networking device, wherein the variable information is related to the SD-WAN site to be bound and the networking device to be bound. After the binding is completed, the configuration information corresponding to the device configuration file can be pushed to the bound networking device, so that the networking device completes the networking configuration according to the configuration information. In this solution, the concept of the middle layer, configuration template, is introduced. On the one hand, the configuration process is logically layered, so that specific configuration information is no longer directly effective in the networking device. Instead, the configuration template is bound to the site and networking device to be configured to generate a device configuration file to complete the pre-setting of the configuration information, and then the device configuration file is pushed to the networking device for binding. On the other hand, device configuration files can be generated in batches based on the configuration template, which improves the configuration efficiency. This realizes the layered decoupling of the entire configuration process and the unified management and distribution of configuration information, which can effectively reduce the difficulty of operation and maintenance, reduce the workload, and avoid the risks brought by direct effectiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A processing flow chart of a SD-WAN networking configuration method provided in an embodiment of the present application;

[0016] Figure 2 This is a schematic diagram of the configuration process when the operation and maintenance personnel perform networking configuration on the networking configuration platform in an embodiment of the present application;

[0017] Figure 3 This is a schematic diagram of the principle of implementing the device in the embodiment of the present application;

[0018] Figure 4 A flowchart of a verification method for performing device configuration verification in an embodiment of the present application;

[0019] Figure 5 A schematic diagram of a networking configuration process for implementing hierarchical decoupling based on device in an embodiment of the present application;

[0020] Figure 6 A schematic diagram of the structure of a SD-WAN networking configuration device provided in an embodiment of the present application;

[0021] Figure 7 This is a structural diagram of a computing device for implementing a networking configuration of an SD-WAN in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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.

[0023] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.

[0024] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0025] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0026] In the SD-WAN application scenario, when networking large-scale multi-branch offices, the amount of configuration involved is large and the configuration process is long. The specific configuration process may include the storage and activation management operations of all terminal devices, the basic hardware configuration and network configuration on the device side, etc., and also includes the end-to-end routing link configuration on the central control. In the process of network configuration by configuration personnel, a control system for SD-WAN configuration management is generally used. According to the delivery process of the SD-WAN network to be configured, each configuration item of each networking device is operated in turn, so that the control system will persist the effective and ineffective configurations. This SD-WAN networking configuration solution has problems such as large configuration workload, complex operation and maintenance, and operational risks.

[0027] An embodiment of the present application provides a networking configuration method for SD-WAN, which introduces the concept of a configuration template as an intermediate layer. On the one hand, the configuration process is logically layered, so that specific configuration information is no longer directly effective in the networking device, but by binding the configuration template with the site and networking device to be configured to generate a device configuration file to complete the pre-setting of the configuration information, and then the device configuration file is pushed to the networking device for binding. On the other hand, device configuration files can be generated in batches based on the configuration template, thereby improving the configuration efficiency, thereby achieving hierarchical decoupling of the entire configuration process and unified management and distribution of configuration information, which can effectively reduce the difficulty of operation and maintenance, reduce workload, and avoid the risks brought by direct effectiveness.

[0028] In actual scenarios, the execution subject of the method can be a user device, a network device, or a device formed by integrating a user device and a network device through a network, or it can also be an application running on the above device. The execution subject can provide an interactive interface to the user to facilitate information interaction between the user and the execution subject, such as inputting configuration information, displaying configuration results or other prompt information during the configuration process. The user device includes but is not limited to various terminal devices such as computers, mobile phones, and tablet computers; the network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer collections. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing (Cloud Computing), where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.

[0029] Figure 1 The processing flow of a SD-WAN networking configuration method provided in an embodiment of the present application is shown, which at least includes the following steps:

[0030] Step S101, obtaining a configuration template.

[0031] Step S102, according to the SD-WAN site that needs to be bound and the networking device that needs to be bound, add variable information to the configuration template to generate a device configuration file bound to the site and the networking device.

[0032] The site may refer to a location in the SD-WAN network established by the user, such as the user's headquarters, branch, etc. The networking equipment may be equipment used to actually establish the SD-WAN network at each site, for example, in this embodiment, the networking equipment may be CPE (Customer Premise Equipment).

[0033] In the scheme of the present application, the configuration template is a concept of an intermediate layer. The configuration template adopts a templated design and has pre-included a part of the fixed content required for the SD-WAN networking configuration. The other part of the content, that is, the variable information in this embodiment, can be added to the configuration template according to the specific conditions of the sites and networking devices involved in this SD-WAN networking configuration, so that the sites and networking devices can be bound to the configuration template, and the corresponding device configuration files can be generated, so that the configuration template can be adjusted according to different sites and devices to adapt to the diverse configuration requirements. Among them, the variable information is related to the SD-WAN site to be bound and the networking device to be bound. For example, the variable information can specifically include the type information of the site, the type information of the device, the specific network configuration information of the site or device, etc. Therefore, the device configuration files can be generated in batches through the configuration template, and the templated design reduces the complexity of the configuration and improves the efficiency of the configuration. In addition, the use of the configuration template helps to achieve the standardization of the configuration, especially in the SD-WAN networking configuration of large-scale multi-branch institutions. Through the predefined configuration template, it can be ensured that each site and device follows a unified configuration standard and reduce the problems caused by configuration differences.

[0034] In some embodiments of the present application, the configuration template may include fixed content and content to be replaced, wherein the fixed content may be content that does not need to change each time the network is configured. In an SD-WAN environment, certain aspects of the network architecture may be standardized between multiple sites, and therefore may be predefined in the configuration template. For example, if an enterprise uses the same VLAN architecture, subnet division, routing strategy, or network isolation strategy in all its branches, these may be included in the template as fixed configurations.

[0035] The content to be replaced refers to the content that needs to change according to the actual situation each time the network is configured. The network architecture also contains some variables specific to sites or networking devices, such as the physical location of the site, the needs of the local network, the details of connecting to different service providers, the type of networking devices, or other parameter information related to other networking devices. These variables are not directly included in the fixed part of the template, but are dynamically added according to the specific situation of each site or each networking device when the template is applied. Therefore, when adding variable information to the configuration template according to the site of the SD-WAN that needs to be bound and the networking device that needs to be bound, the variable information can be used to replace the content to be replaced in the configuration template, thereby generating the device configuration file required this time. Since the configuration template including fixed content and content to be replaced can be used when generating the device configuration file, the user only needs to pay attention to the variable content about the site and networking device according to the actual needs of the current networking configuration during each configuration process. Not only does it ensure the consistency of configuration across multiple sites through common network architecture parameters, but it also leaves flexibility to adapt to the specific needs of each site. This template method helps to simplify the management and configuration of large-scale SD-WAN deployments, and is conducive to generating correct device configuration files more quickly, reducing the difficulty of networking configuration.

[0036] In addition, in another embodiment, the content to be replaced may also adopt the form of empty values, that is, the configuration template may not pre-write the content to be replaced, but set the specific values ​​of these contents to be replaced to empty values, thereby adding variable information to the configuration template according to the SD-WAN site to be bound as needed and the networking equipment to be bound as needed, and directly writing the required variable information in the corresponding empty value position to generate the device configuration file required this time.

[0037] In some embodiments of the present application, the configuration template may adopt a document structure in json format, so that when adding variable information to the configuration template according to the site of the SD-WAN to be bound and the networking device to be bound, and generating a device configuration file bound to the site and the networking device, the object name of the SD-WAN site and the object name of the networking device may be added to the configuration template in json format, thereby generating a device configuration file bound to the site and the networking device. For example, if the object name of the site to be configured this time is site.1234, when the site needs to be bound to the configuration template, the object name of the site can be added to the corresponding position in the configuration template, and the binding of the site to the configuration template can be completed. In actual scenarios, if it is necessary to continue to configure a specific content of a bound object, the form of object combined with object content can be adopted, wherein the object refers to the specific object that the configuration template needs to bind, including sites, networking devices, etc., and the object name is used as a distinction. The object content refers to the specific content configured for the object, such as IP address, port, etc., which can be distinguished by the corresponding field content. By adopting the form of object name and object content, not only can the consistency and standardization of configuration be ensured, but also the risk of configuration errors can be reduced and the security of configuration can be improved.

[0038] Step S103, push the configuration information corresponding to the device configuration file to the bound networking device, so that the networking device completes the networking configuration according to the configuration information. As a result, the specific configuration information is no longer directly effective in the networking device, but is bound to the corresponding networking device when needed, and then pushed to take effect, thereby achieving hierarchical decoupling of the configuration process and avoiding the risks brought by direct effectiveness.

[0039] In order to ensure that the configuration information can be configured smoothly after being sent down, and to prevent the wrong configuration information from being sent down to the networking device and taking effect, in the solution of the embodiment of the present application, before pushing the configuration information to the bound networking device, the configuration information corresponding to the device configuration file can be verified first, and when the verification passes, the configuration information corresponding to the device configuration file is pushed to the bound networking device, so that the networking device completes the networking configuration according to the configuration information. The verification mechanism in the embodiment of the present application is performed before pushing the configuration information, ensuring the correctness of the configuration information, thereby reducing the risk of network failures and interruptions caused by incorrect configuration, and reducing the time and resources required to handle configuration errors.

[0040] Among them, the verification method can be set according to the needs of the actual scenario. In this embodiment, different methods can be used to verify different contents in the configuration information as needed during the configuration process. For example, when verifying the configuration information corresponding to the device configuration file, the configuration information integrity of the device configuration file, the compliance of the variable type in the configuration information, and the legality of the configuration information format can be verified respectively. Among them, the configuration information integrity is used to verify whether the necessary content in the configuration information has been configured, the compliance of the variable type is used to verify whether the data type of the variable information in the configuration information meets the requirements, and the legality of the configuration information format is used to verify whether the specific format of the configuration information is correct. If any item fails to pass the verification, it is determined that the verification failed. When the verification fails, the user can be notified of the verification failure message and prompted to modify the configuration information, so that this solution can re-add variable information to the configuration template according to the SD-WAN site that needs to be bound and / or the networking device that needs to be bound, and generate a device configuration file bound to the site and networking device. In actual scenarios, in order to improve the user experience, when the verification fails, this solution can send a verification failure message to the user and prompt the user to modify the content in the configuration information that failed the verification so that the verification can pass and the correct device configuration file can be generated smoothly.

[0041] In actual scenarios, after the configuration information corresponding to the device configuration file is pushed to the bound networking device, the sending may fail due to various reasons. In this case, in order to avoid the failure of networking configuration and affect the existing network, the sending status of the configuration information can be notified. If the sending status is a sending failure, the configuration information pushed this time is rolled back and pushed again, so as to ensure that the configuration information can be successfully sent and the configuration is completed.

[0042] In some embodiments of the present application, when adding variable information to the configuration template according to the SD-WAN site to be bound and the networking device to be bound, and generating a device configuration file bound to the site and the networking device, the variable information about the site can be added to the configuration template according to the SD-WAN site to be bound, so that the configuration template is bound to the site. In an actual scenario, if there is no site currently, the corresponding site can be created in the SD-WAN operation and maintenance platform, and then the site can be bound to the configuration template. If there is a site currently, the site can be bound to the configuration template.

[0043] After completing the binding of the site, if it is necessary to bind the networking device, the variable information about the networking device can be added to the configuration template bound to the site according to the networking device to be bound, so that the configuration template is bound to the networking device, thereby generating a device configuration file bound to the site and the networking device. Through the above method, different types of sites and networking devices required for each networking configuration can be quickly bound to the configuration template, thereby simplifying the generation process of the device configuration file, facilitating the management of the configuration information of different sites and networking devices, and while improving the configuration efficiency, the configuration process can be decoupled and controlled to avoid operational risks caused by the configuration taking effect directly on the networking device.

[0044] In the process of binding networking devices, when there are networking devices that need to be configured, it is possible to first detect whether the networking device is online; if the networking device is online, add variable information about the networking device to the configuration template bound to the site, so that the configuration template is bound to the networking device, and a device configuration file bound to the site and the networking device is generated. If the networking device is not online, the variable information about the networking device can be added to the configuration template bound to the site after the networking device is newly added and activated, so that the configuration template is bound to the networking device, and a device configuration file bound to the site and the networking device is generated. By first detecting whether the device is online when binding the networking device, and then configuring it according to the device status, it is ensured that only activated and online devices can be configured, avoiding configuration errors and access by unauthorized devices, and ensuring the accuracy of the configuration.

[0045] Figure 2 The configuration process when the operation and maintenance personnel perform networking configuration on the networking configuration platform is shown. The networking configuration platform is implemented based on the networking configuration solution provided in the embodiment of the present application. The networking device in this embodiment is a CPE. Specifically, the configuration process may include the following steps:

[0046] Step S201, login. The operation and maintenance personnel use a pre-registered account to log in to the networking configuration platform, and after logging in to the platform, they can perform corresponding operations on the networking configuration process.

[0047] Step S202, tenant management. The operation and maintenance personnel can create, change or delete tenants, where the tenants are users who use the resources on the SD-WAN managed by the networking configuration platform, for example, corporate users who need to use SD-WAN to achieve network connectivity between the headquarters and branches.

[0048] Step S203, site management. The operation and maintenance personnel can create, change or delete a site, wherein the site can refer to a location in the SD-WAN network established by the user, such as the headquarters or branch of an enterprise user.

[0049] Step S204, device configuration. The operation and maintenance personnel can create, change, delete or roll back the device.

[0050] Step S205: Bind the device to the site. The operation and maintenance personnel can bind the existing device to the site, or unbind the bound site from the device.

[0051] Step S206: Bind the device to the CPE. The operation and maintenance personnel can bind the existing device to the CPE, or unbind the bound CPE from the device.

[0052] The device may refer to the configuration template and the corresponding device configuration file in the aforementioned networking configuration scheme. In this scheme, device is a concept of an intermediate layer and is a link between the upper and lower parts of the networking configuration process. Figure 3 The principle of implementing the device is shown. When implementing the device, a configuration template can be first constructed according to a preset template protocol, and the variable information that needs to be added to the configuration template can be determined by parsing the template. Then, according to the actual situation of the site and CPE to be bound, the corresponding variable information is added to the configuration template, thereby generating a device configuration file sent to the CPE.

[0053] In this processing process, the difference between the data structure of the configuration template and the actual data structure of the device configuration file lies in whether the relevant variable information is added. Specifically, the configuration template can be considered as a semi-finished product of the device configuration file. When the corresponding variable information is added to the configuration template and bound to objects such as sites and CPEs, the configuration template becomes the device configuration file of the corresponding CPE.

[0054] In some embodiments of the present application, variable information can be represented by the symbol "{{}}", specifically in the form of {{object}}.{{object content}}, and a document structure in json format is used. Among them, object refers to an object bound to a configuration template, such as a site, CPE, etc., and can be in the form of "object type.object name", such as {{device.device_127001}}, where the object type is device, and the specific object name is device_127001. Object content refers to the value of a specific configuration of an object. For example, in this embodiment, the form of ".field.field" or ".array field.field" can be used. For example, in {{.portalconf.portal_address}}, portalconf and portal_address are respectively the first-level field and the second-level field under the first-level field, which are used to represent the value of the specific configuration of the site address. For example, in {{(index.netinfo 0).ip}}, (index.netinfo 0) represents the 0th array element in an array field netinfo, and the value in the ip field in the 0th array element is the value of the specific configuration represented by the object content {{(index.netinfo 0).ip}}. In the above way, the device can be bound to the site and CPE, thereby generating the device configuration file required for the network configuration.

[0055] During the process of configuring the device, the configuration content may be verified as needed. For example, the verification in this embodiment may include the configuration information integrity of the device configuration file, the compliance of the variable type in the configuration information, and the legality of the configuration information format. Figure 4 A verification method for performing device configuration verification in the present implementation is shown, which may include the following verification steps: First, verify the device configuration, which may specifically include specific configuration items in the device, such as eth configuration (Ethernet interface configuration), etc. After the device configuration verification is successful, the device can be submitted, and then the submission verification is performed. In an actual scenario, if the device configuration verification or submission verification fails, you can return to the device configuration step and re-perform the above verification after completion. If the submission verification is successful, the device can be bound to objects such as CPE, and the binding verification can continue. When the binding verification fails, the binding can be re-performed, and when the binding verification succeeds, the device configuration file generation process is successfully completed.

[0056] Step S207: Push configuration: Push the completed device configuration file to the required CPE, so that the CPE can complete the networking configuration according to the configuration information therein.

[0057] The following takes a tenant's networking configuration process as an example to illustrate the hierarchical decoupling networking configuration process based on device. The specific steps are as follows: Figure 5 As shown, the configuration steps include the following:

[0058] Step S501, create a new device. The device created in this step is a configuration template without adding necessary variable information. Due to the use of template design, one configuration template can adapt to multiple CPEs of the same type. In the actual configuration generation process, the corresponding device configuration file can be generated according to certain rules and needs, thereby achieving efficient and unified verification and layered decoupling.

[0059] Step S502, bind the site. Bind the device created in the previous step to the site to be configured. In actual scenarios, this step may have the following two situations: if there is a site, the following step S503 can be performed; if there is no site, the site can be created first, and then step S503 can be performed.

[0060] Step S503: configure the device with the network port / NAT (Network Address Translation) related content.

[0061] Step S504: submit the device configuration and save the completed configuration information.

[0062] Step S505, perform configuration verification, if it fails to pass the verification, return to step S503 to re-configure. If it passes the verification, execute step S506.

[0063] Step S506, bind the device to the CPE that needs to be configured. In actual scenarios, this step may have the following two situations: if the CPE that needs to be configured is already online, it can be directly bound. If the CPE that needs to be configured is not online, you can add and activate the CPE, and then bind the device to the CPE. At this point, the device has added the necessary variable information to the configuration template according to the binding status of the site and CPE, so that the actual device configuration file can be obtained.

[0064] Step S507: Push configuration information to the bound CPE.

[0065] Step S508, when the push is completed, the sending status of the configuration information can be notified. If the sending status is a sending failure, the configuration information pushed this time is rolled back and pushed again.

[0066] This solution introduces the concept of configuration template as an intermediate layer. On the one hand, it logically layers the configuration process so that specific configuration information is no longer directly effective in the networking devices. Instead, it generates device configuration files by binding the configuration template with the site and networking devices that need to be configured to pre-set the configuration information. The device configuration files are then pushed to the networking devices for binding. On the other hand, device configuration files can be generated in batches based on the configuration template, which improves the configuration efficiency. This achieves hierarchical decoupling of the entire configuration process and unified management and distribution of configuration information, which can effectively reduce the difficulty of operation and maintenance, reduce workload, and avoid the risks brought by direct effectiveness.

[0067] In the entire configuration process, a unified configuration template can be constructed, and the configuration process of the same type of networking equipment can be managed in a templated manner. At the same time, the configuration delivery process is simple and direct, which simplifies the configuration consistency problem on the device side. Since in the entire configuration process, the configuration delivery will not be directly applied to the CPE, and the device as the middle layer can generate configuration on demand, so in the process of developing new functions of the SD-WAN network, it can also play the role of logical decoupling of configuration information push, so that the functions on the device side do not need to be upgraded synchronously with the new functions, making this solution better suitable for the scenario of new function development.

[0068] The present application also provides a SD-WAN networking configuration device, the structure of which is as follows: Figure 6 As shown, at least a configuration generation module 610 and a push module 620 are included. The configuration generation module 610 is used to obtain a configuration template, add variable information to the configuration template according to the SD-WAN site to be bound and the networking device to be bound, and generate a device configuration file bound to the site and the networking device, wherein the variable information is related to the SD-WAN site to be bound and the networking device to be bound. The push module 620 is used to push the configuration information corresponding to the device configuration file to the bound networking device, so that the networking device completes the networking configuration according to the configuration information.

[0069] In addition, the present application also provides a computing device, the structure of which is as follows: Figure 7 As shown, it includes a memory 710 for storing computer program instructions and a processor 720 for executing computer program instructions, wherein when the computer program instructions are executed by the processor, the processor is triggered to execute the SD-WAN networking configuration method.

[0070] The methods and / or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the processing unit, the above functions defined in the method of the present application are executed.

[0071] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0072] In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0073] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0074] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0075] As another aspect, the embodiments of the present application further provide a computer-readable medium, which may be included in the device described in the above embodiments; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more computer program instructions, which may be executed by a processor to implement the steps of the methods and / or technical solutions of the above multiple embodiments of the present application.

[0076] In addition, an embodiment of the present application also provides a computer program, which is stored in a computer device, so that the computer device executes the SD-WAN networking configuration method.

[0077] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In certain embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0078] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A SD-WAN networking configuration method, characterized in that: The method comprises: Get the configuration template; According to the SD-WAN site to be bound and the networking device to be bound, add variable information to the configuration template to generate a device configuration file bound to the site and the networking device, wherein the variable information is related to the SD-WAN site to be bound and the networking device to be bound; The configuration information corresponding to the device configuration file is pushed to the bound networking device, so that the networking device completes the networking configuration according to the configuration information.

2. The method according to claim 1, characterized in that: The configuration information corresponding to the device configuration file is pushed to the bound networking device, including: Verifying configuration information corresponding to the device configuration file; When the verification passes, the configuration information corresponding to the device configuration file is pushed to the bound networking device, so that the networking device completes the networking configuration according to the configuration information.

3. The method according to claim 2, characterized in that Verifying the configuration information corresponding to the device configuration file includes: The integrity of the configuration information of the device configuration file, the compliance of the variable type in the configuration information, and the legality of the configuration information format are verified respectively.

4. The method according to claim 2, characterized in that: According to the SD-WAN site to be bound and the networking device to be bound, variable information is added to the configuration template to generate a device configuration file bound to the site and the networking device, including: According to the site of the SD-WAN to be bound, adding variable information about the site to the configuration template so that the configuration template is bound to the site; According to the networking device to be bound, variable information about the networking device is added to the configuration template bound to the site, so that the configuration template is bound to the networking device, and a device configuration file bound to the site and the networking device is generated.

5. The method according to claim 4, characterized in that According to the networking device to be bound, variable information about the networking device is added to the configuration template bound to the site so that the configuration template is bound to the networking device, and a device configuration file bound to the site and the networking device is generated, including: When there is a networking device that needs to be configured, detect whether the networking device is online; If the networking device is online, add variable information about the networking device to the configuration template bound to the site, so that the configuration template is bound to the networking device, and generate a device configuration file bound to the site and the networking device; If the networking device is not online, after the networking device is newly added and activated, variable information about the networking device is added to the configuration template bound to the site to bind the configuration template to the networking device and generate a device configuration file bound to the site and the networking device.

6. The method according to claim 2, characterized in that After verifying the configuration information corresponding to the device configuration file, the method further includes: If the verification fails, add variable information to the configuration template based on the SD-WAN site that needs to be bound and / or the networking device that needs to be bound, and generate a device configuration file bound to the site and the networking device.

7. The method according to claim 1, characterized in that After pushing the configuration information corresponding to the device configuration file to the bound networking device, the method further includes: Notify the configuration information delivery status. If the delivery status is failure, roll back the configuration information pushed this time and push it again.

8. The method according to claim 1, characterized in that The configuration template adopts json format; According to the SD-WAN site to be bound and the networking device to be bound, variable information is added to the configuration template to generate a device configuration file bound to the site and the networking device, including: Add the object name of the SD-WAN site and the object name of the networking device in the json format configuration template to generate a device configuration file bound to the site and networking device.

9. A SD-WAN networking configuration device, characterized in that: The device comprises: A configuration generation module, used to obtain a configuration template, add variable information to the configuration template according to the SD-WAN site to be bound and the networking device to be bound, and generate a device configuration file bound to the site and the networking device, wherein the variable information is related to the SD-WAN site to be bound and the networking device to be bound; The push module is used to push the configuration information corresponding to the device configuration file to the bound networking device, so that the networking device completes the networking configuration according to the configuration information.

10. A computing device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein: When the computer program instructions are executed by the processor, the device is triggered to execute the method according to any one of claims 1 to 8.

11. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 1 to 8.