Data security risk assessment method and system based on privacy calculation
Through the data security risk assessment method based on privacy computing, using data classification, smart contracts, homomorphic encryption and de-identification processing, the problem of data classification in the existing technology being difficult to adapt to complex scenarios and risk assessment systems is solved, and the problem of inaccurate data classification in the existing technology is realized. The refined management of data access rights and the accuracy of risk assessment have promoted the healthy development of the data ecosystem.
Patent Information
- Application Number
- CN202410950416.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing data classification and permission management are difficult to adapt to complex scenarios, homomorphic encryption is inefficient, de-identification faces the threat of re-identification in multi-source data fusion, and the risk assessment system ignores the environment, behavior and privacy protection technology, resulting in poor assessment results. precise.
Using a data security risk assessment method based on privacy computing, smart contracts are designed through data classification and fine-grained permission marking, combining homomorphic encryption and de-identification processing, a cross-domain data collaboration framework is established, and the data interaction is used using privacy computing technology, and based on Collaborative data under privacy protection implements risk assessment model operations.
Realizes refined management of data access rights, ensures strict compliance with data access rules, reduces the risk of privacy leakage, improves the security and privacy protection of data interaction, and the generated risk assessment scores are more comprehensive and accurate, providing intuitive and convenient Value decision-making reference.
Smart Images

Figure CN118940291A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data security and privacy protection, and in particular to a data security risk assessment method and system based on privacy computing. Background Art
[0002] Advances in information technology have made data the key to social development, but the accompanying security and privacy issues have become prominent, prompting data protection to become a research focus. Despite significant progress in privacy computing technology, challenges still exist. Existing data classification and permission management are extensive and difficult to adapt to the needs of complex scenarios. Although homomorphic encryption ensures security, its practicality is compromised due to low efficiency and limited applicable computing types. De-identification reduces the risk of direct identification, but still faces the threat of re-identification, especially when multi-source data is integrated. In addition, the current risk assessment system focuses on technical protection and ignores the comprehensive consideration of the environment, behavior and privacy protection technology, resulting in inaccurate and impractical assessment results. Summary of the invention
[0003] In view of the above existing problems, the present invention is proposed.
[0004] Therefore, the present invention provides a data security risk assessment method and system based on privacy computing to solve the balance problem between privacy protection and data utilization efficiency in data interaction.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides a data security risk assessment method based on privacy computing, which includes implementing data classification and fine-grained permission marking;
[0007] Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access;
[0008] Use homomorphic encryption technology to encrypt sensitive data and implement de-identification processing;
[0009] Establish a cross-domain data collaboration framework and use privacy computing technology for data interaction;
[0010] Based on the collaborative data under privacy protection, the risk assessment model is operated to obtain the risk assessment score;
[0011] Based on the risk assessment score, a risk assessment report is automatically generated.
[0012] As a preferred solution of the data security risk assessment method based on privacy computing described in the present invention, wherein: the data classification refers to dividing the data into four levels: public, internal, sensitive and confidential according to the sensitivity;
[0013] The fine-grained permission tagging refers to automatically generating a fine-grained label for each piece of data based on the data classification results, including data type, data source, sensitivity level and access rights.
[0014] As a preferred solution of the data security risk assessment method based on privacy computing described in the present invention, a smart contract is designed based on fine-grained permission marking to specify the permissions and conditions for data access. The specific operation steps are as follows:
[0015] Define data access conditions: Design access control functions based on fine-grained tag information. The expression is:
[0016]
[0017] Where λ represents the time attenuation coefficient, t s Indicates the time point at which the interval starts, t e Indicates the time point at which the interval ends. represents the indicator function, r represents the requester role, p represents the sensitivity level, Indicates whether role r has the right to access data with a sensitivity level of p, w r represents the weight of role r;
[0018] AC(t,r,p)={0,1}, specifies the rule conditions for data access. The output of function AC is a Boolean value, 1 means access is allowed, and 0 means access is denied.
[0019] Design data usage verification function: introduce a cosine similarity function to measure the matching degree between the data usage purpose u and the specified usage range in the data type label d, and judge whether the usage is consistent. The expression is:
[0020]
[0021] Among them, u represents the purpose of data use, d represents the specified use range in the data type label, and θ ud It represents the angle between the purpose of data use and the scope of specified use in the data type label, and η represents the adjustment factor;
[0022] UV(u,d) = {0,1}, output 1 means the purpose matches and the request is allowed to proceed, output 0 means the purpose does not match and the request is rejected;
[0023] Integrated data access logic: Combine AC and UV functions to form a comprehensive access control logic function, expressed as:
[0024]
[0025] ACL(t,r,p,u,d)={0,1}, output 1 means the access request is highly matched in all dimensions and access is allowed, output 0 means the access condition is not met;
[0026] Data access is allowed only when the access conditions of four dimensions, namely time, role, authority and purpose, are met at the same time;
[0027] Use the Solidity smart contract programming language to write smart contract code according to the designed function logic, define the structure in the code to represent data access requests and data tag information, implement ACL functions, and set events and conditions that trigger contract execution;
[0028] According to business needs and cost considerations, select a suitable blockchain network for deployment, deploy the compiled smart contract to the selected blockchain network, and perform initial configuration;
[0029] After deployment, access permissions are assigned based on business roles through the smart contract's management interface.
[0030] As a preferred solution of the data security risk assessment method based on privacy computing described in the present invention, the sensitive data is encrypted using homomorphic encryption technology and de-identified. The specific operation steps are as follows:
[0031] Define the encryption function ENC, receive the original data x and the encryption key key as input, and use the selected homomorphic encryption algorithm to encrypt the data. The expression is:
[0032]
[0033] Among them, H(x, key) represents the basic transformation of the encryption algorithm, F h (x, key) represents a function of homomorphic properties;
[0034] According to the data sensitivity label and data type label, the data desensitization function DSM(d, p) is designed. For the data field to be desensitized, the data desensitization function DSM(d, p) is called to desensitize the data according to the data type d and the sensitivity level p. The expression is:
[0035]
[0036] Among them, N(0,σ d 2 (p)) represents the standard deviation σ adjusted according to the sensitivity level p under data type d. d (p) Normally distributed noise;
[0037] Design a comprehensive processing function that integrates access control logic, homomorphic encryption, and de-identification processing. The expression is:
[0038]
[0039] Whether to perform de-identification processing is determined based on the data sensitivity label p and the data type d, and then homomorphic encryption is performed on the processed data.
[0040] As a preferred solution of the data security risk assessment method based on privacy computing described in the present invention, a cross-domain data collaboration framework is established, and privacy computing technology is used for data interaction. The specific operation steps are as follows:
[0041] Construct a structured cross-domain data sharing request package, including the requester's unique identifier ID r , fine-grained tags for data d , timestamp of request occurrence t req Specific purpose of data use p and the decryption key Key carried by the requester dec ;
[0042] Call the access control function AC and replace the requester role r with ID r The corresponding role information in and the timestamp t are replaced by t req , the access control judgment expression is:
[0043] AC e =AC(t req , ID r , Tags d [p]);
[0044] Call the data usage verification function UV, using the data usage purpose U in the request p With data label T agd The matching degree is calculated based on the preset usage range in the formula:
[0045]
[0046] The results of the comprehensive access control function and the usage data usage verification function are combined to form the final decision through logical AND operation. The comprehensive decision function is defined as follows:
[0047] DC=(AC evaluated >τ AC )∧(UV evaluated >τ UV )
[0048] Among them, τ AC represents the threshold of access control, τ UVIndicates the threshold for data usage verification;
[0049] According to the comprehensive decision DC, the smart contract automatically executes the access approval and access rejection operations. When DC is 1, the access approval logic is executed, and when DC is 0, the access request is rejected.
[0050] As a preferred solution of the data security risk assessment method based on privacy computing described in the present invention, wherein: based on the collaborative data under privacy protection, the risk assessment model operation is implemented to obtain the risk assessment score. The specific operation steps are as follows:
[0051] The data provider will de-identify the sensitive data D anon , D anon Divide into n data segments, denoted as D f1 ,D f2 ,...,D fn , each fragment D fi Participate in collaborative computing, denoted as D fi =f i (D anon );
[0052] The key parameter set of the risk assessment model is P = {p1, p2, ..., p m}, the data user uses the homomorphic encryption algorithm and key to encrypt these parameters to obtain in
[0053] The data provider uses encryption parameters With data fragment D fi Perform collaborative computing, define collaborative computing function CC, and obtain local computing results
[0054] Define the local calculation result set as R local = {R local,1 ,R local,2 ,...,R local,n}, the secure aggregation protocol Πsum combines all local calculation results to obtain an encrypted aggregation result
[0055] Trusted third party uses decryption key dec Decrypt the summary results to get the total calculation results in plain text
[0056] The decrypted total calculation result R total Input the risk assessment model and get the final risk assessment score, which is expressed as:
[0057]
[0058] Where j represents the index variable, F j Represents the jth subfunction in the model, Env j Represents the environment variable HIst j represents the jth part of historical data, w j represents the jth weight.
[0059] As a preferred solution of the data security risk assessment method based on privacy computing described in the present invention, a risk assessment report is automatically generated according to the risk assessment score. The specific operation steps are as follows:
[0060] Map the risk assessment scores calculated by the risk assessment model to the risk level.
[0061] It is divided into 5 levels, as follows:
[0062]
[0063] Among them, 1 represents very low risk, 2 represents low risk, 3 represents medium risk, 4 represents high risk, and 5 represents extremely high risk. τ1, τ2, τ3, and τ4 represent the thresholds used to classify different risk levels.
[0064] Collect risk assessment scores, risk levels and risk control recommendations, form a risk assessment report, encrypt it and send it to the requesting party;
[0065] After receiving the encrypted report, the requesting party will decrypt it and formulate and implement corresponding risk management measures based on the risk assessment scores, levels and recommendations in the report.
[0066] In a second aspect, the present invention provides a data security risk assessment system based on privacy computing, including: a data classification and marking module: implementing data classification and fine-grained permission marking;
[0067] Smart contract permission management module: Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access;
[0068] Homomorphic encryption and de-identification module: Use homomorphic encryption technology to encrypt sensitive data and implement de-identification processing;
[0069] Cross-domain data collaboration framework module: establish a cross-domain data collaboration framework and use privacy computing technology for data interaction;
[0070] Risk assessment calculation module: Based on the collaborative data under privacy protection, the risk assessment model is operated to obtain the risk assessment score;
[0071] Automatic report generation module: automatically generates risk assessment reports based on risk assessment scores.
[0072] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the data security risk assessment method based on privacy computing as described in the first aspect of the present invention is implemented.
[0073] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, wherein: when the computer program is executed by a processor, it implements any step of the data security risk assessment method based on privacy computing as described in the first aspect of the present invention.
[0074] The beneficial effects of the present invention are as follows: by implementing data classification and fine-grained permission marking, refined management of data access rights is achieved; the designed smart contract further strengthens the automatic execution capability of permission rules, ensuring strict compliance with data access rights and conditions; the use of homomorphic encryption technology combined with de-identification processing not only ensures the security of data calculation, but also effectively reduces the risk of privacy leakage; through the establishment of a cross-domain data collaboration framework, privacy computing technology is used to ensure the security and privacy of data interaction; using collaborative data under privacy protection, risk assessment model operations are designed and implemented, making risk assessment scores more comprehensive and accurate; and the final automatically generated risk assessment report can provide decision makers with intuitive and valuable references, promoting the healthy development of the data ecosystem. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0076] Figure 1 This is a flow chart of the data security risk assessment method based on privacy computing in Example 1.
[0077] Figure 2 This is the risk level determination diagram in Example 1. DETAILED DESCRIPTION
[0078] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0079] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0080] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0081] Example 1, reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and provides a data security risk assessment method based on privacy computing, comprising the following steps:
[0082] S1. Implement data classification and fine-grained permission marking.
[0083] S1.1. Data classification refers to the classification of data into four levels: public, internal, sensitive and confidential according to their sensitivity;
[0084] Fine-grained permission labeling means automatically generating fine-grained labels for each piece of data based on data classification results, including data type, data source, sensitivity level, and access rights.
[0085] Going a step further, define the sensitivity level criteria:
[0086] Public: Information that can be released to the public, such as corporate promotional materials and annual report summaries;
[0087] Internal: Information that is only accessible to company personnel, such as employee handbooks and internal communications.
[0088] Sensitive: Involving personal privacy or sensitive company operational information, such as employee personal information and undisclosed financial data;
[0089] Confidential: Highly confidential information, the disclosure of which may cause significant losses, such as core patents and trade secrets.
[0090] S2. Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access. The specific steps are as follows:
[0091] Define data access conditions: Design access control functions based on fine-grained tag information. The expression is:
[0092]
[0093] Among them, λ represents the time decay coefficient, which reflects the speed at which the authority decays over time, t s Indicates the time point at which the interval starts, t e Indicates the time point at which the interval ends and defines the time window in which access is allowed. represents the indicator function, which is 1 when t is within the time window and 0 otherwise. r represents the requester role, p represents the sensitivity level, Indicates whether role r has the right to access data with a sensitivity level of p, w r Represents the weight of role r, which is dynamically adjusted according to the importance and authority level of the role;
[0094] AC(t,r,p)={0,1}, specifies the rule conditions for data access. The output of function AC is a Boolean value, 1 means access is allowed, and 0 means access is denied.
[0095] Design data usage verification function: introduce a cosine similarity function to measure the matching degree between the data usage purpose u and the specified usage range in the data type label d, and judge whether the usage is consistent. The expression is:
[0096]
[0097] Among them, u represents the purpose of data use, d represents the specified use range in the data type label, and θ ud represents the angle between the data usage purpose and the specified usage range in the data type label, η represents the adjustment factor, and max(cos(θ)) is the maximum cosine similarity between all data usage purposes and the specified usage range in the current data type label, which is used to normalize the output;
[0098] UV(u,d) = {0,1}, output 1 means the purpose matches and the request is allowed to proceed, output 0 means the purpose does not match and the request is rejected;
[0099] Integrated data access logic: Combine AC and UV functions to form a comprehensive access control logic function, expressed as:
[0100]
[0101] ACL(t,r,p,u,d)={0,1}, output 1 means the access request is highly matched in all dimensions and access is allowed, output 0 means the access condition is not met;
[0102] Data access is allowed only when the access conditions of four dimensions, namely time, role, authority and purpose, are met at the same time;
[0103] Use the Solidity smart contract programming language to write smart contract code according to the designed function logic, define the structure in the code to represent data access requests and data tag information, implement ACL functions, and set events and conditions that trigger contract execution;
[0104] According to business needs and cost considerations, select a suitable blockchain network for deployment, deploy the compiled smart contract to the selected blockchain network, and perform initial configuration;
[0105] After deployment, access permissions are assigned based on business roles through the smart contract's management interface.
[0106] S3. Use homomorphic encryption technology to encrypt sensitive data and implement de-identification. The specific steps are as follows:
[0107] Define the encryption function ENC, receive the original data x and the encryption key key as input, and use the selected homomorphic encryption algorithm to encrypt the data. The expression is:
[0108]
[0109] Among them, H(x, key) represents the basic transformation of the encryption algorithm, F h (x, key) represents a function with homomorphic properties, which ensures that the encrypted data can be subjected to specific mathematical operations without being decrypted.
[0110] According to the data sensitivity label and data type label, the data desensitization function DSM(d, p) is designed. For the data field to be desensitized, the data desensitization function DSM(d, p) is called to desensitize the data according to the data type d and the sensitivity level p. The expression is:
[0111]
[0112] Among them, N(0,σ d 2 (p)) represents the standard deviation σ adjusted according to the sensitivity level p under data type d. d (p) Normally distributed noise;
[0113] Design a comprehensive processing function that integrates access control logic, homomorphic encryption, and de-identification processing. The expression is:
[0114]
[0115] The access control logic function is used to determine whether access is allowed. If allowed, the data x is first de-identified and then homomorphically encrypted; if access is not allowed, the data remains intact or other security measures are taken.
[0116] Whether to perform de-identification processing is determined based on the data sensitivity label p and the data type d, and then homomorphic encryption is performed on the processed data.
[0117] S4. Establish a cross-domain data collaboration framework and use privacy computing technology for data interaction. The specific steps are as follows:
[0118] Construct a structured cross-domain data sharing request package, including the requester's unique identifier ID r , fine-grained tags for data d , timestamp of request occurrence t req Specific purpose of data use p and the decryption key Key carried by the requester dec ;
[0119] Call the access control function AC and replace the requester role r with ID r The corresponding role information in and the timestamp t are replaced by t req , the access control judgment expression is:
[0120] AC e =AC(t req , ID r , Tags d [p]);
[0121] Call the data usage verification function UV, using the data usage purpose U in the request p With data label T agd The matching degree is calculated based on the preset usage range in the formula:
[0122]
[0123] The results of the comprehensive access control function and the usage data usage verification function are combined to form the final decision through logical AND operation. The comprehensive decision function is defined as follows:
[0124] DC=(AC evaluated >τ AC )∧(UV evaluated >τ UV )
[0125] Among them, τ AC represents the threshold of access control, τ UV Indicates the threshold for data usage verification;
[0126] According to the comprehensive decision DC, the smart contract automatically executes the access approval and access rejection operations. When DC is 1, the access approval logic is executed, and when DC is 0, the access request is rejected.
[0127] S5. Based on the collaborative data under privacy protection, implement the risk assessment model operation to obtain the risk assessment score. The specific operation steps are as follows:
[0128] The data provider will de-identify the sensitive data D anon , D anon Divide into n data segments, denoted as D f1 ,D f2 ,...,D fn , each fragment D fi Participate in collaborative computing, denoted as D fi =f i (D anon );
[0129] The key parameter set of the risk assessment model is P = {p1, p2, ..., p m}, the data user uses the homomorphic encryption algorithm and key to encrypt these parameters to obtain in
[0130] The data provider uses encryption parameters With data fragment D fi Perform collaborative computing, define collaborative computing function CC, and obtain local computing results
[0131] Define the local calculation result set as R local = {R local,1 ,R local,2 ,...,R local,n}, the secure aggregation protocol Πsum combines all local calculation results to obtain an encrypted aggregation result
[0132] Trusted third party uses decryption key dec Decrypt the summary results to get the total calculation results in plain text
[0133] The decrypted total calculation result R total Input the risk assessment model and get the final risk assessment score, which is expressed as:
[0134]
[0135] Where j represents the index variable, F j Represents the jth sub-function in the model, considering the influence of different dimensions respectively, Env j Represents the environment variable Hist j represents the jth part of historical data, w j represents the jth weight.
[0136] Furthermore, each sub-function Fj represents the evaluation logic for a specific risk dimension, including but not limited to financial risk, operational risk, market risk, legal and compliance risk, etc. The working principle of each sub-function is as follows:
[0137] F1: Financial risk assessment: Analyze the company's financial statements, cash flow status, debt ratio and other indicators, and evaluate the company's financial pressure and debt repayment ability through ratio analysis, trend analysis and other methods;
[0138] F2: Operational risk assessment: examine internal processes, personnel quality, system stability and other factors, and use historical accident data and process audit results to assess the risks of interruptions or errors that may be encountered in daily operations;
[0139] F3: Market risk assessment: Based on external environmental variables such as market fluctuations, competitor dynamics, and changes in consumer behavior, assess the potential impact of market changes on the company's business;
[0140] F4: Legal compliance risk assessment: Assess the company's ability to comply with laws, regulations and industry standards and potential risks of non-compliance based on changes in laws and regulations, past compliance records and the effectiveness of current compliance procedures.
[0141] S6. Automatically generate a risk assessment report based on the risk assessment score. The specific steps are as follows:
[0142] Map the risk assessment scores calculated by the risk assessment model to the risk level.
[0143] It is divided into 5 levels, as follows:
[0144]
[0145] Among them, 1 represents very low risk, 2 represents low risk, 3 represents medium risk, 4 represents high risk, and 5 represents extremely high risk. τ1, τ2, τ3, and τ4 represent the thresholds used to classify different risk levels.
[0146] Collect risk assessment scores, risk levels and risk control recommendations, form a risk assessment report, encrypt it and send it to the requesting party;
[0147] After receiving the encrypted report, the requesting party will decrypt it and formulate and implement corresponding risk management measures based on the risk assessment scores, levels and recommendations in the report.
[0148] This embodiment also provides a data security risk assessment system based on privacy computing, including:
[0149] Data classification and labeling module: implement data classification and fine-grained permission labeling;
[0150] Smart contract permission management module: Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access;
[0151] Homomorphic encryption and de-identification module: Use homomorphic encryption technology to encrypt sensitive data and implement de-identification processing;
[0152] Cross-domain data collaboration framework module: establish a cross-domain data collaboration framework and use privacy computing technology for data interaction;
[0153] Risk assessment calculation module: Based on the collaborative data under privacy protection, the risk assessment model is operated to obtain the risk assessment score;
[0154] Automatic report generation module: automatically generates risk assessment reports based on risk assessment scores.
[0155] This embodiment also provides a computer device, which is suitable for the data security risk assessment method based on privacy computing, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the data security risk assessment method based on privacy computing proposed in the above embodiment.
[0156] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0157] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the data security risk assessment method based on privacy computing proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, disk or optical disk.
[0158] In summary, the present invention realizes the refined management of data access rights by implementing data classification and fine-grained permission marking. The designed smart contract further strengthens the automatic execution capability of permission rules, ensures strict compliance with data access rights and conditions, and combines homomorphic encryption technology with de-identification processing to ensure the security of data calculation and effectively reduce the risk of privacy leakage. By establishing a cross-domain data collaboration framework, privacy computing technology is used to ensure the security and privacy of data interaction. By using collaborative data under privacy protection, risk assessment model operations are designed and implemented, making the risk assessment score more comprehensive and accurate. The final automatically generated risk assessment report can provide decision makers with intuitive and valuable references, and promote the healthy development of the data ecology.
[0159] Example 2
[0160] Referring to Table 1 and Table 2, which is the second embodiment of the present invention, in order to further verify the advancement of the present invention, experimental simulation data of a data security risk assessment method based on privacy computing are provided.
[0161] First, we designed a fictional financial institution "SecureFin". In order to ensure data security and privacy while improving business efficiency, SecureFin adopted a data security risk assessment method and system based on privacy computing. This system was designed and implemented a series of experiments based on the invention content, aiming to verify its effectiveness and innovation in data classification, permission control, homomorphic encryption, de-identification processing, cross-domain collaboration and risk assessment.
[0162] SecureFin selected six representative data sets, covering financial records of different sensitivity levels from public to confidential. Each set of data has about 10,000 records. These data sets are labeled as test objects A to F. Each set of data contains different dimensions such as basic customer information, transaction records, and credit scores. First, according to the sensitivity, the data is accurately classified and assigned fine-grained permission labels, as shown in the following table:
[0163] Table 1 Classification and permission marking table of test object data
[0164]
[0165]
[0166] Subsequently, a smart contract was designed based on fine-grained permission tags, which stipulated strict data access rights and conditions, implemented time window control, role and permission matching, and data usage verification. For example, for Group B data, access is only allowed to senior analysts within a specific time period, and must match their job responsibilities. By applying the access control logic function (ACL), each access request is carefully reviewed in multiple dimensions to ensure that only qualified requests can succeed.
[0167] In the data encryption and de-identification phase, homomorphic encryption technology was used to encrypt the data of Group D and Group F, and de-identification was implemented to ensure that even if the data was illegally obtained, it could not be directly linked to a specific individual. Through the comprehensive processing function PRP, data protection and data availability were effectively balanced.
[0168] To further verify the cross-domain data collaboration capability, a cross-domain data sharing request package was constructed to simulate the data interaction scenarios between different departments. Through the automatic execution of the comprehensive decision function DC, legal and illegal access requests were accurately identified and processed, significantly improving the security and efficiency of data flow.
[0169] Finally, the risk assessment model based on collaborative data was applied to the encrypted, de-identified data fragments, and the risk assessment scores of each data set were calculated, as shown in Table 2:
[0170] Table 2 Dataset risk assessment scores and levels
[0171]
[0172]
[0173] Through the data analysis in Table 2, it can be observed that the data security risk assessment method and system based on privacy computing proposed in the embodiment show significant innovation and advantages. For example, due to its high sensitivity, the data in group D (account balance) received a high risk assessment score of 1.54 and was classified as "high risk", which directly pointed out the potential security vulnerabilities in the data set, prompting SecureFin to take immediate action to conduct in-depth system security checks and vulnerability repairs, effectively avoiding potential information leakage risks.
[0174] In contrast, the low risk level (level 1) of Group A and Group E data (basic customer information and investment preferences) shows that through the fine-grained permission control and de-identification processing of the present invention, a good level of privacy protection can be maintained even when the data is shared publicly or internally, reducing the possibility of data leakage.
[0175] In addition, although Group B and Group C data (transaction record summaries and credit scores) are sensitive, they have been successfully restricted from non-compliant access through strict control of smart contracts, and their risk levels have been kept within an acceptable range (Level 2), suggesting that SecureFin needs to continuously review access rights and further optimize access strategies.
[0176] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A data security risk assessment method based on privacy computing, characterized by: include, Implement data classification and fine-grained permission tagging; Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access; Use homomorphic encryption technology to encrypt sensitive data and implement de-identification processing; Establish a cross-domain data collaboration framework and use privacy computing technology for data interaction; Based on the collaborative data under privacy protection, the risk assessment model is operated to obtain the risk assessment score; Based on the risk assessment score, a risk assessment report is automatically generated.
2. The data security risk assessment method based on privacy computing as claimed in claim 1, characterized in that: The data classification refers to dividing the data into four levels: public, internal, sensitive and confidential according to the sensitivity; The fine-grained permission tagging refers to automatically generating a fine-grained label for each piece of data based on the data classification results, including data type, data source, sensitivity level and access rights.
3. The data security risk assessment method based on privacy computing as claimed in claim 1, characterized in that: Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access. The specific steps are as follows: Define data access conditions: Design access control functions based on fine-grained tag information. The expression is: Where λ represents the time attenuation coefficient, t s Indicates the time point at which the interval starts, t e Indicates the time point at which the interval ends. represents the indicator function, r represents the requester role, p represents the sensitivity level, Indicates whether role r has the right to access data with a sensitivity level of p, w r represents the weight of role r; AC(t,r,p)={0,1}, specifies the rule conditions for data access. The output of function AC is a Boolean value, 1 means access is allowed, and 0 means access is denied. Design data usage verification function: introduce a cosine similarity function to measure the matching degree between the data usage purpose u and the specified usage range in the data type label d, and judge whether the usage is consistent. The expression is: Among them, u represents the purpose of data use, d represents the specified use range in the data type label, and θ ud It represents the angle between the purpose of data use and the scope of specified use in the data type label, and η represents the adjustment factor; UV(u,d) = {0,1}, output 1 means the purpose matches and the request is allowed to proceed, output 0 means the purpose does not match and the request is rejected; Integrated data access logic: Combine AC and UV functions to form a comprehensive access control logic function, expressed as: ACL(t,r,p,u,d)={0,1}, output 1 means the access request is highly matched in all dimensions and access is allowed, output 0 means the access condition is not met; Data access is allowed only when the access conditions of four dimensions, namely time, role, authority and purpose, are met at the same time; Use the Solidity smart contract programming language to write smart contract code according to the designed function logic, define the structure in the code to represent data access requests and data tag information, implement ACL functions, and set events and conditions that trigger contract execution; According to business needs and cost considerations, select a suitable blockchain network for deployment, deploy the compiled smart contract to the selected blockchain network, and perform initial configuration; After deployment, access permissions are assigned based on business roles through the smart contract's management interface.
4. The data security risk assessment method based on privacy computing as claimed in claim 3, characterized in that: Use homomorphic encryption technology to encrypt sensitive data and implement de-identification. The specific steps are as follows: Define the encryption function ENC, receive the original data x and the encryption key key as input, and use the selected homomorphic encryption algorithm to encrypt the data. The expression is: Among them, H(x,key) represents the basic transformation of the encryption algorithm, F h (x, key) represents a function of homomorphic properties; According to the data sensitivity label and data type label, the data desensitization function DSM(d,p) is designed. For the data field to be desensitized, the data desensitization function DSM(d,p) is called to desensitize the data according to the data type d and the sensitivity level p. The expression is: Among them, N(0,σ d 2 (p)) represents the normally distributed noise with standard deviation σd(p) adjusted according to sensitivity level p under data type d; Design a comprehensive processing function that integrates access control logic, homomorphic encryption, and de-identification processing. The expression is: Whether to perform de-identification processing is determined based on the data sensitivity label p and the data type d, and then homomorphic encryption is performed on the processed data.
5. The data security risk assessment method based on privacy computing as claimed in claim 4, characterized in that: Establish a cross-domain data collaboration framework and use privacy computing technology for data interaction. The specific steps are as follows: Construct a structured cross-domain data sharing request package, including the requester's unique identifier ID r , fine-grained tags for data d , timestamp of request occurrence t req Specific purpose of data use p and the decryption key Key carried by the requester dec ; Call the access control function AC and replace the requester role r with ID r The corresponding role information in and the timestamp t are replaced by t req , the access control judgment expression is obtained as follows: AC e =AC(t req ,ID r ,Tag d [p]); Call the data usage verification function UV, using the data usage purpose U in the request p With data label T agd The matching degree is calculated based on the preset usage range in the formula: The results of the comprehensive access control function and the usage data usage verification function are combined to form the final decision through logical AND operation. The comprehensive decision function is defined as follows: DC=(AC evaluated >τ AC )∧(UV evaluated >τ UV ) Among them, τ AC represents the threshold of access control, τ UV Indicates the threshold for data usage verification; According to the comprehensive decision DC, the smart contract automatically executes the access approval and access rejection operations. When DC is 1, the access approval logic is executed, and when DC is 0, the access request is rejected.
6. The data security risk assessment method based on privacy computing according to claim 5, characterized in that: Based on the collaborative data under privacy protection, the risk assessment model operation is implemented to obtain the risk assessment score. The specific operation steps are as follows: The data provider will de-identify the sensitive data D anon , D anon Divide into n data segments, denoted as D f1 ,D f2 ,...,D fn , each fragment D fi Participate in collaborative computing, denoted as D fi =f i (D anon ); The key parameter set of the risk assessment model is P = {p1, p2, ..., p m }, the data user uses the homomorphic encryption algorithm and key to encrypt these parameters to obtain in The data provider uses encryption parameters With data fragment D fi Perform collaborative computing, define collaborative computing function CC, and obtain local computing results Define the local calculation result set as R local = {R local,1 ,R local,2 ,...,R local,n }, the secure aggregation protocol Πsum combines all local calculation results to obtain an encrypted aggregation result Trusted third party uses decryption key dec Decrypt the summary results to get the total calculation results in plain text The decrypted total calculation result R local Input the risk assessment model and get the final risk assessment score, which is expressed as: Where j represents the index variable, F j Represents the jth subfunction in the model, Env j Represents the environment variable Hist j represents the jth part of historical data, w j represents the jth weight.
7. The data security risk assessment method based on privacy computing according to claim 6, characterized in that: According to the risk assessment score, a risk assessment report is automatically generated. The specific steps are as follows: The risk assessment scores calculated by the risk assessment model are mapped to risk levels, and the risk levels are divided into 5 levels, as follows: Among them, 1 represents very low risk, 2 represents low risk, 3 represents medium risk, 4 represents high risk, and 5 represents extremely high risk. τ1, τ2, τ3, and τ4 represent the thresholds used to classify different risk levels. Collect risk assessment scores, risk levels and risk control recommendations, form a risk assessment report, encrypt it and send it to the requesting party; After receiving the encrypted report, the requesting party will decrypt it and formulate and implement corresponding risk management measures based on the risk assessment scores, levels and recommendations in the report.
8. A data security risk assessment system based on privacy computing, based on the data security risk assessment method based on privacy computing according to any one of claims 1 to 7, characterized in that: include, Data classification and labeling module: implement data classification and fine-grained permission labeling; Smart contract permission management module: Design smart contracts based on fine-grained permission tags to specify the permissions and conditions for data access; Homomorphic encryption and de-identification module: Use homomorphic encryption technology to encrypt sensitive data and implement de-identification processing; Cross-domain data collaboration framework module: establish a cross-domain data collaboration framework and use privacy computing technology for data interaction; Risk assessment calculation module: Based on the collaborative data under privacy protection, the risk assessment model is operated to obtain the risk assessment score; Automatic report generation module: automatically generates risk assessment reports based on risk assessment scores.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the data security risk assessment method based on privacy computing described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data security risk assessment method based on privacy computing described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Access control method based on block chain and risk assessment
CN116633615A
Data security storage method and system based on big data platform
CN117270785A
Risk control approval method and system based on privacy computing technology data security
CN117828662A
Power system data privacy protection and access control method
CN117951722A
Cited By
Privacy protection method for data sharing
CN119203247A
One-object-one-code multi-encryption method and system based on data security architecture
CN119232506A
Data circulation control method and device, electronic equipment and storage medium
CN119939663A
A data flow control method and device, electronic equipment and storage medium
CN119939663B
Data full life cycle safety management method
CN119987650A
