CN112395016A - Equipment deployment method, device and related equipment - Google Patents

Equipment deployment method, device and related equipment Download PDF

Info

Publication number
CN112395016A
CN112395016A CN202011347554.0A CN202011347554A CN112395016A CN 112395016 A CN112395016 A CN 112395016A CN 202011347554 A CN202011347554 A CN 202011347554A CN 112395016 A CN112395016 A CN 112395016A
Authority
CN
China
Prior art keywords
information
deployed
centralized controller
equipment
deployment
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.)
Pending
Application number
CN202011347554.0A
Other languages
Chinese (zh)
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN202011347554.0A priority Critical patent/CN112395016A/en
Publication of CN112395016A publication Critical patent/CN112395016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an equipment deployment method which comprises the steps of establishing connection with a cloud server when a deployment instruction is obtained, and sending an inquiry request carrying an identifier of equipment to be deployed to the cloud server; receiving centralized controller information corresponding to the equipment to be deployed identifier fed back by the cloud server; establishing connection with the centralized controller according to the information of the centralized controller, and receiving configuration information fed back by the centralized controller; deploying online according to the configuration information; the equipment deployment method can effectively simplify the equipment deployment process and improve the equipment deployment efficiency. The application also discloses a device deployment apparatus, a system, a network device and a computer readable storage medium, all having the above beneficial effects.

Description

Equipment deployment method, device and related equipment
Technical Field
The present application relates to the field of computer network technologies, and in particular, to an apparatus deployment method, and further, to an apparatus deployment device, a system, a network device, and a computer-readable storage medium.
Background
The deployment of the traditional network equipment generally needs professional staff to support on site, so that the cost is high, and the implementation period is long. The ZTP (Zero-Touch Provisioning, full-automatic service Provisioning, Zero-contact deployment) refers to plug-and-play easy deployment of the device, and this deployment method does not require professional personnel to perform field deployment, and only needs to deploy edge devices, plug in communication links and access power supplies, and the devices can automatically download designated configurations and policies through centralized management devices, thereby realizing simplified and flexible deployment.
Currently, the predominant ZTP opening method in the industry is a method of opening a usb disk or easily deploying mails. In the USB flash disk opening mode, the USB flash disk with the ZTP file is shipped to an enterprise site and then inserted into equipment to be deployed of the enterprise site to realize zero-contact opening; if the mails are easy to deploy, when the equipment is opened and on-line, zero-contact opening can be realized only by directly connecting the equipment to be deployed with the PC and then importing the configuration file. Obviously, the zero-contact deployment cannot be truly achieved in the two implementation modes, and the zero-contact deployment can still be achieved only by some extra operations of a user, such as USB flash disk connection, PC connection, file import and the like, so that the equipment deployment efficiency cannot be effectively guaranteed, and the zero-contact extremely-fast online of network equipment is achieved.
Therefore, how to effectively simplify the device deployment process and improve the device deployment efficiency is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The equipment deployment method can effectively simplify equipment deployment processes and improve equipment deployment efficiency; another object of the present application is to provide a device deployment apparatus, a system, a network device, and a computer-readable storage medium, which also have the above beneficial effects.
In a first aspect, the present application provides a device deployment method, including:
when a deployment instruction is obtained, establishing connection with a cloud server, and sending an inquiry request carrying an identifier of equipment to be deployed to the cloud server;
receiving centralized controller information corresponding to the equipment to be deployed identifier fed back by the cloud server;
establishing connection with the centralized controller according to the information of the centralized controller, and receiving configuration information fed back by the centralized controller;
and carrying out deployment and online according to the configuration information.
Preferably, the acquiring the deployment instruction includes:
and detecting a target network port in real time, and acquiring the deployment instruction when the target network port is detected to be accessed into a network cable.
Preferably, the establishing of the connection with the cloud server includes:
judging whether the access network of the target network port starts a dynamic host configuration protocol service or not;
if so, acquiring network communication configuration information through the dynamic host configuration protocol service, and establishing connection with the cloud server by using the network communication configuration information.
Preferably, the receiving, by the cloud server, the centralized controller information corresponding to the identifier of the device to be deployed, which is fed back by the cloud server, includes:
receiving the information of the centralized controller obtained by the cloud server from a preset mapping relation table; the preset mapping relation table comprises mapping relations between the centralized controllers and the devices to be deployed.
Preferably, the generating process of the preset mapping relationship table includes:
the cloud server receives information of each centralized controller and information of each device to be deployed, which are uploaded by the centralized management platform;
and establishing a mapping relation between each centralized controller and each device to be deployed according to the information of the centralized controllers and the information of the devices to be deployed, and generating the preset mapping relation table.
In a second aspect, the present application further discloses an apparatus deployment system, including:
the device to be deployed is used for establishing connection with a cloud server when a deployment instruction is obtained, and sending an inquiry request carrying a device identifier to be deployed to the cloud server; establishing connection with the centralized controller according to the information of the centralized controller fed back by the cloud server, and deploying and getting online according to the configuration information fed back by the centralized controller;
the cloud server is used for inquiring and obtaining the information of the centralized controller according to the identifier of the equipment to be deployed and feeding back the information of the centralized controller to the equipment to be deployed;
and the centralized controller is used for feeding back the configuration information to the equipment to be deployed after establishing connection with the equipment to be deployed.
Preferably, the device deployment system further includes a centralized management platform, configured to upload information of each centralized controller and information of each device to be deployed to the cloud server;
the cloud server is further configured to establish a mapping relationship between each centralized controller and each device to be deployed according to the information of the centralized controller and the information of the devices to be deployed.
In a third aspect, the present application further discloses an apparatus for deploying an apparatus, including:
the first connection module is used for establishing connection with a cloud server when a deployment instruction is obtained, and sending an inquiry request carrying an identifier of equipment to be deployed to the cloud server;
the information feedback module is used for receiving the information of the centralized controller corresponding to the identifier of the equipment to be deployed, which is fed back by the cloud server;
the second connection module is used for establishing connection with the centralized controller according to the information of the centralized controller and receiving configuration information fed back by the centralized controller;
and the online deployment module is used for deploying online according to the configuration information.
In a fourth aspect, the present application further discloses a network device, including:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of any of the device deployment methods described above.
In a fifth aspect, the present application also discloses a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is adapted to implement the steps of any one of the device deployment methods described above.
The equipment deployment method comprises the steps of establishing connection with a cloud server when a deployment instruction is obtained, and sending an inquiry request carrying an identification of equipment to be deployed to the cloud server; receiving centralized controller information corresponding to the equipment to be deployed identifier fed back by the cloud server; establishing connection with the centralized controller according to the information of the centralized controller, and receiving configuration information fed back by the centralized controller; and carrying out deployment and online according to the configuration information.
Therefore, according to the equipment deployment method provided by the application, when the equipment to be deployed acquires the deployment instruction, the equipment to be deployed is directly connected with the cloud server to acquire the information of the corresponding centralized controller, and then the equipment deployment is completed by establishing connection with the corresponding centralized controller according to the information of the centralized controller to acquire the configuration information, compared with the traditional implementation mode of opening a U disk or easily deploying mails, the method can realize automatic equipment deployment only by responding to the equipment deployment instruction, does not need additional manual operation, greatly simplifies the equipment deployment process, effectively improves the equipment deployment efficiency, and realizes zero-contact extremely-speed online of network equipment in the true sense; in addition, the edge service device, namely the centralized controller, is used for storing and issuing the deployment information, and the centralized controller belongs to the edge service device and is used for storing the network deployment information, so that the configuration information can be rapidly acquired, and the equipment deployment efficiency is further improved.
The device deployment apparatus, the system, the network device, and the computer-readable storage medium provided by the present application all have the above beneficial effects, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a schematic flow chart of a device deployment method provided in the present application;
fig. 2 is a schematic structural diagram of an apparatus deployment system provided in the present application;
fig. 3 is a schematic structural diagram of an apparatus deployment device provided in the present application;
fig. 4 is a schematic structural diagram of a network device provided in the present application.
Detailed Description
The core of the application is to provide an equipment deployment method, which can effectively simplify the equipment deployment process and improve the equipment deployment efficiency; another core of the present application is to provide an apparatus deployment device, a system, a network device, and a computer-readable storage medium, which also have the above beneficial effects.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of an apparatus deployment method provided in the present application, where the apparatus deployment method may include:
s101: when a deployment instruction is obtained, establishing connection with a cloud server, and sending an inquiry request carrying an identifier of equipment to be deployed to the cloud server;
specifically, the device deployment method provided in the embodiment of the present application is applied to a device to be deployed, that is, a network device to be deployed, and in this step, mainly initiates a query request to a cloud server in response to an acquired deployment instruction, so as to acquire configuration information for implementing device deployment. The deployment instruction may be initiated by a user, for example, clicking a deployment button in a device to be deployed; or automatically triggering based on a preset condition, for example, automatically responding when connecting to a network signal, and as a result, the obtaining manner of the deployment instruction is not unique, which is not limited in the present application.
Further, when the device to be deployed acquires the instruction to be deployed, a connection relationship between the device to be deployed and the cloud server can be established, and an inquiry request is sent to the cloud server, wherein the inquiry request carries identification information (namely, an identification of the device to be deployed) of the device to be deployed, so as to acquire the configuration information. It can be understood that the identifier of the device to be deployed has uniqueness, that is, each device to be deployed corresponds to unique identification information, and in the present application, an SN code (Serial Number, product Serial Number) is used as the identifier of the device to be deployed to achieve acquisition of the deployment information.
It should be noted that relevant information of the cloud server, that is, cloud server information, such as internet address information, is pre-built in the device to be deployed, so that the device to be deployed can directly establish connection with the cloud server according to the cloud server information after acquiring the deployment instruction.
As a preferred embodiment, the acquiring the deployment instruction may include: and detecting the target network port in real time, and acquiring a deployment instruction when the target network port is detected to be accessed into a network cable.
The preferred embodiment provides a more specific method for acquiring a deployment instruction, namely, the method is automatically triggered when the device is connected to a network signal, the device can be on-line only by accessing the device into a network line, and the zero-contact rapid on-line of the network device is really realized. Specifically, after the device to be deployed is delivered to the destination and powered on, the on-line personnel only need to insert the network cable into the corresponding network port (i.e., the target network port), and the device to be deployed can automatically respond to the deployment instruction and enter the device deployment process.
As a preferred embodiment, the establishing a connection with the cloud server may include: judging whether an access network of a target network port starts a Dynamic Host Configuration Protocol (DHCP) service or not; if so, acquiring network communication configuration information through the dynamic host configuration protocol service, and establishing connection with the cloud server by using the network communication configuration information.
The preferred embodiment provides a specific type of device deployment network environment, that is, device deployment is realized in a DHCP scenario, so that after a network cable is accessed, whether a DHCP service is started in the current network environment can be detected, and when the DHCP service is started, network communication configuration information, such as an IP address of a front gateway, can be acquired based on the DHCP service to complete network access, thereby establishing connection with a cloud server; in addition, when the DHCP service is not started, a connection failure prompt can be output to remind technicians that the DHCP service is not started in the current access network, and the technicians need to start the DHCP service and then connect the DHCP service with the cloud server. Specifically, DHCP is a network protocol of a local area network, which can implement automatic allocation of IP addresses, thereby implementing central management of various network devices.
S102: receiving centralized controller information corresponding to the equipment identifier to be deployed fed back by the cloud server;
this step is intended to achieve acquisition of information of the centralized controller, where the information of the centralized controller is related to the identifier of the device to be deployed, such as address information, and the like, where the centralized controller belongs to the edge service device and stores configuration information of one or more devices to be deployed, and thus, the device deployment may be completed by acquiring information of the centralized controller to obtain required configuration information. Specifically, a mapping relationship between the network device identifier and the information of the centralized controller is prestored in the cloud server, so that after the cloud server receives an inquiry request sent by the device to be deployed and obtains the identifier of the device to be deployed, the information of the centralized controller corresponding to the identifier of the device to be deployed can be found from the mapping relationship and fed back to the device to be deployed. The mapping relationship between the network device identifier and the information of the centralized controller is not unique, and generally, configuration information of a plurality of network devices is stored in one centralized controller.
As a preferred embodiment, the receiving of the centralized controller information corresponding to the identifier of the device to be deployed, which is fed back by the cloud server, may include: receiving the information of the centralized controller obtained by the cloud server from the preset mapping relation table; the preset mapping relation table comprises mapping relations between the centralized controllers and the devices to be deployed.
The preferred embodiment provides a more specific method for acquiring information of an integrated controller, that is, a mapping relationship between a network device identifier and information of the integrated controller is stored in a form of a table in advance to a cloud server, so that the cloud server can directly and quickly query information of the integrated controller corresponding to an identifier of a device to be deployed in a mapping relationship table (a preset mapping relationship table) between the network device identifier and the information of the integrated controller, and feed the information back to the device to be deployed.
As a preferred embodiment, the generating process of the preset mapping relationship table may include: the cloud server receives information of each centralized controller and information of each device to be deployed, which are uploaded by the centralized management platform; and establishing a mapping relation between each centralized controller and each device to be deployed according to the information of the centralized controller and the information of the devices to be deployed, and generating a preset mapping relation table.
The preferred embodiment provides a specific method for generating a preset mapping relation table, specifically, a centralized management platform may be additionally provided in an equipment deployment system to implement management of a centralized controller, after system deployment is completed, the centralized management platform may collect information of the centralized controller and information of equipment to be deployed corresponding to each user, and upload the information to a cloud server, and the cloud server generates a final mapping relation table based on the information and stores the mapping relation table. It can be understood that the network device to be deployed by each user is not unique, and the configuration information of different network devices may be stored in different centralized controllers, so that the information of the centralized controller corresponding to one user may also be not unique, which does not affect the implementation of the technical solution, and the generation of the preset mapping table can be realized by acquiring all the information corresponding to each user.
S103: establishing connection with the centralized controller according to the information of the centralized controller, and receiving configuration information fed back by the controller;
specifically, after the device to be deployed obtains the information of the corresponding centralized controller, a connection relationship between the device to be deployed and the corresponding centralized controller can be established according to the information, so that the device to be deployed is automatically registered in the centralized controller, and the configuration information fed back by the device to be deployed is obtained. More specifically, the device to be deployed may initiate a configuration information acquisition request to the centralized controller based on the established connection channel, and the centralized controller responds to the request to implement feedback of the configuration information; the centralized controller may also determine configuration information corresponding to the device to be deployed directly according to the received connection request for establishing the connection relationship, and perform feedback of the configuration information.
S104: and carrying out deployment and online according to the configuration information.
The step aims to realize the online deployment of the equipment to be deployed, and after the equipment to be deployed obtains corresponding configuration information, the online logic can be automatically completed according to the configuration information, so that the equipment deployment is completed. Furthermore, after the device to be deployed is deployed, successful online information can be fed back to the centralized controller and/or the cloud server so as to be put on record; otherwise, if the equipment to be deployed fails to be deployed, the on-line failure information can be fed back, and the configuration information is obtained again to deploy the equipment.
Therefore, according to the equipment deployment method provided by the application, when the equipment to be deployed acquires the deployment instruction, the equipment to be deployed is directly connected with the cloud server to acquire the information of the corresponding centralized controller, and then the equipment deployment is completed by establishing connection with the corresponding centralized controller according to the information of the centralized controller to acquire the configuration information, compared with the traditional implementation mode of opening a U disk or easily deploying mails, the method can realize automatic equipment deployment only by responding to the equipment deployment instruction, does not need additional manual operation, greatly simplifies the equipment deployment process, effectively improves the equipment deployment efficiency, and realizes zero-contact extremely-speed online of network equipment in the true sense; in addition, the edge service device, namely the centralized controller, is used for storing and issuing the deployment information, and the centralized controller belongs to the edge service device and is used for storing the network deployment information, so that the configuration information can be rapidly acquired, and the equipment deployment efficiency is further improved.
To solve the above technical problem, the present application further provides an equipment deployment system, please refer to fig. 2, where fig. 2 is a schematic structural diagram of an equipment deployment system provided in the present application, and the equipment deployment system may include:
the device to be deployed 1 is used for establishing connection with the cloud server 2 when the deployment instruction is obtained, and sending an inquiry request carrying the identifier of the device to be deployed to the cloud server 2; establishing connection with the centralized controller 3 according to the information of the centralized controller fed back by the cloud server 2, and deploying and getting online according to the configuration information fed back by the centralized controller 3;
the cloud server 2 is used for inquiring and obtaining the information of the centralized controller according to the identifier of the equipment to be deployed and feeding back the information of the centralized controller to the equipment to be deployed 1;
and the centralized controller 2 is used for feeding back configuration information to the equipment to be deployed 1 after the connection is established with the equipment to be deployed 1.
Specifically, the device deployment system provided in the embodiment of the present application includes a device 1 to be deployed, a cloud server 2, and an integrated controller 3, where the cloud server 2 and the integrated controller 3 are both devices that have been deployed in advance; the number of the cloud servers 2 is generally 1, and the number of the devices to be deployed 1 and the centralized controllers 3 is not unique; relevant information of the cloud server 2 is built in the device to be deployed 1, a mapping relation between the device to be deployed 1 and the centralized controller 3 is built in the cloud server 2, and configuration information of one or more devices to be deployed 1 is built in the centralized controller 3.
In the equipment deployment process, firstly, equipment to be deployed 1 acquires and responds to a deployment instruction, establishes connection with a cloud server 2 according to built-in cloud server information, and initiates an inquiry request carrying an identifier of the equipment to be deployed to the cloud server; secondly, the cloud server 2 obtains the identifier of the equipment to be deployed by analyzing the query request, queries the information of the centralized controller corresponding to the identifier of the equipment to be deployed according to the mapping relation stored in the cloud server and feeds the information back to the equipment 1 to be deployed; further, the device to be deployed 1 establishes a connection relationship with the corresponding centralized controller 3 according to the information of the centralized controller, so as to acquire configuration information for implementing device deployment, which is stored in the centralized controller 3; finally, the device to be deployed 1 stores the configuration information to the local to automatically complete the online logic, and the automatic deployment of the device to be deployed 1 is completed.
As a preferred embodiment, the device deployment system may further include a centralized management platform, configured to upload information of each centralized controller and information of each device to be deployed to the cloud server 2; the cloud server 2 is further configured to establish a mapping relationship between each centralized controller 3 and each device to be deployed 1 according to the information of the centralized controller and the information of the devices to be deployed.
The preferred embodiment provides a more specific device deployment system, which may further include a centralized management platform, where the centralized management platform is used to implement management of the centralized controller 3, and both the centralized management platform and the centralized controller are devices that are deployed in advance, similar to the cloud server 2 and the centralized controller 3. After the system deployment is completed, the centralized management platform may collect the information of the centralized controller and the information of the device to be deployed corresponding to each user, upload the collected information to the cloud server 2, and generate and store the mapping relationship by the cloud server 2 based on the information, where the mapping relationship may be stored in a table form.
Therefore, according to the equipment deployment system provided by the embodiment of the application, when the equipment to be deployed acquires the deployment instruction, the equipment to be deployed is directly connected with the cloud server to acquire the information of the corresponding centralized controller, and then the equipment deployment is completed by acquiring the configuration information according to the connection between the information of the centralized controller and the corresponding centralized controller, compared with the traditional implementation mode that a U disk is opened or mails are easy to deploy, the method can realize automatic deployment of the equipment only by responding to the equipment deployment instruction, no additional manual operation is needed, the equipment deployment flow is greatly simplified, the equipment deployment efficiency is effectively improved, and zero-contact extremely-speed online of network equipment in the true sense is realized; in addition, the edge service device, namely the centralized controller, is used for storing and issuing the deployment information, and the centralized controller belongs to the edge service device and is used for storing the network deployment information, so that the configuration information can be rapidly acquired, and the equipment deployment efficiency is further improved.
On the basis of the above embodiments, the preferred embodiment takes SD-WAN CPE devices as an example, and provides a more specific device deployment method.
It should be noted that SD-WAN is fully called Software-Defined Wide Area Network, and refers to a private communication Network distributed in different geographical locations and connected to a plurality of LANs (Local Area networks); the CPE is known as Customer Premise Equipment and refers to the Customer Premise Equipment. In the CPE equipment deployment process, the internet access interface of the CPE equipment can automatically detect the internet access environment, and complete automatic registration and online in combination with a public cloud network management platform in the network environment, so that zero configuration can be realized, one network equipment can be successfully online, and the online difficulty of the network equipment is thoroughly reduced.
Specifically, the whole system architecture includes a cloud graph (cloud server), a centralized management platform, a centralized controller, and CPE devices to be deployed, where the centralized management platform is used to implement management of each centralized controller. After the service devices except the CPE device are deployed, the deployment process of the CPE device is as follows:
1. the interaction process between the centralized management platform and the cloud picture is as follows:
the centralized management platform is in tunnel butt joint with the cloud picture, after the tunnel butt joint is successful, the internet access addresses (information of the centralized controllers) of the centralized controllers corresponding to the users and the equipment lists of the corresponding users are automatically uploaded to the cloud picture, and the cloud picture carries out database modeling based on the information so as to bind the relation between the CPE equipment and the centralized controllers. The device list comprises SN codes of all CPE devices, so that the cloud graph carries out database modeling by utilizing the SN codes. Therefore, when the CPE device sends a query request to the cloud graph, the cloud graph returns a corresponding query result, that is, an IP address of the centralized controller corresponding to the CPE device, according to the modeling relationship, and further, the CPE device establishes a connection channel with the centralized controller based on the IP address, and acquires configuration information from the centralized controller through the connection channel to complete automatic registration and online.
2. The interactive process between the CPE equipment and the centralized controller is as follows:
(1) and (3) electrifying and connecting CPE equipment:
after the CPE equipment is delivered to the corresponding branch, an on-line worker firstly powers on the CPE equipment, and an indicator light of a GE3 gateway (a target gateway) automatically flickers at the moment; furthermore, the on-line personnel access one end of the network cable into the GE3 gateway, and the other end is connected to the LAN side of the original Internet exit router.
(2) CPE equipment connection cloud:
when the CPE senses that the GE3 network port is accessed to the network cable, whether the accessed network is provided with a DHCP Server Server or not is automatically detected, if yes, the network card attribute of the GE3 network port is automatically configured into a WAN attribute and a DHCP service type, and therefore the CPE can automatically acquire an IP address from the front gateway equipment and successfully access the network. Furthermore, the CPE automatically triggers a cloud easy deployment process, establishes connection with a cloud picture through a built-in cloud picture URL address of the CPE, and sends a query request carrying an SN code of the CPE to the cloud picture; and the cloud picture queries the IP address of the centralized controller corresponding to the SN code according to the established modeling relation and feeds the IP address back to the CPE equipment.
(3) The CPE equipment is connected with the centralized controller:
after the CEP equipment acquires the IP address of the corresponding centralized controller, the CEP equipment can adopt the preset TCP port and the centralized controller to establish the centralized control tunnel, and then the automatic registration of the CEP equipment in the centralized controller is completed.
(4) And (3) deploying CPE equipment on line:
after the centralized control tunnel is established, the centralized controller automatically issues a configuration template (configuration information) which is allocated to the branch by an administrator in advance to the local of the CPE equipment, so that the CPE equipment can automatically complete the on-line logic by using the configuration template, so that the CPE equipment deployment is completed, and at the moment, the intranet PC can realize the connection between the internet and the VPN intranet only by connecting a network cable to a LAN port of the CPE equipment.
Therefore, according to the device deployment method provided by the embodiment of the application, when the device to be deployed acquires the deployment instruction, the device to be deployed is directly connected with the cloud server to acquire the information of the corresponding centralized controller, and then the device deployment is completed by acquiring the configuration information according to the connection between the information of the centralized controller and the corresponding centralized controller, compared with the traditional implementation mode that a U disk is opened or mails are easy to deploy, the device deployment method can realize automatic deployment of the device only by responding to the device deployment instruction, does not need additional manual operation, greatly simplifies the device deployment process, effectively improves the device deployment efficiency, and realizes zero-contact extremely-speed online of network devices in the true sense; in addition, the edge service device, namely the centralized controller, is used for storing and issuing the deployment information, and the centralized controller belongs to the edge service device and is used for storing the network deployment information, so that the configuration information can be rapidly acquired, and the equipment deployment efficiency is further improved.
To solve the above technical problem, the present application further provides an apparatus deployment device, please refer to fig. 3, where fig. 3 is a schematic structural diagram of an apparatus deployment device provided in the present application, and the apparatus deployment device may include:
the first connection module 10 is configured to establish connection with a cloud server when a deployment instruction is obtained, and send an inquiry request carrying an identifier of a device to be deployed to the cloud server;
the information feedback module 20 is configured to receive centralized controller information corresponding to the identifier of the device to be deployed, which is fed back by the cloud server;
the second connection module 30 is configured to establish a connection with the centralized controller according to the information of the centralized controller, and receive configuration information fed back by the centralized controller;
and the online deployment module 40 is used for deploying online according to the configuration information.
As a preferred embodiment, the device deployment apparatus may further include an instruction obtaining module, configured to perform real-time detection on the target internet access, and obtain the deployment instruction when it is detected that the target internet access is connected to the network cable.
As a preferred embodiment, the first connection module 10 may be specifically configured to determine whether an access network of a target portal starts a dhcp service; if so, acquiring network communication configuration information through the dynamic host configuration protocol service, and establishing connection with the cloud server by using the network communication configuration information.
As a preferred embodiment, the information feedback module 20 may be specifically configured to receive centralized controller information obtained by querying from a preset mapping relationship table by a cloud server; the preset mapping relation table comprises mapping relations between the centralized controllers and the devices to be deployed.
As a preferred embodiment, the device deployment apparatus may further include a mapping table generating module, configured to receive, by the cloud server, information of each centralized controller and information of each device to be deployed, which are uploaded by the centralized management platform; and establishing a mapping relation between each centralized controller and each device to be deployed according to the information of the centralized controller and the information of the devices to be deployed, and generating a preset mapping relation table.
For the introduction of the apparatus provided in the present application, please refer to the above method embodiments, which are not described herein again.
To solve the above technical problem, the present application further provides a network device, please refer to fig. 4, where fig. 4 is a schematic structural diagram of a network device provided in the present application, and the network device may include:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps of any of the apparatus deployment methods described above.
For the introduction of the device provided in the present application, please refer to the above method embodiment, which is not described herein again.
To solve the above problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, can implement the steps of any one of the above-mentioned device deployment methods.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided in the present application, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall into the protection scope of the present application.

Claims (10)

1. A device deployment method, comprising:
when a deployment instruction is obtained, establishing connection with a cloud server, and sending an inquiry request carrying an identifier of equipment to be deployed to the cloud server;
receiving centralized controller information corresponding to the equipment to be deployed identifier fed back by the cloud server;
establishing connection with the centralized controller according to the information of the centralized controller, and receiving configuration information fed back by the centralized controller;
and carrying out deployment and online according to the configuration information.
2. The device deployment method of claim 1, wherein obtaining the deployment instruction comprises:
and detecting a target network port in real time, and acquiring the deployment instruction when the target network port is detected to be accessed into a network cable.
3. The device deployment method according to claim 2, wherein the establishing a connection with a cloud server comprises:
judging whether the access network of the target network port starts a dynamic host configuration protocol service or not;
if so, acquiring network communication configuration information through the dynamic host configuration protocol service, and establishing connection with the cloud server by using the network communication configuration information.
4. The device deployment method according to any one of claims 1 to 3, wherein the receiving centralized controller information corresponding to the device identifier to be deployed, which is fed back by the cloud server, includes:
receiving the information of the centralized controller obtained by the cloud server from a preset mapping relation table; the preset mapping relation table comprises mapping relations between the centralized controllers and the devices to be deployed.
5. The device deployment method according to claim 4, wherein the generation process of the preset mapping relation table includes:
the cloud server receives information of each centralized controller and information of each device to be deployed, which are uploaded by the centralized management platform;
and establishing a mapping relation between each centralized controller and each device to be deployed according to the information of the centralized controllers and the information of the devices to be deployed, and generating the preset mapping relation table.
6. An equipment deployment system, comprising:
the device to be deployed is used for establishing connection with a cloud server when a deployment instruction is obtained, and sending an inquiry request carrying a device identifier to be deployed to the cloud server; establishing connection with the centralized controller according to the information of the centralized controller fed back by the cloud server, and deploying and getting online according to the configuration information fed back by the centralized controller;
the cloud server is used for inquiring and obtaining the information of the centralized controller according to the identifier of the equipment to be deployed and feeding back the information of the centralized controller to the equipment to be deployed;
and the centralized controller is used for feeding back the configuration information to the equipment to be deployed after establishing connection with the equipment to be deployed.
7. The equipment deployment system of claim 6, further comprising a centralized management platform, configured to upload information of each centralized controller and information of each equipment to be deployed to the cloud server;
the cloud server is further configured to establish a mapping relationship between each centralized controller and each device to be deployed according to the information of the centralized controller and the information of the devices to be deployed.
8. An equipment deployment apparatus, comprising:
the first connection module is used for establishing connection with a cloud server when a deployment instruction is obtained, and sending an inquiry request carrying an identifier of equipment to be deployed to the cloud server;
the information feedback module is used for receiving the information of the centralized controller corresponding to the identifier of the equipment to be deployed, which is fed back by the cloud server;
the second connection module is used for establishing connection with the centralized controller according to the information of the centralized controller and receiving configuration information fed back by the centralized controller;
and the online deployment module is used for deploying online according to the configuration information.
9. A network device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the device deployment method as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the device deployment method according to any one of claims 1 to 5.
CN202011347554.0A 2020-11-26 2020-11-26 Equipment deployment method, device and related equipment Pending CN112395016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011347554.0A CN112395016A (en) 2020-11-26 2020-11-26 Equipment deployment method, device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011347554.0A CN112395016A (en) 2020-11-26 2020-11-26 Equipment deployment method, device and related equipment

Publications (1)

Publication Number Publication Date
CN112395016A true CN112395016A (en) 2021-02-23

Family

ID=74605257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011347554.0A Pending CN112395016A (en) 2020-11-26 2020-11-26 Equipment deployment method, device and related equipment

Country Status (1)

Country Link
CN (1) CN112395016A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014667A (en) * 2021-03-18 2021-06-22 山东英信计算机技术有限公司 Configuration method, device and equipment of rack server and storage medium
CN113472581A (en) * 2021-07-05 2021-10-01 中国工商银行股份有限公司 Zero-contact configuration opening method and device, computer equipment and storage medium
CN113645068A (en) * 2021-08-06 2021-11-12 福建星网视易信息系统有限公司 Method for realizing automatic deployment and computer readable storage medium
CN114363163A (en) * 2021-12-09 2022-04-15 北京六方云信息技术有限公司 HTTPS-based equipment deployment method, system, equipment and medium
WO2023116912A1 (en) * 2021-12-24 2023-06-29 贵州白山云科技股份有限公司 Device networking method and apparatus, medium, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294763A (en) * 2016-03-28 2017-10-24 阿里巴巴集团控股有限公司 Network equipment method and apparatus
CN110445873A (en) * 2019-08-14 2019-11-12 睿云联(厦门)网络通讯技术有限公司 A kind of cloud platform service cut-in method and Redirect Server
CN111262746A (en) * 2020-03-04 2020-06-09 深信服科技股份有限公司 Equipment opening deployment system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294763A (en) * 2016-03-28 2017-10-24 阿里巴巴集团控股有限公司 Network equipment method and apparatus
CN110445873A (en) * 2019-08-14 2019-11-12 睿云联(厦门)网络通讯技术有限公司 A kind of cloud platform service cut-in method and Redirect Server
CN111262746A (en) * 2020-03-04 2020-06-09 深信服科技股份有限公司 Equipment opening deployment system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014667A (en) * 2021-03-18 2021-06-22 山东英信计算机技术有限公司 Configuration method, device and equipment of rack server and storage medium
CN113472581A (en) * 2021-07-05 2021-10-01 中国工商银行股份有限公司 Zero-contact configuration opening method and device, computer equipment and storage medium
CN113645068A (en) * 2021-08-06 2021-11-12 福建星网视易信息系统有限公司 Method for realizing automatic deployment and computer readable storage medium
CN113645068B (en) * 2021-08-06 2023-11-10 福建星网视易信息系统有限公司 Method for realizing automatic deployment and computer readable storage medium
CN114363163A (en) * 2021-12-09 2022-04-15 北京六方云信息技术有限公司 HTTPS-based equipment deployment method, system, equipment and medium
WO2023116912A1 (en) * 2021-12-24 2023-06-29 贵州白山云科技股份有限公司 Device networking method and apparatus, medium, and device

Similar Documents

Publication Publication Date Title
CN112395016A (en) Equipment deployment method, device and related equipment
CN112600716B (en) Equipment configuration method, configuration device and management equipment
CN107592209B (en) Method and system for automatically configuring IP address information by multi-network card server
CN106331189B (en) Log obtaining method and device and network management server
WO2015096737A1 (en) Method, apparatus and system for controlling auto-provisioning of network device
CN109547502A (en) Firewall ACL management method and device
CN102523110A (en) Method and device for realizing automatic configuration of equipment with zero configuration
CN102594944B (en) A kind of method of automatic configuration and the network equipment
CN110716787A (en) Container address setting method, apparatus, and computer-readable storage medium
CN103973474A (en) Network terminal update configuration method
CN105592162A (en) Uploading method and system based on multi-type files
CN111262746B (en) Equipment opening deployment system and method
CN108769060B (en) Method and device for automatically adding server and cluster monitoring system
CN108694121B (en) Automatic testing method, device and system
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN105490849A (en) Automatic deployment method and system of application system
CN105119934A (en) Deployment method of virtual private network branch, headquarter equipment and branch equipment
CN112333026A (en) Network device, network management device and zero configuration opening system and method for network device
CN111770203B (en) Automatic evidence obtaining method and system based on GoIP equipment
WO2021017617A1 (en) Network device networking method and apparatus
JP3618677B2 (en) IP address automatic allocation method and gateway device
CN107465554B (en) Route switching method and system for wireless networking and single network application
CN107046477B (en) Method for realizing automatic configuration of C-CMTS (C-CMTS) equipment based on solidified address
CN109213095B (en) Distributed centralized control method and system, server and network layer controller
CN115277422B (en) SDN networking generation method, device, equipment and medium

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