Conversation content display method and related device based on user authority separation

By introducing user permission tags and server-side permission update mechanisms in the intelligent dialogue system, the problem of existing systems not being able to identify and separate user permissions is solved, and the accuracy of reply and data security are improved.

CN119357383BActive Publication Date: 2025-04-11SHENZHEN XISHIMA DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411929942.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-11
Estimated Expiration
2044-12-26

AI Technical Summary

Technical Problem

The existing intelligent dialogue system cannot recognize and separate user permissions, resulting in low data security. The same question content has different intentions for questioning from the perspective of users with different permissions, but the reply content output by the system is the same and has low accuracy.

Method used

By displaying user permission tags in the terminal device of the intelligent dialogue system and sending a request to the server to carry the original question content and permission tags, the server updates the question content based on the permission tag, generates the target question content and reply content, and finally displays the target reply content on the terminal device.

Benefits of technology

It realizes the identification and separation of user permissions, improves data security and reply accuracy, and makes the final output more in line with the user's actual question intention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119357383B_ABST
    Figure CN119357383B_ABST
Patent Text Reader

Abstract

The present application provides a method and related device for displaying conversation content based on user authority separation, the method comprising: displaying an intelligent conversation interface, the intelligent conversation interface comprising a user information display area and a conversation content display area, the user information display area displaying a target user's authority label; in response to the target user's question operation, displaying the original question content in the conversation content display area; sending a reply content output request carrying the original question content and the authority label to a server, obtaining a reply content output response, the reply content output response carrying the target reply content; and displaying the target reply content. In this way, the intelligent conversation system is endowed with the ability to identify and separate user permissions, improving data security and intelligence, and due to the influence of the authority label, the reply content finally output and displayed is more in line with the user's actual questioning intention, improving the accuracy of the reply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic digital data processing, and in particular to a method and a related device for displaying conversation content based on user authority separation. Background Art

[0002] With the rapid development of natural language processing technology, more and more companies choose to access intelligent dialogue systems to assist relevant personnel to quickly and accurately query various data resources inside and outside the company. Compared with traditional search engines, intelligent dialogue systems can summarize and integrate various valid information queried, effectively improving work efficiency. However, existing intelligent dialogue systems do not have the ability to identify and separate user permissions, and there are loopholes in data security. In actual applications, the actual question intention represented by the same question content from the perspective of users with different permissions may be different, and the existing intelligent dialogue system still outputs the same answer content for the above situation, and the answer accuracy is low. Summary of the invention

[0003] The embodiments of the present application provide a method and related device for displaying conversation content based on user authority separation, in order to endow the intelligent conversation system with the ability to identify and separate user authorities, thereby improving the accuracy of the reply content ultimately output and displayed by the client.

[0004] In a first aspect, an embodiment of the present application provides a method for displaying conversation content based on user rights separation, which is applied to a terminal device in an intelligent conversation system, wherein the intelligent conversation system includes the terminal device and a server, and the method includes:

[0005] Displaying an intelligent dialogue interface, the intelligent dialogue interface comprising a user information display area and a dialogue content display area, the user information display area displays a target user's authority label, the authority label is used to indicate an authority data preview window, the authority data preview window comprises an authority data display area, the authority data display area is used to display the data authority range of the target user, and the dialogue content display area is used to display the question content input by the target user and the answer content output by the intelligent dialogue system;

[0006] In response to the question operation of the target user, displaying the original question content in the conversation content display area;

[0007] Sending a reply content output request carrying the original question content and the permission tag to the server, obtaining a reply content output response, wherein the reply content output response carries a target reply content, wherein the target reply content includes a target question content and a first reply content, wherein the target question content is obtained by the server updating the original question content according to the permission tag, and the first reply content is used to represent a reply result corresponding to the target question content;

[0008] The target reply content is displayed.

[0009] In a second aspect, an embodiment of the present application provides a device for displaying conversation content based on user rights separation, which is applied to a terminal device in an intelligent conversation system, wherein the intelligent conversation system includes the terminal device and a server, and the device includes:

[0010] A first display unit is used to display an intelligent dialogue interface, wherein the intelligent dialogue interface includes a user information display area and a dialogue content display area, wherein the user information display area displays a target user's authority label, wherein the authority label is used to indicate an authority data preview window, wherein the authority data preview window includes an authority data display area, wherein the authority data display area is used to display the data authority scope of the target user, and the dialogue content display area is used to display the question content input by the target user and the answer content output by the intelligent dialogue system;

[0011] A second display unit, configured to display the original question content in the dialogue content display area in response to the question operation of the target user;

[0012] A sending unit is used to send a reply content output request carrying the original question content and the permission tag to the server, and obtain a reply content output response, wherein the reply content output response carries a target reply content, wherein the target reply content includes a target question content and a first reply content, wherein the target question content is obtained by the server updating the original question content according to the permission tag, and the first reply content is used to represent a reply result corresponding to the target question content;

[0013] The third display unit is used to display the target reply content.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implement the steps in the first aspect of the embodiment of the present application.

[0016] It can be seen that in the embodiment of the present application, the terminal device displays an intelligent dialogue interface, which includes a user information display area and a dialogue content display area. The user information display area displays the permission label of the target user, and the permission label is used to characterize the data permission range of the target user. The dialogue content display area is used to display the question content input by the target user and the reply content output by the intelligent dialogue system; then, in response to the question operation of the target user, the original question content is displayed in the dialogue content display area; then, a reply content output request carrying the original question content and the permission label is sent to the server to obtain a reply content output response, the reply content output response carries the target reply content, the target reply content includes the target question content and the first reply content, the target question content is obtained by the server updating the original question content according to the permission label, and the first reply content is used to characterize the reply result corresponding to the target question content; finally, the target reply content is displayed. In this way, the intelligent dialogue system is endowed with the ability to identify and separate user permissions, and the permission label is displayed on the front end of the terminal device, which is convenient for users to check and verify their data permission scope in real time, thereby improving data security and system intelligence. At the same time, after the user enters the original question content, the target reply content output and displayed by the terminal device is the target question content and the reply content to the target question content obtained after the intelligent dialogue system updates the original question content according to the user's permission label, so that the final output display result can be more in line with the user's actual question intention, thereby improving the accuracy of the reply. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 is a structural block diagram of an intelligent dialogue system provided in an embodiment of the present application;

[0019] Figure 2 It is a flowchart of a method for displaying conversation content based on user rights separation provided in an embodiment of the present application;

[0020] Figure 3 This is an example diagram of the first intelligent dialogue interface provided by the embodiment of the present application;

[0021] Figure 4 is an example diagram of a second intelligent dialogue interface provided in an embodiment of the present application;

[0022] Figure 5 This is an example diagram of the third intelligent dialogue interface provided in the embodiment of the present application;

[0023] Figure 6 This is an example diagram of the fourth intelligent dialogue interface provided in the embodiment of the present application;

[0024] Figure 7 is an example diagram of the fifth intelligent dialogue interface provided in the embodiment of the present application;

[0025] Figure 8 is an example diagram of the sixth intelligent dialogue interface provided in an embodiment of the present application;

[0026] Fig. 9 is an example diagram of the seventh intelligent dialogue interface provided in the embodiment of the present application;

[0027] Fig.10 is an example diagram of the eighth intelligent dialogue interface provided in the embodiment of the present application;

[0028] Fig.11 is an example diagram of the ninth intelligent dialogue interface provided in an embodiment of the present application;

[0029] Fig.12 It is a functional unit composition block diagram of a conversation content display device based on user authority separation provided by an embodiment of the present application;

[0030] Fig.13 It is a block diagram of the functional units of another device for displaying conversation content based on user rights separation provided by an embodiment of the present application;

[0031] Fig.14 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0033] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0034] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0035] See also Figure 1 , Figure 1 is a structural block diagram of an intelligent dialogue system provided by an embodiment of the present application. Figure 1 As shown, the intelligent dialogue system 10 includes a server 11 and a terminal device 12, and the server 11 and the terminal device 12 are connected in communication to realize the interaction of data information. The server 11 can be a server, or a server cluster composed of several servers, or a cloud computing service center; the terminal device 12 can be a smart device used by the target user, such as a mobile phone, a tablet computer, a personal computer, etc.

[0036] See also Figure 2 , Figure 2 is a flowchart of a method for displaying conversation content based on user rights separation provided by an embodiment of the present application, which is applied to Figure 1 In the terminal device 12 shown, Figure 2 As shown, the method for displaying conversation content based on user rights separation includes:

[0037] S201, displaying an intelligent dialogue interface.

[0038] The intelligent dialogue interface includes a user information display area and a dialogue content display area, the user information display area displays a target user's authority label, the authority label is used to indicate an authority data preview window, the authority data preview window includes an authority data display area, the authority data display area is used to display the target user's data authority range, and the dialogue content display area is used to display the question content input by the target user and the answer content output by the intelligent dialogue system;

[0039] For example, Figure 3 As shown, the intelligent dialogue interface 30 includes a user information display area 31 and a dialogue content display area 32. Among them, the user information display area 31 displays a permission label 311. In this example, the word "authority" is displayed on the permission label 311 to prompt the user to check and verify the data permission range he has here. Further, when the user performs a hover operation or a click operation on the permission label 311, the terminal device displays a permission data preview window 33 in the intelligent dialogue interface 30 in response to the hover operation or the click operation. The permission data preview window 33 includes a permission data display area 331, and the permission data display area 331 is used to display the data permission range of the target user. Further, when the permission data preview window 33 is displayed, when it is detected that the user performs a click operation on an area other than the permission data preview window 33 in the intelligent dialogue interface 30, the permission data preview window 33 is closed. The dialogue content display area 32 includes a question content input box 321 and a submit function control 322, which are used to display the question content input by the target user and the answer content output by the intelligent dialogue system.

[0040] S202: In response to the questioning operation of the target user, display the original question content in the dialogue content display area.

[0041] The question operation specifically refers to the question content input operation for the question content input box 321 and the click operation for the submit function control 322. The question content input by the target user in the question content input box 321 can be in various forms, such as text content, picture content, and language content. The original question content refers to the content input by the target user in the question content input box 321. For example, Figure 4 As shown, the target user inputs the question "What is the income in May?" and clicks the submit function control 322. Then, in response to the question operation, the terminal device displays a first dialogue bubble 323 on the user message side in the dialogue content display area 32. The first dialogue bubble 323 displays the original question content, i.e., "What is the income in May?" In this example, the user message side is the left side of the dialogue content display area 32, and correspondingly, the system message side is the right side of the dialogue content display area 32. In other possible examples, the user message side may also be the right side of the dialogue content display area 32, and the system message side may also be the left side of the dialogue content display area 32, which is not limited here.

[0042] S203, sending a reply content output request carrying the original question content and the authority tag to the server, and obtaining a reply content output response, wherein the reply content output response carries the target reply content.

[0043] Among them, the target reply content includes the target question content and the first reply content. The target question content is obtained by the server updating the original question content according to the authority tag, and the first reply content is used to represent the reply result corresponding to the target question content.

[0044] For example, taking the original question content of "What is the income in May" as an example, for users with different data authority ranges, this non-standard question may have different actual question intentions. For example, user A is an ordinary employee, user B is the general manager of the company, and user A has access to his own salary data, while user B has access to the salary data of all employees and the company's turnover data. At this time, the server in the intelligent dialogue system updates the original question content according to the data tag to obtain the target question content. After user B enters the original question content "What is the income in May", the server updates the original question content according to the authority tag of user B. After the relevant data analysis and data processing stages, it is inferred that the actual question intention corresponding to the question content of user B is more focused on the company's turnover data in May, and the target question content is determined to be "What is the company's turnover in May", and the data resources corresponding to the target question content are queried to generate the first reply content, which is, for example, "The company's turnover in May is 1 million yuan". Finally, the target reply content is generated according to the target question content, the first reply content and the prompt word template and sent to the terminal device. Furthermore, the server can also generate a second reply content based on the first reply content and the permission tag, and the second reply content is used to indicate the data analysis conclusion associated with the first reply content. Exemplarily, the first reply content is "the company's turnover in May is 1 million yuan", and the server can query the data within the data permission range of the target user, including "the company's turnover in April is 800,000 yuan". In a possible example, the second reply content can be "the company's turnover in May increased by 25% compared to April". Finally, the target reply content is generated according to the target question content, the first reply content and the second reply content and sent to the terminal device.

[0045] S204, displaying the target reply content.

[0046] Among them, Figure 5As shown, after receiving the reply content output response carrying the target reply content, the terminal device displays a second dialogue bubble 324 on the system message side of the dialogue content display area 32, and the second dialogue bubble 324 displays the target reply content. In this example, the target reply content is, for example, "I guess what you actually want to ask: What was the company's turnover in May? Here is the answer I searched for you: The company's turnover in May was 1 million yuan, an increase of 25% compared to April." Among them, the target question content and reply content can be emphasized by bolding and underlining, for example, the above content "What was the company's turnover in May" and "The company's turnover in May was 1 million yuan, an increase of 25% compared to April" are emphasized by bolding and underlining.

[0047] It can be seen that in the embodiment of the present application, the terminal device displays an intelligent dialogue interface, which includes a user information display area and a dialogue content display area. The user information display area displays the permission label of the target user, and the permission label is used to characterize the data permission range of the target user. The dialogue content display area is used to display the question content input by the target user and the reply content output by the intelligent dialogue system; then, in response to the question operation of the target user, the original question content is displayed in the dialogue content display area; then, a reply content output request carrying the original question content and the permission label is sent to the server to obtain a reply content output response, the reply content output response carries the target reply content, the target reply content includes the target question content and the first reply content, the target question content is obtained by the server updating the original question content according to the permission label, and the first reply content is used to characterize the reply result corresponding to the target question content; finally, the target reply content is displayed. In this way, the intelligent dialogue system is endowed with the ability to identify and separate user permissions, and the permission label is displayed on the front end of the terminal device, which is convenient for users to check and verify their data permission scope in real time, thereby improving data security and system intelligence. At the same time, after the user enters the original question content, the target reply content output and displayed by the terminal device is the target question content and the reply content to the target question content obtained after the intelligent dialogue system updates the original question content according to the user's permission label, so that the final output display result can be more in line with the user's actual question intention, thereby improving the accuracy of the reply.

[0048] In a possible example, before the display of the intelligent dialogue interface, the method also includes: detecting an account login operation, and obtaining target account information corresponding to the account login operation; sending an account login request carrying the target account information to the server, and obtaining a first account login response, the first account login response carrying the basic identity information of the target user, the basic identity information of the target user is obtained by the server according to the target account information query; sending a permission confirmation request carrying the basic identity information of the target user to the server, and obtaining a permission confirmation response, the permission confirmation response including a permission description, the permission description is obtained by the server querying a target graph database according to the user entity node corresponding to the basic identity information of the target user, the target graph database stores user entity nodes, role entity nodes, data entity nodes, a mapping relationship between the user entity node and the role entity node, a permission relationship between the user entity node and the data entity node, and a permission relationship between the role entity node and the data entity node; generating the permission label according to the permission description; generating the user information display area according to the permission label and the basic identity information; generating the intelligent dialogue interface according to the user information display area.

[0049] The account login operation may specifically be an operation in which a user inputs a login account and login password and clicks a login function control. The terminal device may obtain the login account and login password of the target user by responding to the account login operation, and send the login account and login password to the server for login detection. If the login account is a pre-authorized account and the login password is correct, the server issues a first account login response, indicating that the account is allowed to log in to the intelligent dialogue system and sends the basic identity information of the target user to the terminal device; if the login account is an account that has not been pre-authorized, or the login password is incorrect, the server issues a second account login response, indicating that the account is not allowed to log in to the intelligent dialogue system.

[0050] After obtaining the basic identity information of the target user, the terminal device needs to further determine the data permission scope of the target user in order to generate a permission label and display it visually. Specifically, the terminal device sends a permission confirmation request carrying the basic identity information of the target user to the server. After receiving the permission confirmation request, the server queries the target graph database according to the user entity node corresponding to the basic identity information of the target user, thereby querying and obtaining the role entity node, the first data entity node, and the second data entity node connected to the role entity node directly connected to the user entity node of the target user, and then determining the permission description based on the first data entity node and the second data entity node, that is, the data permission scope of the target user includes all data covered by the first data entity node and the second data entity node. After data interaction, the terminal device generates a permission label according to the permission description, and based on this, generates a user information display area and an intelligent dialogue interface in sequence, so that the user can see the permission description when performing a hover operation or a click operation on the permission label.

[0051] It can be seen that in this example, after detecting the account login operation, the terminal device obtains the target user's basic identity information and permission description in turn through data interaction with the server, and generates a permission label based on the permission description, and then generates a user information display area and an intelligent dialogue interface, giving the intelligent dialogue system the ability to identify and separate user permissions, while meeting the user's needs to check and verify their own data permission scope in real time, optimizing the user experience and improving the intelligence of the system.

[0052] In a possible example, generating the user information display area based on the permission tag and the basic identity information includes: if the basic identity information includes a first identity tag, generating a target user description based on the target user's name information, department information and rank information, the first identity tag being used to characterize the target user as a user in a set of enterprise personnel; if the basic identity information includes a second identity tag, generating the target user description based on the target user's name information, the second identity tag being used to characterize the target user as a user outside the set of enterprise personnel; generating the user information display area, the user information display area including a first display area and a second display area, the first display area being used to display the permission tag, the second display area being used to display the user tag, the user tag displaying the target user description.

[0053] Among them, the users corresponding to the pre-authorized accounts include internal personnel of the enterprise, and may also include specially authorized personnel outside the enterprise. The specially authorized personnel may be, for example, staff of the regulatory department. In some scenarios, the staff of the regulatory department needs to retrieve and review the relevant data of the enterprise. In order to cooperate with the work of the regulatory department, the enterprise will open some permissions to the staff of the regulatory department. Among them, in order to distinguish whether the user is an internal personnel of the enterprise, when performing account login authorization, identity tags are added to the basic identity information of the user corresponding to each account, wherein the first identity tag is used to indicate internal personnel of the enterprise, and the second identity tag is used to indicate specially authorized personnel outside the enterprise. In an embodiment of the present application, the basic identity information of internal personnel of the enterprise includes name information, department information, rank information and a first identity tag, and the specially authorized personnel outside the enterprise includes name information and a second identity tag.

[0054] Among them, the name information is used to determine the identity of the user and the user entity node that uniquely corresponds to the user, and the department information and the rank information are used to determine the role of the user in the enterprise, that is, one or more role entity nodes corresponding to the user. In the target graph database, the user entity node corresponding to the internal personnel of the enterprise is connected to one or more role entity nodes, representing one or more roles of the user in the enterprise, and each role entity node is connected to one or more data entity nodes, representing the data permission range of the role in the enterprise; wherein, the user entity node corresponding to some internal personnel of the enterprise who are specially authorized to access specific data will also be directly connected to one or more data entity nodes, representing the data permission range that the user is specially authorized to access. And, the user entity node corresponding to the specially authorized personnel outside the enterprise does not belong to the internal role of the enterprise, so it will not be connected to the role entity node, but will be connected to one or more data entity nodes, representing the data permission range that the user is exclusively authorized to access.

[0055] The target user description refers to the text content used to describe the basic identity information of the target user. In this example, the target user description is displayed on the user tag generated by the terminal device to display the identity information of the target user; and the permission tag is displayed in the first display area, and the user tag is displayed in the second display area. The first display area and the second display area together constitute the user information display area.

[0056] For example, Figure 6As shown, the user information display area 31 includes a first display area 312 and a second display area 313, wherein the first display area 312 is used to display the permission label 311, and the second display area 313 is used to display the user label 314. In this example, Xiao Ming is an internal employee of the enterprise, belongs to the information department, and has a rank of 8th-level employee. The target user description displayed on the user label 314 may specifically include two lines of text content, wherein the first line of text content is "Xiao Ming", which is used to characterize the name information of the target user, and the second line of text content is "8th-level employee of the information department", which is used to characterize the role information of the target user. In other examples, assuming that Xiao Bai is an external employee of the enterprise, the target user description displayed on the user label may also include two lines of text content, wherein the first line of text content is "Xiao Bai", which is used to characterize the name information of the target user, and the second line of text content is "non-enterprise internal employee", which is used to characterize the special identity of the target user. It can be understood that the above examples are only used to assist in explaining the embodiments of the present application and do not constitute any limitation.

[0057] It can be seen that in this example, the terminal device can determine whether the target user is an internal employee of the enterprise based on the different identity tags in the basic identity information, and generate a target user description and user tag accordingly, and generate a user information display area including a first display area displaying an authority tag and a second display area displaying a user tag, so that the user can check and verify his or her identity information and authority information in real time, thereby improving the refinement of the front-end display interface.

[0058] In a possible example, the basic identity information of the target user includes the first identity tag. Before displaying the original question content in the dialog content display area in response to the question operation of the target user, the method further includes: in response to the target user's click operation on the user tag, displaying a role modification preview window, the role modification preview window including a role modification description input box and a first submit report function control; in response to the target user's input operation on the role modification description input box and the click operation on the first submit report function control, obtaining the role modification description input by the target user; sending a role verification request carrying the role modification description to the server to obtain a role verification response, the role verification response including a first role verification result or a second role verification result, the first role verification result being used to characterize that there is no mapping relationship between the target user and the role corresponding to the role modification description, and the second role verification result being used to characterize that there is a mapping relationship between the target user and the role corresponding to the role modification description; if the role verification response includes the second role verification result, receiving a first update content from the server, the first update content including a user tag and a permission tag updated by the server according to the role modification description; and updating the user information display area according to the first update content.

[0059] Among them, before the intelligent dialogue system establishes the relationship between users, roles and data, it will first go through complex data cleaning and preprocessing. In actual operation, the relationship established between the three may be erroneous due to the coupling of various factors. For example, the mapping relationship between users and roles is wrong, which will also lead to the wrong identification of the scope of authority, making the final output display result problematic. Therefore, in the embodiment of the present application, when the basic identity information of the target user includes a first identity tag, the user tag is set as a clickable function tag. When the user finds that the user information displayed on the intelligent dialogue interface is wrong, he can make a modification request by clicking the user tag.

[0060] For example, Figure 7As shown, the target user performs a click operation on the user tag 314, and the terminal device displays a role modification preview window 34 in response to the click operation. The role modification preview window 34 includes a role modification description input box 341 and a first submit report function control 342, and the first submit report function control 342 displays the words "Submit Report". When the target user performs an input operation on the role modification description input box 341 and a click operation on the first submit report function control 342, the terminal device obtains the role modification description input by the target user in the role modification description input box 341 in response to the input operation and the click operation, and sends a role verification request carrying the role modification description to the server. The role modification description can specifically be the department information or rank information entered by the target user. The server searches the enterprise database according to the role modification description. If the role information corresponding to the target user is found to include the role corresponding to the role modification description, a role verification response including the first role verification result is output, indicating that the role modification description of the target user is not supported by data. At the same time, the report record is synchronized to the system administrator terminal. If the system administrator finds that the stored data in the enterprise database is wrong after review, the system administrator can correct it through the system administrator terminal and synchronize the information to the server. If the role information corresponding to the target user is found to include the role corresponding to the role modification description, a role verification response including the second role verification result is output, indicating that the role modification description of the target user is supported by data. At the same time, the connection relationship of the physical nodes in the target graph database is corrected and updated, and then the basic identity information and data authority range of the target user are updated, and the first update content is obtained and sent to the terminal device. The terminal device updates the user label and authority label in the user information display area according to the first update content.

[0061] It can be seen that in this example, when the target user's basic identity information includes the first identity tag, the user tag generated by the terminal device is a clickable functional tag. When the target user clicks on the user tag, the terminal device can respond to the click operation, display the role modification preview window, and obtain the role modification description entered by the target user in response to further user operations, and obtain the role verification response through data interaction with the server, thereby completing the role information modification and verification process initiated by the user side, and improving the flexibility of the system.

[0062] In a possible example, the permission data preview window also includes a first modification reporting function control, and before the original question content is displayed in the dialogue content display area in response to the question operation of the target user, the method also includes: in response to the target user's click operation on the first modification reporting function control, displaying a permission modification preview window, the permission modification preview window including a permission modification description input box and a second submission reporting function control; in response to the target user's input operation on the permission modification description input box and the click operation on the second submission reporting function control, obtaining the permission modification description input by the target user; sending a permission verification request carrying the permission modification description to the server to obtain a permission verification response, the permission verification response including a first permission verification result or a second permission verification result, the first permission verification result being used to indicate that the permission modification description is not supported by the system administrator of the intelligent dialogue system, and the second permission verification result being used to indicate that the permission modification description is supported by the system administrator; if the permission verification response includes the second permission verification result, receiving second update content from the server, the second update content including a permission tag updated by the server according to the permission modification description; and updating the user information display area according to the second update content.

[0063] Among them, in the process of establishing the permission relationship between the user and the data, the intelligent dialogue system may cause omissions in the established relationship due to the coupling of various factors, resulting in the wrong identification of the permission scope, which makes the permission description finally output and displayed have problems. Based on this, in the embodiment of the present application, the permission data preview window displayed by the user through the hover operation or click operation on the permission label also includes a first modification and reporting function control. After the user checks the data permission scope displayed in the permission data preview window, if the user believes that there is an error in the permission scope, he can click the first modification and reporting function control to initiate the modification and verification process of the permission information.

[0064] For example, Figure 8 As shown, the permission data preview window 33 also includes a first modification reporting function control 332, and the first modification reporting function control 332 displays the words "modify report". After the target user clicks on the first modification reporting function control 332, as shown in FIG. Fig. 9As shown, in response to the click operation, the terminal device displays a permission modification preview window 35, the permission modification preview window 35 includes a permission modification description input box 351 and a second submit report function control 352, and the second submit report function control 352 displays the word "submit report". After the target user performs an input operation on the permission modification description input box 351 and a click operation on the second submit report function control 352, the terminal device responds to the input operation and the click operation, obtains the permission modification description entered by the target user in the permission modification description input box 351, and sends a permission verification request carrying the permission modification description to the server, and the permission modification description can specifically be the special authorization data entered by the target user. Since the establishment of the permission relationship between the special authorization data and the user depends on the corresponding relationship stored in the enterprise database, when the user initiates the permission information modification and verification process, even if the database is searched again, the result is the same. The reason for the error may be that when there is a new special authorization within the enterprise, the system administrator fails to update the enterprise database in time, resulting in the inability to establish a new special permission relationship. Based on this, in this example, after receiving the permission verification request, the server sends the permission modification description to the system administrator side terminal, and the system administrator verifies and feedbacks the verification results, and generates a corresponding permission verification response based on the verification results fed back by the system administrator. When the system administrator finds that the permission relationship corresponding to the permission modification description is true, the server will modify and update the target graph database based on the permission modification description, and then update the data permission range of the target user, obtain the second update content and send it to the terminal device, and the terminal device updates the permission label in the user information display area according to the second update content.

[0065] Furthermore, when the target user's basic identity information includes a first identity tag, that is, the target user is an internal employee of the enterprise, the data permission range of the target user displayed in the permission data display area includes a role permission range and a special permission range, wherein the role permission range is used to characterize the data permission range owned by the role of the target user in the enterprise, and the special permission range is used to characterize the data permission range that the target user is specially authorized to access. It is understandable that when the target user consults his own data permission range through the permission data display area, he may make a modification request due to an error in the role permission range, or he may make a modification request due to an error in the special permission range, and an error in the role permission range is essentially an error in the basic identity information of the target user. Based on this, in this example, the permission data preview window also includes a second modification reporting function control, and the terminal device can display the role modification preview window in response to the target user's click operation on the second modification reporting function control.

[0066] For example, Fig.10 As shown, the permission data preview window 33 includes a permission data display area 331, a first modification report function control 332 and a second modification report function control 333, and the second modification report function control 333 is displayed with the words "Modify and report". Among them, the permission data display area 331 includes a role permission range display area 3311 and a special permission range display area 3312, and the role permission range display area 3311 displays the text content "Role permission: Information Department Level 8 and below data", which is used to describe the role permission range of the target user, and the special permission range display area 3312 displays the text content "Special permission: Information Department's second quarter performance data", which is used to describe the special permission range of the target user. Among them, the first modification report function control 332 is set correspondingly to the special permission range display area 3312, and the second modification report function control 333 is set correspondingly to the role permission range display area 3311. When the target user performs a click operation on the second modification reporting function control 333, the terminal device displays the role modification preview window 34 in response to the click operation, triggering the role information modification and verification process.

[0067] It can be seen that in this example, the permission data preview window displayed by the terminal device also includes a first modification reporting function control. When the target user clicks on the function control, the terminal device can respond to the click operation, display the permission modification preview window, and obtain the permission modification description entered by the target user in response to further user operations, and obtain the permission verification response through data interaction with the server, thereby completing the modification and verification process of the permission information initiated by the user side and improving the flexibility of the system.

[0068] In one possible example, the first reply content is a first prompt message, and the first prompt message is used to prompt the target user that he has no right to access the data corresponding to the target question content. After displaying the target reply content, the method further includes: in response to the abnormal question operation of the target user, sending a permission self-check request to the server to obtain a permission self-check response, and the permission self-check response includes a first permission self-check result or a second permission self-check result, and the first permission self-check result is used to characterize that there is no error in the user tag and the permission tag of the target user, and the second permission self-check result is used to characterize that there is an error in the user tag and / or permission tag of the target user; if the permission self-check response includes the first permission self-check result, displaying a second prompt message, and the second prompt message is used to prompt the target user to check the user tag and the permission tag by himself; if the permission self-check response includes the second permission self-check result, receiving a third update content from the server, and the third update content includes the updated target reply content and the updated user tag and / or permission tag; updating the user information display area and the dialogue content display area according to the third update content.

[0069] Among them, the abnormal questioning operation refers to the frequent questioning behavior of the target user for the same unauthorized question content, such as the number of questions asked for the original question content within a preset time exceeds the preset number. In actual applications, the user may not pay attention to whether the information on the user tag or permission tag is correct before asking a question, and directly engage in a conversation. When the content of the user's question is identified, analyzed and searched by the intelligent dialogue system, and it is confirmed that the result corresponding to the question content does not fall within its data authority, the first reply content output and displayed is the first prompt information, which is used to prompt the target user that he has no right to access the data corresponding to the target question content. If the user continues to ask questions frequently about the issue thereafter, it may indicate that the user's data authority scope has been incorrectly determined.

[0070] Based on this, in this example, when the terminal device detects an abnormal questioning operation by the target user, it sends a permission self-check request to the server to recheck the data permission scope of the target user. When it is confirmed after self-check that there are no errors in the user tag and permission tag of the target user, a second prompt message is displayed to prompt the user to check the user tag and permission tag by himself, so that the permission can be further checked according to the information description provided by the user himself. When it is determined after self-check that there are indeed errors in the user tag and / or permission tag of the target user, the erroneous user tag and / or permission tag are corrected and updated, and the target reply content is regenerated to obtain the third updated content and send it to the terminal device. After receiving the third updated content, the terminal device updates the user information display area and the conversation content display area, specifically updates the user tag and / or permission tag, and outputs the updated target reply content.

[0071] It can be seen that in this example, when the target user's question content exceeds his or her access rights, the first reply content output and displayed by the terminal device is the first prompt information, to prompt the target user that he or she has no right to access the corresponding data. When the target user performs an abnormal questioning operation, the terminal device can respond to the abnormal questioning operation and send a permission self-check request to the server to re-check the data permission scope of the target user, thereby completing the permission information verification process initiated by the system side based on automatic detection, thereby improving the intelligence and flexibility of the system.

[0072] In one possible example, after displaying the target reply content, the method further includes: displaying a first feedback function control and a second feedback function control, the first feedback function control being used to represent that the target user confirms that the target question content is consistent with the target user's actual questioning intention, and the second feedback function control being used to represent that the target user confirms that the target question content does not conform to the target user's actual question content; in response to the target user's click operation on the second feedback function control, displaying a third prompt information, the third prompt information being used to prompt the target user to re-enter the question content.

[0073] Among them, due to the influence of various factors such as training samples and training parameters, the result of the intelligent dialogue system updating the original question content based on the original question content and permission tags may also have errors. For example, the original question content entered by the user may have two question intentions within the permission range, and the attention weights of these two possibilities are not much different, which may eventually lead to errors in the updated target question content. Based on this, in this example, if Fig.11As shown, the terminal device displays a second dialogue bubble 324 containing the target answer content in the dialogue content display area 32, and displays a first feedback function control 325 and a second feedback function control 326 below the second dialogue bubble 324. The first feedback function control 325 displays "The question is understood correctly", and the second feedback function control 326 displays "The question is understood incorrectly". When the user clicks the first feedback function control 325, it is confirmed that there is no problem with the target answer content; when the user clicks the second feedback function control 326, it is confirmed that there is a problem with the target answer content, and a third dialogue bubble 327 is output. The third dialogue bubble 327 displays a third prompt information, and the third prompt information is used to prompt the target user to re-enter the question content, for example, "Please re-enter the question content". After the target user re-enters the question content, the attention weights of the above two possibilities are adjusted, the question content input by the target user is re-processed, and the target answer content is output.

[0074] It can be seen that in this example, after the terminal device displays the target reply content in the conversation content display area, it will also display the first feedback function control and the second feedback function control to obtain the target user's feedback on the target reply content, and then adjust and optimize the relevant parameters of the underlying conversation model in real time to improve the accuracy of the reply.

[0075] In accordance with the above-mentioned embodiment, please refer to Fig.12 , Fig.12 is a functional unit block diagram of a conversation content display device based on user rights separation provided by an embodiment of the present application, such as Fig.12As shown, the dialogue content display device 120 based on user rights separation includes: a first display unit 1201, used to display an intelligent dialogue interface, the intelligent dialogue interface includes a user information display area and a dialogue content display area, the user information display area displays a target user's authority label, the authority label is used to indicate a permission data preview window, the permission data preview window includes a permission data display area, the permission data display area is used to display the data authority range of the target user, and the dialogue content display area is used to display the question content input by the target user and the answer content output by the intelligent dialogue system; a second display unit 1202, used In response to the question operation of the target user, the original question content is displayed in the conversation content display area; a sending unit 1203 is used to send a reply content output request carrying the original question content and the permission tag to the server, and obtain a reply content output response, wherein the reply content output response carries the target reply content, and the target reply content includes the target question content and the first reply content. The target question content is obtained by the server updating the original question content according to the permission tag, and the first reply content is used to represent the reply result corresponding to the target question content; a third display unit 1204 is used to display the target reply content.

[0076] In a possible example, before displaying the intelligent dialogue interface, the dialogue content display device 120 based on user rights separation is further used to: detect an account login operation, and obtain target account information corresponding to the account login operation; send an account login request carrying the target account information to the server to obtain a first account login response, the first account login response carrying the basic identity information of the target user, the basic identity information of the target user is obtained by the server according to the target account information query; send a permission confirmation request carrying the basic identity information of the target user to the server, and obtain a permission confirmation response, the permission confirmation response includes a permission description, the permission description is obtained by the server querying a target graph database according to the user entity node corresponding to the basic identity information of the target user, the target graph database stores user entity nodes, role entity nodes, data entity nodes, a mapping relationship between the user entity node and the role entity node, a permission relationship between the user entity node and the data entity node, and a permission relationship between the role entity node and the data entity node; generate the permission label according to the permission description; generate the user information display area according to the permission label and the basic identity information; generate the intelligent dialogue interface according to the user information display area.

[0077] In one possible example, in terms of generating the user information display area according to the permission tag and the basic identity information, the conversation content display device 120 based on user permission separation is specifically used for: if the basic identity information includes a first identity tag, generating a target user description according to the name information, department information and rank information of the target user, and the first identity tag is used to characterize that the target user is a user in the enterprise personnel set; if the basic identity information includes a second identity tag, generating the target user description according to the name information of the target user, and the second identity tag is used to characterize that the target user is a user outside the enterprise personnel set; generating the user information display area, the user information display area includes a first display area and a second display area, the first display area is used to display the permission tag, and the second display area is used to display the user tag, and the user tag displays the target user description.

[0078] In a possible example, the basic identity information of the target user includes the first identity tag. Before displaying the original question content in the dialog content display area in response to the question operation of the target user, the dialog content display device 120 based on user rights separation is further used to: in response to the target user's click operation on the user tag, display a role modification preview window, the role modification preview window including a role modification description input box and a first submission and reporting function control; in response to the target user's input operation on the role modification description input box and the click operation on the first submission and reporting function control, obtain the role modification description input by the target user; send a message carrying the target user to the server; A role verification request with the role modification description obtains a role verification response, wherein the role verification response includes a first role verification result or a second role verification result, wherein the first role verification result is used to characterize that there is no mapping relationship between the target user and the role corresponding to the role modification description, and the second role verification result is used to characterize that there is a mapping relationship between the target user and the role corresponding to the role modification description; if the role verification response includes the second role verification result, a first update content is received from the server, wherein the first update content includes a user tag and an authority tag updated by the server according to the role modification description; and the user information display area is updated according to the first update content.

[0079] In one possible example, the permission data preview window also includes a first modification reporting function control. In response to the question operation of the target user, before displaying the original question content in the dialog content display area, the dialog content display device 120 based on user permission separation is also used to: in response to the target user's click operation on the first modification reporting function control, display a permission modification preview window, the permission modification preview window including a permission modification description input box and a second submission reporting function control; in response to the target user's input operation on the permission modification description input box and the click operation on the second submission reporting function control, obtain the permission modification input by the target user. description; sending a permission verification request carrying the permission modification description to the server, and obtaining a permission verification response, wherein the permission verification response includes a first permission verification result or a second permission verification result, wherein the first permission verification result is used to characterize that the permission modification description is not supported by the system administrator of the intelligent dialogue system, and the second permission verification result is used to characterize that the permission modification description is supported by the system administrator; if the permission verification response includes the second permission verification result, receiving a second update content from the server, wherein the second update content includes a permission label updated by the server according to the permission modification description; and updating the user information display area according to the second update content.

[0080] In one possible example, the first reply content is a first prompt message, and the first prompt message is used to prompt the target user that he has no right to access the data corresponding to the target question content. After displaying the target reply content, the conversation content display device 120 based on user rights separation is also used to: in response to the abnormal question operation of the target user, send a permission self-check request to the server to obtain a permission self-check response, and the permission self-check response includes a first permission self-check result or a second permission self-check result. The first permission self-check result is used to indicate that there is no error in the user tag and the permission tag of the target user, and the second permission self-check result is used to indicate that there is an error in the user tag and / or the permission tag of the target user; if the permission self-check response includes the first permission self-check result, display a second prompt message, and the second prompt message is used to prompt the target user to check the user tag and the permission tag by himself; if the permission self-check response includes the second permission self-check result, receive a third update content from the server, and the third update content includes the updated target reply content and the updated user tag and / or permission tag; update the user information display area and the conversation content display area according to the third update content.

[0081] In one possible example, after displaying the target reply content, the conversation content display device 120 based on user authority separation is further used to: display a first feedback function control and a second feedback function control, the first feedback function control is used to represent that the target user confirms that the target question content is consistent with the target user's actual question intention, and the second feedback function control is used to represent that the target user confirms that the target question content does not conform to the target user's actual question content; in response to the target user's click operation on the second feedback function control, display a third prompt information, and the third prompt information is used to prompt the target user to re-enter the question content.

[0082] In the case of integrated units, such as Fig.13 As shown, Fig.13 This is a functional unit block diagram of another device for displaying conversation content based on user rights separation provided by an embodiment of the present application. Fig.13 In the embodiment, the conversation content display device 120 based on user rights separation includes a communication module 121 and a processing module 122. The processing module 122 is used to control and manage the actions of the device, for example, to execute the steps of the first display unit 1201, the second display unit 1202, the sending unit 1203 and the third display unit 1204, and / or to execute other processes of the technology described herein. The communication module 121 is used to support the interaction between the device and other devices. Fig.13 As shown, the conversation content display device 120 based on user rights separation may further include a storage module 123, and the storage module 123 is used to store program codes and data of the device.

[0083] Among them, the processing module 122 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 121 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 123 can be a memory.

[0084] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above-mentioned conversation content display device based on user authority separation can execute the above-mentioned Figure 2The method for displaying conversation content based on user rights separation is shown.

[0085] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0086] See also Fig.14 , Fig.14 is a structural block diagram of an electronic device provided in an embodiment of the present application. Fig.14 As shown, the electronic device may include one or more of the following components: a processor 1401, a memory 1402 coupled to the processor 1401, wherein the memory 1402 may store one or more computer programs, and the one or more computer programs may be configured to implement the method described in the above embodiment when executed by one or more processors 1401. The electronic device may specifically refer to the terminal device 12 in the above embodiment.

[0087] The processor 1401 may include one or more processing cores. The processor 1401 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 1402, and calling data stored in the memory 1402.

[0088] The memory 1402 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1402 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device during use, etc.

[0089] It can be understood that the electronic device may include more or fewer structural elements than those in the above structural block diagram, which is not limited here.

[0090] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method recorded in the above method embodiments are implemented.

[0091] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any method recorded in the above method embodiments.

[0092] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0093] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0096] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.

Claims

1. A method for displaying conversation content based on user authority separation, characterized in that: A terminal device applied to an intelligent dialogue system, wherein the intelligent dialogue system includes the terminal device and a server, and the method includes: Displaying an intelligent dialogue interface, the intelligent dialogue interface comprising a user information display area and a dialogue content display area, the user information display area displays a target user's authority label, the authority label is used to indicate an authority data preview window, the authority data preview window comprises an authority data display area, the authority data display area is used to display the data authority range of the target user, and the dialogue content display area is used to display the question content input by the target user and the answer content output by the intelligent dialogue system; In response to the question operation of the target user, displaying the original question content in the conversation content display area; Sending a reply content output request carrying the original question content and the permission tag to the server, obtaining a reply content output response, wherein the reply content output response carries a target reply content, wherein the target reply content includes a target question content and a first reply content, wherein the target question content is obtained by the server updating the original question content according to the permission tag, and the first reply content is used to represent a reply result corresponding to the target question content; Displaying the target reply content; Wherein, before the display of the intelligent dialogue interface, the method further includes: detecting an account login operation, obtaining target account information corresponding to the account login operation; sending an account login request carrying the target account information to the server, obtaining a first account login response, the first account login response carrying the basic identity information of the target user, the basic identity information of the target user is obtained by the server according to the target account information query; sending a permission confirmation request carrying the basic identity information of the target user to the server, obtaining a permission confirmation response, the permission confirmation response including a permission description, the permission description is obtained by the server querying a target graph database according to the user entity node corresponding to the basic identity information of the target user, the target graph database stores user entity nodes, role entity nodes, data entity nodes, a mapping relationship between the user entity node and the role entity node, a permission relationship between the user entity node and the data entity node, and a permission relationship between the role entity node and the data entity node; generating the permission label according to the permission description; generating the user information display area according to the permission label and the basic identity information; generating the intelligent dialogue interface according to the user information display area; Among them, the generating the user information display area according to the permission tag and the basic identity information includes: if the basic identity information includes a first identity tag, generating a target user description according to the name information, department information and rank information of the target user, the first identity tag being used to characterize that the target user is a user in the enterprise personnel set; if the basic identity information includes a second identity tag, generating the target user description according to the name information of the target user, the second identity tag being used to characterize that the target user is a user outside the enterprise personnel set; generating the user information display area, the user information display area including a first display area and a second display area, the first display area being used to display the permission tag, the second display area being used to display the user tag, the user tag displaying the target user description.

2. The method according to claim 1, characterized in that: The basic identity information of the target user includes the first identity tag. Before displaying the original question content in the dialog content display area in response to the question operation of the target user, the method further includes: In response to a click operation of the target user on the user tag, displaying a role modification preview window, the role modification preview window including a role modification description input box and a first submission reporting function control; In response to an input operation of the target user on the role modification description input box and a click operation on the first submit report function control, acquiring a role modification description input by the target user; Sending a role verification request carrying the role modification description to the server, obtaining a role verification response, wherein the role verification response includes a first role verification result or a second role verification result, wherein the first role verification result is used to characterize that there is no mapping relationship between the target user and the role corresponding to the role modification description, and the second role verification result is used to characterize that there is a mapping relationship between the target user and the role corresponding to the role modification description; If the role check response includes the second role check result, receiving first update content from the server, the first update content including a user tag and an authority tag updated by the server according to the role modification description; The user information display area is updated according to the first update content.

3. The method according to claim 2, characterized in that The permission data preview window further includes a first modification reporting function control. Before displaying the original question content in the dialog content display area in response to the question operation of the target user, the method further includes: In response to a click operation of the target user on the first modification reporting function control, displaying a permission modification preview window, the permission modification preview window including a permission modification description input box and a second submission reporting function control; In response to an input operation of the target user on the permission modification description input box and a click operation on the second submit report function control, acquiring the permission modification description input by the target user; sending a permission check request carrying the permission modification description to the server, and obtaining a permission check response, wherein the permission check response includes a first permission check result or a second permission check result, wherein the first permission check result is used to indicate that the permission modification description is not supported by the system administrator of the intelligent dialogue system, and the second permission check result is used to indicate that the permission modification description is supported by the system administrator; If the permission check response includes the second permission check result, receiving second update content from the server, the second update content including a permission tag updated by the server according to the permission modification description; The user information display area is updated according to the second update content.

4. The method according to any one of claims 1 to 3, characterized in that: The first reply content is a first prompt information, and the first prompt information is used to prompt the target user that he has no right to access the data corresponding to the target question content. After displaying the target reply content, the method further includes: In response to the abnormal question operation of the target user, a permission self-check request is sent to the server to obtain a permission self-check response, wherein the permission self-check response includes a first permission self-check result or a second permission self-check result, wherein the first permission self-check result is used to indicate that there is no error in the user tag and the permission tag of the target user, and the second permission self-check result is used to indicate that there is an error in the user tag and / or the permission tag of the target user; If the permission self-check response includes the first permission self-check result, displaying second prompt information, wherein the second prompt information is used to prompt the target user to check the user tag and the permission tag by himself; If the permission self-check response includes the second permission self-check result, receiving third update content from the server, the third update content including updated target reply content and updated user tag and / or permission tag; The user information display area and the conversation content display area are updated according to the third update content.

5. The method according to claim 1, characterized in that After displaying the target reply content, the method further includes: Displaying a first feedback function control and a second feedback function control, wherein the first feedback function control is used to indicate that the target user confirms that the target question content meets the target user's actual questioning intention, and the second feedback function control is used to indicate that the target user confirms that the target question content does not meet the target user's actual questioning content; In response to a click operation of the target user on the second feedback function control, third prompt information is displayed, where the third prompt information is used to prompt the target user to re-enter question content.

6. A conversation content display device based on user authority separation, characterized in that: A terminal device applied to an intelligent dialogue system, wherein the intelligent dialogue system includes the terminal device and a server, and the apparatus includes: A first display unit is used to display an intelligent dialogue interface, wherein the intelligent dialogue interface includes a user information display area and a dialogue content display area, wherein the user information display area displays a target user's authority label, wherein the authority label is used to indicate an authority data preview window, wherein the authority data preview window includes an authority data display area, wherein the authority data display area is used to display the data authority scope of the target user, and the dialogue content display area is used to display the question content input by the target user and the answer content output by the intelligent dialogue system; A second display unit, configured to display the original question content in the dialogue content display area in response to the question operation of the target user; A sending unit is used to send a reply content output request carrying the original question content and the permission tag to the server, and obtain a reply content output response, wherein the reply content output response carries a target reply content, wherein the target reply content includes a target question content and a first reply content, wherein the target question content is obtained by the server updating the original question content according to the permission tag, and the first reply content is used to represent a reply result corresponding to the target question content; A third display unit, used to display the target reply content; Wherein, before the display of the intelligent dialogue interface, the device is also used for: detecting an account login operation, obtaining target account information corresponding to the account login operation; sending an account login request carrying the target account information to the server, obtaining a first account login response, the first account login response carrying the basic identity information of the target user, the basic identity information of the target user is obtained by the server according to the target account information query; sending a permission confirmation request carrying the basic identity information of the target user to the server, obtaining a permission confirmation response, the permission confirmation response including a permission description, the permission description is obtained by the server querying a target graph database according to the user entity node corresponding to the basic identity information of the target user, the target graph database stores user entity nodes, role entity nodes, data entity nodes, a mapping relationship between the user entity node and the role entity node, a permission relationship between the user entity node and the data entity node, and a permission relationship between the role entity node and the data entity node; generating the permission label according to the permission description; generating the user information display area according to the permission label and the basic identity information; generating the intelligent dialogue interface according to the user information display area; Among them, the generating the user information display area according to the permission tag and the basic identity information includes: if the basic identity information includes a first identity tag, generating a target user description according to the name information, department information and rank information of the target user, the first identity tag being used to characterize that the target user is a user in the enterprise personnel set; if the basic identity information includes a second identity tag, generating the target user description according to the name information of the target user, the second identity tag being used to characterize that the target user is a user outside the enterprise personnel set; generating the user information display area, the user information display area including a first display area and a second display area, the first display area being used to display the permission tag, the second display area being used to display the user tag, the user tag displaying the target user description.

7. An electronic device, characterized in that: The method comprises a processor, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Right control method and device

    CN105227560A

  • Information search method and device, electronic equipment and storage medium

    CN118981547A