Cloud desktop data storage method and system and computer readable storage medium
By authenticating and distributed backup of cloud terminals in the cloud desktop data storage system, the loss of cloud desktop data in unexpected events is solved, decentralized storage and rapid recovery of data are achieved, and the reliability and efficiency of the system are improved.
Patent Information
- Application Number
- CN202311377472.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-04-25
AI Technical Summary
Cloud desktop data storage systems can easily lead to data loss in unexpected events (such as hard disk corruption or data deletion).
The cloud terminal is authenticated through the server, and the data to be backed up is allocated in the cloud terminal where the authentication is passed. A distributed backup method is adopted to ensure that the data is backed up in multiple cloud terminals, and to achieve rapid recovery through missing data detection and data restoration when an unexpected event occurs.
It realizes decentralized storage of cloud desktop data, improves data reliability and rapid availability, reduces the number of backup servers, and saves costs.
Smart Images

Figure CN119892853A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of cloud desktops, and in particular to a storage method, system and computer-readable storage medium for cloud desktop data. Background Art
[0002] Unlike the virtual desktop infrastructure VDI, where all desktop computing resources are highly concentrated in the data center and the interface is sent to the terminal device, IDV cloud desktop (Intelligent Desktop Virtualization) takes a more distributed approach to meet operational technology needs while centrally simplifying management and deployment functions.
[0003] However, IDV Cloud Desktop will cause data loss in the event of unexpected events, such as unexpected power outages, hard drive damage or data deletion. Summary of the invention
[0004] The embodiments of the present disclosure provide a cloud desktop data storage method, system and computer-readable storage medium, which can solve the problem of data loss caused by unexpected events such as hard disk damage or data deletion in the cloud desktop data storage system. The technical solution is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a method for storing cloud desktop data is provided, which is applied to a storage system for cloud desktop data, wherein the storage system for cloud desktop data comprises: a server and a plurality of cloud terminals; the server is respectively connected to the plurality of cloud terminals; the method comprises:
[0006] The server authenticates the multiple cloud terminals to obtain cloud terminals that have passed the authentication;
[0007] The server distributes the data to be backed up among the cloud terminals that have passed the authentication to obtain a first data distribution plan;
[0008] The server sends a first backup notification to each of the authenticated cloud terminals according to the first data allocation scheme, wherein the first backup notification includes target backup data, and the target backup data is the data to be backed up indicated by the first data allocation scheme, so that the authenticated cloud terminal stores the target backup data.
[0009] In one embodiment, the server distributes the data to be backed up among the authenticated cloud terminals to obtain a first data distribution plan, including:
[0010] The server divides the data to be backed up into multiple data fragments based on at least one of the availability, load, network delay, type of data to be backed up and size of the cloud terminal that has passed the authentication, and distributes the multiple data fragments among the cloud terminal that has passed the authentication to obtain a first data distribution plan, where each data fragment contains one or more data blocks.
[0011] In one embodiment, the method further comprises:
[0012] The server receives missing data sent by the target cloud terminal, where the missing data is data that the target cloud terminal detects is not stored by the server and that is stored by the target cloud terminal;
[0013] The server performs data restoration based on the missing data to obtain updated data.
[0014] In one embodiment, the first backup notification further includes a block record, and the block record is used to indicate the location information of the data to be backed up; the server performs data restoration according to the missing data to obtain updated data, including:
[0015] The server obtains the stored block records from all authenticated cloud terminals;
[0016] The server determines whether the missing data is part of the data to be backed up according to the block records stored in all authenticated cloud terminals;
[0017] If the missing data is part of the data to be backed up, the server performs data restoration based on the missing data to obtain updated data.
[0018] In one embodiment, after the server performs data restoration according to the missing data to obtain updated data, the server further includes:
[0019] The server distributes the updated data in the cloud terminal that has passed the authentication to obtain a second data distribution plan;
[0020] The server obtains an updated block record according to the second data allocation scheme, where the updated block record is used to indicate location information of the updated data storage;
[0021] The server sends a second backup notification to each of the authenticated cloud terminals according to the second data allocation scheme, wherein the second backup notification includes the updated data and the updated block record.
[0022] In one embodiment, the method further comprises:
[0023] The server receives a legal deletion request, where the legal deletion request is used to instruct deletion of target data, where the target data is part or all of the data to be backed up;
[0024] The server deletes the target data and generates a deletion record;
[0025] The server sends the deletion record to the authenticated cloud terminal, so that the authenticated cloud terminal deletes the target data if the target data has been stored.
[0026] According to a second aspect of an embodiment of the present disclosure, a method for storing cloud desktop data is provided, which is applied to a storage system for cloud desktop data, wherein the storage system for cloud desktop data comprises: a server and a plurality of cloud terminals; the server is respectively connected to the plurality of cloud terminals; the method comprises:
[0027] The cloud terminal sends an authentication request to the server, wherein the authentication request is used to instruct the server to authenticate the cloud terminal;
[0028] The cloud terminal receives a first backup notification sent by the server, wherein the first backup notification includes target backup data, the target backup data is the data to be backed up indicated by the first data allocation scheme, the first backup notification is generated by the server according to the first data allocation scheme, and the first data allocation scheme is obtained by the server allocating the data to be backed up in the authenticated cloud terminal;
[0029] The cloud terminal stores the target backup data.
[0030] According to a third aspect of an embodiment of the present disclosure, there is provided a cloud desktop data storage system, comprising: a server and a plurality of cloud terminals; the server is respectively connected to the plurality of cloud terminals;
[0031] The server is used to authenticate the multiple cloud terminals to obtain cloud terminals that have passed the authentication; distribute the data to be backed up among the cloud terminals that have passed the authentication to obtain a first data distribution plan; according to the first data distribution plan, send a first backup notification to each of the cloud terminals that have passed the authentication, wherein the first backup notification includes target backup data, and the target backup data is the data to be backed up indicated by the first data distribution plan;
[0032] The cloud terminal is used to store the data to be backed up.
[0033] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, in which at least one computer instruction is stored. The instruction is loaded and executed by a processor to implement the steps performed by the server in the cloud desktop data storage method described in the first aspect and any embodiment of the first aspect.
[0034] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, in which at least one computer instruction is stored. The instruction is loaded and executed by a processor to implement the steps performed by the cloud terminal in the cloud desktop data storage method described in any embodiment of the first aspect and the second aspect.
[0035] The storage method, system and computer-readable storage medium of cloud desktop data provided by the embodiments of the present disclosure are as follows: the server authenticates the cloud terminal in the access system, the server distributes the data to be backed up in the cloud terminal that has passed the authentication, and obtains the first data distribution plan; the server sends the first backup notification containing the target backup data indicated by the first data distribution plan to the cloud terminal that has passed the authentication according to the first data distribution plan, and the cloud terminal stores the target backup data. As a result, the data in the storage system of the cloud desktop data is backed up in the cloud terminal in a distributed manner, saving the storage resources of the storage system of the cloud desktop data; data backup and recovery do not rely on a single central storage, but are distributed in multiple places, realizing the decentralization of data storage and improving the reliability of data. In the event of an unexpected event, such as hard disk damage or data deletion, the data can be quickly restored through the data backed up in the cloud terminal to ensure the rapid availability of data. The operation is simple, the data is secure, and the efficiency is high, which can reduce the number of backup servers and save costs.
[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0038] Figure 1 An interactive schematic diagram of a cloud desktop data storage method provided by an embodiment of the present disclosure;
[0039] Figure 2 An architectural diagram of a cloud desktop data storage system provided in an embodiment of the present disclosure;
[0040] Figure 3 A flowchart of a method for storing cloud desktop data provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0042] A storage method for cloud desktop data provided by an embodiment of the present disclosure can be applied to a storage system for cloud desktop data, and the storage system for cloud desktop data can include but is not limited to: a server and multiple cloud terminals. The server is connected to multiple cloud terminals respectively. Among them, one or more virtual machines can be run in the server. The cloud terminal is connected to the virtual machine in the server to transmit data with the virtual machine. The virtual machine can run in the server, and the user can access the virtual machine allocated to it on the server through the cloud terminal to obtain the desktop image.
[0043] The server may be one server or a server cluster consisting of two or more servers, which is not limited in the present disclosure. The server in the present disclosure may also be referred to as a cloud desktop server or an intelligent cloud desktop server.
[0044] The storage method, system and computer-readable storage medium for cloud desktop data provided by the embodiments of the present disclosure are that the server authenticates the cloud terminal in the storage system of the cloud desktop data, obtains the cloud terminal that has passed the authentication, and ensures the security of data storage. The server distributes the data to be backed up in the cloud terminals that have passed the authentication, obtains the first data distribution plan, and sends the first backup notification containing the data to be backed up to the cloud terminals that have passed the authentication according to the first data distribution plan. As a result, the data in the storage system of the cloud desktop data is backed up in the cloud terminals in a distributed manner, saving the storage resources of the storage system of the cloud desktop data. Data backup and recovery do not rely on a single central storage, but are dispersed in multiple places, realizing the decentralization of data storage and improving the reliability of data. In the event of an unexpected event, such as hard disk damage or data deletion, rapid data recovery can be performed through the data backed up in the cloud terminal to ensure the rapid availability of data.
[0045] The technical solution provided by the present disclosure is described in detail below with reference to specific embodiments.
[0046] See also Figure 1 , Figure 1An interactive schematic diagram of a cloud desktop data storage method provided in an embodiment of the present disclosure. The cloud desktop data storage method provided in this embodiment is applied to a cloud desktop data storage system, and the cloud desktop data storage system includes: a server and multiple cloud terminals; the server is connected to the multiple cloud terminals respectively. The cloud desktop data storage system in this embodiment may be the cloud desktop data storage system in the above-mentioned embodiment. The method provided in this embodiment may include the following steps 101-104.
[0047] Step 101: The server authenticates multiple cloud terminals and obtains cloud terminals that have passed the authentication.
[0048] The authentication process in step 101 may be an authentication and authorization process performed by the server on the cloud terminal when the cloud terminal establishes a connection with the server. The cloud terminal that passes the authentication may establish a communication connection with the server to communicate. For example, the cloud terminal may be authenticated by the user name and password of the cloud terminal, or by biometrics.
[0049] Step 102: The server distributes the data to be backed up among the cloud terminals that have passed the authentication to obtain a first data distribution plan.
[0050] The data to be backed up refers to data stored in the storage system of the cloud desktop data, and the data to be backed up is stored in a storage unit in the storage system of the cloud desktop data.
[0051] The first data allocation scheme refers to a method of dividing the data to be backed up into multiple data segments, thereby allocating different data segments to different cloud terminals.
[0052] Step 103: The server sends a first backup notification to each of the cloud terminals that have passed authentication according to the first data allocation plan.
[0053] The first backup notification includes target backup data, and the target backup data is the data to be backed up indicated by the first data allocation scheme. It can be understood that the data to be backed up included in the first backup notification refers to the data to be backed up that needs to be sent to the cloud terminal that has passed the authentication according to the first data allocation scheme. All the target backup data included in the first backup notifications together constitute the complete data to be backed up.
[0054] Step 104: The cloud terminal that has passed the authentication stores the target backup data.
[0055] The target backup data stored in each authenticated cloud terminal in step 104 refers to the target backup data in the first backup notification received by the authenticated cloud terminal, and the target backup data is a part of the data to be backed up.
[0056] In this embodiment, the server authenticates the cloud terminal in the access system, and distributes the data to be backed up in the cloud terminal that has passed the authentication to obtain a first data distribution plan. The server sends a first backup notification containing the target backup data indicated by the first data distribution plan to the cloud terminal that has passed the authentication according to the first data distribution plan, and the cloud terminal stores the target backup data. As a result, the data in the storage system of the cloud desktop data is backed up in the cloud terminal in a distributed manner, saving the storage resources of the storage system of the cloud desktop data. Data backup and recovery do not rely on a single central storage, but are scattered in multiple places, realizing the decentralization of data storage and improving data reliability. In the event of an unexpected event, such as hard disk damage or data deletion, rapid data recovery can be performed through the data backed up in the cloud terminal to ensure rapid data availability. The operation is simple, the data is secure, and the efficiency is high, which can reduce backup servers and save costs.
[0057] In some embodiments, step 102 may be implemented by step 1021 as follows.
[0058] Step 1021: Based on at least one of the availability, load, network delay, type of data to be backed up, and size of data to be backed up of the authenticated cloud terminal, the server divides the data to be backed up into multiple data fragments, and distributes the multiple data fragments among the authenticated cloud terminals to obtain a first data distribution plan.
[0059] Each data segment includes one or more data blocks.
[0060] In this embodiment, the data to be backed up can be divided into multiple data segments according to various indicators of the current cloud terminal, network and other systems, and the data segments can be allocated to different cloud terminals. In this way, each cloud terminal does not store the complete data to be backed up, and the data to be backed up is distributed and stored in the cloud terminals, which improves the reliability of the data and ensures the security of the data.
[0061] In some scenarios, the cloud terminal detects in real time or periodically whether the server has missing data. If the server has missing data, the cloud terminal sends the missing data stored in itself to the server for storage, and automatically restores the data in the server. Specific embodiments are described in detail below.
[0062] On the basis of any of the above embodiments, further, the method provided in this embodiment also includes the following steps 105 and 106.
[0063] Step 105: After detecting the missing data, the cloud terminal sends the missing data to the server.
[0064] The missing data refers to data that is not stored in the server but is stored in the cloud terminal.
[0065] Step 106: The server restores the data based on the missing data to obtain updated data.
[0066] In this embodiment, the cloud terminal can determine whether there is missing data on the current server by comparing the status of the local data block with the server's record. If the local data block does not match the server record, it is determined that there is missing data on the server. The cloud terminal triggers the data recovery mode, that is, sends the missing data to the server. It can be understood that the server may receive missing data sent by one or more cloud terminals, where these missing data may be repeated. After the server receives the missing data, it can use these data to restore the data, that is, to rebuild the missing data. Thereby, the server combines the data blocks in the original order, restores the original data or files, and obtains updated data. So that the subsequent system can operate normally according to the updated data.
[0067] Optionally, in data recovery mode, the cloud terminal can encrypt the missing data and send it to the server, thus ensuring data security.
[0068] In this embodiment, data backup and recovery do not rely on a single central storage, but are distributed in multiple cloud terminals, which improves data reliability. 3. Users can use the cloud desktop server without being affected, without having to worry about data loss or inconsistency. This means that data backup and recovery are performed in the background without manual intervention by users. In the event of an unexpected event, such as hard drive damage or data deletion, this device can automatically trigger the data recovery process to ensure the rapid availability of data.
[0069] In some embodiments, the first backup notification also includes a block record, and the block record is used to indicate the location information of the data to be backed up. In the method provided in this embodiment, step 106 can be implemented by the following step 1061.
[0070] Step 1061: The server obtains stored block records from all authenticated cloud terminals.
[0071] Step 1062: The server determines whether the missing data is part of the data to be backed up based on the block records stored in all authenticated cloud terminals.
[0072] If yes, continue to execute step 1063; if no, continue to execute step 1064.
[0073] Step 1063: The server restores the data based on the missing data to obtain updated data.
[0074] Step 1064: discard missing data.
[0075] In this embodiment, while backing up data to the cloud terminal that has passed the authentication, the block record is sent to the cloud terminal that has passed the authentication. Each cloud terminal that has passed the authentication stores the block record to ensure that the block record will not be tampered with. After the server receives the missing data, the block record stored in the cloud terminal that has passed the authentication is obtained. By comparing these block records, the storage situation of the actual data can be determined. In addition, by determining whether the missing data is recorded in the block record, the legitimacy of the missing data is determined. If the missing data is in the block record, that is, the missing data is part of the data to be backed up, data restoration is performed based on the missing data to obtain updated data. If the missing data is not in the block record, that is, the missing data is not part of the data to be backed up, the missing data is discarded.
[0076] In this embodiment, the missing data is verified through block records, thereby ensuring the legitimacy and security of the recovered data.
[0077] In some embodiments, after step 106 , the following steps 107 to 109 are also included.
[0078] Step 107: The server distributes the updated data among the cloud terminals that have passed the authentication to obtain a second data distribution plan.
[0079] Step 108: The server obtains updated block records according to the second data allocation scheme.
[0080] The updated block record is used to indicate the location information of the updated data storage.
[0081] Step 109: The server sends a second backup notification to each of the cloud terminals that have passed authentication according to the second data allocation plan.
[0082] The second backup notification includes updated data and updated block records.
[0083] In this embodiment, after the server restores the data according to the missing data, it can redistribute the updated data in the cloud terminal and update the data backup method.
[0084] In some scenarios, if the target data needs to be legally deleted, the server deletes the target data and generates a deletion record so that the cloud terminal storing the target data also deletes the local target data.
[0085] On the basis of any of the above embodiments, further, the method provided in this embodiment also includes the following steps.
[0086] Step 110: The server receives a legal deletion request.
[0087] The legal deletion request is used to instruct the deletion of target data. The target data is part or all of the data to be backed up. The legal deletion request can be a deletion operation performed by an authorized user.
[0088] Step 111: The server deletes the target data and generates a deletion record;
[0089] Step 112: The server sends a deletion record to the cloud terminal that has passed the authentication.
[0090] Step 113: The cloud terminal that has passed the authentication deletes the target data if it has stored the target data.
[0091] In this embodiment, when the server receives a legitimate deletion request indicating the deletion of target data, the server deletes the target data, generates a deletion record, and sends the deletion record to all authenticated cloud terminals. After receiving the deletion record, the cloud terminal checks whether the target data is stored locally. If the target data is stored locally, the local target data is deleted.
[0092] Furthermore, after receiving the deletion record, all cloud terminals can update the block record according to the deletion record.
[0093] In this embodiment, when data is legally deleted, the corresponding backup data stored in the cloud terminal is deleted synchronously to ensure data consistency.
[0094] The embodiment of the present disclosure provides a cloud desktop data storage system, which includes: a server and a plurality of cloud terminals. The server is respectively connected to the plurality of cloud terminals.
[0095] The server is used to authenticate multiple cloud terminals to obtain cloud terminals that have passed the authentication; distribute the data to be backed up among the cloud terminals that have passed the authentication to obtain a first data distribution plan; and send a first backup notification to each of the cloud terminals that have passed the authentication according to the first data distribution plan, wherein the first backup notification includes target backup data, and the target backup data is the data to be backed up indicated by the first data distribution plan.
[0096] The cloud terminal is used to store the data to be backed up.
[0097] The implementation principle and beneficial effects of the system provided in the embodiment of the present disclosure are similar to those of the method embodiment provided above, and will not be repeated here.
[0098] Combine the following Figure 2 A storage system for cloud desktop data is introduced by way of example.
[0099] See also Figure 2 , Figure 2An architectural diagram of a storage system for cloud desktop data provided in an embodiment of the present disclosure. In this embodiment, the storage system for cloud desktop data may be referred to as an intelligent switching system for IDV cloud desktops. The storage system for cloud desktop data provided in this embodiment includes an IDV cloud terminal and a cloud desktop server capable of network communication, and multiple cloud desktops are running on the IDV cloud terminal. Among them, the IDV cloud terminal corresponds to the cloud terminal in the above embodiment, and the cloud desktop server corresponds to the server in the above embodiment.
[0100] IDV cloud terminal includes cloud desktop management module, cloud desktop operation module and biometric device management module; cloud desktop management module is connected with cloud desktop server to complete the deployment of cloud desktop to IDV cloud terminal and remote control of locally deployed cloud desktop; cloud desktop operation system is used to complete the startup and operation of cloud desktop and the real-time control instructions of administrator to cloud desktop according to the instructions of cloud desktop server, so as to provide cloud desktop service for users;
[0101] Container technology refers to a kernel-lightweight switching system-layer virtualization technology.
[0102] The cloud desktop refers to a virtual computer based on container technology running on the IDV cloud terminal, which provides individual users with the same office, learning, entertainment and other functions as traditional personal computers.
[0103] The cloud desktop server may include a cloud terminal management module, a cloud desktop management module, a cloud user management module and a cloud image management module.
[0104] The cloud terminal management module is used to manage cloud terminal devices, including monitoring their status, performing backup and recovery operations, and communicating with cloud desktop servers. For example, the cloud terminal management module is used to complete the initialization deployment, access authentication control, and remote control of cloud terminals.
[0105] The cloud user management module is used to create users who use the system and provide user authentication services. For example, the cloud user management module can manage user access rights and data access to ensure that only authorized users can access specific data and functions.
[0106] The cloud desktop management module is used to provide cloud desktop creation, deployment, and access control, so that legally accessed users can use their own cloud desktops.
[0107] Among them, the cloud image management module is used to convert the dynamic difference of the virtualized (docker) image to provide services for cloud terminals to download cloud desktops. For example, the cloud desktop management module can manage the virtual desktop environment on the cloud desktop server, including monitoring the desktop status, backing up virtual desktop data, and restoring data when necessary.
[0108] The cloud terminal may include: a cloud desktop management module and a cloud desktop operation module. The cloud desktop management module is connected to the cloud desktop server and is used to complete the deployment of the cloud desktop to the local cloud terminal and remote control of the locally deployed cloud desktop; the cloud desktop operation module is used to complete the startup and operation of the cloud desktop and the execution of the administrator's real-time control instructions on the cloud desktop according to the instructions of the cloud desktop server, so as to provide cloud desktop services for users.
[0109] Combine the following Figure 2 The system shown exemplarily illustrates a method for storing cloud desktop data.
[0110] Please refer to Figure 3 , Figure 3 A flowchart of a method for storing cloud desktop data provided by an embodiment of the present disclosure. The method provided in this example includes the following steps:
[0111] Step 301: Create a user in the cloud desktop management module and create a cloud image for the user.
[0112] In this step, the administrator can create users and create cloud images for them through the cloud desktop management module. The cloud image contains the operating system and required software for subsequent use in creating cloud desktops.
[0113] Step 302: The cloud image is similar to the user operating system. The required operating system and applicable software are installed, and the complete cloud image is created.
[0114] A cloud image is a preconfigured virtual machine image that contains a complete operating system and software for subsequent creation of cloud desktops.
[0115] Step 303: Create a required cloud desktop for the user based on the cloud image.
[0116] Use cloud images to create personalized cloud desktops for each user. These cloud desktops are virtual machine instances that run on cloud desktop servers.
[0117] Step 304: Through the cloud terminal management module, the download mechanism caches the cloud desktop to the cloud terminal.
[0118] The user's cloud desktop can be cached on the cloud terminal device for quick access when needed.
[0119] Step 305: After the cache is completed, the user's smart cloud desktop can be automatically opened and entered.
[0120] Once the cloud desktop is cached, users can automatically launch and access their cloud desktop.
[0121] Step 306: The cloud terminal management module starts authentication, authorization and data communication with the intelligent cloud desktop.
[0122] Among them, the encrypted RabbitMQ communication protocol can be used to ensure the confidentiality and integrity of the data.
[0123] Before establishing a communication connection, the cloud terminal management module needs to be authenticated and authorized. Only legitimate cloud terminal devices can communicate with the intelligent cloud desktop server. Usually, this includes using a username and password or biometrics to verify the identity of the cloud terminal device.
[0124] Once a secure communication connection is established, the cloud terminal management module can start transmitting data with the intelligent cloud desktop server.
[0125] The cloud terminal management module usually needs to monitor the communication with the intelligent cloud desktop server in real time to ensure the stability and performance of the connection. It can also collect feedback information such as latency, bandwidth usage, and connection quality to optimize the communication experience.
[0126] Step 307: When the authenticated cloud terminal legally accesses the intelligent cloud desktop server, the intelligent cloud desktop server data begins to be encrypted and stored in each terminal. To ensure data security and leakage risks, the data fragments stored in each terminal are dynamically allocated.
[0127] Each cloud terminal is dynamically allocated multiple blocks to ensure that each data block is backed up with each other, and the damage or data loss of some cloud terminals will not lead to the loss of data on the entire server.
[0128] The data is divided into small blocks or data fragments, and these data fragments are dynamically distributed to different cloud terminal devices. A cloud terminal device can only access a part of the data fragment, not the entire data.
[0129] The server uses a device selection algorithm to decide which cloud terminal device to assign the data block to. The decision is made based on factors such as device availability, load, and network latency to ensure that the data is spread across multiple devices and dynamically adjusted based on the type and size of the data.
[0130] Each device stores a copy of one or more data blocks. Each data block is assigned a unique identifier, and the server is able to track the allocation and location of the data block.
[0131] Once the device is selected, the server encrypts the data block and sends it to the selected device.
[0132] When distributing data segments, the server needs to set up access control policies to ensure that only authorized cloud terminal devices can access the data segments it distributes.
[0133] Step 308: When the user is legally authorized to delete the server data, this record is distributed to each cloud terminal storing data. The cloud terminals authenticate with their own algorithms and delete the data stored in their own intelligent cloud servers that do not exist, thus ensuring the correctness of the data.
[0134] When a user legally authorizes the deletion of data on the server, the server can record the deletion request and authorization. This record includes the deleted data block identifier and related metadata.
[0135] The deletion records are distributed to each cloud terminal device that stores data and can be transmitted through a secure communication channel. Each terminal has a record to ensure that the record is not tampered with and is unique. After receiving the deletion record, each cloud terminal device performs authentication to confirm its legitimacy. Once the cloud terminal devices successfully authenticate and confirm the legitimacy of the deletion request, they can perform data cleanup operations. This includes deleting the relevant data blocks in their local storage to ensure that the deleted data is no longer stored.
[0136] Step 309: When the data of the intelligent cloud desktop server is illegally deleted or the data is damaged due to abnormal power failure, each cloud terminal connects to the intelligent cloud desktop server and finds that there is no data on the intelligent cloud desktop server. The intelligent algorithm detects that there is no deletion record for each of them. At this time, the data recovery mode is enabled, and each cloud terminal encrypts the data recorded by itself and transmits it to the server.
[0137] Each cloud terminal device needs to detect data loss or damage by comparing the status of the local data block with the server's record. If the local data block does not match the server record, the device will trigger data recovery mode.
[0138] Once data loss or damage is detected, the cloud terminal device can start the data recovery mode. In the data recovery mode, each cloud terminal device needs to encrypt its locally recorded data blocks and transmit them back to the intelligent cloud desktop server.
[0139] The intelligent cloud desktop server receives data blocks from each cloud terminal device, and the intelligent algorithm can use these data blocks to reconstruct the missing data. The intelligent cloud desktop server determines which data blocks are lost or damaged when the intelligent cloud desktop server data is illegally deleted or abnormal power failure causes data corruption by comparing with the block records of each cloud terminal, and combines the data blocks in their original order to restore the original file or data.
[0140] Step 310: The intelligent cloud desktop server re-merges and reorganizes the data to achieve correct operation and restore all missing data.
[0141] After data recovery is completed and verification is passed, the server can redistribute the data blocks to various cloud terminal devices to ensure multiple backups of the data.
[0142] The intelligent cloud desktop server updates its records to reflect the current state of the data, including the new backup information.
[0143] This embodiment can realize the non-perception guarantee that the cloud desktop server data is always consistent, and the data can be automatically restored in the first time even if the power is cut off and the hard disk is damaged due to accidental deletion. A decentralized data disaster recovery and recovery device is realized in the intelligent cloud desktop server, ensuring the security of the intelligent cloud desktop server data. It has the advantages of simple operation, data security, high efficiency, etc., which can reduce backup servers and greatly save costs.
[0144] The disclosed embodiment also provides a computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc. The storage medium stores computer instructions for executing the steps executed by the server in the cloud desktop data storage method described in the above embodiment, which will not be described in detail here.
[0145] The disclosed embodiment also provides another computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc. The storage medium stores computer instructions for executing the steps executed by the cloud terminal in the cloud desktop data storage method described in the above embodiment, which will not be described in detail here.
[0146] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0147] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
Claims
1. A method for storing cloud desktop data, characterized in that: A storage system for cloud desktop data, the storage system for cloud desktop data comprising: a server and a plurality of cloud terminals; the server is respectively connected to the plurality of cloud terminals; the method comprises: The server authenticates the multiple cloud terminals to obtain cloud terminals that have passed the authentication; The server distributes the data to be backed up among the cloud terminals that have passed the authentication to obtain a first data distribution plan; The server sends a first backup notification to each of the authenticated cloud terminals according to the first data allocation scheme, wherein the first backup notification includes target backup data, and the target backup data is the data to be backed up indicated by the first data allocation scheme, so that the authenticated cloud terminal stores the target backup data.
2. The method according to claim 1, characterized in that The server distributes the data to be backed up in the cloud terminal that has passed the authentication to obtain a first data distribution plan, including: The server divides the data to be backed up into multiple data fragments based on at least one of the availability, load, network delay, type of data to be backed up and size of the cloud terminal that has passed the authentication, and distributes the multiple data fragments among the cloud terminal that has passed the authentication to obtain a first data distribution plan, where each data fragment contains one or more data blocks.
3. The method according to claim 1, characterized in that The method further comprises: The server receives missing data sent by the target cloud terminal, where the missing data is data that the target cloud terminal detects is not stored by the server and that is stored by the target cloud terminal; The server performs data restoration based on the missing data to obtain updated data.
4. The method according to claim 3, characterized in that The first backup notification further includes a block record, where the block record is used to indicate the location information of the data to be backed up; The server performs data restoration according to the missing data to obtain updated data, including: The server obtains the stored block records from all authenticated cloud terminals; The server determines whether the missing data is part of the data to be backed up according to the block records stored in all authenticated cloud terminals; If the missing data is part of the data to be backed up, the server performs data restoration based on the missing data to obtain updated data.
5. The method according to claim 4, characterized in that After the server performs data restoration according to the missing data to obtain updated data, the server further includes: The server distributes the updated data in the cloud terminal that has passed the authentication to obtain a second data distribution plan; The server obtains an updated block record according to the second data allocation scheme, where the updated block record is used to indicate location information of the updated data storage; The server sends a second backup notification to each of the cloud terminals that have passed the authentication according to the second data allocation scheme, wherein the second backup notification includes the updated data and the updated block record.
6. The method according to claim 1, characterized in that The method further comprises: The server receives a legal deletion request, where the legal deletion request is used to instruct deletion of target data, where the target data is part or all of the data to be backed up; The server deletes the target data and generates a deletion record; The server sends the deletion record to the authenticated cloud terminal, so that the authenticated cloud terminal deletes the target data if the target data has been stored.
7. A method for storing cloud desktop data, characterized in that: A storage system for cloud desktop data, the storage system for cloud desktop data comprising: a server and a plurality of cloud terminals; the server is respectively connected to the plurality of cloud terminals; the method comprises: The cloud terminal sends an authentication request to the server, wherein the authentication request is used to instruct the server to authenticate the cloud terminal; The cloud terminal receives a first backup notification sent by the server, wherein the first backup notification includes target backup data, the target backup data is the data to be backed up indicated by the first data allocation scheme, the first backup notification is generated by the server according to the first data allocation scheme, and the first data allocation scheme is obtained by the server allocating the data to be backed up in the authenticated cloud terminal; The cloud terminal stores the target backup data.
8. A cloud desktop data storage system, characterized in that: include: Server and multiple cloud terminals; The server is connected to the plurality of cloud terminals respectively; The server is used to authenticate the multiple cloud terminals to obtain cloud terminals that have passed the authentication; Allocate the data to be backed up in the authenticated cloud terminal to obtain a first data allocation plan; According to the first data allocation scheme, a first backup notification is sent to each of the cloud terminals that have passed the authentication, wherein the first backup notification includes target backup data, and the target backup data is the data to be backed up indicated by the first data allocation scheme; The cloud terminal is used to store the data to be backed up.
9. The system according to claim 8, characterized in that The cloud terminal is further used to: after detecting missing data, send the missing data to the server, wherein the missing data is data that is not stored by the server but is stored by the cloud terminal; The server is also used to restore the missing data to obtain updated data.
10. A computer-readable storage medium, characterized in that: The storage medium stores at least one computer instruction, which is loaded and executed by the processor to implement any one of claims 1 to 6, or the steps performed in the cloud desktop data storage method described in claim 7.