CN112491603A - Equipment configuration method, device, equipment and storage medium - Google Patents
Equipment configuration method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112491603A CN112491603A CN202011287443.5A CN202011287443A CN112491603A CN 112491603 A CN112491603 A CN 112491603A CN 202011287443 A CN202011287443 A CN 202011287443A CN 112491603 A CN112491603 A CN 112491603A
- Authority
- CN
- China
- Prior art keywords
- controller
- server
- serial number
- information
- cpe
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004891 communication Methods 0.000 claims abstract description 44
- 238000012795 verification Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 abstract description 8
- 230000008569 process Effects 0.000 description 5
- 101150071927 AANAT gene Proteins 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a device configuration method, a device, equipment and a storage medium, wherein the method comprises the following steps: after the CPE is powered on, communication connection is established with a server; sending the IP address information and the product serial number of the equipment to a server; receiving a token returned by the server responding to the IP address information and the product serial number and controller IP address information of the controller; sending a connection authentication request to the controller through the controller IP address information; the connection authentication request carries a token and a product serial number; the controller is used for authenticating the token and the product serial number; and when the controller passes the authentication, establishing communication connection with the controller and receiving the configuration information sent by the controller. The method solves the technical problems that the conventional VPP deployment environment initialization configuration is configured one by one in a manual command line typing mode, the configuration efficiency is low, and the operation and maintenance cost is high.
Description
Technical Field
The present invention relates to the field of network deployment technologies, and in particular, to a device configuration method, apparatus, device, and storage medium.
Background
With the continuous development of network technology, the requirements for network equipment are also continuously improved, and in the traditional field, such as routers, firewalls, base stations and the like are generally solved by adopting hardware, but the disadvantages of hardware are obvious, bugs are not easy to repair, and debugging, maintenance and updating are also difficult. With the innovation of 4G/5G mobile technology, NFV (network function virtualization) is gradually becoming a trend to replace traditional hardware, and therefore a high-performance network IO development framework with a software architecture is required.
The VPP platform is one such development framework. It provides out-of-box switch/router functionality. It is an open source version of the cisco Vector Packet Processing (VPP) technique: a high performance packet processing protocol stack operable on a commercial CPU. It is applicable to various hardware architectures such as X86, ARM, and deployment environments (virtual machines).
The ZTP (zero configuration provisioning service) technique was first used for the application scenario of auto-configuration of switches in data centers. After the switch is powered on for the first time, the information of the initialization configuration, the position of the image upgrading file and the like is sent to the switch in a mode of responding to the DHCP request, so that the switch can automatically go to a designated position (namely ZTP Server) to acquire the initialization configuration and download and upgrade the image file. Therefore, the construction speed of the data center network is greatly increased, and meanwhile, the probability of human errors is reduced. And thus are being generalized to the environment of automated deployment of various networks.
However, the conventional VPP deployment environment initialization configuration is configured one by using a manual command line typing method, which not only has low configuration efficiency, but also consumes a great operation and maintenance cost. Moreover, the existing zero configuration activation service has no keep-alive function, and after the equipment is disconnected, the network needs to be reconnected manually.
Disclosure of Invention
The invention provides a device configuration method, a device, equipment and a storage medium, which are used for solving the technical problems that the conventional VPP deployment environment initialization configuration is configured one by one in a manual command line typing mode, the configuration efficiency is low, and the great operation and maintenance cost is consumed.
The equipment configuration method provided by the invention is applied to Customer Premise Equipment (CPE) based on a VPP platform, and the CPE is communicated with a server and a controller; the method comprises the following steps:
after the CPE is powered on, establishing communication connection with the server;
sending equipment IP address information and a product serial number to the server;
receiving a token returned by the server in response to the IP address information and the product serial number and controller IP address information of the controller;
sending a connection authentication request to the controller through the controller IP address information; the connection authentication request carries the token and the product serial number; the controller is used for authenticating the token and the product serial number;
and when the controller passes the authentication, establishing communication connection with the controller, and receiving the configuration information sent by the controller.
Optionally, the step of establishing a communication connection with the server after the CPE is powered on includes:
after the CPE is powered on, IP information is obtained from the server through a dynamic host configuration protocol;
and establishing communication connection with the server through the IP information.
Optionally, the method further comprises:
sending keep-alive information to the controller at regular time; the keep-alive information is used to maintain a communication connection with the controller.
Optionally, the server is further configured to send a check token and a check sequence number to the controller; when the controller passes the authentication, establishing a communication connection with the controller, and receiving configuration information sent by the controller, the method includes:
and when the controller determines that the product serial number is the same as the verification serial number and the token is the same as the verification token, establishing communication connection with the controller, and receiving configuration information sent by the controller.
The invention also provides a device configuration device, which is applied to Customer Premise Equipment (CPE) based on a VPP platform, wherein the CPE is communicated with a server and a controller; the device comprises:
the server connection module is used for establishing communication connection with the server after the CPE is powered on;
the device IP address information and product serial number sending module is used for sending the device IP address information and the product serial number to the server;
the receiving module is used for receiving the token returned by the server responding to the IP address information and the product serial number and the controller IP address information of the controller;
a connection authentication request sending module, configured to send a connection authentication request to the controller through the controller IP address information; the connection authentication request carries the token and the product serial number; the controller is used for authenticating the token and the product serial number;
and the configuration information receiving module is used for establishing communication connection with the controller and receiving the configuration information sent by the controller when the controller passes the authentication.
Optionally, the server connection module includes:
the IP information acquisition submodule is used for acquiring IP information from the server through a dynamic host configuration protocol after the CPE is powered on;
and the server connection submodule is used for establishing communication connection with the server through the IP information.
Optionally, the method further comprises:
the keep-alive information sending module is used for sending keep-alive information to the controller at regular time; the keep-alive information is used to maintain a communication connection with the controller.
Optionally, the server is further configured to send a check token and a check sequence number to the controller; the configuration information receiving module comprises:
and the configuration information receiving submodule is used for establishing communication connection with the controller and receiving the configuration information sent by the controller when the controller determines that the product serial number is the same as the verification serial number and the token is the same as the verification token.
The invention also provides an electronic device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the device configuration method as described in any one of the above according to instructions in the program code.
The invention also provides a computer-readable storage medium for storing program code for performing a device configuration method as described in any one of the above.
According to the technical scheme, the invention has the following advantages: the invention discloses a device configuration method, which is applied to Customer Premise Equipment (CPE) based on a VPP platform, wherein the CPE is communicated with a server and a controller; the method comprises the following steps: after the CPE is powered on, communication connection is established with a server; sending the IP address information and the product serial number of the equipment to a server; receiving a token returned by the server responding to the IP address information and the product serial number and controller IP address information of the controller; sending a connection authentication request to the controller through the controller IP address information; the connection authentication request carries a token and a product serial number; the controller is used for authenticating the token and the product serial number; and when the controller passes the authentication, establishing communication connection with the controller, and receiving the configuration information sent by the controller. The server can send the product serial number of the CPE to the controller by establishing connection with the server and sending the product serial number to the server, meanwhile, the server can send the same token to the CPE and the controller, and when the CPE sends a link authentication request to the controller through the IP address information of the controller sent by the server, the controller can carry out connection authentication on the CPE through the product serial number and the token of the CPE sent by the server and establish communication connection and send configuration information to the CPE. After the CPE is powered on, the initial configuration of the CPE network connection can be realized without manual participation in the subsequent process, the configuration efficiency is high, and the operation and maintenance cost is low.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a method for configuring a device according to an embodiment of the present invention;
FIG. 2 illustrates a topology relationship among a CPE, a server, and a controller according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for configuring a device according to another embodiment of the present invention;
fig. 4 is a flowchart of a device configuration method according to an embodiment of the present invention;
fig. 5 is a block diagram of a device configuration apparatus according to the present invention.
Detailed Description
The embodiment of the invention provides a device configuration method, a device, equipment and a storage medium, which are used for solving the technical problems that the conventional VPP deployment environment initialization configuration is configured one by one in a manual command line typing mode, the configuration efficiency is low, and the great operation and maintenance cost is consumed.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the 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 invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for configuring a device according to an embodiment of the present invention.
The equipment configuration method provided by the invention is applied to Customer Premise Equipment (CPE) based on a VPP platform, and the CPE is communicated with a server and a controller; the topological relationship of the CPE, the server and the controller is shown in figure 2;
the method specifically comprises the following steps:
a CPE (Customer Premise Equipment) is a mobile signal access device that receives a mobile signal and forwards the mobile signal by using a wireless WIFI signal, and is also a device that converts a high-speed 4G or 5G signal into a WIFI signal, and the number of mobile terminals capable of accessing the internet at the same time is also large. The CPE can be widely applied to wireless network access in rural areas, towns, hospitals, units, factories, cells and the like, and the cost for laying a wire network can be saved.
In the embodiment of the invention, after the CPE equipment is powered on, the IP information can be acquired in a DHCP mode and is connected with the server. Wherein, the server can be a ZTP server.
103, receiving a token returned by the server in response to the IP address information and the product serial number and controller IP address information of the controller;
after the connection is successful, the CPE sends own equipment IP address information and SN serial number, namely a product serial number, to the server, and after receiving the equipment IP address information and the SN serial number sent by the CPE, the server sends a token and controller IP address information of the controller to the CPE. Wherein the Token may be Token information. Meanwhile, the server may also send the transmitted Token information of the CPE to the controller, and send configuration information of the CPE to the controller. The server sends the Token information to the CPE and the controller, the content of the Token information is consistent, and the controller can verify the CPE equipment through the Token information. Wherein the configuration information of the CPE comprises an SN serial number of the CPE.
after acquiring the controller IP address information of the controller, the CPE may send a connection authentication request to the controller to establish a connection relationship with the controller. The controller may authenticate the SN serial number and the Token information carried in the connection authentication request based on configuration information of the CPE stored in the controller and corresponding Token information.
And 105, when the controller passes the authentication, establishing communication connection with the controller, and receiving the configuration information sent by the controller.
And after the controller passes the connection authentication of the CPE, establishing network connection with the CPE and sending configuration information to the CPE. The configuration information may further include a port name list and tunnel information that the NAT needs to be opened, where the tunnel information includes: tunnel ID, tunnel name, tunnel peer IP address, tunnel type, VXLAN ID, home subnet segment, shared key of IPSec tunnel, acl, qos. To enable configuration of the CPE. By the embodiment of the invention, zero-contact deployment of a network environment can be automatically completed after equipment is powered on, and configuration efficiency is improved.
The server can send the product serial number of the CPE to the controller by establishing connection with the server and sending the product serial number to the server, meanwhile, the server can send the same token to the CPE and the controller, and when the CPE sends a link authentication request to the controller through the IP address information of the controller sent by the server, the controller can carry out connection authentication on the CPE through the product serial number and the token of the CPE sent by the server and establish communication connection and send configuration information to the CPE. After the CPE is powered on, the initial configuration of the CPE network connection can be realized without manual participation in the subsequent process, the configuration efficiency is high, and the operation and maintenance cost is low.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for configuring a device according to another embodiment of the present invention. The method specifically comprises the following steps:
in the embodiment of the invention, the CPE equipment firstly needs to acquire the IP address in a DHCP mode, the CPE equipment is a client side as the DHCP, and the server side of the DHCP is realized by starting the DHCP service on the ZTP server.
After the CPE equipment is electrified and connected with a network, DHCP discovery information is sent in a broadcasting mode to search DHCP service, and a connection request is sent to a ZTP server after the DHCP discovery information is found; after receiving the connection request, the ZTP server selects one from the IP address pool which is not allocated to be allocated to the CPE, and sends DHCP response information containing the allocated IP address and other settings to the CPE.
After the CPE equipment acquires the IP address, the CPE equipment sends confirmation information to the DHCP service, and the CPE equipment successfully acquires the IP address.
and after the CPE acquires the IP address, the IP address of the ZTP server is acquired through the DHCP message content, and the communication connection with the ZTP server is established.
in the embodiment of the invention, the CPE can send the SN serial number to the server, and after receiving the SN serial number, the ZTP returns the controller IP address information of the controller, Token information for authentication and configuration information of the CPE to the CPE. The configuration information may include a port name list and tunnel information that the NAT needs to be opened, where the tunnel information includes: tunnel id, tunnel name, tunnel opposite end IP address, tunnel type, VXLAN id, local end sub-network segment, IPSec tunnel shared key, acl and qos.
The CPE sends access authentication information to the controller, wherein the access authentication information comprises an SN serial number and a Token, the controller establishes connection with the CPE after comparing the received SN serial number and the Token with the information acquired from the ZTP server, and issues configuration information to the CPE.
Specifically, after the controller establishes connection with the CPE, a get-fliter interface may be called to acquire parameters such as an SN serial number, Token, IP information, and the like of the CPE. In one example, this may be achieved by:
in the embodiment of the present invention, keep-alive information may also be sent to the controller at regular time, so as to maintain the communication connection between the CPE and the controller.
The keep-alive is completed through the notification function of the netconf, and the device can actively send an event message to the controller through the controller subscribing the defined event in the device. The controller responds to the keep-alive information.
In one example, this may be achieved by:
for ease of understanding, please refer to fig. 4, where fig. 4 is a flowchart of an apparatus configuration method according to an embodiment of the present invention.
As shown in fig. 4, after the CPE device is powered on, it is first determined whether the CPE device is configured with snat (source address translation), and if so, the snat is deleted, and a tap interface is created and the snat is reconfigured; if not, creating a tap interface and a configuration snat; then, obtaining an IP address from the server through the DHCP, if the obtaining fails, repeatedly obtaining, if the obtaining succeeds, reporting an SN serial number to the server, and issuing verification information (including a Token and a controller IP address) to the CPE by the server according to the serial number; and the CPE sends connection authentication information to the controller according to the verification information, and after the authentication is successful, the CPE sends keep-alive information to the controller at regular time so as to automatically reconnect the network after the equipment is disconnected.
The server can send the product serial number of the CPE to the controller by establishing connection with the server and sending the product serial number to the server, meanwhile, the server can send the same token to the CPE and the controller, and when the CPE sends a link authentication request to the controller through the IP address information of the controller sent by the server, the controller can carry out connection authentication on the CPE through the product serial number and the token of the CPE sent by the server and establish communication connection and send configuration information to the CPE. After the CPE is powered on, the initial configuration of the CPE network connection can be realized without manual participation in the subsequent process, the configuration efficiency is high, and the operation and maintenance cost is low.
Referring to fig. 5, fig. 5 is a block diagram of an apparatus configuration device according to the present invention.
The embodiment of the invention provides a device configuration device, which is applied to Customer Premise Equipment (CPE) based on a VPP platform, wherein the CPE is communicated with a server and a controller; the device comprises:
a server connection module 501, configured to establish a communication connection with the server after the CPE is powered on;
a device IP address information and product serial number sending module 502, configured to send the device IP address information and the product serial number to the server;
a receiving module 503, configured to receive a token returned by the server in response to the IP address information and the product serial number, and controller IP address information of the controller;
a connection authentication request sending module 504, configured to send a connection authentication request to the controller through the controller IP address information; the connection authentication request carries the token and the product serial number; the controller is used for authenticating the token and the product serial number;
a configuration information receiving module 505, configured to establish a communication connection with the controller when the controller passes the authentication, and receive the configuration information sent by the controller.
In this embodiment of the present invention, the server connection module 501 includes:
the IP information acquisition submodule is used for acquiring IP information from the server through a dynamic host configuration protocol after the CPE is powered on;
and the server connection submodule is used for establishing communication connection with the server through the IP information.
In the embodiment of the present invention, the method further includes:
the keep-alive information sending module is used for sending keep-alive information to the controller at regular time; the keep-alive information is used to maintain a communication connection with the controller.
In this embodiment of the present invention, the server is further configured to send a check token and a check serial number to the controller; the configuration information receiving module comprises:
and the configuration information receiving submodule is used for establishing communication connection with the controller and receiving the configuration information sent by the controller when the controller determines that the product serial number is the same as the verification serial number and the token is the same as the verification token.
The invention also provides an electronic device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is used for executing the device configuration method according to the instruction in the program code.
The present invention also provides a computer-readable storage medium for storing a program code for executing the apparatus configuration method according to the embodiment of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of implementing the solution of the present embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. The equipment configuration method is applied to Customer Premise Equipment (CPE) based on a VPP platform, and the CPE is communicated with a server and a controller; the method comprises the following steps:
after the CPE is powered on, establishing communication connection with the server;
sending equipment IP address information and a product serial number to the server;
receiving a token returned by the server in response to the IP address information and the product serial number and controller IP address information of the controller;
sending a connection authentication request to the controller through the controller IP address information; the connection authentication request carries the token and the product serial number; the controller is used for authenticating the token and the product serial number;
and when the controller passes the authentication, establishing communication connection with the controller, and receiving the configuration information sent by the controller.
2. The method according to claim 1, wherein the step of establishing a communication connection with the server after the CPE is powered on comprises:
after the CPE is powered on, IP information is obtained from the server through a dynamic host configuration protocol;
and establishing communication connection with the server through the IP information.
3. The method of claim 1, further comprising:
sending keep-alive information to the controller at regular time; the keep-alive information is used to maintain a communication connection with the controller.
4. The method of claim 1, wherein the server is further configured to send a check token and a check sequence number to the controller; when the controller passes the authentication, establishing a communication connection with the controller, and receiving configuration information sent by the controller, the method includes:
and when the controller determines that the product serial number is the same as the verification serial number and the token is the same as the verification token, establishing communication connection with the controller, and receiving configuration information sent by the controller.
5. The equipment configuration device is applied to a Customer Premise Equipment (CPE) based on a VPP platform, and the CPE is communicated with a server and a controller; the device comprises:
the server connection module is used for establishing communication connection with the server after the CPE is powered on;
the device IP address information and product serial number sending module is used for sending the device IP address information and the product serial number to the server;
the receiving module is used for receiving the token returned by the server responding to the IP address information and the product serial number and the controller IP address information of the controller;
a connection authentication request sending module, configured to send a connection authentication request to the controller through the controller IP address information; the connection authentication request carries the token and the product serial number; the controller is used for authenticating the token and the product serial number;
and the configuration information receiving module is used for establishing communication connection with the controller and receiving the configuration information sent by the controller when the controller passes the authentication.
6. The apparatus of claim 5, wherein the server connection module comprises:
the IP information acquisition submodule is used for acquiring IP information from the server through a dynamic host configuration protocol after the CPE is powered on;
and the server connection submodule is used for establishing communication connection with the server through the IP information.
7. The apparatus of claim 5, further comprising:
the keep-alive information sending module is used for sending keep-alive information to the controller at regular time; the keep-alive information is used to maintain a communication connection with the controller.
8. The apparatus of claim 5, wherein the server is further configured to send a check token and a check sequence number to the controller; the configuration information receiving module comprises:
and the configuration information receiving submodule is used for establishing communication connection with the controller and receiving the configuration information sent by the controller when the controller determines that the product serial number is the same as the verification serial number and the token is the same as the verification token.
9. An electronic device, comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the device configuration method of any one of claims 1-4 according to instructions in the program code.
10. A computer-readable storage medium characterized in that the computer-readable storage medium is configured to store a program code for executing the device configuration method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011287443.5A CN112491603A (en) | 2020-11-17 | 2020-11-17 | Equipment configuration method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011287443.5A CN112491603A (en) | 2020-11-17 | 2020-11-17 | Equipment configuration method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112491603A true CN112491603A (en) | 2021-03-12 |
Family
ID=74930973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011287443.5A Pending CN112491603A (en) | 2020-11-17 | 2020-11-17 | Equipment configuration method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112491603A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115333847A (en) * | 2022-08-22 | 2022-11-11 | 超聚变数字技术有限公司 | Data transmission method, data processing system and computing equipment |
CN115484168A (en) * | 2021-06-16 | 2022-12-16 | 瞻博网络公司 | Policy driven zero-contact service provisioning for network devices |
WO2023000719A1 (en) * | 2021-07-19 | 2023-01-26 | 中兴通讯股份有限公司 | Terminal access method, equipment and terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064714A (en) * | 2006-04-24 | 2007-10-31 | 华为技术有限公司 | Service dispensing method |
CN107360020A (en) * | 2017-06-07 | 2017-11-17 | 上海斐讯数据通信技术有限公司 | A kind of Large Volume Data business unit keep-alive system and its application method |
CN108023773A (en) * | 2017-12-07 | 2018-05-11 | 锐捷网络股份有限公司 | A kind of method and configuration server realized network equipment zero configuration and reached the standard grade |
CN108833232A (en) * | 2018-06-27 | 2018-11-16 | 烽火通信科技股份有限公司 | A kind of pppoe client implementation method and pppoe client based on VPP |
CN110365701A (en) * | 2019-07-30 | 2019-10-22 | 深圳前海达闼云端智能科技有限公司 | The management method of customer terminal equipment, calculates equipment and storage medium at device |
WO2020142573A1 (en) * | 2018-12-31 | 2020-07-09 | Himanshu Shah | Cloud node routing |
-
2020
- 2020-11-17 CN CN202011287443.5A patent/CN112491603A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064714A (en) * | 2006-04-24 | 2007-10-31 | 华为技术有限公司 | Service dispensing method |
CN107360020A (en) * | 2017-06-07 | 2017-11-17 | 上海斐讯数据通信技术有限公司 | A kind of Large Volume Data business unit keep-alive system and its application method |
CN108023773A (en) * | 2017-12-07 | 2018-05-11 | 锐捷网络股份有限公司 | A kind of method and configuration server realized network equipment zero configuration and reached the standard grade |
CN108833232A (en) * | 2018-06-27 | 2018-11-16 | 烽火通信科技股份有限公司 | A kind of pppoe client implementation method and pppoe client based on VPP |
WO2020142573A1 (en) * | 2018-12-31 | 2020-07-09 | Himanshu Shah | Cloud node routing |
CN110365701A (en) * | 2019-07-30 | 2019-10-22 | 深圳前海达闼云端智能科技有限公司 | The management method of customer terminal equipment, calculates equipment and storage medium at device |
Non-Patent Citations (1)
Title |
---|
张宇巍等: "基于 VPP 的虚拟路由器数据平面加速方法", 《计算机系统应用》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484168A (en) * | 2021-06-16 | 2022-12-16 | 瞻博网络公司 | Policy driven zero-contact service provisioning for network devices |
WO2023000719A1 (en) * | 2021-07-19 | 2023-01-26 | 中兴通讯股份有限公司 | Terminal access method, equipment and terminal |
CN115333847A (en) * | 2022-08-22 | 2022-11-11 | 超聚变数字技术有限公司 | Data transmission method, data processing system and computing equipment |
CN115333847B (en) * | 2022-08-22 | 2024-03-19 | 超聚变数字技术有限公司 | Data transmission method, data processing system and computing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112491603A (en) | Equipment configuration method, device, equipment and storage medium | |
US7310664B1 (en) | Unified, configurable, adaptive, network architecture | |
US8929214B2 (en) | Method, device, and network system of establishing a tunnel | |
EP3024175B1 (en) | Method and system for remote management of network devices | |
EP3905598A1 (en) | Message processing method and apparatus, control plane device, and computer storage medium | |
US20100290391A1 (en) | Apparatus and method for accessing multiple wireless networks | |
CN102083023B (en) | Method, system and equipment for restarting remote control equipment | |
EP3310119B1 (en) | Method and apparatus for processing network connection | |
CN105794149B (en) | Data network, network controller and method for managing routing device | |
US10148764B2 (en) | Backup wide area network connection for access points and routers | |
US11800587B2 (en) | Method for establishing subflow of multipath connection, apparatus, and system | |
JP2011041251A (en) | Architecture using inexpensively managed radio switching point for distribution of large scale wireless lan | |
US20220408332A1 (en) | Method for advertising route, network element, system, and device | |
US20210329477A1 (en) | Communication apparatus, method, program and recording medium | |
CN114158038A (en) | Communication method, device and storage medium | |
US11128558B2 (en) | Automatic routing configuration between hosts and network layer devices | |
CN104995615A (en) | Reservation and execution image writing of native computing devices | |
CN107566476B (en) | Access method, SDN controller, forwarding equipment and user access system | |
CN113259468B (en) | Network equipment configuration method and device | |
CN113965444B (en) | Remote recovery method and device for home gateway | |
US20170093624A1 (en) | Router Connectivity for Client Devices | |
CN105591941B (en) | A kind of wireless roaming method and device | |
US20240056814A1 (en) | Supporting computer networking device connections to controllers using different connection protocols | |
US20240048963A1 (en) | Blockchain-based system that records the states of 5g end user mobile devices using the distributed ledger | |
EP4184822A1 (en) | Method and apparatus for keeping user terminal alive |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210312 |