Authorization control method, authorization control system, electronic device and storage medium

By establishing a mapping relationship between resources and identity information from the data itself, and using the theme model or deep learning model to obtain resource characteristics, the limitations and high cost of data permission control in the existing technology are solved, and flexible access strategies are realized. The effect of reducing implementation costs.

CN117749505BActive Publication Date: 2024-11-08SHANGHAI HANGEN INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311805437.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-11-08
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

The existing data permission control mechanism has limitations and defects, resulting in high implementation costs and inability to adapt to changing business scenarios. Traditional role-based permission control requires a lot of manual operations, making it difficult to achieve fine-grained access control.

Method used

Starting from the data itself, a mapping relationship between the resource and the identity information that allows access to the resource is established, and the classification characteristics of the identity information and the resource are obtained based on the received access instructions, and whether the mapping relationship is in line with the mapping relationship. If it is in line with the data, access is allowed, otherwise It is prohibited to use thematic model, deep learning model or TF-IDF statistical method to obtain the classification characteristics of resources.

Benefits of technology

It realizes flexible access policies, adjustable and controllable, greatly reduces implementation costs, is suitable for changing business scenarios, simplifies permission management, and reduces the complexity of subsequent permission changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117749505B_ABST
    Figure CN117749505B_ABST
Patent Text Reader

Abstract

The present invention provides a permission control method, permission control system, electronic device and storage medium, comprising the following steps: according to the classification characteristics of each resource in the resource database, establish a mapping relationship between the resource and the identity information that allows access to the resource; according to the received access instruction, obtain the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction; determine whether the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction conform to the mapping relationship; if so, allow access to the resource corresponding to the access instruction; if not, prohibit access to the resource corresponding to the access instruction. The present invention abandons the traditional permission control method, starting from the data itself, plans access strategies for the data, and the access strategy factors are adjustable and controllable, which is very flexible, greatly reduces the implementation cost, and meets the changing business scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to an authority control method, an authority control system, an electronic device and a storage medium. Background Art

[0002] At present, there are many data permission control mechanisms in the industry, including ACL (Access Control: OSTS), RBAC (Role-Based Access Control), GBAC (Group-Based Access Control), DAC (Discretionary Access Control), MAC (Mandatory Access Control), Claims as Permissions, ABAC (Attribute-Based Access Control), etc. These data access control mechanisms have some limitations and defects to a greater or lesser extent. The commonly used role-based or organization-based permission control will involve a large number of tedious manual operations, cannot achieve fine-grained access control, has high security management costs, and is tightly coupled between resources and roles. Changing a role will affect multiple resources, and cannot meet the changing business scenarios, which greatly increases the difficulty of implementation and the results are less than expected. The industry lacks a simple and effective solution for this. Summary of the invention

[0003] The purpose of the present invention is to provide a permission control method, a permission control system, an electronic device and a storage medium, which plan access strategies for data based on the data itself, so as to significantly reduce the implementation cost and meet the changing business scenarios.

[0004] To achieve the above-mentioned purpose, the present invention provides a permission control method, comprising the following steps: establishing a mapping relationship between a resource and identity information that is allowed to access the resource based on the classification characteristics of each resource in a resource database; obtaining the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction based on a received access instruction; determining whether the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction conform to the mapping relationship; if so, allowing access to the resource corresponding to the access instruction; if not, prohibiting access to the resource corresponding to the access instruction.

[0005] Optionally, a topic model is called to obtain classification features of the resource.

[0006] Optionally, a deep learning model is called to obtain classification features of the resources.

[0007] Optionally, based on the TF-IDF statistical method, classification characteristics of the resources are obtained.

[0008] Optionally, the method further includes: modifying the identity information corresponding to any one of the resources and allowing access to the resource according to the received editing instruction, so as to newly create the mapping relationship.

[0009] Optionally, the method of obtaining, based on the received access instruction, the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction specifically includes: calculating the similarity between the classification characteristics of each resource in the resource database and the keyword based on the keyword corresponding to the access instruction; and taking the resource corresponding to the classification characteristic with the greatest similarity as the resource corresponding to the access instruction.

[0010] Optionally, each resource has multiple classification features, and each resource corresponds to multiple identity information that is allowed to access the resource. According to Boolean operation rules, a mapping relationship between the resource and the identity information that is allowed to access the resource is established.

[0011] The present invention also provides a retrieval system, which is applied to any of the above-mentioned permission control methods, and includes: an establishment module, which is used to establish a mapping relationship between a resource and the identity information allowed to access the resource based on the classification characteristics of each resource in the resource database; an acquisition module, which is used to acquire the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction based on the received access instruction; and a judgment module, which is used to judge whether the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction conform to the mapping relationship.

[0012] The present invention also provides an electronic device, comprising: a memory storing a computer program; a processor communicatively connected to the memory, and executing any of the above-mentioned permission control methods when the computer program is called; and a display communicatively connected to the processor and the memory, and used to display a GUI interaction interface related to the permission control method.

[0013] The present invention also provides a storage medium storing a computer program, which implements any of the above-mentioned permission control methods when executed by a processor.

[0014] The authority control method, authority control system, electronic device and storage medium provided by the present invention have the following beneficial effects:

[0015] The present invention provides a permission control method, comprising the following steps: according to the classification characteristics of each resource in the resource database, establishing a mapping relationship between the resource and the identity information that allows access to the resource; according to the received access instruction, obtaining the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction; judging whether the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction conform to the mapping relationship; if so, allowing access to the resource corresponding to the access instruction; if not, prohibiting access to the resource corresponding to the access instruction. With such a setting, the present invention abandons the traditional permission control method. Starting from the data itself, the access strategy is planned for the data, and the access strategy factor is adjustable and controllable, which is very flexible, greatly reduces the implementation cost, and meets the changing business scenarios. The present invention can be applied to projects and products in any industry, and can realize the permission management system without a large amount of secondary development and customized design for specific industry projects, and makes the permission change of the system in subsequent use very simple, realizing cost reduction and efficiency improvement.

[0016] The present invention also provides an authority control system. Since the authority control system and the authority control method belong to the same inventive concept, the retrieval system can plan access strategies for the data based on the data itself. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the needs of changing business scenarios.

[0017] The present invention also provides an electronic device. Since the electronic device and the permission control method belong to the same inventive concept, the electronic device can plan access strategies for the data based on the data itself. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the needs of changing business scenarios.

[0018] The present invention also provides a storage medium. Since the storage medium and the permission control method belong to the same inventive concept, the storage medium can plan access strategies for the data based on the data itself. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the needs of changing business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flowchart of a permission control method provided by an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of a block structure of an electronic device provided by an embodiment of the present invention;

[0021] The accompanying drawings are denoted as follows:

[0022] 101 - processor; 102 - communication interface; 103 - memory; 104 - communication bus; 105 - display. DETAILED DESCRIPTION

[0023] In order to make the purpose, advantages and features of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In addition, the structure shown in the drawings is often a part of the actual structure. In particular, the emphasis of each drawing is different, and sometimes different scales are used.

[0024] It should be understood that when an element or layer is referred to as "on...", "connected to" other elements or layers, it can be directly on other elements or layers, connected to other elements or layers, or can include intermediate elements or layers. On the contrary, when an element is referred to as "directly on...", "directly connected to" other elements or layers, intermediate elements or layers are not included. Although the terms first, second, third, etc. can be used to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms are only used to distinguish an element, component, region, layer or part from another element, component, region, layer or part. Therefore, without departing from the teachings of the present invention, the first element, component, region, layer or part discussed below can be expressed as a second element, component, region, layer or part. Spatial relationship terms such as "under...", "below", "below", "above...", "above", "above", etc., can be used here for the convenience of description to describe the relationship between an element or feature shown in the figure and other elements or features. It should be understood that, in addition to the orientation shown in the figure, the spatial relationship terms are intended to include different orientations of the devices in use and operation. For example, if the device in the accompanying drawings is turned over, then, the elements or features described as "under...", "below", "below" will be oriented to be "on" other elements or features. The device can be oriented in addition (rotated 90 degrees or other orientations) and the spatial descriptors used herein are interpreted accordingly. The purpose of the terms used herein is only to describe specific embodiments and is not intended to be a limitation of the present invention. When used herein, the singular forms of "one", "one" and "said / the" are also intended to include plural forms, unless the context clearly indicates another way. It should also be understood that the term "include" is used to determine the inclusion of features, steps, operations, elements and / or parts, but does not exclude the inclusion or addition of one or more other features, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0025] The purpose of the present invention is to provide an authority control method, an authority control system, an electronic device and a storage medium, which plan access strategies for data based on the data itself, so as to significantly reduce implementation costs and meet changing business scenarios.

[0026] First, the prior art is described in detail.

[0027] Before this invention, there were many data permission control mechanisms in the industry, including ACL (Access Control: OSTS) access control list, RBAC (Role-Based Access Control) role-based access control, GBAC (Group-Based Access Control) access control based on group hierarchical relationship, DAC (Discretionary Access Control) autonomous access control, MAC (Mandatory Access Control) mandatory access control, Claims as Permissions access control based on declarations, ABAC (Attribute-Based Access Control) attribute-based access control, etc. They each have distinct advantages and disadvantages:

[0028] The core idea of ​​ACL is to grant a certain permission of a certain resource to a certain user or a certain role, and the relationship between them is many-to-many. The advantage is that it is easy to implement. The disadvantage is that once the security policy is modified or an audit is required, it means that a large number of resources need to be traversed.

[0029] RBAC is a role-based access control that is widely used. It is a classic solution to prevent the proliferation of permissions and implement the principle of least privilege. The advantage is that it is more scalable than ACL and works particularly well in coarse-grained access control. The disadvantage is that as the organization evolves, role explosion often occurs; when updating user permissions, a lot of manual operations are required; fine-grained access control cannot be achieved; security management costs are high; compliance and auditing become difficult; resources are tightly coupled with roles, and changing a role will affect multiple resources.

[0030] GBAC looks very similar to RBAC, but GBAC can be used to define resource access permissions for one or more hierarchical groups. It allows the access permissions of a group to be inherited to its subordinate groups. The advantage is that it is suitable for the company's organizational structure permissions. The disadvantage is the same as RBAC. In addition, if the company's organizational structure is maintained in another system, it is easy to make group relationship maintenance difficult.

[0031] DAC allows resource owners to define access control rules, just like resource uploaders on Baidu Netdisk. When sharing resources with others, they can define whether to make them public to everyone or only to those who know the password. The advantages are flexibility and low maintenance costs. The disadvantages are that it increases the difficulty of overall access control supervision; security is not guaranteed and depends entirely on the personal security awareness of the resource owner.

[0032] MAC is to perform access control by defining security level labels. It can restrict the subject from performing certain operations on resources. Its security policy is centrally controlled by the administrator, and users have no right to override the policy. The advantage is that it is very secure. The disadvantage is that the implementation requirements are very high and all data needs to be labeled.

[0033] Claims as Permissions is a declarative permission management, often used in conjunction with RBAC to make up for the shortcomings of RBAC in fine-grained access control. The advantage is that it is very flexible. The disadvantage is that it is difficult to audit; for solutions that use OAuth or OpenID single sign-on, the user's token carries all user permissions, which easily results in a large access token; carrying permission information in the user identity statement causes confusion between who and authorization.

[0034] ABAC is an attribute-based access control. It does not grant access rights to users directly, but authorizes resources by executing a series of Boolean rules. ABAC generally includes user attributes, environment attributes, operation attributes, and resource attributes. ABAC is different from all the mechanisms introduced before. When security requirements change, there is no need to manually adjust specific permissions. It only needs to set the policy logic to make the access control of all resources take effect immediately. Therefore, it is a mechanism with a higher degree of abstraction. The advantages are obvious, and it has solved the disadvantages of all the mechanisms introduced above. The disadvantage is that it is relatively complex and difficult to implement.

[0035] In summary, the existing data access control mechanisms have some limitations and defects to a greater or lesser extent, which usually lead to implementation results that do not match the actual business scenarios. In order to solve these problems, we need to find a balance point among the above mechanisms to achieve more advanced data permission control, thereby better achieving data security and better empowering the business.

[0036] To achieve the above object, the present invention provides a permission control method, comprising the following steps:

[0037] According to the classification characteristics of each resource in the resource database, a mapping relationship between the resource and the identity information that is allowed to access the resource is established;

[0038] According to the received access instruction, acquiring the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction;

[0039] Determining whether the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction conform to the mapping relationship;

[0040] If yes, access to the resource corresponding to the access instruction is allowed;

[0041] If not, access to the resource corresponding to the access instruction is prohibited.

[0042] With such a setting, the present invention abandons the traditional permission control method. Starting from the data itself, the access strategy is planned for the data. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the changing business scenarios. The present invention can be applied to projects and products in any industry, and can realize the permission management system without a large amount of secondary development and customized design for specific industry projects, and makes the permission change of the system in subsequent use very simple, achieving cost reduction and efficiency improvement.

[0043] It should be noted that there are many ways to extract the classification features of the resources. Specifically, a topic model, such as latent Dirichlet allocation (LDA) or a model based on matrix decomposition, can be called to obtain the classification features of the resources. Deep learning models, such as convolutional neural networks (CNN), recurrent neural networks (RNN), etc. can also be called to obtain the classification features of the resources. The classification features of the resources can also be obtained based on the TF-IDF statistical method, and a new table (TF-IDF) is constructed by combining the word frequency statistics table with IDF. The main idea is that if a word or phrase appears frequently (TF) in a text and rarely appears in other texts (high IDF), it is considered that this word or phrase has good category distinguishing features.

[0044] The mapping relationship can be edited and preset according to the requirements, based on which, the present invention further includes: modifying the identity information corresponding to any one of the resources that is allowed to access the resource according to the received editing instruction to create the mapping relationship. For example, the mapping relationship can be formulated according to the following table.

[0045]

[0046] Furthermore, the acquiring, according to the received access instruction, the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction specifically includes:

[0047] Calculating the similarity between the classification feature of each resource in the resource database and the keyword according to the keyword corresponding to the access instruction;

[0048] The resource corresponding to the classification feature with the greatest similarity is used as the resource corresponding to the access instruction.

[0049] This part of the technical solution is mainly aimed at the scene of retrieval access. For example, if the keyword in the access instruction is "finance", then the classification feature with the closest similarity will be "finance". In this way, the resources corresponding to the "finance" classification feature will be used as the resources corresponding to the access instruction. The specific implementation method includes but is not limited to converting the keywords and the classification features in the access instruction into word vectors, and then calculating the vector distance. On this basis, the resources that can be accessed by the access instruction are further displayed according to the mapping relationship.

[0050] Optionally, each resource has multiple classification features, and each resource corresponds to multiple identity information that allows access to the resource. A mapping relationship between the resource and the identity information that allows access to the resource is established according to Boolean operation rules. For example, the identity information includes the user's age, department, position, time of employment, honors obtained, etc., and may also include access time, access location, client device, client network information, etc. By combining multiple classification features and multiple identity information, Boolean operations are performed to achieve more flexible establishment and change of the mapping relationship.

[0051] The present invention also provides a retrieval system, which is applied to any of the above-mentioned authority control methods, comprising:

[0052] An establishment module is used to establish a mapping relationship between each resource and identity information that is allowed to access the resource according to the classification characteristics of each resource in the resource database;

[0053] An acquisition module, configured to acquire, according to the received access instruction, identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction;

[0054] The judgment module is used to judge whether the identity information corresponding to the access instruction and the classification characteristics of the resources corresponding to the access instruction conform to the mapping relationship.

[0055] Since the permission control system and the permission control method belong to the same inventive concept, the retrieval system can plan access strategies for the data based on the data itself. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the needs of changing business scenarios.

[0056] Please refer to Figure 2 , Figure 2 FIG. 1 is a block diagram of an electronic device provided by an embodiment of the present invention. Figure 2 As shown, the present invention also provides an electronic device, the electronic device comprising:

[0057] A memory 103 storing a computer program;

[0058] A processor 101 is connected to the memory for communication, and executes any one of the above-mentioned permission control methods when calling the computer program;

[0059] The display 105 is communicatively connected with the processor and the memory, and is used to display a GUI interaction interface related to the permission control method.

[0060] Since the electronic device and the permission control method belong to the same inventive concept, the electronic device can plan access strategies for the data based on the data itself. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the needs of changing business scenarios.

[0061] like Figure 2 As shown, the electronic device also includes a communication interface 102 and a communication bus 104, wherein the processor 101, the communication interface 102, and the memory 103 communicate with each other through the communication bus 104. The communication bus 104 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 104 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface 102 is used for communication between the above-mentioned electronic device and other devices.

[0062] The processor 101 referred to in the present invention may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 101 is the control center of the electronic device, and various interfaces and lines are used to connect various parts of the entire electronic device.

[0063] The memory 103 may be used to store the computer program. The processor 101 implements various functions of the electronic device by running or executing the computer program stored in the memory 103 and calling the data stored in the memory 103 .

[0064] The memory 103 may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0065] The present invention also provides a storage medium storing a computer program, which implements any of the above-mentioned permission control methods when executed by a processor.

[0066] Since the storage medium and the permission control method belong to the same inventive concept, the storage medium can plan access strategies for the data based on the data itself. The access strategy factors are adjustable and controllable, which is very flexible, greatly reducing the implementation cost and meeting the needs of changing business scenarios.

[0067] Since the storage medium provided by the present invention and the permission control method described above belong to the same inventive concept, the storage medium provided by the present invention has all the advantages of the permission control method described above, so the beneficial effects of the storage medium provided by the present invention will not be described one by one here.

[0068] The storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer hard 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 article, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0069] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program codes. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0070] It should also be noted that, although the present invention has been disclosed as a preferred embodiment, the above embodiment is not intended to limit the present invention. For any technician familiar with the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or modified into equivalent embodiments of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.

[0071] It should also be understood that, unless otherwise specified or indicated, the terms "first", "second", "third", etc. in the specification are merely used to distinguish between the various components, elements, steps, etc. in the specification, and are not used to indicate the logical relationship or sequential relationship between the various components, elements, steps, etc.

[0072] It should also be recognized that the terms described herein are used only to describe specific embodiments and are not intended to limit the scope of the invention. It should be noted that the singular forms "a" and "an" used herein and in the appended claims include plural references unless the context clearly indicates otherwise. For example, a reference to "a step" or "a device" means a reference to one or more steps or devices, and may include secondary steps and secondary devices. All conjunctions used should be understood in the broadest sense. And, the word "or" should be understood to have the definition of a logical "or", rather than a logical "exclusive or", unless the context clearly indicates otherwise. In addition, the implementation of embodiments of the present invention may include performing selected tasks manually, automatically, or in combination.

Claims

1. A permission control method, characterized in that: The following steps are involved: According to the classification characteristics of each resource in the resource database, a mapping relationship between the resource and the identity information that is allowed to access the resource is established; According to the received access instruction, acquiring the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction; Determining whether the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction conform to the mapping relationship; If yes, access to the resource corresponding to the access instruction is allowed; If not, access to the resource corresponding to the access instruction is prohibited; The classification features are extracted based on the data of the resource itself; The method for obtaining the classification feature includes at least one of the following methods: Calling a topic model to obtain classification features of the resource; Calling a deep learning model to obtain classification features of the resource; Based on the TF-IDF statistical method, obtain the classification characteristics of the resources; The acquiring, according to the received access instruction, the identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction specifically includes: Calculating the similarity between the classification feature of each resource in the resource database and the keyword according to the keyword corresponding to the access instruction; The resource corresponding to the classification feature with the greatest similarity is used as the resource corresponding to the access instruction.

2. The permission control method according to claim 1, characterized in that: Also includes: According to the received editing instruction, the identity information corresponding to any one of the resources and allowed to access the resource is modified to create the mapping relationship.

3. The permission control method according to claim 1, characterized in that: Each of the resources has multiple classification features, and each of the resources corresponds to multiple identity information that is allowed to access the resource. According to Boolean operation rules, a mapping relationship between the resource and the identity information that is allowed to access the resource is established.

4. A permission control system, applied to the permission control method as claimed in any one of claims 1 to 3, characterized in that: include: An establishment module is used to establish a mapping relationship between each resource and identity information that is allowed to access the resource according to the classification characteristics of each resource in the resource database; An acquisition module, configured to acquire, according to the received access instruction, identity information corresponding to the access instruction and the classification characteristics of the resource corresponding to the access instruction; The judgment module is used to judge whether the identity information corresponding to the access instruction and the classification characteristics of the resources corresponding to the access instruction conform to the mapping relationship.

5. An electronic device, characterized in that: include: a memory storing a computer program; a processor, communicatively connected to the memory, and configured to execute the permission control method according to any one of claims 1 to 3 when calling the computer program; A display is communicatively connected to the processor and the memory, and is used to display a GUI interaction interface related to the permission control method.

6. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the permission control method as described in any one of claims 1 to 3 is implemented.