Classified data security identifier generation method and device, medium and electronic equipment
Through the method of generating and embedding data set honey points, the problem of insufficient anti-damage ability of data security identification in the existing technology is solved, the classification and hierarchical management of important data and general data is realized, and the anonymity and security of data identification are improved. , suitable for tracking and tracing data in cross-border scenarios.
Patent Information
- Application Number
- CN202410815544.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-24
AI Technical Summary
The data security identification in the existing technology has insufficient anti-corruption capabilities and cannot perform classified and hierarchical management according to the importance of the data, making it difficult to generate data identification with high concealment and high anti-corruption properties.
By collecting the inherent attribute information and data flow information of the original data set, the inherent attribute vector and the flow identification vector are generated, encoded to form a data set honey point, and embedded in the original data set to form a classified data security identification.
It realizes the generation of different granularity identifiers for important data and general data, enhances the damage resistance and security of data identifiers, reduces the possibility of data identifiers being damaged, and is suitable for tracking and tracing in cross-border data scenarios.
Smart Images

Figure CN118690197A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data security technology, and in particular to a method, device, medium and electronic device for generating a classified data security identifier. Background Art
[0002] Cross-border data, or cross-border data transmission, refers to the process of transferring data of individuals, enterprises or other entities from one country or region to another. With the continuous development of globalization and digitalization, and the rapid development of Internet technology, cross-border data has become a common phenomenon. Frequent cross-border data has also triggered a series of privacy and security issues. Ensuring the security of cross-border data and achieving traceability of cross-border data are urgent issues to be solved in cross-border data. In addition, for important data, given the unique nature of important data, the complexity of operations and the high risks involved, it is necessary to implement stricter supervision and management of important data to ensure the ability to trace key sensitive information, so that dangerous data outbound behavior can be quickly discovered and stopped in time before it occurs, avoiding further expansion of harm. Therefore, it is necessary to classify and grade data security.
[0003] Data identification plays a vital role in the classification and hierarchical management of data security. By setting the security level of data fields and designing security labels in the data dictionary, we can record various attributes of data, such as data volume, data type, generation time, and application field. However, the generation of data identification often lags behind the generation of data, making it difficult to achieve immediate and close integration with the data itself. This time misalignment makes it difficult to embed data identification into the original data.
[0004] In addition, the data identification design in the prior art also has the disadvantages that the generated identification is not resistant to damage and cannot be designed and generated for important data and general data. This is because:
[0005] First, the data identifiers designed in the prior art do not consider simulation based on the original data, that is, the degree of simulation of the real data is insufficient. The generated data identifier is too different from the original data from an external perspective, and the generated data identifier cannot simulate the real data well, resulting in insufficient anonymity of the data identifier in the original data set. It is easy for attackers to accurately identify, modify or damage the data identifier, which affects the data identifier's ability to resist damage. Existing identifier generation technology is difficult to solve the problem of high anonymity and anti-damage of the identifier.
[0006] Secondly, the existing technology does not take the importance of data into consideration, that is, it does not consider that the importance of data will affect the final granularity of the identification. However, the granularity of information recorded by the identification and the security that the identification should have are inseparable from the importance of the data. Not considering the importance of the data means that the generation of the identification is not targeted, and it is impossible to generate data identification with moderate granularity and matching security. Designing the same identification generation method for data of different importance makes it difficult to achieve classification and grading control of important data and general data, which in turn affects the effect of identification generation.
[0007] Therefore, it is necessary to provide a method for generating classified data security identifiers that can generate data security identifiers with high anonymity and high resistance to damage according to the importance of the data. Summary of the invention
[0008] The purpose of the present invention is to provide a method, device, medium and electronic device for generating classified data security identification, so as to solve the problems in the prior art that the data security identification is insufficient in damage capability and cannot be classified and graded according to the importance of the data.
[0009] In a first aspect, the method for generating a classified data security identifier provided by the present invention includes: collecting an original data set, extracting inherent attribute information from the original data set, and evaluating and classifying the original data set according to the inherent attribute information to obtain a data type; integrating the inherent attribute information according to the data type to obtain an inherent attribute vector of the original data set; generating and updating a flow identification vector according to the data type, the flow identification vector being used to record data flow information of the original data set; encoding the inherent attribute vector and the flow identification vector to generate x data set honey points, where x>1, and embedding the x data set honey points into the original data set to form a classified data security identifier.
[0010] The beneficial effects of the method for generating classified data security identifiers provided by the present invention are as follows: it proposes to generate identifiers of different granularities for important data and general data, and to generate identifiers in two dimensions, namely, important data level and general data level, respectively, so as to better realize targeted identifier generation. A data set honeypot is designed that is inseparable from the real data in form, and a highly reliable and highly concealed data identifier is formed, which enhances the damage resistance and security of the data identifier and reduces the possibility of the data identifier being damaged. The inherent attribute information of the data and the data flow information of the entire life cycle of the data are comprehensively considered, and the inherent attributes of the data and the data flow information are collected and recorded. The flow identification vector is designed to record the data flow information of the entire life cycle of the data for tracking and tracing the data, thereby generating a complete identifier suitable for cross-border data scenarios.
[0011] In a possible embodiment, the original data set is evaluated and classified according to the inherent attribute information to obtain the data type, including: detecting the inherent attribute information, and determining whether there is an importance score field in the inherent attribute information; when the importance score field is detected, obtaining the data type according to the importance score field; when the importance score field is not detected, obtaining the data volume and data value field information of the original data set, and calculating the importance score of the original data set according to the data volume and data value field information to obtain the data type.
[0012] In another possible embodiment, the importance score of the original data set is calculated based on the data volume and data value field information to satisfy the following formula: Among them, S represents the importance score, L represents the data value field, and N represents the data volume.
[0013] In other possible embodiments, the data types obtained by evaluating and classifying the original data set include general data and important data; according to the data type, the inherent attribute information is integrated to obtain the inherent attribute vector of the original data set, including: when the data type is general data, the integration of the inherent attribute information includes integrating the data volume, generating organization, data field, data category, data importance score and time span of the original data set, and the integrated inherent attribute information is formed into an inherent attribute vector; when the data type is important data, the integration of the inherent attribute information includes integrating the data volume, generating organization, data field, data category, data importance score, time span, data sensitivity reason and data value of the original data set, and the integrated inherent attribute information is formed into an inherent attribute vector.
[0014] The data types obtained by evaluating and classifying the original data set include general data and important data; generating and updating the flow identification vector according to the data type, including: when the data type is general data, generating the flow identification vector according to the data flow reason, data flow method, data flow occurrence time, data flow sender, data flow receiver, access agency sequence, data owner and data processing agency sequence of the original data set, and updating the information recorded in the flow identification vector according to the data flow information; when the data type is important data, generating the flow identification vector according to the data flow reason, data flow method, data flow occurrence time, data flow sender, data flow receiver, access agency sequence, data owner and data processing agency sequence of the original data set, and updating the information recorded in the flow identification vector according to the data flow information.
[0015] Encoding the intrinsic attribute vector and the flow identification vector to generate x data set honey points includes: concatenating the intrinsic attribute vector and the flow identification vector to form a vector to be encoded; encoding and encrypting the vector to be encoded to generate x data set honey points.
[0016] When the data type obtained by evaluating and classifying the original data set is important data, after embedding x data set honey points into the original data set, the method also includes: obtaining data composition structure characteristics and space size information of the original data set; encrypting the inherent attribute vector to generate vector ciphertext; transforming the composition structure of the vector ciphertext according to the data composition structure characteristics and generating an attribute trigger according to the space size information; and coupling the attribute trigger with the original data set.
[0017] In a second aspect, the present invention also provides a device for generating a classified data security identifier, the device comprising: a collection unit, used to collect an original data set, extract inherent attribute information from the original data set, and evaluate and classify the original data set according to the inherent attribute information to obtain a data type; an integration unit, used to integrate the inherent attribute information according to the data type to obtain an inherent attribute vector of the original data set; a flow information recording unit, used to generate and update a flow identification vector according to the data type, the flow identification vector being used to record data flow information of the original data set; an encoding unit, used to encode the inherent attribute vector and the flow identification vector to generate x data set honey points, wherein x>1, and embed the x data set honey points into the original data set to form a classified data security identifier.
[0018] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for generating the above-mentioned classified data security identification is implemented.
[0019] In a fourth aspect, the present invention further provides an electronic device, comprising: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above-mentioned method for generating a classified data security identifier.
[0020] For the beneficial effects of the second to fourth aspects, reference may be made to the description of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of a flow chart of a method for generating a classified data security identifier provided by an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of the overall process of generating a classified data security identifier provided by an embodiment of the present invention;
[0023] Figure 3 A schematic diagram of a process for implementing the generation of a classified data security identifier provided by an embodiment of the present invention;
[0024] Figure 4 A schematic diagram of a device for generating a classified data security identifier provided by an embodiment of the present invention;
[0025] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than 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. Unless otherwise defined, the technical terms or scientific terms used herein should be understood by people with general skills in the field to which the present invention belongs. "Including" and similar words used in this article mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0027] In view of the problems existing in the prior art, embodiments of the present invention provide a method, an apparatus, a medium and an electronic device.
[0028] This embodiment provides a method. Figures 1 to 3 , the method comprising:
[0029] S101: Collecting original data sets, extracting inherent attribute information from the original data sets, and evaluating and classifying the original data sets according to the inherent attribute information to obtain data types.
[0030] In S101, in a possible embodiment, evaluating and classifying the original data set according to the inherent attribute information to obtain the data type includes: detecting the inherent attribute information, and determining whether there is an importance score field in the inherent attribute information. When the importance score field is detected, the data type is obtained according to the importance score field. When the importance score field is not detected, the data volume and data value field information of the original data set are obtained, and the importance score of the original data set is calculated according to the data volume and the data value field information to obtain the data type.
[0031] In a specific embodiment, the original data set is collected, and the inherent attribute information that can be extracted from the original data set includes: the data volume N of the original data set, the generating organization P, the field F to which the data belongs, the data category C, the data importance score S, the time span T, the data sensitivity reason R and the data value L and other information.
[0032] It is detected whether the inherent attribute information extracted from the original data set contains an importance score field. When the importance score field is detected, the importance score is obtained using the information contained in the importance score field extracted from the original data set, and the original data set is classified as important data or general data according to the importance score result.
[0033] When the importance scoring field is not detected, the original data set is scored as follows: s ={x1, ..., x n}, obtain the data volume N and data value L of the original data set (when there is no field representing the data value in the original data set, the value of L is set to 1), and calculate the importance score of the original data set according to the importance score calculation formula. Specifically, in this embodiment, the importance score calculation satisfies the following formula: Where S represents the importance score. According to the calculation result, the data can be divided into important data and general data. In a specific example, the importance score S calculated is greater than e 2 The data is marked as important data, and the calculated importance score S is less than or equal to e 2 The data is marked as general data. By applying the importance scoring formula, the importance classification of the data set that lacks the dimension attribute of importance can be obtained, which is used to generate data security identification customized according to the data type. It should be noted that the above importance scoring formula is only applicable to the importance calculation of data sets with a data volume greater than 1, because if the data volume of the data set is 1, log 10 The value of N is 0, log20 and has no meaning.
[0034] S102: Integrate the inherent attribute information according to the data type to obtain the inherent attribute vector of the original data set.
[0035] In S102, in a possible embodiment, according to the data type, the inherent attribute information is integrated to obtain the inherent attribute vector of the original data set, including:
[0036] When the data type is general data, integrating the inherent attribute information includes integrating the data volume N, generating organization P, data field F, data category C, data importance score S and time span T of the original data set, and the integrated inherent attribute information is formed into an inherent attribute vector.
[0037] When the data type is important data, the integration of inherent attribute information includes integrating the data volume N, generating organization P, data field F, data category C, data importance score S, time span T, data sensitivity reason R and data value L of the original data set, and the integrated inherent attribute information is formed into an inherent attribute vector.
[0038] In a specific embodiment, the calculation of the time span satisfies the following formula T=t n -t1, where t n Indicates the time when the first data in the data set is generated, and t1 indicates the time when the last data in the data set is generated.
[0039] In a possible embodiment, when the data type is general data, the inherent attribute vector V formed by integrating the inherent attribute information is general =<N,P,F,C,S,T,...> For the intrinsic attribute vector of general data, it is necessary to perform integrity verification on the intrinsic attribute vector, that is, the first six fields {v1, v2, ..., v6} are required to be non-empty. When null values are detected in the first six fields, the null values are filled with the 'Unknown' field. The intrinsic attribute vector after the integrity verification is the final intrinsic attribute vector of general data.
[0040] In a possible embodiment, when the data type is important data, the inherent attribute vector V formed by integrating the inherent attribute information is important =<N,P,F,C,S,T,R,L,…> For the intrinsic attribute vector of general data, it is necessary to verify the integrity of the intrinsic attribute vector, that is, the first eight fields {v1, v2, ..., v8} are required to be non-empty. When the first six fields are detected to have empty values, the empty values are filled with the 'Unknown' field. The intrinsic attribute vector after the integrity verification is the intrinsic attribute vector of the important data finally obtained.
[0041] By generating the intrinsic attribute vector of a data set through the method designed by the present invention, a unified intrinsic attribute vector divided according to the importance of the data can be obtained, which lays a foundation for the subsequent encoding of the intrinsic attributes to form the honey point of the data set and the attribute trigger.
[0042] S103: Generate and update a flow identification vector according to the data type, where the flow identification vector is used to record data flow information of the original data set.
[0043] In S103, in a possible embodiment, generating and updating a flow identification vector according to the data type includes:
[0044] When the data type is general data, according to the data flow reason r, data flow method m, data flow time t of the original data set, cur , the sender of data flow c start , the recipient of data flow c end and the sequence of visiting institutions during the circulation process C acessGenerate a flow identification vector, and update the information recorded in the flow identification vector according to the data flow information. For example, the flow identification vector of general data is Z= <r,m,t cur ,c start , c end , C access >.
[0045] When the data type is important data, according to the data flow reason r, data flow method m, data flow time t of the original data set, cur , the sender of data flow c start , the recipient of data flow c end , the sequence of visiting institutions during the circulation process C acess 、Data Owner c cur and data processing agency sequence H handle Generate a flow identification vector, and update the information recorded in the flow identification vector according to the data flow information. Exemplarily, the flow identification vector of important data is Z= <r,m,t cur ,c start , c end , C access , c cur , H handle >.
[0046] From its generation to its final disappearance, data will go through a series of operations such as data processing, data circulation, and data processing, that is, a large amount of key information will be generated in the entire life cycle of data, which is the key to cross-border tracking and tracing of data. By designing a circulation identification vector in the present invention, updating the information contained in the circulation identification vector according to the full life cycle information of the data can realize a unified and standardized record of the data circulation information of the entire life cycle of the data, which can lay the foundation for the subsequent encoding of the circulation attributes.
[0047] In a specific embodiment, the flow identification vector Z of important data is generated and updated. <r,m,t cur ,c start ,cen d , C access , c cur , H handle >For example, the process of recording the latest data flow information includes:
[0048] S1031: At the initial moment, data is not sent to the flow, so the r and m fields in the flow vector are filled with null values. cur The field is the data generation time t n , where t n is the time when the last data in the data set in the inherent attribute is generated, c start and ccur Both are generated from the inherent attributes of the data, P, c end is a null value, C acess The information of the data generator is recorded in C acess = , H handle The sequence does not record any flow information, and the sequence content is empty, that is, Z= <null,null,t n ,P,null, ,P,<>>.
[0049] S1032: After the first transfer occurs, record the transfer reason r0 and transfer mode m0, fill in the r and m field values in the transfer identification vector Z, and cur The field is updated to the time when this transfer occurred, t0, c end and c cur Update using the current transfer destination institution c1, C acess Add element c1. If the mechanism c1 processes the data, then H handle = <c1>, that is, Z= <r0,m0,t0,P,c1,<P,c1> , c1, <c1>>.
[0050] S1033: After the next data transfer occurs, the reason and mode of the transfer are recorded, and the r and m field values in the transfer identification vector Z are updated. The data transfer time Tcur is used to update t cur field.
[0051] S1034: Since the sender of the data transfer is the receiver of the previous transfer, that is, the data receiver recorded in the previous data transfer is used as the sender of this data transfer, and the receiver C of the data transfer is obtained. end , c end Field updated to C end , and the current data owner c cur Update to the recipient C of this data flow end .
[0052] S1035: Towards C acess Add C end , indicating that the current institution C end It also has the function of accessing data. In addition, if the current organization processes the data, H handle Sequence Addition C end Fields maintain the organization that has processed the data in the form of a sequence to achieve timely update of information.
[0053] S1036: Repeat steps S1033, S1034, and S1035 until the data shows abnormal cross-border behavior or the data eventually disappears.
[0054] S104: Encode the inherent attribute vector and the flow identification vector to generate x data set honey points, where x>1, and embed the x data set honey points into the original data set to form a classified data security identification.
[0055] In S104, in a possible embodiment, the intrinsic attribute vector and the flow identification vector are encoded to generate x data set honey points, including: concatenating the intrinsic attribute vector and the flow identification vector to form a vector to be encoded; encoding and encrypting the vector to be encoded to generate x data set honey points.
[0056] Exemplarily, the inherent attribute vector and the flow identification vector are concatenated to form a vector to be encoded I, that is, Then, the encoding operation is performed on the encoding vector so that the honey point of the data set obtained after encoding can accurately record the content of the two dimensions of the inherent attribute information and the flow information of the data.
[0057] In a possible embodiment, the encoding method for the vector to be encoded may be: determining the number x of dataset honey points to be generated, adding an index field after the vector to be encoded and encrypting to generate a dataset honey point, wherein the initial value of the index field is 1; repeatedly incrementing the value of the index field, and then adding the index field after the value is incremented after the vector to be encoded to encrypt and generate a dataset honey point, until the value of the index field after the value is incremented is equal to the number of dataset honey points, thereby generating x dataset honey points.
[0058] In a specific embodiment, in the process of encoding the encoding vector to form the data set honey point, RSA and AES collaborative encryption is used, and the cipher block chaining (CBC) mode is used to further enhance the ability of the AES encryption process to resist cracking to achieve the encoding operation of the attribute information. The process specifically includes: first, the data owner creates a key for encryption, and uses the public key K1 of the RSA encryption algorithm to encrypt the key, and transmits it to the data receiver c end , ensuring the security of the key. Secondly, all data is encrypted using the key before data transmission to achieve the unification of hiding the true content of the data and the encryption form. Subsequently, the inherent attribute vector is also securely encrypted using the key to form a data set honeypoint that is indistinguishable in form. Finally, the receiver c end Use the private key K2 corresponding to the public key K1 to decrypt the key and restore the data and the inherent attribute information and flow information it carries.
[0059] In a possible embodiment, after generating x data set honey points, the x data set honey points are embedded in the original data set. Generating x data set honey points is equivalent to backing up the identifier x-1 times, realizing multiple redundancies of the designed data set honey points. Embedding x data set honey points into the original data set can realize redundant backup of the same data identifier while ensuring fine-grained identifier embedding, solving the problem that data cutting transmission, data discarding, data tampering, etc. may cause the data identifier to be discarded or tampered.
[0060] The present invention forms a data set honey point by performing encoding operation after obtaining the inherent attribute vector and the flow identification vector of the original data set to obtain a more secure and more simulated identification. The generation of the data set honey point is based on the idea of the honey point, that is, by encoding to generate a data identification that is indistinguishable from the original data in form, so that an attacker cannot intuitively distinguish whether there is a data set honey point in the data set and cannot distinguish which data set honey points are. The generation of x data set honey points also realizes the embedding of multiple redundant copies of the designed data set honey points into the original data set, which can enhance the security of the identification.
[0061] In addition, the encoding method used in the generation of the dataset honey points of the present invention supports decoding operations, that is, the encoding method used can enable the supervisor to accurately decode and restore the attribute information contained in the dataset honey points, and enhance the reliability and security of the data identification through honey point deployment and deception defense without affecting the normal function of the data identification. The encoding method used to generate the dataset honey points requires a shorter encoding time, thereby avoiding the problem that the long encoding process consumption affects the generation performance of the dataset honey points, and the long encoding consumption is not suitable for real application scenarios.
[0062] S105: When the data type obtained by evaluating and classifying the original data set is important data, after embedding the x data set honey points into the original data set, it also includes: obtaining the data composition structure characteristics and space size information of the original data set; encrypting the inherent attribute vector to generate vector ciphertext; transforming the composition structure of the vector ciphertext according to the data composition structure characteristics and generating the attribute trigger according to the space size information; coupling the attribute trigger with the original data set.
[0063] In S105, in a specific embodiment, the specific process of generating an attribute trigger includes: identifying the category information of the original data set, the categories of the original data set include images, texts, etc. Extracting the structural features of the data based on the category of the original data set, including the data composition result features and spatial size information of the original data set, etc. Specifically, for the data of the image category, statistically analyzing its pixel value size and RGB channel attributes. The inherent attribute vector is encrypted using the AES algorithm to generate a vector ciphertext to ensure security. Referring to the data composition result features in the original data set, the composition result of the vector ciphertext is converted and an attribute trigger is generated based on the spatial size information. Exemplarily, taking the category of the original data set as an image, the vector ciphertext is converted into a byte string, and written into and formed into a blank image according to the pixel value size and RGB channel attributes to obtain an attribute trigger.
[0064] Coupling the attribute trigger with the original data set enables the attribute trigger with data set information to be written into the carrier data while being hidden.
[0065] For different types of data, the process of coupling the attribute trigger with the original data set is slightly different. For example, for image data, the LSB algorithm is used to write the attribute trigger into the original image under the condition of slight disturbance. The specific process is as follows: First, the binary representation of the original image data and the binary representation of the attribute trigger are obtained. Secondly, the least significant bit of each pixel in the original image is cleared to zero, and the most significant bit of the attribute trigger is obtained. Subsequently, the binary representation of the cleared original image is "OR" operated with the most significant bit of the attribute trigger, and written into the original image. The above process can realize the coupling of the attribute trigger image and the original image.
[0066] For text data, arithmetic coding is used to write attribute triggers into the original text. The specific process is as follows: First, the content recorded in the attribute trigger is converted into a binary bit stream. Secondly, a pre-trained language model, such as GPT-2, is loaded to process the text data into a format that can be parsed by the language model. Subsequently, the language model is used to generate text that conforms to the context, and the binary bit stream obtained in the first step is directly attached to the generated text to realize the writing of the information carried by the attribute trigger. The above process can realize the coupling of the attribute trigger and the original text.
[0067] After the content of the attribute trigger is written into the original data set in text form, the attribute trigger can be coupled with the original data. By obtaining the attribute trigger and coupling it with the single data, a second layer of security barrier for important data is realized, and the design and generation of data security identification for two dimensions, important data level and general data level, is realized.
[0068] The attribute trigger designed by the present invention is a unique identifier for important data, which has the characteristics of high coupling and strong correlation. The attribute trigger can make up for the problem that the dataset honey spot has a low degree of coupling to the single data. The effect of the dataset honey spot is to realize the generation of the identifier at the dataset level and embed it into the dataset. Unlike the dataset honey spot, the effect of the attribute trigger is to couple the encoded identifier (encrypted inherent attribute vector) with the single data, which is equivalent to the generation and embedding of the identifier at the data level.
[0069] The encoding method used by the attribute trigger is reversible, that is, the original content recorded by the data identifier can be restored. This principle is the same as the principle of encoding to form a data set honey point. The generated attribute trigger will not cause a single data to change significantly in the storage space after being embedded in the original data set.
[0070] By generating identifiers at two levels, namely dataset honey points and attribute triggers, it is possible to implement data security identification design for classified and graded important data and general data in cross-border data scenarios.
[0071] The classification data security identification generation method of the present invention proposes to generate identifications of different granularities for important data and general data, and to achieve identification generation of two dimensions of important data level and general data level by encoding to form data set honey points and attribute triggers, so as to better achieve targeted identification generation. Based on the idea of honey points and deception defense, a data set honey point that is inseparable from the real data in form is designed, forming a data identification with high reliability and high concealment, enhancing the damage resistance and security of the data identification, and reducing the possibility of data identification being damaged.
[0072] In addition, the present invention comprehensively considers the inherent attribute information of the data and the data flow information of the entire life cycle of the data, and collects and records the inherent attributes of the data and the data flow information. The flow identification vector is designed to record the data flow information of the entire life cycle of the data for tracking and tracing the data, so as to obtain a complete identification generation that is suitable for cross-border data scenarios. A classification and grading identification generation method that distinguishes important data from general data is proposed. For important data, an additional attribute trigger is designed as a second layer of security barrier based on the data set honey point used for general data, and the attribute trigger can also enhance the coupling degree between the identification and the data.
[0073] See the instruction manual Figure 4 This embodiment also provides a device for generating a classified data security identifier, which is used to implement the above-mentioned method for generating a classified data security identifier. The device includes:
[0074] The collecting unit 201 is used to collect the original data set, extract the inherent attribute information from the original data set, and evaluate and classify the original data set according to the inherent attribute information to obtain the data type.
[0075] The integration unit 202 is used to integrate the inherent attribute information according to the data type to obtain the inherent attribute vector of the original data set.
[0076] The flow information recording unit 203 is used to generate and update a flow identification vector according to the data type, and the flow identification vector is used to record the data flow information of the original data set.
[0077] The encoding unit 204 is used to encode the inherent attribute vector and the flow identification vector to generate x data set honey points, where x>1, and embed the x data set honey points into the original data set to form a classified data security identification.
[0078] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0079] In other embodiments of the present application, the present application discloses an electronic device, such as Figure 5 As shown, the electronic device 300 may include: one or more processors 301; a memory 302; a display 303; one or more applications (not shown); and one or more computer programs 304. The above components may be connected via one or more communication buses 305. The one or more computer programs 304 are stored in the above memory and configured to be executed by the one or more processors 301. The one or more computer programs 304 include instructions, which may be used to execute the following: Figure 1 , Figure 4 And each step in the corresponding embodiment.
[0080] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0081] Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0082] If the integrated unit 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 embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.
[0083] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
Claims
1. A method for generating a classification data security identifier, characterized in that: include: Collecting original data sets, extracting inherent attribute information from the original data sets, and evaluating and classifying the original data sets according to the inherent attribute information to obtain data types; According to the data type, integrating the inherent attribute information to obtain an inherent attribute vector of the original data set; Generate and update a flow identification vector according to the data type, wherein the flow identification vector is used to record data flow information of the original data set; The inherent attribute vector and the flow identification vector are encoded to generate x data set honey points, where x>1, and the x data set honey points are embedded in the original data set to form a classified data security identification.
2. The method according to claim 1, characterized in that: The original data set is evaluated and classified according to the inherent attribute information to obtain a data type, including: Detecting the inherent attribute information, and determining whether there is an importance score field in the inherent attribute information; When the importance score field is detected to exist, obtaining a data type according to the importance score field; When the importance score field is not detected, the data volume and data value field information of the original data set are obtained, and the importance score of the original data set is calculated according to the data volume and the data value field information to obtain the data type.
3. The method according to claim 2, characterized in that The importance score of the original data set is calculated based on the data volume and the data value field information to satisfy the following formula: Among them, S represents the importance score, L represents the data value field, and N represents the data volume.
4. The method according to claim 1, characterized in that The data types obtained by evaluating and classifying the original data set include general data and important data; According to the data type, integrating the inherent attribute information to obtain the inherent attribute vector of the original data set includes: When the data type is general data, integrating the inherent attribute information includes integrating the data volume, generating organization, data field, data category, data importance score and time span of the original data set, and forming an inherent attribute vector with the integrated inherent attribute information; When the data type is important data, integrating the inherent attribute information includes integrating the data volume, generating organization, data field, data category, data importance score, time span, data sensitivity reason and data value of the original data set, and forming an inherent attribute vector with the integrated inherent attribute information.
5. The method according to claim 1, characterized in that The data types obtained by evaluating and classifying the original data set include general data and important data; Generating and updating a flow identification vector according to the data type includes: When the data type is general data, a flow identification vector is generated according to the data flow reason, data flow method, data flow occurrence time, data flow sender, data flow receiver and access mechanism sequence in the flow process of the original data set, and the information recorded in the flow identification vector is updated according to the data flow information; When the data type is important data, a flow identification vector is generated based on the data flow reason, data flow method, data flow time, data flow sender, data flow receiver, access organization sequence during the flow process, data owner and data processing organization sequence of the original data set, and the information recorded in the flow identification vector is updated based on the data flow information.
6. The method according to claim 1, characterized in that Encoding the intrinsic attribute vector and the flow identification vector to generate x data set honey points includes: Concatenate the inherent attribute vector and the flow identification vector to form a vector to be encoded; The vector to be encoded is encoded and encrypted to generate x data set honey points.
7. The method according to claim 1, characterized in that When the data type obtained by evaluating and classifying the original data set is important data, after embedding x data set honey points into the original data set, the method further includes: Obtaining data composition structure characteristics and spatial size information of the original data set; Encrypting the inherent attribute vector to generate a vector ciphertext; transforming the composition structure of the vector ciphertext according to the data composition structure feature and generating the attribute trigger according to the space size information; The attribute trigger is coupled to the raw data set.
8. A device for generating a classified data security mark, characterized in that: include: A collecting unit, used to collect an original data set, extract inherent attribute information from the original data set, and evaluate and classify the original data set according to the inherent attribute information to obtain a data type; An integration unit, configured to integrate the inherent attribute information according to the data type to obtain an inherent attribute vector of the original data set; a flow information recording unit, configured to generate and update a flow identification vector according to the data type, wherein the flow identification vector is used to record data flow information of the original data set; The encoding unit is used to encode the inherent attribute vector and the flow identification vector to generate x data set honey points, where x>1, and embed the x data set honey points into the original data set to form a classified data security identification.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a classified data security identifier according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory so that the electronic device executes the method for generating a classified data security identifier according to any one of claims 1 to 7.
