CN113839792B - Network access configuration method and device, computer equipment and readable storage medium - Google Patents

Network access configuration method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN113839792B
CN113839792B CN202010511450.2A CN202010511450A CN113839792B CN 113839792 B CN113839792 B CN 113839792B CN 202010511450 A CN202010511450 A CN 202010511450A CN 113839792 B CN113839792 B CN 113839792B
Authority
CN
China
Prior art keywords
configuration
template
equipment
service
shadow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010511450.2A
Other languages
Chinese (zh)
Other versions
CN113839792A (en
Inventor
佘勇
戴振利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN202010511450.2A priority Critical patent/CN113839792B/en
Publication of CN113839792A publication Critical patent/CN113839792A/en
Application granted granted Critical
Publication of CN113839792B publication Critical patent/CN113839792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Abstract

The invention discloses a network access configuration method, a network access configuration device, computer equipment and a readable storage medium, wherein the network access configuration method comprises the following steps: acquiring equipment role information and service demand information of target equipment to be configured; determining an equipment template corresponding to the equipment role information in a preset database, wherein the equipment template comprises a service tag corresponding to the service requirement information; acquiring a business template which corresponds to the business label and contains a configuration object from the database; adding the configuration object into a shadow device corresponding to the target device, so that an administrator can set a configuration item without a configuration value in the configuration object through the shadow device; when detecting that all the configuration items on the shadow equipment have corresponding configuration values, sending all the configuration items on the shadow equipment and the corresponding configuration values to the target equipment; the invention can simplify the network configuration flow and save the labor cost.

Description

Network access configuration method and device, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a network access configuration method, a network access configuration device, a computer device, and a readable storage medium.
Background
SD-WAN, a software defined wide area network, is a service formed by applying SDN technology to a wide area network scenario, where the service is used to connect enterprise networks, data centers, internet applications, and cloud services over a wide geographic range. In the prior art, when a terminal device needs to join an SD-WAN network, an administrator needs to manually perform network configuration on the terminal device on a management and control platform of the SD-WAN so as to make the terminal device join the SD-WAN network; therefore, the prior art has the defects of long network access configuration time and high labor cost caused by the large number of terminal devices needing to be configured.
Disclosure of Invention
The invention aims to provide a network access configuration method, a network access configuration device, computer equipment and a readable storage medium, which can simplify the network access configuration flow and save labor cost.
According to an aspect of the present invention, there is provided a network access configuration method, the method comprising:
acquiring equipment role information and service demand information of target equipment to be configured;
determining an equipment template corresponding to the equipment role information in a preset database, wherein the equipment template comprises a service tag corresponding to the service requirement information;
acquiring a business template which corresponds to the business label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values;
adding the configuration object into a shadow device corresponding to the target device, so that an administrator can set a configuration item without a configuration value in the configuration object through the shadow device;
and when detecting that all the configuration items on the shadow equipment have corresponding configuration values, sending all the configuration items on the shadow equipment and the corresponding configuration values to the target equipment.
Optionally, the service template includes: a static routing template, an authentication template and a tunnel template;
the device template comprises: a center node template, a branch node template, and a POP node template.
Optionally, before the step of acquiring the device role information and the service requirement information of the target device to be configured, the method further includes:
aiming at a device template, determining a target configuration item which corresponds to the device template and has no configuration value according to a service label contained in the device template;
one or more device sub-templates associated with the device template are created in the database, and configuration values for at least one target configuration item are set in each device sub-template.
Optionally, the step of adding the configuration object to a shadow device corresponding to the target device specifically includes:
adding the configuration object into the shadow device;
acquiring a device sub-template associated with the device template from the database;
and setting the configuration values contained in the device sub-templates to corresponding configuration items in the shadow device.
Optionally, the method further comprises:
when a new instruction is received, creating a service template corresponding to the new instruction in the database, and adding a service label of the service template into a corresponding equipment template;
when a deleting instruction is received, deleting a service template corresponding to the deleting instruction in the database, and deleting a service label of the service template in each equipment template;
when a modification instruction is received, modifying a configuration object in a business template corresponding to the modification instruction in the database.
In order to achieve the above object, the present invention further provides a network access configuration device, including:
the acquisition module is used for acquiring equipment role information and service demand information of target equipment to be configured;
the determining module is used for determining an equipment template corresponding to the equipment role information in a preset database, and the equipment template comprises a service label corresponding to the service demand information;
the extraction module is used for acquiring a service template which corresponds to the service label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values;
an adding module, configured to add the configuration object to a shadow device corresponding to the target device, so that an administrator sets a configuration item without a configuration value in the configuration object through the shadow device;
and the issuing module is used for sending all the configuration items and the corresponding configuration values on the shadow equipment to the target equipment when detecting that all the configuration items on the shadow equipment have the corresponding configuration values.
Optionally, the apparatus further includes:
the setting module is used for determining a target configuration item which corresponds to the equipment template and has no configuration value according to the business label contained in the equipment template aiming at the equipment template; one or more device sub-templates associated with the device template are created in the database, and configuration values for at least one target configuration item are set in each device sub-template.
Optionally, the adding module is specifically configured to:
adding the configuration object into the shadow device; acquiring a device sub-template associated with the device template from the database; and setting the configuration values contained in the device sub-templates to corresponding configuration items in the shadow device.
In order to achieve the above object, the present invention further provides a computer device, which specifically includes: the network access configuration method comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps of the network access configuration method when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described network entry configuration method.
The network access configuration method, the network access configuration device, the computer equipment and the readable storage medium provided by the invention adopt a template mode to simplify network access configuration, set a service template according to service requirements and set an equipment template according to equipment roles; the configuration items needed in the network access configuration process are listed in the service template, and the configuration values of the configuration items with consistency characteristics are set in the service template; in addition, the configuration values of the configuration items which need to be set in a personalized way are set through the shadow equipment, and finally the configuration values of all the configuration items are collected through the shadow equipment and are issued to the target equipment so as to complete the network access configuration of the target equipment. Compared with the prior art, because the configuration values of some configuration items are set through the service template, the manager only needs to set a small number of configuration values of the configuration items on the shadow equipment, thereby reducing the workload of the manager and improving the efficiency of network access configuration.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a schematic flow chart of an alternative method for configuring network access according to the first embodiment;
fig. 2 is a schematic diagram of an alternative composition structure of a network access configuration device according to the second embodiment;
fig. 3 is a schematic diagram of an alternative hardware architecture of a computer device according to the third embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The embodiment of the invention provides a network access configuration method, which is applied to a management and control platform in an SD-WAN network, as shown in figure 1, and specifically comprises the following steps:
step S101: and acquiring the equipment role information and the service demand information of the target equipment to be configured.
Wherein the device role information includes one of: center node, branch node, POP node; the business requirement information at least comprises one of the following: static routing, 802.1x authentication, tunneling.
Specifically, before step S101, the method further includes:
step A1: in a preset database, respectively creating corresponding service templates for different service requirements, and adding a service label for unique identification for each service template; wherein, the business template includes: a static routing template, an authentication template and a tunnel template;
step A2: creating corresponding equipment templates for different equipment roles in the database respectively, and adding one or more business labels in each equipment template; wherein the device template comprises: a center node template, a branch node template, and a POP node template.
It should be noted that, the service template includes one or more configuration objects, where the configuration objects are specific objects to be configured for a service requirement, for example, when one device may use two static routes, two configuration objects may be set in the static route template, where each configuration object corresponds to one static route; furthermore, the configuration object comprises one or more configuration items, for example the following in the mating object of the static routing template: IP address, mask, out interface, gateway.
In the SD-WAN scenario, since the roles of the devices that need to be configured for network access are relatively fixed, in this embodiment, corresponding device templates are created for devices with different roles, and in the device templates, the attribute that is common to the devices with the same roles, such as the number and the type of network interfaces, may be defined. In addition, in this embodiment, a plurality of service templates are set based on the service direction, and the service templates may be increased continuously according to expansion of the service.
Further, the method further comprises:
when a new instruction is received, creating a service template corresponding to the new instruction in the database, and adding a service label of the service template into a corresponding equipment template;
when a deleting instruction is received, deleting a service template corresponding to the deleting instruction in the database, and deleting a service label of the service template in each equipment template;
when a modification instruction is received, modifying a configuration object in a business template corresponding to the modification instruction in the database.
In this embodiment, since only the service tag of the service template is referenced on the device template, instead of adding all the configuration objects on the service template to the device template, when the service template is added or deleted in the database, only the corresponding service tag needs to be added or deleted in the corresponding device template; in addition, if only the configuration object in the service template is modified, no adjustment is needed to the device template.
Step S102: and determining an equipment template corresponding to the equipment role information in a preset database, wherein the equipment template comprises a service tag corresponding to the service requirement information.
It should be noted that, multiple device templates may be created for the same device role in the database, and the service labels referenced by any two device templates are different.
Step S103: acquiring a business template which corresponds to the business label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values.
In the SD-WAN scenario, the configuration values of part of the configuration items of the same service are fixed values, which are not changed due to the roles of the devices, and have consistency characteristics, while the configuration values of some configuration items need to be individually set according to different devices, so in this embodiment, in order to meet the requirements of consistency characteristics and individual setting of network access configuration, two types of configuration items are set in the service template; for the configuration items needing personalized setting, no configuration value is set in the service template, and for the configuration items with consistency characteristics, the configuration value is set in the service template. For example, in a static routing template of a device, two configuration items of a gateway and an outbound interface need to be set, since the outbound interface configuration of the static route may be the same for devices under different networks, a specific configuration value may be set for the outbound interface configuration item in the static routing template, but since different devices need to set different gateways, the configuration value of the gateway configuration item is not set in the static routing template.
Step S104: and adding the configuration object into a shadow device corresponding to the target device, so that an administrator can set a configuration item without a configuration value in the configuration object through the shadow device.
In this embodiment, a corresponding shadow device is created for a target device, network access configuration is performed on the shadow device through a management and control platform, whether configuration information is complete or not and whether the configuration information is legal or not are detected, and finally the complete and legal configuration information is issued to the target device; in addition, in this embodiment, according to the relationship that the device template refers to the service template and the service template refers to the configuration object, the configuration object to be added to the shadow device is recursively queried, the shadow device includes configuration items with configuration values and configuration items without configuration values, and an administrator can set the configuration values of all the configuration items through the shadow device; compared with the prior art, because the configuration values of some configuration items are set through the service template, the manager only needs to set a small number of configuration values of the configuration items on the shadow equipment, thereby reducing the workload of the manager and improving the efficiency of network access configuration.
Specifically, before step S104, the method further includes:
step B1: aiming at a device template, determining a target configuration item which corresponds to the device template and has no configuration value according to a service label contained in the device template;
step B2: one or more device sub-templates associated with the device template are created in the database, and configuration values for at least one target configuration item are set in each device sub-template.
It should be noted that, in practical applications, although the configuration values of some configuration items do not have consistency characteristics, the configuration values of the configuration items are one or more fixed values in most cases, so one or more device sub-templates may be created for the device templates, and the configuration values of the configuration items are set to the fixed values that often occur in the device sub-templates. For example, in the static routing template, the configuration value of the outbound interface configuration item is not set, but in practical application, the configuration value of the outbound interface configuration item is only ge1 and ge2, that is, for a part of devices, use ge1 as an outbound interface, and for another part of devices use ge2 as an outbound interface; thus, two device sub-templates may be set for the device templates, with the configuration value of the out-interface configuration item set to ge1 in one device sub-template and the configuration value of the out-interface configuration item set to ge2 in the other device sub-template.
Further, the step S104 specifically includes:
step C1: adding the configuration object into the shadow device;
step C2: acquiring a device sub-template associated with the device template from the database;
step C3: and setting the configuration values contained in the device sub-templates to corresponding configuration items in the shadow device.
If the service template referenced by the device template contains more configuration items without configuration values, the administrator needs to set configuration values of a plurality of configuration items on the shadow device, so as to further reduce the workload of the administrator, a plurality of device sub-templates can be set for the device template; the configuration values of part of configuration items are set in the equipment sub-templates, and the shadow equipment can use the configuration values in the equipment sub-templates, so that the number of configuration items, in which the configuration values need to be set in the shadow equipment by an administrator, is reduced, the network access configuration efficiency is further improved, and the labor cost is reduced.
Step S105: and when detecting that all the configuration items on the shadow equipment have corresponding configuration values, sending all the configuration items on the shadow equipment and the corresponding configuration values to the target equipment.
In this embodiment, the management and control platform assembles the configuration items according to the configuration hierarchy, and finally forms a complete device configuration. In this embodiment, the configuration values of the configuration items are set through the service template, and the configuration values of other configuration items are set through the device sub-template and the shadow device in a personalized manner.
The network access configuration method of this embodiment is further explained below by taking a static routing template as an example:
the static routing templates may include: static route configuration object a (using outgoing interface) and static route configuration object B (using gateway);
wherein, the static route configuration object a includes the following configuration items:
wherein "outif" is a configuration item without a configuration value;
the static route configuration object B includes the following configuration items:
wherein "gateway" is a configuration item without a configuration value;
for the static route configuration object a, since multiple devices all use the same outbound interface, a backup sub-template is created in the database, and the configuration value of the outbound interface configuration item is set to ge1 in the device sub-template, for example:
for the static route configuration object B, since the gateway address of each device is different, specific configuration values of the gateway configuration item need to be set on the shadow device, for example:
therefore, when the device template is introduced into the static routing template, the configuration value of the configuration item of the outbound interface in the static routing object A is obtained from the device sub-template, the configuration value of the gateway configuration item in the static routing configuration object B is set on the shadow device by an administrator, and other configuration items are obtained from the static routing template.
It should be noted that, in general, only configuration values of configuration items set by the device are saved on the device sub-template and the shadow device, for example, "ge1" and "gateway_1": "1.1.1.1"; however, since the static route uses ip+mask+outif+gateway as a unique identifier, these several configuration items need to be kept on the device sub-template and the shadow device.
Example two
The embodiment of the invention provides a network access configuration device which is applied to a management and control platform in an SD-WAN network, as shown in figure 2, and specifically comprises the following components:
an obtaining module 201, configured to obtain device role information and service requirement information of a target device to be configured;
a determining module 202, configured to determine an equipment template corresponding to the equipment role information in a preset database, where the equipment template includes a service tag corresponding to the service requirement information;
an extracting module 203, configured to obtain a service template corresponding to the service tag and containing a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values;
an adding module 204, configured to add the configuration object to a shadow device corresponding to the target device, so that an administrator sets a configuration item without a configuration value in the configuration object through the shadow device;
and the issuing module 205 is configured to send, when detecting that all the configuration items on the shadow device have corresponding configuration values, all the configuration items on the shadow device and the corresponding configuration values to the target device.
Specifically, the service template includes: a static routing template, an authentication template and a tunnel template;
the device template comprises: a center node template, a branch node template, and a POP node template.
Further, the device further comprises:
the setting module is used for determining a target configuration item which corresponds to the equipment template and has no configuration value according to the business label contained in the equipment template aiming at the equipment template; one or more device sub-templates associated with the device template are created in the database, and configuration values for at least one target configuration item are set in each device sub-template.
Further, the adding module 204 is specifically configured to:
adding the configuration object into the shadow device; acquiring a device sub-template associated with the device template from the database; and setting the configuration values contained in the device sub-templates to corresponding configuration items in the shadow device.
Still further, the apparatus further comprises:
the management module is used for creating a service template corresponding to the new instruction in the database when the new instruction is received, and adding a service label of the service template into a corresponding equipment template; when a deleting instruction is received, deleting a service template corresponding to the deleting instruction in the database, and deleting a service label of the service template in each equipment template; when a modification instruction is received, modifying a configuration object in a business template corresponding to the modification instruction in the database.
Example III
The present embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers) that can execute a program. As shown in fig. 3, the computer device 30 of the present embodiment includes at least, but is not limited to: a memory 301, a processor 302, which may be communicatively connected to each other via a system bus. It is noted that FIG. 3 only shows a computer device 30 having components 301-302, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may alternatively be implemented.
In this embodiment, the memory 301 (i.e., readable storage medium) includes flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 301 may be an internal storage unit of the computer device 30, such as a hard disk or memory of the computer device 30. In other embodiments, the memory 301 may also be an external storage device of the computer device 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 30. Of course, the memory 301 may also include both internal storage units of the computer device 30 and external storage devices. In this embodiment, the memory 301 is typically used to store an operating system and various types of application software installed on the computer device 30. In addition, the memory 301 can also be used to temporarily store various types of data that have been output or are to be output.
The processor 302 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 302 is generally used to control the overall operation of the computer device 30.
Specifically, in the present embodiment, the processor 302 is configured to execute a program of a network access configuration method stored in the processor 302, where the program of the network access configuration method is executed to implement the following steps:
acquiring equipment role information and service demand information of target equipment to be configured;
determining an equipment template corresponding to the equipment role information in a preset database, wherein the equipment template comprises a service tag corresponding to the service requirement information;
acquiring a business template which corresponds to the business label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values;
adding the configuration object into a shadow device corresponding to the target device, so that an administrator can set a configuration item without a configuration value in the configuration object through the shadow device;
and when detecting that all the configuration items on the shadow equipment have corresponding configuration values, sending all the configuration items on the shadow equipment and the corresponding configuration values to the target equipment.
The specific embodiment of the above method steps may refer to the first embodiment, and this embodiment is not repeated here.
Example IV
The present embodiment also provides a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., having stored thereon a computer program that when executed by a processor performs the following method steps:
acquiring equipment role information and service demand information of target equipment to be configured;
determining an equipment template corresponding to the equipment role information in a preset database, wherein the equipment template comprises a service tag corresponding to the service requirement information;
acquiring a business template which corresponds to the business label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values;
adding the configuration object into a shadow device corresponding to the target device, so that an administrator can set a configuration item without a configuration value in the configuration object through the shadow device;
and when detecting that all the configuration items on the shadow equipment have corresponding configuration values, sending all the configuration items on the shadow equipment and the corresponding configuration values to the target equipment.
The specific embodiment of the above method steps may refer to the first embodiment, and this embodiment is not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A network access configuration method, the method comprising:
acquiring equipment role information and service demand information of target equipment to be configured;
determining an equipment template corresponding to the equipment role information in a preset database, wherein the equipment template comprises a service tag corresponding to the service requirement information; wherein the device template comprises: a center node template, a branch node template and a POP node template;
acquiring a business template which corresponds to the business label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values, wherein the service template comprises: a static routing template, an authentication template and a tunnel template;
adding the configuration object into a shadow device corresponding to the target device, so that an administrator can set a configuration item without a configuration value in the configuration object through the shadow device;
and when detecting that all the configuration items on the shadow equipment have corresponding configuration values, sending all the configuration items on the shadow equipment and the corresponding configuration values to the target equipment.
2. The network entry configuration method according to claim 1, wherein before the step of acquiring device role information and service requirement information of the target device to be configured, the method further comprises:
aiming at a device template, determining a target configuration item which corresponds to the device template and has no configuration value according to a service label contained in the device template;
one or more device sub-templates associated with the device template are created in the database, and configuration values for at least one target configuration item are set in each device sub-template.
3. The network entry configuration method according to claim 2, wherein the step of adding the configuration object to a shadow device corresponding to the target device specifically includes:
adding the configuration object into the shadow device;
acquiring a device sub-template associated with the device template from the database;
and setting the configuration values contained in the device sub-templates to corresponding configuration items in the shadow device.
4. The network entry configuration method of claim 1, further comprising:
when a new instruction is received, creating a service template corresponding to the new instruction in the database, and adding a service label of the service template into a corresponding equipment template;
when a deleting instruction is received, deleting a service template corresponding to the deleting instruction in the database, and deleting a service label of the service template in each equipment template;
when a modification instruction is received, modifying a configuration object in a business template corresponding to the modification instruction in the database.
5. A network entry configuration device, the device comprising:
the acquisition module is used for acquiring equipment role information and service demand information of target equipment to be configured;
the determining module is used for determining an equipment template corresponding to the equipment role information in a preset database, and the equipment template comprises a service label corresponding to the service demand information; wherein the device template comprises: a center node template, a branch node template and a POP node template;
the extraction module is used for acquiring a service template which corresponds to the service label and contains a configuration object from the database; wherein the configuration object comprises: configuration items with configuration values and/or configuration items without configuration values, wherein the service template comprises: a static routing template, an authentication template and a tunnel template;
an adding module, configured to add the configuration object to a shadow device corresponding to the target device, so that an administrator sets a configuration item without a configuration value in the configuration object through the shadow device;
and the issuing module is used for sending all the configuration items and the corresponding configuration values on the shadow equipment to the target equipment when detecting that all the configuration items on the shadow equipment have the corresponding configuration values.
6. The network entry configuration device of claim 5, wherein the device further comprises:
the setting module is used for determining a target configuration item which corresponds to the equipment template and has no configuration value according to the business label contained in the equipment template aiming at the equipment template; one or more device sub-templates associated with the device template are created in the database, and configuration values for at least one target configuration item are set in each device sub-template.
7. The network entry configuration device of claim 6, wherein the adding module is specifically configured to:
adding the configuration object into the shadow device; acquiring a device sub-template associated with the device template from the database; and setting the configuration values contained in the device sub-templates to corresponding configuration items in the shadow device.
8. A computer device, the computer device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
CN202010511450.2A 2020-06-08 2020-06-08 Network access configuration method and device, computer equipment and readable storage medium Active CN113839792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010511450.2A CN113839792B (en) 2020-06-08 2020-06-08 Network access configuration method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010511450.2A CN113839792B (en) 2020-06-08 2020-06-08 Network access configuration method and device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113839792A CN113839792A (en) 2021-12-24
CN113839792B true CN113839792B (en) 2023-10-03

Family

ID=78963413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010511450.2A Active CN113839792B (en) 2020-06-08 2020-06-08 Network access configuration method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113839792B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007115470A1 (en) * 2006-04-11 2007-10-18 Huawei Technologies Co., Ltd. A device configuration information management method, the server and the system thereof
WO2015192651A1 (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Method for implementing rapid configuration and rapid configuration server
WO2016202098A1 (en) * 2015-06-16 2016-12-22 中兴通讯股份有限公司 Ethernet service configuration method and device, and network manager
CN108418704A (en) * 2018-01-17 2018-08-17 南京邮电大学 A kind of network element device method of network entry based on automation template configuration
CN109582681A (en) * 2018-10-26 2019-04-05 平安科技(深圳)有限公司 Business data processing method, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10637724B2 (en) * 2006-09-25 2020-04-28 Remot3.It, Inc. Managing network connected devices
US9712486B2 (en) * 2006-09-25 2017-07-18 Weaved, Inc. Techniques for the deployment and management of network connected devices
US10554765B2 (en) * 2018-06-25 2020-02-04 Verizon Patent And Licensing Inc. Intelligent programmable policies for network functions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007115470A1 (en) * 2006-04-11 2007-10-18 Huawei Technologies Co., Ltd. A device configuration information management method, the server and the system thereof
WO2015192651A1 (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Method for implementing rapid configuration and rapid configuration server
WO2016202098A1 (en) * 2015-06-16 2016-12-22 中兴通讯股份有限公司 Ethernet service configuration method and device, and network manager
CN108418704A (en) * 2018-01-17 2018-08-17 南京邮电大学 A kind of network element device method of network entry based on automation template configuration
CN109582681A (en) * 2018-10-26 2019-04-05 平安科技(深圳)有限公司 Business data processing method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IPRAN复杂场景的快速端到端业务配置;白泽刚;《光通信研究》;第48-50页 *
虚拟化技术及其在制造业信息化中的应用综述;陈小军;张;;计算机工程与应用(第23期);第29-34页 *

Also Published As

Publication number Publication date
CN113839792A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN108305072B (en) Method, apparatus, and computer storage medium for deploying a blockchain network
CN110309125B (en) Data verification method, electronic device and storage medium
CN112217656B (en) Method and device for synchronizing configuration information of network equipment in SD-WAN (secure digital-to-Wide area network) system
CN107909486B (en) Commission management method, application server and computer readable storage medium
CN110222535B (en) Processing device, method and storage medium for block chain configuration file
CN111277481B (en) Method, device, equipment and storage medium for establishing VPN tunnel
CN111654399B (en) Networking method, device, equipment and storage medium based on SD-WAN
CN111881150A (en) Web application program offline data processing method and device
CN112817867A (en) Interface test script generation method and device, computer equipment and medium
CN113839792B (en) Network access configuration method and device, computer equipment and readable storage medium
CN111831278A (en) Service element adaptive matching method and device, electronic equipment and storage medium
CN111654398B (en) Configuration updating method and device, computer equipment and readable storage medium
CN114443294B (en) Big data service component deployment method, system, terminal and storage medium
CN112001707A (en) Business workflow generation method and system based on business data
CN112418874A (en) Data tracing method and device and computer equipment
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN111447080B (en) Private network decentralization control method, device and computer readable storage medium
CN111585897B (en) Request route management method, system, computer system and readable storage medium
CN108595924B (en) Business authority management method and device, computer equipment and storage medium
CN112527780A (en) Redis cluster creating and managing method, system, computer device and storage medium
CN112583761B (en) Management method and device of security entity, computer equipment and storage medium
CN111125743B (en) Authority management method, system, computer device and computer readable storage medium
CN111026613A (en) Log processing method and device
CN113535571A (en) Method, device, equipment and storage medium for testing microservice based on sandbox
US11726798B2 (en) Connected provisioning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant after: Qianxin Technology Group Co.,Ltd.

Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Address before: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant before: Qianxin Technology Group Co.,Ltd.

Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.

GR01 Patent grant
GR01 Patent grant