Accounting archive data management method, system and storage medium
By dynamically adjusting the confidentiality level of accounting files based on historical access records, the problem of maintaining high confidentiality levels for a long time and increasing management costs is solved, and the effects of resource saving and security improvement are achieved.
Patent Information
- Application Number
- CN202411088557.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-09
AI Technical Summary
The confidentiality level of accounting files is generally maintained unchanged. Maintaining accounting files with a high confidentiality level for a long time requires more resource investment, such as security measures and access control, which in turn increases the management costs of the enterprise.
By setting multiple confidentiality levels and permission levels, calculating the access ratio and correction value based on the historical access records of accounting files, and adjusting the confidentiality level of the file to dynamically adjust its security level. Specific steps include: setting m confidentiality levels and m authority levels, obtaining historical access records, dividing collection periods, generating data points and functional relationship expressions, calculating adjustment coefficients, and adjusting the confidentiality level of files.
By dynamically adjusting the confidentiality level of accounting files, resource investment requirements are reduced, enterprise management costs are reduced, and security and business efficiency are improved.
Smart Images

Figure CN118643519B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of archive security technology, and in particular to an accounting archive data management method, system and storage medium. Background Art
[0002] Accounting archives refer to professional accounting materials such as accounting vouchers, accounting books and financial reports. They are important historical materials and evidence that record and reflect the economic operations of enterprises and institutions. Through accounting archives, we can understand the ins and outs of each economic business. Accounting archives can also provide enterprises with detailed economic information and provide reference for enterprises to make business decisions.
[0003] With the development of information technology, electronic accounting archives have gradually replaced paper accounting archives due to their advantages such as convenient storage, fast query and space saving. This has brought with it challenges in the security of accounting archives. Accounting archives store a large amount of sensitive data, including financial records, customer information and corporate secrets. If leaked, it will cause huge losses to the company.
[0004] In an enterprise, different confidentiality levels are usually set for different accounting files, and different confidentiality levels of accounting files require different permissions. This method helps to protect sensitive information and reduce the risk of information leakage. However, in this method, the confidentiality level of accounting files is generally maintained unchanged. Maintaining accounting files with a high confidentiality level for a long time requires more resource investment, such as security measures, access control, etc., which in turn increases the management cost of the enterprise. Summary of the invention
[0005] The purpose of the present invention is to provide an accounting file data management method, system and storage medium to solve the following technical problems:
[0006] The confidentiality level of accounting files generally remains unchanged. Maintaining a high level of confidentiality for accounting files for a long time requires more resource investment, such as security measures, access control, etc., which in turn increases the company's management costs.
[0007] The purpose of the present invention can be achieved through the following technical solutions:
[0008] The accounting archive data management method comprises the following steps:
[0009] S1: Set m confidentiality levels for accounting files from low to high, and set m authority levels for employees from low to high, where m is a preset value, and determine the first authority level A'∈[1, A-1] and the second authority level A''∈[A, m] corresponding to the confidentiality level a;
[0010] Obtain the historical access records of the accounting files within the preset judgment period, and extract the total number of accesses Cfir of employees at the first authority level and the total number of accesses Csec of employees at the second authority level, calculate the access ratio, and determine the files to be adjusted according to the access ratio;
[0011] S2: Divide the judgment cycle into n collection cycles of the same length, where n is a preset number. In the i-th collection cycle, obtain the total number of times that employees of the first authority level access the file to be adjusted Cfir i , and generate data points (i, Cfir i ), the first image is obtained by connecting the data points corresponding to n acquisition cycles by straight lines;
[0012] Determine the functional relationship f(t) of the first image, determine the functional relationship f'(t) of the second image, and determine the target function g(t)=f'(t) / f(t);
[0013] Calculate the first visit count correction value and the second visit count correction value , where B represents the current confidentiality level of the file to be adjusted, Ctot a It represents the total number of times that employees with authority level a access the files to be adjusted during the judgment period. a Indicates the preset authority level coefficient;
[0014] S3: Calculate the adjustment coefficient K through the formula, and calculate the target level B'=⌈(1+K)B⌉, ⌈(1+K)B⌉ means rounding up (1+K)B, and adjusting the confidentiality level of the file to be adjusted to the target level.
[0015] As a further solution of the present invention: the formula for calculating the adjustment coefficient K specifically includes:
[0016] ;
[0017] Wherein, T represents the length of the judgment cycle, R fir represents the number of employees with the first permission level who access the files to be adjusted within the judgment period, R sec It indicates the number of employees of the second permission level who access the files to be adjusted within the judgment period, and ε indicates the preset adjustment coefficient correction factor.
[0018] As a further solution of the present invention: in the step S1, the process of determining the file to be adjusted specifically includes:
[0019] Calculate the access ratio P = (Cfir + Csec) / Ctot, where Ctot represents the total number of accesses in the historical access records;
[0020] When the access ratio P≥PYC and |(Cfir-Csec) / Ctot|>PYZ, the accounting file is marked as a file to be adjusted, PYC represents a preset access ratio threshold, and PYZ represents a preset difference ratio threshold.
[0021] As a further solution of the present invention: the process of determining the file to be adjusted also includes the following steps:
[0022] The accounting files with confidentiality level [m-myc, m] are regarded as high confidentiality files, where myc represents the preset confidentiality level correction number;
[0023] When the access ratio P of the high-confidentiality file is greater than or equal to PYC and (Cfir-Csec) / Ctot>PYZ, it is marked as a file to be adjusted.
[0024] As a further solution of the present invention: in the step S2, the process of determining the authority level coefficient specifically includes:
[0025] Calculate the quantization factor Pa of the permission level a = μ*(a / m)*(Ctot a / Ctot), where μ represents the preset correction coefficient, and the authority level coefficient Da=Pa*a is calculated.
[0026] As a further solution of the present invention: in the step S3, the process of calculating the target level further includes the following steps:
[0027] When B'<1, let B'=1;
[0028] When B'>m, let B'=m.
[0029] Accounting archive data management system, including:
[0030] Initial module: Set m confidentiality levels for accounting files from low to high, and set m authority levels for employees from low to high, where m is a preset value, and determine the first authority level A'∈[1, A-1] and the second authority level A''∈[A, m] corresponding to the confidentiality level a;
[0031] Obtain the historical access records of the accounting files within the preset judgment period, and extract the total number of accesses Cfir of employees at the first authority level and the total number of accesses Csec of employees at the second authority level, calculate the access ratio, and determine the files to be adjusted according to the access ratio;
[0032] Data optimization module: divide the judgment cycle into n collection cycles of the same length, where n is a preset number. In the i-th collection cycle, obtain the total number of times employees at the first authority level access the files to be adjusted Cfir i , and generate data points (i, Cfir i ), the first image is obtained by connecting the data points corresponding to n acquisition cycles by straight lines;
[0033] Determine the functional relationship f(t) of the first image, determine the functional relationship f'(t) of the second image, and determine the target function g(t)=f'(t) / f(t);
[0034] Calculate the first visit count correction value and the second visit count correction value , where B represents the current confidentiality level of the file to be adjusted, Cfir i,a represents the number of times an employee with authority level a accesses the file to be adjusted during the i-th collection cycle, D a Indicates the preset authority level coefficient;
[0035] Adjustment module: Calculate the adjustment coefficient K through the formula, and calculate the target level B'=⌈(1+K)B⌉, ⌈(1+K)B⌉ means rounding up (1+K)B, and adjusting the confidentiality level of the file to be adjusted to the target level.
[0036] A storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the accounting archive data management method.
[0037] Beneficial effects of the present invention: In the present invention, firstly, confidentiality levels and authority levels are set for accounting files and employees respectively, and the first authority level and the second authority level corresponding to the confidentiality level are determined; it can be understood that the confidentiality level and the authority level correspond to each other, and by distinguishing the first authority level and the second authority level, a basis is provided for subsequently determining whether to adjust the confidentiality level of the accounting files;
[0038] Afterwards, the total number of accesses by employees of the first authority level and the total number of accesses by employees of the second authority level are extracted from the historical access records, and the access ratio is calculated, and the files to be adjusted are determined based on the access ratio; it should be noted that when the access ratio is greater than the preset access ratio threshold, it means that the number of accesses by the authority level (the first authority level and the second authority level) corresponding to the non-confidential level accounts for a higher proportion, including: when the number of accesses by employees of the first authority level is more, the employees need to frequently apply for enhanced authority, which is not convenient and affects business efficiency; the number of accesses by employees of the second authority level is more, it means that the senior management attaches more importance to the accounting files, so the confidentiality level of the accounting files needs to be adjusted;
[0039] Next, the judgment cycle is divided into collection cycles. The length of the collection cycle is specifically set by experience. Data points are generated according to the total number of times that employees of the first authority level access the files to be adjusted, and the first image is determined. This is the basis for subsequently determining the situation of employees of the first authority level accessing the files to be adjusted. Since employees view the files to be adjusted with a purpose, that is, there is "sudden change" and it is impossible to predict. Determining the functional relationship by fitting may result in a large deviation. Therefore, the first image is determined first, and then the functional relationship is determined based on the image. It is worth noting that the method for obtaining the second image is similar to that of the first image, and no further elaboration is given here.
[0040] After that, the first access count correction value and the second access count correction value are calculated, and the access count is corrected according to the preset authority level coefficient; it is worth noting that, usually, the number of senior employees in an enterprise is less than that of junior employees, so the number of accesses of the second authority level cannot be directly compared with the number of accesses of the first authority level. By setting different authority level coefficients, the weight of the access count of users with high authority levels can be amplified, thereby balancing the impact of the difference in the number of employees; finally, the adjustment coefficient is calculated, and the target level is determined according to the adjustment coefficient, and the confidentiality level of the file to be adjusted is adjusted to the target level. The present invention can flexibly adjust the confidentiality level of accounting files according to the historical access situation of accounting files. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention will be further described below in conjunction with the accompanying drawings.
[0042] Figure 1 It is a flow chart of the accounting archive data management method of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] See also Figure 1 As shown, the present invention is an accounting file data management method, comprising the following steps:
[0045] S1: Set m confidentiality levels for accounting files from low to high, and set m authority levels for employees from low to high, where m is a preset value, and determine the first authority level A'∈[1, A-1] and the second authority level A''∈[A, m] corresponding to the confidentiality level a;
[0046] Obtain the historical access records of the accounting files within the preset judgment period, and extract the total number of accesses Cfir of employees at the first authority level and the total number of accesses Csec of employees at the second authority level, calculate the access ratio, and determine the files to be adjusted according to the access ratio;
[0047] S2: Divide the judgment cycle into n collection cycles of the same length, where n is a preset number. In the i-th collection cycle, obtain the total number of times that employees of the first authority level access the file to be adjusted Cfir i , and generate data points (i, Cfir i ), the first image is obtained by connecting the data points corresponding to n acquisition cycles by straight lines;
[0048] Determine the functional relationship f(t) of the first image, determine the functional relationship f'(t) of the second image, and determine the target function g(t)=f'(t) / f(t);
[0049] Calculate the first visit count correction value and the second visit count correction value , where B represents the current confidentiality level of the file to be adjusted, Ctot a It represents the total number of times that employees with authority level a access the files to be adjusted during the judgment period. a Indicates the preset authority level coefficient;
[0050] S3: Calculate the adjustment coefficient K through the formula, and calculate the target level B'=⌈(1+K)B⌉, ⌈(1+K)B⌉ means rounding up (1+K)B, and adjusting the confidentiality level of the file to be adjusted to the target level.
[0051] It should be noted that first, confidentiality levels and authority levels are set for accounting files and employees respectively, and the first authority level and the second authority level corresponding to the confidentiality level are determined; it can be understood that the confidentiality level and the authority level correspond to each other, and by distinguishing the first authority level and the second authority level, a basis is provided for determining whether to adjust the confidentiality level of accounting files in the future;
[0052] Afterwards, the total number of accesses by employees of the first authority level and the total number of accesses by employees of the second authority level are extracted from the historical access records, and the access ratio is calculated, and the files to be adjusted are determined based on the access ratio; it should be noted that when the access ratio is greater than the preset access ratio threshold, it means that the number of accesses by the authority level (the first authority level and the second authority level) corresponding to the non-confidential level accounts for a higher proportion, including: when the number of accesses by employees of the first authority level is more, the employees need to frequently apply for enhanced authority, which is not convenient and affects business efficiency; the number of accesses by employees of the second authority level is more, it means that the senior management attaches more importance to the accounting files, so the confidentiality level of the accounting files needs to be adjusted;
[0053] Next, the judgment cycle is divided into collection cycles. The length of the collection cycle is specifically set by experience. Data points are generated according to the total number of times that employees of the first authority level access the files to be adjusted, and the first image is determined. This is the basis for subsequently determining the situation of employees of the first authority level accessing the files to be adjusted. Since employees view the files to be adjusted with a purpose, that is, there is "sudden change" and it is impossible to predict. Determining the functional relationship by fitting may result in a large deviation. Therefore, the first image is determined first, and then the functional relationship is determined based on the image. It is worth noting that the method for obtaining the second image is similar to that of the first image, and no further elaboration is given here.
[0054] Then, the first access count correction value and the second access count correction value are calculated, and the access count is corrected according to the preset authority level coefficient. It is worth noting that, usually, the number of senior employees in an enterprise is less than that of junior employees. Therefore, the access count of the second authority level cannot be directly compared with the access count of the first authority level. By setting different authority level coefficients, the access count weight of high-authority level users can be amplified, thereby balancing the impact of the difference in the number of employees. Finally, the adjustment coefficient is calculated, and the target level is determined based on the adjustment coefficient, and the confidentiality level of the file to be adjusted is adjusted to the target level.
[0055] In another preferred implementation of the present invention, in step S3, the formula for calculating the adjustment coefficient K specifically includes:
[0056] ;
[0057] Wherein, T represents the length of the judgment cycle, R firrepresents the number of employees with the first permission level who access the files to be adjusted within the judgment period, R sec It indicates the number of employees of the second permission level who access the files to be adjusted within the judgment period, and ε indicates the preset adjustment coefficient correction factor.
[0058] It is worth noting that the larger the Fsec is, the more often the employees with the second authority level access the files to be adjusted; the larger the max(g(t)), the higher the proportion of the number of times the employees with the second authority level access the files to be adjusted. Therefore, the adjustment coefficient should be larger to improve the confidentiality level of the files to be adjusted. The other parameters are determined based on the same reasons and will not be elaborated here.
[0059] In another preferred implementation of the present invention, in step S1, the process of determining the file to be adjusted specifically includes:
[0060] Calculate the access ratio P = (Cfir + Csec) / Ctot, where Ctot represents the total number of accesses in the historical access records;
[0061] When the access ratio P≥PYC and |(Cfir-Csec) / Ctot|>PYZ, the accounting file is marked as a file to be adjusted, PYC represents a preset access ratio threshold, and PYZ represents a preset difference ratio threshold.
[0062] It is understandable that when the access ratio is greater than the preset access ratio threshold, it means that the number of accesses of the authority level corresponding to the non-confidential level (the first authority level and the second authority level) accounts for a higher proportion, including: the more times employees of the first authority level access, the more frequently they need to apply for enhanced authority, which is not convenient and affects business efficiency; the more times employees of the second authority level access, the more attention the senior management pays to the accounting file, and therefore the confidentiality level of the accounting file needs to be adjusted.
[0063] In another preferred implementation of the present invention, the process of determining the file to be adjusted further includes the following steps:
[0064] The accounting files with confidentiality level [m-myc, m] are regarded as high confidentiality files, where myc represents the preset confidentiality level correction number;
[0065] When the access ratio P of the high-confidentiality file is greater than or equal to PYC and (Cfir-Csec) / Ctot>PYZ, it is marked as a file to be adjusted.
[0066] In another preferred implementation of the present invention, in step S2, the process of determining the authority level coefficient specifically includes:
[0067] Calculate the quantization factor Pa of the permission level a = μ*(a / m)*(Ctot a / Ctot), where μ represents the preset correction coefficient, and the authority level coefficient Da=Pa*a is calculated.
[0068] It should be noted that μ can be set based on experience, and different quantitative factors can be set in combination with the access situation and the authority level itself, and the authority level coefficient can be determined based on the quantitative factors. This can balance the impact of differences in the number of employees, better reflect the access situation of different authority levels, and the impact on the confidentiality level of the files to be adjusted.
[0069] In another preferred implementation of the present invention, in step S3, the process of calculating the target level further includes the following steps:
[0070] When B'<1, let B'=1;
[0071] When B'>m, let B'=m.
[0072] Accounting archive data management system, including:
[0073] Initial module: Set m confidentiality levels for accounting files from low to high, and set m authority levels for employees from low to high, where m is a preset value, and determine the first authority level A'∈[1, A-1] and the second authority level A''∈[A, m] corresponding to the confidentiality level a;
[0074] Obtain the historical access records of the accounting files within the preset judgment period, and extract the total number of accesses Cfir of employees at the first authority level and the total number of accesses Csec of employees at the second authority level, calculate the access ratio, and determine the files to be adjusted according to the access ratio;
[0075] Data optimization module: divide the judgment cycle into n collection cycles of the same length, where n is a preset number. In the i-th collection cycle, obtain the total number of times employees at the first authority level access the files to be adjusted Cfir i , and generate data points (i, Cfir i ), the first image is obtained by connecting the data points corresponding to n acquisition cycles by straight lines;
[0076] Determine the functional relationship f(t) of the first image, determine the functional relationship f'(t) of the second image, and determine the target function g(t)=f'(t) / f(t);
[0077] Calculate the first visit count correction value and the second visit count correction value , where B represents the current confidentiality level of the file to be adjusted, Cfir i,arepresents the number of times an employee with authority level a accesses the file to be adjusted during the i-th collection cycle, D a Indicates the preset authority level coefficient;
[0078] Adjustment module: Calculate the adjustment coefficient K through the formula, and calculate the target level B'=⌈(1+K)B⌉, ⌈(1+K)B⌉ means rounding up (1+K)B, and adjusting the confidentiality level of the file to be adjusted to the target level.
[0079] A storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the accounting archive data management method.
[0080] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. The accounting archive data management method is characterized by: The following steps are involved: S1: Set m confidentiality levels for accounting files from low to high, and set m authority levels for employees from low to high, where m is a preset value, and determine the first authority level A'∈[1, A-1] and the second authority level A''∈[A, m] corresponding to the confidentiality level a; Obtain the historical access records of the accounting files within the preset judgment period, and extract the total number of accesses Cfir of employees at the first authority level and the total number of accesses Csec of employees at the second authority level, calculate the access ratio, and determine the files to be adjusted according to the access ratio; S2: Divide the judgment cycle into n collection cycles of the same length, where n is a preset number. In the i-th collection cycle, obtain the total number of times that employees of the first authority level access the file to be adjusted Cfir i , and generate data points (i, Cfir i ), the first image is obtained by connecting the data points corresponding to n acquisition cycles by straight lines; Determine the functional relationship f(t) of the first image, determine the functional relationship f'(t) of the second image, and determine the target function g(t)=f'(t) / f(t); Calculate the first visit count correction value and the second visit count correction value , where B represents the current confidentiality level of the file to be adjusted, Ctot a It represents the total number of times that employees with authority level a access the files to be adjusted during the judgment period. a Indicates the preset authority level coefficient; S3: Calculate the adjustment coefficient K through the formula, and calculate the target level B'=⌈(1+K)B⌉, where ⌈(1+K)B⌉ means rounding up (1+K)B, and adjusting the confidentiality level of the file to be adjusted to the target level; The formula for calculating the adjustment coefficient K specifically includes: ; Wherein, T represents the length of the judgment cycle, R fir represents the number of employees with the first permission level who access the files to be adjusted within the judgment period, R sec It indicates the number of employees of the second permission level who access the files to be adjusted within the judgment period, and ε indicates the preset adjustment coefficient correction factor.
2. The accounting archive data management method according to claim 1, characterized in that: In the step S1, the process of determining the file to be adjusted specifically includes: Calculate the access ratio P = (Cfir + Csec) / Ctot, where Ctot represents the total number of accesses in the historical access records; When the access ratio P≥PYC and |(Cfir-Csec) / Ctot|>PYZ, the accounting file is marked as a file to be adjusted, PYC represents a preset access ratio threshold, and PYZ represents a preset difference ratio threshold.
3. The accounting archive data management method according to claim 2, characterized in that: The process of determining the files to be adjusted also includes the following steps: The accounting files with confidentiality level [m-myc, m] are regarded as high confidentiality files, where myc represents the preset confidentiality level correction number; When the access ratio P of the high-confidentiality file is greater than or equal to PYC and (Cfir-Csec) / Ctot>PYZ, it is marked as a file to be adjusted.
4. The accounting archive data management method according to claim 2, characterized in that: In step S2, the process of determining the authority level coefficient specifically includes: Calculate the quantization factor P of permission level a a =μ*(a / m)*(Ctot a / Ctot), where μ represents the preset correction coefficient, and calculates the authority level coefficient D a =P a *a.
5. The accounting archive data management method according to claim 1, characterized in that: In the step S3, the process of calculating the target level further includes the following steps: When B'<1, let B'=1; When B'>m, let B'=m.
6. Accounting file data management system, characterized by: include: Initial module: Set m confidentiality levels for accounting files from low to high, and set m authority levels for employees from low to high, where m is a preset value, and determine the first authority level A'∈[1, A-1] and the second authority level A''∈[A, m] corresponding to the confidentiality level a; Obtain the historical access records of the accounting files within the preset judgment period, and extract the total number of accesses Cfir of employees at the first authority level and the total number of accesses Csec of employees at the second authority level, calculate the access ratio, and determine the files to be adjusted according to the access ratio; Data optimization module: divide the judgment cycle into n collection cycles of the same length, where n is a preset number. In the i-th collection cycle, obtain the total number of times employees at the first authority level access the files to be adjusted Cfir i , and generate data points (i, Cfir i ), the first image is obtained by connecting the data points corresponding to n acquisition cycles by straight lines; Determine the functional relationship f(t) of the first image, determine the functional relationship f'(t) of the second image, and determine the target function g(t)=f'(t) / f(t); Calculate the first visit count correction value and the second visit count correction value , where B represents the current confidentiality level of the file to be adjusted, Cfir i,a represents the number of times an employee with authority level a accesses the file to be adjusted during the i-th collection cycle, D a Indicates the preset authority level coefficient; Adjustment module: Calculate the adjustment coefficient K through the formula, and calculate the target level B'=⌈(1+K)B⌉, ⌈(1+K)B⌉ means rounding up (1+K)B, and adjusting the confidentiality level of the file to be adjusted to the target level; The formula for calculating the adjustment coefficient K specifically includes: ; Wherein, T represents the length of the judgment cycle, R fir represents the number of employees with the first permission level who access the files to be adjusted within the judgment period, R sec It indicates the number of employees of the second permission level who access the files to be adjusted within the judgment period, and ε indicates the preset adjustment coefficient correction factor.
7. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the accounting archive data management method described in any one of claims 1 to 5.
