A software rights management allocation method and system

By using software function blocks as permission nodes, creating a total software permission tree and assigning permission trees to users, the problem of inflexible permission management in the existing technology is solved, custom multi-level permission management and simplified permission distribution are realized, and modifications are reduced. time and effort to work.

CN114912086BActive Publication Date: 2024-08-30GUANGZHOU SUPERSONIC AUTOMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210322783.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-29
Publication Date
2024-08-30
Estimated Expiration
2042-03-29

AI Technical Summary

Technical Problem

The existing software permission management and distribution method cannot flexibly respond to the permission level requirements of different customers, and it is difficult to modify the permission level after it is determined, making the modification work time-consuming and labor-intensive.

Method used

Use the function blocks of the software as permission nodes to create a total software permission tree, and assign a user permission tree to each user according to permission requirements. When new operation permissions need to be added, add permission branches to the total software permission tree and add them Assigned to the corresponding user permission tree.

Benefits of technology

It realizes customized multi-level permission management according to customer needs, simplifies the permission allocation process, reduces the modification work within the software, and saves time and effort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114912086B
    Figure CN114912086B
Patent Text Reader

Abstract

The present invention discloses a method and system for allocating software rights management, which includes the following steps: S1: using each function block of the software as a rights node and each operation right contained in the function block as a rights branch to create a software total rights tree; S2: using the software total rights tree as a master, and allocating a user rights tree to each user of the software according to the rights requirement; S3: when a function block needs to add a new operation right, adding a new rights branch to the corresponding rights node of the software total rights tree, and further allocating the new rights branch to the user rights tree corresponding to the required user. The present invention can customize multi-level rights management according to customer needs, facilitate the operation and rights allocation of management personnel, directly customize and add new user rights levels, without the need to rearrange the rights levels within the software, and facilitate the software to add new operation rights, without involving large-scale modification of the software, saving time and effort.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software rights management and allocation, and in particular to a software rights management and allocation method and system. Background Art

[0002] The current permission management allocation method for software such as industrial automation software is: first divide the software into different permission levels, usually three levels (such as operator, engineer, and administrator), and then open usage permissions for different permission levels during software operation; after creating a user, assign a permission level to the user to achieve different permissions for different users.

[0003] The existing permission management allocation method has the following problems: (1) The permission level requirements required by different customers are inconsistent. The same software needs to be modified according to the requirements of different customers, which is time-consuming and labor-intensive; (2) The permission level cannot be easily modified after it is determined: If the software needs to add a new permission level or new operation permissions, it is necessary to modify the software on a large scale, which is also time-consuming and labor-intensive. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the deficiencies in the prior art, the present invention provides a software rights management allocation method and system, which can solve the above technical problems.

[0006] (II) Technical solution

[0007] In order to solve the above technical problems, the present invention provides the following technical solution: a method for allocating software rights management, comprising the following steps:

[0008] S1: Create a software overall permission tree with each function block of the software as the permission node and each operation permission contained in the function block as the permission branch;

[0009] S2: Using the software's total permission tree as the master, a user permission tree is assigned to each user of the software according to permission requirements;

[0010] S3: When a function block needs to add a new operation permission, a new permission branch is added to the corresponding permission node of the software total permission tree, and the new permission branch is further allocated to the user permission tree corresponding to the required user.

[0011] Preferably, the software permission management allocation method also includes: using the software total permission tree to refresh the user permission tree, if a permission node or a permission branch does not exist in the user permission tree, then adding a permission node or a permission branch to the user permission tree and marking it accordingly.

[0012] Preferably, the software rights management allocation method further includes: deleting a rights node or a rights branch of a user rights tree.

[0013] Preferably, before S1, it also includes: summarizing each authority node and each authority branch.

[0014] Preferably, before aggregating each permission node and each permission branch, the method further includes: each functional block actively reports the name of its permission node and the names of each permission branch it contains to the permission tree creation module.

[0015] Preferably, before aggregating each permission node and each permission branch, the method further includes: the permission tree creation module actively obtains the permission node name of each functional block and the name of each permission branch contained in each functional block.

[0016] Preferably, the software rights management allocation method also includes: when a user wants to execute a certain operation permission, querying the user's corresponding user permission tree whether the user has the corresponding operation permission, if so, continue to execute the operation permission, otherwise prompt the user that he does not have the operation permission.

[0017] In order to solve the above technical problems, the present invention provides another technical solution as follows: a software rights management and distribution system, comprising:

[0018] The permission tree creation module is used to create a software total permission tree using each function block of the software as a permission node and each operation permission contained in the function block as a permission branch;

[0019] The allocation module is used to use the software's total permission tree as the master and allocate a user permission tree to each user of the software according to permission requirements;

[0020] The management module is used to add a new permission branch to the corresponding permission node of the software total permission tree when a function block needs to add a new operation permission;

[0021] The allocation module is also used to allocate the new permission branch to the user permission tree corresponding to the required user.

[0022] Preferably, the permission tree creation module is also used to receive the permission node names actively reported by each functional block and the names of each permission branch contained in each functional block.

[0023] Preferably, the permission tree creation module is also used to actively obtain the permission node name of each functional block and the name of each permission branch contained in each functional block.

[0024] (III) Beneficial effects

[0025] Compared with the prior art, the present invention provides a software permission management allocation method and system, which have the following beneficial effects: the present invention uses each function block of the software as a permission node and each operation permission contained in the function block as a permission branch to create a software total permission tree, further uses the software total permission tree as a master, and allocates a user permission tree to each user of the software according to the permission requirements. The addition of software permissions only needs to be performed within the corresponding function block, and there will be no association between other function blocks, that is, multi-level permission management can be customized according to customer needs, which is convenient for software management personnel to operate and allocate permissions, and new user permission levels can be directly customized to add without the need to rearrange the permission levels within the software, saving time and effort; in addition, when a function block needs to add a new operation permission, it is only necessary to add a new permission branch to the corresponding permission node of the software total permission tree, and further allocate the new permission branch to the user permission tree corresponding to the required user, without involving large-scale modification of the software, saving time and effort. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 The present invention is a flowchart of the steps of a method for allocating software rights management. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] The present invention provides a software rights management allocation method, comprising the following steps:

[0029] S1: Create a software overall permission tree with each functional block of the software as the permission node and each operation permission contained in the functional block as the permission branch.

[0030] S2: Take the software's total permission tree as the master and assign a user permission tree to each user of the software according to permission requirements.

[0031] The software package contains two role accounts: user and administrator. User: ordinary software operation user, with customizable name and password. Each user has a corresponding user permission tree. The user permission tree corresponds to the function block and its operation permission that the user has. A function block can contain one or more operation permissions. Administrator: software administrator, used to create new users and assign operation permissions to users. The administrator name is fixed, and the dynamic password is based on time. By taking the software total permission tree as the master, a user permission tree is assigned to each user of the software according to the permission requirements, that is, the administrator checks the assignment method to determine whether each user has the operation permission under the corresponding function block; users are equal, and different operation permissions can be assigned to different users according to the permission requirements. It should be understood that the customized multi-level permission management of the present invention means that the user permission trees of different users can be customized to be different, that is, the operation permissions possessed by different users are different, so as to divide different permission levels and achieve user permission level customization.

[0032] This step S2 may correspond to allocating a user authority tree for each user created when the software is initialized, or may correspond to allocating a user authority tree for a newly created user subsequently (ie, custom adding a new user authority level).

[0033] S3: When a function block needs to add a new operation permission, a new permission branch is added to the corresponding permission node of the software total permission tree, and the new permission branch is further allocated to the user permission tree corresponding to the required user.

[0034] It can be understood that adding a new permission branch to the corresponding permission node of the software total permission tree corresponds to updating the software total permission tree, and further according to the updated software total permission tree, the new permission branch is correspondingly allocated to the user permission tree corresponding to the required user, so that one or more required users have the new operation permission. Through this step S3, it is convenient for the software to add new operation permissions and allocation.

[0035] In addition, the software permission management allocation method also includes: using the software total permission tree to refresh the user permission tree, if a permission node or a permission branch does not exist in the user permission tree, then a permission node or a permission branch is added to the user permission tree and marked; if a permission node or a permission branch exists in the user permission tree, it is skipped. The above-mentioned marking can specifically be: marking the added permission node or permission branch as not possessed, that is, the user does not have the various operating permissions under the function block corresponding to the permission node or the operating permissions corresponding to the permission branch; further in the subsequent permission management, the permission node or permission branch marked as not possessed can be changed to have its marking state, so that the user has the operating permissions corresponding to the mark, thereby facilitating the addition of new operating permissions for the user. In addition, it should be understood that the unmarked permission nodes or permission branches in the user permission tree are all defaulted to the user having the corresponding operating permissions.

[0036] In addition, the software rights management allocation method may also include: deleting the rights node or rights branch of the user rights tree to facilitate deletion and modification of one or more operation rights of the user.

[0037] In addition, before the above step S1, it also includes: aggregating each permission node and each permission branch. Further, before aggregating each permission node and each permission branch, it can also include: each functional block actively reports its permission node name and each permission branch name contained therein to the permission tree creation module; before aggregating each permission node and each permission branch, it can also include: the permission tree creation module actively obtains the permission node name of each functional block and each permission branch name contained in each functional block. That is, the present invention provides the above two different ways of collecting permission nodes and permission branches.

[0038] In addition, the software rights management allocation method also includes: when a user wants to execute a certain operation right, query the user right tree corresponding to the user to see whether the user has the corresponding operation right, if so, continue to execute the operation right, otherwise prompt the user that the user does not have the operation right. This step is used to verify the operation right of the current user.

[0039] The present invention also provides a software authority management and allocation system, comprising: a authority tree creation module, used to create a software total authority tree with each function block of the software as an authority node and each operation authority contained in the function block as an authority branch; an allocation module, used to use the software total authority tree as a master and allocate a user authority tree to each user of the software according to authority requirements; a management module, used to add a new authority branch to the corresponding authority node of the software total authority tree when a function block needs to add a new operation authority; the allocation module is also used to allocate the new authority branch to the user authority tree corresponding to the required user.

[0040] Specifically, the permission tree creation module can also be used to receive permission node names actively reported by each functional block and the names of each permission branch contained in each functional block.

[0041] Specifically, the permission tree creation module can also be used to actively obtain the permission node name of each functional block and the name of each permission branch contained in each functional block.

[0042] For the specific functions of the software rights management allocation system, please refer to the introduction of the above-mentioned software rights management allocation method, which will not be elaborated here.

[0043] Compared with the prior art, the present invention provides a software permission management allocation method and system, which have the following beneficial effects: the present invention uses each function block of the software as a permission node and each operation permission contained in the function block as a permission branch to create a software total permission tree, further uses the software total permission tree as a master, and allocates a user permission tree to each user of the software according to the permission requirements. The addition of software permissions only needs to be performed within the corresponding function block, and there will be no association between other function blocks, that is, multi-level permission management can be customized according to customer needs, which is convenient for software management personnel to operate and allocate permissions, and new user permission levels can be directly customized to add without the need to rearrange the permission levels within the software, saving time and effort; in addition, when a function block needs to add a new operation permission, it is only necessary to add a new permission branch to the corresponding permission node of the software total permission tree, and further allocate the new permission branch to the user permission tree corresponding to the required user, without involving large-scale modification of the software, saving time and effort.

[0044] It should be noted that 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.

[0045] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A software rights management allocation method, characterized in that: The following steps are involved: S1: Create a software overall permission tree with each function block of the software as the permission node and each operation permission contained in the function block as the permission branch; S2: using the software total permission tree as a master, assigning a user permission tree to each user of the software according to permission requirements, wherein the user permission tree corresponds to the function blocks and operation permissions of the user, and a function block includes one or more operation permissions; A user permission tree is assigned to each user of the software according to the permission requirements. The administrator selects and assigns whether each user has the operation permission under the corresponding function block. Users are at the same level, and different users are assigned different operation permissions according to the permission requirements. Unmarked permission nodes or permission branches in the user permission tree are assumed to be the corresponding operation permissions of the user; Refresh the user permission tree using the software total permission tree, and if a permission node or a permission branch does not exist in the user permission tree, add the permission node or the permission branch to the user permission tree and mark it as not available; if a permission node or a permission branch exists in the user permission tree, skip it; S3: When the function block needs to add new operation permissions, a new permission branch is added to the corresponding permission node of the software overall permission tree, and the new permission branch is further allocated to the user permission tree corresponding to the required user.

2. The software rights management allocation method according to claim 1, characterized in that: The software rights management allocation method further includes: deleting a rights node or a rights branch of the user rights tree.

3. The software rights management allocation method according to claim 1, characterized in that: Before S1, the step further includes: aggregating the authority nodes and the authority branches.

4. The software rights management allocation method according to claim 3, characterized in that: Before aggregating the authority nodes and the authority branches, the method further includes: each functional block actively reporting the name of its authority node and the names of the authority branches contained therein to the authority tree creation module.

5. The software rights management and allocation method according to claim 3, characterized in that: Before aggregating the authority nodes and the authority branches, the method further includes: the authority tree creation module actively obtains the authority node name of each functional block and the name of each authority branch included in each functional block.

6. The software rights management and allocation method according to claim 1, characterized in that: The software authority management allocation method also includes: when a user wants to execute a certain operation authority, querying the user authority tree corresponding to the user whether the user has the corresponding operation authority, if so, continue to execute the operation authority, otherwise prompt the user that he does not have the operation authority.

7. A software rights management and distribution system, characterized in that: include: The permission tree creation module is used to create a software total permission tree using each function block of the software as a permission node and each operation permission contained in the function block as a permission branch; An allocation module is used to use the software total permission tree as a master and allocate a user permission tree to each user of the software according to permission requirements, wherein the user permission tree corresponds to the function blocks and operation permissions of the user, and a function block includes one or more operation permissions; A user permission tree is assigned to each user of the software according to the permission requirements. The administrator selects and assigns whether each user has the operation permission under the corresponding function block. Users are at the same level, and different users are assigned different operation permissions according to the permission requirements. Unmarked permission nodes or permission branches in the user permission tree are assumed to be the corresponding operation permissions of the user; the user permission tree is refreshed using the software total permission tree. If a permission node or a permission branch does not exist in the user permission tree, the permission node or the permission branch is added to the user permission tree and marked as not possessed; if a permission node or a permission branch exists in the user permission tree, it is skipped; A management module, used for adding a new permission branch to the corresponding permission node of the software total permission tree when the function block needs to add a new operation permission; The allocation module is also used to allocate the new permission branch to the user permission tree corresponding to the required user.

8. The software rights management and distribution system according to claim 7, characterized in that: The permission tree creation module is also used to receive the permission node name actively reported by each of the functional blocks and the name of each permission branch included in each of the functional blocks.

9. The software rights management and distribution system according to claim 7, characterized in that: The permission tree creation module is also used to actively obtain the permission node name of each of the function blocks and the name of each permission branch contained in each of the function blocks.

Citation Information

Patent Citations

  • Permission tree generation method and device

    CN105677651A

  • Computer software user authority distribution method and system

    CN110826027A