Authority control method and device, terminal equipment, storage medium and computer program product

By analyzing the group structure of the group management end, building comprehensive permission control rules and executing permission control over the group configuration and business system, the problem of flexibility and inefficiency in data permission management of group enterprises is solved, and efficient permission management is achieved.

CN118965311AActive Publication Date: 2024-11-15CHINA MERCHANTS BANK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410991458.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-15
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

Under the diversified management configuration of group enterprises, existing permission management solutions are difficult to flexibly manage data, and the management performance under multiple organizational configurations is insufficient, which cannot meet the increasingly diverse permission management needs, resulting in permission management. Inefficient.

Method used

By analyzing the group structure of the group management end, a comprehensive authority control rule is built, and the group configuration system and business system are managed based on this rule, including the analysis of employee contract information, employee attribute information and process information, and the default and additional authority rules are determined. Output comprehensive permission control rules and perform redundant permission cleaning when data exceeds the threshold.

Benefits of technology

It realizes flexible authority management for group enterprise data, improves the efficiency and accuracy of authority management, meets the diverse authority management needs of group enterprises, and improves the high availability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965311A_ABST
    Figure CN118965311A_ABST
Patent Text Reader

Abstract

The invention discloses an authority control method and device, terminal equipment, a storage medium and a computer program product, and relates to the technical field of authority control, and the method comprises the steps: analyzing a group architecture corresponding to a group management end to obtain a comprehensive authority control rule; and performing authority management and control on configuration data in a pre-constructed group configuration system and service data in a group service system based on the comprehensive authority management and control rule. Therefore, the group architecture of the actual group is analyzed to obtain the comprehensive authority management and control rule for authority management and control, authority management and control are performed on the configuration data in the group configuration and the service data in the group service system based on the comprehensive authority management and control rule, the problem that a group enterprise cannot flexibly perform authority management and control on the data is solved, and the authority management and control efficiency is improved. And the authority management and control efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of permission management and control, and in particular to a permission management and control method, apparatus, terminal device, storage medium and computer program product. Background Art

[0002] Different digital products for group enterprises, such as human resources services, payment on behalf of others, financial cost control, etc., have various business implementations, which will generate a variety of configuration data (business lines, reimbursement policies, expense forms, etc.) and business data (warehouse receipts, reimbursement forms, expenses, orders, etc.).

[0003] For group enterprises with multiple legal persons, multiple organizations, and multiple dimensions, while ensuring the security of configuration data and business data, permission management and control also need to adapt to the diverse management configuration of the group enterprises and ensure the high availability of the system.

[0004] Currently, the permission management solutions of most systems are mainly aimed at business data, and do not take into account the diverse configuration data of group enterprises. The expansion of different management functions is time-consuming and labor-intensive, and there are also problems with the management performance under multi-organization configuration, which makes it difficult to meet the increasingly diverse permission management needs of group enterprises.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of this application is to provide a permission management method, apparatus, terminal device, storage medium and computer program product, aiming to solve the technical problem that group enterprises cannot flexibly control the permissions of data.

[0007] To achieve the above purpose, the present application proposes a permission control method, which is applied to the group management end and includes:

[0008] Analyze the group structure corresponding to the group management end to obtain comprehensive authority control rules;

[0009] Based on the comprehensive authority control rules, authority control is performed on the configuration data in the preset group configuration system and the business data in the group business system.

[0010] In one embodiment, before the step of performing authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rule, the method further includes:

[0011] Analyze the group structure to obtain subsidiary information, where the subsidiary information includes one or more of department information, business information, process information, and employee information;

[0012] A group configuration system is constructed based on the department information, process information and employee information;

[0013] A group business system is constructed based on the business information.

[0014] In one embodiment, before the step of analyzing the group structure corresponding to the group management terminal to obtain the comprehensive authority control rule, the method further includes:

[0015] Determine the default authority according to the employee contract information of the employee information to obtain a first employee authority management rule, wherein the employee contract information includes one or more of a department and a contract type;

[0016] Performing additional authority determination according to employee attribute information of the employee information to obtain a second employee authority management rule, wherein the employee attribute information includes one or more of employee position, employee post, and employee role;

[0017] Determine management authority based on the process information, department information, and business information to obtain company authority management rules;

[0018] Output comprehensive authority control rules based on the first employee authority control rules, the second employee authority control rules and the company authority control rules.

[0019] In one embodiment, after the step of performing authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rule, the method includes:

[0020] Output control data according to the configuration data and business data;

[0021] Monitoring the control data based on a preset control threshold;

[0022] When the control data exceeds the control threshold, redundant permissions of the corresponding employees in the group structure are cleared.

[0023] In one embodiment, the step of clearing redundant permissions of corresponding employees in the group structure includes:

[0024] Lazy loading is performed on the permission information of the employee to obtain the permission data of the employee;

[0025] Based on the authority data, the preset temporary authority redundancy table authData is updated, and the authority redundancy operation of the employee is recorded in the preset authority redundancy record table authRecord;

[0026] Analyzing the employee's update authority based on the authData and authRecord, and performing delayed update on the employee's authority information according to the update authority;

[0027] According to a preset time threshold, a threshold analysis is performed on the employee login time recorded in the authRecord;

[0028] When the employee login time exceeds the time threshold, the redundant data in the authData is cleared.

[0029] In one embodiment, after the step of performing permission control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive permission control rule, the method further includes:

[0030] Receive data query requests;

[0031] If the data query request is a permission information query, query the authRecord based on the data query request to obtain corresponding permission information;

[0032] If the data query request is a business data query, the group business system is queried based on the default authority of the data query request to obtain a business data table, and the corresponding business data is obtained through filtering the business data table and authRecord.

[0033] In addition, to achieve the above purpose, the present application also proposes a permission control device, which is applied to a group management end and includes:

[0034] An analysis module is used to analyze the group structure corresponding to the group management end to obtain comprehensive authority control rules;

[0035] The control module is used to perform authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rules.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a permission management device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the permission management method described above.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the permission management method described above are implemented.

[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the permission management method described above.

[0039] One or more technical solutions proposed in this application have at least the following technical effects:

[0040] The embodiment of the present application proposes a permission control method, device, equipment, storage medium and computer program product, which analyzes the group structure corresponding to the group management end to obtain comprehensive permission control rules; based on the comprehensive permission control rules, permission control is performed on the configuration data in the preset group configuration system and the business data in the group business system. Thus, the group structure of the actual group is analyzed to obtain comprehensive permission control rules for permission control, and permission control is performed on the configuration data in the group configuration system and the business data in the group business system based on the comprehensive permission control rules, which solves the problem that group enterprises cannot flexibly control the permissions of data and improves the efficiency of permission control. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0043] Figure 1 A flowchart of the first embodiment of the method for controlling application permissions is provided;

[0044] Figure 2 This is an overall schematic diagram of the group's standardized authority control method involved in this application's authority control method;

[0045] Figure 3 This is a schematic diagram of the group-level control involved in the permission control method for this application;

[0046] Figure 4 This is a schematic diagram of a custom permission control switch involved in the permission control method for this application;

[0047] Figure 5 A flowchart of the second embodiment of the method for controlling application permissions is provided;

[0048] Figure 6 This is a schematic diagram of the data permission redundant synchronization logic involved in the permission control method for this application;

[0049] Figure 7 This is a schematic diagram of the use of redundant permissions involved in the permission control method for this application;

[0050] Figure 8 This is a schematic diagram of the module structure of the permission control device of the embodiment of the present application;

[0051] Fig. 9 Schematic diagram of the device structure of the hardware operating environment involved in the permission management method in the embodiment of the present application.

[0052] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0054] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0055] The main solution of the embodiment of the present application is: analyze the group structure to obtain subsidiary information, the subsidiary information includes one or more of department information, business information, process information and employee information; construct a group configuration system based on the department information, process information and employee information; construct a group business system based on the business information. Determine the default authority based on the employee contract information of the employee information to obtain the first employee authority control rule, the employee contract information includes one or more of the department to which the employee belongs and the contract type; determine the additional authority based on the employee attribute information of the employee information to obtain the second employee authority control rule, the employee attribute information includes one or more of the employee position, employee position and employee role; determine the management authority based on the process information, department information and business information to obtain the company authority control rule; output the comprehensive authority control rule based on the first employee authority control rule, the second employee authority control rule and the company authority control rule. Output the control data based on the configuration data and business data; monitor the control data based on the preset control threshold; when the control data exceeds the control threshold, clear the redundant authority of the corresponding employee in the group structure. The permission information of the employee is lazily loaded to obtain the permission data of the employee; based on the permission data, the preset temporary permission redundant table authData is updated, and the permission redundant operation of the employee is recorded in the preset permission redundant record table authRecord; based on the authData and authRecord analysis, the update permission of the employee is obtained, and the permission information of the employee is delayed updated according to the update permission; according to the preset time threshold, the employee login time recorded in the authRecord is threshold analyzed; when the employee login time exceeds the time threshold, the redundant data in the authData is cleared. A data query request is received; if the data query request is a permission information query, the authRecord is queried based on the data query request to obtain the corresponding permission information; if the data query request is a business data query, the group business system is queried based on the default permission of the data query request to obtain the business data table, and the corresponding business data is obtained through the business data table and authRecord filtering. This solves the problem that group enterprises cannot flexibly control the permissions of data, realizes the control of permissions, and improves the efficiency of permission control.Based on the scheme of the present invention, in view of the fact that most of the control schemes applied to the group authority control system in reality mainly target business data, and do not take into account the actual diverse configuration data of group enterprises, the expansion of different control functions is time-consuming and labor-intensive, and there are also problems with the control performance under multi-organization configuration, which makes it difficult to meet the increasingly diverse authority management needs of group enterprises, thereby resulting in low actual control efficiency, a permission control method is designed, and the effectiveness of the permission control method of the present invention is verified when controlling permissions. Finally, the accuracy of permission control performed by the method of the present invention is significantly improved.

[0056] In this embodiment, for ease of description, the following description is made with the permission control device as the execution entity.

[0057] Since different digital products for group enterprises in the existing technology, such as human resources services, payment on behalf of others, financial cost control, etc., have various business implementations, they will also generate a variety of configuration data (business lines, reimbursement policies, expense forms, etc.) and business data (warehouse entry forms, reimbursement forms, expenses, orders, etc.). For group enterprises with multiple legal persons, multiple organizations, and multiple dimensions, while ensuring the security of configuration data and business data, permission control also needs to adapt to the diverse management configuration of group enterprises and ensure the high availability of the system. However, the permission control solutions of most systems currently focus on business data and do not take into account the diverse configuration data of group enterprises in fact. The expansion of different control functions is time-consuming and labor-intensive, and there are also problems with the control performance under multi-organization configurations. It is difficult to meet the increasingly diverse permission management needs of group enterprises, and the efficiency of permission control will also decrease.

[0058] This application provides a solution. In the group management end, a group configuration system and a group business system are obtained based on the group architecture. At the same time, the group configuration system and the group business system are controlled by using preset comprehensive authority management rules to provide users with better services.

[0059] From the above embodiments, it can be seen that the present application obtains comprehensive authority control rules by analyzing the group structure corresponding to the group management end; based on the comprehensive authority control rules, authority control is performed on the configuration data in the pre-built group configuration system and the business data in the group business system. Thus, the group structure of the actual group is analyzed to obtain comprehensive authority control rules for authority control, and authority control is performed on the configuration data in the group configuration system and the business data in the group business system based on the comprehensive authority control rules, which solves the problem that group enterprises cannot flexibly control authority over data and improves the efficiency of authority control.

[0060] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, an intention device, etc. that can realize the above functions. The following takes the permission control device as an example to illustrate this embodiment and the following embodiments.

[0061] Based on this, the present application embodiment provides a permission management method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the permission management method of this application.

[0062] In this embodiment, the permission control method is applied to the group management end, including steps S05 to S09:

[0063] Step S05, analyzing the group structure corresponding to the group management terminal to obtain comprehensive authority control rules;

[0064] The permission control method described in this embodiment is mainly aimed at different digital products of group enterprises, such as personnel services, agency payment, financial expense control, etc., which have various business implementations, and therefore generate various configuration data (business lines, reimbursement policies, expense forms, etc.) and business data (warehouse receipts, reimbursement forms, expenses, orders, etc.);

[0065] For multi-legal, multi-organization, and multi-dimensional group enterprises, while ensuring the security of configuration data and business data, permission control also needs to adapt to the diverse management configuration of the group enterprises and ensure the high availability of the system;

[0066] At present, the permission control solutions of most systems are mainly aimed at business data, and do not take into account the diverse configuration data of group enterprises. The expansion of different control functions is time-consuming and labor-intensive, and the control performance under multi-organization configuration is also problematic, making it difficult to meet the increasingly diverse permission management needs of group enterprises.

[0067] Therefore, for the scenario of group use, we first build the group configuration system and group business system corresponding to the group management end based on the group's organizational structure. Among them, the group configuration system includes corresponding configuration data such as personnel services, payment on behalf of others, and financial cost control, while the group business system includes corresponding project information, project personnel, and business data.

[0068] Step S09 , performing authority control on the configuration data in the pre-built group configuration system and the business data in the group business system based on the comprehensive authority control rules.

[0069] After determining the organizational structure of the group, it is necessary to manage the configuration data and business data within the group. In this embodiment, management is performed through preset comprehensive authority management rules. It should be clear that in order to adapt to the diverse management configurations of group enterprises and ensure the high availability of the system, this embodiment sets corresponding company authority management rules and corresponding employee authority management rules for authority management.

[0070] Specifically, the above step S09, before the step of performing authority control on the configuration data in the pre-built group configuration system and the business data in the group business system based on the comprehensive authority control rule, includes:

[0071] Step S06, analyzing the group structure to obtain subsidiary information, wherein the subsidiary information includes one or more of department information, business information, process information, and employee information;

[0072] Step S07, constructing a group configuration system according to the department information, process information and employee information;

[0073] Step S08: constructing a group business system according to the business information.

[0074] Before controlling the business data and configuration data within the group, it is necessary to build the group configuration system and group business system of the group. Therefore, the group structure is analyzed first to find out how many subsidiaries the current group has, and the corresponding department information of the subsidiaries is obtained according to the analysis of different subsidiaries, that is, how many departments there are and what the responsibilities of the departments are. For example, the Human Resources Management Department is responsible for daily recruitment and human care work, etc. The business information is the corresponding business that the subsidiary is responsible for. For example, the consumables subsidiary mainly sells consumables used in products. The process information is the process required by the subsidiary when applying. For example, the leave process needs to be sent to the superior leader, the human resources management department and the boss, etc. The employee information includes the personal information of all employees in the subsidiary, such as education, rank and salary, etc.

[0075] After obtaining the corresponding subsidiary information, the group configuration system can be constructed based on the department information, process information and employee information. It should be noted that only using this information for construction is to separate the business system and the configuration system to avoid data confusion. In some special cases, business information can also be used for corresponding system construction, but only key information is used;

[0076] Business information is usually only used to build the group business system. In the actual business system construction, business information alone is not enough, because the development of the business requires responsible persons, follow-up persons, and payment request processes, etc. Therefore, data can also be collected synchronously from department information, process information, and employee information to build the business system.

[0077] The above-mentioned various information should not be limited to the information recorded above. A normally functioning group should include more data. Therefore, the actual business system and configuration system should be set according to the actual business needs.

[0078] More specifically, before the step S05 of performing authority control on the group configuration system and the group business system according to the preset authority control rules, the method includes:

[0079] Step S01, determining the default authority according to the employee contract information of the employee information to obtain a first employee authority management rule, wherein the employee contract information includes one or more of a department and a contract type;

[0080] Step S02, performing additional authority determination according to employee attribute information of the employee information to obtain a second employee authority management rule, wherein the employee attribute information includes one or more of employee position, employee post, and employee role;

[0081] Step S03, determining the management authority according to the process information, department information and business information, and obtaining the company authority management and control rules;

[0082] Step S04: outputting comprehensive authority control rules based on the first employee authority control rules, the second employee authority control rules and the company authority control rules.

[0083] In order to improve the usability of permission control, reduce repeated configuration by users, and support customized permission control rules, this embodiment adopts: individual + multi-person authorization rules and customized permission switch implementation;

[0084] Before explaining the above switches and authorization rules, it should be clear that in actual management, there are some default permissions for employee information. For example, if the position signed by an employee at the time of joining the company is business-related, then his permissions in the business system should be increased accordingly. Therefore, the default permissions can be determined based on the employee contract information in the employee information to obtain the first employee permission management rule. The employee contract information includes the department to which he belongs and the contract type, etc. Therefore, when determining the corresponding permission management rule, the configuration data and employee data that the department can access are included;

[0085] In addition, as employees are promoted and participate in different businesses, additional permissions need to be determined based on the employee attribute information in the employee information. For example, when an employee participates in another business, he needs to be temporarily seconded. At this time, permissions can be determined based on employee attribute information such as employee position, employee position, and employee role to obtain the second employee permission management rule;

[0086] In addition to employee management, corresponding management authority must be determined for each process, department, and business so that the group's managers can be aware of it. Therefore, at this time, management authority can be determined based on process information, department information, and business information to obtain company authority control rules. Finally, comprehensive authority control rules are output based on the first employee authority control rules, the second employee authority control rules, and the company authority control rules.

[0087] This embodiment manages the group configuration system and the group business system based on comprehensive authority management rules. Figure 2 As shown:

[0088] Based on the actual group's permission control method, permission control is divided into group configuration permissions and group business permissions. The implementation of configuration permissions and business permissions are isolated from each other and do not affect each other.

[0089] Group configuration authority control: Supports control of group configuration authority based on group mode and legal person company mode. Enterprises can freely switch the ownership of configuration authority and isolate group configuration authority.

[0090] (1) The group mode is mainly aimed at group companies with few legal persons and few configurations. Configuration data rarely supports configuration sharing because the enterprise configuration belongs to the group by default and is shared by the configuration personnel. The configuration personnel with the corresponding role have the authority to add, delete, modify and query the enterprise configuration;

[0091] (2) The legal person company model is mainly aimed at group companies with multiple legal persons and multiple configurations. The configuration data needs to be operated by the administrator of each company, and the configurations of different companies need to be isolated according to authorization. Configuration personnel with the same role are granted different configuration permissions because they belong to different companies, and their permissions to add, delete, modify and query enterprise configurations are also different;

[0092] Group business authority control: Support enterprises to open and close the control of business authority according to actual conditions to determine the business operation authority of personnel with different roles;

[0093] How to implement aspect-based permission control Figure 3As shown in the figure, the control logic that relies on data permissions implements aspect-based processing. The control logic does not invade the existing configuration system and business system. As long as it complies with the unified docking specifications, the permission control of new configuration entries and business functions can be quickly implemented.

[0094] In addition, this embodiment also includes customized permission rules: Figure 4 As shown, in order to improve the usability of permission control, reduce repeated configuration of users, and support customized permission control rules, it is mainly implemented from two aspects: individual + multi-person authorization rules and customized permission switches:

[0095] 1. Personal authorization + multi-person authorization: optimize the implementation of permission control in group enterprises. In terms of personal permissions, support default permission control and custom permission control based on the personal situation of employees (department, contract signing), support multi-person permission control based on the personal attributes of employees (position, post, role, etc.), and reduce repeated implementation of enterprises;

[0096] 2. Customized permission switches: For the characteristic permission control of group enterprises, it supports adding customized switch control according to the characteristic needs of the enterprise. In the permission control of the actual group settings / business, it supports the association of the dimensions (company, department, business group, etc.) that the enterprise management switch needs to control, and configures the rule dimensions of the associated control (full, including belonging, including deactivation, etc.) by itself, which is convenient for the group to implement customized rule support such as full, including sub-department, including deactivation in permission control. At the same time, it is also convenient for the subsequent enterprises to implement related switch control by themselves when adding customized control dimensions.

[0097] This embodiment uses the above solution to obtain comprehensive authority control rules by analyzing the group structure corresponding to the group management end; based on the comprehensive authority control rules, authority control is performed on the configuration data in the pre-built group configuration system and the business data in the group business system. Thus, the group structure of the actual group is analyzed to obtain comprehensive authority control rules for authority control, and authority control is performed on the configuration data in the group configuration system and the business data in the group business system based on the comprehensive authority control rules, which solves the problem that group enterprises cannot flexibly control authority over data and improves the efficiency of authority control.

[0098] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 5 After step S09, based on the comprehensive authority control rules, the configuration data in the pre-built group configuration system and the business data in the group business system are controlled by authority, the method includes steps S10 to S12:

[0099] Step S10, outputting control data according to the configuration data and business data;

[0100] Step S11, monitoring the control data based on a preset control threshold;

[0101] Step S12, when the control data exceeds the control threshold, clearing the redundant permissions of the corresponding employees in the group structure.

[0102] For control configuration types with large amounts of data, such as large groups with tens of thousands of organizations, if the configuration data controlled by the enterprise exceeds the specified threshold, group permission control is implemented based on a temporary redundancy solution based on customized permission configuration, that is, when the enterprise triggers the corresponding permission configuration change, it is marked, and the data permissions of employees are asynchronously redundant, skipping the real-time query process during permission verification and screening, so as to improve the performance and stability of group permission screening;

[0103] This embodiment takes into account that the actual scenario may include multiple subsidiaries, multiple businesses, and multiple employees. Therefore, a large number of authority data changes are likely to occur during changes. Therefore, the group configuration system is first analyzed to obtain the first control data, and the group business system is analyzed to obtain the second control data. The two are combined and output to obtain the control data.

[0104] Finally, the preset control threshold is used to monitor the control data. When the control data exceeds the control threshold, the corresponding redundant permissions of employees in the group structure are cleared. It should be clear that in the group permission control, process and business permission management are all aimed at specific employees. Therefore, when the redundant data corresponding to employees is cleared, the performance and stability of the group permission screening can be better improved.

[0105] Specifically, the above step S12, the step of clearing redundant permissions of corresponding employees in the group structure, includes:

[0106] Step S121, lazily loading the permission information of the employee to obtain the permission data of the employee;

[0107] Step S122, updating the preset temporary authority redundancy table authData based on the authority data, and recording the authority redundancy operation of the employee into the preset authority redundancy record table authRecord;

[0108] Step S123, obtaining the update authority of the employee based on the authData and authRecord analysis, and performing delayed update on the authority information of the employee according to the update authority;

[0109] Step S124, performing a threshold analysis on the employee login time recorded in the authRecord according to a preset time threshold;

[0110] Step S125, when the employee login time exceeds the time threshold, clear the redundant data in the authData.

[0111] In this embodiment, if Figure 6 As shown, a temporary permission redundancy table (hereinafter referred to as authData) and a permission redundancy record table (hereinafter referred to as authRecord) are used:

[0112] 1. Lazy loading + redundancy of permissions. Design the temporary redundant table of employee permissions and the redundant record table of permissions. When the employee logs in, the permission data of the employee is lazily loaded, and the permission data authData is recorded / updated. The redundant operation of the login permissions is recorded and updated to authRecord.

[0113] 2. Permission change record + delayed update: For user data that has used authData and has authRecord records, it is necessary to mark the permissions that need to be updated based on changes in employee configuration (department, position, job title, rank, role) / permission configuration (permission configuration rules) so that delayed updates can be performed the next time the employee logs in;

[0114] 3. Clean up redundant permissions. Regularly clean up redundant permission data. When an employee logs in to use authData data, record their login time in authRecord. Then run a batch daily to clean up the redundant permission database for those who have not logged in to use authData for more than one week, to ensure that redundant permission data does not accumulate and there is no large amount of inactive data.

[0115] Further, Figure 1 In the illustrated embodiment, after the step S06 of performing authority control on the group configuration system and the group business system according to the preset comprehensive authority control rules, the method further includes:

[0116] Step S13, receiving a data query request;

[0117] Step S14: if the data query request is a permission information query, query the authRecord based on the data query request to obtain corresponding permission information;

[0118] Step S15: if the data query request is a business data query, query the group business system based on the default authority of the data query request to obtain a business data table, and obtain corresponding business data through the business data table and authRecord filtering.

[0119] After the permissions are managed, you may face the situation where employees query their permissions. Figure 7 As shown:

[0120] For the redundancy of enabling permission redundancy, in the scenario involving direct query of available organizations, the logic of filtering individual permissions + multi-person permissions filtering and matching can be skipped. As long as the user has the authRecord permission saving record, the authRecord record table can be directly queried to return the employee's available permission information;

[0121] For scenarios involving business data screening (such as documents, expenses, etc.), it is necessary to screen according to the user's default permissions. In this case, the screening logic can be connected by joining the business data table with the redundant permission table authRecord to avoid directly passing in a large amount of permission data through in query, which may cause database stability problems;

[0122] If you need to verify the user's permission information and determine whether the user's filtered permission data is compliant, you can directly match the user's filtered permission information with the redundant permission table authRecord, and you can also avoid the matching logic involved in the permission configuration.

[0123] This embodiment uses the above scheme to output control data based on the configuration data and business data; monitor the control data based on a preset control threshold; and clear the redundant permissions of the corresponding employees in the group structure when the control data exceeds the control threshold. Thus, the group structure of the actual group is analyzed to obtain comprehensive permission control rules for permission control, and permission control is performed on the configuration data in the group configuration system and the business data in the group business system based on the comprehensive permission control rules, which solves the problem that group enterprises cannot flexibly control permissions on data and improves the efficiency of permission control.

[0124] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the permission management method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0125] This application also provides a permission control device, please refer to Figure 8 The authority control device is applied to the group management end, including:

[0126] An analysis module 10 is used to analyze the group structure corresponding to the group management terminal to obtain comprehensive authority control rules;

[0127] The control module 20 is used to perform authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rules.

[0128] The permission control device provided by this application adopts the permission control method in the above embodiment, which can solve the technical problem that group enterprises cannot flexibly control the permissions of data. Compared with the prior art, the beneficial effects of the permission control device provided by this application are the same as the beneficial effects of the permission control method provided by the above embodiment, and the other technical features in the permission control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0129] The present application provides a permission management device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the permission management method in the above-mentioned embodiment one.

[0130] Reference below Fig. 9 , which shows a schematic diagram of the structure of a permission control device suitable for implementing the embodiment of the present application. The permission control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The permission management device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0131] like Fig. 9As shown, the permission control device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the permission control device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the permission control device to communicate with other devices wirelessly or wired to exchange data. Although the permission control device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0132] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0133] The permission control device provided by this application adopts the permission control method in the above embodiment, which can solve the technical problem that group enterprises cannot flexibly control the permissions of data. Compared with the prior art, the beneficial effects of the permission control device provided by this application are the same as the beneficial effects of the permission control method provided by the above embodiment, and the other technical features in the permission control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0134] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0135] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0136] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the permission management method in the above-mentioned embodiment.

[0137] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0138] The computer-readable storage medium may be included in the permission control device; or may exist independently without being installed in the permission control device.

[0139] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by a group enterprise and the device is unable to flexibly perform permission control on data, the permission control device: analyzes the group structure corresponding to the group management end to obtain comprehensive permission control rules; and performs permission control on the configuration data in the pre-built group configuration system and the business data in the group business system based on the comprehensive permission control rules.

[0140] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0141] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0142] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0143] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned permission control method, and can solve the technical problem that group enterprises cannot flexibly control the permissions of data. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the permission control method provided in the above-mentioned embodiment, and will not be repeated here.

[0144] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned permission management method when executed by a processor.

[0145] The computer program product provided by this application can solve the technical problem that group enterprises cannot flexibly control the rights of data. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the rights control method provided by the above embodiment, which will not be repeated here.

[0146] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A permission control method, characterized in that: The permission control method is applied to the group management end, and the method includes: Analyze the group structure corresponding to the group management end to obtain comprehensive authority control rules; Based on the comprehensive authority management and control rules, authority management and control is performed on the configuration data in the pre-built group configuration system and the business data in the group business system.

2. The method according to claim 1, characterized in that Before the step of performing authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rule, the method further includes: Analyze the group structure to obtain subsidiary information, where the subsidiary information includes one or more of department information, business information, process information, and employee information; A group configuration system is constructed based on the department information, process information and employee information; A group business system is constructed based on the business information.

3. The method according to claim 2, characterized in that Before the step of analyzing the group structure corresponding to the group management terminal to obtain comprehensive authority control rules, the method further includes: Determine the default authority according to the employee contract information of the employee information to obtain a first employee authority management rule, wherein the employee contract information includes one or more of a department and a contract type; Performing additional authority determination according to employee attribute information of the employee information to obtain a second employee authority management rule, wherein the employee attribute information includes one or more of employee position, employee post, and employee role; Determine management authority based on the process information, department information, and business information to obtain company authority management rules; Output comprehensive authority control rules based on the first employee authority control rules, the second employee authority control rules and the company authority control rules.

4. The method according to claim 1, characterized in that After the step of performing authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rule, the method includes: Output control data according to the configuration data and business data; Monitoring the control data based on a preset control threshold; When the control data exceeds the control threshold, redundant permissions of the corresponding employees in the group structure are cleared.

5. The method according to claim 4, characterized in that The step of clearing redundant permissions of corresponding employees in the group structure includes: Lazy loading is performed on the permission information of the employee to obtain the permission data of the employee; Based on the authority data, the preset temporary authority redundancy table authData is updated, and the authority redundancy operation of the employee is recorded in the preset authority redundancy record table authRecord; Analyzing the employee's update authority based on the authData and authRecord, and performing delayed update on the employee's authority information according to the update authority; According to a preset time threshold, a threshold analysis is performed on the employee login time recorded in the authRecord; When the employee login time exceeds the time threshold, the redundant data in the authData is cleared.

6. The method according to claim 5, characterized in that After the step of performing authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rule, the method further includes: Receive data query requests; If the data query request is a permission information query, query the authRecord based on the data query request to obtain corresponding permission information; If the data query request is a business data query, the group business system is queried based on the default authority of the data query request to obtain a business data table, and the corresponding business data is obtained through filtering the business data table and authRecord.

7. A permission control device, characterized in that: The device is applied to a group management terminal and includes: An analysis module is used to analyze the group structure corresponding to the group management end to obtain comprehensive authority control rules; The control module is used to perform authority control on the configuration data in the preset group configuration system and the business data in the group business system based on the comprehensive authority control rules.

8. A permission management device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the permission control method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the permission management method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the permission management method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Multi-dimensional management and control data permission management method and system

    CN111680276A

  • Engineering predictive analysis method

    CN115422402A

  • Data access authority management method, apparatus, terminal device and storage medium

    US20200356688A1