Authority management method and apparatus, device, and storage medium

By using machine learning models in the application management platform to process permission management requests of natural language interfaces and generate prompt word input, the problems of errors and high complexity in the permission configuration process are solved, and efficient permission management and security vulnerability detection are achieved.

WO2024240098A1PCT designated stage expired Publication Date: 2024-11-28BEIJING ZITIAO NETWORK TECH CO LTD +1

Patent Information

Application Number
PCT/CN2024/094082
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-19
Filing Date
2024-05-17
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

The existing application management platform is prone to errors or missed settings during the permission configuration process, resulting in security vulnerabilities, and the permission management is complex and inefficient.

Method used

The machine learning model is based on a natural language interface, and by receiving permission management requests, generating prompt word input, determining the operation or inspection results of permission configuration, realizing the creation, modification and inspection of permission configuration, reducing complexity and improving efficiency.

Benefits of technology

While maintaining the flexibility of permission configuration, the complexity of permission management is reduced, the efficiency of permission management is improved, and possible security vulnerabilities are discovered in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024094082_28112024_PF_FP_ABST
    Figure CN2024094082_28112024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are an authority management method and apparatus, a device, and a storage medium. The method comprises: receiving an authority management request in respect of a target application, the authority management request indicating one or more authority configurations of the target application; at least on the basis of the authority management request and description information of the target application related to authority management, generating a first prompt input; on the basis of the first prompt input, using a model to determine first authority information related to a target authority configuration amongst the one or more authority configurations, the first authority information indicating an operation for the target authority configuration or a check result for the target authority configuration. Therefore, the present disclosure may use the model to manage the authority configurations, and may promptly discover possible system security vulnerabilities. In this way, the complexity of authority management can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device and storage medium for rights management

[0001] This application claims priority to the Chinese invention patent application with application number 202310576864.7 filed on May 19, 2023, entitled “Methods, devices, equipment and storage media for rights management”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, apparatuses, devices, and computer-readable storage media for rights management. Background Art

[0003] With the development of computer technology, more and more applications are providing services in all aspects of work and life. To facilitate and quickly deploy more applications, application management platforms have emerged. Application management platforms allow users to build, deploy, use, update, and manage applications, providing them with applications that meet their needs.

[0004] Summary of the Invention

[0005] In a first aspect of the present disclosure, a method for permission management is provided. The method includes: receiving a permission management request for a target application, the permission management request indicating one or more permission configurations of the target application; generating a first prompt word input based at least on the permission management request and descriptive information of the target application related to permission management; and determining, using a model and based on the first prompt word input, first permission information related to a target permission configuration among the one or more permission configurations, the first permission information indicating an operation on the target permission configuration or a check result on the target permission configuration.

[0006] In a second aspect of the present disclosure, a device for permission management is provided. The device includes: a request receiving module configured to receive a permission management request for a target application, the permission management request indicating one or more permission configurations of the target application; a prompt word generating module configured to generate a first prompt word input based on at least the permission management request and contextual information related to permission management of the target application; and a permission information determining module configured to use a model to determine, based on the first prompt word input, first permission information related to a target permission configuration among the one or more permission configurations, the first permission information indicating an operation on the target permission configuration or a check result on the target permission configuration.

[0007] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

[0008] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0009] It should be understood that the content described in this summary section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0011] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0012] 2A to 2C illustrate schematic diagrams of example session windows according to some embodiments of the present disclosure;

[0013] FIG3 shows an example of information required for generating a prompt word input according to some embodiments of the present disclosure;

[0014] FIG4 shows a flowchart of a method for rights management according to some embodiments of the present disclosure;

[0015] FIG5 shows a block diagram of an apparatus for rights management according to some embodiments of the present disclosure; and

[0016] FIG6 shows a block diagram of a device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0018] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0019] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, for example, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0020] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0021] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.

[0022] As used herein, the term "in response to" refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of executing a subsequent action executed in response to the event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is satisfied. For example, in some cases, a subsequent action may be executed immediately upon the occurrence of the event or the satisfaction of the condition; in other cases, the subsequent action may be executed some time after the occurrence of the event or the satisfaction of the condition.

[0023] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0024] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section / subsection. Furthermore, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or in different sections / subsections.

[0025] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0026] As used herein, the term "permission configuration" refers to setting the data that one or more roles in an application can access and / or the operations that they can perform. "Permission configuration" can also be referred to as a "permission configuration scheme."

[0027] As briefly mentioned above, application management platforms help users manage applications. Full-link application management platforms typically include modules related to permissions management. These modules provide flexible configuration options to meet the various permissions and security management rules in real-world applications. For example, certain types of data may only be accessible to a certain group of users, or certain functions may only be visible to employees in a certain department. However, such permission configuration tasks are often detailed and complex, making it easy to make mistakes or omit settings during the long configuration process, leading to security vulnerabilities.

[0028] Thanks to the more precise semantic understanding and contextual reasoning capabilities provided by models such as machine learning models, users can interact with applications using natural language, and applications can interact with models through natural language interfaces. In this case, it is expected that the models can at least partially assist people in creating, modifying, and checking permission configurations.

[0029] To this end, an embodiment of the present disclosure proposes a scheme for permission management. According to various embodiments of the present disclosure, a permission management request for a target application is received. The permission management request indicates one or more permission configurations of the target application. A first prompt word input is generated based on at least the permission management request and the descriptive information related to permission management of the target application. Using a model, based on the first prompt word input, first permission information related to a target permission configuration in one or more permission configurations is determined. The first permission information indicates an operation on the target permission configuration or a check result on the target permission configuration.

[0030] This allows the use of models to manage permission configurations. For example, models can be used to create new permission configurations or modify existing ones, effectively improving the efficiency of creating and modifying permission configurations. Another example is the use of models to check existing permission configurations, facilitating the timely discovery of potential security vulnerabilities. In this way, the complexity of permission management can be reduced and its efficiency improved while maintaining the flexibility of permission configuration.

[0031] Example embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0032] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In environment 100, an application management platform 110 can be used by a user 140 who desires to manage applications to manage applications 150. For example, the application management platform 110 can create, modify, or inspect the permission configuration of an application 150. In some embodiments, the application management platform 110 can also be considered an application that provides application management services.

[0033] The application management platform 110 is configured with a digital assistant 120, which can interact with the user 140 to obtain information from the user 140 and / or provide information to the user 140. For example, the application management platform 110 can provide the user 140 with a conversation window for interacting with the digital assistant 120. Accordingly, the user 140 can interact with the digital assistant 120 in the conversation window, for example, input conversation messages, receive feedback content from the digital assistant for the conversation messages, and so on. The interaction between the user 140 and the digital assistant 120 and / or the application management platform 110 can be carried out in any suitable manner. In some implementations, the user input in the interaction may include multimodal input, such as text input (for example, input in the form of natural language), voice input, image input, video input, and so on.

[0034] In an embodiment of the present disclosure, the digital assistant 120 is used to communicate with the user 140. A window for interacting with the digital assistant 120, such as a conversation window, is presented in the client interface. As an intelligent assistant, the digital assistant 120 has intelligent conversation and information processing capabilities. In the conversation window, the user enters conversation messages, and the digital assistant provides reply messages in response to the conversation messages. The client interface for presenting the conversation window may correspond to the application management platform 110 or a multifunctional collaboration platform capable of implementing application management.

[0035] The digital assistant 120 can be called or awakened by an appropriate means (e.g., a shortcut key, a button, or voice) to present a conversation window with the user 140. For example, the digital assistant 120 can be awakened or called in response to an application management request from the user 140. The conversation window may include interface elements for information interaction, such as an input box, a message list, a message bubble, and the like.

[0036] In some embodiments, the application management platform 110 can utilize a model 125 to provide application management functionality to the user 140. In some embodiments, the model 125 can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model 125 can be based on a language model (LM). The model 125 can also be based on other appropriate models.

[0037] The model 125 can be deployed on the application management platform 110 or can be accessed by the application management platform 110. Alternatively, the application management platform 110 can communicate with the model 125 to use the model 125 to provide application management services for the user 140. For example, the application management platform 110 can send prompt word input to the model 125 based on the interaction information between the user 140 and the digital assistant 120, and obtain the processing results of the model 125. As an alternative or in addition, the digital assistant 120 itself can also be obtained based on the model. As an example, such a digital assistant can be obtained based on a multimodal model, which can process various forms of user input, including but not limited to text, voice, image, video, body language (for example, gestures), etc. As another example, such a digital assistant 120 can be obtained based on a natural language processing model. The digital assistant 120 can process the conversation messages expressed in natural language input by the user 140 to obtain the needs of the user 140, for example, the application that the user 140 expects to create, the functions that the application expects to be implemented, etc. The model 125 can be configured locally on the application management platform 110 or independently of the application management platform 110 as needed, and the present disclosure is not intended to be limiting in this regard.

[0038] In some embodiments, the application management platform 110 can be based on an Application Platform as a Service (aPaaS). aPaaS is a cloud service that provides an environment for the development and operation of software applications. aPaaS allows developers to create large-scale applications. Therefore, by utilizing the digital assistant 120, the aPaaS-based platform can further reduce the development requirements of the user 140, and can more extensively assist the user 140 in managing target applications, thereby improving the user experience.

[0039] In the environment 100, the application management platform 110 can be deployed in an electronic device, which can be any type of device with computing capabilities, including a terminal device or a server device. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like.

[0040] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0041] User 140 can create and maintain an application, also referred to as a target application, through application management platform 110. As a trigger for permission management of the target application, application management platform 110 receives a permission management request for the target application. Such a permission management request indicates one or more permission configurations of the target application. For example, the permission management request may indicate the creation of a new permission configuration for the target application. For another example, the permission management request may indicate the modification of one or more existing permission configurations of the target application. For another example, the permission management request may indicate the inspection of one or more existing permission configurations or all permission configurations of the target application.

[0042] User 140 is allowed to submit a permission management request in any appropriate form. In some embodiments, application management platform 110 may provide or present one or more controls for permission management, also referred to as permission management controls. If a triggering operation for a permission management control is detected, such as user 140 clicking on a permission management control, a permission management request is received. For example, the permission management control may include a control for creating a new permission configuration scheme. If the control is clicked, application management platform 110 receives a request to create a new permission configuration scheme.

[0043] In some embodiments, the permission management request may be expressed in natural language. For example, the application management platform 110 may receive a conversation message expressed in natural language. The conversation message may include one or more user inputs and may be in the form of text, voice, or a combination thereof. Such a conversation message may instruct the creation, modification, or review of one or more permission configurations for the target application.

[0044] Alternatively or additionally, in some embodiments, the rights management request may be in other forms. For example, the rights management request may be expressed in body language (e.g., gestures). In another example, the rights management request may be expressed in multimedia forms such as video, audio, and images.

[0045] For example, if user 140 wishes to configure permissions for a target application, user 140 may provide a message in natural language to application management platform 110, for example, via text or voice, to instruct application management platform 110 to propose a permissions configuration plan or perform permissions configuration. For example, the conversation message may be "Help me create a new permissions configuration plan." Similarly, if user 140 wishes to modify a permissions configuration, user 140 may provide a conversation message such as "Help me modify an existing permissions setting" to instruct application management platform 110 to modify the created permissions configuration. In other words, such a conversation message comprises a permissions management request.

[0046] In some embodiments, the permission management request may be received in a conversation window between the user 140 and the digital assistant 120. For example, the application management platform 110 may provide the user 140 with a conversation window with the digital assistant 120, and present an input box in the conversation window for the user 140 to provide input. The input box may receive user input in various appropriate forms, such as natural language text input, natural language voice input, images, videos, body language, and the like. In this way, it may be convenient for the user 140 to raise its needs and use the input box to quickly indicate its needs. Furthermore, the application management platform 110 may use the input box to obtain conversation messages of the user 140 to enable interaction with the user 140.

[0047] For example, reference may be made to Figures 2A to 2C . In interfaces 200A to 200C, a conversation window between user 140 and digital assistant 120 is displayed. In the conversation window, an input box 211 is presented for user 140 to provide input. For example, user 140 can enter text in input box 211 and then trigger control 212 (e.g., by clicking control 212) to send the text.

[0048] In the example of Figure 2A , user 140 desires to create a new permission configuration for a target application. Application management platform 110 receives a conversation message 205 , such as "Help me create a new permission configuration so that only employees in department XX can see the employee training plan." By parsing conversation message 205 , it can be determined that a permission management request to create a new permission configuration has been received.

[0049] In the example of Figure 2B , user 140 wishes to modify a permission setting for a target application. Application management platform 110 receives a conversation message 215, such as "Please modify the permissions related to 'interviewer' so that all employees with 'interviewer' credentials can access the company's test question bank, but other employees not designated as 'interviewers' cannot." By parsing conversation message 215, it can be determined that a permission management request to modify an existing permission configuration has been received.

[0050] In the example of Figure 2C , user 140 wishes to review the existing permission configuration scheme in the target application to identify any improper configurations or potential security vulnerabilities. Application management platform 110 receives session message 225 , such as "Please help me review the current permission configuration to see if there are any system vulnerabilities." By parsing session message 225 , it can be determined that a permission management request to review the existing permission configuration has been received.

[0051] In response to receiving a permission management request such as that described with reference to Figures 2A to 2C, the application management platform 110 generates a prompt word input based on at least the permission management request and the description information of the target application related to the permission configuration. Such prompt word input will be used by the model 125 to provide an operation or check result for the permission configuration.

[0052] The following describes an example of information required to generate a prompt word input with reference to FIG3 . In the example of FIG3 , information that may be used to manage permission configuration is listed. As shown in FIG3 , the prompt word input can be generated based on a permission management request 310. For example, the prompt word input can be generated using a session message (such as session messages 205 , 215 , or 225 ) that includes the permission management request 310 or a preset text corresponding to the permission management request 310.

[0053] The description information 320 may include basic information related to rights management of the target application. The description information 320 may be considered as the application context of the target application. As an example and not intended to be limiting, FIG3 shows that the description information 320 includes data table information 322, page information 324, and role information 326.

[0054] Data table information 322 may include information related to one or more data tables in the target application. For example, for a particular data table, data table information 322 may include a general description of the data table, a table structure description, a data table script, and so on. The general description may be used to describe an overview of the content recorded in the data table and the purpose of the data table. The table structure description may, for example, describe the fields in the data table, the field name, data type, and field description of each field.

[0055] The page information 324 may include information related to one or more pages in the target application. For example, for a certain page, the page information 324 may describe which data tables are included in the page, the processes involved, and the like.

[0056] The role information 326 may, for example, describe which roles are set in the target application, the permissions of each role, etc. If the permission configuration indicated by the permission management request is an existing permission configuration (for example, in the case of modifying or checking the permission configuration), the role information 326 may also describe the permissions that have been granted to each role, the users who have been granted the role, etc.

[0057] In some embodiments, the model 125 may already have the capability of rights configuration. In such embodiments, the prompt word input may be generated directly based on the rights management request 310 and the description information 320.

[0058] In some embodiments, if it is desired to provide the model 125 with more information, the prompt word input may be additionally generated based on auxiliary information 330 associated with the permission configuration. The application management platform 110 determines the prompt word input based on the permission management request 310 , the description information 320 , and the auxiliary information 330 .

[0059] The auxiliary information 330 may include permission configuration schemes applicable to the target application or adopted by other applications. In some embodiments, the auxiliary information 330 may include one or more permission configuration samples 332 and / or predefined permission configuration rules 334 .

[0060] Each permission configuration sample can include one or more roles and the permissions corresponding to each role. For the example in Figure 2B, the permission configuration sample can come from the permission settings of the "Interviewer" role and the "Interview Administrator" role in another application of the same type. The "Interview Administrator" role has the permissions to create, delete, modify, and view test questions. The "Interviewer" role only has the permission to view test questions. The "Other" role does not have the above permissions.

[0061] The permission configuration samples may include positive samples and / or negative samples. The permissions of each role in the positive sample are correctly set, while the permissions of at least one role in the negative sample are incorrectly set. In particular, if the permission management request 310 is a request to check the existing permission configuration, a negative sample may be used. In this case, it is necessary to identify whether each permission configuration sample is a positive sample or a negative sample in the prompt word input.

[0062] Predefined permission configuration rules can be set based on employee positions, departmental functions, and other aspects of an organization. Permissions can be categorized as functional permissions and data permissions. Functional permissions can be global permissions, such as viewing, printing, and sending documents. Data permissions involve rules for data sharing between departments and roles, such as which data can be viewed and which data can be processed.

[0063] Based on the rights management request 310, the description information 320, and the optional auxiliary information 330, the application management platform 110 can generate a prompt word input. The prompt word input can directly include the rights management request, the description information, and / or the auxiliary information, or it can be pre-processed to generate the prompt word input. Pre-processing may include, for example, organizing the information, adjusting the format, or adding relevant prompt words.

[0064] The application management platform 110 then uses the model 125 to determine permission information related to the target permission configuration based on the prompt word input. The permission information indicates an operation performed on the target permission configuration or a check result of the target permission configuration. In some embodiments, the application management platform 110 may provide the generated prompt word input to the model 125. The model 125 receives the prompt word input and generates permission information based on the prompt word input. The application management platform 110 may obtain the permission information from the model 125.

[0065] In some embodiments, the permission information may be presented to the user 140 in a conversation window between the user 140 and the digital assistant 120 .

[0066] For example, if the permission management request instructs the creation of a target permission configuration, the permission information indicates one or more operations that can be used to create the target permission configuration. In the example of FIG2A , based on such a permission management request, the application management platform 110 can use the model 125 to return the corresponding permission configuration solution, for example, returning a conversation message 210 stating "Permission configuration completed, please click here to view." Such a conversation message not only includes a response regarding the execution result, but can also include a hyperlink 213 to the specific permission configuration solution.

[0067] For example, if the permission management request indicates a modification of the target permission configuration, the permission information indicates one or more operations that can be used to modify the target permission configuration. In the example of FIG2B , based on such a permission management request, the application management platform 110 can use model 125 to return the corresponding permission configuration solution, for example, returning a conversation message 220 "Permission configuration modification completed, please click on the attachment to view." Such a conversation message not only includes a response regarding the execution result, but can also include the specific permission configuration solution attached in the form of attachment 214.

[0068] For another example, if the permission management request instructs to check one or more permission configurations of the target application, the permission information may indicate the results of the inspection of the target permission configuration. For example, the inspection result may indicate that there are no vulnerabilities in the target permission configuration, or may indicate that there may be vulnerabilities or security risks in the target permission configuration. In the example of Figure 2C, based on such a permission management request, the application management platform 110 may use the model 125 to return the corresponding inspection results, for example, the session message 230 "A possible system vulnerability was discovered. The 'Manager Management' permission is configured with the permission for superiors to view the salary information of subordinates, but the 'Human Resources Permission' gives all employees in the human resources department the permission to view the salaries of all company employees. This will give employees in the human resources department the opportunity to see the salaries of their superiors. Please consider modifying it." Such a session message may include execution results and detailed analysis.

[0069] The permission information can be expressed in any suitable form, such as natural language or machine executable code. To this end, in some embodiments, the prompt input also instructs model 125 how to provide the permission information. For example, if model 125 is expected to return permission information expressed in natural language, the prompt input can instruct model 125 to provide the permission information in a natural language manner. For example, in the examples of Figures 2A to 2C, the permission information is included in session information 210, session information 220, and session information 230, that is, all are presented to user 140 in a natural language manner.

[0070] Additionally or alternatively, the prompt input instructs model 125 to provide permission information in machine-executable code. Such machine-executable code can be directly used to modify or improve the code of the target application. For example, model 125 can output intermediate language code usable by application management platform 110, such as Domain Specific Language (DSL). DSL is a development language designed for specific tasks and used to generate simple text artifacts, such as source code, database scripts, etc.

[0071] In some embodiments, the application management platform 110 can conduct multiple rounds of interaction with the user 140 through the digital assistant 120 to obtain execution results that better meet the user's expectations. In some embodiments, the application management platform 110 receives user feedback regarding permission information. Such user feedback indicates further processing of the permission configuration. In the example of FIG2C , the application management platform 110 first receives a permission management request from the user 140 (e.g., conversation message 225) and provides the generated first prompt word input to the model 125. The application management platform 110 presents the returned first permission information (e.g., conversation message 230) to the user 140. Further, the application management platform 110 can receive user feedback from the user 140 (e.g., conversation message 235 "Any suggestions for modification?") and provide the generated second prompt word input to the model 125. The application management platform 110 presents the returned second permission information (e.g., conversation message 240 "Consider narrowing the number of employees granted this permission in 'Human Resources Permissions' to only allow specific roles to view the company's salary information") to the user 140.

[0072] In summary, according to various embodiments of the present disclosure, the model 120 can be used to provide users with the ability to create, modify, or check permission configuration schemes. In this way, while maintaining the flexibility of permission configuration, the complexity of permission management can be reduced, and system security vulnerabilities can be discovered in a timely manner.

[0073] 4 shows a flow chart of a method 400 for rights management according to some embodiments of the present disclosure. The method 400 may be implemented at the application management platform 110. The method 400 is described below with reference to FIG1.

[0074] In block 410 , the application management platform 110 receives a permission management request for a target application, where the permission management request indicates one or more permission configurations of the target application.

[0075] At block 420 , a first prompt word input is generated based on at least the rights management request and rights management-related description information of the target application.

[0076] In block 430 , first permission information related to a target permission configuration among the one or more permission configurations is determined based on the first prompt word input using the model, where the first permission information indicates an operation on the target permission configuration or a check result on the target permission configuration.

[0077] In some embodiments, the application management platform 110 obtains auxiliary information associated with the permission configuration; and determines the first prompt word input based on the permission management request, the description information, and the auxiliary information.

[0078] In some embodiments, the auxiliary information includes at least one of the following: at least one permission configuration sample, each permission configuration sample including one or more roles and respective permissions of the one or more roles, or a set of predefined permission configuration rules.

[0079] In some embodiments, the first prompt word input instructs the model to provide the first permission information using at least one of the following: natural language, or machine executable code.

[0080] In some embodiments, the rights management request indicates creation of a target rights configuration, and the first rights information indicates one or more operations for creating the target rights configuration.

[0081] In some embodiments, the rights management request indicates a check of one or more rights configurations, and the first rights information indicates a result of the check of the target rights configurations.

[0082] In some embodiments, the application management platform 110 receives user feedback on permission information, where the user feedback indicates further processing of the inspection results; determines a second prompt word input based at least on the user feedback and the description information; and generates second permission information related to the target permission configuration based on the second prompt word input using a model, where the second permission information indicates an update to the target permission configuration.

[0083] In some embodiments, the application management platform 110 provides the first prompt word input to the model; and obtains the first permission information from the model.

[0084] In some embodiments, receiving the rights management request includes at least one of the following: receiving a trigger operation on a rights management control, or receiving a conversation message expressed in a natural language.

[0085] In some embodiments, the permission management request is received in a conversation window between the user and the digital assistant, and the application management platform 110 presents the first permission information or an indication of the first permission information in the conversation window.

[0086] 5 shows a schematic structural block diagram of an apparatus 500 for rights management according to certain embodiments of the present disclosure. Apparatus 500 may be implemented as or included in application management platform 110. Each module / component in apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0087] As shown in the figure, the device 500 includes a request receiving module 510, which is configured to receive a permission management request for a target application, wherein the permission management request indicates one or more permission configurations of the target application. The device 500 also includes a prompt word generating module 520, which is configured to generate a first prompt word input based on at least the permission management request and context information related to permission management of the target application. The device 500 also includes a permission information determining module 530, which is configured to use a model to determine first permission information related to a target permission configuration in one or more permission configurations based on the first prompt word input, wherein the first permission information indicates an operation on the target permission configuration or a check result on the target permission configuration.

[0088] In some embodiments, the prompt word generation module 520 is configured to obtain auxiliary information associated with the permission configuration; and determine a first prompt word input based on the permission management request, the description information, and the auxiliary information.

[0089] In some embodiments, the auxiliary information includes at least one of the following: at least one permission configuration sample, each permission configuration sample including one or more roles and respective permissions of the one or more roles, or a set of predefined permission configuration rules.

[0090] In some embodiments, the first prompt word input instructs the model to provide the first permission information using at least one of the following: natural language, or machine executable code.

[0091] In some embodiments, the rights management request indicates creation of a target rights configuration, and the first rights information indicates one or more operations for creating the target rights configuration.

[0092] In some embodiments, the rights management request indicates a check of one or more rights configurations, and the first rights information indicates a result of the check of the target rights configurations.

[0093] In some embodiments, the device 500 also includes: a user feedback receiving module, configured to receive user feedback on permission information, the user feedback indicating further processing of the inspection results; a second prompt word generation module, configured to determine a second prompt word input based at least on the user feedback and the description information; and a second permission information generation module, configured to utilize a model to generate second permission information related to the target permission configuration based on the second prompt word input, the second permission information indicating an update to the target permission configuration.

[0094] In some embodiments, the permission information determination module is configured to provide the first prompt word input to the model; and obtain the first permission information from the model.

[0095] In some embodiments, receiving the rights management request includes at least one of the following: receiving a trigger operation on a rights management control, or receiving a conversation message expressed in a natural language.

[0096] In some embodiments, the permission management request is received in a conversation window between the user and the digital assistant, and the device 500 further includes: a presentation module configured to present the first permission information or an indication of the first permission information in the conversation window.

[0097] FIG6 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 600 shown in FIG6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 shown in FIG6 can be used to implement the application management platform 110 of FIG1 .

[0098] As shown in FIG6 , electronic device 600 is a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit 610 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 600.

[0099] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 600.

[0100] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG6 , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0101] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0102] The input device 650 may be one or more input devices, such as a mouse, keyboard, or trackball. The output device 660 may be one or more output devices, such as a display, a speaker, or a printer. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with the electronic device 600, or with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0103] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0104] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0105] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0106] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0107] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0108] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A permission management method, include: Receiving a permission management request for a target application, the permission management request indicating one or more permission configurations of the target application; generating a first prompt word input based at least on the permission management request and the description information of the target application related to permission management; as well as Using the model, based on the first prompt word input, first permission information related to a target permission configuration among the one or more permission configurations is determined, wherein the first permission information indicates an operation on the target permission configuration or a check result on the target permission configuration.

2. The method according to claim 1, wherein the first prompt word input is generated include: Get auxiliary information associated with permission configuration; as well as Based on the authority management request, the description information and the auxiliary information, the first prompt word input is determined.

3. The method according to claim 2, wherein the auxiliary information comprises at least one of the following: at least one permission configuration sample, each permission configuration sample including one or more roles and the permissions of the one or more roles, or A set of predefined permission configuration rules.

4. The method of claim 1, wherein the first prompt word input instructs the model to provide the first permission information using at least one of the following: Natural language, or Machine executable code. 5 . The method of claim 1 , wherein the rights management request indicates creation of the target rights configuration, and the first rights information indicates one or more operations for creating the target rights configuration. 6 . The method according to claim 1 , wherein the permission management request indicates checking the one or more permission configurations, and the first permission information indicates a result of checking the target permission configuration.

7. The method according to claim 6, further comprising: include: receiving user feedback regarding the permission information, wherein the user feedback indicates further processing of the inspection result; Determining a second prompt word input based at least on the user feedback and the description information; as well as The model is used to generate second permission information related to the target permission configuration based on the second prompt word input, where the second permission information indicates an update to the target permission configuration.

8. The method according to claim 1, wherein determining the first permission information include: providing the first prompt word input to the model; as well as The first permission information is obtained from the model.

9. The method of claim 1, wherein receiving the rights management request comprises at least one of the following: Receive trigger actions for permission management controls, or Receive conversation messages in natural language.

10. The method according to claim 1, wherein the permission management request is received in a conversation window between the user and the digital assistant, and the method further include: The first permission information or an indication of the first permission information is presented in the session window.

11. A device for rights management, include: a request receiving module, configured to receive a permission management request for a target application, wherein the permission management request indicates one or more permission configurations of the target application; a prompt word generation module, configured to generate a first prompt word input based at least on the permission management request and context information of the target application related to permission management; as well as The permission information determination module is configured to use a model to determine first permission information related to a target permission configuration in the one or more permission configurations based on the first prompt word input, wherein the first permission information indicates an operation on the target permission configuration or an operation on the target permission configuration. The check result of the target permission configuration is described.

12. An electronic device, include: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 10 when executed by the at least one processing unit.

13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method for managing application permission and terminal

    CN107145790A

  • Application program management method, mobile terminal and storage medium

    CN110287694A

  • Application permission management method and device and storage medium

    CN111222153A

  • Method and device for managing application permission, storage medium and program product

    CN113836540A

  • Access control of administrative operations within an application

    US20180278614A1

Cited By

  • GitLab code warehouse authority hosting method and system for project management

    CN119357931A

  • GitLab code repository permission hosting method and system for project management

    CN119357931B