Edge device capacity expansion configuration method and system based on cloud-edge collaboration

By analyzing the data processing logs of edge devices and using cloud storage node clusters to provide increased capacity storage, the problem of edge device data storage overflow is solved and computing reliability and data security are improved.

CN117857568BActive Publication Date: 2024-09-03HUIZHIAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311794117.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2024-09-03
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

Existing cloud platforms fail to provide an effective and reliable solution to the data storage overflow problem of edge devices, resulting in an increase in the data loss rate of edge devices and a decrease in the reliability of computing task processing.

Method used

By analyzing the data processing logs of edge devices, we can identify the target devices where data storage overflow events are about to occur, and use the storage node cluster in the cloud network to provide increased storage space for them, transfer and lock the overflow data, and ensure data security and reliability. .

Benefits of technology

It improves the computing reliability of edge devices, avoids data loss, and enhances the stability of processing complex computing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117857568B
    Figure CN117857568B
Patent Text Reader

Abstract

The present invention provides an edge device capacity expansion configuration method and system based on cloud-edge collaboration, which analyzes the data processing logs of all edge devices under the cloud platform, identifies the target edge device that is about to have a data storage overflow event, and determines the data storage overflow information of the target edge device; based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determines a storage node cluster that can receive the overflow storage data of the target edge device, selects at least one storage node from the cluster as the capacity expansion storage node of the target edge device, and makes full use of the storage nodes of the cloud platform to provide additional storage space for the target edge device; and based on the data storage overflow information, transfers the overflow storage data of the target edge device to the corresponding capacity expansion storage node and transfers the overflow storage data inside the corresponding capacity expansion storage node back to the target edge device, thereby improving the computing reliability of the edge device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of edge computing, and in particular to a method and system for configuring edge device capacity expansion based on cloud-edge collaboration. Background Art

[0002] There are multiple edge devices connected to the cloud platform. Different edge devices work independently and can independently process corresponding computing tasks. Edge devices need to provide their own storage space to cooperate in the process of processing computing tasks. The edge device's own storage space is limited. When the edge device processes complex and large computing tasks, its own storage space may not be able to meet the computing and processing requirements, resulting in data storage overflow. It is impossible to ensure that the edge device can complete the corresponding computing tasks normally and stably. The existing cloud platform has not eliminated effective and reliable solutions to the problem of storage data overflow in edge devices. This will cause the overflow storage data of edge devices to continue to accumulate, increase the data loss rate of edge devices, and reduce the reliability of computing task processing of edge devices. Summary of the invention

[0003] The purpose of the present invention is to provide an edge device capacity expansion configuration method and system based on cloud-edge collaboration, which analyzes the data processing logs of all edge devices under the cloud platform, identifies the target edge device that is about to have a data storage overflow event, and determines the data storage overflow information of the target edge device; based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determines a storage node cluster that can receive the overflow storage data of the target edge device, selects at least one storage node from it as the capacity expansion storage node of the target edge device, and makes full use of the storage nodes of the cloud platform to provide additional storage space for the target edge device; and based on the data storage overflow information, transfers the overflow storage data of the target edge device to the corresponding capacity expansion storage node and transfers the overflow storage data inside the corresponding capacity expansion storage node back to the target edge device, thereby improving the computing reliability of the edge device.

[0004] The present invention is achieved through the following technical solutions:

[0005] The edge device capacity expansion configuration method based on cloud-edge collaboration includes:

[0006] Obtaining data processing logs of all edge devices under the cloud platform, analyzing the data processing logs, identifying a target edge device that is about to have a data storage overflow event, and determining data storage overflow information of the target edge device;

[0007] Based on the location information of the target edge device within the cloud network corresponding to the cloud platform, determine a storage node cluster that can receive the overflow storage data of the target edge device; based on the controlled state information of the storage node cluster, select at least one storage node from the storage node cluster as a capacity increase storage node for the target edge device;

[0008] Based on the data storage overflow information, the overflow storage data of the target edge device is transferred to the corresponding capacity-increasing storage node, and the capacity-increasing storage node to which the overflow storage data is transferred is locked;

[0009] The updated data processing log of the target edge device is analyzed to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding increased capacity storage node back to the target edge device.

[0010] Optionally, obtaining data processing logs of all edge devices under the cloud platform, analyzing the data processing logs, identifying a target edge device where a data storage overflow event is about to occur, and determining data storage overflow information of the target edge device, including:

[0011] Obtain the data storage change logs of all edge devices under the cloud platform, analyze the data storage change logs, and determine the average storage space data write rate of all edge devices; compare the average storage space data write rate with a preset write rate threshold, and if the average storage space data write rate is greater than the preset write rate threshold, determine that the corresponding edge device is a target edge device that is about to have a data storage overflow event;

[0012] The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device.

[0013] Optionally, obtaining data processing logs of all edge devices under the cloud platform, analyzing the data processing logs, and identifying target edge devices where data storage overflow events are about to occur, including:

[0014] Step S1, assume that a certain edge device is determined to be a target edge device that is about to have a data storage overflow event by comparing the average storage space data write rate with the preset write rate threshold, and the average data write speed of its i-th independent task is Wi, i is the independent task number, and i is an integer greater than or equal to 1 and less than or equal to n. Then, within the time T in the capacity adjustment process, the size of the data newly written by each independent task is:

[0015]

[0016] In the above formula (1), A T is the size of the data newly written by each independent task within the time T during the capacity adjustment process;

[0017] Step S2: Since the speed of writing data for each independent task is not constant, let the coefficient of variation of the i-th independent writing speed be V i , then during the time T of the capacity adjustment process, the change in write data caused by the change in write speed is:

[0018]

[0019] In the above formula (2), ΔA T is the change in written data due to the change in writing speed during the time T of the capacity increase adjustment process;

[0020] Step S3: judging whether there is a data storage overflow event on the edge device according to the calculation results of the above steps S1 and S2.

[0021]

[0022] In the above formula (3), f is the judgment function of whether the edge device has a data storage overflow event. When f is 1, it indicates that the edge device is about to have a data storage overflow event. When f is 0, it indicates that the edge device does not have a data storage overflow event. A is the current remaining memory of the edge device.

[0023] Optionally, based on the location information of the target edge device within the cloud network corresponding to the cloud platform, determining a storage node cluster capable of receiving the overflow storage data of the target edge device; based on the controlled state information of the storage node cluster, selecting at least one storage node from the storage node cluster as a capacity expansion storage node for the target edge device, including:

[0024] Based on the gateway address information of the target edge device in the cloud network corresponding to the cloud platform, determine all storage nodes whose gateway transmission path distance to the target edge device is less than a preset distance threshold, and form all the determined storage nodes into a storage node cluster capable of receiving the overflow storage data of the target edge device;

[0025] Based on the controlled status information of all storage nodes under the storage node cluster, determine whether the storage node is in a state of being occupied and controlled by other edge devices. If not, select the corresponding storage node as the capacity-increasing storage node of the target edge device; if so, do not select the corresponding storage node as the capacity-increasing storage node of the target edge device.

[0026] Optionally, based on the data storage overflow information, the overflow storage data of the target edge device is transferred to a corresponding capacity-increasing storage node, and the capacity-increasing storage node to which the overflow storage data is transferred is locked, including:

[0027] Based on the data storage overflow information, the data that needs to be transferred and stored by the target edge device is divided into several data blocks; based on the remaining available storage space size of all the capacity-increasing storage nodes, the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes, and the communication path between the capacity-increasing storage nodes of the transferred data blocks and other edge devices within the cloud network is interrupted and locked.

[0028] Optionally, analyzing the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increased storage node back to the target edge device, includes:

[0029] Analyze the data processing log updated after the target edge device has experienced a preset time length, determine whether the target edge device performs a data deletion operation, and if so, determine whether the target edge device has free storage space; if not, determine that the target edge device does not have free storage space;

[0030] When there is free storage space in the target edge device, the overflow storage data of a matching size inside the corresponding increased-capacity storage node is transferred back to the target edge device based on the size of the free storage space.

[0031] The edge device capacity expansion configuration system based on cloud-edge collaboration includes:

[0032] A data storage overflow identification module is used to obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device;

[0033] A storage node cluster determination module, configured to determine a storage node cluster capable of receiving overflow storage data of the target edge device based on location information of the target edge device within the cloud network corresponding to the cloud platform;

[0034] A capacity-increasing storage node determining module, configured to select at least one storage node from within the storage node cluster as a capacity-increasing storage node for the target edge device based on the controlled state information of the storage node cluster;

[0035] An overflow storage data transfer module is used to transfer the overflow storage data of the target edge device to the corresponding capacity-increasing storage node based on the data storage overflow information, and lock the capacity-increasing storage node to which the overflow storage data is transferred;

[0036] The overflow storage data return module is used to analyze the updated data processing log of the target edge device and determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increased storage node back to the target edge device.

[0037] Optionally, the data storage overflow identification module is used to obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device, including:

[0038] Obtain the data storage change logs of all edge devices under the cloud platform, analyze the data storage change logs, and determine the average storage space data write rate of all edge devices; compare the average storage space data write rate with a preset write rate threshold, and if the average storage space data write rate is greater than the preset write rate threshold, determine that the corresponding edge device is a target edge device that is about to have a data storage overflow event;

[0039] The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device.

[0040] Optionally, the storage node cluster determination module is used to determine a storage node cluster capable of receiving overflow storage data of the target edge device based on location information of the target edge device within the cloud network corresponding to the cloud platform, including:

[0041] Based on the gateway address information of the target edge device in the cloud network corresponding to the cloud platform, determine all storage nodes whose gateway transmission path distance to the target edge device is less than a preset distance threshold, and form all the determined storage nodes into a storage node cluster capable of receiving the overflow storage data of the target edge device;

[0042] The capacity-increasing storage node determining module is used to select at least one storage node from the storage node cluster as the capacity-increasing storage node of the target edge device based on the controlled state information of the storage node cluster, including:

[0043] Based on the controlled status information of all storage nodes under the storage node cluster, determine whether the storage node is in a state of being occupied and controlled by other edge devices. If not, select the corresponding storage node as the capacity-increasing storage node of the target edge device; if so, do not select the corresponding storage node as the capacity-increasing storage node of the target edge device.

[0044] Optionally, the overflow storage data transfer module is used to transfer the overflow storage data of the target edge device to the corresponding capacity-increasing storage node based on the data storage overflow information, and lock the capacity-increasing storage node to which the overflow storage data is transferred, including:

[0045] Based on the data storage overflow information, the data that needs to be transferred and stored by the target edge device is divided into several data blocks; based on the remaining available storage space size of all the capacity-increasing storage nodes, the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes, and the communication path between the capacity-increasing storage nodes of the transferred data blocks and other edge devices within the cloud network is interrupted and locked.

[0046] Optionally, the overflow storage data return module is used to analyze the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increased storage node back to the target edge device, including:

[0047] Analyze the data processing log updated after the target edge device has experienced a preset time length, determine whether the target edge device performs a data deletion operation, and if so, determine whether the target edge device has free storage space; if not, determine that the target edge device does not have free storage space;

[0048] When there is free storage space in the target edge device, the overflow storage data of a matching size inside the corresponding increased-capacity storage node is transferred back to the target edge device based on the size of the free storage space.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] The edge device capacity expansion configuration method and system based on cloud-edge collaboration provided in the present application analyze the data processing logs of all edge devices under the cloud platform, identify the target edge device that is about to have a data storage overflow event, and determine the data storage overflow information of the target edge device; based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determine the storage node cluster that can receive the overflow storage data of the target edge device, select at least one storage node from it as the capacity expansion storage node of the target edge device, and make full use of the storage nodes of the cloud platform to provide additional storage space for the target edge device; also based on the data storage overflow information, transfer the overflow storage data of the target edge device to the corresponding capacity expansion storage node and transfer the overflow storage data inside the corresponding capacity expansion storage node back to the target edge device, thereby improving the computing reliability of the edge device. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0052] Figure 1 A flow chart of the edge device capacity expansion configuration method based on cloud-edge collaboration provided by the present invention.

[0053] Figure 2 A structural diagram of the edge device capacity expansion configuration system based on cloud-edge collaboration provided by the present invention. DETAILED DESCRIPTION

[0054] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0055] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0056] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0057] See also Figure 1 As shown, the edge device capacity expansion configuration method based on cloud-edge collaboration provided by an embodiment of the present application includes:

[0058] Obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device;

[0059] Based on the location information of the target edge device in the cloud network corresponding to the cloud platform, determine a storage node cluster that can receive the overflow storage data of the target edge device; based on the controlled state information of the storage node cluster, select at least one storage node from the storage node cluster as a capacity expansion storage node for the target edge device;

[0060] Based on the data storage overflow information, the overflow storage data of the target edge device is transferred to the corresponding capacity-increasing storage node, and the capacity-increasing storage node to which the overflow storage data is transferred is locked;

[0061] The updated data processing log of the target edge device is analyzed to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding increased capacity storage node back to the target edge device.

[0062] The beneficial effects of the above embodiments are as follows: the edge device capacity expansion configuration method based on cloud-edge collaboration analyzes the data processing logs of all edge devices under the cloud platform, identifies the target edge device that is about to have a data storage overflow event, and determines the data storage overflow information of the target edge device; based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determines a storage node cluster that can receive the overflow storage data of the target edge device, selects at least one storage node from it as the capacity expansion storage node of the target edge device, and makes full use of the storage nodes of the cloud platform to provide additional storage space for the target edge device; and based on the data storage overflow information, transfers the overflow storage data of the target edge device to the corresponding capacity expansion storage node and transfers the overflow storage data inside the corresponding capacity expansion storage node back to the target edge device, thereby improving the computing reliability of the edge device.

[0063] In another embodiment, the data processing logs of all edge devices under the cloud platform are obtained, the data processing logs are analyzed, the target edge device where the data storage overflow event is about to occur is identified, and the data storage overflow information of the target edge device is determined, including:

[0064] Obtain the data storage change logs of all edge devices under the cloud platform, analyze the data storage change logs, and determine the average storage space data write rate of all edge devices; compare the average storage space data write rate with the preset write rate threshold, and if the average storage space data write rate is greater than the preset write rate threshold, determine that the corresponding edge device is the target edge device that is about to have a data storage overflow event;

[0065] The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device.

[0066] The beneficial effect of the above embodiment is to analyze the data storage change logs of all edge devices under the cloud platform and determine the average data write rate of the storage space of all edge devices. In this way, the data write speed of each edge device storage space can be quantified and calibrated. The greater the average data write rate of the edge device's storage space, the faster the available storage space of the edge device is consumed. The average data write speed of the edge device's storage space is compared with the threshold value to determine whether the edge device is about to have a data storage overflow event (that is, the edge device's own storage space cannot completely store the corresponding data). The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device, so that the overflow data of the target edge device can be accurately extracted and calibrated.

[0067] In another embodiment, the data processing logs of all edge devices under the cloud platform are obtained, and the data processing logs are analyzed to identify the target edge device where the data storage overflow event is about to occur, including:

[0068] Step S1, assume that a certain edge device is determined to be a target edge device that is about to have a data storage overflow event by comparing the average storage space data write rate with the preset write rate threshold, and the average data write speed of its i-th independent task is Wi, i is the independent task number, and i is an integer greater than or equal to 1 and less than or equal to n. Then, within the time T in the capacity adjustment process, the size of the data newly written by each independent task is:

[0069]

[0070] In the above formula (1), A T is the size of the data newly written by each independent task within the time T during the capacity adjustment process;

[0071] Step S2: Since the speed of writing data for each independent task is not constant, let the coefficient of variation of the i-th independent writing speed be V i , then during the time T of the capacity adjustment process, the change in write data caused by the change in write speed is:

[0072]

[0073] In the above formula (2), ΔA T is the change in written data due to the change in writing speed during the time T of the capacity increase adjustment process;

[0074] Step S3: judging whether there is a data storage overflow event on the edge device according to the calculation results of the above steps S1 and S2.

[0075]

[0076] In the above formula (3), f is the judgment function of whether the edge device has a data storage overflow event. When f is 1, it indicates that the edge device is about to have a data storage overflow event. When f is 0, it indicates that the edge device does not have a data storage overflow event. A is the current remaining memory of the edge device.

[0077] The beneficial effects of the above embodiments are that since the data writing speed is affected by many factors, such as the number and size of the written data, the memory frequency of the edge device, the data channel, etc., in some cases, only comparing the average writing rate of the storage space data with the preset writing rate threshold may make it inaccurate to judge whether a data storage overflow event is about to occur. For example, the writing rate set by the threshold is the writing rate under a single channel. If a certain edge device is a dual-channel, its writing speed often exceeds the writing speed threshold, but it is not about to have a data storage overflow event. Therefore, in order to more accurately judge whether a data storage overflow event is about to occur in the target edge device, the above algorithm is used to make an accurate judgment based on the judgment of the above average data writing rate. According to the data writing speed and writing speed change of the target edge device, the incremental writing data in the process of capacity expansion and adjustment is accurately judged, and then the incremental writing data is compared with the current remaining memory to see whether a data storage overflow event is about to occur, thereby accurately judging whether a data storage overflow event is about to occur in the edge device, avoiding the actual occurrence of a data storage overflow event or the occurrence of an erroneous capacity expansion due to inaccurate judgment.

[0078] In another embodiment, based on the location information of the target edge device in the cloud network corresponding to the cloud platform, determining a storage node cluster capable of receiving the overflow storage data of the target edge device; based on the controlled state information of the storage node cluster, selecting at least one storage node from the storage node cluster as a capacity expansion storage node of the target edge device, including:

[0079] Based on the gateway address information of the target edge device in the cloud network corresponding to the cloud platform, determine all storage nodes whose gateway transmission path distance to the target edge device is less than a preset distance threshold, and form all the determined storage nodes into a storage node cluster capable of receiving the overflow storage data of the target edge device;

[0080] Based on the controlled status information of all storage nodes under the storage node cluster, determine whether the storage node is in a state of being occupied and controlled by other edge devices. If not, select the corresponding storage node as the capacity-increasing storage node of the target edge device; if so, do not select the corresponding storage node as the capacity-increasing storage node of the target edge device.

[0081] The beneficial effect of the above embodiment is that, based on the gateway address information of the target edge device in the cloud platform corresponding to the cloud network, all storage nodes whose gateway transmission path distance to the target edge device is less than the preset distance threshold are determined, so as to determine the storage node cluster that can receive the overflow storage data of the target edge device, thereby providing a reliable and diverse choice for the target edge device to transfer the overflow storage data. It is also based on the controlled state information of all storage nodes under the storage node cluster to determine whether the storage node is in a state of being occupied and controlled by other edge devices, so that the storage nodes that are not in a state of being occupied and controlled by other edge devices are used as capacity-increasing storage nodes to ensure that the target edge device can accurately transfer the overflow storage data.

[0082] In another embodiment, based on the data storage overflow information, the overflow storage data of the target edge device is transferred to the corresponding capacity-increasing storage node, and the capacity-increasing storage node to which the overflow storage data is transferred is locked, including:

[0083] Based on the data storage overflow information, the data that needs to be transferred and stored in the target edge device is divided into several data blocks; based on the remaining available storage space size of all the capacity-increasing storage nodes, the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes, and the communication path between the capacity-increasing storage nodes of the transferred data blocks and other edge devices within the cloud network is interrupted and locked.

[0084] The beneficial effect of the above embodiment is that, based on the data storage overflow information, the data that needs to be transferred and stored by the target edge device is divided into several data blocks, and the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes in combination with the remaining available storage space size of all capacity-increasing storage nodes, ensuring that each data block can be completely transferred and stored to the corresponding capacity-increasing storage node. The communication path between the capacity-increasing storage node of the transferred data block and other edge devices within the cloud network is also interrupted and locked, so as to prevent the capacity-increasing storage node of the transferred data block from being occupied by other edge devices.

[0085] In another embodiment, analyzing the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, thereby transferring the overflow storage data in the corresponding capacity-increased storage node back to the target edge device, includes:

[0086] Analyze the data processing log updated after the target edge device has experienced a preset time length to determine whether the target edge device performs a data deletion operation, and if so, determine that the target edge device has free storage space; if not, determine that the target edge device does not have free storage space;

[0087] When there is free storage space in the target edge device, the overflow storage data of a matching size inside the corresponding increased capacity storage node is transferred back to the target edge device based on the size of the free storage space.

[0088] The beneficial effect of the above embodiment is to analyze the data processing log updated after the target edge device has experienced a preset length of time, determine whether the target edge device has performed a data deletion operation, and accurately determine whether the target edge device has free storage space. When the target edge device has free storage space, based on the size of the free storage space, the overflow storage data of the matching size inside the corresponding capacity-increased storage node is transferred back to the target edge device, so that the target edge device can obtain the corresponding data in a timely manner.

[0089] See also Figure 2 As shown, an edge device capacity expansion configuration system based on cloud-edge collaboration provided by an embodiment of the present application includes:

[0090] The data storage overflow identification module is used to obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device;

[0091] A storage node cluster determination module, used to determine a storage node cluster capable of receiving overflow storage data of the target edge device based on location information of the target edge device within the cloud network corresponding to the cloud platform;

[0092] A capacity-increasing storage node determining module, configured to select at least one storage node from within the storage node cluster as a capacity-increasing storage node for the target edge device based on the controlled state information of the storage node cluster;

[0093] An overflow storage data transfer module is used to transfer the overflow storage data of the target edge device to the corresponding capacity-increasing storage node based on the data storage overflow information, and lock the capacity-increasing storage node to which the overflow storage data is transferred;

[0094] The overflow storage data return module is used to analyze the updated data processing log of the target edge device and determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding increased capacity storage node back to the target edge device.

[0095] The beneficial effects of the above embodiments are as follows: the edge device capacity expansion configuration system based on cloud-edge collaboration analyzes the data processing logs of all edge devices under the cloud platform, identifies the target edge device that is about to have a data storage overflow event, and determines the data storage overflow information of the target edge device; based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determines a storage node cluster that can receive the overflow storage data of the target edge device, selects at least one storage node from it as the capacity expansion storage node of the target edge device, and makes full use of the storage nodes of the cloud platform to provide additional storage space for the target edge device; and based on the data storage overflow information, transfers the overflow storage data of the target edge device to the corresponding capacity expansion storage node and transfers the overflow storage data inside the corresponding capacity expansion storage node back to the target edge device, thereby improving the computing reliability of the edge device.

[0096] In another embodiment, the data storage overflow identification module is used to obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device, including:

[0097] Obtain the data storage change logs of all edge devices under the cloud platform, analyze the data storage change logs, and determine the average storage space data write rate of all edge devices; compare the average storage space data write rate with the preset write rate threshold, and if the average storage space data write rate is greater than the preset write rate threshold, determine that the corresponding edge device is the target edge device that is about to have a data storage overflow event;

[0098] The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device.

[0099] The beneficial effect of the above embodiment is to analyze the data storage change logs of all edge devices under the cloud platform and determine the average data write rate of the storage space of all edge devices. In this way, the data write speed of each edge device storage space can be quantified and calibrated. The greater the average data write rate of the edge device's storage space, the faster the available storage space of the edge device is consumed. The average data write speed of the edge device's storage space is compared with the threshold value to determine whether the edge device is about to have a data storage overflow event (that is, the edge device's own storage space cannot completely store the corresponding data). The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device, so that the overflow data of the target edge device can be accurately extracted and calibrated.

[0100] In another embodiment, the storage node cluster determination module is used to determine a storage node cluster capable of receiving overflow storage data of the target edge device based on location information of the target edge device within the cloud network corresponding to the cloud platform, including:

[0101] Based on the gateway address information of the target edge device in the cloud network corresponding to the cloud platform, determine all storage nodes whose gateway transmission path distance to the target edge device is less than a preset distance threshold, and form all the determined storage nodes into a storage node cluster capable of receiving the overflow storage data of the target edge device;

[0102] The capacity-increasing storage node determining module is used to select at least one storage node from the storage node cluster as the capacity-increasing storage node of the target edge device based on the controlled state information of the storage node cluster, including:

[0103] Based on the controlled status information of all storage nodes under the storage node cluster, determine whether the storage node is in a state of being occupied and controlled by other edge devices. If not, select the corresponding storage node as the capacity-increasing storage node of the target edge device; if so, do not select the corresponding storage node as the capacity-increasing storage node of the target edge device.

[0104] The beneficial effect of the above embodiment is that, based on the gateway address information of the target edge device in the cloud platform corresponding to the cloud network, all storage nodes whose gateway transmission path distance to the target edge device is less than the preset distance threshold are determined, so as to determine the storage node cluster that can receive the overflow storage data of the target edge device, thereby providing a reliable and diverse choice for the target edge device to transfer the overflow storage data. It is also based on the controlled state information of all storage nodes under the storage node cluster to determine whether the storage node is in a state of being occupied and controlled by other edge devices, so that the storage nodes that are not in a state of being occupied and controlled by other edge devices are used as capacity-increasing storage nodes to ensure that the target edge device can accurately transfer the overflow storage data.

[0105] In another embodiment, the overflow storage data transfer module is used to transfer the overflow storage data of the target edge device to the corresponding capacity-increasing storage node based on the data storage overflow information, and lock the capacity-increasing storage node to which the overflow storage data is transferred, including:

[0106] Based on the data storage overflow information, the data that needs to be transferred and stored in the target edge device is divided into several data blocks; based on the remaining available storage space size of all the capacity-increasing storage nodes, the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes, and the communication path between the capacity-increasing storage nodes of the transferred data blocks and other edge devices within the cloud network is interrupted and locked.

[0107] The beneficial effect of the above embodiment is that, based on the data storage overflow information, the data that needs to be transferred and stored by the target edge device is divided into several data blocks, and the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes in combination with the remaining available storage space size of all capacity-increasing storage nodes, ensuring that each data block can be completely transferred and stored to the corresponding capacity-increasing storage node. The communication path between the capacity-increasing storage node of the transferred data block and other edge devices within the cloud network is also interrupted and locked, so as to prevent the capacity-increasing storage node of the transferred data block from being occupied by other edge devices.

[0108] In another embodiment, the overflow storage data return module is used to analyze the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increased storage node back to the target edge device, including:

[0109] Analyze the data processing log updated after the target edge device has experienced a preset time length to determine whether the target edge device performs a data deletion operation, and if so, determine that the target edge device has free storage space; if not, determine that the target edge device does not have free storage space;

[0110] When there is free storage space in the target edge device, the overflow storage data of a matching size inside the corresponding increased capacity storage node is transferred back to the target edge device based on the size of the free storage space.

[0111] The beneficial effect of the above embodiment is to analyze the data processing log updated after the target edge device has experienced a preset length of time, determine whether the target edge device has performed a data deletion operation, and accurately determine whether the target edge device has free storage space. When the target edge device has free storage space, based on the size of the free storage space, the overflow storage data of the matching size inside the corresponding capacity-increased storage node is transferred back to the target edge device, so that the target edge device can obtain the corresponding data in a timely manner.

[0112] In general, the edge device capacity expansion configuration method and system based on cloud-edge collaboration analyzes the data processing logs of all edge devices under the cloud platform, identifies the target edge device that is about to have a data storage overflow event, and determines the data storage overflow information of the target edge device; based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determines a storage node cluster that can receive the overflow storage data of the target edge device, selects at least one storage node from it as the capacity expansion storage node of the target edge device, and makes full use of the storage nodes of the cloud platform to provide additional storage space for the target edge device; and based on the data storage overflow information, transfers the overflow storage data of the target edge device to the corresponding capacity expansion storage node and transfers the overflow storage data inside the corresponding capacity expansion storage node back to the target edge device, thereby improving the computing reliability of the edge device.

[0113] The above is only a specific implementation of the present invention, and any other improvements made based on the concept of the present invention are considered to be within the protection scope of the present invention.

Claims

1. The edge device capacity expansion configuration method based on cloud-edge collaboration is characterized by: include: Obtaining data processing logs of all edge devices under the cloud platform, analyzing the data processing logs, identifying a target edge device that is about to have a data storage overflow event, and determining data storage overflow information of the target edge device; Based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determine a storage node cluster capable of receiving the overflow storage data of the target edge device; Based on the controlled state information of the storage node cluster, selecting at least one storage node from the storage node cluster as a capacity-increasing storage node of the target edge device; Based on the data storage overflow information, the overflow storage data of the target edge device is transferred to the corresponding capacity-increasing storage node, and the capacity-increasing storage node to which the overflow storage data is transferred is locked; Analyze the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increased storage node back to the target edge device; The data processing logs of all edge devices under the cloud platform are obtained, and the data processing logs are analyzed to identify the target edge device where the data storage overflow event is about to occur, including: Step S1, assuming that a certain edge device is determined to be a target edge device that is about to have a data storage overflow event by comparing the average storage space data write rate with the preset write rate threshold, and the average data write speed of its i-th independent task is Wi, i is the independent task number, i is an integer greater than or equal to 1 and less than or equal to n, then within the time T in the capacity adjustment process, the size of the data newly written by each independent task is: In the above formula (1), A T is the size of the data newly written by each independent task within the time T during the capacity adjustment process; Step S2: Since the speed of writing data for each independent task is not constant, let the coefficient of variation of the i-th independent writing speed be V i , then during the time T of the capacity adjustment process, the change in write data caused by the change in write speed is: In the above formula (2), ΔA T is the change in written data caused by the change in writing speed during the time T of the capacity increase adjustment process; Step S3: judging whether there is a data storage overflow event on the edge device according to the calculation results of the above steps S1 and S2. In the above formula (3), f is the judgment function of whether the edge device has a data storage overflow event. When f is 1, it indicates that the edge device is about to have a data storage overflow event. When f is 0, it indicates that the edge device does not have a data storage overflow event. A is the current remaining memory of the edge device.

2. The edge device capacity expansion configuration method based on cloud-edge collaboration according to claim 1 is characterized in that: Obtaining the data processing logs of all edge devices under the cloud platform, analyzing the data processing logs, identifying the target edge device where the data storage overflow event is about to occur, and determining the data storage overflow information of the target edge device, including: Obtain the data storage change logs of all edge devices under the cloud platform, analyze the data storage change logs, and determine the average storage space data write rate of all edge devices; compare the average storage space data write rate with a preset write rate threshold, and if the average storage space data write rate is greater than the preset write rate threshold, determine that the corresponding edge device is a target edge device that is about to have a data storage overflow event; The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device.

3. The edge device capacity expansion configuration method based on cloud-edge collaboration according to claim 1 is characterized in that: Based on the location information of the target edge device inside the cloud network corresponding to the cloud platform, determine a storage node cluster capable of receiving the overflow storage data of the target edge device; Based on the controlled state information of the storage node cluster, selecting at least one storage node from the storage node cluster as a capacity increase storage node of the target edge device includes: Based on the gateway address information of the target edge device in the cloud network corresponding to the cloud platform, determine all storage nodes whose gateway transmission path distance to the target edge device is less than a preset distance threshold, and form all the determined storage nodes into a storage node cluster capable of receiving the overflow storage data of the target edge device; Based on the controlled status information of all storage nodes under the storage node cluster, determine whether the storage node is in a state of being occupied and controlled by other edge devices. If not, select the corresponding storage node as the capacity-increasing storage node of the target edge device; if so, do not select the corresponding storage node as the capacity-increasing storage node of the target edge device.

4. The edge device capacity expansion configuration method based on cloud-edge collaboration according to claim 1, characterized in that: Based on the data storage overflow information, the overflow storage data of the target edge device is transferred to the corresponding capacity-increasing storage node, and the capacity-increasing storage node to which the overflow storage data is transferred is locked, including: Based on the data storage overflow information, the data that needs to be transferred and stored by the target edge device is divided into several data blocks; based on the remaining available storage space size of all the capacity-increasing storage nodes, the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes, and the communication path between the capacity-increasing storage nodes of the transferred data blocks and other edge devices within the cloud network is interrupted and locked.

5. The edge device capacity expansion configuration method based on cloud-edge collaboration according to claim 1, characterized in that: Analyzing the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, thereby transferring the overflow storage data in the corresponding capacity-increased storage node back to the target edge device, including: Analyze the data processing log updated after the target edge device has experienced a preset time length, determine whether the target edge device performs a data deletion operation, and if so, determine whether the target edge device has free storage space; if not, determine that the target edge device does not have free storage space; When there is free storage space in the target edge device, the overflow storage data of a matching size inside the corresponding increased-capacity storage node is transferred back to the target edge device based on the size of the free storage space.

6. The edge device capacity expansion configuration system based on cloud-edge collaboration is characterized by: include: A data storage overflow identification module is used to obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device; A storage node cluster determination module, configured to determine a storage node cluster capable of receiving overflow storage data of the target edge device based on location information of the target edge device within the cloud network corresponding to the cloud platform; A capacity-increasing storage node determining module, configured to select at least one storage node from within the storage node cluster as a capacity-increasing storage node for the target edge device based on the controlled state information of the storage node cluster; An overflow storage data transfer module is used to transfer the overflow storage data of the target edge device to the corresponding capacity-increasing storage node based on the data storage overflow information, and lock the capacity-increasing storage node to which the overflow storage data is transferred; The overflow storage data return module is used to analyze the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increased storage node back to the target edge device; The data processing logs of all edge devices under the cloud platform are obtained, and the data processing logs are analyzed to identify the target edge device where the data storage overflow event is about to occur, including: First, suppose that a certain edge device is determined to be a target edge device that is about to have a data storage overflow event by comparing the average storage space data write rate with the preset write rate threshold. The average data write speed of its i-th independent task is Wi, where i is the independent task number and i is an integer greater than or equal to 1 and less than or equal to n. Then, during the time T in the capacity adjustment process, the size of the data newly written by each independent task is: In the above formula (1), A T is the size of the data newly written by each independent task within the time T during the capacity adjustment process; Secondly, since the speed of writing data for each independent task is not constant, let the coefficient of variation of the i-th independent writing speed be V i , then during the time T of the capacity adjustment process, the change in write data caused by the change in write speed is: In the above formula (2), ΔA T is the change in written data caused by the change in writing speed during the time T of the capacity increase adjustment process; Finally, according to the calculation results of the above formula (1) and formula (2), it is determined whether there is a data storage overflow event on the edge device. In the above formula (3), f is the judgment function of whether the edge device has a data storage overflow event. When f is 1, it indicates that the edge device is about to have a data storage overflow event. When f is 0, it indicates that the edge device does not have a data storage overflow event. A is the current remaining memory of the edge device.

7. The edge device capacity expansion configuration system based on cloud-edge collaboration according to claim 6, characterized in that: The data storage overflow identification module is used to obtain the data processing logs of all edge devices under the cloud platform, analyze the data processing logs, identify the target edge device where the data storage overflow event is about to occur, and determine the data storage overflow information of the target edge device, including: Obtain the data storage change logs of all edge devices under the cloud platform, analyze the data storage change logs, and determine the average storage space data write rate of all edge devices; compare the average storage space data write rate with a preset write rate threshold, and if the average storage space data write rate is greater than the preset write rate threshold, determine that the corresponding edge device is a target edge device that is about to have a data storage overflow event; The target edge device that is about to have a data storage overflow event needs to store written data information after exhausting its own storage space, and this is used as the data storage overflow information of the target edge device.

8. The edge device capacity expansion configuration system based on cloud-edge collaboration according to claim 6, characterized in that: The storage node cluster determination module is used to determine a storage node cluster capable of receiving overflow storage data of the target edge device based on the location information of the target edge device in the cloud network corresponding to the cloud platform, including: Based on the gateway address information of the target edge device in the cloud network corresponding to the cloud platform, determine all storage nodes whose gateway transmission path distance to the target edge device is less than a preset distance threshold, and form all the determined storage nodes into a storage node cluster capable of receiving the overflow storage data of the target edge device; The capacity-increasing storage node determining module is used to select at least one storage node from the storage node cluster as the capacity-increasing storage node of the target edge device based on the controlled state information of the storage node cluster, including: Based on the controlled status information of all storage nodes under the storage node cluster, determine whether the storage node is in a state of being occupied and controlled by other edge devices. If not, select the corresponding storage node as the capacity-increasing storage node of the target edge device; if so, do not select the corresponding storage node as the capacity-increasing storage node of the target edge device.

9. The edge device capacity expansion configuration system based on cloud-edge collaboration according to claim 6, characterized in that: The overflow storage data transfer module is used to transfer the overflow storage data of the target edge device to the corresponding capacity-increasing storage node based on the data storage overflow information, and lock the capacity-increasing storage node to which the overflow storage data is transferred, including: Based on the data storage overflow information, the data that needs to be transferred and stored by the target edge device is divided into several data blocks; based on the remaining available storage space size of all the capacity-increasing storage nodes, the corresponding data blocks are transferred to the corresponding capacity-increasing storage nodes, and the communication path between the capacity-increasing storage nodes of the transferred data blocks and other edge devices within the cloud network is interrupted and locked; The overflow storage data return module is used to analyze the updated data processing log of the target edge device to determine whether there is free storage space in the target edge device, so as to transfer the overflow storage data in the corresponding capacity-increasing storage node back to the target edge device, including: Analyze the data processing log updated after the target edge device has experienced a preset time length, determine whether the target edge device performs a data deletion operation, and if so, determine whether the target edge device has free storage space; if not, determine that the target edge device does not have free storage space; When there is free storage space in the target edge device, the overflow storage data of a matching size inside the corresponding increased-capacity storage node is transferred back to the target edge device based on the size of the free storage space.