A method, apparatus and system for configuring edge side devices
By automatically acquiring and forwarding configuration information through a proxy edge device, the problem of low configuration efficiency of edge devices is solved, enabling rapid deployment and fault recovery, and improving network configuration efficiency and feasibility.
Patent Information
- Application Number
- CN202010599733.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-18
- Filing Date
- 2020-06-28
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2040-06-28
AI Technical Summary
In existing technologies, edge devices are inefficient to configure and prone to errors, resulting in long deployment and fault recovery times.
By using a proxy edge device to obtain and forward the configuration information required for the target edge device to establish a connection with the cloud center, automatic configuration is achieved, reducing manual operations by maintenance personnel.
It improves the configuration efficiency and fault recovery speed of edge devices, reduces dependence on public networks, and enhances the universality and feasibility of network implementation.
Smart Images

Figure CN113821334B_ABST
Abstract
Description
[0001] This application claims priority to the Chinese Patent Application No. 202010560994.8, filed on June 18, 2020, and entitled "Method and device for configuring edge side device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] Embodiments of the present application relate to the technical field of edge computing, and in particular, to a method, device and system for configuring edge side device. BACKGROUND
[0003] Although the cloud center has strong data processing capability, it can calculate and feedback the massive data sent by the edge side device. However, as users have higher and higher requirements for cloudization, the real-time performance of the cloud center in processing data and the bandwidth of the cloud center in transmitting data gradually cannot meet the requirements of the users.
[0004] The emergence of edge computing can transfer part of the computing work of the cloud center to the edge side device, thereby effectively making up for the deficiency of the cloud center. The cloud center can use the resources of the edge side device as an extension of the resources of the cloud center, and provide corresponding data processing services for the users by using the resources of the edge side device, which can be referred to as "end-edge collaboration" or "edge-cloud collaboration".
[0005] At present, when deploying the edge side device, the operation and maintenance personnel manually configures the edge side device item by item, such as configuring the authentication information required for the edge side device to register to the cloud center on the edge side device. Generally, the operation of configuring the edge side device is relatively complex and prone to errors, which makes the configuration efficiency of the edge side device generally low. SUMMARY
[0006] Embodiments of the present application provide a method, device and system for configuring edge side device, to solve the problem of low configuration efficiency of the edge side device.
[0007] In a first aspect, the embodiments of the present application provide a method for configuring edge side device, which can be applied to a proxy edge side device. The method comprises: the proxy edge side device acquires first configuration information corresponding to a target edge side device, and sends the first configuration information to the target edge side device. The first configuration information can be used to configure the target edge side device to establish a connection with the cloud center. Since the proxy node sends the first configuration information required for establishing a connection with the cloud center to the target edge side device in the process of establishing a connection between the target edge side device and the cloud center, the target edge side device can establish a connection with the cloud center based on the received first configuration information, without the operation and maintenance personnel manually configuring the target edge side device to be deployed item by item, thereby improving the configuration efficiency of the target edge side device.
[0008] In a possible implementation, the method can further include: the proxy edge-side device sending a first request to the cloud center, the first request including an identifier of the target edge-side device, such as a serial number of the target edge-side device, to request the first configuration information corresponding to the target edge-side device from the cloud center; and the proxy edge-side device obtaining the first configuration information corresponding to the target edge-side device, for example, by receiving a response message from the cloud center, the response message including the first configuration information. In this implementation, the first configuration information required by the target edge-side device can be stored in the cloud center, and the proxy edge-side device can apply for the first configuration information from the cloud center on behalf of the target edge-side device, so that the target edge-side device can obtain the first configuration information from the proxy edge-side device and establish a communication connection with the cloud center.
[0009] In a possible implementation, the proxy edge-side device obtaining the first configuration information corresponding to the target edge-side device can include: the proxy edge-side device obtaining an identifier of the target edge-side device, and determining the first configuration information corresponding to the target edge-side device from the first configuration information corresponding to at least one edge-side device stored locally according to the identifier of the target edge-side device. In this implementation, the proxy edge-side device can store the first configuration information required by the target edge-side device, so that the target edge-side device can obtain the first configuration information directly from the proxy edge-side device. In this way, the cloud center can release the storage space for storing the first configuration information, and the resources of the proxy edge-side device can be effectively utilized.
[0010] In a possible implementation, the method can further include: before sending the first configuration information to the target edge-side device, the proxy edge-side device can receive a second request from the target edge-side device, the second request can be used to request the proxy edge-side device to be a proxy node of the target edge-side device; then, the proxy edge-side device can establish a proxy relationship with the target edge-side device according to the second request, specifically, the proxy edge-side device can first send a response message for the second request to the target edge-side device, the response message can be used to indicate that the proxy edge-side device can be a proxy node of the target edge-side device, then the proxy edge-side device can receive a proxy confirmation message from the target edge-side device, and establish a proxy relationship between the proxy edge-side device and the target edge-side device according to the proxy confirmation message. In this implementation, the target edge-side device can apply for a proxy node (i.e. the proxy edge-side device) in the network through a multicast or broadcast manner, so as to obtain the first configuration information required for the target edge-side device to connect to the cloud center based on the proxy node.
[0011] In a possible implementation, before establishing the proxy relationship between the proxy edge-side device and the target edge-side device according to the second request, the method can further include: the proxy edge-side device determines that a proxy state of the proxy edge-side device meets a preset condition, the proxy state includes a proxy level of the proxy edge-side device and / or a number of edge-side devices that have established a proxy relationship with the proxy edge-side device, and correspondingly, the preset condition can be, for example, that the proxy level of the proxy edge-side device does not exceed a preset level, and / or the number of edge-side devices that have established a proxy relationship with the proxy edge-side device does not exceed a preset number, etc. The proxy edge-side device can monitor its own proxy state, so as to avoid as much as possible that the proxy edge-side device undertakes too many proxy tasks, causing load imbalance of the proxy edge-side devices in the network. For example, when the number of subordinate edge-side devices of a certain proxy edge-side device is more than a preset number, the proxy edge-side device can no longer add new subordinate edge-side devices to the proxy edge-side device, but can select other edge-side devices in the network to become proxy edge-side devices, which can improve network utilization between nodes.
[0012] Further, when the proxy edge-side device becomes a proxy node of the target edge-side device and establishes a proxy relationship with the target edge-side device, the proxy edge-side device can update its own proxy state, for example, the number of subordinate edge-side devices that it proxies can be updated from 45 to 46, etc.
[0013] In a possible implementation, the method can further include: sending, by the proxy edge-side device, second configuration information corresponding to the target edge-side device to the target edge-side device, where the second configuration information can be used to configure the service of the target edge-side device. The second configuration information can be, for example, a container image of the service, resource occupation information of different services, etc. The resource occupation information of the service can include, for example, the memory available to each service on the target edge-side device, the CPU occupation rate allowed by the target edge-side device when processing the service, and the computing power required by the target edge-side device when processing the service, etc. In this way, the service of the target edge-side device can be automatically configured, so that the operation and maintenance personnel do not need to manually deploy the corresponding service for the target edge-side device.
[0014] In a possible implementation, the method can further include: synchronizing, by the proxy edge-side device, the first configuration information and / or the second configuration information to a backup edge-side device. In this way, when the proxy edge-side device fails, the backup edge-side device can take over the proxy edge-side device to continue the management and become a new proxy node of the subordinate edge-side devices of the proxy edge-side device.
[0015] In a possible implementation, after establishing the proxy relationship between the proxy edge-side device and the target edge-side device, the method can further include: receiving, by the proxy edge-side device, a target program from the cloud center and sending the target program to the target edge-side device, where the target edge-side device is located in the same network region as the proxy edge-side device. In this implementation, after establishing the proxy relationship with the target edge-side device, the proxy edge-side device can form a hierarchical tree-type proxy network. In this way, when the cloud center needs to distribute a target program to each edge-side device in the network, the cloud center can distribute the information to each edge-side device through the corresponding proxy edge-side device. This makes the cloud center only need to send the target program to a small number of proxy edge-side devices, and does not need to send the target program to the remaining edge-side devices that are being proxied. The remaining edge-side devices that are being proxied can obtain the target program from the corresponding proxy edge-side device. Therefore, the resource consumption of the cloud center can be reduced, and the dependence of the edge-side devices on the cloud center can be reduced. Moreover, multiple proxy edge-side devices can send the target program to multiple edge-side devices that are being proxied in parallel. Compared with the way in which the cloud center sends the target program to the edge-side devices one by one, the efficiency of obtaining the target program by the edge-side devices in the entire network can also be effectively improved. As an example, the target program can be, for example, a new version of firmware, software to be distributed, or data to be synchronized, etc.
[0016] In a second aspect, the embodiments of the present application further provide a method for configuring an edge-side device, which can be applied to a target edge-side device. The method comprises: receiving, by the target edge-side device, first configuration information from a proxy edge-side device, and establishing a connection with a cloud center according to the first configuration information. In the process of establishing the connection between the target edge-side device and the cloud center, the first configuration information required for establishing the connection with the cloud center is sent to the target edge-side device by the proxy node, so that the target edge-side device can automatically establish the connection with the cloud center based on the received first configuration information, without the need for an operation and maintenance personnel to manually configure the target edge-side device to be deployed, thereby improving the configuration efficiency of the target edge-side device.
[0017] In a possible implementation, the method further comprises: the target edge-side device can send a second request to the proxy edge-side device, the second request being used to request the proxy edge-side device to act as a proxy node of the target edge-side device, then the target edge-side device can receive a response message from the proxy edge-side device in response to the second request, and send a proxy confirmation message to the proxy edge-side device, the proxy confirmation message being used to notify the proxy edge-side device to establish a proxy relationship. In this implementation, the target edge-side device can apply for a proxy node (i.e. the proxy edge-side device) in the network through a multicast or broadcast manner, so as to obtain the first configuration information required for the target edge-side device to connect with the cloud center based on the proxy node.
[0018] In a possible implementation, the method further comprises: the target edge-side device can receive second configuration information corresponding to the target edge-side device from the proxy edge-side device or from the cloud center, and configure a service of the target edge-side device according to the second configuration information. For example, the second configuration information can be a container image of the service, resource occupation information of different services, etc., wherein the resource occupation information of the service can include, for example, the memory available to the service on the target edge-side device, the CPU occupation rate allowed by the target edge-side device when processing the service, and the computing power required by the target edge-side device when processing the service, etc. The target edge-side device can automatically configure the service corresponding to the target edge-side device according to the obtained second configuration information, so that the operation and maintenance personnel do not need to manually deploy the corresponding service for the target edge-side device.
[0019] In a possible implementation, the method further includes: receiving a target program from the proxy edge-side device, the target edge-side device being located in the same network region as the proxy edge-side device. In this implementation, the cloud center can distribute the information to the edge-side devices under its proxy through the corresponding proxy edge-side device, which makes the cloud center only need to send the target program to a smaller number of proxy edge-side devices, and does not need to send the target program to the remaining edge-side devices under the proxy, which can obtain the target program from the corresponding proxy edge-side device, thereby reducing the resource consumption required by the cloud center and reducing the dependence of the edge-side devices on the cloud center; moreover, the plurality of proxy edge-side devices can send the target program to the plurality of edge-side devices under the proxy in parallel, which can effectively improve the efficiency of the edge-side devices in the entire network obtaining the target program compared with the way of sending the target program to the edge-side devices one by one by the cloud center.
[0020] In a third aspect, the embodiments of the present application further provide a method for configuring an edge-side device, which can be applied to a cloud center, and the method includes: the cloud center determines first configuration information corresponding to a target edge-side device, and sends the first configuration information to a proxy edge-side device, the first configuration information being used for configuring the target edge-side device to establish a connection with the cloud center; then, the cloud center checks whether the first configuration information from the target edge-side device is consistent with the first configuration information sent by the cloud center to the proxy edge-side device, and establishes a connection with the target edge-side device in the case of consistency. Since the first configuration information is sent by the cloud center to the proxy edge-side device, and then the proxy edge-side device forwards the first configuration information to the target edge-side device in the process of establishing a connection between the target edge-side device and the cloud center, the target edge-side device can automatically establish a connection with the cloud center based on the received first configuration information, without the need for an operation and maintenance personnel to manually configure the target edge-side device to be deployed, thereby improving the configuration efficiency of the target edge-side device.
[0021] In a possible implementation, the method further includes: the cloud center receives a first request from the proxy edge-side device, the first request including an identifier of the target edge-side device, and then the cloud center determines the first configuration information corresponding to the target edge-side device according to the identifier of the target edge-side device. In this implementation, the first configuration information required by the target edge-side device to establish a communication connection with the cloud center can be located in the cloud center, and the proxy edge-side device can apply for the first configuration information from the cloud center for the target edge-side device, so that the target edge-side device can obtain the first configuration information from the proxy edge-side device and establish a communication connection with the cloud center.
[0022] In a possible implementation, the method further includes: sending the target program to a proxy edge-side device, the target edge-side device being located in the same network area as the proxy edge-side device. In this implementation, the cloud center can distribute the information to the edge-side devices under the respective proxies through the corresponding proxy edge-side devices, which enables the cloud center to send the target program to a smaller number of proxy edge-side devices only, and the remaining edge-side devices under the proxies can obtain the target program from the corresponding proxy edge-side devices, thereby reducing the resource consumption of the cloud center and reducing the dependence of the edge-side devices on the cloud center; in addition, the plurality of proxy edge-side devices can send the target program to the plurality of edge-side devices under the proxies in parallel, which can effectively improve the efficiency of the edge-side devices in the entire network in obtaining the target program compared with the way in which the cloud center sends the target program to the edge-side devices one by one.
[0023] In a possible implementation, the method further includes: sending, by the cloud center, second configuration information corresponding to the target edge-side device to the target edge-side device based on the connection established between the cloud center and the target edge-side device, the second configuration information being used to configure a service of the target edge-side device. In this implementation, after the target edge-side device establishes the connection with the cloud center based on the first configuration information, the cloud center can directly push the second configuration information to the target edge-side device based on the connection, so as to automatically configure the service of the target edge-side device, thereby reducing the manual configuration by the operation and maintenance personnel, improving the configuration efficiency of the service, and reducing the operation of the operation and maintenance personnel.
[0024] In a fourth aspect, based on the same inventive concept as the method embodiments of the first aspect, the embodiments of the present application provide a device, which is applied to the proxy edge-side device of the first aspect, that is, the device can be a proxy edge-side device, or a chip or processor that can be applied to a proxy edge-side device. The device has the functions of implementing the embodiments of the first aspect. The functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0025] In a fifth aspect, based on the same inventive concept as the method embodiments of the second aspect, the embodiments of the present application provide a device, which is applied to the target edge-side device of the second aspect, that is, the device can be a target edge-side device, or a chip or processor that can be applied to a target edge-side device. The device has the functions of implementing the embodiments of the second aspect. The functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0026] In a sixth aspect, based on the same inventive concept as the method embodiments of the third aspect, the embodiments of the present application provide a device, which is applied to the cloud center of the third aspect, i.e., the device can be the cloud center, or a chip or processor that can be applied to the cloud center. The device has the functions of implementing the embodiments of the third aspect described above. The functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
[0027] In a seventh aspect, the embodiments of the present application provide a device, which includes a processor and a memory. The memory is used to store instructions, and when the device is running, the processor executes the instructions stored in the memory, so that the device performs the method of configuring the edge-side device in the first aspect or any implementation method of the first aspect. It should be noted that the memory can be integrated into the processor, or independent of the processor. The device can also include a bus. The processor is connected to the memory through the bus. The memory can include a readable memory and a random access memory.
[0028] In an eighth aspect, the embodiments of the present application provide a device, which includes a processor and a memory. The memory is used to store instructions, and when the device is running, the processor executes the instructions stored in the memory, so that the device performs the method of configuring the edge-side device in the second aspect or any implementation method of the second aspect. It should be noted that the memory can be integrated into the processor, or independent of the processor. The device can also include a bus.
[0029] In a ninth aspect, the embodiments of the present application provide a device, which includes a processor and a memory. The memory is used to store instructions, and when the device is running, the processor executes the instructions stored in the memory, so that the device performs the method of configuring the edge-side device in the third aspect or any implementation method of the third aspect. It should be noted that the memory can be integrated into the processor, or independent of the processor. The device can also include a bus.
[0030] In a tenth aspect, the embodiments of the present application also provide a system, which includes the proxy edge-side device of the fourth aspect or the seventh aspect, the target edge-side device of the fifth aspect or the eighth aspect, and the cloud center of the sixth aspect or the ninth aspect. For example, the proxy edge-side device can send the first configuration information corresponding to the target edge-side device to the target edge-side device; the target edge-side device sends the first configuration information to the cloud center; and the cloud center establishes a connection with the target edge-side device after verifying the first configuration information from the target edge-side device.
[0031] In an eleventh aspect, the embodiments of the present application further provide a readable storage medium, wherein a program or instructions are stored in the readable storage medium, and when the program or instructions are executed on a computer, the method for configuring the edge-side device in any of the aspects described above is executed.
[0032] In a twelfth aspect, the embodiments of the present application further provide a computer program product comprising instructions, which when executed on a computer, cause the computer to execute the method for configuring the edge-side device in any of the aspects described above.
[0033] In addition, the technical effects brought by any of the implementation manners of the fourth aspect to the twelfth aspect can refer to the technical effects brought by the different implementation manners of the first aspect to the third aspect, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments described in the present application, and other drawings can also be obtained by those skilled in the art based on these drawings.
[0035] Figure 1 It is a schematic diagram of a plurality of networking architectures;
[0036] Figure 2 It is a schematic diagram of a networking architecture comprising a public network;
[0037] Figure 3 It is a schematic diagram of signaling interaction for configuring an edge-side device in the embodiments of the present application;
[0038] Figure 4 It is a schematic diagram of signaling interaction for a proxy edge-side device to obtain first configuration information in the embodiments of the present application;
[0039] Figure 5 It is a schematic diagram of a device structure applied to a proxy edge-side device in the embodiments of the present application;
[0040] Figure 6 It is a schematic diagram of a structure of a proxy edge-side device in the embodiments of the present application;
[0041] Figure 7 It is a schematic diagram of a device structure applied to an edge-side device in the embodiments of the present application;
[0042] Figure 8 It is a schematic diagram of a structure of an edge-side device in the embodiments of the present application;
[0043] Figure 9 It is a schematic diagram of a device structure applied to a cloud center in the embodiments of the present application;
[0044] Figure 10 Fig. 1 is a schematic diagram of a structure of a cloud center in an embodiment of the present application. DETAILED DESCRIPTION
[0045] Embodiments of the present application can be applied to a network system including a cloud center and edge-side devices. The cloud center can be deployed in the cloud and is responsible for managing the edge-side devices. The cloud center can also be referred to as a management platform located in the cloud. The edge-side devices can be deployed outside the cloud. In a possible implementation, the network system can further include a third-party service platform, which can cooperate with a service running on the edge-side devices to complete corresponding service processing.
[0046] The network system can be divided into public network networking, private network networking, and local networking according to networking differences, as shown in Fig. 1. Figure 1 Currently, the operation and maintenance of the edge-side devices depends on the cloud center, specifically, on a center management node on the cloud center. An operator needs to manually configure the configuration information required for the edge-side devices to be connected to the cloud center on the edge-side devices, so that the edge-side devices establish a connection with the cloud center based on the information configured by the operator, specifically, the edge-side devices establish a connection between the gateway and / or the switch and the cloud center. However, the configuration operation required to be performed by the operator on the edge-side devices is usually complex, not only time-consuming, but also prone to configuration errors. The operator may need to manually reconfigure the edge-side devices, which results in a low configuration efficiency of the edge-side devices. When the edge-side devices are deployed on a large scale in the network, this manual configuration by the operator one by one seriously reduces the deployment efficiency of the edge-side devices. In the scenario of replacing the edge-side devices that have failed in the network, the efficiency of manually configuring the newly replaced edge-side devices is low, which makes the edge-side devices unable to provide service for a long time, thereby causing the edge node where the edge-side devices are located to be unable to recover the service for a long time.
[0047] Therefore, embodiments of the present application provide a method for configuring edge-side devices to improve the configuration efficiency of the edge-side devices. Specifically, the edge-side devices in the network can be divided into at least two types. One type is the edge-side devices that have been deployed in the network and have established a connection with the cloud center, which can be used as proxy edge-side devices, as shown in Fig. 1. Figure 2The other is to be an edge-side device as a subordinate device of these proxy edge-side devices. When there is a target edge-side device X to be configured in the network area where the proxy edge-side devices are located, one of the proxy edge-side devices, such as the proxy edge-side device Y, can become a proxy node of the target edge-side device X and obtain the first configuration information required for the target edge-side device X to establish a connection with the cloud center, and then send the first configuration information to the target edge-side device X. In this way, the target edge-side device X can establish a connection with the cloud center according to the received first configuration information. Since the proxy edge-side device Y sends the first configuration information required for the target edge-side device X to establish a connection with the cloud center to the target edge-side device X in the process of establishing a connection between the target edge-side device X and the cloud center, it is not necessary for the operation and maintenance personnel to manually configure the target edge-side device X item by item, thereby effectively improving the configuration efficiency of the target edge-side device X. Further, the target edge-side device X can also serve as a proxy edge-side device for other newly deployed edge-side devices after establishing a connection with the cloud center. At the same time, the process of establishing a communication connection between the target edge-side device X and the cloud center does not need to rely on the Simple Service Discovery Protocol (SSDP) to achieve, so that when there is a public network as shown in Figure 2 the cloud center, it is not necessary to require the public network to support the network address translation (NAT) function, thereby reducing the requirements for the public network and improving the universality and feasibility of the implementation of the scheme.
[0048] In the scenario of large-scale deployment of edge-side devices, the automatic configuration of the newly deployed target edge-side device by the proxy edge-side device can effectively improve the deployment efficiency of the edge-side device and speed up the network delivery progress. In the scenario of replacing the edge-side device that has failed in the network, since the efficiency of automatically configuring the newly replaced target edge-side device is high, the edge node where the target edge-side device is located can recover the service in a short time and continue to provide the corresponding service.
[0049] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, various non-limiting embodiments in the embodiments of the present application will be exemplarily described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative labor fall within the scope of protection of the present application.
[0050] As Figure 3The diagram shown illustrates the signaling interaction of a method for configuring an edge-side device according to an embodiment of this application. Specifically, this method may include:
[0051] S301: The proxy edge device obtains the first configuration information corresponding to the target edge device.
[0052] In this embodiment, edge devices that are already deployed in the network and have a communication connection with the cloud center can be used as proxy edge devices. These proxy edge devices can act as proxy nodes for the edge devices to be configured (hereinafter referred to as target edge devices) and assist the target edge devices in establishing a connection with the cloud center.
[0053] Typically, when deploying a target edge device, if the target edge device is not configured accordingly, it is difficult to establish a direct communication connection with the cloud center. Therefore, a proxy edge device can obtain the configuration information (hereinafter referred to as the first configuration information) required for the target edge device to establish a communication connection with the cloud center. The proxy edge device can obtain this first configuration information by requesting it from the cloud center or by retrieving the first configuration information corresponding to the target edge device from multiple locally stored first configuration information sets.
[0054] In one possible implementation, a proxy edge device located in the same network area as the target edge device to be configured can act as a proxy node for the target edge device and request the first configuration information required for the target edge device to establish a connection with the cloud center.
[0055] For example, such as Figure 4 As shown, the proxy edge device can obtain the identifier of the target edge device, such as its serial number, and generate a first request based on this identifier. Then, based on its established communication connection with the cloud center, the proxy edge device can send this first request to the cloud center, requesting the cloud center to provide the first configuration information corresponding to the target edge device. The cloud center can parse the identifier of the target edge device from the received first request and, based on this identifier, search for the corresponding first configuration information from multiple pre-stored first configuration information sets. Then, the cloud center can generate a response message based on the found first configuration information and send this response message to the proxy edge device. This response message includes the first configuration information found by the cloud center. The proxy edge device can parse the first configuration information from the received response message to subsequently forward this first configuration information to the target edge device.
[0056] Generally, there can be more than one edge-side device deployed in the network and connected with the cloud center, thus, when a target edge-side device accesses the network, one of the deployed edge-side devices can be selected as the proxy node of the target edge-side device. For example, as shown in Figure 4 The target edge-side device can broadcast or multicast a second request in the network area (e.g., a local area network, etc.) where the target edge-side device is located, and the second request is used to request the edge-side devices receiving the second request to be the proxy node of the target edge-side device. After receiving the second request, the edge-side devices (including the proxy edge-side device) can send a response message to the target edge-side device in response to the second request, and the response message can be used to indicate that the edge-side device is capable of being the proxy node of the target edge-side device. After receiving the response messages returned by the edge-side devices, the target edge-side device can select one of the edge-side devices as the proxy node, and the selected edge-side device is the aforementioned proxy edge-side device.
[0057] In the selection of the proxy edge-side device, the target edge-side device can select the proxy edge-side device according to the time when the response message returned by each edge-side device is received, for example, the edge-side device corresponding to the response message received first can be determined as the proxy edge-side device, etc. Alternatively, the target edge-side device can select the proxy edge-side device according to the media access control (MAC) address of the edge-side device included in each response message, for example, the edge-side device with the minimum (or maximum, or random) MAC address value can be determined as the proxy edge-side device. Of course, the implementation of how to select the proxy edge-side device is not limited in the embodiment.
[0058] If the target edge-side device does not receive the response message returned by the other edge-side device within the first preset time period, the target edge-side device can rebroadcast or multicast the second request until the response message returned by one or more edge-side devices is received. Of course, if the target edge-side device attempts to send the second request more than a preset threshold number of times, or does not receive the response message returned by the other edge-side device within a second preset time period (which is greater than the first preset time period), the target edge-side device can be handed over to an operation and maintenance personnel for configuration of basic information.
[0059] After identifying the proxy edge device, the target edge device can send a proxy confirmation message to the proxy edge device. This confirmation message notifies the proxy edge device to establish a proxy relationship and become the proxy node of the target edge device. Upon receiving the confirmation message, the proxy edge device can establish and maintain a proxy relationship with the target edge device (e.g., a mapping table representing the proxy relationship). In this proxy relationship, the proxy edge device acts as the proxy node, and the target edge device acts as the subordinate edge device of the proxy node.
[0060] Furthermore, before sending a response message to the target edge device, the edge device that receives the second request can check whether its own proxy state meets preset conditions to determine whether to send a response message. For example, the proxy state can specifically be the proxy level of the edge device (e.g., ...). Figure 2 The proxy level of the proxy edge device A shown is 1, while the proxy level of its subordinate edge device Y is 2, and / or, it can be the number of subordinate edge devices that have established a proxy relationship with the edge device. When the proxy level of the edge device does not exceed a preset level (e.g., level 2), and / or the number of subordinate edge devices that have established a proxy relationship with the edge device does not exceed a preset number (e.g., 50), it indicates that the proxy status of the edge device receiving the second request meets the preset conditions, and the edge device can send a response message for the second request to the target edge device; conversely, when the proxy status of the edge device does not meet the preset conditions, the edge device may not send the response message. In this way, by checking its own proxy status, the proxy edge device can avoid an overly complex proxy relationship network and avoid the concentration of proxy relationships on a single proxy edge device, thereby controlling the proxy pressure on the proxy edge device. For example, when a proxy edge device has more subordinate edge devices than the preset number, it is not necessary to add new subordinate edge devices to the proxy edge device. Instead, other edge devices in the network can be selected as proxy edge devices to improve network utilization between nodes.
[0061] Correspondingly, when a proxy edge device becomes a proxy node of a target edge device and establishes a proxy relationship with the target edge device, the proxy edge device can update its own proxy status. For example, it can update the number of its proxyed lower-level edge devices from 45 to 46.
[0062] In other possible implementation manners, the cloud center can also periodically check its own agent state, and if the cloud center determines that its own agent state satisfies preset conditions, the agent edge-side device can return a corresponding response message to the second request from the target edge-side device, and if the cloud center determines that its own agent state does not satisfy the preset conditions, the agent edge-side device can not respond to the second request.
[0063] For example, when the agent edge-side device is a subordinate edge-side device of other edge-side devices, the cloud center can send the first configuration information to the agent edge-side device by forwarding the first configuration information to the agent edge-side device through an agent node of the agent edge-side device, or the cloud center can directly send the first configuration information to the agent edge-side device. For example, as shown in FIG. 4, for the first configuration information corresponding to the target edge-side device X, the cloud center can send the first configuration information to the agent edge-side device A, and then the agent edge-side device A forwards the first configuration information to the agent edge-side device Y. Alternatively, the cloud center can directly send the first configuration information corresponding to the target edge-side device X to the agent edge-side device Y. Figure 2
[0064] In the above implementation manner, the agent edge-side device obtains the first configuration information corresponding to the target edge-side device by applying to the cloud center. In another possible implementation manner, the agent edge-side device can also locally store the first configuration information corresponding to the target edge-side device. For example, in a scenario of replacing a faulty edge-side device in a network, the first configuration information corresponding to the new target edge-side device can be the same as the first configuration information corresponding to the faulty edge-side device. Therefore, the agent node corresponding to the faulty edge-side device can still become the agent node of the new target edge-side device, and the agent edge-side device as the agent node can locally store the first configuration information corresponding to the faulty edge-side device as the first configuration information corresponding to the target edge-side device.
[0065] Generally, the agent edge-side device can be the agent node of the target edge-side device and the agent node of other edge-side devices at the same time. Therefore, the agent edge-side device can locally store multiple first configuration information corresponding to subordinate edge-side devices. When the agent edge-side device obtains the first configuration information corresponding to the target edge-side device, the agent edge-side device can first obtain the identifier of the target edge-side device, such as the serial number or the Node ID of the target edge-side device, and then determine the first configuration information corresponding to the target edge-side device corresponding to the identifier from the multiple first configuration information stored locally.
[0066] S302: The proxy edge-side device sends the first configuration information to the target edge-side device.
[0067] For example, the first configuration information corresponding to the target edge-side device can include device network information, registration information, or other configuration information required for the edge-side device to interface with the cloud center. The device network information can be, for example, an Internet Protocol (IP) address allocated to the edge-side device, or other information related to the device. The registration information can be, for example, an IP address of the cloud center (e.g., an IP address of a center management node), a username and password required for registration, and the like. The other configuration information can include time configuration, disk configuration (e.g., configuration of partitions of a disk), certificate configuration (e.g., configuration of a certificate required for interfacing with the cloud center), security policy (e.g., a key for communication with the cloud center, access permission), and the like.
[0068] S303: The target edge-side device sends the received first configuration information to the cloud center.
[0069] In an example, after obtaining the first configuration information, the target edge-side device can generate a registration request based on the first configuration information, the registration request including the first configuration information, and then send the registration request to the cloud center.
[0070] S304: The cloud center verifies the legality of the first configuration information received from the target edge-side device.
[0071] S305: The cloud center establishes a connection with the target edge-side device.
[0072] For example, after receiving the registration request sent by the target edge-side device, the cloud center can parse the first configuration information corresponding to the target edge-side device from the registration request and perform legality verification on the parsed first configuration information. For example, the first configuration information obtained by the target edge-side device can be obtained by the proxy edge-side device from the cloud center, and the cloud center can verify whether the first configuration information sent by the target edge-side device is consistent with the first configuration information corresponding to the proxy edge-side device sent by the cloud center. If the two first configuration information are consistent, the cloud center can determine that the first configuration information sent by the target edge-side device is legal, and establish a communication connection with the target edge-side device. If the two first configuration information are inconsistent, the cloud center can determine that the first configuration information sent by the target edge-side device is illegal, and refuse to establish a communication connection with the target edge-side device. Further, the cloud center can send a connection success or failure notification message to the target edge-side device to notify the target edge-side device of the success or failure of the request to establish a connection.
[0073] After the target edge-side device successfully establishes the communication connection with the cloud center, when there is a newly deployed edge-side device in the network area, the target edge-side device can act as a proxy node of the newly deployed edge-side device and apply for corresponding first configuration information from the cloud center for the newly deployed edge-side device.
[0074] Generally, after being deployed in the network, the target edge-side device can provide certain service, such as providing a face detection service in cooperation with a third-party service platform, and therefore, after the target edge-side device establishes the communication connection with the cloud center, an operation and maintenance personnel also needs to deploy the service provided by the target edge-side device for the target edge-side device.
[0075] Based on this, in a further possible implementation, the second configuration information required for configuring the service on the target edge-side device can be sent to the target edge-side device by other devices, for example, the present embodiment can further include:
[0076] S306: The cloud center can also send the second configuration information to the target edge-side device based on the communication connection established with the target edge-side device.
[0077] S307: The target edge-side device configures the corresponding service of the target edge-side device according to the received second configuration information.
[0078] The second configuration information can be information required for configuring the service on the target edge-side device, for example, it can be a container image of the service, resource occupation information of different services, etc. The resource occupation information of the service may, for example, include any one or more of the following information: memory available to each service on the target edge-side device, CPU occupancy rate allowed by the target edge-side device when processing the service, and computing power required by the target edge-side device when processing the service, and of course, it can also include other information, which is not limited in the present embodiment.
[0079] Since the target edge-side device has successfully established a connection with the cloud center, for the second configuration information required for configuring the service on the target edge-side device, the cloud center can send the second configuration information to the target edge-side device based on the established communication connection, so that the target edge-side device automatically deploys the service thereon based on the received second configuration information.
[0080] Of course, in other possible implementation manners, the cloud center can also send the target edge-side device the second configuration information corresponding to the target edge-side device through the proxy edge-side device. Alternatively, the second configuration information corresponding to the target edge-side device stored on the cloud center can be pre-backup to the proxy edge-side device, so that the proxy edge-side device can send the second configuration information stored thereon to the target edge-side device at the same time when sending the first configuration information to the target edge-side device. Further, when the proxy edge-side device has the second configuration information corresponding to the target edge-side device stored thereon, the cloud center can periodically synchronize and update (or check the update) the second configuration information on the proxy edge-side device, so as to improve the integrity, reliability and timeliness of backup of the second configuration information stored on the proxy edge-side device; and after the proxy edge-side device stores the second configuration information, the cloud center can no longer continue to store the second configuration information, thereby not only improving the storage space utilization rate of the proxy edge-side device, but also releasing part of the storage resources of the cloud center and reducing the storage pressure of the cloud center.
[0081] In some scenarios, the edge-side device after power-on can store configuration information, for example, when the proxy edge-side device deployed in the network restarts or is powered on again due to other non-fault reasons, the edge-side device can have stored the first configuration information and / or the second configuration information thereon, then the edge-side device after power-on can first check whether it has stored the first configuration information and / or the second configuration information, if yes, it can perform corresponding configuration based on the existing configuration information, and if not, it can use the above process of the present embodiment to automatically obtain the corresponding configuration information and perform configuration. Further, if the edge-side device after power-on does not find the first configuration information and / or the second configuration information locally, it can further check whether it has established a proxy relationship with other edge-side devices, if yes, it can obtain the required configuration information from the corresponding proxy edge-side device based on the proxy relationship, and if not, it can select one proxy edge-side device from other edge-side devices and obtain the required configuration information from the selected proxy edge-side device.
[0082] In this embodiment, after the proxy edge-side device establishes a proxy relationship with the target edge-side device, a hierarchical tree-type proxy network can be formed. In this way, when the cloud center needs to distribute information to each edge-side device in the network, the corresponding proxy edge-side device can distribute the information to each edge-side device under its proxy. For example, in the process of upgrading the firmware of the edge-side device, the cloud center can send the new version of the firmware to each proxy edge-side device, and then each proxy edge-side device sends the received new version of the firmware to each edge-side device under its proxy. Generally, the number of proxy edge-side devices in the network can be much smaller than the number of edge-side devices under proxy (for example, there can be 2 proxy edge-side devices in the network, and each proxy edge-side device can proxy 50 edge-side devices, etc.), which makes the cloud center only need to send the new version of the firmware to a small number of proxy edge-side devices, and does not need to send the new version of the firmware to the remaining edge-side devices under proxy. The remaining edge-side devices under proxy can be sent by the corresponding proxy edge-side device, thereby reducing the resource consumption required by the cloud center in the process of upgrading the firmware of the edge-side device, and reducing the dependence of the edge-side device on the cloud center. Moreover, multiple proxy edge-side devices can send the new version of the firmware to multiple edge-side devices under proxy in parallel. Compared with the way of sending the new version of the firmware to the edge-side devices one by one by the cloud center, the efficiency of upgrading the firmware of the edge-side devices in the entire network can also be effectively improved. Of course, in many scenarios such as software distribution and data synchronization, similar processes to the above-mentioned upgrading of firmware can also be used for implementation. The specific application scenarios of the proxy edge-side device sending information distributed by the cloud center to other edge-side devices are not limited in this embodiment.
[0083] When the proxy edge-side device fails or cannot continue to provide proxy services for the subordinate edge-side devices due to other reasons, any one or more of the following strategies can be used to cope with it:
[0084] As an example, each subordinate edge-side device of the proxy edge-side device can resend the second request to request other edge-side devices to be the proxy edge-side device of the subordinate edge-side device, and establish a corresponding proxy relationship.
[0085] In another example, each subordinate edge-side device of the proxy edge-side device can also elect a new proxy edge-side device through competition, and the elected proxy edge-side device can establish a proxy relationship with each of the remaining subordinate edge-side devices to become the proxy node of the remaining edge-side devices.
[0086] In yet another example, the proxy edge-side device can also support a hot-standby mechanism, e.g., each proxy edge-side device can have at least one slave device, and the proxy relationship on the proxy edge-side device and the first configuration information and / or the second configuration information corresponding to the subordinate edge-side devices thereof can be synchronized to a backup edge-side device, which can be another edge-side device in the same network region. When the proxy edge-side device fails, the backup edge-side device can take over the management of the proxy edge-side device and become a new proxy node of the subordinate edge-side devices of the proxy edge-side device. Meanwhile, the slave device as the new proxy node can also be configured with a new backup edge-side device so as to continue to take over the management by the configured new backup edge-side device when the backup edge-side device as the new proxy node stops providing the proxy service.
[0087] It should be understood that the above examples are only used for illustrative purposes and do not limit the coping strategies of the proxy edge-side device stopping providing the proxy service. In actual applications, other coping strategies can also be used.
[0088] In addition, the embodiments of the present application also provide a device which can be applied to the proxy edge-side device, and the device can implement the functions of the proxy edge-side device as shown in Figure 3 or Figure 4 . Referring to Figure 5 , the device 500 can include:
[0089] an obtaining module 501, configured to obtain first configuration information corresponding to a target edge-side device;
[0090] a transmitting module 502, configured to send the first configuration information to the target edge-side device, the first configuration information being used to configure the target edge-side device to establish a connection with a cloud center.
[0091] In a possible implementation, the transmitting module 502 is further configured to send a first request to the cloud center, the first request including an identifier of the target edge-side device, and the first request being used to request the first configuration information corresponding to the target edge-side device from the cloud center.
[0092] The obtaining module 501 is specifically configured to receive a response message from the cloud center, the response message including the first configuration information.
[0093] In a possible implementation, the obtaining module 501 is specifically configured to obtain the identifier of the target edge-side device, and determine the first configuration information corresponding to the target edge-side device from at least one edge-side device corresponding to the first configuration information stored locally according to the identifier of the target edge-side device.
[0094] In a possible implementation, the apparatus further includes a proxy relationship establishing module 503;
[0095] The transmission module 502 is further configured to receive a second request from the target edge-side device, the second request being used to request the proxy edge-side device to act as a proxy node of the target edge-side device.
[0096] The proxy relationship establishing module 503 is configured to establish a proxy relationship between the proxy edge-side device and the target edge-side device according to the second request.
[0097] In a possible implementation, the apparatus 500 further includes:
[0098] A determining module 504 is configured to determine that a proxy state of the proxy edge-side device meets a preset condition, the proxy state including a proxy order of the proxy edge-side device and / or a number of edge-side devices that have established a proxy relationship with the proxy edge-side device.
[0099] In a possible implementation, the transmission module 502 is further configured to send, to the target edge-side device, second configuration information corresponding to the target edge-side device, the second configuration information being used to configure a service of the target edge-side device.
[0100] In a possible implementation, the apparatus 500 further includes:
[0101] A synchronizing module 505 is configured to synchronize the first configuration information and / or the second configuration information to a backup edge-side device, the backup edge-side device being used to act as a proxy node of the target edge-side device when the proxy edge-side device fails.
[0102] In a possible implementation, the transmission module 502 is further configured to receive a target program from the cloud center and send the target program to a target edge-side device, the target edge-side device being located in a same network region as the proxy edge-side device.
[0103] In addition, the embodiment of the present application further provides another apparatus structure applied to the proxy edge-side device, as shown in FIG. 6. Figure 6 As shown in FIG. 6, the proxy edge-side device 600 can include a communication interface 610 and a processor 620. Optionally, the proxy edge-side device 600 can further include a memory 630. The memory 630 can be arranged inside the proxy edge-side device, or arranged outside the proxy edge-side device. For example, the above-mentioned Figures 3-4All actions performed by the various agent edge devices can be implemented by the processor 620. The processor 620 receives requests, sends media streams and responses through the communication interface 610, and is used to implement... Figures 3-4 Any method performed by the proxy edge device described herein. In implementation, each step of the processing flow can be accomplished through integrated logic circuitry in the hardware of the processor 620 or through software instructions. Figures 3-4 The method executed by the proxy edge device described above is omitted for brevity. The program code used by the processor 620 to implement the above method can be stored in the memory 630. The memory 630 and the processor 620 are connected, such as by coupling.
[0104] Some features of the embodiments of this application can be implemented / supported by the processor 620 executing program instructions or software code in the memory 630. The software components loaded on the memory 630 can be summarized functionally or logically, for example... Figure 5 The module shown includes the acquisition module 501, the transmission module 502, the proxy relationship establishment module 503, the determination module 504, and the synchronization module 505.
[0105] Any communication interface involved in the embodiments of this application can be a circuit, a bus, a transceiver, or any other device that can be used for information exchange. For example, the communication interface 610 in the proxy edge device 600. Exemplarily, the other device can be a device connected to the proxy edge device 600, such as a cloud center and / or an edge device.
[0106] Similar to the inventive concept described above, embodiments of this application also provide a device that can be applied to edge-side devices, which can achieve the above-described... Figures 3-4 The functionality of the edge-side device in the illustrated embodiment. See also Figure 7 As shown, the device 700 includes:
[0107] Transmission module 701 is used to receive first configuration information from the proxy edge device;
[0108] The connection establishment module 702 is used to establish a connection with the cloud center based on the first configuration information.
[0109] In one possible implementation, the transmission module 701 is further configured to send a second request to the proxy edge device, the second request being used to request the proxy edge device to act as a proxy node of the target edge device.
[0110] In one possible implementation, the device 700 further includes a configuration module 703;
[0111] The transmission module 701 is further configured to receive second configuration information from the proxy edge device or from the target edge device in the cloud center;
[0112] The configuration module 703 is used to configure the service corresponding to the target edge device according to the second configuration information.
[0113] In one possible implementation, the transmission module 701 is configured to receive a target program from the proxy edge device, wherein the target edge device and the proxy edge device are located in the same network area.
[0114] Furthermore, embodiments of this application also provide another device structure for edge-side devices, such as... Figure 8 As shown, the edge device 800 may include a communication interface 810 and a processor 820. Optionally, the edge device 800 may also include a memory 830. The memory 830 may be located inside or outside the edge device. For example, the above... Figures 3-4 All actions performed by the edge devices can be implemented by the processor 820. The processor 820 receives requests, sends media streams and responses through the communication interface 810, and is used to implement... Figures 3-4 Any method performed by the edge-side device described herein. In implementation, each step of the processing flow can be accomplished through integrated logic circuitry in the hardware of the processor 820 or through software instructions. Figures 3-4 The method executed by the edge-side device described above. For brevity, it will not be described in detail here. The program code executed by the processor 820 to implement the above method can be stored in the memory 830. The memory 830 and the processor 820 are connected, such as by coupling. Some features of the embodiments of this application can be implemented / supported by the processor 820 executing program instructions or software code in the memory 830. The software components loaded on the memory 830 can be summarized functionally or logically, for example, Figure 7 The transmission module 701, connection establishment module 702, and configuration module 703 are shown.
[0115] Any communication interface involved in the embodiments of this application can be a circuit, a bus, a transceiver, or any other device that can be used for information exchange. For example, the communication interface 810 in the edge device 800. Exemplarily, the other device can be a device connected to the edge device 800, such as a cloud center and / or a proxy edge device.
[0116] Similar to the inventive concept described above, embodiments of this application also provide a device applicable to cloud centers, which can achieve the above-described... Figures 3-4The functions of the cloud center in the illustrated embodiment. See Figure 9 The apparatus 900 includes, as illustrated:
[0117] A determination module 901 configured to determine first configuration information corresponding to a target edge-side device.
[0118] A transmission module 902 configured to send the first configuration information to a proxy edge-side device, the first configuration information being used to configure the target edge-side device to establish a connection with the cloud center.
[0119] A verification module 903 configured to verify that the first configuration information from the target edge-side device is consistent with the first configuration information sent by the cloud center to the proxy edge-side device.
[0120] A connection establishment module 904 configured to establish a connection with the target edge-side device.
[0121] In a possible implementation, the transmission module 902 is further configured to receive a first request from the proxy edge-side device, the first request including an identifier of the target edge-side device.
[0122] The determination module 901 is specifically configured to determine the first configuration information corresponding to the target edge-side device according to the identifier of the target edge-side device.
[0123] In a possible implementation, the transmission module 902 is further configured to send a target program to the proxy edge-side device, the target edge-side device and the proxy edge-side device being located in a same network region.
[0124] In a possible implementation, the transmission module 902 is further configured to send second configuration information corresponding to the target edge-side device to the target edge-side device based on an established connection between the cloud center and the target edge-side device, the second configuration information being used to configure a service corresponding to the target edge-side device.
[0125] In addition, another apparatus structure applied to the cloud center is provided in the embodiments of the present application, as illustrated in Figure 10 The cloud center 1000 can include a communication interface 1010 and a processor 1020, as illustrated. Optionally, the cloud center 1000 can further include a memory 1030. The memory 1030 can be arranged inside the cloud center or outside the cloud center. Illustratively, the actions performed by each cloud center in the above Figures 3-4 The processor 1020 receives a request, sends a media stream and a response through the communication interface 1010, and is configured to implement the actions performed by each cloud center in the above Figures 3-4Any method performed by the cloud center described in the specification. In the implementation process, the steps of the process can be completed by the integrated logic circuit of the hardware in the processor 1020 or the instructions in the form of software Figures 3-4 The method performed by the edge side device described in the specification. For brevity, it will not be repeated here. The processor 1020 is used to implement the program code executed by the above-mentioned method. The memory 1030 and the processor 1020 are connected, such as coupled connection. Some features of the embodiments of the present application can be completed / supported by the processor 1020 executing the program instructions or software code in the memory 1030. The loaded software components on the memory 1030 can be functionally or logically summarized, for example, Figure 9 The determination module 901, the transmission module 902, the verification module 903, and the connection establishment module 904 shown in the figure.
[0126] Any communication interface involved in the embodiments of the present application can be a circuit, a bus, a transceiver, or any other device that can be used for information interaction. For example, the communication interface 1010 in the cloud center 1000, exemplarily, the other device can be a device connected to the cloud center 1000, such as an edge side device and / or a proxy edge side device.
[0127] The processor involved in the embodiments of the present application can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, which can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as hardware processor execution, or executed by a combination of hardware and software modules in the processor.
[0128] The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, modules or modules, which can be electrical, mechanical or other forms, for information interaction between devices, modules or modules.
[0129] The processor can operate in cooperation with the memory. The memory can be a non-volatile memory, such as a hard disk (Hard Disk Drive, HDD) or a solid-state disk (Solid-State Drive, SSD), etc., and can also be a volatile memory (Volatile Memory), such as a random access memory (Random-Access Memory, RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0130] This application does not limit the specific connection medium between the communication interface, processor, and memory. For example, the memory, processor, and communication interface can be connected via a bus. The bus can be categorized as an address bus, data bus, control bus, etc.
[0131] Based on the above embodiments, this application also provides a computer storage medium storing software programs. When these software programs are read and executed by one or more processors, they can implement the methods provided in any one or more of the above embodiments for proxy edge devices or execution by edge devices or cloud centers. The computer storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0132] Based on the above embodiments, this application also provides a chip, which includes a processor for implementing the functions of the proxy edge device, the edge device, or the cloud center involved in the above embodiments, for example, for implementing... Figures 3-4 The method executed by the middle proxy edge device is used to implement Figures 3-4 The method executed by the edge device, or used to implement Figures 3-4 The method executed by the cloud computing center. Optionally, the chip also includes a memory for storing program instructions and data necessary for the processor to execute. The chip can be composed of chips or may include chips and other discrete devices.
[0133] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application.
[0134] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0135] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 one or more flow or blocks
[0136] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 one or more flow or blocks
[0137] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 one or more flow or blocks
[0138] Obviously, persons having ordinary skill in the art can be various modifications and variations for the embodiments of the present application. Thus, unless these modifications and variations of the embodiments of the present application fall outside the scope of the claims and their equivalents, they should be construed as falling within the scope of the present application.
Claims
1. A method of configuring an edge-side device, the method comprising: The method is applied to a proxy edge-side device, which is an edge-side device that has been deployed in a network and establishes a connection with a cloud center, and the method comprises: obtaining first configuration information corresponding to a target edge-side device; sending the first configuration information to the target edge-side device, the first configuration information being used to configure the target edge-side device to establish a connection with the cloud center, and the target edge-side device being able to act as a proxy edge-side device of an edge-side device to be deployed after establishing the connection with the cloud center.
2. The method of claim 1, wherein, The method further comprises: sending a first request to the cloud center, the first request including an identifier of the target edge-side device, and the first request being used to request the first configuration information corresponding to the target edge-side device from the cloud center; the obtaining of the first configuration information corresponding to the target edge-side device comprises: receiving a response message from the cloud center, the response message including the first configuration information.
3. The method of claim 1, wherein, The obtaining of the first configuration information corresponding to the target edge-side device comprises: obtaining an identifier of the target edge-side device; determining the first configuration information corresponding to the target edge-side device from at least one edge-side device corresponding to the first configuration information stored locally according to the identifier of the target edge-side device.
4. The method according to any one of claims 1 to 3, characterized in that, Before sending the first configuration information to the target edge-side device, the method further comprises: receiving a second request from the target edge-side device, the second request being used to request the proxy edge-side device to act as a proxy node of the target edge-side device; establishing a proxy relationship between the proxy edge-side device and the target edge-side device according to the second request.
5. The method of claim 4, wherein, Before establishing the proxy relationship between the proxy edge-side device and the target edge-side device according to the second request, the method further comprises: determining that a proxy state of the proxy edge-side device meets a preset condition, the proxy state including a proxy number of the proxy edge-side device or a number of edge-side devices that have established a proxy relationship with the proxy edge-side device.
6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: sending second configuration information corresponding to the target edge-side device to the target edge-side device, the second configuration information being used to configure a service corresponding to the target edge-side device.
7. The method of claim 6, wherein, The method further comprises: synchronizing the first configuration information or the second configuration information to a backup edge-side device, the backup edge-side device being used to act as a proxy node of the target edge-side device when the proxy edge-side device fails.
8. The method according to claim 4 or 5, characterized in that, After establishing the proxy relationship between the proxy edge-side device and the target edge-side device, the method further comprises: receiving a target program from the cloud center; sending the target program to the target edge-side device, the target edge-side device and the proxy edge-side device being located in the same network region.
9. A method of configuring an edge side device, the method comprising: The method is applied to a target edge-side device, and the method comprises: receiving first configuration information corresponding to a proxy edge-side device, the proxy edge-side device being an edge-side device that has been deployed in a network and establishes a connection with a cloud center; According to the first configuration information, a connection is established with the cloud center, and the target edge-side device can serve as a proxy edge-side device of an edge-side device to be deployed after the connection with the cloud center is established.
10. The method of claim 9, wherein, The method further includes: sending a second request to the proxy edge-side device, the second request being used to request the proxy edge-side device to serve as a proxy node of the target edge-side device, the target edge-side device and the proxy edge-side device being located in a same network area.
11. The method according to claim 9 or 10, characterized in that, The method further includes: receiving second configuration information corresponding to the target edge-side device from the proxy edge-side device; configuring a service corresponding to the target edge-side device according to the second configuration information.
12. A method of configuring an edge side device, the method comprising: The method is applied to a cloud center, and the method includes: determining first configuration information corresponding to a target edge-side device; sending the first configuration information to a proxy edge-side device, the first configuration information being used to configure the target edge-side device to establish a connection with the cloud center, the proxy edge-side device being an edge-side device that has been deployed in a network and has established a connection with the cloud center; verifying the first configuration information from the target edge-side device; establishing a connection with the target edge-side device, the target edge-side device being able to serve as a proxy edge-side device of an edge-side device to be deployed after the connection with the cloud center is established.
13. An apparatus for configuring an edge side device, the apparatus comprising: The device is applied to a proxy edge-side device, the proxy edge-side device being an edge-side device that has been deployed in a network and has established a connection with a cloud center, and the device includes: an obtaining module, configured to obtain first configuration information corresponding to a target edge-side device; a transmission module, configured to send the first configuration information to the target edge-side device, the first configuration information being used to configure the target edge-side device to establish a connection with the cloud center, the target edge-side device being able to serve as a proxy edge-side device of an edge-side device to be deployed after the connection with the cloud center is established.
14. The apparatus of claim 13, wherein, The transmission module is further configured to send a first request to the cloud center, the first request including an identifier of the target edge-side device, the first request being used to request the cloud center for the first configuration information corresponding to the target edge-side device. The obtaining module is specifically configured to receive a response message from the cloud center, the response message including the first configuration information.
15. The apparatus of claim 13, wherein, The obtaining module is configured to obtain the identifier of the target edge-side device, and determine the first configuration information corresponding to the target edge-side device from at least one edge-side device corresponding to the first configuration information stored locally according to the identifier of the target edge-side device.
16. The apparatus of any one of claims 13 to 15, wherein, The device further includes a proxy relationship establishing module. The transmission module is further configured to receive a second request from the target edge-side device, the second request being used to request the proxy edge-side device to serve as a proxy node of the target edge-side device. The proxy relationship establishing module is configured to establish a proxy relationship between the proxy edge-side device and the target edge-side device according to the second request.
17. The apparatus of claim 16, wherein, The device further includes: The determining module is configured to determine that a proxy state of the proxy edge-side device meets a preset condition, the proxy state including a proxy level of the proxy edge-side device and / or a number of edge-side devices that have established a proxy relationship with the proxy edge-side device.
18. The apparatus of any one of claims 13 to 17, wherein, The transmission module is further configured to send second configuration information corresponding to the target edge-side device to the target edge-side device, the second configuration information being used to configure a service of the target edge-side device.
19. The apparatus of claim 18, wherein, The apparatus further includes: The synchronization module is configured to synchronize the first configuration information and / or the second configuration information to a backup edge-side device, the backup edge-side device being used as a proxy node of the target edge-side device when the proxy edge-side device fails.
20. An apparatus for configuring an edge side device, the apparatus comprising: The apparatus is applied to a target edge-side device, and the apparatus includes: The transmission module is configured to receive first configuration information corresponding to a proxy edge-side device from the proxy edge-side device, the proxy edge-side device being an edge-side device that has been deployed in a network and has established a connection with a cloud center. The connection establishment module is configured to establish a connection with the cloud center according to the first configuration information, the target edge-side device being able to serve as a proxy edge-side device of an edge-side device to be deployed after establishing the connection with the cloud center.
21. An apparatus for configuring an edge side device, the apparatus comprising: The apparatus is applied to a cloud center, and the apparatus includes: The determining module is configured to determine first configuration information corresponding to a target edge-side device. The transmission module is configured to send the first configuration information to a proxy edge-side device, the first configuration information being used to configure the target edge-side device to establish a connection with the cloud center, the proxy edge-side device being an edge-side device that has been deployed in a network and has established a connection with the cloud center. The verification module is configured to verify the first configuration information from the target edge-side device. The connection establishment module is configured to establish a connection with the target edge-side device, the target edge-side device being able to serve as a proxy edge-side device of an edge-side device to be deployed after establishing the connection with the cloud center.
22. A computing device, comprising: The apparatus includes a memory and a processor, the memory being used to store software instructions, and the processor invoking the software instructions stored in the memory to execute the method in any one of claims 1 to 8.
23. A computing device, comprising: The apparatus includes a memory and a processor, the memory being used to store software instructions, and the processor invoking the software instructions stored in the memory to execute the method in any one of claims 9 to 11.
24. A system for configuring edge side devices, the system comprising: The system includes a proxy edge-side device, a target edge-side device, and a cloud center. The proxy edge-side device is configured to send first configuration information corresponding to the target edge-side device to the target edge-side device, the proxy edge-side device being an edge-side device that has been deployed in a network and has established a connection with the cloud center. The target edge-side device is configured to send the first configuration information to the cloud center. The cloud center is configured to verify the first configuration information from the target edge-side device. The cloud center is configured to establish a connection with the target edge-side device, the target edge-side device being able to serve as a proxy edge-side device of an edge-side device to be deployed after establishing the connection with the cloud center.
Citation Information
Patent Citations
Network configuration method, device and system
CN108347353A
Edge cloud deployment method and device
CN110798338A