A data security management method and system based on distributed storage

By dynamically scheduling and encrypting the distributed storage system based on user terminal historical operations and node status information, the load imbalance and security problems of traditional centralized storage systems are solved, and the flexibility and stability of big data storage are improved. .

CN117648057BActive Publication Date: 2024-09-27GUANGXI POWER GRID CORP +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410119178.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-09-27
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

Traditional centralized data storage systems have node load imbalance, performance bottlenecks and security issues in large-scale storage applications, making it difficult to meet big data storage needs, especially when the data growth rate exceeds the speed of hardware upgrades.

Method used

Adopting a data security management system based on distributed storage, through the storage scheduling module and data processing module, based on the user terminal's historical data access operations and node status information, dynamically schedule data processing nodes and storage nodes to achieve segmented encryption and decryption of data. , ensuring load balancing and high availability.

Benefits of technology

It improves the flexibility and stability of the distributed storage system, achieves more accurate user terminal clustering and data distribution, reduces data reading efficiency and security, and avoids node load imbalance and data storage bottlenecks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117648057B
    Figure CN117648057B
Patent Text Reader

Abstract

The present invention provides a data security management method based on distributed storage, which relates to the field of data processing and includes: a storage scheduling module, including at least one storage scheduling node; a data processing module, including at least one data processing node; a data storage module, including at least one data storage node; the storage scheduling node is used to determine a first target data processing node and multiple first target data storage nodes corresponding to a data storage request, the first target data processing node is used to divide the data to be stored corresponding to the data storage request, generate multiple data segments to be stored, and encrypt them, and the multiple first target data storage nodes are used to store multiple encrypted data segments to be stored; the data processing module is also used to schedule the number of data processing nodes; the data storage module is also used to schedule the number of data storage nodes, which has the advantages of improving the flexibility of distributed storage scheduling and ensuring the load balancing of distributed storage nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data storage, and in particular to a data security management method and system based on distributed storage. Background Art

[0002] With the rapid development of computer information technology and Internet information technology, computer network technology has penetrated into all walks of life, and information resources on the Internet have shown explosive growth. The use of Internet information technology has brought great convenience to our lives, but the information on the Internet is very complex, which has brought great troubles to users. The data storage needs in the big data era are more diverse, and traditional data storage systems can no longer meet the needs of big data storage. Traditional network storage systems use centralized storage servers to store all data. Storage servers have become the bottleneck of system performance and the focus of reliability and security. They cannot meet the needs of large-scale storage applications. When capacity expansion is performed, static shutdown is required, and then storage expansion is performed. Data must also be redistributed. If data increases suddenly in a certain period of time, the growth rate of information data is greater than the speed of database hardware upgrades, resulting in the inability to meet the seamless connection of the sudden increase in data storage through capacity expansion, which is prone to insufficient database capacity, affecting service quality and customer timeliness requirements.

[0003] Distributed storage systems store data in multiple independent devices. In distributed storage, the reasonable scheduling of data is a big problem, which needs to meet the requirements of high concurrency and high availability. In the existing technology, an incoming request can only be served on one node that hosts the requested object, which easily leads to the problem of unbalanced node load in the distributed storage system.

[0004] Therefore, it is necessary to provide a data security management method and system based on distributed storage to improve the flexibility of distributed storage scheduling, ensure the load balancing of distributed storage nodes, and improve the stability of distributed storage. Summary of the invention

[0005] The present invention provides a data security management system based on distributed storage, comprising: a storage scheduling module, comprising at least one storage scheduling node; a data processing module, comprising at least one data processing node; a data storage module, comprising at least one data storage node; the storage scheduling node is used to receive a data storage request initiated by a user terminal, and based on the data storage request, according to the historical data access operations of the user terminal and the status information of each of the data processing nodes, determine a first target data processing node corresponding to the data storage request from the at least one data processing node, and based on the data storage request, according to the historical data access operations of the user terminal and the status information of each of the data storage nodes, determine a plurality of first target data storage nodes corresponding to the data storage request from the at least one data storage node, wherein the first target data processing node is used to segment the data to be stored corresponding to the data storage request, generate a plurality of data segments to be stored corresponding to the data to be stored, and encrypt the plurality of data segments to be stored, and the plurality of first target data storage nodes are used to store a plurality of encrypted data segments to be stored; the storage The scheduling node is used to receive a data read request initiated by a user terminal, and based on the data read request, according to the historical data access operations of the user terminal and the status information of each of the data processing nodes, determine the second target data processing node corresponding to the data storage request from the at least one data processing node, and based on the storage path information of the data to be read corresponding to the data read request, determine multiple second target data storage nodes corresponding to the data read request from the at least one data storage node, the multiple second target data storage nodes are used to read the multiple encrypted data segments corresponding to the data read request and send them to the second target data processing node, the second target data processing node is used to decrypt and splice the multiple encrypted data segments corresponding to the data read request, generate the data to be read corresponding to the data read request, and feed it back to the storage scheduling node; the data processing module is also used to schedule the number of the data processing nodes based on the historical data access operations of multiple user terminals; the data storage module is also used to schedule the number of the data storage nodes based on the historical data access operations of multiple user terminals.

[0006] Furthermore, the data processing module schedules the number of data processing nodes based on the historical data access operations of multiple user terminals, including: clustering the multiple user terminals based on the historical data access operations of the multiple user terminals to determine multiple user terminal clustering clusters; for each of the user terminal clustering clusters, determining the data storage requirements and data reading requirements of the user terminal clustering cluster in multiple scheduling time periods of the current scheduling cycle based on the historical data access operations of the multiple user terminals included in the user terminal clustering cluster; scheduling the number of data processing nodes for multiple scheduling time periods of the current scheduling cycle based on the data storage requirements and data reading requirements of each of the user terminal clustering clusters in multiple scheduling time periods of the current scheduling cycle.

[0007] Furthermore, the data processing module clusters the multiple user terminals based on historical data access operations of the multiple user terminals to determine multiple user terminal clustering clusters, including: for each of the user terminals, determining the data storage demand and data reading demand of the user terminal in each scheduling time period of a scheduling cycle and the data storage demand fluctuation parameter and data reading demand fluctuation parameter of the user terminal in each scheduling time period of a scheduling cycle based on the historical data access operations of the user terminal; for any two of the user terminals, calculating the terminal similarity of the two user terminals based on the data storage demand and data reading demand of the two user terminals in each scheduling time period of a scheduling cycle and the data storage demand fluctuation parameter and data reading demand fluctuation parameter of the user terminals in each scheduling time period of a scheduling cycle; based on the terminal similarity of any two of the user terminals, clustering the multiple user terminals to determine multiple user terminal clustering clusters.

[0008] Furthermore, the data storage module schedules the number of the data storage nodes based on the historical data access operations of multiple user terminals, including: scheduling the number of the data storage nodes based on the data storage requirements and data reading requirements of each user terminal cluster in multiple scheduling time periods of the current scheduling cycle.

[0009] Furthermore, the storage scheduling node determines the first target data processing node corresponding to the data storage request from the at least one data processing node based on the data storage request, according to the historical data access operations of the user terminal and the status information of each of the data processing nodes, including: obtaining the computing power resource usage information of each of the data processing nodes; obtaining the operating parameter information of each of the data processing nodes; obtaining the status information of the physical machine where each of the data processing nodes is located; calculating the ranking score of the data processing node for the computing power resource usage information, operating parameter information and status information of the physical machine where each of the data processing nodes is located; and determining the first target data processing node corresponding to the data storage request from the at least one data processing node based on the ranking score of each of the data processing nodes.

[0010] Further, the storage scheduling node determines a plurality of first target data storage nodes corresponding to the data storage request from the at least one data storage node based on the data storage request, according to historical data access operations of the user terminal and status information of each of the data storage nodes, including: obtaining storage resource usage information of each of the data storage nodes; obtaining operating parameter information of each of the data storage nodes; obtaining status information of the physical machine where each of the data storage nodes is located; for each of the data storage nodes, calculating a ranking score of the data storage node based on the storage resource usage information, operating parameter information of the data storage node and status information of the physical machine where the data storage node is located; and determining a plurality of first target data storage nodes corresponding to the data storage request from the at least one data storage node based on the ranking score of each of the data storage nodes.

[0011] Furthermore, the first target data processing node divides the data to be stored corresponding to the data storage request, and generates multiple data segments to be stored corresponding to the data to be stored, including: for each of the user terminal cluster clusters, based on the data storage requirements and data reading requirements of the user terminal cluster cluster in multiple scheduling time periods of the current scheduling cycle, determining the data segment length of the user terminal cluster cluster in multiple scheduling time periods of the current scheduling cycle; based on the data storage request, determining the target user terminal cluster cluster corresponding to the data to be stored; based on the data segment length of the target user terminal cluster cluster in multiple scheduling time periods of the current scheduling cycle, determining the target data segment length corresponding to the data to be stored; based on the target data segment length, dividing the data to be stored corresponding to the data storage request, and generating multiple data segments to be stored corresponding to the data to be stored.

[0012] Furthermore, the first target data processing node encrypts the multiple data segments to be stored, including: encrypting the multiple data segments to be stored based on relevant information of the first target data processing node and relevant information of the multiple first target data storage nodes.

[0013] Further, the first target data processing node encrypts the multiple data segments to be stored based on the relevant information of the first target data processing node and the relevant information of the multiple first target data storage nodes, including: for each of the data segments to be stored, based on the segmentation identifier of the data segment to be stored, the identifier of the first target data storage node used to store the data segment to be stored, and the identifier of the associated first target data storage node, the data segment to be stored is encrypted; for each of the data segments to be stored, based on the identifier of the first target data processing node, the segmentation identifier of the data segment to be stored is encrypted, wherein the first target data storage node used to store the data segment to be stored stores the encrypted data segment to be stored and the corresponding encrypted segmentation identifier.

[0014] The present invention provides a data security management method based on distributed storage, comprising: scheduling the number of data processing nodes based on historical data access operations of multiple user terminals; scheduling the number of data storage nodes based on historical data access operations of multiple user terminals; receiving a data storage request initiated by a user terminal, and based on the data storage request, determining a first target data processing node corresponding to the data storage request from at least one data processing node according to the historical data access operations of the user terminal and the status information of each of the data storage nodes; based on the data storage request, determining a plurality of first target data storage nodes corresponding to the data storage request from at least one data storage node according to the historical data access operations of the user terminal and the status information of each of the data storage nodes, wherein the first target data processing node is used to segment the data to be stored corresponding to the data storage request, generate a plurality of data segments to be stored corresponding to the data to be stored, and The multiple data segments to be stored are encrypted, and the multiple first target data storage nodes are used to store the multiple encrypted data segments to be stored; a data read request initiated by a user terminal is received, and based on the data read request, according to the historical data access operations of the user terminal and the status information of each of the data processing nodes, a second target data processing node corresponding to the data storage request is determined from the at least one data processing node; based on the storage path information of the data to be read corresponding to the data read request, a multiple second target data storage nodes corresponding to the data read request are determined from the at least one data storage node, the multiple second target data storage nodes are used to read the multiple encrypted data segments corresponding to the data read request, and send them to the second target data processing node; the second target data processing node is used to decrypt and splice the multiple encrypted data segments corresponding to the data read request, generate the data to be read corresponding to the data read request, and feed it back to the storage scheduling node.

[0015] Compared with the prior art, the data security management method and system based on distributed storage provided by the present invention have at least the following beneficial effects:

[0016] 1. By scheduling the number of data processing nodes and the number of data storage nodes based on the historical data access operations of multiple user terminals, the flexibility of distributed storage scheduling is improved. Furthermore, based on the data storage request, according to the historical data access operations of the user terminal and the status information of each data processing node, the first target data processing node corresponding to the data storage request is determined from at least one data processing node. Based on the data storage request, according to the historical data access operations of the user terminal and the status information of each data storage node, multiple first target data storage nodes corresponding to the data storage request are determined from at least one data storage node, thereby ensuring the load balancing of the distributed storage nodes and improving the stability of the distributed storage.

[0017] 2. Based on the historical data access operations of the user terminal, the data storage demand and data reading demand of the user terminal in each scheduling time period of a scheduling cycle and the data storage demand fluctuation parameters and data reading demand fluctuation parameters of the user terminal in each scheduling time period of a scheduling cycle are determined, so as to achieve more accurate clustering of multiple user terminals and determine multiple user terminal clustering clusters, so that the data storage demand and data reading demand of the subsequently determined user terminal clustering clusters in multiple scheduling time periods of the current scheduling cycle are more accurate.

[0018] 3. For user terminal clusters with higher data storage and data reading requirements in multiple scheduling time periods of the current scheduling cycle, the probability of data stored in the current scheduling cycle being read is higher. Therefore, the target data segment length corresponding to the data to be stored is set to be longer, so that the number of data segments to be stored into which the data to be stored is divided is smaller. When the data to be stored is subsequently read, fewer data storage nodes need to interact, and the processing time required for the second target data processing node to decrypt and splice data is shorter, thereby improving the reading efficiency of the data to be stored. For user terminal clusters with lower data storage and data reading requirements in multiple scheduling time periods of the current scheduling cycle, the probability of data reading is lower. Therefore, the data to be stored of the user terminals of the user terminal cluster is divided into more data segments to be stored, so as to avoid the data to be stored of the user terminals of the user terminal cluster occupying too much storage resources of a single data storage node. Furthermore, the accuracy of load balancing of data storage nodes can be improved by using the multiple data segments to be stored formed by dividing the data to be stored of the user terminals of the user terminal cluster with lower data storage and data reading requirements.

[0019] 4. Based on the segmentation identifier of the data segment to be stored, the identifier of the first target data storage node used to store the data segment to be stored and the identifier of the associated first target data storage node, the data segment to be stored is encrypted, and based on the identifier of the first target data processing node, the segmentation identifier of the data segment to be stored is encrypted, thereby achieving double encryption and further improving the security of data storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0021] Figure 1 It is a module schematic diagram of a data security management system based on distributed storage according to some embodiments of this specification;

[0022] Figure 2 is a schematic diagram of a process of determining a first target data processing node corresponding to a data storage request according to some embodiments of this specification;

[0023] Figure 3 is a schematic diagram of a process of determining multiple first target data storage nodes corresponding to a data storage request according to some embodiments of this specification;

[0024] Figure 4 is a schematic diagram of a process of generating a plurality of data segments to be stored corresponding to the data to be stored according to some embodiments of this specification;

[0025] Figure 5 It is a flow chart of a data security management method based on distributed storage according to some embodiments of this specification. DETAILED DESCRIPTION

[0026] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0027] Figure 1 is a module diagram of a data security management system based on distributed storage according to some embodiments of this specification, such as Figure 1As shown, a data security management system based on distributed storage may include a storage scheduling module, a data processing module and a data storage module. Each module is described in detail below.

[0028] The storage scheduling module may include at least one storage scheduling node. The data processing module may include at least one data processing node. The data storage module may include at least one data storage node.

[0029] The data processing module may also be used to schedule the number of data processing nodes based on historical data access operations of multiple user terminals.

[0030] In some embodiments, it may specifically include:

[0031] Based on historical data access operations of the plurality of user terminals, clustering the plurality of user terminals is performed to determine a plurality of user terminal clusters;

[0032] For each user terminal cluster, based on historical data access operations of multiple user terminals included in the user terminal cluster, determine the data storage requirements and data reading requirements of the user terminal cluster in multiple scheduling time periods of the current scheduling cycle;

[0033] Based on the data storage demand and data reading demand of each user terminal cluster in multiple scheduling time periods of the current scheduling cycle, the number of data processing nodes in multiple scheduling time periods of the current scheduling cycle is scheduled.

[0034] Specifically, the historical data access operations of the user terminal may include the number of data storage requests and the number of data reading requests of the user terminal in multiple historical time periods. The data processing module may determine the data storage demand and data reading demand of the user terminal cluster in multiple scheduling time periods of the current scheduling cycle based on the historical data access operations of multiple user terminals included in the user terminal cluster through the demand prediction model, wherein the time length of the current scheduling cycle may be one day, one week, half a month, one month, etc.

[0035] The data processing module can determine the computing power requirements in multiple scheduling time periods of the current scheduling cycle through a computing power determination model based on the data storage requirements and data reading requirements of each user terminal cluster in multiple scheduling time periods of the current scheduling cycle, and then determine the number of data processing nodes in multiple scheduling time periods of the current scheduling cycle. According to the determined number of data processing nodes in multiple scheduling time periods of the current scheduling cycle, the number of data processing nodes in multiple scheduling time periods of the current scheduling cycle is scheduled.

[0036] The computing power determination model and the demand prediction model may be a Long Short-Term Memory (LSTM) model.

[0037] In some embodiments, the data processing module clusters the multiple user terminals based on historical data access operations of the multiple user terminals to determine multiple user terminal clusters, including:

[0038] For each user terminal, based on historical data access operations of the user terminal, determining a data storage demand and a data reading demand of the user terminal in each scheduling time period of a scheduling cycle and a data storage demand fluctuation parameter and a data reading demand fluctuation parameter of the user terminal in each scheduling time period of a scheduling cycle;

[0039] For any two user terminals, based on the data storage requirements and data reading requirements of the two user terminals in each scheduling time period of a scheduling cycle and the data storage requirement fluctuation parameters and data reading requirement fluctuation parameters of the user terminals in each scheduling time period of a scheduling cycle, the terminal similarity of the two user terminals is calculated;

[0040] Based on the terminal similarity between any two user terminals, multiple user terminals are clustered to determine multiple user terminal clusters.

[0041] Specifically, for each user terminal, the data processing module can determine the number of data storage requests and the number of data reading requests of the user terminal in multiple scheduling time periods of multiple historical scheduling cycles based on the historical data access operations of the user terminal. For each scheduling time period, the average of the number of data storage requests and the number of data reading requests of the user terminal in the scheduling time period of multiple historical scheduling cycles can be calculated as the data storage demand and data reading demand of the user terminal in the scheduling time period of a scheduling cycle, and based on the number of data storage requests of the user terminal in the scheduling time period of multiple historical scheduling cycles, the data storage demand fluctuation parameter of the user terminal in the scheduling time period is calculated, and based on the number of data reading requests of the user terminal in the scheduling time period of multiple historical scheduling cycles, the data reading demand fluctuation parameter of the user terminal in the scheduling time period is calculated.

[0042] For example, the data processing module can calculate the data storage demand fluctuation parameter according to the following formula:

[0043]

[0044] in, is the data storage demand fluctuation parameter of the i-th user terminal in the j-th scheduling time period, is the number of data storage requests of the i-th user terminal in the j-th scheduling time period of the m-th historical scheduling period, and M is the total number of historical scheduling periods.

[0045] The data processing module can calculate the data reading demand fluctuation parameter according to the following formula:

[0046]

[0047] in, Read the demand fluctuation parameter for the data of the i-th user terminal in the j-th scheduling time period, The number of data read requests of the i-th user terminal in the j-th scheduling time period of the m-th historical scheduling cycle.

[0048] The data processing module can calculate the terminal similarity of the two user terminals based on the data storage requirements and data reading requirements of the two user terminals in each scheduling time period of a scheduling cycle and the data storage requirement fluctuation parameter and data reading requirement fluctuation parameter of the user terminal in each scheduling time period of a scheduling cycle according to the following formula:

[0049]

[0050] in, is the terminal similarity between the e-th user terminal and the f-th user terminal, is the data storage requirement of the e-th user terminal in the j-th scheduling time period, is the data storage requirement of the f-th user terminal in the j-th scheduling time period, is the data reading demand of the e-th user terminal in the j-th scheduling time period, is the data reading demand of the fth user terminal in the jth scheduling time period, is the data storage demand fluctuation parameter of the e-th user terminal in the j-th scheduling time period, is the data storage demand fluctuation parameter of the f-th user terminal in the j-th scheduling time period, Read the demand fluctuation parameter for the data of the e-th user terminal in the j-th scheduling time period, Read the demand fluctuation parameter for the data of the f-th user terminal in the j-th scheduling time period, , , and All are preset weights. , , and These are preset parameters.

[0051] A k-means clustering algorithm may be used to cluster multiple user terminals based on the terminal similarity between any two user terminals, and determine multiple user terminal clusters.

[0052] The data storage module can also be used to schedule the number of data storage nodes based on historical data access operations of multiple user terminals.

[0053] In some embodiments, it may specifically include: scheduling the number of data storage nodes based on the data storage requirements and data reading requirements of each user terminal cluster in multiple scheduling time periods of the current scheduling cycle.

[0054] Specifically, the data storage module can determine the number of spare data storage nodes based on the data storage requirements and data reading requirements in multiple scheduling time periods of the current scheduling cycle, and implement scheduling of the number of data storage nodes. For example, when the data storage requirements in multiple scheduling time periods of the current scheduling cycle are greater than a preset data storage requirement threshold and / or the data reading requirements are greater than a preset data reading requirement, the number of spare data storage nodes is increased.

[0055] The storage scheduling node is used to receive a data storage request initiated by a user terminal, and based on the data storage request, determine a first target data processing node corresponding to the data storage request from at least one data processing node according to the historical data access operations of the user terminal and the status information of each data processing node; based on the data storage request, determine multiple first target data storage nodes corresponding to the data storage request from at least one data storage node according to the historical data access operations of the user terminal and the status information of each data storage node, wherein the first target data processing node is used to split the data to be stored corresponding to the data storage request, generate multiple data segments to be stored corresponding to the data to be stored, and encrypt the multiple data segments to be stored, and the multiple first target data storage nodes are used to store the multiple encrypted data segments to be stored.

[0056] Figure 2 is a flow chart of determining a first target data processing node corresponding to a data storage request according to some embodiments of this specification, such as Figure 2 As shown, in some embodiments, the storage scheduling node determines a first target data processing node corresponding to the data storage request from at least one data processing node based on the data storage request, according to the historical data access operation of the user terminal and the status information of each data processing node, including:

[0057] Obtain computing resource usage information of each data processing node, such as CPU usage information, memory usage information, network bandwidth usage information, disk IO usage information, etc.

[0058] Obtain operating parameter information of each data processing node, such as service response time, network bandwidth, etc.;

[0059] Obtain status information of the physical machine where each data processing node is located, such as temperature information, environmental humidity information, and vibration information;

[0060] Calculate the ranking score of each data processing node based on the computing resource usage information, operating parameter information, and status information of the physical machine where each data processing node is located;

[0061] Based on the ranking score of each data processing node, a first target data processing node corresponding to the data storage request is determined from at least one data processing node.

[0062] Specifically, the storage scheduling node can calculate the ranking score of the data processing node based on the computing resource usage information, operating parameter information and status information of the physical machine where the data processing node is located through the first score prediction model, and use the data processing node with the largest ranking score as the first target data processing node corresponding to the data storage request, wherein the first score prediction model can be an artificial neural network (ANN) model.

[0063] Figure 3 is a schematic diagram of a process of determining multiple first target data storage nodes corresponding to a data storage request according to some embodiments of this specification, such as Figure 3 As shown, in some embodiments, the storage scheduling node determines a plurality of first target data storage nodes corresponding to the data storage request from at least one data storage node based on the data storage request, according to the historical data access operation of the user terminal and the status information of each data storage node, including:

[0064] Obtain storage resource usage information for each data storage node, such as memory usage, disk usage, and CPU usage;

[0065] Obtain the operating parameter information of each data storage node, such as data reading time, data writing time, data reading success rate, data writing success rate, etc.;

[0066] Obtain status information of the physical machine where each data storage node is located, such as temperature information, environmental humidity information, and vibration information;

[0067] For each data storage node, a ranking score of the data storage node is calculated based on the storage resource usage information, operation parameter information and status information of the physical machine where the data storage node is located;

[0068] Based on the ranking score of each data storage node, a plurality of first target data storage nodes corresponding to the data storage request are determined from at least one data storage node.

[0069] Specifically, the storage scheduling node can calculate the ranking score of the data storage node based on the storage resource usage information, operating parameter information and status information of the physical machine where the data storage node is located through the second score prediction model, determine the number of multiple data segments to be stored corresponding to the data to be stored generated after the data to be stored corresponding to the data storage request is split, and then determine the number of first target data storage nodes required, sort at least one data storage node according to the ranking score of each data storage node, determine the first first target data storage node, and then predict the ranking score of the first first target data storage node after storing a data segment to be stored, re-sort at least one data storage node, and select the second first target data storage node until all the data segments to be stored are determined to correspond to the first target data storage nodes, wherein the first score prediction model can be an artificial neural network (ANN) model.

[0070] Figure 4 is a schematic diagram of a process of generating a plurality of data segments to be stored corresponding to the data to be stored according to some embodiments of this specification, such as Figure 4 As shown, in some embodiments, the first target data processing node divides the data to be stored corresponding to the data storage request to generate multiple data segments to be stored corresponding to the data to be stored, including:

[0071] For each user terminal cluster, based on the data storage requirements and data reading requirements of the user terminal cluster in multiple scheduling time periods of the current scheduling period, determine the data segment lengths of the user terminal cluster in multiple scheduling time periods of the current scheduling period;

[0072] Based on the data storage request, determine the target user terminal cluster corresponding to the data to be stored;

[0073] Determine a target data segment length corresponding to the data to be stored based on the data segment lengths of the target user terminal cluster in multiple scheduling time periods of the current scheduling period;

[0074] Based on the target data segment length, the data to be stored corresponding to the data storage request is segmented to generate a plurality of data segments to be stored corresponding to the data to be stored.

[0075] Specifically, the higher the data storage demand and data reading demand of the target user terminal cluster in multiple scheduling time periods of the current scheduling cycle, the longer the target data segment length corresponding to the data to be stored.

[0076] It can be understood that for the user terminal clusters with higher data storage requirements and data reading requirements in multiple scheduling time periods of the current scheduling cycle, the probability of data stored in the current scheduling cycle being read is relatively high. Therefore, the target data segment length corresponding to the data to be stored is set to be relatively long, so that the number of data segments to be stored into which the data to be stored is divided is relatively small. When the data to be stored is subsequently read, fewer data storage nodes need to interact, and the processing time required for the second target data processing node to decrypt and splice data is relatively short, thereby improving the reading efficiency of the data to be stored. For the user terminal clusters with lower data storage requirements and data reading requirements in multiple scheduling time periods of the current scheduling cycle, the probability of data reading is relatively low. Therefore, the data to be stored of the user terminals of the user terminal clusters is divided into a plurality of data segments to be stored, so as to avoid the data to be stored of the user terminals of the user terminal clusters occupying too much storage resources of a single data storage node. Further, the accuracy of load balancing of the data storage node can be improved by using the data to be stored of the user terminals of the user terminal clusters with lower data storage requirements and data reading requirements.

[0077] In some embodiments, the first target data processing node encrypts the multiple data segments to be stored, including: encrypting the multiple data segments to be stored based on relevant information of the first target data processing node and relevant information of multiple first target data storage nodes.

[0078] In some embodiments, the first target data processing node encrypts multiple data segments to be stored based on relevant information of the first target data processing node and relevant information of multiple first target data storage nodes, including:

[0079] For each data segment to be stored, encrypting the data segment to be stored based on the segmentation identifier of the data segment to be stored, the identifier of the first target data storage node for storing the data segment to be stored, and the identifier of the associated first target data storage node;

[0080] For each data segment to be stored, the segmentation identifier of the data segment to be stored is encrypted based on the identifier of the first target data processing node, wherein the first target data storage node for storing the data segment to be stored stores the encrypted data segment to be stored and the corresponding encrypted segmentation identifier.

[0081] Specifically, the first target data processing node can encrypt the data segment to be stored based on the segmentation identifier of the data segment to be stored, the identifier of the first target data storage node used to store the data segment to be stored, and the identifier of the associated first target data storage node through encryption algorithms such as MD5 (Message Digest Algorithm 5) and Secure Hash Algorithm, and encrypt the segmentation identifier of the data segment to be stored based on the identifier of the first target data processing node.

[0082] The storage scheduling node is used to receive a data read request initiated by a user terminal, and based on the data read request, according to the historical data access operations of the user terminal and the status information of each data processing node, determine the second target data processing node corresponding to the data storage request from at least one data processing node, based on the storage path information of the data to be read corresponding to the data read request, determine multiple second target data storage nodes corresponding to the data read request from at least one data storage node, the multiple second target data storage nodes are used to read the multiple encrypted data segments corresponding to the data read request, and send them to the second target data processing node, the second target data processing node is used to decrypt and splice the multiple encrypted data segments corresponding to the data read request, generate the data to be read corresponding to the data read request, and feed it back to the storage scheduling node.

[0083] Figure 5 is a flow chart of a data security management method based on distributed storage according to some embodiments of this specification, such as Figure 5 As shown, a data security management method based on distributed storage may include the following steps:

[0084] Step 510, scheduling the number of data processing nodes based on historical data access operations of multiple user terminals;

[0085] Step 520, scheduling the number of data storage nodes based on historical data access operations of multiple user terminals;

[0086] Step 530, receiving a data storage request initiated by a user terminal, and based on the data storage request, according to historical data access operations of the user terminal and status information of each data processing node, determining a first target data processing node corresponding to the data storage request from at least one data processing node, and based on the data storage request, according to historical data access operations of the user terminal and status information of each data storage node, determining a plurality of first target data storage nodes corresponding to the data storage request from at least one data storage node, wherein the first target data processing node is used to segment the data to be stored corresponding to the data storage request, generate a plurality of data segments to be stored corresponding to the data to be stored, and encrypt the plurality of data segments to be stored, and the plurality of first target data storage nodes are used to store the plurality of encrypted data segments to be stored;

[0087] Step 540, receiving a data read request initiated by a user terminal, and based on the data read request, determining a second target data processing node corresponding to the data storage request from at least one data processing node according to the historical data access operations of the user terminal and the status information of each data processing node, and based on the storage path information of the data to be read corresponding to the data read request, determining multiple second target data storage nodes corresponding to the data read request from at least one data storage node, the multiple second target data storage nodes are used to read the multiple encrypted data segments corresponding to the data read request, and send them to the second target data processing node, the second target data processing node is used to decrypt and splice the multiple encrypted data segments corresponding to the data read request, generate the data to be read corresponding to the data read request, and feed it back to the storage scheduling node.

[0088] A data security management method based on distributed storage can be executed by a data security management system based on distributed storage. For more descriptions of a data security management method based on distributed storage, please refer to the relevant descriptions of a data security management system based on distributed storage, which will not be repeated here.

[0089] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A data security management system based on distributed storage, characterized in that: include: A storage scheduling module, comprising at least one storage scheduling node; A data processing module, comprising at least one data processing node; A data storage module, comprising at least one data storage node; The storage scheduling node is used to receive a data storage request initiated by a user terminal, and based on the data storage request, according to the historical data access operations of the user terminal and the status information of each of the data processing nodes, determine a first target data processing node corresponding to the data storage request from the at least one data processing node, and based on the data storage request, according to the historical data access operations of the user terminal and the status information of each of the data storage nodes, determine multiple first target data storage nodes corresponding to the data storage request from the at least one data storage node, wherein the first target data processing node is used to split the data to be stored corresponding to the data storage request, generate multiple data segments to be stored corresponding to the data to be stored, and encrypt the multiple data segments to be stored, and the multiple first target data storage nodes are used to store multiple encrypted data segments to be stored; The storage scheduling node is used to receive a data read request initiated by a user terminal, and based on the data read request, determine a second target data processing node corresponding to the data storage request from the at least one data processing node according to the historical data access operations of the user terminal and the status information of each of the data processing nodes, and based on the storage path information of the data to be read corresponding to the data read request, determine multiple second target data storage nodes corresponding to the data read request from the at least one data storage node, the multiple second target data storage nodes are used to read the multiple encrypted data segments corresponding to the data read request, and send them to the second target data processing node, the second target data processing node is used to decrypt and splice the multiple encrypted data segments corresponding to the data read request, generate the data to be read corresponding to the data read request, and feed it back to the storage scheduling node; The data processing module is also used to schedule the number of data processing nodes based on historical data access operations of multiple user terminals; The data storage module is also used to schedule the number of data storage nodes based on historical data access operations of multiple user terminals.

2. A data security management system based on distributed storage according to claim 1, characterized in that: The data processing module schedules the number of the data processing nodes based on historical data access operations of multiple user terminals, including: Based on historical data access operations of multiple user terminals, clustering the multiple user terminals to determine multiple user terminal clusters; For each of the user terminal clusters, based on historical data access operations of multiple user terminals included in the user terminal cluster, determine the data storage requirements and data reading requirements of the user terminal cluster in multiple scheduling time periods of the current scheduling cycle; Based on the data storage demand and data reading demand of each of the user terminal clusters in multiple scheduling time periods of the current scheduling cycle, the number of data processing nodes in multiple scheduling time periods of the current scheduling cycle is scheduled.

3. A data security management system based on distributed storage according to claim 2, characterized in that: The data processing module clusters the multiple user terminals based on historical data access operations of the multiple user terminals to determine multiple user terminal clusters, including: For each of the user terminals, based on historical data access operations of the user terminal, determining a data storage demand and a data reading demand of the user terminal in each scheduling time period of a scheduling cycle and a data storage demand fluctuation parameter and a data reading demand fluctuation parameter of the user terminal in each scheduling time period of a scheduling cycle; For any two of the user terminals, based on the data storage requirements and data reading requirements of the two user terminals in each scheduling time period of a scheduling cycle and the data storage requirement fluctuation parameters and data reading requirement fluctuation parameters of the user terminals in each scheduling time period of a scheduling cycle, calculating the terminal similarity of the two user terminals; Based on the terminal similarity between any two of the user terminals, the multiple user terminals are clustered to determine a plurality of user terminal clusters.

4. A data security management system based on distributed storage according to claim 3, characterized in that: The data storage module schedules the number of data storage nodes based on historical data access operations of multiple user terminals, including: The number of the data storage nodes is scheduled based on the data storage requirements and data reading requirements of each of the user terminal clusters in multiple scheduling time periods of the current scheduling cycle.

5. A data security management system based on distributed storage according to any one of claims 1 to 4, characterized in that: The storage scheduling node determines, based on the data storage request, according to the historical data access operation of the user terminal and the status information of each of the data processing nodes, a first target data processing node corresponding to the data storage request from the at least one data processing node, including: Obtaining computing resource usage information of each of the data processing nodes; Obtaining operating parameter information of each of the data processing nodes; Obtaining status information of the physical machine where each of the data processing nodes is located; Calculate the ranking score of each data processing node based on the computing resource usage information, operating parameter information, and status information of the physical machine where the data processing node is located; Based on the ranking score of each of the data processing nodes, a first target data processing node corresponding to the data storage request is determined from the at least one data processing node.

6. A data security management system based on distributed storage according to any one of claims 1 to 4, characterized in that: The storage scheduling node determines, based on the data storage request, a plurality of first target data storage nodes corresponding to the data storage request from the at least one data storage node according to the historical data access operation of the user terminal and the status information of each of the data storage nodes, including: Obtaining storage resource usage information of each of the data storage nodes; Obtaining operating parameter information of each of the data storage nodes; Obtaining status information of the physical machine where each data storage node is located; For each of the data storage nodes, a ranking score of the data storage node is calculated based on the storage resource usage information, the operation parameter information and the status information of the physical machine where the data storage node is located; Based on the ranking score of each of the data storage nodes, a plurality of first target data storage nodes corresponding to the data storage request are determined from the at least one data storage node.

7. A data security management system based on distributed storage according to any one of claims 2 to 4, characterized in that: The first target data processing node divides the data to be stored corresponding to the data storage request to generate a plurality of data segments to be stored corresponding to the data to be stored, including: For each of the user terminal clusters, based on the data storage requirements and data reading requirements of the user terminal clusters in multiple scheduling time periods of the current scheduling period, determine the data segment lengths of the user terminal clusters in multiple scheduling time periods of the current scheduling period; Based on the data storage request, determining a target user terminal cluster corresponding to the data to be stored; Determining a target data segment length corresponding to the data to be stored based on the data segment lengths of the target user terminal cluster in multiple scheduling time periods of the current scheduling period; Based on the target data segment length, the data to be stored corresponding to the data storage request is divided to generate a plurality of data segments to be stored corresponding to the data to be stored.

8. A data security management system based on distributed storage according to any one of claims 1 to 4, characterized in that: The first target data processing node encrypts the multiple data segments to be stored, including: The multiple data segments to be stored are encrypted based on the relevant information of the first target data processing node and the relevant information of the multiple first target data storage nodes.

9. A data security management system based on distributed storage according to claim 8, characterized in that: The first target data processing node encrypts the multiple data segments to be stored based on the relevant information of the first target data processing node and the relevant information of the multiple first target data storage nodes, including: For each of the data segments to be stored, encrypting the data segment to be stored based on the segmentation identifier of the data segment to be stored, the identifier of the first target data storage node for storing the data segment to be stored, and the identifier of the associated first target data storage node; For each of the data segments to be stored, the segmentation identifier of the data segment to be stored is encrypted based on the identifier of the first target data processing node, wherein the first target data storage node for storing the data segments to be stored stores the encrypted data segments to be stored and the corresponding encrypted segmentation identifier.

10. A data security management method based on distributed storage, characterized in that: A data security management system based on distributed storage as described in any one of claims 1 to 9, comprising: Scheduling the number of data processing nodes based on historical data access operations of multiple user terminals; Scheduling the number of data storage nodes based on historical data access operations of multiple user terminals; Receive a data storage request initiated by a user terminal, and based on the data storage request, determine a first target data processing node corresponding to the data storage request from the at least one data processing node according to historical data access operations of the user terminal and status information of each of the data processing nodes; based on the data storage request, determine a plurality of first target data storage nodes corresponding to the data storage request from the at least one data storage node according to historical data access operations of the user terminal and status information of each of the data storage nodes, wherein the first target data processing node is used to split the data to be stored corresponding to the data storage request, generate a plurality of data segments to be stored corresponding to the data to be stored, and encrypt the plurality of data segments to be stored, and the plurality of first target data storage nodes are used to store a plurality of encrypted data segments to be stored; Receive a data read request initiated by a user terminal, and based on the data read request, determine a second target data processing node corresponding to the data storage request from the at least one data processing node according to the historical data access operations of the user terminal and the status information of each of the data processing nodes; based on the storage path information of the data to be read corresponding to the data read request, determine multiple second target data storage nodes corresponding to the data read request from the at least one data storage node, the multiple second target data storage nodes are used to read the multiple encrypted data segments corresponding to the data read request, and send them to the second target data processing node; the second target data processing node is used to decrypt and splice the multiple encrypted data segments corresponding to the data read request, generate the data to be read corresponding to the data read request, and feed it back to the storage scheduling node.