A permission-based interaction method and system, computer device and medium
By using permission-based interaction methods to obtain user information, group users, and generate feedback information, the problem of long development cycles and low security in the medical field of Internet development is solved, enabling efficient and convenient development and application, and improving security and flexibility.
Patent Information
- Application Number
- CN202111543024.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2041-12-16
AI Technical Summary
Existing internet development in the medical field suffers from long development cycles and low security. In particular, when projects are reintegrated and implemented after a change in requirements, there are various human-related security risks that affect the implementation of businesses with high confidentiality requirements.
By acquiring user information and grouping users according to their identity identifiers, and generating feedback information based on user permissions, a permission-based interaction method is adopted, and process judgment is performed using chat interaction, thereby improving security and flexibility.
It reduces the development cycle, improves security and flexibility, avoids user information leakage, reduces maintenance workload, and achieves efficient and convenient development and application.
Smart Images

Figure CN114385988B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of human-computer interaction technology, and in particular to a permission-based interaction method, system, computer device, and storage medium. Background Technology
[0002] With the continuous application and development of the internet in the medical field, user needs are becoming increasingly personalized and diversified, with very high confidentiality requirements. The demands of the internet are growing, and these demands are changing and updating more frequently, leading to higher requirements for development efficiency. However, despite increasingly efficient development capabilities and outputs, and optimized development models, internet development currently involves too much content—such as front-end development, back-end logic development, internal management back-end development, and patient interaction interface development for each functional module. From the initial requirement to project implementation, the development cycle still exceeds expectations. This is especially true when requirements change, leading to even longer cycles for project reintegration and implementation. Furthermore, the various potential human-caused security vulnerabilities in interactive operations during this period are highly detrimental to the implementation of confidentiality-critical services like those in the medical field. Summary of the Invention
[0003] In view of this, in order to at least partially solve one of the above-mentioned technical problems, the present invention aims to provide a permission-based interaction method that is more efficient and convenient to develop and apply, and has a higher security factor; at the same time, the technical solution of this application also provides a system, computer device and computer-readable and writable storage medium that can implement the method.
[0004] On the one hand, the technical solution of this application provides a permission-based interaction method, which includes the following steps:
[0005] Obtain user information, group the user information, and obtain at least one user group;
[0006] Obtain user instructions and determine the user group based on the identity identifier carried by the user instructions;
[0007] The user permissions for the user instruction are determined based on the user group, and feedback information for the user instruction is generated based on the user permissions.
[0008] In one feasible embodiment of the present application, prior to the step of determining the user group based on the identity identifier carried by the user instruction, the method includes:
[0009] Generate the first judgment variable;
[0010] If the identity identifier matches the user group and the user instruction conforms to the preset instruction conditions of the user group, assign a second value to the first judgment variable;
[0011] If the identity identifier matches the user group, or the user instruction meets the preset instruction conditions of the user group, assign a first value to the first judgment variable;
[0012] Once the first variable is determined to be the second value, the user instruction is executed.
[0013] In one feasible embodiment of the present application, the user group includes internal users and external users; the step of determining the user group based on the identity identifier carried by the user instruction includes:
[0014] Based on the identity identifier, the entity performing the user instruction is determined to be the internal user;
[0015] or,
[0016] The user's actions based on the identity identifier are determined to be those of the external user.
[0017] In one feasible embodiment of the present application, the step of generating feedback information for the user instruction based on the user permissions includes:
[0018] The user instructions are formatted to obtain a first format instruction;
[0019] The first format instruction is determined to be an internal user instruction by matching the preset internal user general instruction with the first format instruction.
[0020] or,
[0021] The first format instruction is determined to be an external user instruction by matching the preset external user general instruction with the first format instruction.
[0022] In one feasible embodiment of the present application, the step of matching the preset internal user general instructions with the first format instructions includes:
[0023] The first format instruction is segmented to obtain several first strings;
[0024] The first string is matched one by one with the internal user general instructions, and the first format instruction is determined to be an internal user instruction based on the matching results;
[0025] The instruction content of the first format instruction is determined based on the first string.
[0026] In one feasible embodiment of the present application, before the step of formatting the user instruction to obtain the first format instruction, the method includes:
[0027] The user instruction was determined to be a consultation instruction;
[0028] Keywords are extracted from the consultation instruction, the keywords are searched in a preset thesaurus, and the feedback information is determined based on the search results;
[0029] or,
[0030] The consultation instruction is processed by natural language to obtain a corpus, which is then matched against historical records to determine the feedback information based on the matching results.
[0031] In one feasible embodiment of the present application, before the step of formatting the user instruction to obtain the first format instruction, the method further includes:
[0032] The consultation instruction is segmented into several second strings;
[0033] The target record is determined based on the number of characters that match the second string with the historical records, and the feedback information is determined based on the target record.
[0034] On the other hand, the technical solution of this application also provides a permission-based interaction system, including:
[0035] Obtain user information, group the user information, and obtain at least one user group;
[0036] Obtain user instructions, and determine the user group based on the identity identifier carried by the user instructions and the instruction format of the user instructions;
[0037] The user permissions for the user instruction are determined based on the user group, and feedback information for the user instruction is generated based on the user permissions.
[0038] On the other hand, the technical solution of the present invention also provides a permission-based interactive computer device, which includes:
[0039] At least one processor;
[0040] At least one memory for storing at least one program;
[0041] When at least one program is executed by at least one processor, the at least one processor performs a permission-based interaction method as described in the first aspect.
[0042] On the other hand, the technical solution of the present invention also provides a storage medium storing a processor-executable program, which, when executed by a processor, is used to run the method in the first aspect.
[0043] The advantages and beneficial effects of the present invention will be set forth in part in the following description, and the rest will become apparent from the specific embodiments thereof:
[0044] The technical solution of this application first groups users based on user information, and then determines the user group to which the user instruction belongs based on the identity identifier carried by the instruction, thereby verifying user permissions. This improves the confidentiality and security of the solution during the interaction process and prevents the leakage of user information. After verifying the user's permissions, the solution provides corresponding feedback based on the permissions of the user who issued the instruction. The solution uses a chat-like approach for issuing and responding to instructions, offering high flexibility. Updates can be completed by modifying the corresponding backend code after adding or changing requirements, without requiring complex frontend display page updates, greatly reducing the workload of operation and maintenance. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a flowchart of the steps of a permission-based interaction method in an embodiment of the present invention. Detailed Implementation
[0047] The embodiments of the present invention are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. The step numbers in the following embodiments are set only for ease of explanation, and there is no limitation on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.
[0048] In the application of internet technology to the medical technology industry, solutions typically suffer from cumbersome development processes, high management and maintenance costs, and potential security risks to user information. Therefore, this application uses a user's unique identifier to directly associate permissions or permission groups, serving as the starting point for judging user commands. The process is judged through chat interaction, sequentially checking internal employee special permissions, internal employee general permissions, external user special permissions, and external user general permissions. If all checks fail, a consultation feedback is initiated, significantly improving security and reducing development time. On the one hand, such as... Figure 1 As shown, embodiments of this application provide a permission-based interaction method, the method including steps S100-S300:
[0049] S100: Obtain user information, group the user information, and obtain at least one user group;
[0050] Specifically, in this embodiment, the acquired user information includes, but is not limited to, user information lists and datasets pre-stored in the interactive system of this embodiment; it can also be user records cached by the interactive system during human-computer interaction. It should be noted that before acquiring user information in any way, this embodiment should first obtain the user's authorization. After acquiring a certain amount of user information, this embodiment can group the user data by permission or priority level based on attributes such as account information, user ID, and related user permissions. After acquiring several permission groups or priority levels, this embodiment can sort the groups in descending order; that is, the higher the group's ranking, the higher the permission and priority level for responding to user commands containing that group's user information.
[0051] S200: Obtain user instructions and determine user groups based on the identity identifier carried in the user instructions;
[0052] Specifically, in this embodiment, the user instruction can be a relevant operation instruction that indicates the user's clear intention, obtained through a user interaction device. For example, it could be a touch operation instruction obtained through a touch-sensitive display, or a key operation instruction obtained through physical buttons. Furthermore, in other application scenarios, the user instruction acquisition method can be diverse; for example, it can acquire the user's voice instructions through an audio acquisition device. After receiving the user's operation instruction, the system in this embodiment will determine the user group of the subject of this user instruction based on the user identification information carried in the user instruction. The user identification information can be a unique identifier that can be pre-bound to each user subject before acquiring the user instruction, such as a user ID, user account, etc. When the user sends an instruction message carrying a unique identifier to the server of the system in this embodiment, the local server receives the user instruction and saves it in a cache; then, the system server determines the user group of the subject issuing the instruction based on the identifier, and thus determines the priority level and permissions of the user instruction. For example, in the embodiment of identifying user groups by identity identifiers, the user list of each user group can be obtained first. The user list also records the corresponding user identifier of each user. The user identifier carried by the real-time user instruction is compared with the user identifier in the user list one by one to finally determine the user information, user permissions, and user priority level of the subject who issued the user instruction.
[0053] For example, in some alternative embodiments or other application scenarios, in order to clearly distinguish the user information of internal staff from external customer information in terms of permissions and priority levels, the user groups in the embodiments include, but are not limited to, internal users and external users; furthermore, in the process of determining the user group based on the identity identifier carried by the user instruction in step S200, the method of the embodiments may include step S210 or S220:
[0054] S210. Based on the identity identifier, the user's action subject is determined to be an internal user;
[0055] S220. Based on the identity identifier, the user's action is determined to be an external user;
[0056] For example, in one embodiment, each internal user (hereinafter referred to as "employee") is grouped by permission, including the top leader, department one leader, department one ordinary employee, department two leader, department two ordinary employee, etc.; external users (hereinafter referred to as "customers") are grouped by priority level, including special users, ordinary users, etc.; after receiving a user instruction, a list of all employees is obtained from the employee table, which also records the identity information of each employee. The identity information in the user instruction is extracted, and the two are matched one by one. If the match is successful, it means that the subject of this user instruction belongs to the employee group, and therefore this user instruction enjoys the permissions and priority level of the employee group; if the match is unsuccessful, the identity information of the customer group will be matched.
[0057] S300: Determine the user permissions for user instructions based on user groups, and generate feedback information for user instructions based on user permissions;
[0058] Specifically, in the embodiment, after determining the user information, user permissions, and user priority level of the subject issuing the user instruction, the target requirement of the user instruction is extracted through necessary text processing and natural language processing. Further, the embodiment will determine whether the target requirement exceeds the permission scope of the current user group. For target requirements within the permission scope, the execution order of the user instruction among all pending user instructions will be determined according to the priority level of the current user group.
[0059] In some alternative embodiments, prior to step S200, which determines the user group based on the identity carried by the user instruction, the method further includes steps S110-S140:
[0060] S110, Generate the first judgment variable;
[0061] S120. Determine the first judgment variable as a first value, determine that it matches the user group based on the identity identifier carried by the user instruction, and the user instruction meets the preset instruction conditions of the user group, and assign a second value to the first judgment variable;
[0062] S130. Determine if the identity identifier matches the user group, or if the user instruction meets the preset instruction conditions of the user group, and assign a first value to the first judgment variable;
[0063] S140. Determine that the first variable is the second value, and execute the user instruction.
[0064] For example, in this embodiment, when a user instruction is obtained, a judgment variable `is_got_result` can be started, initially set to false, and a judgment can be triggered: During the process of determining user grouping, firstly, a list of all employees is retrieved from the employee table. If the user's identity exists in the employee table, an employee judgment is triggered; if it is determined that the subject of the user instruction belongs to an employee, the value of the judgment variable `is_got_result` is changed to true, and relevant processing and feedback are performed; if it is determined that the subject of the user instruction does not belong to an employee, i.e., `is_got_result` is still false, a customer judgment is triggered; if it is determined that the subject of the user instruction belongs to a customer, the value of the judgment variable `is_got_result` is changed to true, and relevant processing and feedback are performed; if `is_got_result` is still false, a list of commonly used instructions is pushed to the user, and an online consultation mechanism is triggered to provide human customer service.
[0065] In some alternative embodiments, step S300, which generates feedback information for user instructions based on user permissions, may include steps S310-S330:
[0066] S310. Format the user command to obtain the first format command;
[0067] S320. Match the preset internal user general instructions with the first format instructions to determine that the first format instructions are internal user instructions;
[0068] Alternatively, S330, match the preset external user general instruction with the first format instruction to determine that the first format instruction is an external user instruction.
[0069] Based on the startup condition variable is_got_result, after obtaining the user's command, the system first retrieves a list of all employees from the employee table. If the user's identity exists in the employee table, an employee check is triggered.
[0070] The user command is formatted according to a fixed mechanism. For example, "on duty" can be formatted as "on duty". If the formatted command matches the pre-set internal employee general commands, such as "on duty" and "off duty", the value of the judgment variable is_got_result is changed to true and relevant processing is performed. For example, when the "off duty" command is issued, certain "on duty" push commands are not sent to the employee to avoid disturbing the employee's normal life.
[0071] However, in some other embodiments, the user instructions may be other more complex long sentences, so the method of the embodiment needs to perform necessary text processing or natural language processing; therefore, the process of matching the preset internal user general instructions with the first format instructions in method S320 may include steps S321-S323:
[0072] S321. The first format instruction is segmented to obtain several first strings;
[0073] S322. Match the first string with the internal user general instructions one by one, and determine the first format instruction as an internal user instruction based on the matching results;
[0074] S323. Determine the instruction content of the first format instruction based on the first string;
[0075] Specifically, in the embodiment, after formatting the user command according to the inherent mechanism and matching it with the general command, if is_got_result is still false, the user command is further formatted according to the inherent mechanism. For example, the message string is split according to the special character "#". The first part is the department and position, such as "Customer Service Department", the second part is the general command, such as "Workload", and the third part and thereafter are custom parameters, such as "20211101". If it meets the format required by the preset command, is_got_result is changed to true, and the relevant preset mechanism is executed to process the relevant business.
[0076] It should be noted that the format of internal employees' statements is controllable. While general instructions for internal employees are ordinary statements, they can be required to meet a certain number of words, such as no more than 4 words, or fixed vocabulary. However, special instructions can contain certain special characters. If voice is used, a fixed combination of several uncommon words can be used as the delimiter of the instruction parameters to facilitate formatting. Internal special instructions will only be triggered if the statement conforms to the internal employee's identity and contains the format of the special characters or uncommon word combination.
[0077] If is_got_result is still false, even if the user does not exist in the employee table, then a customer check is triggered:
[0078] Check if the customer is a special customer, such as a VIP. Format the user's commands according to the inherent mechanism of special customers. For example, "help" or "assistant" can be formatted as "nurse". If the formatted command matches the pre-set general customer commands, change the value of the judgment variable is_got_result to true and perform related processing. For example, the nurse command immediately triggers a two-way call to initiate a voice conversation between the VIP user and their dedicated nurse.
[0079] If is_got_result is still false, the message is formatted according to the inherent mechanism of ordinary customers. For example, "queue", "number of people", "party" etc. can be formatted as "queue". If the formatted message matches the pre-set general customer instructions, the value of the judgment variable is_got_result is changed to true and related processing is performed. For example, the queue instruction is to let the customer query the name of the queue for the business he is queuing for and how many people are waiting ahead of him.
[0080] It should be noted that external user statements are uncontrollable. Therefore, the analysis and matching process of their user commands does not include judgment of special characters or uncommon word combinations. External user general commands are also subject to word count limits. For example, only commands with a limit of 6 characters or less will trigger formatting. However, external user general statements and inquiries have no word count limit. Any statement that does not trigger any of the above forms or whose formatting does not conform to the built-in commands will trigger the general inquiry mechanism.
[0081] Based on the consultation mechanism, in some optional embodiments, before step S310 of formatting the user instruction to obtain the first format instruction, the method of the embodiment may further include steps S301-S303:
[0082] S301. Determine the user instruction as a consultation instruction;
[0083] S302. Extract keywords from the consultation instructions, search for keywords in the preset thesaurus, and determine feedback information based on the search results;
[0084] Alternatively, S303, perform natural language processing on the consultation instructions to obtain a corpus, match the corpus in the history record, and determine the feedback information based on the matching results;
[0085] Specifically, in the implementation example, after entering the general consultation, the matching status is monitored to generate a new status (i_got_status). If the matching is successful according to the built-in professional dictionary, then i_got_status = 1; or if the natural language matching degree is very high, for example, after natural language analysis and removal of function words, all content words are matched against all records in the original message and question-and-answer database. If the number of matches is sufficient, such as more than 3 times or the only record with the most matches, then the matching is successful and i_got_status = 2. When i_got_status is 1 or 2, the response is considered successful, and there is no need to actively connect to human customer service.
[0086] However, if matching using the built-in professional lexicon and general natural language matching are both unsuccessful or unsatisfactory, the implementation method may also provide steps S304-S305:
[0087] S304. Perform word segmentation on the consultation instructions to obtain several second strings;
[0088] S305. Determine the target record based on the number of characters that match the second string with the historical records, and determine the feedback information based on the target record;
[0089] In practice, if the matching from the built-in professional dictionary and the general matching from natural language are both unsuccessful or unsatisfactory, the original sentence will be brute-forcedly broken down. For example, each pair of characters is used as a matching word, and each is matched against all records in the question-and-answer database to find the answer record with the most matching times. If the match is successful, i_got_status = 100, reserving intermediate enumeration values for future expansion of more matching methods. However, if the brute-force breaking down phase is entered, i_got_status = 100, regardless of the matching result, even if the highest priority reply record is successfully matched and pushed to the user, human customer service will still be triggered.
[0090] In addition, the implementation can also acquire and record the corresponding status of each message of each user, its life cycle and outcome, and continuously optimize and adjust the above mechanism.
[0091] Secondly, the technical solution of this application also provides a permission-based interaction system, which includes:
[0092] The resource integration unit is used to acquire user information, group the user information, and obtain at least one user group.
[0093] The instruction acquisition unit is used to acquire user instructions and determine user groups based on the identity identifier carried by the user instructions.
[0094] The information feedback unit determines the user permissions for user commands based on user groups and generates feedback information for user commands based on user permissions.
[0095] Thirdly, the technical solution of this application also provides a permission-based interactive computer device, which includes at least one processor; at least one memory for storing at least one program; when the at least one program is executed by the at least one processor, the at least one processor performs a permission-based interactive method as described in the first aspect.
[0096] This invention also provides a storage medium containing a program that is executed by a processor to implement the aforementioned permission-based interaction method.
[0097] From the above specific implementation process, it can be concluded that the technical solution provided by the present invention has the following advantages or strengths compared with the prior art:
[0098] The development of this technical solution mainly involves writing code for the backend's judgment and processing logic. The frontend only needs to develop a few simple display pages. Furthermore, since the backend and management backend logic do not require frontend pages and the commands are simply chat-style strings for parameter processing, the flexibility is extremely high. New or changed requirements can be added at any time by modifying the corresponding backend code to complete the update, without the need for complex frontend display page updates, greatly reducing the workload of operation and maintenance. Because messages or commands are progressively associated with permissions and processed step by step after being sent, there is no possibility of skipping steps or bypassing permission processing. Moreover, each processing is targeted at a specific user, so the result can be known to the customer without requiring a real-name reply. This interaction method also greatly improves security.
[0099] In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order shown in the operation diagrams. For example, depending on the functions / operations involved, two consecutively shown blocks may actually be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order. Furthermore, the embodiments presented and described in the flowcharts of this invention are provided by way of example to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is altered and sub-operations described as part of a larger operation are executed independently.
[0100] Furthermore, although the invention has been described in the context of functional modules, it should be understood that, unless otherwise stated, one or more of the functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the invention. Rather, given the properties, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the module will be understood within the scope of conventional skill of an engineer. Therefore, those skilled in the art can implement the invention as set forth in the claims using ordinary techniques without excessive experimentation. It is also understood that the specific concepts disclosed are merely illustrative and not intended to limit the scope of the invention, which is determined by the full scope of the appended claims and their equivalents.
[0101] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).
[0102] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0103] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
[0104] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. A permission-based interaction method, characterized in that, The method includes the following steps: Obtain user information, group the user information, and obtain at least one user group; Obtain user instructions and determine the user group based on the identity identifier carried by the user instructions; The user permissions for the user instruction are determined based on the user group, and feedback information for the user instruction is generated based on the user permissions. The step of generating feedback information for the user instruction based on the user permissions includes: The user instructions are formatted to obtain a first format instruction; The first format instruction is determined to be an internal user instruction by matching the preset internal user general instruction with the first format instruction. or, The first format instruction is determined to be an external user instruction by matching the preset external user general instruction with the first format instruction. Before the step of formatting the user instructions to obtain the first format instructions, the method includes: The user instruction was determined to be a consultation instruction; Keywords are extracted from the consultation instruction, the keywords are searched in a preset thesaurus, and the feedback information is determined based on the search results; or, The consultation instruction is processed by natural language to obtain a corpus, the corpus is matched in the history record, and the feedback information is determined based on the matching result. The step of matching the preset internal user general instructions with the first format instruction includes: The first format instruction is segmented to obtain several first strings; The first string is matched one by one with the internal user general instructions, and the first format instruction is determined to be an internal user instruction based on the matching results; The instruction content of the first format instruction is determined based on the first string; Before the step of formatting the user instructions to obtain the first format instructions, the method further includes: The consultation instruction is segmented into several second strings; The target record is determined based on the number of characters that match the second string with the historical records, and the feedback information is determined based on the target record. After determining the user group, the method further includes: Determine the target requirements of the user instructions; If the target requirement does not exceed the scope of the user's permissions corresponding to the user instruction, then the execution order of the user instruction among all pending user instructions is determined according to the user group corresponding to the user instruction. Prior to the step of determining the user group based on the identity identifier carried by the user instruction, the method includes: Generate the first judgment variable; If the identity identifier matches the user group and the user instruction conforms to the preset instruction conditions of the user group, assign a second value to the first judgment variable; If the identity identifier matches the user group, or the user instruction meets the preset instruction conditions of the user group, assign a first value to the first judgment variable; if the first judgment variable is determined to be a second value, execute the user instruction.
2. The permission-based interaction method according to claim 1, characterized in that, The user groups include internal users and external users; the step of determining the user group based on the identity identifier carried by the user instruction includes: Based on the identity identifier, the entity performing the user instruction is determined to be the internal user; or, The user's actions based on the identity identifier are determined to be those of the external user.
3. A permission-based interactive system, characterized in that, The system is used to perform the permission-based interaction method as described in any one of claims 1-2, the system comprising: A resource integration unit is used to acquire user information, group the user information, and obtain at least one user group. The instruction acquisition unit is used to acquire user instructions and determine the user group based on the identity identifier carried by the user instructions and the instruction format of the user instructions; An information feedback unit is used to determine the user permissions of the user instruction based on the user group, and generate feedback information for the user instruction based on the user permissions; The information feedback unit is specifically used for: The user instructions are formatted to obtain a first format instruction; The first format instruction is determined to be an internal user instruction by matching the preset internal user general instruction with the first format instruction. or, The first format instruction is determined to be an external user instruction by matching the preset external user general instruction with the first format instruction. The interactive system is also used for: The user instruction was determined to be a consultation instruction; Keywords are extracted from the consultation instruction, the keywords are searched in a preset thesaurus, and the feedback information is determined based on the search results; or, The consultation instruction is processed by natural language to obtain a corpus, the corpus is matched in the history record, and the feedback information is determined based on the matching result. The information feedback unit is also used for: The first format instruction is segmented to obtain several first strings; The first string is matched one by one with the internal user general instructions, and the first format instruction is determined to be an internal user instruction based on the matching results; The instruction content of the first format instruction is determined based on the first string.
4. A permission-based interactive device, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor performs a permission-based interaction method as described in any one of claims 1-2.
5. A storage medium storing a processor-executable program, characterized in that, The processor-executable program, when executed by the processor, is used to run a permission-based interaction method as described in any one of claims 1-2.
Citation Information
Patent Citations
Information query method and device, computer equipment and storage medium
CN109933645A
Software development management method and system based on communication tool and mobile terminal
CN111596895A
User permission control method and system, computer equipment and storage medium
CN113626844A