A data security storage method with traceability function

Using K-means and Gaussian algorithms to segment data and add security verification information, combined with matching and early warning modules, it solves the problem of being unable to detect tampering in a timely manner when data storage methods are tampered with, and improves data security and confidentiality.

CN118260813BActive Publication Date: 2024-10-11北京睿航至臻科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410347874.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2024-10-11
Estimated Expiration
2044-03-26

AI Technical Summary

Technical Problem

Existing data storage methods may be maliciously tampered with after being hacked or tampered by administrators without being noticed by users, causing data users to suffer serious losses.

Method used

The K-means algorithm and Gaussian algorithm are used for data segmentation, security verification information is added, and tampering is detected through the matching module and early warning module to ensure data confidentiality and traceability.

Benefits of technology

It effectively improves the security of data storage, ensures that users can be warned in time when data is tampered with, and the confidentiality effect is improved through segmentation and identification mechanisms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118260813B_ABST
    Figure CN118260813B_ABST
Patent Text Reader

Abstract

The invention discloses a data security storage method with a traceability function, comprising S1: a data acquisition stage: autonomously judging the size of externally transmitted data, and automatically receiving data within a set size; S2: a segmentation generation stage: segmenting the data received in the S1 stage to generate a plurality of data packets. The data security storage method with a traceability function, in the S2 stage, the received data is segmented, so that the data can be segmented into a plurality of data packets, and then in the S3 stage, the segmented data packets are marked and covered, that is, a layer of security verification information is added thereto, and the security verification information itself is automatically destroyed when the data packet is opened, and a matching module in the S5 stage can match the security verification information of each node, and when the analysis module detects that the security verification information of the corresponding node is inconsistent, that is, there is a verification point of destruction, the early warning module will actively warn the user, thereby improving the security of data storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and in particular to a data security storage method with a tracing function. Background Art

[0002] Data storage refers to temporary files generated during the processing of data flow or information that needs to be found during the processing. Commonly used storage media are disks and tapes. The storage organization method varies depending on the storage medium. On tapes, data is accessed only in a sequential file manner; on disks, sequential access or direct access can be used according to usage requirements. The data storage method is closely related to the organization of data files. The key lies in establishing the correspondence between the logical and physical order of records and determining the storage address to improve the data access speed. With the rapid development of Internet technology and the advent of the big data era, the importance of data is increasing, and accordingly, the requirements for data storage technology are also increasing.

[0003] After searching, it is found that the data storage method in the prior art is typically such as a data storage device in publication number CN103886204B, including: a collection unit, when receiving a measurement command, starts to collect the current biometric information of the user of the terminal, and stops collecting the current biometric information when the collection time is equal to the preset collection time or a command to stop measuring is received; a comparison unit, compares the current biometric information with each biometric information in at least one pre-stored biometric information to determine the target biometric information that matches the current biometric information; a storage unit, obtains the target identity account information associated with the target biometric information, and stores the current biometric information in the target identity account corresponding to the target identity account information. Accordingly, the present invention also provides a data storage method. Its main feature is that it can solve the problem of users needing to manually select the storage identity account of data when performing health tests, reducing user operations.

[0004] In summary, the existing data storage methods may be maliciously tampered with without the user's knowledge after being subjected to illegal leakage incidents such as hacker intrusion and administrator tampering, thereby causing serious losses to the data users. That is, in order to address the above problems, the existing equipment needs to be improved. Summary of the invention

[0005] The object of the present invention is to provide a data security storage method with a traceability function to solve the problem that the existing data security storage method with a traceability function proposed in the above background technology is provided with a multi-layer processing component, and the multi-layer processing component is fixed by a group of fixing parts. This fixing method easily makes the middle component unfixed, resulting in the outflow of internal materials, and the existing island-type spinneret structure is complex, and the material is repeatedly distributed through the multi-layer components, which affects the processing efficiency and is not convenient to use.

[0006] To achieve the above-mentioned purpose, the present invention provides the following technical solution: A data security storage method with traceability function, comprising: S1: Data acquisition stage:

[0007] Independently judge the size of externally transmitted data and automatically receive data within the set size;

[0008] S2: Segmentation generation stage:

[0009] The data received in the S1 phase is segmented to generate several data packets, and the segmentation form can be selectively set according to preference;

[0010] S3: Node identification phase:

[0011] The data packets generated by the segmentation in the S2 stage are marked, that is, security verification information is added. At the same time, the marking form is gradually increased according to the number of nodes, so as to facilitate the tracing of the original data received in the S1 stage;

[0012] S4: Classification storage stage:

[0013] The data packets marked in the S3 stage are classified and stored according to their contents, and the basis for classification and storage can be adjusted by oneself;

[0014] S5: Self-check and early warning stage:

[0015] Several data packets classified and stored in S4 are checked based on whether the security verification information is opened. If the security verification information is detected and the data packet is opened for viewing, there is a risk of leakage, reading or tampering, an alarm will be sounded. Otherwise, it means that the data packet is in a confidential state and does not involve addition, deletion, modification or query operations.

[0016] Preferably, in the S1 stage, when it is analyzed and determined that the data to be received exceeds the set size, the automatic receiving function is turned off and manual selection is required to receive it.

[0017] Preferably, the S2 stage uses K-means algorithm and Gaussian algorithm to perform data segmentation, and its segmentation logic is to first use K-means algorithm to perform clustering coarse segmentation, and then use Gaussian algorithm to perform Gaussian fine segmentation on the data after coarse segmentation.

[0018] Preferably, the segmentation form of the S2 stage is divided into random segmentation and sequential segmentation, and the segmentation form can be set or selected by oneself, or two groups of segmentation forms can be used at the same time, that is, a hybrid segmentation method. The hybrid segmentation method of the S2 stage uses the mean shift method of parameter-free clustering to segment the feature area, and then uses the regional growing method to eliminate the fine segmentation effect caused by the normal vector error, and integrates the K-means clustering of the genetic algorithm. At the same time, it inherits the local optimal solution of the K-means clustering and the global optimal solution of the genetic algorithm, so that it can quickly and Accurately segment the flat area and the feature area; cluster the point cloud on the Gaussian sphere using the parameter-free mean shift clustering algorithm after the rough segmentation. Assume that a feature region class Q = {q, i = 1, 2, ... m} after the rough segmentation, and the normal vector of its point set has global uniformity. Gaussian mapping is performed on the point set Q to obtain its Gaussian graph G (Q) = {n (q), q∈Q} = {n, i = 1, 2, ..., m}. Adaptive mean shift clustering is performed on the spatial data G (Q). The adaptive calculation process of this application is as follows:

[0019] First, for any point q in the spatial point set G(Q), its bandwidth h is determined according to the adaptive bandwidth calculation formula; then the Gaussian kernel function K(x) is used to calculate the mean shift vector mH,(p); following the above operation, let p=mHi(p) until ||mHi(p)-p||≤ε, then the iteration ends and the adaptive mean shift clustering of the Gaussian graph G(Q) is completed, and mH(p) of each cluster on the Gaussian graph is obtained. The closest clusters are merged to obtain the fine segmentation result of the feature area.

[0020] Preferably, the identification forms of the S3 stage include fingerprint identification, facial identification and key identification, and the fingerprint identification, facial identification and key identification will self-destruct after correct verification, that is, the security verification information is in an open state.

[0021] Preferably, the classification algorithm formula used in the classification storage in the S3 stage is:

[0022]

[0023] Where xi is the sample data, xj is the data to be classified, and d(xi,xj) is the classification result.

[0024] Preferably, in the S3 stage, for the data xi and xj in the classification algorithm formula, if their feature space is an n-dimensional real vector space xi=(xi1, xi2, xi3...xin), xj=(xj1, xj2, xj3...xjn).

[0025] Preferably, the S5 stage is provided with a matching module, an analysis module and an early warning module, and the triggering of the early warning module is based on the analysis result of the analysis module.

[0026] Preferably, the parsing formula of the analysis module in the S5 stage is as follows:

[0027]

[0028] where N is the number of samples, K is the number of clusters, rnk indicates that n belongs to the k-th cluster, and μk is the value of the k-th center point.

[0029] Preferably, the parsing logic of the analysis module in the S5 stage is as follows: divide the objects of n into k partitions according to their attributes, and the core of the k < no algorithm is to optimize the distortion function J to converge to a local minimum but not the global minimum.

[0030] Compared with the prior art, the beneficial effects of the present invention are as follows: the data security storage method with a traceability function

[0031] By using the S2 stage, S3 stage, and S5 stage in cooperation, the present invention can effectively solve the problem that in the existing data storage methods, after being subject to illegal disclosure events such as hacker intrusion and administrator tampering, the data may be maliciously tampered with without being noticed by users, thus causing serious losses to the users of the data. In the S2 stage, the received data is roughly segmented by clustering using the K-means algorithm, and then the roughly segmented data is finely segmented by Gaussian, so that the data can be segmented into several data packets. Compared with the existing overall storage, the confidentiality effect is better. Then, in the S3 stage, the data packets after segmentation are marked and covered, that is, a layer of security verification information is added to them. When the data packets are opened or subjected to tampering operations such as addition, deletion, modification, and query, the security verification information itself will be automatically destroyed. The matching module in the S5 stage can match the security verification information of each node. At the same time, when the analysis module detects that the security verification information of the corresponding node is inconsistent, that is, there is a verification point for destruction, the warning module will actively warn the user, thereby improving the security of data storage and facilitating the traceability of the original data according to the marks. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic diagram of the overall control relationship working process of S1 - S5 of the present invention;

[0033] Figure 2 It is a schematic diagram of the structural composition of the mark form of S3 of the present invention;

[0034] Figure 3 It is a schematic diagram of the corresponding relationship between the mark of S3 and the storage node of the present invention;

[0035] Figure 4 It is a schematic diagram of the internal control relationship working process of S5 of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] See also Figure 1-4 The present invention provides a technical solution: a data security storage method with traceability function, comprising the following steps:

[0038] S1: Data acquisition stage:

[0039] In the S1 stage, when it is analyzed and determined that the data to be received exceeds the set size, the automatic receiving function is turned off and it needs to be manually selected to receive it, which can effectively avoid too many data packets being subsequently decomposed due to the received data being too large, thereby affecting the identification efficiency, thereby ensuring the normal operation of the storage process.

[0040] Independently judge the size of externally transmitted data and automatically receive data within the set size;

[0041] S2: Segmentation generation stage:

[0042] The data received in the S1 phase is segmented to generate several data packets, and the segmentation form can be selectively set according to preference;

[0043] The S2 stage uses the K-means algorithm and the Gaussian algorithm to segment the data, and its segmentation logic is to first use the K-means algorithm to perform clustering rough segmentation, and then use the Gaussian algorithm to perform Gaussian fine segmentation on the data after the rough segmentation.

[0044] The segmentation forms of the S2 stage are divided into random segmentation and sequential segmentation, and the segmentation form can be set or selected by yourself, or two groups of segmentation forms can be used at the same time, that is, the hybrid segmentation method. The hybrid segmentation method of the S2 stage uses the mean shift method of parameter-free clustering to segment the feature area, and then uses the regional growing method to eliminate the fine segmentation effect caused by the normal vector error, and integrates the K-means clustering of the genetic algorithm. At the same time, it inherits the local optimal solution of the K-means clustering and the global optimal solution of the genetic algorithm, so that it can be fast and accurate. The flat area and the feature area are segmented; the data after rough segmentation are clustered on the Gaussian sphere using the parameter-free mean shift clustering algorithm. Assume that a feature region class Q = {q, i = 1, 2, ... m} after rough segmentation, and the normal vector of its point set has global uniformity. Gaussian mapping is performed on the point set Q to obtain its Gaussian graph G (Q) = {n (q), q∈Q} = {n, i = 1, 2, ..., m}. Adaptive mean shift clustering is performed on the spatial data G (Q). The adaptive calculation process of this application is as follows:

[0045] First, for any point q in the spatial point set G(Q), its bandwidth h is determined according to the adaptive bandwidth calculation formula; then the Gaussian kernel function K(x) is used to calculate the mean shift vector mH,(p); following the above operation, let p=mHi(p) until ||mHi(p)-p||≤ε, then the iteration ends and the adaptive mean shift clustering of the Gaussian graph G(Q) is completed, and mH(p) of each cluster on the Gaussian graph is obtained. The closest clusters are merged to obtain the fine segmentation result of the feature area.

[0046] S3: Node identification phase:

[0047] The data packets generated by the segmentation in the S2 stage are marked, that is, security verification information is added. At the same time, the marking form is gradually increased according to the number of nodes, so as to facilitate the tracing of the original data received in the S1 stage;

[0048] The identification forms of the S3 stage include fingerprint identification, facial identification and key identification, and the fingerprint identification, facial identification and key identification will self-destruct after correct verification, that is, the security verification information is in an open state.

[0049] The classification algorithm formula used in the classification storage of the S3 stage is:

[0050]

[0051] Where xi is the sample data, xj is the data to be classified, and d(xi,xj) is the classification result.

[0052] In the S3 stage, for the data xi and xj in the classification algorithm formula, if their feature space is an n-dimensional real vector space, xi = (xi1, xi2, xi3... xin) and xj = (xj1, xj2, xj3... xjn).

[0053] S4: Classification storage stage:

[0054] Classify and store several data packets marked in the S3 stage according to their content, and the basis for classification storage can be adjusted by oneself;

[0055] Check several data packets stored in the S4 classification. The basis for the check is whether the security verification information is opened. If the security verification information is detected and the data packet is opened for viewing, that is, there is a potential risk of leakage, reading or tampering, an alarm will be issued. Otherwise, it means that the data packet is in a confidential state and does not involve operations of addition, deletion, modification and query.

[0056] S5: Self-check and early warning stage:

[0057] In the S5 stage, a matching module, an analysis module and an early warning module are set, and the triggering of the early warning module is based on the analysis result of the analysis module.

[0058] The parsing formula of the analysis module in the S5 stage is:

[0059]

[0060] Among them, N is the number of samples, K is the number of clusters, rnk represents that n belongs to the kth cluster, and μk is the value of the kth center point.

[0061] The parsing logic of the analysis module in the S5 stage is: divide the objects of n into k partitions according to their attributes. The core of the k < no algorithm is to optimize the distortion function J to converge to a local minimum but not a global minimum.

[0062] Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A data security storage method with traceability function, characterized in that: The specific steps include: S1: Data acquisition stage: Independently judge the size of externally transmitted data and automatically receive data within the set size; S2: Segmentation generation stage: The data received in the S1 phase is segmented to generate several data packets, and the segmentation form can be selectively set according to preference; S3: Node identification phase: The data packets generated by the segmentation in the S2 stage are marked, that is, security verification information is added. At the same time, the marking form is gradually increased according to the number of nodes, so as to facilitate the tracing of the original data received in the S1 stage; S4: Classification storage stage: The data packets marked in the S3 stage are classified and stored according to their contents, and the basis for classification and storage can be adjusted by oneself; S5: Self-check and early warning stage: A check is performed on several data packets classified and stored in S4, and the basis for the check is whether the security verification information is opened. If the security verification information is detected that the data packet is opened for viewing, which means there is a risk of leakage, reading or tampering, an alarm will be sounded. Otherwise, it means that the data packet is in a confidential state and does not involve addition, deletion, modification and query operations; the identification form of the S3 stage includes fingerprint identification, facial identification and key identification, and the fingerprint identification, facial identification and key identification will self-destruct after the verification is correct, that is, the security verification information is in an open state.

2. A data security storage method with traceability function according to claim 1, characterized in that: In the S1 stage, when it is analyzed and determined that the data to be received exceeds the set size, the automatic receiving function is turned off and manual selection is required to receive it.

3. The data security storage method with traceability function according to claim 1, characterized in that: The S2 stage uses the K-means algorithm and the Gaussian algorithm to segment the data, and its segmentation logic is to first use the K-means algorithm to perform clustering rough segmentation, and then use the Gaussian algorithm to perform Gaussian fine segmentation on the data after the rough segmentation.

4. The data security storage method with traceability function according to claim 1, characterized in that: The segmentation forms of the S2 stage are divided into random segmentation and sequential segmentation, and the segmentation form can be set or selected by oneself, and two groups of segmentation forms, namely a mixed segmentation method, can also be used at the same time.

5. The data security storage method with traceability function according to claim 1, characterized in that: The classification algorithm formula used in the classification storage of the S3 stage is: Where xi is the sample data, xj is the data to be classified, and d(xi, xj) is the classification result.

6. The data security storage method with traceability function according to claim 1, characterized in that: In the S3 stage, for the data xi and xj in the classification algorithm formula, if its feature space is an n-dimensional real vector space xi = (xi1, xi2, xi3...xin), = (xj1, xj2, xj3...xjn).

7. The data security storage method with traceability function according to claim 1, characterized in that: The S5 stage is provided with a matching module, an analysis module and an early warning module, and the triggering of the early warning module is based on the analysis result of the analysis module.

8. The data security storage method with traceability function according to claim 1, characterized in that: The analytical formula of the analysis module in the S5 stage is: Among them, B is the number of samples, K is the number of clusters, rnk means that n belongs to the kth cluster, and k is the value of the kth center point.

9. The data security storage method with traceability function according to claim 1, characterized in that: The parsing logic of the analysis module in the S5 stage is: divide the n objects into k segments according to their attributes, and the core of the k<no algorithm is to optimize the distortion function J so that it converges to a local minimum but not a global minimum.