Data storage method, private cloud device and medium
By automatically managing data storage and access through private cloud devices, the problem of frequent operations between different cloud servers is solved, enabling seamless operation and data management of expanded storage resources, and improving data security and convenience.
Patent Information
- Application Number
- CN202511105961.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-08
- Publication Date
- 2025-10-28
AI Technical Summary
Users need to frequently perform cross-cloud operations to manage data scattered across different cloud servers, which leads to complex data management and insufficient data privacy protection.
This invention provides a data storage method that automatically manages the storage and access of data files through private cloud devices, uses terminal applications to configure permission information, enables seamless cross-cloud storage for users, supports data file encryption and fragmentation, and connects storage links across multiple cloud platforms.
It enables seamless data management for users, simplifies cross-cloud storage processes, expands storage resources, and improves data security and ease of management.
Smart Images

Figure CN120856691A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cloud resource data storage technology, and in particular to a data storage method, a private cloud device, and a computer-readable medium. Background Technology
[0002] Private cloud servers and public cloud servers each have their advantages in data storage. Private cloud servers offer local storage and high data security, but their storage resources are limited, making them unsuitable for storing large amounts of data. Public cloud servers provide virtually unlimited storage space, but they suffer from insufficient data privacy protection.
[0003] While users can combine the advantages of private and public cloud servers to choose storage resources, data management is quite complex because the data is scattered across different servers and the data between servers is isolated from each other. Users need to frequently perform cross-cloud operations (such as constantly switching between private and public cloud servers to query and manage data). Data storage and access across cloud servers need to follow their respective specifications and processes. Summary of the Invention
[0004] This invention aims to address, to a certain extent, one of the technical problems in related technologies. To this end, this invention provides a data storage method, a private cloud device for executing the data storage method, and a computer-readable medium, which have the advantages of convenient data management, seamless user operation, and expandable storage resources.
[0005] To achieve the above objectives, as a first aspect of the present invention, a data storage method is provided for a private cloud device, wherein the data storage method includes:
[0006] The system acquires data files and configuration information sent by the terminal; wherein the configuration information includes permission information corresponding to multiple storage resources; and the storage resources include at least one of a public cloud server, a private cloud server, and a private cloud device.
[0007] If the received configuration information includes the storage resources for the data file, the data file is sent to the storage resources according to the security attributes of the data file and the permission information corresponding to the storage resources; wherein, the configuration information also includes the security attributes of the data file;
[0008] The storage record of the stored data file is saved to the private cloud device; the storage record includes the storage resources to which the data file was sent.
[0009] Optionally, when the received configuration information includes storage resources for the data file, sending the data file to the storage resource according to the security attributes of the data file and the permission information corresponding to the storage resource includes:
[0010] When the security attribute indicates that the data file is in an encrypted state, the obtained data file is encrypted using a preset encryption algorithm to obtain an encrypted data file;
[0011] The encrypted data file is sent to the storage resource based on the permission information corresponding to the storage resource.
[0012] Optionally, the storage resources include public cloud servers and private cloud servers, and the permission information of the storage resources includes the user's identity authentication information on the public cloud server and the identity authentication information on the private cloud server.
[0013] Sending the encrypted data file to the storage resource according to the permission information corresponding to the storage resource includes:
[0014] When the storage resource is a public cloud server, the user's identity authentication information on the public cloud server will be sent to the public cloud server.
[0015] Once the identity authentication information received from the public cloud server is verified, the encrypted data file will be sent to the public cloud server.
[0016] When the storage resource is a private cloud server, the user's identity authentication information on the private cloud server will be sent to the private cloud server.
[0017] Once the identity authentication information received from the private cloud server is verified, the encrypted data file will be sent to the private cloud server.
[0018] Optionally, when the security attribute indicates that the data file is in an encrypted state, encrypting the obtained data file using a preset encryption algorithm to obtain an encrypted data file further includes:
[0019] The acquired data file is split into multiple fragmented data files.
[0020] Multiple fragmented data files are encrypted using a preset encryption algorithm to obtain multiple encrypted fragmented data files.
[0021] Optionally, when the received configuration information includes storage resources for the data file, sending the data file to the storage resource according to the security attributes of the data file and the permission information corresponding to the storage resource further includes:
[0022] When the security attribute indicates that the data file is in a public state, the data file sent by the terminal obtained by the private cloud device is sent to the storage resource according to the permission information corresponding to the storage resource.
[0023] Optionally, the storage resources include public cloud servers and private cloud servers, and the permission information of the storage resources includes the user's identity authentication information on the public cloud server and the identity authentication information on the private cloud server.
[0024] When the security attribute indicates that the data file is in a public state, the step of sending the data file sent by the terminal to the storage resource, obtained by the private cloud device, according to the permission information corresponding to the storage resource includes:
[0025] When the storage resource is a public cloud server, the user's identity authentication information on the public cloud server will be sent to the public cloud server.
[0026] Once the identity authentication information received from the public cloud server is verified, the data file obtained by the private cloud device from the terminal is sent to the public cloud server.
[0027] When the storage resource is a private cloud server, the user's identity authentication information on the private cloud server will be sent to the private cloud server.
[0028] Once the identity authentication information received from the private cloud server is verified, the data file obtained by the private cloud device from the terminal is sent to the private cloud server.
[0029] Optionally, if the received configuration information does not contain storage resources for the data file, the data file is sent to a storage resource that matches the preset storage rules according to the preset storage rules; wherein the preset storage rules are stored on a private cloud device.
[0030] Optionally, the method further includes storing attribute information related to the data file on a private cloud device.
[0031] As a second aspect of the present invention, a private cloud device is provided, comprising:
[0032] one or more processors;
[0033] A memory having one or more computer programs stored thereon, which, when executed by one or more processors, cause the one or more processors to implement the data storage method provided according to the first aspect of the invention.
[0034] Furthermore, as a third aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data storage method provided in the first aspect of the present invention.
[0035] The data storage method provided by this invention utilizes a private cloud device developed in practice. Users send their terminal's data files and permission information for multiple storage resources (an open cloud platform) to the private cloud device via a terminal application (such as a mobile application installed to interact with the private cloud device). The private cloud device automatically stores and manages the data files based on the configuration information provided by the user in the application. When the configuration information specifies storage resources for the data files, the private cloud device performs security processing on the data files according to the security attributes desired by the user in the configuration information before sending them to the user-specified storage resources. The storage location of the data files is also saved on the private cloud device for easy access by the user later. In this data storage method, users only interact with the private cloud device, sending data files and configuration information to it. Users do not need to define management rules related to data files, pay attention to the target storage location, or consider whether the storage method follows the specifications and processes of multiple storage resources (open cloud platforms). This achieves seamless user operation and convenient data management. Furthermore, since the private cloud device can obtain permission information for multiple target storage resources from the application, and relies on this permission information to establish storage links between the private cloud device and multiple storage resources (open cloud platforms), the storage resources of the private cloud device are no longer limited to the private cloud device itself. Storage resources can be extended to multiple open cloud platforms, allowing users to store data files without capacity limitations. Compared with existing technologies, this method solves the problems of users needing to adapt to different cloud platform rules and managing complex cross-cloud storage data files, offering advantages such as seamless user operation, convenient data management, and expandable storage resources.
[0036] These features and advantages of the present invention will be disclosed in detail in the following specific embodiments and accompanying drawings. The preferred embodiments or means of the present invention will be shown in detail in conjunction with the accompanying drawings, but are not intended to limit the technical solutions of the present invention. In addition, each of these features, elements and components appearing in the following text and drawings is a plurality of, and different symbols or numbers are used for convenience of representation, but all represent parts with the same or similar construction or function. Attached Figure Description
[0037] The present invention will be further described below with reference to the accompanying drawings:
[0038] Figure 1 A flowchart of a data storage method provided by the present invention;
[0039] Figure 2 Flowchart of one embodiment of step S120 of the data storage method provided by the present invention;
[0040] Figure 3A flowchart illustrating one embodiment of step S122 of the data storage method provided by the present invention;
[0041] Figure 4 A flowchart illustrating one embodiment of step S121 of the data storage method provided by the present invention;
[0042] Figure 5 A flowchart illustrating another embodiment of step S120 of the data storage method provided by the present invention;
[0043] Figure 6 A flowchart illustrating another embodiment of step S121 of the data storage method provided by the present invention;
[0044] Figure 7 A flowchart illustrating another implementation of the data storage method steps provided by the present invention;
[0045] Figure 8 An architecture diagram of a private cloud device provided by this invention;
[0046] Figure 9 This invention provides a flowchart of the storage process for data files sent by a private cloud device to a terminal.
[0047] Figure 10 A schematic diagram of the private cloud device provided by the present invention;
[0048] Figure 11 This invention provides a schematic diagram of a computer-readable medium.
[0049] Description of Reference Numerals
[0050] Among them, 101 is the processor; 102 is the memory; 103 is the I / O interface; and 104 is the bus. Detailed Implementation
[0051] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described are intended to explain the present invention and should not be construed as limiting the invention.
[0052] The terms "an embodiment," "example," or "trademark" used in this specification refer to a particular feature, structure, or characteristic described in connection with the embodiment itself that may be included in at least one embodiment disclosed in this invention. The phrase "in an embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment.
[0053] The data files of the same user are scattered across multiple cloud platforms, which significantly increases the difficulty of data management. On the one hand, due to the fragmented cross-platform operation process, users need to log in to different cloud platforms and adapt to their respective rules every time they store, access, or restore data, and are forced to switch frequently between different platforms. On the other hand, since the data storage rules and location indexes need to be maintained manually, manual maintenance becomes increasingly complex and inefficient as the amount of data increases.
[0054] In view of this, in order to solve the above problems, as a first aspect of the present invention, a data storage method is provided, such as... Figure 1 As shown, the method includes:
[0055] In step S110, the data file and configuration information sent by the terminal are obtained; wherein, the configuration information includes permission information corresponding to multiple storage resources; the storage resources include at least one of a public cloud server, a private cloud server, and a private cloud device;
[0056] In step S120, if the received configuration information includes the storage resources of the data file, the data file is sent to the storage resources according to the security attributes of the data file and the permission information corresponding to the storage resources; wherein, the configuration information also includes the security attributes of the data file;
[0057] In step S130, the storage record of the stored data file is saved to the private cloud device; wherein, the storage record includes the storage resource to which the data file was sent.
[0058] The data storage method provided by this invention utilizes a private cloud device developed in practice. Users send their terminal's data files and permission information for multiple storage resources (an open cloud platform) to the private cloud device via a terminal application (such as a mobile application installed to interact with the private cloud device). The private cloud device automatically stores and manages the data files based on the configuration information provided by the user in the application. When the configuration information specifies storage resources for the data files, the private cloud device performs security processing on the data files according to the security attributes desired by the user in the configuration information before sending them to the user-specified storage resources. The storage location of the data files is also saved on the private cloud device for easy access by the user later. In this data storage method, users only interact with the private cloud device, sending data files and configuration information to it. Users do not need to define management rules related to data files, pay attention to the target storage location, or consider whether the storage method follows the specifications and processes of multiple storage resources (open cloud platforms). This achieves seamless user operation and convenient data management. Furthermore, since the private cloud device can obtain permission information for multiple target storage resources from the application, and relies on this permission information to establish storage links between the private cloud device and multiple storage resources (open cloud platforms), the storage resources of the private cloud device are no longer limited to the private cloud device itself. Storage resources can be extended to multiple open cloud platforms, allowing users to store data files without capacity limitations. Compared with existing technologies, this method solves the problems of users needing to adapt to different cloud platform rules and managing complex cross-cloud storage data files, offering advantages such as seamless user operation, convenient data management, and expandable storage resources.
[0059] To prevent potential data leakage when storing data files across cloud environments, the data storage method of this invention provides users with configuration options for whether to perform security processing on the data. Users can manually set the security status of the data files to be stored in the application. As an optional implementation of step S120, such as... Figure 2 As shown, when the received configuration information includes storage resources for data files, sending the data file to the storage resource according to the security attributes of the data file and the permission information corresponding to the storage resource includes:
[0060] In step S121, when the security attribute indicates that the data file is in an encrypted state, the obtained data file is encrypted using a preset encryption algorithm to obtain an encrypted data file;
[0061] In step S122, the encrypted data file is sent to the storage resource according to the permission information corresponding to the storage resource.
[0062] To reduce the complexity of data storage operations for users, users only need to authorize permission information for multiple storage resources on the terminal (application) and selectively configure the security attributes of data files. The private cloud device will encrypt the received data files according to the security attributes and transmit them to the storage resources corresponding to the permission information, achieving a seamless storage experience for users.
[0063] The storage resources supported by the private cloud device include not only itself but also public cloud servers and private cloud servers. Correspondingly, the access rights information for these storage resources includes the user's authentication information on the public cloud server and the private cloud server. When the private cloud device encrypts the data file, as an optional implementation of step S122, such as... Figure 3 As shown, sending the encrypted data file to the storage resource according to the permission information corresponding to the storage resource includes:
[0064] In step S122a, if the storage resource is a public cloud server, the user's identity authentication information on the public cloud server is sent to the public cloud server.
[0065] In step S122b, if the identity authentication information received from the public cloud server is verified, the encrypted data file is sent to the public cloud server.
[0066] In step S122c, if the storage resource is a private cloud server, the user's identity authentication information on the private cloud server is sent to the private cloud server.
[0067] In step S122d, if the identity authentication information received from the private cloud server is verified, the encrypted data file is sent to the private cloud server.
[0068] It is important to explain in detail the steps S122a-S122d above, as they are not strictly executed sequentially. In practical applications, the private cloud device will execute steps S122a-S122b and / or S122c-S122d depending on storage resources. Furthermore, since public and private cloud servers are open cloud platforms, and the private cloud device has established storage links with different cloud platforms, when the private cloud device sends an encrypted data file to the corresponding cloud platform, the corresponding cloud platform will automatically store the encrypted data file. Similarly, the private cloud device can store encrypted data files on multiple public servers or multiple private cloud servers.
[0069] To further enhance the security of data files, as an optional implementation of step S121, such as Figure 4As shown, when the security attribute indicates that the data file is in an encrypted state, the obtained data file is encrypted using a preset encryption algorithm to obtain an encrypted data file, and the method further includes:
[0070] In step S121a, the acquired data file is split into multiple data files.
[0071] In step S121b, a preset encryption algorithm is used to encrypt the multiple fragmented data files to obtain multiple encrypted fragmented data files.
[0072] Because the data file is divided into multiple encrypted data fragments, after the private cloud device stores these multiple encrypted data fragments on a public or private cloud server, even if the data is illegally obtained, the entire file content cannot be recovered, further improving the privacy and security of the data file.
[0073] There is another situation where the user selectively configures the security attributes of data files on the terminal, as an optional implementation of step S120, such as... Figure 5 As shown, when the received configuration information includes storage resources for data files, sending the data file to the storage resource according to the security attributes of the data file and the permission information corresponding to the storage resource further includes:
[0074] In step S121, when the security attribute indicates that the data file is in a public state, the data file sent by the terminal obtained by the private cloud device is sent to the storage resource according to the permission information corresponding to the storage resource.
[0075] Further explaining step 121 above, even when the data file's security attribute is public, the storage resources can still include public cloud servers and private cloud servers. The access control information for the storage resources includes the user's authentication information on the public cloud server and the authentication information on the private cloud server. As an optional implementation of step S121, such as... Figure 6 As shown, when the security attribute indicates that the data file is in a public state, sending the data file sent by the terminal obtained by the private cloud device to the storage resource according to the permission information corresponding to the storage resource includes:
[0076] In step S121a, when the storage resource is a public cloud server, the user's identity authentication information on the public cloud server is sent to the public cloud server.
[0077] In step S121b, if the identity authentication information sent by the public cloud server is verified, the data file sent by the terminal obtained by the private cloud device is sent to the public cloud server.
[0078] In step S121c, if the storage resource is a private cloud server, the user's identity authentication information on the private cloud server is sent to the private cloud server.
[0079] In step S121d, if the identity authentication information received from the private cloud server is verified, the data file obtained by the private cloud device from the terminal is sent to the private cloud server.
[0080] It is important to note that steps S121a-S121d are not strictly executed sequentially. In practice, the private cloud device will execute steps S121a-S121b and / or S121c-S121d depending on the storage resources. Similarly, it should be noted that the private cloud device is not limited by the number or type of servers when sending the received data files from the terminal to the storage resources.
[0081] The above provides examples of private cloud devices managing data files under two states: confidential and public, as specified by the user. It should be noted that while users can selectively configure the security attributes of data files in the application accompanying the private cloud device, this does not mean that user configuration is mandatory. If the user is not concerned about the security of the data files or is unsure of the appropriate security attribute configuration, they can simply send the data files to the private cloud device, which will then manage the data files automatically.
[0082] To further simplify the data management process and reduce its complexity for users, the data storage method neither forces users to configure the security attributes of data files nor forces them to specify storage resources for data files, thus enabling automated management with zero user intervention. As another implementation method, such as... Figure 7 As shown,
[0083] In step S110, the data file and configuration information sent by the terminal are obtained; wherein, the configuration information includes permission information corresponding to multiple storage resources; the storage resources include at least one of a public cloud server, a private cloud server, and a private cloud device;
[0084] In step S120, if there is no storage resource for the data file in the received configuration information, the data file is sent to a storage resource that matches the preset storage rule according to the preset storage rule; wherein, the preset storage rule is stored on a private cloud device;
[0085] In step S130, the storage record of the stored data file is saved to the private cloud device; wherein, the storage record includes the storage resource to which the data file was sent.
[0086] In the embodiment consisting of steps S110-S130 above, the user only needs to send the terminal's data files and permission information for multiple storage resources to the private cloud device in the application. There is no need to configure the user's desired security attributes or target storage resources. The private cloud device will allocate corresponding storage resources to the data files according to its internal storage rules. It should be noted that the storage rules can be dynamically adjusted. The parameter information for dynamically adjusting the storage rules can come from the terminal or be automatically generated by the private cloud device by monitoring or statistically analyzing the relevant status of the data files.
[0087] During the processes of acquiring, processing, and transferring data files, all attribute information related to the data files is stored on the private cloud device. This includes information such as the data file's storage location, filename, file type, creation time, modification time, directory structure, and access permissions.
[0088] Since the attribute information related to the data file is stored on the private cloud device, and the data file is stored on at least one of the public cloud server, private cloud server, and private cloud device, it is also understood that the data storage method provided by this invention greatly facilitates user access to data. When a user enters the file name of the target data file or all data files within a certain creation time in the terminal (application), the private cloud device will first query its own stored attribute information based on the user's input, and determine the storage location (to which storage resource) of the data file to be accessed based on the query results. It can also send this storage location to the terminal, allowing the user to log in to the storage resource where the data file is stored to view and edit the data file. It should be noted that the user can only perform viewing and editing operations after the data file has not been encrypted and fragmented. Furthermore, based on the permission information of the storage resources stored in the private cloud device, the user can retrieve the data file from the storage resource corresponding to the location information, save the data file to the private cloud device, or send the data file to the terminal for user viewing. In other words, the data storage method provided by this invention can help users find the storage location of data files and also help users find the data files themselves.
[0089] The following is combined with Figure 8The private cloud device provided by this invention will be described in more detail. In the private cloud device, since it stores the user's permission information across multiple public clouds, after establishing data transmission links between the private cloud device and each public cloud, the public cloud platform can be abstracted as a network storage resource for the personal private cloud device. Each storage resource corresponds to a public cloud platform, thus providing users with flexible and scalable storage options. The private cloud device can determine the storage location of data files (such as local storage or public cloud storage) based on preset storage rules and monitored file status, and interact with the public cloud platform through its open interface. Throughout the entire operation, information related to the data files is stored in the private cloud device's metadata database. By treating the public cloud storage platform as an extended storage resource for the private cloud device, users do not need to excessively rely on expanding local storage devices (for example, for home users, there is no need to frequently replace hardware with larger capacity devices; they can simply use public cloud storage flexibly according to actual needs, which can also reduce hardware procurement costs), nor do users need to personally manage data files. It should be noted that the appendix... Figure 8 This description combines the storage resources and data management of private cloud devices with public cloud servers, and is not intended to limit the storage resources in the data storage method provided by this invention. The network storage resources regarded as private cloud devices can also correspond to private cloud servers with open interfaces.
[0090] The data storage method provided by this invention involves terminals, private cloud devices, and the cloud. The following is in conjunction with the appendix... Figure 9 This describes the storage process of data files sent by a terminal to a private cloud device. The user sends data to the private cloud device from the terminal (via an application). Upon receiving the data, the private cloud device determines the storage resources, segments the data according to specified rules to generate segment filenames, and determines whether to store the segment files in local storage. For local storage, the private cloud device directly stores the segment files in its local storage. For cloud storage, the private cloud device first encrypts the segmented data before sending the encrypted data to the cloud. The cloud is only responsible for receiving and saving the segment files and feeding back the saving results to the private cloud device. When the private cloud device detects that all segment files have been saved (storing segment files in local storage and cloud storage are both complete), it stores the attributes corresponding to the saved files in the private cloud device's metadata database, completing the storage process. Figure 9It can also be seen that users only need to send data to the private cloud device; they do not need to manage the data files. All data file management is performed within the private cloud device. The cloud acts merely as a trusted storage container, interacting only with the private cloud to receive and save data files sent by the private cloud device (or send files from the cloud to the private cloud device). Furthermore, the data files stored in the cloud have undergone pre-secure processing, so users do not need to worry about their private data being leaked or misused in the cloud. Users can enjoy the convenience brought by the expansion of private cloud resources without worrying about data security issues, thus increasing user trust and satisfaction with the entire private cloud device. Similarly, this storage method reduces unnecessary data copying and storage overhead, improving the overall resource utilization efficiency of the storage system while indirectly reducing storage costs.
[0091] As a second aspect of the present invention, a private cloud device is provided, such as... Figure 10 As shown, it includes:
[0092] One or more processors 101;
[0093] The memory 102 stores one or more computer programs that, when executed by the one or more processors 101, cause the one or more processors 101 to implement the data storage method provided according to the first aspect of the invention.
[0094] The private cloud device may also include one or more I / O interfaces 103 connected between the processor 101 and the memory 102, configured to enable information interaction between the processor 101 and the memory 102.
[0095] The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit 101 (CPU); the first memory 102 is a device with data storage capabilities, including but not limited to random access memory 102 (RAM, more specifically SDRAM, DDR, etc.), read-only memory 102 (ROM), electrically erasable programmable read-only memory 102 (EEPROM), and flash memory (FLASH); the I / O interface 103 (read-write interface) is connected between the processor 101 and the memory 102, enabling information interaction between the processor 101 and the memory 102, including but not limited to a data bus 104 (Bus).
[0096] In some embodiments, the processor 101, memory 102, and I / O interface 103 are interconnected via bus 104, and thus connected to other components of the computing device.
[0097] Furthermore, as a third aspect of the present invention, a computer-readable medium is also provided having a computer program stored thereon, such as... Figure 11 As shown, when the computer program is executed by a processor, it implements the data storage method provided in the first aspect of the present invention.
[0098] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can implement the methods of any of the above embodiments. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0099] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Those skilled in the art should understand that the present invention includes, but is not limited to, the contents described in the accompanying drawings and the specific embodiments above. Any modifications that do not depart from the functional and structural principles of the present invention will be included within the scope of the claims.
Claims
1. A data storage method for a private cloud device, characterized in that, The method comprises: The system acquires data files and configuration information sent by the terminal; wherein the configuration information includes permission information corresponding to multiple storage resources; and the storage resources include at least one of a public cloud server, a private cloud server, and a private cloud device. If the received configuration information includes the storage resources for the data file, the data file is sent to the storage resources according to the security attributes of the data file and the permission information corresponding to the storage resources; wherein, the configuration information also includes the security attributes of the data file; The storage record of the stored data file is saved to the private cloud device; the storage record includes the storage resources to which the data file was sent.
2. The data storage method according to claim 1, characterized in that, When the received configuration information includes storage resources for data files, the step of sending the data files to the storage resources according to the security attributes of the data files and the permission information corresponding to the storage resources includes: When the security attribute indicates that the data file is in an encrypted state, the obtained data file is encrypted using a preset encryption algorithm to obtain an encrypted data file; The encrypted data file is sent to the storage resource based on the permission information corresponding to the storage resource.
3. The data storage method according to claim 2, characterized in that, The storage resources include public cloud servers and private cloud servers, and the access information of the storage resources includes the user's identity authentication information on the public cloud server and the identity authentication information on the private cloud server. Sending the encrypted data file to the storage resource according to the permission information corresponding to the storage resource includes: When the storage resource is a public cloud server, the user's identity authentication information on the public cloud server will be sent to the public cloud server. Once the identity authentication information received from the public cloud server is verified, the encrypted data file will be sent to the public cloud server. When the storage resource is a private cloud server, the user's identity authentication information on the private cloud server will be sent to the private cloud server. Once the identity authentication information received from the private cloud server is verified, the encrypted data file will be sent to the private cloud server.
4. The data storage method according to claim 2, characterized in that, The step of encrypting the acquired data file using a preset encryption algorithm when the security attribute indicates that the data file is in an encrypted state, to obtain an encrypted data file, further includes: The acquired data file is split into multiple fragmented data files. Multiple fragmented data files are encrypted using a preset encryption algorithm to obtain multiple encrypted fragmented data files.
5. The data storage method according to claim 1, characterized in that, When the received configuration information includes storage resources for data files, sending the data files to the storage resources according to the security attributes of the data files and the permission information corresponding to the storage resources also includes: When the security attribute indicates that the data file is in a public state, the data file sent by the terminal obtained by the private cloud device is sent to the storage resource according to the permission information corresponding to the storage resource.
6. The data storage method according to claim 5, characterized in that, The storage resources include public cloud servers and private cloud servers, and the access information of the storage resources includes the user's identity authentication information on the public cloud server and the identity authentication information on the private cloud server. When the security attribute indicates that the data file is in a public state, the step of sending the data file sent by the terminal to the storage resource, obtained by the private cloud device, according to the permission information corresponding to the storage resource includes: When the storage resource is a public cloud server, the user's identity authentication information on the public cloud server will be sent to the public cloud server. Once the identity authentication information received from the public cloud server is verified, the data file obtained by the private cloud device from the terminal is sent to the public cloud server. When the storage resource is a private cloud server, the user's identity authentication information on the private cloud server will be sent to the private cloud server. Once the identity authentication information received from the private cloud server is verified, the data file obtained by the private cloud device from the terminal is sent to the private cloud server.
7. The data storage method according to claim 1, characterized in that, The method further includes: If the received configuration information does not contain storage resources for the data file, the data file is sent to a storage resource that matches the preset storage rules according to the preset storage rules; wherein, the preset storage rules are stored on a private cloud device.
8. The data storage method according to any one of claims 1 to 7, characterized in that, The method further includes: Store the attribute information related to the data file on a private cloud device.
9. A private cloud device, characterized in that, include: one or more processors; A memory having stored one or more computer programs thereon, which, when executed by the one or more processors, cause the one or more processors to implement the data storage method according to any one of claims 1 to 8.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the data storage method according to any one of claims 1 to 8.