A data full-cycle management method, system and medium

Through the self-organizing mapping clustering of the Kuramoto model and the skip list of the double hash function, combined with digital tokenization and bit-by-bit encryption, the voting mechanism is used to verify data destruction, which solves the high cost and security of data management in the existing technology. Solve the problem of insufficient security and achieve efficient and secure full-cycle data management.

CN118656345BActive Publication Date: 2024-10-25GUANGZHOU KEAO INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411134701.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-25
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

The existing full-cycle data management method has high costs in managing massive business data, poor archiving accuracy, resulting in large read and write delays, insufficient security, and encryption complexity increases data usage costs.

Method used

The coupled phase oscillator of the Kuramoto model is used for self-organizing map clustering, the skip table of the double hash function is used for data insertion verification, digital tokenization and bit-by-bit secondary encryption, and the voting mechanism is combined for data destruction verification.

Benefits of technology

It achieves accurate archiving without prior knowledge, reduces data management costs, improves data access speed and security, and ensures high data security and low usage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656345B_ABST
    Figure CN118656345B_ABST
Patent Text Reader

Abstract

The present invention provides a data full-cycle management method, system and medium, which relate to the field of data processing technology. The method comprises: collecting multiple business data created by a business system and recording business data logs; taking the main component of each business data as the natural frequency, and performing data clustering on the business data based on self-organizing mapping; packaging the business data in each synchronization group into a jump table with a double hash function for insertion verification; generating a digital token for each data packet; performing bit-by-bit secondary encryption on the digital token in combination with all authorized terminal machine codes; distributing the secondary encrypted digital tokens in the business system; and upon receiving a destruction instruction for a data packet, using an authorized terminal machine to verify the destruction instruction with a voting mechanism, and if the verification passes, destroying the data packet, otherwise, updating the data packet according to the business data log, thereby improving data access speed while improving data security, and effectively reducing data management costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data full-cycle management method, system and medium. Background Art

[0002] Data Lifecycle Management (DLM) refers to the process of systematically managing data throughout its entire life cycle from creation to destruction. This process includes data generation, storage, use, sharing, backup, archiving and final destruction. The goal of data lifecycle management is to ensure that data is effectively managed and protected throughout its life cycle to meet business needs.

[0003] Full-cycle data management can ensure the security, compliance and quality of data throughout its entire life cycle, optimize data storage and utilization efficiency, maximize the business value of data, and reduce management costs and risks. Through systematic management, enterprises can ensure the accuracy and integrity of data and enhance business decision support and competitiveness.

[0004] However, the existing full-cycle data management method often archives business data through prior knowledge during the data management process. This method has a very high management cost for massive business data, and in the absence of prior information, business data is archived into only a few data categories, or even cannot be archived. The poor archiving accuracy leads to the need to traverse a large amount of irrelevant information when reading and writing, which greatly increases data reading and writing delays and has a high data usage cost. In the process of data security management, based on the inaccuracy of archiving and the complexity of existing encryption methods, the data retrieval process needs to decrypt multiple archived data packets to complete data retrieval, which is insufficient in security and further increases the cost of data usage. Summary of the invention

[0005] In order to solve the problem that the existing data full-cycle management method in the prior art often archives and manages business data through prior knowledge during the data management process, this method has a very high cost for managing massive business data, and in the absence of prior information, the business data is archived into only a few data categories, or even cannot be archived. The poor archiving accuracy leads to the need to traverse a large amount of irrelevant information when reading and writing, which greatly increases the data reading and writing delay and the high data usage cost. In the process of data security management, based on the inaccuracy of archiving and the complexity of the existing encryption method, the data retrieval process needs to decrypt multiple archived data packets to complete the data retrieval, which is insufficient in security and further increases the data usage cost. The present invention provides a data full-cycle management method, system and medium.

[0006] The technical solution provided by the embodiment of the present invention is as follows:

[0007] First aspect

[0008] An embodiment of the present invention provides a data full-cycle management method, including:

[0009] S1: Collect multiple business data created by the business system and record business data logs, where each business data corresponds to a timestamp;

[0010] S2: taking the principal component of each piece of service data as the natural frequency of the coupled phase oscillator, performing data clustering based on self-organizing mapping on the service data to obtain multiple synchronization groups;

[0011] S3: Packing the business data in each synchronization group into a skip table with a double hash function for insertion verification, to obtain multiple data packets of the business system, wherein each data packet corresponds to a skip table;

[0012] S4: Generate a digital token for each data packet, wherein the mapping relationship between the digital token and the data packet is stored in a digital token library;

[0013] S5: Combine all authorized terminal machine codes to perform bit-by-bit secondary encryption on the digital token;

[0014] S6: Distribute the twice-encrypted digital token within the business system;

[0015] S7: If a destroy instruction of a data packet is received, proceed to step S9; otherwise, proceed to step S8;

[0016] S8: Update the data packet according to the business data log;

[0017] S9: Use the authorized terminal machine to verify the destruction instruction through a voting mechanism. If the verification passes, the data packet is destroyed. Otherwise, an early warning is issued.

[0018] Second aspect

[0019] An embodiment of the present invention provides a data full-cycle management system, including:

[0020] processor;

[0021] A memory having computer-readable instructions stored therein, wherein when the computer-readable instructions are executed by the processor, the data full-cycle management method of the first aspect is implemented.

[0022] The third aspect

[0023] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the data full-cycle management method as described in the first aspect is implemented.

[0024] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0025] In the present invention, the coupled phase oscillator of the Kuramoto model is used to perform data clustering based on self-organizing mapping on the business data to obtain multiple synchronization groups. Automatic archiving can be performed according to the main components of the business data without prior knowledge. The data archiving is accurate, which greatly increases the application scenarios of data management and reduces the cost of data use. In the data storage process, a jump table with a double hash function for insertion verification is used to complete the random insertion of data in a simple way, which can quickly complete the data insertion while avoiding address conflicts. Correspondingly, the data retrieval process can also be completed quickly, which further reduces the cost of data use. In the process of data security protection, the data packet is first tokenized into a digital token that can be quickly managed, and then the digital token is encrypted bit by bit in combination with the localized authorized terminal machine code. This arithmetic encryption method is simple, but it can greatly increase the difficulty of obtaining the data packet token, ensuring the high security of the data. Finally, in the data destruction process, a voting mechanism is used to determine whether to destroy, which makes up for the data security vulnerability caused by the destruction of data by a single node, further increasing the security of the data. Based on the accuracy of archiving, the data can accurately find the required data without traversing too much data and unlocking multiple data packets during the reading and writing process, further reducing the cost of data use. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0027] Figure 1 A schematic diagram of a flow chart of a data full-cycle management method provided by an embodiment of the present invention;

[0028] Figure 2 A schematic diagram of the structure of a data full-cycle management system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0030] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.

[0031] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.

[0032] In the embodiments of the present invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are consistent.

[0033] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0034] Reference Manual Attached Figure 1 , showing a flow chart of a data full-cycle management method provided by an embodiment of the present invention.

[0035] The embodiment of the present invention provides a data full cycle management method, which can be implemented by a data full cycle management device, and the data full cycle management device can be a terminal or a server. The processing flow of the data full cycle management method can include the following steps:

[0036] S1: Collect multiple business data created by the business system and record business data logs.

[0037] Each piece of business data corresponds to a timestamp.

[0038] Among them, the business data log includes where the business data comes from and where it goes, which is the flow path of the business data. The log not only records the generation time and timestamp of each piece of data, but also tracks in detail the movement trajectory of the data in the business system. Through such log records, enterprises can effectively monitor and manage data flow, ensure the integrity and security of data, and track and investigate problems that may arise during data processing. In addition, this detailed log information is also helpful for data analysis and optimization of business processes. By understanding the way data flows, enterprises can optimize their data processing and storage structure and improve efficiency.

[0039] S2: Taking the principal component of each piece of business data as the natural frequency of the coupled phase oscillator, the business data is clustered based on self-organizing mapping to obtain multiple synchronization groups.

[0040] Among them, principal component analysis (PCA) is a statistical technique used for data dimensionality reduction and feature extraction. It transforms the original data into a new coordinate system through linear transformation, so that the largest variance is carried by the first axis of the coordinate (i.e., the first principal component), the second largest variance is carried by the second axis, and so on. In this way, the principal component can capture the main variability and structure in the data, and is often used to simplify data, remove noise, and express data efficiently in a lower dimensional space. The mathematical model of coupled phase oscillators shows that even simple systems will naturally tend to a synchronized state when there is a certain degree of coupling (i.e., interaction) between individuals. In coupled phase oscillators based on the Kuramotto model, each oscillator has an inherent natural frequency and interacts with other oscillators through coupling terms.

[0041] It should be noted that the business data is processed by principal component analysis (PCA) to extract the principal components of each data, which represent the key features and sources of variation of the data, thereby simplifying the data structure and reducing the interference of irrelevant noise. The principal components are used as natural frequency inputs into coupled phase oscillators, a classic method for studying the synchronization phenomenon of complex systems. In this way, business data interact dynamically in the oscillator network, where data with similar frequencies naturally tend to be synchronized. Through fine-tuning of the coupling strength, the interaction strength between oscillators can be effectively controlled, so that similar data points are clustered to form synchronized groups, which can not only reveal the natural structure and patterns within the data and promote the self-organization of the data, but also maintain the topological relationship of the data, which is very suitable for processing complex and high-dimensional data sets. In addition, this method does not rely on prior knowledge, so it is particularly useful in the absence of clear category labels, and can automatically discover clusters and patterns in the data.

[0042] In a possible implementation, S2 specifically includes:

[0043] S201: Perform principal component analysis on the business data to extract the principal components of the business data:

[0044] ,

[0045] in, represents the principal component of business data x, and PCA represents principal component analysis.

[0046] S202: Taking the main component as the natural frequency of the corresponding oscillator, wherein each piece of service data corresponds to one oscillator.

[0047] The natural frequency is the natural frequency of the oscillator.

[0048] S203: Taking the natural frequency as an influencing factor, determine the phase dynamic equation of the oscillator:

[0049] ,

[0050] in, Indicates i The phase of an oscillator, Indicates j The phase of an oscillator, t Indicates the time, Indicates i The natural frequency of an oscillator is the influence factor, sin represents the sine function, K represents the coupling strength representing the degree of interaction between oscillators, N Indicates the total number of oscillators.

[0051] S204: Calculate the overall synchronization of the phase dynamic equation.

[0052] ,

[0053] in, R represents the overall synchronization degree, B represents the imaginary unit, A complex number representing a point on the unit circle, e Represents the base of natural logarithm, sin represents the calculation of sine value, cos represents the calculation of cosine value, Indicates modulo.

[0054] Among them, the overall synchronization degree represents the phase synchronization degree of the entire oscillator network, and the value range is 0 to 1. The closer the value is to 1, the higher the synchronization degree is, and the closer the value is to 0, the lower the synchronization degree is. The overall synchronization degree 𝑅 reflects whether the phases of all oscillators tend to be consistent. If the phases of all oscillators are completely synchronized, their complex representations will point in the same direction, and the modulus of the cumulative sum is N , at this time, 𝑅 is 1. If the phases of all oscillators are completely random, the modulus of the cumulative sum approaches 0, and 𝑅 is close to 0. High synchronization indicates that the phases of the oscillators tend to be consistent, reflecting the similarity between data points, thereby revealing natural clustering in the data. This method combines the synchronization characteristics of the oscillator network and the statistical characteristics of the data, and can effectively discover patterns and structures in the data.

[0055] S205: Iterating the phase dynamic equation until the overall synchronization degree is greater than a preset overall synchronization degree.

[0056] During the phase dynamic iteration process, the phase dynamic equation of the Kuramoto model is numerically simulated so that the phase of each oscillator is gradually adjusted and tends to the synchronous state. During the iteration process, the phase of the oscillator changes with time and is constantly affected by other oscillators, and its own phase is adjusted through the coupling mechanism.

[0057] It should be noted that those skilled in the art can set the size of the preset overall synchronization degree according to actual needs, and the present invention is not limited here. Optionally, the preset overall synchronization degree can be set to 0.95.

[0058] S206: Based on the binning principle, the service data is divided into multiple clusters according to the oscillator phase at the current iteration number, and multiple synchronization groups are obtained:

[0059] ,

[0060] in, Indicates i The cluster to which the oscillators belong is the synchronization group, Indicates rounding down. k represents the total number of clusters, Indicates the number of iterations under the current i The oscillator phase of each oscillator, Represents pi.

[0061] It should be noted that the way to determine the total number of clusters is closely related to the coupling strength. In this process, the coupling strength is optimized through the particle swarm optimization algorithm with the goal of maximizing the silhouette coefficient of each synchronization group, ensuring a reasonable total number of clusters.

[0062] For example, suppose we have 300 oscillators whose phases are random values ​​in the range [0,2π], and we want to group them into 5 clusters. We can group the data by phase value by mapping each oscillator's phase value to between 0 and 1, multiplying it by the number of clusters, and then rounding it to get the cluster number.

[0063] The full-cycle management of large amounts of data is complex. If data is managed separately, the system load will increase dramatically and cannot cope with the high computing resource requirements of multiple nodes. If data is managed in a merged manner, the complexity of data retrieval traversal will be too high when calling data, which will also lead to a huge waste of computing resources and greatly reduce the speed of data access. By self-organizing and clustering data without prior knowledge, a simple and effective processing method can be issued. After clustering, data indexes are added to ensure that data can be quickly updated and retrieved.

[0064] Specifically, first, through principal component analysis (PCA), key features are extracted from each business data, which serve as the natural frequencies of the oscillators. These frequencies define the inherent behavior of the oscillators in the model, thereby affecting their interaction and synchronization process. By adjusting the coupling strength, the phase of the oscillator is gradually adjusted to achieve synchronization. This degree of synchronization is measured by the overall synchronization degree (R). The closer the value of R is to 1, the higher the degree of synchronization and the more similar the data points are. By iterating this process until the preset synchronization degree is reached, it is ensured that the oscillator network reaches the desired consistency state. Finally, according to the phase value of the oscillator, the data is divided into different clusters to form synchronization groups. This clustering method based on self-organizing maps is not only efficient and does not require prior knowledge, which greatly reduces the demand for computing resources, but also optimizes the data storage and retrieval process, and improves the speed and accuracy of data processing.

[0065] In a possible implementation, the coupling strength is optimized by a particle swarm optimization algorithm with the goal of maximizing the silhouette coefficient of each synchronization group.

[0066] Among them, particle swarm optimization is an optimization algorithm that simulates group behavior. It gradually approaches the optimal solution through the mutual cooperation and competition of individual particles in the search space. The algorithm is simple, with fewer parameters, easy to implement and adjust, strong global search capability and fast convergence speed.

[0067] The coupling strength represents the strength of the interaction between the oscillators. Specifically, it determines the extent to which the phase of each oscillator is affected by the phase of other oscillators. A larger value of 𝐾 means that the coupling between the oscillators is stronger and it is easier to achieve synchronization. A smaller value of K A value of 0 means that the coupling effect is weak, and the oscillators tend to maintain their own natural frequencies. With the goal of maximizing the silhouette coefficient of each synchronization group, the particle swarm optimization algorithm is used to optimize the coupling strength, and the business data can be reasonably divided into multiple clusters.

[0068] In a possible implementation, the coupling strength is optimized by a particle swarm optimization algorithm with the goal of maximizing the silhouette coefficient of each synchronization group, specifically including:

[0069] Initialize the particle position and particle velocity, where the position of each particle represents a coupling strength value.

[0070] The mean value of the synchronous group silhouette coefficient is used as the particle fitness value:

[0071] ,

[0072] in, Indicates i The coupling strength corresponding to the particle The particle fitness value is the mean value of the synchronous group silhouette coefficient, M Indicates the number of synchronization groups. Indicates j The silhouette coefficient of a synchronization group, max means taking the maximum value, Indicates j The average distance from a business data item to other business data in the same synchronization group. Indicates j The distance from a piece of business data to the nearest synchronization group.

[0073] Update particles based on particle fitness values:

[0074] ,

[0075] in, and Respectively represent i The particle in t +1 iteration and t The speed of iterations, represents the inertia weight, c 1 and c 2 represents the first learning factor and the second learning factor respectively, represents the optimal position of the particle, represents the global optimal position of the particle, and Both represent interval A random number, Indicates the updated particle position.

[0076] The first learning factor and the second learning factor are used to adjust the influence of individual particle experience and group experience.

[0077] Repeat the iteration until the preset number of iterations is reached.

[0078] It should be noted that those skilled in the art can set the preset number of iterations according to actual needs, and the present invention is not limited thereto.

[0079] It should be noted that by using the particle swarm optimization algorithm (PSO) to adjust the coupling strength, we can systematically find the optimal clustering parameters to maximize the silhouette coefficient of the synchronization group. The advantage of this method is that it can automatically adjust the parameters to discover natural clusters in the data without manual intervention, which improves the accuracy and efficiency of clustering. The particle swarm optimization algorithm relies on group intelligence, can effectively explore the solution space and quickly converge to the global optimal solution, and is particularly suitable for processing complex and large-scale data sets. In addition, PSO is simple to implement, with few parameter adjustments and easy maintenance, which makes the algorithm more flexible and robust in practical applications.

[0080] S3: Packing the business data in each synchronization group into a skip list with a double hash function for insertion verification, to obtain multiple data packets of the business system, wherein each data packet corresponds to a skip list.

[0081] Among them, the double hash function is a method of processing data using two independent hash functions in order to reduce hash conflicts and improve the efficiency of data insertion. In this method, each data element is calculated by two different hash functions to generate two hash values, which determine the two potential storage locations of the element in the data structure. If the first position is occupied, the system checks the position indicated by the second hash value. This strategy significantly reduces the probability of conflict and ensures faster search and insertion operations, because even if a conflict occurs in one position, the other position is likely to be free, thus avoiding the need for long chains or data rearrangement. Skip list is a probabilistic data structure, similar to a combination of a balanced tree and a binary search table, mainly used for fast data access. Skip list organizes data through multi-layer linked lists, and each node not only has a pointer to the next element, but also may have one or more jump pointers pointing to other nodes in the same linked list. These jump pointers allow multiple elements to be quickly skipped in search, insertion, or deletion operations, significantly reducing the number of steps required for the operation. When each new element is inserted into the skip list, its number of levels is determined by a random process. The introduction of this random level makes the skip list naturally balanced without the need for complex rotation operations like in AVL trees or red-black trees. In this way, the skip list can maintain structural balance while providing average time and worst-case time performance similar to that of a balanced tree.

[0082] It should be noted that the double hash function ensures that there is no conflict during insertion. The skip list is a randomized data structure that supports fast search, insertion, and deletion operations. It is suitable for scenarios that require efficient read and write operations. The skip list maintains balance through random levels and avoids complex rotation operations. In this way, address conflicts in the data reading and writing process are avoided, data queuing time is saved, and data is ensured to be fast in and out. The double hash function reduces insertion conflicts by providing two potential insertion locations, while the skip list ensures fast data access performance. This method is particularly suitable for scenarios that require efficient read and write operations, such as real-time data processing and high-frequency trading systems. It can effectively process large and dynamically changing data sets, ensure fast data insertion and retrieval, and also simplify the maintenance of data structures.

[0083] In a possible implementation, the skip list includes multiple nodes with keys, values, and forward pointers. S3 specifically includes:

[0084] S301: Calculate the first position and the second position of the key by using the first hash function and the second hash function:

[0085] S302: When the first position and the second position are not overlapped and the first position or the second position is empty, proceed to step S303; otherwise, change the key and return to step S301.

[0086] S303: insert a piece of business data in the same synchronization group into the empty position in the first position and the second position, update the forward pointer and change the key, and return to step S301 until the business data in the same synchronization group is completely inserted.

[0087] Specifically, the two positions of the key are calculated by the first hash function and the second hash function, the uniqueness and idle state of the two positions are verified, and the business data is inserted into the skip list without conflict. If the position conflicts, the key is replaced and recalculated until the data insertion is completed. The advantage of this process is that the combination of the double hash function and the skip list structure effectively reduces insertion conflicts, improves the efficiency of data insertion and query, and ensures the orderliness and fast access of data.

[0088] It should be noted that the method of using double hash functions combined with skip lists optimizes the data insertion and retrieval process. The double hash function provides two potential insertion positions, greatly reducing the probability of hash conflicts, thereby improving the efficiency of data insertion. If the preferred position is already occupied, the system can immediately check the second position, reducing the need for rehashing. At the same time, the hierarchical structure of the skip list allows for rapid traversal of multiple elements, speeding up queries. This method not only improves the data processing speed, but also maintains the orderliness of the data, making subsequent access to the data faster and more intuitive. Overall, this design effectively combines the fast access of hash tables and the efficient search advantages of skip lists to achieve an efficient and stable data management solution.

[0089] S4: Generate a digital token for each data packet.

[0090] The mapping relationship between the digital token and the data packet is stored in the digital token library.

[0091] Among them, digital token is a security mechanism used in authentication and data access control. It is a randomly generated string or digital sequence used to replace sensitive data, such as user credentials, personal information or important business data. In data management, digital tokens are used to replace the actual stored data to protect the data from unauthorized access or exposure. The key advantage of digital tokens is that even in the case of leakage, since they are randomly generated and do not contain any direct information of the actual data, it is difficult for attackers to use these tokens to restore the original data. The digital token library is a secure storage system used to store the mapping relationship between digital tokens and their corresponding original data or data packets. This library is usually encrypted and can only be accessed by authorized systems or users. The existence of the digital token library enables the system to parse the token back to the corresponding data when needed, and at other times, the system uses tokens that cannot directly reveal any sensitive information for operations such as data processing and transmission.

[0092] Tokenization is a data protection technology that protects data privacy and security by replacing sensitive data with irreversible tokens. These tokens are randomly generated digital strings, and the original data cannot be directly derived through reverse engineering. The mapping relationship between the actual original data and the token is stored in a secure database (token library). When the original data needs to be restored, it can be restored by accessing the token library.

[0093] In actual application, the working principle of tokenization is as follows: Generate tokens: When sensitive data needs to be stored or transmitted, replace it with a unique token. The token is randomly generated and can be a string, number, or mixed character. Maintain the mapping relationship: Maintain the mapping relationship between the original data and the token in a secure environment. Use a database to store these mapping pairs. Only authorized systems or personnel can access this mapping database to ensure data security. Data storage and transmission: During storage or transmission, tokens are used instead of original sensitive data. Even if the token is intercepted, the attacker cannot deduce the original data through the token. Data recovery: When the original data is needed, the system can access the token library and find the corresponding original data through the token for recovery.

[0094] S5: Combine all authorized terminal machine codes to perform bit-by-bit secondary encryption on the digital token.

[0095] Among them, the authorized terminal machine code refers to a specific code or serial number that is used to uniquely identify an authorized terminal device. These machine codes are associated with the hardware or software attributes of the device, such as the CPU serial number, network card address, or device-specific unique identification code. They ensure that only specific, verified devices can access or process specific data or resources. During the encryption process, the digital token is XORed with the machine code of the authorized terminal bit by bit. This bit-by-bit encryption method takes into account every bit of the machine code, making the resulting token completely different from the original token, and can only be decrypted when the correct machine code of all relevant terminals is available, which increases the difficulty for attackers to recover data. In general, the uniqueness and encryption participation at the hardware level greatly improves the security of data and the accuracy of access control.

[0096] It should be noted that in this case, even if the digital token is intercepted, it is necessary to overcome two obstacles. The first is to decrypt the original token twice. This process requires knowledge of the secondary encryption method. Although the bit-by-bit encryption method is simple, it is extremely effective for digital tokens, and the localized authorized terminal machine code cannot be decrypted. Even if an authorized terminal machine code is simulated, it is difficult to simulate all local authorized terminal machine codes. The second is to access the database to retrieve the mapping relationship after obtaining the original token. In this process, two layers of verification are required for the original token and the original authorized terminal machine code. Each condition cannot be simulated or reversed for the terminal that intercepts the token, and thus a simple arithmetic relationship is used to ensure the security of the data packet. After updating the authorized terminal, it is only necessary to re-encrypt the digital token, without changing the original data packet. It has strong scalability, simple encryption method and extremely fast speed.

[0097] In a possible implementation, S5 specifically includes:

[0098] S501: Obtain the authorized terminal machine code:

[0099] ,

[0100] in, Indicates i The machine code of the authorized terminal, , n Indicates the total number of authorized terminal machines.

[0101] S502: Using each authorized terminal machine code to perform XOR operations on the digital tokens one by one in turn to complete the secondary encryption of the digital tokens:

[0102] ,

[0103] in, Indicates the number of the digital token u Bit, Represents the second encrypted digital token u Bit, Indicates i The authorized terminal machine code u Bit.

[0104] It should be noted that by combining all authorized terminal machine codes bit by bit to encrypt the digital token twice, the security of the data can be greatly increased, because this method ensures that even if an attacker obtains the digital token, he cannot easily crack the machine codes of all authorized terminals. At the same time, this bit-by-bit encryption method uses the characteristic that only one bit of adjacent bits is different, further reducing the error and data leakage risk during transmission and storage. This method enhances the multi-level defense capability of data protection and ensures the integrity and confidentiality of the data. The next number is generated by bit-by-bit changes, which ensures the minimum change of data.

[0105] By binding the token to the unique machine serial code of the local machine, the simple and effective but unsuitable for processing large amounts of data similar to Gray code processing is effectively integrated into the encryption process of big data. This not only greatly improves security, but also avoids the surge in computational complexity caused by complex encryption algorithms. This method can be executed quickly when updating and retrieving data, and even if it is intercepted, the data cannot be decrypted, and remote theft can be effectively avoided.

[0106] Specifically, any change in one bit only requires moving forward (unique machine serial code) to obtain the corresponding token information, and all are double encrypted based on simple arithmetic methods, avoiding highly complex encryption methods. This offline token combined with the unique information of the local machine can make up for the high encoding and decoding load and easy interception of keys of traditional encryption methods without increasing the encoding and decoding burden, greatly increasing data security and supporting high concurrency and rapid retrieval of data throughout the entire process.

[0107] S6: Distribute the double-encrypted digital token within the business system.

[0108] It is understandable that the digital tokens are distributed after double encryption within the business system, all terminals that receive the digital tokens are authorized, and the tokens remain encrypted when transmitted in the network, thereby reducing the risk of data leakage and ensuring that only authorized users or systems can access the corresponding sensitive data.

[0109] S7: When receiving a destroy instruction of the data packet, proceed to step S9; otherwise, proceed to step S8.

[0110] S8: Update the data packet according to the business data log.

[0111] It should be noted that the business data log records the process path of each data. After the data in the same path is updated, it can be directly updated according to the path recorded in the log. The data packet is updated according to the records in the business data log. This process ensures that the content of the data packet remains up to date and reflects the most recent data changes or business operations. The update process is usually based on the data source and destination information provided by the log to ensure data consistency and accuracy.

[0112] S9: Use the authorized terminal machine to verify the destruction instruction through a voting mechanism. If the verification passes, the data packet is destroyed. Otherwise, an early warning is issued.

[0113] It should be noted that the voting mechanism of authorized terminals is used to verify the legitimacy of the received data packet destruction instructions. If the majority or all authorized terminals agree to the destruction instruction, the operation of destroying the data packet is executed. If the voting does not reach the required agreement ratio, the system will issue a security warning. This voting mechanism increases the security of data destruction decisions and prevents erroneous or malicious data destruction.

[0114] In a possible implementation, the voting mechanism is a unanimous mechanism.

[0115] It should be noted that the unanimous voting mechanism ensures that all authorized terminals must agree to perform key operations, such as the destruction of data packets, which greatly enhances the security and legitimacy of the operation. This mechanism effectively prevents erroneous operations or unauthorized data access, ensures the consistency of decision-making and the secure processing of data, which is particularly important when sensitive or critical data is involved.

[0116] In a possible implementation manner, after S9, the method further includes:

[0117] Update the synchronization group at preset intervals.

[0118] It should be noted that updating the synchronization group at intervals is beneficial to cope with the situation where the existing synchronization group may not be able to classify the newly added business data well, so as to better manage the business data. It should be noted that those skilled in the art can set the preset time length according to actual needs, and the present invention is not limited here.

[0119] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0120] In the present invention, the coupled phase oscillator of the Kuramoto model is used to perform data clustering based on self-organizing mapping on the business data to obtain multiple synchronization groups. The business data can be automatically archived according to the main components without prior knowledge. The data archiving is accurate, which greatly increases the application scenarios of data management and reduces the cost of data use. In the data storage process, a jump table with a double hash function for insertion verification is used to complete the random insertion of data in a simple way, which can quickly complete the data insertion while avoiding address conflicts. Correspondingly, the data retrieval process can also be completed quickly, which further reduces the cost of data use. In the process of data security protection, the data packet is first tokenized into a digital token that can be quickly managed, and then the digital token is encrypted bit by bit in combination with the localized authorized terminal machine code. This arithmetic encryption method is simple, but it can greatly increase the difficulty of obtaining the data packet token, ensuring the high security of the data. Finally, in the data destruction process, a voting mechanism is used to determine whether to destroy, which makes up for the data security vulnerability caused by the destruction of data dominated by a single node, further increasing the security of the data. Based on the accuracy of archiving, the data can accurately find the required data without traversing too much data and unlocking multiple data packets during the reading and writing process, further reducing the cost of data use.

[0121] Reference Manual Attached Figure 2 , showing a structural schematic diagram of a data full-cycle management system provided by the present invention.

[0122] The present invention further provides a data full-cycle management system 20, which is applied to the above-mentioned data full-cycle management method, comprising:

[0123] Processor 201.

[0124] The memory 202 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 201, the data full-cycle management method of the method embodiment is implemented.

[0125] The data full-cycle management system 20 provided by the present invention can execute the above-mentioned data full-cycle management method and achieve the same or similar technical effects. To avoid repetition, the present invention will not go into details.

[0126] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0127] In the present invention, the coupled phase oscillator of the Kuramoto model is used to perform data clustering based on self-organizing mapping on the business data to obtain multiple synchronization groups. Automatic archiving can be performed according to the main components of the business data without prior knowledge. The data archiving is accurate, which greatly increases the application scenarios of data management and reduces the cost of data use. In the data storage process, a jump table with a double hash function for insertion verification is used to complete the random insertion of data in a simple way, which can quickly complete the data insertion while avoiding address conflicts. Correspondingly, the data retrieval process can also be completed quickly, which further reduces the cost of data use. In the process of data security protection, the data packet is first tokenized into a digital token that can be quickly managed, and then the digital token is encrypted bit by bit in combination with the localized authorized terminal machine code. This arithmetic encryption method is simple, but it can greatly increase the difficulty of obtaining the data packet token, ensuring the high security of the data. Finally, in the data destruction process, a voting mechanism is used to determine whether to destroy, which makes up for the data security vulnerability caused by the destruction of data by a single node, further increasing the security of the data. Based on the accuracy of archiving, the data can accurately find the required data without traversing too much data and unlocking multiple data packets during the reading and writing process, further reducing the cost of data use.

[0128] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0129] A general purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.

[0130] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0131] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0132] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0133] In the present invention, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0134] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0135] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0136] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0137] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0139] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0140] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0141] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements a data full-cycle management method as in the method embodiment.

[0142] A computer-readable storage medium provided by the present invention can implement the steps and effects of the data full-cycle management method of the above method embodiment. To avoid repetition, the present invention will not go into details.

[0143] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0144] In the present invention, the coupled phase oscillator of the Kuramoto model is used to perform data clustering based on self-organizing mapping on the business data to obtain multiple synchronization groups. Automatic archiving can be performed according to the main components of the business data without prior knowledge. The data archiving is accurate, which greatly increases the application scenarios of data management and reduces the cost of data use. In the data storage process, a jump table with a double hash function for insertion verification is used to complete the random insertion of data in a simple way, which can quickly complete the data insertion while avoiding address conflicts. Correspondingly, the data retrieval process can also be completed quickly, which further reduces the cost of data use. In the process of data security protection, the data packet is first tokenized into a digital token that can be quickly managed, and then the digital token is encrypted bit by bit in combination with the localized authorized terminal machine code. This arithmetic encryption method is simple, but it can greatly increase the difficulty of obtaining the data packet token, ensuring the high security of the data. Finally, in the data destruction process, a voting mechanism is used to determine whether to destroy, which makes up for the data security vulnerability caused by the destruction of data by a single node, further increasing the security of the data. Based on the accuracy of archiving, the data can accurately find the required data without traversing too much data and unlocking multiple data packets during the reading and writing process, further reducing the cost of data use.

[0145] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0146] There are a few points to note:

[0147] (1) The drawings of the embodiments of the present invention only relate to the structures related to the embodiments of the present invention. Other structures may refer to the general design.

[0148] (2) For the sake of clarity, in the drawings used to describe the embodiments of the present invention, the thickness of layers or regions is exaggerated or reduced, that is, these drawings are not drawn according to the actual scale. It is understood that when an element such as a layer, film, region or substrate is referred to as being "on" or "under" another element, the element may be "directly" "on" or "under" the other element or there may be intermediate elements.

[0149] (3) In the absence of conflict, the embodiments of the present invention and the features therein may be combined with each other to obtain new embodiments.

[0150] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A data full-cycle management method, characterized in that: include: S1: Collect multiple business data created by the business system and record business data logs, where each business data corresponds to a timestamp; S2: taking the principal component of each piece of service data as the natural frequency of the coupled phase oscillator, performing data clustering based on self-organizing mapping on the service data, and obtaining multiple synchronization groups; S3: Packing the service data in each synchronization group into a skip list with a double hash function for insertion verification, to obtain a plurality of data packets of the service system, wherein each data packet corresponds to a skip list; S4: Generate a digital token for each data packet, wherein the mapping relationship between the digital token and the data packet is stored in a digital token library; S5: performing bit-by-bit secondary encryption on the digital token in combination with all authorized terminal machine codes; S6: Distributing the twice-encrypted digital token within the business system; S7: If a destroy instruction of the data packet is received, proceed to step S9; otherwise, proceed to step S8; S8: updating the data packet according to the service data log; S9: Using an authorized terminal machine to verify the destruction instruction through a voting mechanism, if the verification is successful, the data packet is destroyed, otherwise, an early warning is issued; The S2 specifically includes: S201: Perform principal component analysis on the business data to extract the principal components of the business data: , in, represents the principal component of the business data x, and PCA represents principal component analysis; S202: Using the main component as the natural frequency of the oscillator, wherein each piece of service data corresponds to one oscillator; S203: Taking the natural frequency as an influencing factor, determining the phase dynamic equation of the oscillator: , in, Indicates i The phase of an oscillator, Indicates j The phase of an oscillator, t Indicates the time, Indicates i The natural frequency of an oscillator is the influence factor, sin represents the sine function, K represents the coupling strength representing the degree of interaction between oscillators, N Indicates the total number of oscillators; S204: Calculating the overall synchronization degree of the phase dynamic equation; , in, R represents the overall synchronization degree, B represents the imaginary unit, A complex number representing a point on the unit circle, e Represents the base of natural logarithm, sin represents the calculation of sine value, cos represents the calculation of cosine value, Indicates modulus; S205: iterating the phase dynamic equation until the overall synchronization degree is greater than a preset overall synchronization degree; S206: Based on the binning principle, the service data is divided into multiple clusters according to the oscillator phase at the current iteration number to obtain multiple synchronization groups: , in, Indicates i The cluster to which the oscillators belong is the synchronization group, Indicates rounding down. k represents the total number of clusters, Indicates the number of iterations under the current i The oscillator phase of each oscillator, Represents pi.

2. The data full-cycle management method according to claim 1, characterized in that: The coupling strength is optimized by a particle swarm optimization algorithm with the goal of maximizing the silhouette coefficient of each synchronization group.

3. The data full-cycle management method according to claim 1, characterized in that: The skip list includes a plurality of nodes having keys, values ​​and forward pointers; S3 specifically includes: S301: Calculate the first position and the second position of the key by using the first hash function and the second hash function: S302: When the first position and the second position are not overlapped and the first position or the second position is empty, proceed to step S303; otherwise, change the key and return to step S301; S303: inserting a piece of business data in the same synchronization group into the empty position in the first position and the second position, updating the forward pointer and changing the key, and returning to step S301 until the business data in the same synchronization group is completely inserted.

4. The data full-cycle management method according to claim 1, characterized in that: The S5 specifically includes: S501: Obtain the authorized terminal machine code: , in, Indicates α The machine code of the authorized terminal, , n Indicates the total number of authorized terminal machines; S502: Using each authorized terminal machine code to perform XOR operations on the digital token one by one in turn to complete the secondary encryption of the digital token: , in, Indicates the number of the digital token u Bit, Represents the second encrypted digital token u Bit, Indicates α The authorized terminal machine code u Bit.

5. The data full-cycle management method according to claim 1, characterized in that: The voting mechanism is a consensus mechanism.

6. The data full-cycle management method according to claim 1, characterized in that: After S9, the method further includes: The synchronization group is updated at preset time intervals.

7. A data full-cycle management system, characterized in that: include: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the data full-cycle management method according to any one of claims 1 to 6 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data full-cycle management method as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Distributed data file offline migration method and system

    CN116894002A

  • System and methods for secure digital data archiving and access auditing

    US20070174362A1

  • System and Methods for Dynamically and Randomly Encrypting and Decrypting Data

    US20170070483A1