Random online cloud-edge-device collaborative data storage method and system

Through the random online cloud-edge collaborative data storage method, combined with sliding windows and probability density functions, the dynamic migration of data between the cloud and the edge is realized, which solves the problems of high cloud storage cost and low deployment efficiency in the existing technology, and improves the cloud Efficiency and quality of storage services.

WO2024222020A1PCT designated stage expired Publication Date: 2024-10-31CHINA TELECOM CLOUD TECH CO LTD

Patent Information

Application Number
PCT/CN2023/142749
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-13
Filing Date
2023-12-28
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

The existing cloud-edge collaborative resource scheduling mechanism cannot meet the task processing needs of current application scenarios, and the introduction of blockchain technology leads to an increase in energy consumption and fails to fully reduce cloud storage costs and improve deployment efficiency.

Method used

Propose a random online cloud-edge collaborative data storage method. It provides an intelligent, flexible and efficient data storage strategy in real time based on the historical storage behavior of data and the processing frequency of both cloud and edge sides. It uses sliding windows and probability density functions to calculate elasticity. At the balance point, design a random online cloud-edge collaborative data storage algorithm to realize dynamic migration of data between the cloud and edge, reduce storage costs and improve deployment efficiency.

Benefits of technology

It achieves a significant reduction in the deployment cost of cloud storage services while ensuring data storage performance, improves the deployment efficiency of cloud storage services, and ensures users' QoS when using cloud storage services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023142749_31102024_PF_FP_ABST
    Figure CN2023142749_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are a random online cloud-edge-device collaborative data storage method and system. The method comprises: first selecting a research object, involving: randomly selecting an availability zone (AZ) as an object within a region, and counting the number n of edge nodes in the AZ; then, setting related parameters; then, setting the size dimensions of a sliding window and compiling statistics on related data, setting the size dimensions of the sliding window to be z, and monitoring a data request situation of a terminal device in real time; then, calculating an elastic-break-even-point βe, constructing a probability density function, and acquiring a random factor k; finally, designing a random online cloud-edge-device collaborative data storage algorithm; and by means of the algorithm, determining whether the current data needs to be migrated. By means of providing an intelligent, flexible and efficient data storage policy, the data storage performance is ensured, the deployment costs of a cloud storage service are also greatly reduced, and the deployment efficiency of the cloud storage service is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

A random online cloud-edge-end collaborative data storage method and system Technical Field

[0001] The present invention belongs to the field of cloud-edge-end collaboration and cloud storage technology, and in particular to a random online cloud-edge-end collaborative data storage method and system. Background Art

[0002] In recent years, cloud computing has maintained a rapid growth momentum alongside the rapid development of the digital economy, becoming a hot topic in the field of IT technology. As a product of the long-term evolution of computing technology and production practices, cloud computing not only effectively reduces service costs but also significantly improves resource utilization. Furthermore, cloud computing offers numerous advantages, including elastic scalability, disaster recovery, and on-demand access.

[0003] As cloud computing continues to deepen its presence and expand across IaaS, PaaS, and SaaS, the surge in data volume has placed unprecedented storage pressure on major cloud service providers. Compared to the high hardware resource costs and maintenance overhead associated with building their own storage servers, more internet companies are opting for lower-cost, more intelligent cloud storage systems. Thanks to its high efficiency, low cost, intelligence, and high reliability, cloud storage is widely adopted in various production environments, such as general-purpose storage, big data analytics, database services, and microservices, playing a key role.

[0004] With the increasing number of smart devices connected to the internet, the traditional cloud computing paradigm faces significant challenges in data storage, workload, and bandwidth resources. This poses numerous challenges for low-latency, high-bandwidth application scenarios such as the Internet of Vehicles and intelligent monitoring. For data stored in the cloud, cloud-edge-end collaboration allows for more efficient storage of data requiring real-time computing and analysis close to the end devices, ensuring real-time data processing. In the "cloud-edge-end" architecture, the "cloud" is the central node responsible for managing and controlling edge computing, the "edge" is the edge of cloud computing, responsible for local data analysis, and the "end" is the end device responsible for data collection, perception, and other operations. This cloud-edge-end collaboration mechanism not only effectively reduces storage costs for cloud users, but also provides them with higher-quality services across time and space.

[0005] For cloud service providers, storing data in the cloud often saves more costs than setting up a large number of storage servers at the edge. If certain data is frequently accessed at the edge over a period of time, it is obviously more appropriate to store this data at the edge. On the one hand, this can ensure the real-time transmission of data as much as possible, and on the other hand, it can effectively reduce the bandwidth overhead of data transmission. On the other hand, if certain data is accessed very infrequently at the edge over a period of time, it is obviously more appropriate to store this data in the cloud. This not only effectively reduces data storage costs but also effectively alleviates the pressure on data storage at the edge.

[0006] Among existing cloud-edge collaboration solutions, patent CN111800486A provides a cloud-edge collaborative resource scheduling method and system. During execution, this invention makes reservation decisions in real time based on the actual bandwidth usage of users in each region, thereby effectively reducing the surge in bandwidth costs caused by a sudden increase in the number of visitors in a short period of time. Starting from the access bandwidth, this invention monitors the access popularity of each resource by customers within the service range of each MEC server in real time to determine whether the access bandwidth of customers of a certain resource in a certain region has reached a set threshold. It then determines whether an MEC server should be rented in that region or whether access should be provided by collaboratively using MEC servers and cloud servers within the reservation period of the rented MEC server. However, this invention does not fully consider the QoS of users using cloud storage services, and its application scenarios have certain limitations. At the same time, the cloud-edge collaborative resource scheduling method proposed in this invention is relatively simple, and there is a lot of room for optimization in algorithm design to save more storage costs.

[0007] Patent CN113157446A provides a cloud-edge collaborative resource allocation method, apparatus, device, and medium. This invention uses blockchain and a cloud-edge collaborative solution to limit and control resources, initiates all subtasks according to coupling rule logic, and ultimately completes the overall task by aggregating the results of all subtask execution. First, the cloud-edge collaborative platform analyzes the tasks requiring resource allocation, determines the task parameters and minimum split subsets of the resources to be allocated, and then determines a cloud-edge collaborative solution based on the task parameters of the resources to be allocated and a task resource collaboration algorithm. Finally, based on the blockchain and the cloud-edge collaborative solution, resources are allocated to the tasks requiring resource allocation. However, this invention introduces blockchain technology, which results in significant energy consumption and, along with the surge in data volume, can lead to varying degrees of performance issues. Furthermore, this invention does not consider reducing the cost of data storage and simply proposes an idealized cloud-edge collaborative resource allocation strategy.

[0008] In recent years, cloud service providers have increasingly focused on optimizing cloud costs, controlling cloud waste, and improving cloud deployment efficiency. Furthermore, with the increasing number of smart devices connected to the network, the edge's demand for data perception is becoming increasingly urgent. Therefore, how to fully reduce cloud storage costs and improve the deployment efficiency of cloud storage services through cloud-edge-end collaboration is of great research significance and value. The current cloud-edge collaborative resource scheduling mechanism is no longer able to meet the task processing requirements of current application scenarios.

[0009] Summary of the Invention

[0010] The purpose of the present invention is to provide a random online cloud-edge-end collaborative data storage method and system to address the shortcomings of the existing technology. It provides an intelligent, flexible and efficient data storage strategy in real time based on the historical storage behavior of the data and the frequency of data processing on the cloud and edge sides. While ensuring data storage performance, it greatly reduces the deployment cost of cloud storage services and improves the deployment efficiency of cloud storage services.

[0011] An embodiment of the present application provides a random online cloud-edge-device collaborative data storage method, the method comprising:

[0012] Step 1: Start selecting the research object. Within a geographical area, randomly select an availability zone as the object and count the number n of edge nodes in the availability zone AZ.

[0013] Step 2: Set relevant parameters, let b center is the amount of data stored in the cloud, is the amount of data stored at the edge, let p center is the unit price of data storage in the cloud, let is the unit price of data storage at the edge, where i∈[1,n], let q be the unit price of data access, let t be the storage duration of the data, and let T be the storage billing cycle. Assume that the data was stored in the cloud in the past storage cycle, and let its storage cost be C center , assuming that the data is stored at the edge in the past storage cycle, let its storage cost be C edge .

[0014] Step 3: Set the sliding window size and count related data. Set the sliding window size z, monitor the data requests of the terminal device in real time, record and count the number of data access requests initiated by cloud users on the terminal within the sliding window range m, and count the number of times these data are processed in the cloud and edge, where the number of times data is processed in the cloud is recorded as h center , the number of times data is processed at the edge is recorded as h edge .

[0015] Step 4: Calculate the elastic equilibrium point β e, construct the probability density function and obtain the random factor k;

[0016] Step 5: Design a random online cloud-edge collaborative data storage algorithm;

[0017] Step 6: Determine whether the current data needs to be migrated through the machine-based online cloud-edge collaborative data storage algorithm.

[0018] Optionally, the random online cloud-edge-device collaborative data storage method further includes:

[0019] If the current data needs to be migrated, the data stored on the edge will be migrated to the cloud, or the data on the cloud will be migrated to the edge. In the current storage period T, the random online cloud-edge collaborative data storage method is completed. In the next storage period T', the method is repeated. If the current data does not need to be migrated, the process is terminated directly.

[0020] Furthermore, the elastic equilibrium point β is calculated e This is to prepare for the random online cloud-edge collaborative data storage algorithm. The elastic balance point β e Based on the relevant parameters set in steps 1-3, it is concluded that the cost of storing data in the cloud in the past storage billing cycle T is C center =b center ·p center ·t+z·h center / T·q, the cost of storing data at the edge is

[0021] Furthermore, the elastic equilibrium point β is calculated e The storage cost of cloud data is C center and the storage cost of edge data C edge Establish the association and set the elastic interval s to [l,r], where l = min(z / T·h center ,m), r=max(z / T·h edge ,m).

[0022] Furthermore, the elastic balance point β e By calculation, we can get:

[0023] Furthermore, in step 4, the probability density function is constructed by combining the calculation formula of data storage cost and the set relevant parameters with the elastic balance point β obtained by calculation. e , where The constructed probability density function is as follows:

[0024] Where e is the natural exponent, δ(·) is the Dirac delta function, and k is a random factor.

[0025] Furthermore, the probability density function of the construction is used to obtain the random factor k by calculating its inverse function, where The mathematical expectation of the function f(y) Calculate the inverse function of f(k) to get the random factor k. The calculation formula of the random factor k is:

[0026] Furthermore, in step 5, the design of a random online cloud-edge collaborative data storage algorithm includes the following steps:

[0027] At the current time t0, count the number of times the data is accessed on the cloud and edge from time t0-z+1 to time t0 respectively. center and h edge , and calculate the storage cost of the data during this period That for

[0028] If the current data is stored on the edge, compare the storage cost of the data at the current time t0 and the size of the random factor k;

[0029] If the current data is stored in the cloud, compare the storage cost of the data at the current time t0 and the size of the random factor k;

[0030] Set up a multi-level queue coordination mechanism, create n-level storage queues, and compare the storage costs of data at the current time t0. The size of the random factor k determines whether the data should be stored in the cloud or on the edge. For data that needs to be physically migrated, it is first stored in queue n based on the principle of locality. i , and then complete the data migration.

[0031] Another embodiment of the present application provides a random online cloud-edge-device collaborative data storage system, the system comprising:

[0032] The data collection module obtains resource request information from the cloud, edge, and terminals, and receives data access record information connected to the server;

[0033] Real-time monitoring module: monitors data access requests on the cloud, edge, and terminals in real time, including parameters such as request time and data size;

[0034] Data storage module, which stores collected data, set parameters and real-time monitoring information;

[0035] Calculation module, which calculates elastic equilibrium points, constructs probability density functions, obtains random factors, calculates inverse functions, calculates mathematical expectations and other key data;

[0036] The algorithm generation module generates a random online cloud-edge collaborative data storage algorithm to determine whether the current data should be stored in the cloud or the edge;

[0037] A collaborative scheduling module that migrates data stored in the cloud to the edge, or vice versa.

[0038] The log module records information such as end-user resource requests and data acquisition, and records the migration of data between the cloud and edge.

[0039] Another embodiment of the present application provides a storage medium for storing computer instructions, which, when executed by a processor, completes a random online cloud-edge-end collaborative data storage method.

[0040] Another embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program, wherein the memory stores the computer program, and the processor is configured to run the computer program to implement any of the methods described above.

[0041] Compared with existing technologies, this invention can make reasonable decisions in real time about whether data should be stored at the edge or in the cloud, minimizing the deployment cost of cloud storage services and improving their deployment efficiency while ensuring QoS for users when using cloud storage services. A randomized online cloud-edge collaborative data storage algorithm is proposed. By combining this algorithm with probability distribution and mathematical expectation, the deployment cost of cloud storage services can be minimized. The random factors generated by this algorithm can make more reasonable decisions in real time about whether data should be stored at the edge or in the cloud. The concept of a "sliding window" is introduced to enable real-time monitoring of data stored in the cloud and edge. Customizable sliding window sizes are supported, allowing adaptive adjustment of the cloud and edge's perception of stored data. By combining a stochastic online cloud-edge collaborative data storage algorithm with a sliding window, the accuracy and flexibility of the algorithm's predictions are effectively improved, enabling it to easily adapt to diverse production environments and enhance the deployment efficiency of cloud storage services. The concept of "elastic-break-even-points" is proposed. Typically, breakpoints are fixed values ​​calculated based on a certain equation, simplifying the research model. However, in latency-sensitive application scenarios, designing a breakpoint with an elastic range can enable more rational decisions about whether to store data at the edge or in the cloud, significantly reducing data storage costs while ensuring data storage performance. A multi-level queue coordination mechanism is introduced. By setting up multiple queues, locality-based priority caching is implemented for data stored in the cloud and edge, resulting in more stable data access and usage, fully guaranteeing the QoS of users using cloud storage services. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] FIG1 is a flow chart of a random online cloud-edge-device collaborative data storage method provided in Embodiment 1 of the present invention;

[0043] FIG2 is a schematic diagram of a random online cloud-edge collaborative data storage algorithm flow provided in Example 1 of the present invention;

[0044] Figure 3 is a structural diagram of the architecture of a random online cloud-edge-end collaborative data storage system provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0045] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limiting the present invention.

[0046] The embodiment of the present invention first provides an editing information error correction method based on a rich text editor. The method can be applied to terminal devices, such as computer terminals, specifically ordinary computers, quantum computers, etc.

[0047] The following describes it in detail by taking running on a computer terminal as an example.

[0048] Example 1:

[0049] FIG1 shows a random online cloud-edge-device collaborative data storage method provided by an embodiment of the present invention, including the following steps:

[0050] Step 1: Select the research object. Within a region, randomly select an availability zone (AZ) as the research object and count the number n of edge nodes in the availability zone (AZ).

[0051] Step 2: Set relevant parameters. Let b center is the amount of data stored in the cloud, is the amount of data stored at the edge, let p center is the unit price of data storage in the cloud, let is the unit price of data storage at the edge, where i∈[1,n], let q be the unit price of data access, let t be the storage duration of the data, and let T be the storage billing cycle. Assume that the data was stored in the cloud in the past storage cycle, and let its storage cost be C center , assuming that the data is stored at the edge in the past storage cycle, let its storage cost be C edge .

[0052] Step 3: Set the sliding window size and count the relevant data. Set the sliding window size z and monitor the data requests of the terminal device in real time. Record and count the number of data access requests m initiated by the cloud user at the terminal within the sliding window range. Count the number of times this data is processed in the cloud and edge. The number of times data is processed in the cloud is recorded as h. center , the number of times data is processed at the edge is recorded as h edge .

[0053] Step 4: Calculate the elastic equilibrium point β by performing mathematical operations such as probability theory and inverse functions e , construct the probability density function, obtain the random factor k, and make preliminary preparations for the subsequent random online cloud-edge collaborative data storage algorithm.

[0054] Elastic equilibrium point β e :

[0055] Based on the relevant parameters set in steps 1-3, it can be concluded that the cost of storing data in the cloud in the past storage billing cycle T is C center =b center ·p center ·t+z·h center / T·q, the cost of storing data at the edge is

[0056] Furthermore, the storage cost of cloud data C center and the storage cost of edge data C edge Establish the association and set the elastic range s to [l,r]. Where l = min(z / T·h center ,m), r=max(z / T·h edge ,m), and then calculate the elastic equilibrium point β e .

[0057] Probability density function:

[0058] Combined with the calculation formula of data storage cost and the relevant parameters set, the elastic balance point β is calculated e ,make Construct the following probability density function.

[0059] Where e is the natural exponent, δ(·) is the Dirac delta function, and k is a random factor.

[0060] Random factor k:

[0061] By constructing the probability density function, we calculate its inverse function and use the inverse function to obtain the random factor k. The mathematical expectation of the function f(y) By calculating the inverse function of f(k), we can get the random factor k. Let F(k) = u, then the calculation formula of the random factor k is:

[0062] Step 5: Random online cloud-edge collaborative data storage algorithm. The execution process is shown in Figure 2 and includes the following steps:

[0063] At the current time t0, count the number of times the data is accessed on the cloud and edge from time t0-z+1 to time t0 respectively. center and h edge , and calculate the storage cost of the data during this period

[0064] If the current data is stored on the edge, compare the storage cost of the data at the current time t0 and the size of the random factor k, if Then storing data in the cloud will save more costs; if Then continuing to store data at the edge will save more costs.

[0065] If the current data is stored in the cloud, compare the storage cost of the data at the current time t0 and the size of the random factor k, if Then storing data at the edge will save more costs; if Then continuing to store data in the cloud will save more costs.

[0066] Set up a multi-level queue coordination mechanism and create n-level storage queues. At the current time t0, by comparing the storage cost of the data The size of the random factor k determines whether the data should be stored in the cloud or on the edge. For data that needs to be physically migrated, it is first stored in queue n based on the principle of locality. i , and then complete the data migration.

[0067] Step 6: The random online cloud-edge-end collaborative data storage method is completed in the current storage period T. The method is repeated in the next storage period T'.

[0068] This embodiment describes in detail an implementation method of a random online tiered storage method for hot and cold data in the cloud. When using the method described in this disclosure, users should not be limited to the method described in this embodiment and can make appropriate adjustments based on their own business and actual conditions.

[0069] Example 2:

[0070] See Figure 3, which is a random online cloud-edge collaborative data storage system provided by an embodiment of the present invention. The system includes seven modules, namely: data acquisition module, real-time monitoring module, data storage module, calculation module, algorithm generation module, collaborative scheduling module and log module.

[0071] Specifically, the data acquisition module can obtain resource request information from the cloud, edge and terminal, and receive data access record information connected to the server; the real-time monitoring module can monitor data access requests from the cloud, edge and terminal in real time, including parameters such as request time and data size; the data storage module is responsible for storing the collected data, set parameters and real-time monitoring information; the calculation module is mainly used to calculate the elastic break-even point, construct probability density function, obtain random factors, calculate inverse functions, calculate mathematical expectations and other key data, to provide support for generating random online cloud-edge collaborative data storage algorithms; the algorithm generation module determines whether the current data should be stored in the cloud or the edge by generating a random online cloud-edge collaborative data storage algorithm; the collaborative scheduling module is responsible for migrating data stored in the cloud to the edge, or migrating data stored at the edge to the cloud; the log module is used to record information such as terminal user resource requests and data acquisition, and record the migration of data on both the cloud and edge sides.

[0072] Example 3:

[0073] This embodiment also provides an electronic device, comprising: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device executes the method described in the above embodiment one.

[0074] It should be noted that, in this embodiment, the processor may be a central processing unit CPU, or may be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, readily available programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0075] More specifically, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store device type information.

[0076] During implementation, each step of the method of Example 1 can be completed by hardware integrated logic circuits in a processor or by software instructions.

[0077] In further embodiments, there is also provided:

[0078] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in embodiment 1 is performed.

[0079] Those skilled in the art will appreciate that the units and algorithm steps of the various examples described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0080] The embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present invention.

Claims

1. A random online cloud-edge-end collaborative data storage method, characterized in that: The method comprises: Step 1: Start selecting the research object. Randomly select an availability zone as the object within a geographical area and count the number n of edge nodes in the availability zone AZ. Step 2: Set relevant parameters, let b center is the amount of data stored in the cloud, is the amount of data stored at the edge, let p center is the unit price of data storage in the cloud, let is the unit price of data storage at the edge, where i∈[1,n], let q be the unit price of data access, let t be the storage duration of the data, and let T be the storage billing cycle. Assume that the data was stored in the cloud in the past storage cycle, and let its storage cost be C center , assuming that the data is stored at the edge in the past storage cycle, let its storage cost be C edge . Step 3: Set the sliding window size and count related data. Set the sliding window size z, monitor the data request of the terminal device in real time, record and count the number of data access requests initiated by cloud users at the terminal within the sliding window range m, and count the number of times these data are processed in the cloud and edge, where the number of times data is processed in the cloud is recorded as h center , the number of times data is processed at the edge is recorded as h edge . Step 4: Calculate the elastic equilibrium point β e , construct a probability density function and obtain the random factor k; Step 5: Design a random online cloud-edge collaborative data storage algorithm; Step 6: Determine whether the current data needs to be migrated through the machine-based online cloud-edge collaborative data storage algorithm.

2. According to the random online cloud-edge-end collaborative data storage method of claim 1, it is characterized in that: The method further comprises: If the current data needs to be migrated, the data stored in the edge will be migrated to the cloud, or the data in the cloud will be migrated to the edge. In the current storage period T, the random online cloud-edge collaborative data storage method is executed, and in the next storage period T', the method is repeated. If the current data does not need to be migrated, the process is terminated directly.

3. According to the random online cloud-edge-end collaborative data storage method of claim 1, it is characterized in that: The calculation elastic equilibrium point β e This is to prepare for the random online cloud-edge collaborative data storage algorithm. The elastic balance point β e Based on the relevant parameters set in steps 1-3, it is concluded that the cost of storing data in the cloud in the past storage billing cycle T is C center =b center ·p center ·t+z·h center / T·q, the cost of storing data at the edge is 4. According to claim 3, a random online cloud-edge-end collaborative data storage method is characterized in that: The calculation elastic equilibrium point β e The storage cost of cloud data is C center and the storage cost of edge data C edge Establish association and set the elasticity interval s to [l,r], where l = min(z / T·h center ,m), r=max(z / T·h edge ,m).

5. According to claim 4, a random online cloud-edge-end collaborative data storage method is characterized in that: The elastic equilibrium point β e By calculation:

6. According to claim 1, a random online cloud-edge-end collaborative data storage method is characterized in that: In step 4, the probability density function is constructed by combining the calculation formula of the data storage cost and the set related parameters with the elastic balance point β calculated. e , where The constructed probability density function is as follows: Where e is the natural exponent, δ(·) is the Dirac delta function, and k is a random factor.

7. According to claim 1, a random online cloud-edge-end collaborative data storage method is characterized in that: The constructed probability density function obtains the random factor k by calculating its inverse function, where Mathematical expectation of function f(y) Calculate the inverse function of f(k) to get the random factor k. The calculation formula of the random factor k is:

8. According to claim 1, a random online cloud-edge-end collaborative data storage method is characterized in that: In step 5, the design of a random online cloud-edge collaborative data storage algorithm includes the following steps: At the current time t0, count the number of times the data is accessed on the cloud and the edge from time t0-z+1 to time t0 respectively. center and h edge , and calculate the storage cost of the data during this period That for If the current data is stored on the edge, compare the storage cost of the data at the current time t0 and the size of the random factor k; If the current data is stored in the cloud, compare the storage cost of the data at the current time t0 and the size of the random factor k; Set up a multi-level queue coordination mechanism, create n-level storage queues, and compare the storage costs of data at the current time t0. The size of the random factor k determines whether the data should be stored in the cloud or on the edge. For data that needs to be physically migrated, it is first stored in queue n based on the principle of locality. i , and then complete the data migration.

9. A random online cloud-edge-end collaborative data storage system, characterized in that: The system consists of seven modules: The data collection module obtains resource request information from the cloud, edge, and terminals, and receives data access record information connected to the server; Real-time monitoring module, which monitors data access requests of the cloud, edge and terminal in real time, including parameters such as request time and data volume; Data storage module, which stores collected data, set parameters and real-time monitoring information; Calculation module, calculates elastic equilibrium point, constructs probability density function, obtains random factors, calculates inverse function, calculates mathematical expectation and other key data; The algorithm generation module generates a random online cloud-edge collaborative data storage algorithm to determine whether the current data should be stored in the cloud or the edge. The collaborative scheduling module migrates data stored in the cloud to the edge, or migrates data stored in the edge to the cloud; The log module records information such as terminal user resource requests and data acquisition, and records the migration of data between the cloud and edge.

10. A terminal device, comprising: At least one processor, at least one memory, and at least one computer program, characterized in that the processor is connected to the memory, the memory stores a computer program, and the processor is configured to execute the computer program to implement the method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Cloud-side cooperative resource scheduling method and system

    CN111800486A

  • Data sharing method and system in cloud-edge collaborative environment, medium and terminal

    CN112926262A

  • Cloud edge cooperative control system based on calculation migration and migration decision generation method

    CN113326002A

  • Cloud edge-end cooperative computing method based on adaptive deep neural network

    CN114564312A

  • Method and apparatus for scheduling computing resources, computer device, and storage medium

    WO2022095022A1

Cited By

  • Cloud-edge fused secure storage system

    CN119903552A

  • Intelligent terminal data processing method and system based on edge computing

    CN120335967A

  • Cloud edge collaborative management method and system based on edge computing

    CN120614354A

  • Multi-station resource scheduling decomposition method and device based on cloud edge collaboration

    CN120750925A

  • Data hierarchical storage migration service system based on cloud resources

    CN120909531A