Edge node deployment method and apparatus, computer device, and storage medium
By automatically sending registration requests to the cloud platform when the edge node is connected to the network, performing self-testing and receiving configuration information, the problem of many steps in traditional edge node deployment methods is solved, and automated edge node configuration and efficient deployment process are realized.
Patent Information
- Application Number
- PCT/CN2024/108964
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-01
- Filing Date
- 2024-07-31
- Publication Date
- 2025-09-04
AI Technical Summary
Traditional edge node deployment methods have many steps, resulting in low deployment efficiency.
The edge node sends registration requests to the cloud platform when connected to the network. The cloud platform registers and sends a self-test command. The edge node conducts self-test and sends an activation success signal after passing. The cloud platform issues configuration information to automatically complete the configuration of the edge node.
It realizes automatic networking between cloud platforms and edge nodes, simplifies the deployment process, and improves the deployment efficiency of large-scale edge nodes.
Smart Images

Figure CN2024108964_04092025_PF_FP_ABST
Abstract
Description
Edge node deployment method, device, computer equipment and storage medium Technical Field
[0001] The present application relates to the field of Internet of Things technology, and in particular to an edge node deployment method, apparatus, computer equipment, storage medium, and computer program product. Background Art
[0002] With the rapid development of digitalization and the Internet of Things (IoT), the paradigms of data processing and computing have undergone significant changes. A new computing paradigm, edge computing, has gradually become a research hotspot. Edge computing moves data processing to the edge of the network, that is, to devices or terminals, achieving faster response times and lower network loads.
[0003] However, when applying edge computing, a large number of edge nodes need to be deployed. The traditional method of deploying edge nodes is to manually input various terminal configuration information. This method has many steps and leads to low deployment efficiency.
[0004] Summary of the Invention
[0005] Based on this, it is necessary to provide an edge node deployment method, apparatus, computer equipment, computer-readable storage medium and computer program product to address the technical problem that the above-mentioned deployment method has many steps and leads to low deployment efficiency.
[0006] In a first aspect, the present application provides an edge node deployment method. The method comprises:
[0007] When detecting that the edge node is connected to the network, sending a registration request to the cloud platform; the cloud platform is used to perform registration of the edge node based on the registration request;
[0008] receiving a self-test command returned by the cloud platform, and checking the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes registration of the edge node;
[0009] When the self-check for the application configuration passes, an activation success signal is sent to the cloud platform;
[0010] Receive configuration information sent by the cloud platform, and perform configuration on the edge node based on the configuration information.
[0011] In one embodiment, after detecting that the edge node is connected to the network and sending the registration request to the cloud platform, the method further includes:
[0012] In response to a connection request sent by the cloud platform, sending identity authentication information to the cloud platform; the connection request is generated by the cloud platform after receiving the registration request;
[0013] The cloud platform is used to verify the identity authentication information, and if the verification passes, establish a communication connection with the edge node and perform registration of the edge node.
[0014] In one embodiment, the edge node is pre-configured with a key, and the key is the same as the key of the cloud platform;
[0015] The receiving the configuration information sent by the cloud platform and performing configuration on the edge node based on the configuration information includes:
[0016] Receiving encrypted configuration information sent by the cloud platform;
[0017] The encrypted configuration information is decrypted using a key pre-configured for the edge node to obtain decrypted configuration information, and the edge node is configured based on the decrypted configuration information.
[0018] In one embodiment, the checking the application configuration of the edge node includes:
[0019] detecting at least one of an environmental configuration of the edge node, availability of components of the edge node, security of the edge node, and an operating status of a service on the edge node;
[0020] The method further comprises:
[0021] When the environmental configuration of the edge device where the edge node is deployed, the availability of each component of the edge device, the security of the edge device, and the operating status of the service on the edge node all meet their respective corresponding requirements, it is determined that the self-inspection of the edge node has passed.
[0022] In one of the embodiments, the edge node is pre-configured with address information of the cloud platform;
[0023] The sending of the registration request to the cloud platform includes:
[0024] Based on the address information of the cloud platform, a registration request is sent to the cloud platform.
[0025] In a second aspect, the present application also provides another edge node deployment method. The method includes:
[0026] In response to a registration request sent by an edge node, register the edge node with the cloud platform; the registration request is generated by the edge node when connected to the network;
[0027] Sending a self-test command to the edge node; the self-test command is used to instruct the edge node to perform a self-test of the application configuration;
[0028] receiving an activation success signal returned by the edge node; the activation success signal is generated by the edge node when the self-test for the application configuration passes;
[0029] In response to the activation success signal, the configuration information of the edge node is sent to the edge node; the edge node is configured based on the configuration information.
[0030] In one embodiment, the method further comprises:
[0031] Monitoring the operating status of the edge node;
[0032] When the operating status information of the edge node is monitored to be abnormal, an alarm message is sent to the alarm terminal.
[0033] In a third aspect, the present application also provides an edge node deployment device. The device includes:
[0034] a request sending module, configured to send a registration request to a cloud platform when detecting that the edge node is connected to the network; the cloud platform is configured to register the edge node based on the registration request;
[0035] A command receiving module, configured to receive a self-test command returned by the cloud platform and check the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes registration of the edge node;
[0036] A signal sending module, configured to send an activation success signal to the cloud platform when the self-test configured for the application passes;
[0037] The information receiving module is used to receive the configuration information sent by the cloud platform and perform configuration on the edge node based on the configuration information.
[0038] In a fourth aspect, the present application also provides another edge node deployment device. The device includes:
[0039] a node registration module, configured to register the edge node in the cloud platform in response to a registration request sent by the edge node; the registration request is generated by the edge node when it is connected to the network;
[0040] A command sending module, configured to send a self-test command to the edge node; the self-test command is used to instruct the edge node to perform a self-test of the application configuration;
[0041] a signal receiving module, configured to receive an activation success signal returned by the edge node; the activation success signal is generated when the edge node passes a self-test for the application configuration;
[0042] An information sending module is used to send the configuration information of the edge node to the edge node in response to the activation success signal; the edge node is used to perform configuration based on the configuration information.
[0043] In a fifth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0044] When detecting that the edge node is connected to the network, sending a registration request to the cloud platform; the cloud platform is used to perform registration of the edge node based on the registration request;
[0045] receiving a self-test command returned by the cloud platform, and checking the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes registration of the edge node;
[0046] When the self-check for the application configuration passes, an activation success signal is sent to the cloud platform;
[0047] Receive configuration information sent by the cloud platform, and perform configuration on the edge node based on the configuration information.
[0048] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:
[0049] When detecting that the edge node is connected to the network, sending a registration request to the cloud platform; the cloud platform is used to perform registration of the edge node based on the registration request;
[0050] receiving a self-test command returned by the cloud platform, and checking the application configuration of the edge node based on the self-test command; wherein the self-test command is generated after the cloud platform completes registration of the edge node;
[0051] When the self-check for the application configuration passes, an activation success signal is sent to the cloud platform;
[0052] Receive configuration information sent by the cloud platform, and perform configuration on the edge node based on the configuration information.
[0053] In a seventh aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:
[0054] When detecting that the edge node is connected to the network, sending a registration request to the cloud platform; the cloud platform is used to perform registration of the edge node based on the registration request;
[0055] receiving a self-test command returned by the cloud platform, and checking the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes registration of the edge node;
[0056] When the self-check for the application configuration passes, an activation success signal is sent to the cloud platform;
[0057] Receive configuration information sent by the cloud platform, and perform configuration on the edge node based on the configuration information.
[0058] The above-mentioned edge node deployment method, device, computer equipment, storage medium and computer program product, when the edge node detects that it is connected to the network, it sends a registration request to the cloud platform, so that the cloud platform performs registration of the edge node based on the registration request. After the registration is completed, the cloud platform sends a self-test command to the edge node. After receiving the self-test command, the edge node checks its own application configuration based on the self-test command. And when the self-test for the application configuration passes, an activation success signal is sent to the cloud platform to instruct the cloud platform to send configuration information to the edge node. After the edge node receives the configuration information, it can automatically complete the configuration according to the configuration information. The network configuration, registration, self-test and configuration of the edge node in this method are all automatically completed by the cloud platform and the edge node, that is, it can realize automatic networking of the cloud platform and the edge node, realize automatic connection and communication between the cloud platform and the edge node, and improve the efficiency of cloud-edge collaborative management. Compared to the traditional cloud-edge networking process, which requires manual setup of the operating environment, configuration of host network cards, manual network configuration, and network connectivity testing during initial configuration, this method completes the environment setup and related configurations before the edge node host leaves the factory. During on-site deployment, simply connect the power supply and network to automatically complete a series of networking operations such as network configuration, registration, and self-testing. This greatly simplifies the traditional edge node deployment process and operational steps, effectively improving the deployment efficiency of large quantities of edge nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] FIG1 is an application environment diagram of an edge node deployment method according to an embodiment;
[0060] FIG2 is a schematic diagram of a process for deploying edge nodes in one embodiment;
[0061] FIG3 is a schematic diagram of a process for deploying edge nodes in another embodiment;
[0062] FIG4 is a schematic diagram of the interaction process of cloud-edge automatic networking in one embodiment;
[0063] FIG5 is a structural block diagram of an edge node deployment device according to an embodiment;
[0064] FIG6 is a structural block diagram of an edge node deployment device according to another embodiment;
[0065] FIG7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0066] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0067] The edge node deployment method provided in the embodiment of the present application can be applied in the application environment as shown in Figure 1. Among them, the edge node 102 communicates with the cloud platform 104 through the network. The cloud platform 104 can be an independent server or a server cluster composed of multiple servers. In the application scenario of the present application, when the edge node 102 detects that it is connected to the network, it sends a registration request to the cloud platform 104 so that the cloud platform 104 performs registration of the edge node 102 based on the registration request. After the registration is completed, the cloud platform 104 sends a self-test command to the edge node 102. After receiving the self-test command, the edge node 102 checks its own application configuration based on the self-test command. And when the self-test for the application configuration passes, an activation success signal is sent to the cloud platform 104 to instruct the cloud platform 104 to send configuration information to the edge node 102. After the edge node 102 receives the configuration information, it can complete the configuration according to the configuration information.
[0068] In one embodiment, as shown in FIG2 , a method for deploying an edge node is provided. The method is described by taking the edge node 102 in FIG1 as an example, and includes the following steps:
[0069] Step S210: When it is detected that the edge node is connected to the network, a registration request is sent to the cloud platform; the cloud platform is used to perform registration of the edge node based on the registration request.
[0070] Among them, edge nodes refer to devices or nodes in a distributed computing network. Edge nodes can be various devices, including sensors, smart phones, IoT devices, routers, switches, etc. They can perform computing, storage and data processing tasks at the edge of the network.
[0071] The registration request carries the node identifier of the edge node. The node identifier is an identifier that uniquely identifies the edge node, such as a serial number or MAC address (Media Access Control Address) of the edge node.
[0072] In a specific implementation, the edge node's node identifier, cloud platform address information, and key information can be pre-configured with the edge node before it leaves the factory. This allows the edge node to automatically send a registration request carrying the node identifier to the cloud platform after connecting to the network. Upon receiving the registration request, the cloud platform can complete the edge node's registration based on the node identifier in the registration request.
[0073] In this step, the edge nodes are registered on the cloud platform so that the cloud platform can uniquely identify and manage each edge node.
[0074] Step S220: Receive a self-check command returned by the cloud platform, and check the application configuration of the edge node based on the self-check command; the self-check command is generated after the cloud platform completes registration of the edge node.
[0075] The application configuration includes at least one of the environment configuration of the edge node, the availability of each component of the edge node, the security of the edge node, and the running status of the service on the edge node.
[0076] In a specific implementation, after completing the registration of the edge node, the cloud platform returns a self-test command to the edge node, causing the edge node to perform a pre-operational self-check based on the self-test command to ensure that the edge node can operate normally. Specifically, the checks performed by the edge node after receiving the self-test command may include at least one of the following: the edge node's environmental configuration, the availability of each component of the edge node, the security of the edge node, and the operating status of the services on the edge node. The self-test result is determined based on the results of the checks on each condition.
[0077] Step S230: When the self-check for the application configuration passes, an activation success signal is sent to the cloud platform.
[0078] Specifically, the edge node's application configuration is checked in various ways. When each of the following conditions—the edge node's environmental configuration, the availability of its components, the edge node's security, and the operational status of its services—meets the corresponding requirements, the self-check is considered passed. Conversely, when any of these conditions fails to meet the corresponding requirements, the self-check is considered failed. If the self-check passes, the edge node sends an activation success signal to the cloud platform, prompting it to send the configuration information.
[0079] Step S240: Receive configuration information sent by the cloud platform, and configure the edge node based on the configuration information.
[0080] The configuration information may include: device IP address, database address, database account and password, MQTT (Message Queuing Telemetry Transport) account and password, MQTT subscription / publishing topic, manual network time synchronization, etc.
[0081] In a specific implementation, when the cloud platform receives an activation success signal sent by the edge node, it indicates that the edge node has the conditions for actual operation, and then it can send configuration information to the edge node, so that the edge node automatically completes the configuration according to the configuration information sent by the cloud platform.
[0082] In the above-mentioned edge node deployment method, when the edge node detects that it is connected to the network, it sends a registration request to the cloud platform, so that the cloud platform performs registration of the edge node based on the registration request. After the registration is completed, the cloud platform sends a self-test command to the edge node. After receiving the self-test command, the edge node checks its own application configuration based on the self-test command. And when the self-test for the application configuration passes, an activation success signal is sent to the cloud platform to instruct the cloud platform to send configuration information to the edge node. After the edge node receives the configuration information, it can automatically complete the configuration according to the configuration information. The network configuration, registration, self-test, and configuration of the edge node in this method are all automatically completed by the cloud platform and the edge node, that is, automatic networking of the cloud platform and the edge node can be realized, and automatic connection and communication between the cloud platform and the edge node can be realized, thereby improving the efficiency of cloud-edge collaborative management. Compared to the traditional cloud-edge networking process, which requires manual setup of the operating environment, configuration of host network cards, manual network configuration, and network connectivity testing during initial configuration, this method completes the environment setup and related configurations before the edge node host leaves the factory. During on-site deployment, simply connect the power supply and network to automatically complete a series of networking operations such as network configuration, registration, and self-testing. This greatly simplifies the traditional edge node deployment process and operational steps, effectively improving the deployment efficiency of large quantities of edge nodes.
[0083] In an exemplary embodiment, after sending a registration request to the cloud platform in the above step 210 when it is detected that the edge node is connected to the network, it also includes: sending identity authentication information to the cloud platform in response to the connection request sent by the cloud platform; the connection request is generated after the cloud platform receives the registration request; the cloud platform is used to verify the identity authentication information, and if the verification passes, establish a communication connection with the edge node and perform registration of the edge node.
[0084] The authentication information is information that can verify the identity of the edge node, for example, a valid certificate or key.
[0085] The connection request is used to instruct the edge node to send authentication information to the cloud platform.
[0086] In a specific implementation, after the edge node sends a registration request to the cloud platform, the cloud platform must verify the identity of the edge node before executing the registration of the edge. Specifically, after receiving the registration request from the edge node, the cloud platform can first return a connection request to the edge node, so that the edge node can send authentication information such as a valid certificate or key to the cloud platform based on the connection request, and the cloud platform will verify it. If the cloud platform verifies the identity of the edge node, it can establish a communication connection with the edge node and execute the registration of the edge node at the same time. Conversely, if the verification fails, a verification failure message can be returned to the edge node.
[0087] In practical applications, the communication connection between the cloud platform and edge nodes can be established through various communication protocols, such as MQTT (Message Queuing Telemetry Transport), CoAP (Constrained Application Protocol, a web-like protocol in the IoT world), and HTTP (Hypertext Transfer Protocol). The specific protocol used may depend on whether the edge node and cloud platform support the corresponding protocol.
[0088] In this embodiment, after the edge node sends the registration request to the cloud platform, the cloud platform verifies the identity of the edge node before executing the registration of the edge. Only authorized edge nodes that pass the verification can connect and communicate with the cloud platform, which can ensure the security of the cloud platform.
[0089] In an exemplary embodiment, the edge node is pre-configured with a key, which is the same as the key of the cloud platform; step S240 receives the configuration information sent by the cloud platform, and performs configuration on the edge node based on the configuration information, further including: receiving encrypted configuration information sent by the cloud platform; decrypting the encrypted configuration information using the key pre-configured for the edge node to obtain decrypted configuration information, and performing configuration on the edge node based on the decrypted configuration information.
[0090] In a specific implementation, the configuration information sent from the cloud platform to the edge node is encrypted. Because the key is pre-configured for the edge node when it leaves the factory, and this key is the same as the key of the cloud platform, upon receiving the encrypted configuration information from the cloud platform, the edge node can decrypt the encrypted configuration information using the pre-configured key for the edge node, obtaining the decrypted configuration information, and then perform configuration on the edge node based on the decrypted configuration information.
[0091] In one embodiment, after an edge node is connected to a cloud platform, all data transmitted from the edge node to the cloud platform, and vice versa, except for configuration information, can be encrypted. Furthermore, authentication can be performed when remote access is made, thereby ensuring the security of data transmission between the cloud platform and the edge node.
[0092] In this embodiment, the encryption processing of the configuration information sent by the cloud platform can ensure the security of the entire cloud-edge automatic networking process.
[0093] In an exemplary embodiment, the above step S220 checks the application configuration of the edge node, including detecting at least one of the environment configuration of the edge node, the availability of each component of the edge node, the security of the edge node, and the running status of the service on the edge node.
[0094] The method also includes: when each condition in the environmental configuration of the edge device where the edge node is deployed, the availability of each component of the edge device, the security of the edge device, and the operating status of the service on the edge node meets the respective corresponding requirements, determining that the self-inspection of the edge node has passed.
[0095] Specifically, the purpose of detecting the environmental configuration of edge nodes is to ensure that the hardware and software environment configuration of edge nodes meets the minimum requirements of the system, including operating system versions, dependent libraries, drivers, etc. The purpose of detecting the availability of each component of the edge node, including detecting network connections, storage devices, sensors, etc., is to ensure that each component of the edge node is available. The purpose of detecting the security of edge nodes is to verify whether the edge nodes meet security standards, including firewall settings, access control, etc. The purpose of detecting the running status of services on edge nodes is to ensure that the necessary services and processes on the edge nodes have been started and can respond to system requests.
[0096] When performing a self-test on an edge node, you need to pay attention to the detailed configuration and status of each aspect. The specific self-test method is as follows:
[0097] (1) Configuration file verification, including key parameter checking and format checking.
[0098] Among them, key parameter check is used to ensure that key parameters in the configuration file, such as IP address, port number, authentication key, etc., match the configuration of the cloud platform.
[0099] Format check is used to verify whether the format of the configuration file is correct to avoid parsing problems caused by format errors.
[0100] (2) Network connection detection, including Ping (Packet Internet Groper, an Internet packet explorer, a program used to test network connection volume) test and port connection test.
[0101] The Ping test uses the ping command to check whether the connection with the cloud platform is normal and ensure a stable network connection.
[0102] The port connection test is used to check whether the ports required for communication with the cloud platform are open to ensure that a connection can be established.
[0103] (3) Resource availability check, including CPU (Central Processing Unit) and memory utilization check, as well as storage space check.
[0104] Among them, CPU and memory utilization checks are used to monitor the system's CPU and memory utilization to ensure that they are within a reasonable range and do not exceed the thresholds specified by the system.
[0105] Storage space check is used to check the storage devices on the edge nodes to ensure that there is sufficient available space.
[0106] (4) Equipment status monitoring, including sensor status monitoring and camera status monitoring.
[0107] Sensor status monitoring is used to ensure that the sensors are in normal working condition when external sensors are involved.
[0108] Camera status monitoring is used to check whether the camera can capture images normally when the camera is involved.
[0109] (5) Log file analysis, including system log analysis and application log analysis.
[0110] Among them, system log analysis is used to find abnormal or error information related to the network, service startup, etc.
[0111] Analyze the application's log files to ensure that there are no abnormal information related to the edge computing service.
[0112] Based on the self-test method described above, the self-test pass criteria can be set to meet all of the following: All necessary services and processes have been successfully started and are operating normally. Key parameters in the configuration file are set correctly and the format is correct. The network connection is normal and can communicate with the cloud platform. Resource utilization is within a reasonable range and does not exceed the system-specified threshold. External devices are in normal condition and functioning normally. There are no abnormal or error messages in the log file.
[0113] Self-test failure conditions include: Required services or processes failed to start successfully or are in an abnormal state. Key parameters in the configuration file are incorrectly set or formatted incorrectly. Network connectivity is abnormal, preventing communication with the cloud platform. Resource utilization exceeds the specified threshold. External devices are abnormal and malfunctioning. Log files contain abnormal or error information.
[0114] In this embodiment, by performing self-inspection on the edge node and clearly defining the conditions for passing and failing the self-inspection, it is possible to ensure that the system and environment are in a reliable, consistent, and compliant state before the edge node is activated.
[0115] In an exemplary embodiment, the edge node is pre-configured with the address information of the cloud platform; the above step S210 of sending the registration request to the cloud platform includes: sending the registration request to the cloud platform based on the address information of the cloud platform.
[0116] In this embodiment, the address information of the cloud platform can be configured to the edge node in advance when the edge node leaves the factory, so that after the edge node accesses the network, it can determine where to send the registration request based on the address information of the cloud platform, and thus send the registration request to the cloud platform.
[0117] In one embodiment, as shown in FIG3 , a method for deploying edge nodes is provided. The method is described by taking the cloud platform 104 in FIG1 as an example, and includes the following steps:
[0118] Step S310: registering the edge node to the cloud platform in response to a registration request sent by the edge node; the registration request is generated by the edge node when it is connected to the network;
[0119] Step S320: Send a self-test command to the edge node; the self-test command is used to instruct the edge node to perform a self-test of the application configuration;
[0120] Step S330: Receive an activation success signal returned by the edge node; the activation success signal is generated when the edge node passes the self-test for the application configuration;
[0121] Step S340 : In response to the activation success signal, the configuration information of the edge node is sent to the edge node; the edge node is configured based on the configuration information.
[0122] In the specific implementation, after the edge node is connected to the network, it automatically sends a registration request carrying the node identifier to the cloud platform. After receiving the registration request, the cloud platform can complete the registration of the edge node based on the node identifier in the registration request. After the registration is completed, a self-test command is returned to the edge node, so that the edge node performs a self-check before actual operation according to the self-test command to ensure that the subsequent edge nodes can operate normally. When the self-test passes, the edge node will send an activation success signal to the cloud platform. When the cloud platform receives the activation success signal sent by the edge node, it indicates that the edge node has the conditions for actual operation, and then it can send configuration information to the edge node, so that the edge node automatically completes the configuration according to the configuration information sent by the cloud platform.
[0123] In the above-mentioned edge node deployment method, the network configuration, registration, self-test, and configuration of the edge nodes are all automatically completed by the cloud platform and the edge nodes, that is, the cloud platform and the edge nodes can be automatically networked, and the cloud platform and the edge nodes can be automatically connected and communicated, thereby improving the efficiency of cloud-edge collaborative management. Compared with the traditional cloud-edge networking process: the operating environment needs to be manually set up during the initial configuration, and the host network card configuration, manual network configuration, network connectivity detection, etc. all need to be completed manually. This method can complete the environment setup and related configuration in advance when the edge node host leaves the factory. During on-site deployment, you only need to connect the power supply and network to automatically complete a series of networking operations such as network configuration, registration, and self-test. It greatly simplifies the traditional edge node deployment process and operating steps, thereby effectively improving the deployment efficiency of large quantities of edge nodes.
[0124] In an exemplary embodiment, the method further includes: monitoring the operating status information of the edge node; and sending an alarm message to an alarm terminal when the monitored operating status information of the edge node is abnormal.
[0125] The operation status information may include online status, offline status, performance indicator information, and operation report information.
[0126] In specific implementation, the cloud platform can also monitor the operating status information of the edge node. When the edge node is determined to be abnormal through the operating status information, an alarm message can be generated for the edge node and the alarm system information can be sent to the alarm terminal to prompt the operation and maintenance personnel to deal with the alarm situation in a timely manner through the alarm terminal.
[0127] In one embodiment, the cloud platform can also remotely manage and configure edge nodes, including updating firmware, changing settings, etc.
[0128] In this embodiment, the cloud platform monitors the operating status information of the edge nodes, so as to detect abnormal edge nodes in a timely manner and solve the problems of the edge nodes in a timely manner.
[0129] In an exemplary embodiment, step S310, in response to a registration request sent by the edge node, registers the edge node in the cloud platform, further includes: in response to the registration request sent by the edge node, sending a connection request to the edge node; receiving authentication information returned by the edge node based on the connection request, and verifying the authentication information; if the verification passes, establishing a communication connection with the edge node, and registering the edge node in the cloud platform.
[0130] In an exemplary embodiment, step S340, in response to the activation success signal, sends the configuration information of the edge node to the edge node, including: in response to the activation success signal, obtaining the configuration information of the edge node; encrypting the configuration information using a key to obtain encrypted configuration information; and sending the encrypted configuration information of the edge node to the edge node.
[0131] In one embodiment, in order to facilitate those skilled in the art to understand the embodiment of the present application, the following will be described with reference to the specific examples in the accompanying drawings. Referring to Figure 4, a schematic diagram of the interaction process of cloud-edge automatic networking is shown. In this embodiment, the following steps are included:
[0132] (1) When the edge node leaves the factory, the unique node identifier of the edge node, the address information of the cloud platform, the key and other information are configured to the edge node in advance.
[0133] (2) After the edge node is connected to the network, it automatically sends a registration request carrying the node identification to the cloud platform so that the cloud platform can authenticate / verify the edge node. After the verification is passed and the communication connection is established, data transmission can be carried out.
[0134] Specifically, after receiving the registration request, the cloud platform sends a connection request to the edge node, so that the edge node sends the authentication information and performs identity verification on the edge node. If the verification is successful, the cloud platform can establish a communication connection with the edge node and perform registration on the edge node.
[0135] Moreover, when the verification passes, the cloud platform can send a self-test command to the edge node to enable the edge node to perform self-test. When the self-test passes, the cloud platform will send configuration information to the edge node for the edge node to automatically configure.
[0136] (3) The cloud platform can also monitor the operating status of edge nodes and perform link monitoring.
[0137] This automated cloud-edge networking approach can be expanded to meet specific needs and environments. For example, in the early stages of a project, applications required by edge nodes can be configured based on actual project requirements and allocated in advance on the cloud platform. Later, after the edge nodes are registered and connected to the network, applications can be automatically downloaded from the cloud platform to the edge nodes for automated deployment and installation.
[0138] The cloud-edge automatic networking method provided in this embodiment has the following beneficial effects:
[0139] 1. Fast connection: Cloud-edge automatic networking technology enables fast connection between the cloud platform and edge nodes, reducing deployment time and cost, especially for large-scale projects.
[0140] 2. Real-time: By reducing the latency of data transmission to the cloud, cloud-edge automatic networking technology supports real-time data transmission and decision-making, and is suitable for applications that require fast response.
[0141] 3. Automated management: Automatic registration and management of edge nodes reduces the burden on administrators and allows edge nodes to more easily self-maintain and self-configure.
[0142] 4. Security: Cloud-edge automatic networking technology emphasizes edge node authentication, data encryption, and access control, improving the security of data transmission and reducing potential risks.
[0143] 5. Network stability: Reducing reliance on the cloud can improve the robustness of the system ("robustness" refers to the ability of a system or technology to maintain its stability and reliability in the face of abnormal situations, interference or unexpected changes). Edge nodes can still continue to communicate even in the event of network outages or cloud service failures.
[0144] 6. Privacy protection: Cloud-edge automatic networking technology emphasizes user privacy protection and ensures the secure processing and storage of sensitive data.
[0145] 7. Cost-effectiveness: By reducing the need for cloud servers, operating costs are saved, especially for large-scale industrial IoT projects.
[0146] 8. Flexibility: Cloud-edge automatic networking technology can adapt to different network topologies and device types, making the system more flexible and adaptable.
[0147] 9. Scalability: The system is easy to expand and supports the addition of new edge nodes to cope with the growing number of new edge nodes.
[0148] 10. Applicable to multiple fields: Not only limited to the industrial Internet of Things, cloud-edge automatic networking technology can also be applied in multiple fields such as smart cities, health care, and smart transportation.
[0149] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0150] Based on the same inventive concept, the embodiments of the present application also provide an edge node deployment device for implementing the aforementioned edge node deployment method. The implementation solution provided by this device is similar to the implementation solution described in the aforementioned method. Therefore, the specific limitations of one or more edge node deployment device embodiments provided below can be found in the above-mentioned limitations of the edge node deployment method and will not be repeated here.
[0151] In one embodiment, as shown in FIG5 , an edge node deployment device is provided, including: a request sending module 510 , a command receiving module 520 , a signal sending module 530 , and an information receiving module 540 , wherein:
[0152] The request sending module 510 is configured to send a registration request to the cloud platform when detecting that the edge node is connected to the network; the cloud platform is configured to register the edge node based on the registration request;
[0153] The command receiving module 520 is used to receive the self-test command returned by the cloud platform and check the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes the registration of the edge node;
[0154] The signal sending module 530 is used to send an activation success signal to the cloud platform when the self-test for the application configuration passes;
[0155] The information receiving module 540 is used to receive configuration information sent by the cloud platform and perform configuration on the edge node based on the configuration information.
[0156] In one embodiment, the device also includes a verification information sending module, which is used to send identity authentication information to the cloud platform in response to a connection request sent by the cloud platform; the connection request is generated after the cloud platform receives the registration request; the cloud platform is used to verify the identity authentication information, and if the verification passes, establish a communication connection with the edge node and perform registration of the edge node.
[0157] In one embodiment, the edge node is pre-configured with a key, which is the same as the key of the cloud platform; the information receiving module 540 is also used to receive encrypted configuration information sent by the cloud platform; the encrypted configuration information is decrypted using the key pre-configured for the edge node to obtain the decrypted configuration information, and the configuration of the edge node is performed based on the decrypted configuration information.
[0158] In one embodiment, the command receiving module 520 is further configured to detect at least one of an environment configuration of the edge node, availability of components of the edge node, security of the edge node, and an operating status of a service on the edge node;
[0159] The device also includes a self-test identification module, which is used to determine that the self-test of the edge node has passed when each condition in the environmental configuration of the edge device where the edge node is deployed, the availability of each component of the edge device, the security of the edge device, and the operating status of the service on the edge node meets the corresponding requirements.
[0160] In one embodiment, the edge node is pre-configured with the address information of the cloud platform; the request sending module 510 is further used to send a registration request to the cloud platform based on the address information of the cloud platform.
[0161] In another embodiment, as shown in FIG6 , an edge node deployment device is provided, including: a node registration module 610 , a command sending module 620 , a signal receiving module 630 , and an information sending module 640 , wherein:
[0162] The node registration module 610 is configured to register the edge node with the cloud platform in response to a registration request sent by the edge node; the registration request is generated by the edge node when it is connected to the network;
[0163] The command sending module 620 is used to send a self-test command to the edge node; the self-test command is used to instruct the edge node to perform a self-test of the application configuration;
[0164] The signal receiving module 630 is used to receive an activation success signal returned by the edge node; the activation success signal is generated when the edge node passes the self-test for the application configuration;
[0165] The information sending module 640 is configured to send the configuration information of the edge node to the edge node in response to the activation success signal; the edge node is configured based on the configuration information.
[0166] In one embodiment, the device further includes a monitoring module for monitoring the operating status information of the edge node; when the operating status information of the edge node is detected to be abnormal, an alarm message is sent to an alarm terminal.
[0167] In one embodiment, the node registration module 610 is further used to send a connection request to the edge node in response to a registration request sent by the edge node; receive authentication information returned by the edge node based on the connection request, and verify the authentication information; if the verification passes, establish a communication connection with the edge node, and register the edge node to the cloud platform.
[0168] In one embodiment, the information sending module 640 is further used to obtain configuration information of the edge node in response to the activation success signal; encrypt the configuration information using a key to obtain encrypted configuration information; and send the encrypted configuration information of the edge node to the edge node.
[0169] Each module in the aforementioned edge node deployment device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.
[0170] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in FIG7 . The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data during the edge node deployment process. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an edge node deployment method is implemented.
[0171] Those skilled in the art will understand that the structure shown in FIG7 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0172] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0173] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0174] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0175] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0176] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0177] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0178] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for deploying edge nodes, characterized in that: The method comprises: When detecting that the edge node is connected to the network, sending a registration request to the cloud platform; the cloud platform is used to perform registration of the edge node based on the registration request; receiving a self-test command returned by the cloud platform, and checking the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes registration of the edge node; When the self-check for the application configuration passes, an activation success signal is sent to the cloud platform; Receive configuration information sent by the cloud platform, and perform configuration on the edge node based on the configuration information.
2. The method according to claim 1, characterized in that After detecting that the edge node is connected to the network and sending the registration request to the cloud platform, the method further includes: In response to a connection request sent by the cloud platform, sending identity authentication information to the cloud platform; the connection request is generated by the cloud platform after receiving the registration request; The cloud platform is used to verify the identity authentication information, and if the verification passes, establish a communication connection with the edge node and perform registration of the edge node.
3. The method according to claim 1, characterized in that The edge node is pre-configured with a key, which is the same as the key of the cloud platform; The receiving the configuration information sent by the cloud platform and performing the configuration of the edge node based on the configuration information includes: receiving encrypted configuration information sent by the cloud platform; The encrypted configuration information is decrypted using a key pre-configured for the edge node to obtain decrypted configuration information, and the edge node is configured based on the decrypted configuration information.
4. The method according to claim 1, wherein The checking the application configuration of the edge node includes: detecting at least one of an environmental configuration of the edge node, availability of components of the edge node, security of the edge node, and an operating status of a service on the edge node; The method further comprises: When the environmental configuration of the edge device where the edge node is deployed, the availability of each component of the edge device, the security of the edge device, and the operating status of the service on the edge node all meet their respective corresponding requirements, it is determined that the self-inspection of the edge node has passed.
5. The method according to claim 1, wherein The edge node is pre-configured with address information of the cloud platform; The sending of the registration request to the cloud platform includes: Based on the address information of the cloud platform, a registration request is sent to the cloud platform.
6. A method for deploying edge nodes, characterized in that: The method comprises: In response to a registration request sent by an edge node, register the edge node with the cloud platform; the registration request is generated by the edge node when connected to the network; Sending a self-test command to the edge node; the self-test command is used to instruct the edge node to perform a self-test of the application configuration; receiving an activation success signal returned by the edge node; the activation success signal is generated by the edge node when the self-test for the application configuration passes; In response to the activation success signal, the configuration information of the edge node is sent to the edge node; the edge node is configured based on the configuration information.
7. The method according to claim 6, characterized in that The method further comprises: Monitoring the operating status of the edge node; When the operating status information of the edge node is monitored to be abnormal, an alarm message is sent to the alarm terminal.
8. An edge node deployment device, characterized in that: The device comprises: A request sending module is used to send a registration request to the cloud platform when it is detected that the edge node is connected to the network; the cloud platform is used to perform registration of the edge node based on the registration request; A command receiving module, configured to receive a self-test command returned by the cloud platform and check the application configuration of the edge node based on the self-test command; the self-test command is generated after the cloud platform completes registration of the edge node; A signal sending module, configured to send an activation success signal to the cloud platform when the self-test configured for the application passes; The information receiving module is used to receive the configuration information sent by the cloud platform and perform configuration on the edge node based on the configuration information.
9. An edge node deployment device, characterized in that: The device comprises: a node registration module, configured to register the edge node in the cloud platform in response to a registration request sent by the edge node; the registration request is generated by the edge node when it is connected to the network; A command sending module, configured to send a self-test command to the edge node; the self-test command is used to instruct the edge node to perform a self-test of the application configuration; a signal receiving module, configured to receive an activation success signal returned by the edge node; the activation success signal is generated when the edge node passes a self-test for the application configuration; An information sending module is used to send the configuration information of the edge node to the edge node in response to the activation success signal; the edge node is used to perform configuration based on the configuration information.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the edge node deployment method according to any one of claims 1 to 7 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the edge node deployment method according to any one of claims 1 to 7 are implemented.
12. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the edge node deployment method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Gateway equipment activation method and device based on end-cloud cooperation, equipment and medium
CN110855666A
Block chain node service deployment method, device and system, calculation equipment and medium
CN111045690A
Identity authentication method and system based on edge cloud collaboration
CN114501447A
Edge node deployment method and device, computer equipment and storage medium
CN118175027A
Dynamic proxy placement for policy-based routing
US20230269305A1