Authorization management method, device, electronic device and storage medium for approval system

By dividing the authority of the approval system and model training of the organizational structure, the authority units of each position are determined and the approval process is established, which solves the problems of complicated and error-prone authority management work in the existing technology, and achieves rapid preview and batch volume Function of operation permissions.

CN112100593BActive Publication Date: 2025-02-18GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010995621.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-21
Publication Date
2025-02-18
Estimated Expiration
2040-09-21

AI Technical Summary

Technical Problem

In the prior art, the authority management of the approval system is complicated and prone to errors, especially after personnel positions or power adjustments, the approval personnel of the synchronous maintenance process are complicated and prone to errors.

Method used

By dividing the permissions of preset systems, several power units are obtained; obtaining the preset organizational structure and entering the position into the trained permission model to obtain the corresponding power units for each position; establishing an approval process and based on the approval content and position powers The unit determines the position of the approval node.

Benefits of technology

It realizes a quick preview of all permissions for each position, can predict the power of undefined positions, and supports batch activation permission operation. When personnel change, you only need to update the person in charge, which solves the problem of complicated workload and error-prone issues of permission management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112100593B_ABST
    Figure CN112100593B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and storage medium for authority management of an approval system, the method comprising dividing various preset system authorities to obtain a number of authority units; obtaining a preset organizational structure, and inputting each position in the preset organizational structure into a trained authority model to obtain the authority unit corresponding to each position; establishing an approval process; wherein the approval process comprises a number of approval nodes and the approval content corresponding to each approval node; determining the authority unit corresponding to each approval node according to the approval content corresponding to each approval node; determining the position corresponding to each approval node according to the authority unit corresponding to each approval node and the authority unit corresponding to each position. This method can realize the prediction of authority of undefined positions (unknown responsibilities), solving the technical problem that the authority management of the existing approval system is complicated and error-prone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of authority management, and in particular to an authority management method, device, electronic device and storage medium of an approval system. Background Art

[0002] At present, the permissions of application systems are all controlled by roles, and the approvers in the process often realize the flow of the process by binding roles or users. For enterprises with more complex organizational structures, there may be multiple organizations, each of which has multiple positions, each of which has a certain number of users, and the same positions may be set up in different organizations. If the role-based permission management solution is still adopted, the permission administrator needs to specify the corresponding role for each user in the enterprise. Due to the large number of users, more role permissions may need to be set, which makes role permissions difficult to manage, and also causes the problem of repeatedly specifying multiple roles to multiple users with the same permissions, which obviously greatly increases the workload of the permission administrator. Especially after the adjustment of personnel positions or powers, the workload of the approvers who simultaneously maintain the process is complicated and prone to errors.

[0003] Therefore, there is an urgent need for a permission management method that is easy to manage and easy to change approvers. Summary of the invention

[0004] In response to the above problems, the present application provides a permission management method, device, electronic device and storage medium for an approval system, which solves the technical problems in the prior art that the permission management of the approval system is complicated and prone to errors.

[0005] In a first aspect, the present application provides a method for managing permissions of an approval system, the method comprising:

[0006] Divide each preset system authority into several authority units; wherein the preset system authority includes approval authority;

[0007] Obtain a preset organizational structure, and input each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank;

[0008] Establishing an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node;

[0009] Determine the authority unit corresponding to each approval node based on the approval content corresponding to each approval node;

[0010] Determine the position corresponding to each approval node based on the power unit corresponding to each approval node and the power unit corresponding to each position.

[0011] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, after the step of obtaining a preset organizational structure and inputting each position in the preset organizational structure into a trained authority model to obtain the authority unit corresponding to each position, the method further includes:

[0012] According to each position and its corresponding power unit, the number of power units corresponding to each position is obtained, and the number is compared with a preset threshold;

[0013] When the number of power units corresponding to the current position is greater than the preset threshold, an early warning message is issued.

[0014] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, the authority model is constructed by the following steps:

[0015] Obtaining a number of defined positions; wherein the defined positions include department, rank and responsibilities;

[0016] According to the responsibilities of each defined position, determine the authority unit corresponding to each defined position;

[0017] Determine the weight of each defined position according to its rank;

[0018] The authority model is obtained by performing machine learning training on the weights of each defined position, the departments to which it belongs and its corresponding authority units.

[0019] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, the step of determining the weight of each defined position according to the rank of each defined position includes the following steps:

[0020] According to the rank of each defined position, each defined position is assigned a weight from high to low in order of rank.

[0021] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, the step of inputting each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position includes the following steps:

[0022] Determine the weight of each position according to the rank of each position in the preset organizational structure;

[0023] The weight of each position and the department to which it belongs are input into the trained authority model to obtain the authority unit corresponding to each position.

[0024] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, the method further includes:

[0025] According to the positions corresponding to each approval node, each pending approval node will be pushed to the person in charge of the corresponding position.

[0026] According to an embodiment of the present application, preferably, in the permission management method of the above-mentioned approval system, the preset system permission also includes menu permission and / or CRUD permission, and the method further includes:

[0027] Establishing a menu task and / or a CRUD task, and determining a power unit corresponding to the menu task and / or the CRUD task;

[0028] According to the power units corresponding to the menu tasks and / or the CRUD tasks, and the power units corresponding to the respective positions, obtaining the positions corresponding to the menu tasks and / or the positions corresponding to the CRUD tasks;

[0029] According to the position corresponding to the menu task, the menu task to be processed is pushed to the person in charge of the corresponding position; and / or

[0030] According to the position corresponding to the CRUD task, the CRUD task to be processed is pushed to the person in charge of the corresponding position.

[0031] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, after the step of dividing each preset system authority to obtain a plurality of authority units, the method further includes:

[0032] According to the mutual exclusivity and combination between various power units, all power units are divided into several power modules;

[0033] Each power module includes at least one power unit, and mutually exclusive power units are located in different power modules.

[0034] According to an embodiment of the present application, preferably, in the authority management method of the above-mentioned approval system, the step of determining the authority unit corresponding to each defined position according to the responsibilities of each defined position includes the following steps:

[0035] According to the responsibilities of each defined position, determine the authority module corresponding to each defined position;

[0036] According to the authority modules corresponding to each defined position, determine the authority units corresponding to each defined position.

[0037] In a second aspect, the present application provides a rights management device for an approval system, the device comprising:

[0038] The authority division module is used to divide various preset system authorities into several authority units; wherein the preset system authorities include approval authorities;

[0039] The first matching module is used to obtain a preset organizational structure, and input each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank;

[0040] An approval process establishment module is used to establish an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node;

[0041] The second matching module is used to determine the authority unit corresponding to each approval node according to the approval content corresponding to each approval node;

[0042] The third matching module is used to determine the position corresponding to each approval node according to the power unit corresponding to each approval node and the power unit corresponding to each position.

[0043] In a third aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the permission management method of the approval system as described in any one of the first aspects is executed.

[0044] In a fourth aspect, the present application provides a storage medium, which stores a computer program that can be executed by one or more processors and can be used to implement the authority management method of the approval system as described in any one of the first aspects.

[0045] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:

[0046] The present application provides a method, device, electronic device and storage medium for the management of the rights of an approval system, the method comprising dividing each preset system right to obtain a number of power units; obtaining a preset organizational structure, and inputting each position in the preset organizational structure into a trained authority model to obtain the power unit corresponding to each position; establishing an approval process; wherein the approval process comprises a number of approval nodes and the approval content corresponding to each approval node; determining the power unit corresponding to each approval node according to the approval content corresponding to each approval node; determining the position corresponding to each approval node according to the power unit corresponding to each approval node and the power unit corresponding to each position. Through this method, it is possible to quickly preview all the rights (i.e., power units) of each position, predict the rights of undefined positions (unknown responsibilities), and perform batch permission operations. When personnel change, the optimal rights (i.e., power units) of each position remain unchanged, and only the person in charge corresponding to each position needs to be updated, which solves the technical problem that the authority management workload of the existing approval system is complicated and prone to errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings:

[0048] Figure 1 A flowchart of a permission management method for an approval system provided in an embodiment of the present application;

[0049] Figure 2 A schematic diagram of the structure of a power unit library provided in an embodiment of the present application;

[0050] Figure 3 A schematic diagram of the structure of a power module provided in an embodiment of the present application;

[0051] Figure 4 A position authority diagram provided for an embodiment of the present application;

[0052] Figure 5 A connection block diagram of a rights management device of an approval system provided in an embodiment of the present application;

[0053] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0054] The following will describe the implementation methods of the present application in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present application applies technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present application and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the scope of protection of the present application.

[0055] Embodiment 1

[0056] See also Figure 1 This embodiment provides a method for managing the rights of an approval system, including:

[0057] Step S101: Divide various preset system permissions to obtain a number of authority units; wherein the preset system permissions include approval permissions.

[0058] Specifically, the approval authority includes financial, administrative, and personnel approval authority. For example, the financial approval authority can be divided into internal salary (level 1, level 2, and level 3), business trip reimbursement (level 1, level 2, and level 3), and external procurement contracts (level 1, level 2, and level 3). The administrative approval authority can be divided into access control (level 1, level 2, and level 3), attendance (level 1, level 2, and level 3), meal card replacement (level 1, level 2, and level 3), and personnel approval authority can be divided into promotion (level 1, level 2, and level 3), salary change (level 1, level 2, and level 3).

[0059] Several power units constitute a power unit library, such as Figure 2 shown.

[0060] After step S101, the following steps are also included:

[0061] According to the mutual exclusivity and combination between various power units, all power units are divided into several power modules;

[0062] Each power module includes at least one power unit, and mutually exclusive power units are located in different power modules.

[0063] In addition, in order to achieve standardization and batch management, several power units can be classified into several power modules, such as Figure 3 As shown, each power module includes at least one power unit. It should be noted that each power module may include repeated power units as needed, such as power modules A and B. Two mutually exclusive power units cannot be placed in the same power module, and a power unit that is mutually exclusive with other power units constitutes a power module by itself, such as power module C.

[0064] For example, for a power module that is fixedly assigned to a certain position, the purpose of managing the system authority of the position can be achieved by simply performing modification operations such as adding or deleting the right units in the power module.

[0065] Step S102: Obtain a preset organizational structure, and input each position in the preset organizational structure into a trained authority model to obtain a power unit corresponding to each position; wherein the position includes the department to which it belongs and the rank.

[0066] The preset organizational structure is pre-set according to the enterprise organizational structure, and the preset organizational structure includes information such as positions, departments, and job ranks.

[0067] The authority model is a prediction model used to describe the corresponding relationship between positions and authority units.

[0068] The permission model is constructed through the following steps:

[0069] (a) obtaining a number of defined positions, wherein the defined positions include department, rank and responsibilities;

[0070] (b) Determine the authority unit corresponding to each defined position based on the responsibilities of each defined position;

[0071] (c) Determine the weight of each defined position according to its rank;

[0072] (d) Performing machine learning training on the weights of each defined position, the department to which it belongs, and its corresponding authority unit to obtain the authority model.

[0073] The step of determining the power unit corresponding to each defined position according to the responsibilities of each defined position includes the following steps:

[0074] (a) According to the responsibilities of each defined position, determine the authority module corresponding to each defined position;

[0075] (b) According to the authority modules corresponding to the defined positions, determine the authority units corresponding to the defined positions.

[0076] That is to say, for defined positions (i.e. positions with known responsibilities), their corresponding power modules can be determined based on their responsibilities, thereby determining their corresponding power units.

[0077] For example, the duties of the Minister of Finance are to approve various procurement contracts and various financial revenue and expenditure matters within the company. Therefore, correspondingly, you can get the corresponding power unit of the Minister of Finance.

[0078] The step of determining the weight of each defined position according to the rank of each defined position comprises the following steps:

[0079] According to the rank of each defined position, each defined position is assigned a weight from high to low in order of rank.

[0080] For example, according to the order of general manager, deputy general manager, director, minister, deputy minister, section chief and other positions from high to low, each position is assigned a weight from high to low, such as the weight of the general manager is 10, the weight of the deputy general manager is 9, the weight of the director is 8, the weight of the minister is 7, and the weight of the section chief is 6. In this way, the weight of each defined position is determined.

[0081] In step S102, the step of inputting each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position includes the following steps:

[0082] (a) determining the weight of each position according to the rank of each position in the preset organizational structure;

[0083] (b) The weight of each position and the department to which it belongs are input into the authority model to obtain the authority unit corresponding to each position.

[0084] That is, for undefined positions (i.e. positions with unknown responsibilities), their corresponding power units can be predicted based on the weights corresponding to their job levels.

[0085] For example, if a deputy minister position is newly added and the duties of the position are unclear, then according to the rank of the deputy minister (between the minister and the section chief), the weight is determined to be 6.5, and the weight of the position and the department to which it belongs are input into the authority model to obtain the power unit corresponding to the position.

[0086] In this embodiment, the weights of defined positions, their departments and their corresponding power units are used for machine learning training, the defined positions are quantified, and based on big data analysis, a good corresponding relationship between positions and power units is obtained, thereby achieving the technical effect of power prediction for undefined positions.

[0087] Of course, power prediction only provides users with a choice of options. The actual power can be determined by the user by checking the box in the provided predicted power options.

[0088] After step S102, the following steps are also included:

[0089] (a) according to each position and its corresponding power unit, obtaining the number of power units corresponding to each position and comparing it with a preset threshold;

[0090] (b) When the number of power units corresponding to the current position is greater than the preset threshold, an early warning message is issued.

[0091] In addition, according to each position and its corresponding authority unit, a position authority map of each position can also be obtained. The position authority map is as follows: Figure 4 As shown, it can be seen that according to the permission map, all permissions of each position can be quickly previewed.

[0092] Step S103: Establish an approval process; wherein the approval process includes a number of approval nodes and approval content corresponding to each approval node.

[0093] The approval content includes approval matters and approval levels.

[0094] For example, establish a financial approval process that is about wages: employee salary calculation → first-level salary approval → second-level salary approval → third-level salary approval.

[0095] Step S104: Determine the authority unit corresponding to each approval node according to the approval content corresponding to each approval node.

[0096] For example, the node whose approval content is first-level salary approval corresponds to the authority unit of first-level salary approval, the node whose approval content is second-level salary approval corresponds to the authority unit of second-level salary approval, and the node whose approval content is third-level salary approval corresponds to the authority unit of third-level salary approval.

[0097] Step S105: According to the power units corresponding to each approval node and the power units corresponding to each position, the positions corresponding to each approval node are obtained.

[0098] For example, the position corresponding to the authority unit for first-level salary approval is the chief financial officer, the position corresponding to the authority unit for second-level salary approval is the finance minister, and the position corresponding to the authority unit for third-level salary approval is the financial director.

[0099] Therefore, the position corresponding to the node of first-level salary approval is the chief financial officer, the position corresponding to the node of second-level salary approval is the finance minister, and the position corresponding to the node of third-level salary approval is the financial director.

[0100] At the approval node, you can pull down to expand the process overview and view the authority units associated with the process.

[0101] Step S106: According to the positions corresponding to the approval nodes, each approval node to be processed is pushed to the person in charge of the corresponding position.

[0102] Specifically, the person in charge of the corresponding position is the person in charge currently in the position. When the person in charge changes (organizational transfer), the pending approval node can be directly pushed to the current person in charge, that is, the replacement of the approver is convenient to operate and the modification process is simple. When the person in charge of the corresponding position resigns, the person in charge of the corresponding position is directly replaced by the acting person in charge, and the approval authority of the resigned person in charge can be closed.

[0103] In addition, the preset system permissions also include menu permissions and / or CRUD (create, delete, query and modify) permissions.

[0104] Step S107: Create a menu task and / or a CRUD task, and determine the authority unit corresponding to the menu task and / or the CRUD task.

[0105] That is, in addition to the approval node, the method in this embodiment can also be used for menu tasks and / or CRUD tasks in the approval system.

[0106] Step S108: According to the power units corresponding to the menu tasks and / or the CRUD tasks, and the power units corresponding to the respective positions, the positions corresponding to the menu tasks and / or the positions corresponding to the CRUD tasks are obtained.

[0107] Step S109: according to the position corresponding to the menu task, push the menu task to be processed to the person in charge of the corresponding position; and / or

[0108] According to the position corresponding to the CRUD task, the CRUD task to be processed is pushed to the person in charge of the corresponding position.

[0109] For example, the modification authority of the power unit of a certain position should belong to the Human Resources Department and the IT Department. According to the power unit corresponding to the task, the task will be pushed to the corresponding heads of the Human Resources Department and the IT Department.

[0110] The present embodiment provides a method for managing the rights of an approval system, which includes dividing various preset system rights to obtain a number of power units; obtaining a preset organizational structure, and inputting each position in the preset organizational structure into a trained authority model to obtain the power unit corresponding to each position; establishing an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node; determining the power unit corresponding to each approval node according to the approval content corresponding to each approval node; determining the position corresponding to each approval node according to the power unit corresponding to each approval node and the power unit corresponding to each position. Through this method, it is possible to quickly preview all the rights (i.e., power units) of each position, predict the rights of undefined positions (unknown responsibilities), and perform batch permission operations. When personnel change, the optimal rights (i.e., power units) of each position remain unchanged, and only the person in charge corresponding to each position needs to be updated, which solves the technical problems that the authority management workload of the existing approval system is complicated and prone to errors.

[0111] Embodiment 2

[0112] See also Figure 5 This embodiment provides a permission management device 100 of an approval system, including: a permission division module 101, a first matching module 102, an approval process establishment module 103, a second matching module 104 and a third matching module 105.

[0113] The authority division module 101 is used to divide various system preset system authorities to obtain a number of authority units; wherein the preset system authorities include approval authorities;

[0114] The first matching module 102 is used to obtain a preset organizational structure, and input each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank;

[0115] The approval process establishment module 103 is used to establish an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node;

[0116] The second matching module 104 is used to determine the authority unit corresponding to each approval node according to the approval content corresponding to each approval node;

[0117] The third matching module 105 is used to determine the position corresponding to each approval node according to the authority unit corresponding to each approval node and the authority unit corresponding to each position.

[0118] The authority division module 101 divides various preset system authorities to obtain a number of authority units; wherein the preset system authorities include approval authorities; the first matching module 102 obtains a preset organizational structure, and inputs each position in the preset organizational structure into a trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank; the approval process establishment module 103 establishes an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node; the second matching module 104 determines the authority unit corresponding to each approval node according to the approval content corresponding to each approval node; the third matching module 105 determines the position corresponding to each approval node according to the authority unit corresponding to each approval node and the authority unit corresponding to each position.

[0119] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.

[0120] Embodiment 3

[0121] This embodiment provides an electronic device, which may be a mobile phone, a computer or a tablet computer, etc., including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the permission management method of the approval system described in Embodiment 1 is implemented. It is understood that the electronic device may also include an input / output (I / O) interface and a communication component.

[0122] The processor is used to execute all or part of the steps in the permission management method of the approval system in Example 1. The memory is used to store various types of data, which may include instructions of any application or method in the electronic device, and data related to the application.

[0123] The processor can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to execute the authority management method of the approval system in the above-mentioned embodiment 1.

[0124] The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0125] Embodiment 4

[0126] This embodiment provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored. When the computer program is executed by a processor, the following method steps can be implemented:

[0127] Step S101: Divide each preset system authority to obtain a number of authority units; wherein the preset system authority includes approval authority;

[0128] Step S102: Obtain a preset organizational structure, and input each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank;

[0129] Step S103: Establish an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node;

[0130] Step S104: Determine the authority unit corresponding to each approval node according to the approval content corresponding to each approval node;

[0131] Step S105: Determine the position corresponding to each approval node according to the power unit corresponding to each approval node and the power unit corresponding to each position.

[0132] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.

[0133] In summary, the present application provides a method, device, electronic device and storage medium for the management of the rights of an approval system, the method comprising dividing each preset system right to obtain a number of power units; obtaining a preset organizational structure, and inputting each position in the preset organizational structure into a trained authority model to obtain the power unit corresponding to each position; establishing an approval process; wherein the approval process comprises a number of approval nodes and the approval content corresponding to each approval node; determining the power unit corresponding to each approval node according to the approval content corresponding to each approval node; determining the position corresponding to each approval node according to the power unit corresponding to each approval node and the power unit corresponding to each position. This method can realize a quick preview of all the rights (i.e., power units) of each position, can realize the prediction of the rights of undefined positions (unknown responsibilities), and can perform batch permission operations. When personnel change, the optimal rights (i.e., power units) of each position remain unchanged, and only the person in charge corresponding to each position needs to be updated, which solves the technical problems that the existing rights management workload is complicated and prone to errors.

[0134] In the several embodiments provided in the present application, it should be understood that the disclosed method can also be implemented in other ways. The method embodiments described above are merely illustrative.

[0135] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0136] Although the implementation methods disclosed in this application are as above, the contents described are only implementation methods adopted for facilitating the understanding of this application, and are not intended to limit this application. Any technician in the technical field to which this application belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.

Claims

1. A method for managing the rights of an approval system, characterized in that: The method comprises: Divide each preset system authority into several authority units; wherein the preset system authority includes approval authority; Obtain a preset organizational structure, and input each position in the preset organizational structure into a trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank; the authority model is constructed by the following steps: obtain a number of defined positions; wherein the defined positions include the department to which they belong, the rank and the responsibility; determine the authority unit corresponding to each defined position according to the responsibility of each defined position; determine the weight of each defined position according to the rank of each defined position; perform machine learning training on the weight of each defined position, the department to which it belongs and its corresponding authority unit to obtain the authority model; Establishing an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node; Determine the authority unit corresponding to each approval node based on the approval content corresponding to each approval node; Determine the position corresponding to each approval node based on the power unit corresponding to each approval node and the power unit corresponding to each position.

2. The method according to claim 1, characterized in that: After the step of obtaining a preset organizational structure and inputting each position in the preset organizational structure into a trained authority model to obtain the authority unit corresponding to each position, the method further includes: According to each position and its corresponding power unit, the number of power units corresponding to each position is obtained, and the number is compared with a preset threshold; When the number of power units corresponding to the current position is greater than the preset threshold, an early warning message is issued.

3. The method according to claim 1, characterized in that The step of determining the weight of each defined position according to the rank of each defined position comprises the following steps: According to the rank of each defined position, each defined position is assigned a weight from high to low in order of rank.

4. The method according to claim 1, characterized in that: The step of inputting each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position includes the following steps: Determine the weight of each position according to the rank of each position in the preset organizational structure; The weight of each position and the department to which it belongs are input into the trained authority model to obtain the authority unit corresponding to each position.

5. The method according to claim 1, characterized in that The method further comprises: According to the positions corresponding to each approval node, each pending approval node will be pushed to the person in charge of the corresponding position.

6. The method according to claim 1, characterized in that The preset system permissions also include menu permissions and / or CRUD permissions. The method also includes: Establishing a menu task and / or a CRUD task, and determining a power unit corresponding to the menu task and / or the CRUD task; According to the power units corresponding to the menu tasks and / or the CRUD tasks, and the power units corresponding to the respective positions, obtaining the positions corresponding to the menu tasks and / or the positions corresponding to the CRUD tasks; According to the position corresponding to the menu task, the menu task to be processed is pushed to the person in charge of the corresponding position; and / or According to the position corresponding to the CRUD task, the CRUD task to be processed is pushed to the person in charge of the corresponding position.

7. The method according to claim 1, characterized in that After the step of dividing each preset system authority to obtain a plurality of authority units, the method further includes: According to the mutual exclusivity and combination between various power units, all power units are divided into several power modules; Each power module includes at least one power unit, and mutually exclusive power units are located in different power modules.

8. The method according to claim 7, characterized in that The step of determining the power unit corresponding to each defined position according to the responsibilities of each defined position includes the following steps: According to the responsibilities of each defined position, determine the authority module corresponding to each defined position; According to the authority modules corresponding to each defined position, determine the authority units corresponding to each defined position.

9. A rights management device for an approval system, characterized in that: include: The authority division module is used to divide the preset system authority of each system into several authority units; wherein the preset system authority includes the approval authority; The first matching module is used to obtain a preset organizational structure, and input each position in the preset organizational structure into the trained authority model to obtain the authority unit corresponding to each position; wherein the position includes the department to which it belongs and the rank; the authority model is constructed by the following steps: obtaining a number of defined positions; wherein the defined positions include the department to which they belong, the rank and the responsibilities; determining the authority unit corresponding to each defined position according to the responsibilities of each defined position; determining the weight of each defined position according to the rank of each defined position; performing machine learning training on the weight of each defined position, the department to which it belongs and its corresponding authority unit to obtain the authority model; An approval process establishment module is used to establish an approval process; wherein the approval process includes a number of approval nodes and the approval content corresponding to each approval node; The second matching module is used to determine the authority unit corresponding to each approval node according to the approval content corresponding to each approval node; The third matching module is used to determine the position corresponding to each approval node according to the power unit corresponding to each approval node and the power unit corresponding to each position.

10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method for managing the rights of the approval system according to any one of claims 1 to 8 is executed.

11. A storage medium, characterized in that: The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the authority management method of the approval system as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and device for configuring flow permission

    CN103455888A

  • User permission configuration method and device

    CN110147657A