Conversation interface display method, electronic equipment and computer readable storage medium

By displaying the display trigger logo on the AI ​​dialogue interface and allowing users to selectively display history, the problems of interface complexity and privacy leakage are solved, and the users need to quickly access history is achieved, meeting the diverse use of dialogue interface content.

CN119202426APending Publication Date: 2024-12-27WANGYIYOUDAO INFORMATION TECH BEIJING CO LTD

Patent Information

Application Number
CN202411245445.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

When existing AI dialogue applications display historical dialogue records, the interface is too complicated and the risk of privacy leakage is high, or the operation is cumbersome, so they cannot support users' need to quickly view history records.

Method used

By displaying the display trigger logo on the dialogue interface, the user is prompted to see if there is a historical dialogue record, and the user is allowed to selectively display the historical dialogue record through preset operations, and collect the history record to reserve more space for the original content.

Benefits of technology

It enables users to quickly and conveniently access historical dialogue records, while reducing the risk of interface complexity and privacy leakage, and meeting users' needs for different content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119202426A_ABST
    Figure CN119202426A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a dialogue interface display method, electronic equipment and a computer readable storage medium. The display method comprises the following steps: in response to an obtained trigger operation for displaying a dialogue interface, displaying a display trigger identifier on the dialogue interface while displaying original contents in the dialogue interface; detecting whether a preset operation is obtained or not; and in response to the acquired preset operation, displaying the historical dialogue record on the dialogue interface. Through the scheme of the invention, the original content and the display trigger identifier can be displayed on the dialogue interface, so that a user can timely know whether the historical dialogue record exists or not through the display trigger identifier, and when the user has a use demand on the historical dialogue record, the historical dialogue record can be quickly displayed on the dialogue interface through the preset operation, so that the user experience is improved. Therefore, the use requirements of the user on different contents involved in the dialogue interface can be met to the greatest extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and more specifically, to a method for displaying a dialogue interface, and an electronic device and a computer-readable storage medium for executing the aforementioned display method. Background Art

[0002] This section is intended to provide background or context for the embodiments of the present disclosure set forth in the claims. The descriptions herein may include concepts that may be explored, but not necessarily concepts that have been previously thought of or explored. Therefore, unless otherwise noted herein, the content described in this section is not prior art with respect to the specification and claims of the present disclosure, and is not admitted to be prior art by inclusion in this section.

[0003] With the rapid development of artificial intelligence (AI) technology, AI dialogue applications have also been widely used. They can automatically interact with users and provide corresponding answers to user questions. However, there are some problems in the display of historical dialogue records in the AI ​​dialogue applications currently on the market. Specifically, some AI dialogue applications will directly present historical dialogues on the dialogue interface during use, making the entire dialogue page too cumbersome, inconvenient for users to use and browse, and also prone to privacy leakage. In addition, there are some AI dialogue applications that do not directly display historical records. Users need to be familiar with the functions of the AI ​​dialogue application and go through a series of tedious operations to find historical records. Although it can reduce the probability of privacy leakage, it cannot support the user's need to quickly view historical records. Summary of the invention

[0004] The display effect of conversation history in known AI conversation applications is not ideal, which is a very annoying process.

[0005] Therefore, there is a great need for an improved display solution for the dialogue interface, which can meet the user's usage requirements for different contents involved in the dialogue interface to the greatest extent.

[0006] In this context, embodiments of the present disclosure are intended to provide a method for displaying a dialog interface, an electronic device, and a computer-readable storage medium.

[0007] In a first aspect of an embodiment of the present disclosure, a method for displaying a conversation interface is proposed, comprising: in response to obtaining a trigger operation for displaying a conversation interface, displaying a display trigger identifier on the conversation interface while displaying the original content in the conversation interface, wherein the display trigger identifier is used to identify whether there is a historical conversation record about the conversation interface; detecting whether a preset operation is obtained; and in response to obtaining the preset operation, displaying the historical conversation record on the conversation interface.

[0008] In a second aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; and a memory storing computer instructions for displaying a dialogue interface, wherein when the computer instructions are executed by the processor, the electronic device executes the display method described in the foregoing and following embodiments.

[0009] In a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, comprising program instructions for displaying a dialog interface, and when the program instructions are executed by a processor, the display method described in the foregoing and following embodiments is implemented.

[0010] According to the display method, electronic device and computer-readable storage medium of the dialogue interface of the embodiment of the present disclosure, the original content and the display trigger mark can be displayed on the dialogue interface, and the user is prompted whether there is a historical dialogue record about the dialogue interface based on the display trigger mark, thereby facilitating the selective display of the historical dialogue record through the preset operation. It can be seen that the scheme of the present disclosure will put away the historical dialogue record in the process of displaying the dialogue interface instead of directly displaying it, thereby reserving more space for the original content, meeting the user's needs for quick browsing and use of the original content. At the same time, by intuitively displaying the display trigger mark on the dialogue interface, the user can promptly know whether there is a historical dialogue record through the display trigger mark. When the user has a need to use the historical dialogue record, the historical dialogue record can be quickly displayed on the dialogue interface through the preset operation, so that the user can easily and efficiently find the required historical dialogue record, thereby being able to meet the user's use needs for different contents involved in the dialogue interface to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0012] Figure 1 Schematically shows a block diagram of an exemplary computing system 100 suitable for implementing the embodiments of the present disclosure;

[0013] Figure 2 The following is a schematic diagram showing a flow chart of a method for displaying a dialogue interface according to an embodiment of the present disclosure;

[0014] Figure 3 A schematic diagram schematically shows a flow chart of a method for displaying a dialogue interface according to another embodiment of the present disclosure;

[0015] Figure 4 The following is a schematic diagram showing a flow chart of a method for displaying a dialogue interface according to another embodiment of the present disclosure;

[0016] Figure 5A to Figure 5C A schematic diagram schematically shows the display process of the dialogue interface;

[0017] Figure 6 The schematic diagram schematically shows the structure of an electronic device according to an embodiment of the present disclosure.

[0018] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0019] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0020] Figure 1 1 is a block diagram of an exemplary computing system 100 suitable for implementing embodiments of the present disclosure. Figure 1 As shown, the computing system 100 may include: a central processing unit (CPU) 101, a random access memory (RAM) 102, a read-only memory (ROM) 103, a system bus 104, a hard disk controller 105, a keyboard controller 106, a serial interface controller 107, a parallel interface controller 108, a display controller 109, a hard disk 110, a keyboard 111, a serial external device 112, a parallel external device 113, and a display 114. Among these devices, the CPU 101, the RAM 102, the ROM 103, the hard disk controller 105, the keyboard controller 106, the serial controller 107, the parallel controller 108, and the display controller 109 are coupled to the system bus 104. The hard disk 110 is coupled to the hard disk controller 105, the keyboard 111 is coupled to the keyboard controller 106, the serial external device 112 is coupled to the serial interface controller 107, the parallel external device 113 is coupled to the parallel interface controller 108, and the display 114 is coupled to the display controller 109. It should be understood that Figure 1The structural block diagram is only for the purpose of illustration, and is not intended to limit the scope of the present disclosure. In some cases, some devices may be added or reduced according to specific circumstances.

[0021] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," "unit," or "system." In addition, in some embodiments, the present disclosure may also be implemented in the form of a computer program product in one or more computer-readable media, which contains computer-readable program code.

[0022] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive examples) of computer-readable storage media may include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.

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

[0024] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0025] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0026] The following will describe the embodiments of the present disclosure with reference to the flowchart of the method of the present disclosure embodiment and the block diagram of the device (or system). It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, thereby producing a machine, and these computer program instructions are executed by a computer or other programmable data processing device to produce a device that implements the function / operation specified in the box in the flowchart and / or block diagram.

[0027] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0028] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable device to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0029] According to the embodiments of the present disclosure, a method for displaying a dialog interface, an electronic device, and a computer-readable storage medium are provided. In addition, any number of elements in the drawings is for illustration and not for limitation, and any naming is only for distinction and does not have any limiting meaning.

[0030] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION

[0031] The inventors have discovered that the display effect of the dialogue interface of current AI dialogue applications is not ideal. Specifically, some AI dialogue applications will directly present historical conversations on the dialogue interface during use. For example, when a user uses the AI ​​dialogue application, the most recent conversation content is displayed as soon as the conversation list is entered, and more historical conversations can be loaded after scrolling up. In actual applications, the main goal of most users using this type of product is to send questions and get answers quickly, and the secondary goal is to browse the content of historical records. If the historical records are displayed as soon as the user enters the application, the information on the page will be too redundant, and the new recommended content and the old conversation content will be mixed together, which is inconvenient for users to use and browse. In addition, each time a user enters the application, he will directly see the content of the last conversation, which may cause privacy leakage problems and is not conducive to users sharing content with others.

[0032] Of course, there are also some AI conversation applications that do not directly display historical records. Users need to be familiar with the functions of the AI ​​conversation application and go through a series of tedious operations to find historical records. For example, every time you enter the application, recommended content is displayed, and all historical conversations are hidden in the sidebar. You need to click on the avatar to expand the sidebar, and then click on the historical conversation before you can see the content of the historical conversation. For users who want to quickly view historical conversations, this operation is too cumbersome and inefficient.

[0033] Based on this, the inventor has found through research that the conversation interface displays only the original content by default, and hides the history records to reserve more space for the original content. Then, by displaying a display trigger mark on the conversation interface to prompt the user whether there is a historical conversation record, the user can conveniently control the display of the historical conversation record on the conversation interface through preset operations according to the needs, thereby taking into account the user's need for quick access to the historical conversation record.

[0034] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below. Exemplary Methods

[0035] Reference below Figure 2 The method for displaying a dialog interface according to an exemplary embodiment of the present disclosure is described below. It should be noted that the embodiments of the present disclosure can be applied to any applicable scenario.

[0036] Figure 2 The flowchart of a method 200 for displaying a dialogue interface according to an embodiment of the present disclosure is schematically shown.

[0037] like Figure 2As shown, at step S201, in response to obtaining a trigger operation for displaying a dialogue interface, a trigger mark is displayed on the dialogue interface while displaying the original content in the dialogue interface. The dialogue interface in the disclosed solution may include a dialogue interface of any electronic product that supports intelligent dialogue functions (such as artificial intelligence generated content products, referred to as AIGC products, etc.). In this embodiment, there is no limitation on the specific form of the trigger operation, and the trigger operation may include any operation that can trigger the display of the dialogue interface, such as clicking, pressing, sliding or other operations.

[0038] In actual applications, when a trigger operation for displaying a dialogue interface is obtained, the dialogue interface can be displayed, and the original content (that is, the default configuration content on the dialogue interface, or the content that needs to be displayed each time the dialogue interface is entered) will be displayed by default on the dialogue interface, and a display trigger mark will also be displayed on the dialogue interface. The display trigger mark is used to identify whether there is a historical dialogue record about the dialogue interface. In some embodiments, the display trigger mark may include some non-functional prompt information (such as some characters, information in text form, etc.), or it may also be some functional prompt components (such as functional components in the form of buttons, etc.). It should be noted that the solution disclosed in the present invention does not limit the specific content or form of the display trigger mark, and it can be set according to the application and interaction requirements.

[0039] Furthermore, in some embodiments, when displaying a conversation interface, if it is the first time to enter the conversation interface, only the conversation interface containing the original content may be displayed, or the conversation interface containing the original content and the display trigger identifier may be displayed. If it is not the first time to enter the conversation interface, the conversation interface containing the original content and the display trigger identifier may be displayed. Alternatively, in other embodiments, how to display the display trigger identifier on the conversation interface may be determined based on whether there are historical conversation records. For example, if there are historical conversation records, the display trigger identifier may be displayed, and if there are no historical conversation records, the display trigger identifier may not be displayed or a display trigger identifier in a different state may be displayed. Alternatively, when a trigger operation for displaying the conversation interface is obtained, in response to the trigger operation, the original content and the display trigger identifier may be displayed directly on the conversation interface at the same time. It should be noted that the scheme disclosed herein does not restrict the specific display timing of the display trigger identifier, and it can be set and adjusted according to specific interaction requirements.

[0040] At step S202, it is detected whether to obtain a preset operation. When a display trigger mark is displayed on the dialogue interface, the user can obtain the historical dialogue record through the display trigger mark. During use, the user can display the historical dialogue record through the preset operation according to the needs, for example, the display of the historical dialogue record can be triggered by clicking, pulling down, pulling up, sliding left and right, pressing, or through voice commands. It should be noted that the solution disclosed in the present invention does not limit the specific form of the preset operation, and the preset operation can be designed according to the actual interaction needs.

[0041] In step S203, in response to obtaining the above preset operation, the historical conversation record is displayed on the conversation interface.

[0042] Therefore, in the process of displaying the dialogue interface, only the original content of the dialogue interface can be displayed by default, and the historical dialogue records will be folded and not directly displayed, thereby reserving more space for the original content, meeting the user's needs for quick browsing and use of the original content. At the same time, by displaying a display trigger mark on the dialogue interface, it is possible to obtain whether there is a historical dialogue record through the display trigger mark, so that when the user needs it, he can directly trigger the display of the historical dialogue record on the dialogue interface through a preset operation, so that the user can find the required historical dialogue record conveniently and efficiently, thereby being able to meet the user's use needs for different contents involved in the dialogue interface to the greatest extent.

[0043] Figure 3 The flowchart of the method 300 for displaying a dialog interface according to another embodiment of the present disclosure is schematically shown. It can be understood that the method 300 is a method for displaying a dialog interface according to another embodiment of the present disclosure. Figure 2 Therefore, the above combined with the method 200 Figure 2 The relevant detailed description also applies to the following.

[0044] like Figure 3 As shown, at step S301, in response to obtaining a trigger operation for displaying a dialogue interface, it is detected whether a historical dialogue record related to the dialogue interface is stored. In actual applications, when a user activates the dialogue interface, it can be detected whether a historical dialogue record related to the dialogue interface is stored on the local end and / or the remote end. It should be noted that the storage location of the historical dialogue record is not limited here, for example, it can be stored on the local end or on the remote end (such as a server or the cloud). When the historical dialogue record is stored at either the local end or the remote end, it can be said that the historical dialogue record related to the dialogue interface is stored.

[0045] At step S302, in response to the storage of the historical conversation record, a display trigger mark in the first state may be displayed on the conversation interface. When it is determined that a trigger operation for displaying the conversation interface is received and it is determined that the historical conversation record is stored, the original content and the display trigger mark in the first state may be displayed on the conversation interface. In this scenario, the historical conversation record is in a retracted state or a hidden state to avoid mixing the historical conversation record with the original content. More space will be reserved on the conversation interface to display the original content, so that users can browse and use the original content.

[0046] In some embodiments, the original content may include a recommended function for guiding available functions and a recommended question for guiding a conversation. When it is determined that a trigger operation for displaying a conversation interface is received and it is determined that a historical conversation record is stored, the recommended function, recommended content, and display trigger mark may be displayed on the conversation interface. Displaying the trigger mark will not take up too much space, and more space is left on the conversation interface for the recommended function and recommended content. The user can enable other required functions under the guidance of the recommended function, or conduct questions and answers under the guidance of the recommended question. It should be noted that the description of the original content in this embodiment is only an exemplary description, and the solution disclosed in this disclosure is not limited thereto. The original content can be specifically designed according to application requirements.

[0047] In other embodiments, if the historical conversation record is not stored at either the local end or the remote end, it means that the historical conversation record about the conversation interface is not stored. In response to not storing the historical conversation record, a display trigger mark in the second state can be displayed on the conversation interface.

[0048] That is, when it is determined that a trigger operation for displaying a conversation interface is received, and it is determined that historical conversation records are stored, a display trigger mark of a first state can be displayed on the conversation interface while displaying the original content. When it is determined that a trigger operation for displaying a conversation interface is received, and it is determined that historical conversation records are not stored, a display trigger mark of a second state can be displayed on the conversation interface while displaying the original content. The first state and the second state are different, and can be used to distinguish and represent the display trigger mark, so as to display the display trigger mark differently. The scheme of the present disclosure does not limit the first state and the second state, which can be different colors, different fonts, or have a mark, etc.

[0049] As an example, the first state may include a display state, and the second state may include a hidden state. In this scenario, when a trigger operation for displaying a conversation interface is received and it is determined that a historical conversation record is stored, a display trigger mark may be displayed on the conversation interface while displaying the original content. When a trigger operation for displaying a conversation interface is received and it is determined that a historical conversation record is not stored, only the original content (e.g., recommended functions, recommended content) may be displayed on the conversation interface, and the display trigger mark may be hidden.

[0050] It should be noted that this embodiment uses the detection result of whether there is a historical conversation record as an example to illustrate the display timing of the display trigger mark. As mentioned above, the display timing of the display trigger mark can also be adjusted in other ways. For example, when a trigger operation for displaying a conversation interface is obtained, in response to the trigger operation, if the conversation interface is enabled for the first time, only the original content can be displayed, and the display trigger mark can be hidden (that is, the display trigger mark is in a hidden state). If it is not the first time that the conversation interface is enabled, the original content and the display trigger mark can be displayed (that is, the display trigger mark is in a displayed state).

[0051] When a display trigger mark is displayed on the dialogue interface, at step S303, it can be detected whether a preset operation is obtained. The preset operation may include any operation that can trigger the display or display of the historical dialogue record. For example, in some embodiments, the display trigger mark may include display prompt information. At this time, it can be determined whether the preset operation is obtained by detecting whether the preset operation input by the user to the dialogue interface is obtained. Further, the display prompt information may only be some string type prompt information, such as "pull down to view historical dialogues", "there are historical dialogues", "click to view history" and other information. This information can be some information that can guide the user to enter the preset operation. For example, when the display prompt information is a pull-down prompt information (such as "pull down to view historical dialogues", etc.), the user can enter the pull-down operation to the dialogue interface under the guidance of the prompt information. That is, the display prompt information will directly prompt or guide the user to enter the desired preset operation. Of course, the display prompt information can also display guidance information about the preset operation, such as the above-mentioned "there are historical dialogues". At this time, if the user needs to view historical conversation records, he can trigger the display of historical conversation records according to the pre-set preset operation. The preset operation may include pulling up, pulling down, single-clicking, double-clicking, pressing, voice commands or other forms of interactive operations. The specific operation form of the preset operation is not limited here.

[0052] In other embodiments, the display trigger identifier may also include a display trigger component. The display trigger component supports real-time loading of historical conversation records in a retracted or hidden state to the current conversation interface. The present embodiment does not limit the specific form of the display trigger component, and it may be any component that can support the retrieval of historical conversation records. In some embodiments, the display trigger component may include a pull-down component or any other component that can support the retrieval of historical conversation records. The preset operation may include a preset operation for the display trigger component, for example, various gesture instructions (such as pull-down, pull-up, click, left and right slide, etc.), voice instructions or other forms of operations, which can be set and adjusted according to the form of the display trigger component and the interaction requirements.

[0053] In response to obtaining the above preset operation, the historical conversation record can be displayed on the conversation interface. Specifically, at step S304, in response to obtaining the preset operation, the historical conversation record can be loaded, and in response to the completion of the loading of the historical conversation record, the historical conversation record is displayed on the conversation interface, and the function guidance content is hidden. In this embodiment, the original content may specifically include some function guidance content. If the preset operation is detected, it means that the user has a need to view the historical conversation record, and the function guidance content may not be of much use to the user. At this time, the guidance content can be hidden to reserve more space for the historical conversation record.

[0054] In some embodiments, when the function guidance content includes recommended functions and recommended questions, the recommended functions displayed on the dialogue interface can be hidden, and the loaded historical dialogue records can be displayed on the dialogue interface, and the recommended questions can continue to be displayed. Therefore, when the preset operation input by the user is obtained, it can be determined that the probability of using the recommended function on the user dialogue interface in the current scenario is small. At this time, the recommended function can be hidden, and more positions can be reserved to display the historical dialogue interface to avoid displaying some "useless" content on the dialogue interface. Of course, if the size of the dialogue interface is large or there is no interference between the display area of ​​the recommended function and the historical dialogue record, the recommended function can also be not hidden.

[0055] Furthermore, when the conversation interface is finished, the interaction information generated on the conversation interface can be obtained, the interaction information can be stored, and the historical conversation record about the conversation interface can be updated based on the stored interaction information. Specifically, at step S305, in response to obtaining a closing operation on the conversation interface, all interaction information generated on the conversation interface is obtained, and at step S306, all the obtained interaction information is stored, and the historical conversation record about the conversation interface is updated based on the stored interaction information.

[0056] In some embodiments, the interactive information generated on the dialogue interface may include various questions input by the user on the dialogue interface, as well as answers to the various questions. The scheme of the present disclosure does not limit the specific content of the interactive information, which can be determined based on the functions supported by the dialogue interface.

[0057] In actual applications, when a closing operation of the user on the current dialogue interface is detected, all interaction information generated on the dialogue interface can be automatically acquired, and the acquired interaction information can be stored in the local end and / or the remote end.

[0058] Furthermore, in some embodiments, an editing interface including all interactive information generated on the dialogue interface may be displayed, and in response to detecting a user's selection operation on the interactive information in the editing interface, the selected interactive information may be stored. The editing interface supports the user to select all or part of all interactive information. For example, when a user closes the current dialogue interface or other operations that can trigger the display of the editing interface are detected, the current dialogue interface may be closed, and an editing interface including all interactive information generated on the dialogue interface may be displayed, on which the user may select the interactive information to be saved. For another example, when a user closes the current dialogue interface or other operations that can trigger the display of the editing interface are detected, the current dialogue interface may be adjusted to an editing mode, in which the user may select part or all of the interactive information for storage. Thus, the required interactive information may be screened through the editing interface, and some "useless" or "invalid" interactive information may be filtered out.

[0059] Furthermore, when the user ends the current conversation interface (for example, closes the current conversation interface) and needs to use the conversation interface again, in response to triggering the display of the conversation interface again, the previous interaction information generated on the conversation interface can be hidden and the original content and the display trigger mark can be displayed in the conversation interface. That is, each time the user enters the conversation interface, the previous interaction information generated on the last or previous use of the conversation interface will be hidden (that is, not displayed on the current conversation interface), leaving more space on the conversation interface for the original content, and at the same time, the display trigger mark will be displayed, and the user can obtain the historical conversation record through the display trigger mark. In this way, the effect of hiding the historical conversation record when it is not in use and displaying it in real time when it is used can be achieved.

[0060] In practical applications, Figure 2 and Figure 3 The display process of the dialogue interface in can be implemented in many ways. Figure 4 A specific implementation process of the method 400 for displaying a dialogue interface is exemplarily shown, which specifically includes:

[0061] At step S401, a trigger operation for displaying a dialog interface is obtained. In this embodiment, a pre-set trigger operation (such as click, press, etc.) that can trigger display of a dialog interface or enable a dialog interface can be obtained.

[0062] At step S402, it can be detected whether historical conversation records are stored. For example, it can be checked whether historical conversation records about the conversation interface are stored in the local end or the remote end. If the historical conversation record is found in the local end or the remote end, it means that the historical conversation record is stored. If the historical conversation record is not found in both the local end and the remote end, it means that the historical conversation record is not stored. For another example, it can be determined whether the historical conversation record is stored by judging whether it is the first time to enable the conversation interface. If it is determined that it is the first time to enable the conversation interface, it is determined that the historical conversation record is not stored. If it is determined that it is not the first time to enable the conversation interface, it is determined that the historical conversation record is stored. When it is determined that the historical conversation record is stored, step S404 is executed, otherwise step S403 is executed.

[0063] In step S403, a dialogue interface including recommended functions and recommended questions may be displayed.

[0064] At step S404, a dialog interface including recommended functions, recommended questions, and drop-down prompt information may be displayed.

[0065] For example, when a user activates the conversation interface of an AIGC product, if it is detected that the user has a trigger operation to activate the conversation interface and it is detected that there are historical conversation records stored, the original content and the display trigger mark can be displayed on the conversation interface. The original content may include function guidance content such as recommended functions and recommended questions, and the display trigger mark may display prompt information, and of course may also include a display trigger component.

[0066] refer to Figure 5A , when it is detected that the user has enabled the "XX" dialogue application, the dialogue interface 501 can be entered, and when it is detected that historical dialogue records related to the dialogue interface 501 are stored, the recommended function 502, the recommended question 503 and the drop-down prompt information 504 (such as the "pull down to view history" shown in the figure) can be displayed in the dialogue interface 501. Among them, the recommended function 502 and the recommended question 503 are the original content of the dialogue interface, and these original contents will be displayed each time the dialogue interface 501 is entered. The drop-down prompt information 504 is a display trigger mark, which can indicate whether there is a historical storage record about the dialogue interface 501. It should be noted that the description of the original content and the specific content of the display trigger mark in the dialogue interface and the interface distribution here is only an exemplary description, and the solution disclosed in the present invention does not limit this, and it can be adjusted according to design needs.

[0067] return Figure 4 At step S405, it is detected whether a pull-down operation input by the user to the dialogue interface is obtained. If the pull-down operation exists, step S406 is executed. The pull-down operation can be understood as an exemplary operation of the aforementioned preset operation that can trigger the display of the historical dialogue record. In actual applications, the preset operation can be pre-set according to the interaction requirements.

[0068] refer to Figure 5B When a pull-down operation is detected on the dialogue interface 501 , the loading status of the history dialogue interface can be displayed on the dialogue interface 501 .

[0069] After the historical conversation records are loaded, return Figure 4 At step S406, the recommendation function on the dialogue interface may be hidden, and the recommended questions and historical dialogue records may be displayed.

[0070] refer to Figure 5C ,when Figure 5B After the historical conversation record in the user interface 501 is recorded, the loaded historical conversation record 505 can be displayed on the conversation interface 501, while the recommended question 503 can continue to be displayed, and the recommended function 502 can be hidden. In this way, more space can be reserved for displaying the historical conversation record, and the interference caused by some temporarily "useless" content (such as the recommended function) to the user can be avoided.

[0071] Furthermore, after the user has viewed the historical conversation record, the historical conversation record can be retained on the conversation interface until the conversation interface is closed and then entered again, at which time the historical conversation record will be folded and hidden. Alternatively, after the user has viewed the historical conversation record, the user inputs a specified operation (such as double-clicking, dragging, or other forms of interactive operations, etc.) to the conversation interface to trigger the folding and hiding of the historical conversation record. In response to the specified operation, the historical conversation record displayed on the conversation interface is folded and hidden again. At this time, the hidden content in the original content can be re-displayed (such as the recommendation function, etc.) to meet the different usage needs of users.

[0072] Therefore, by folding up historical conversation records, more space can be reserved for function recommendations, meeting the needs of most users for quick use of functions, while also taking into account the needs of a small number of users to view historical conversations and search for historical information, making the operation more efficient for these users. Exemplary Devices

[0073] After introducing the method of the exemplary embodiment of the present disclosure, next, refer to Figure 6 The related products of the method for presenting a dialogue interface according to the exemplary embodiment of the present disclosure are described.

[0074] Figure 6Schematically shows a schematic block diagram of an electronic device 600 according to an embodiment of the present disclosure. Figure 6 As shown, the electronic device 600 may include a processor 601 and a memory 602. The memory 602 stores computer instructions for displaying a dialogue interface. When the computer instructions are executed by the processor 601, the electronic device 600 performs the following method steps:

[0075] In response to obtaining a trigger operation for displaying a conversation interface, a display trigger identifier is displayed on the conversation interface while displaying the original content in the conversation interface, wherein the display trigger identifier is used to identify whether there is a historical conversation record about the conversation interface; detecting whether a preset operation is obtained; and in response to obtaining the preset operation, displaying the historical conversation record on the conversation interface.

[0076] Optionally, displaying a display trigger identifier about historical conversation records of the conversation interface on the conversation interface includes: detecting whether historical conversation records about the conversation interface are stored; in response to the historical conversation records being stored, displaying a display trigger identifier in a first state on the conversation interface; or in response to the historical conversation records not being stored, displaying a display trigger identifier in a second state on the conversation interface.

[0077] Optionally, wherein the original content includes function guidance content, displaying the historical conversation record on the conversation interface includes: loading the historical conversation record; and in response to completion of loading of the historical conversation record, displaying the historical conversation record on the conversation interface and hiding the function guidance content.

[0078] Optionally, the first state includes a display state, and the second state includes a hidden state.

[0079] Optionally, the display trigger identifier includes display prompt information, and detecting whether a preset operation is obtained includes: detecting whether a preset operation input by a user to the dialogue interface is obtained.

[0080] Optionally, the displayed prompt information includes pull-down prompt information, and detecting whether a preset operation is obtained includes: detecting whether a pull-down operation input by the user to the dialogue interface is obtained.

[0081] Optionally, the display trigger identifier includes a display trigger component, and detecting whether a preset operation is obtained includes: detecting whether a preset operation for the display trigger component is obtained.

[0082] Optionally, the function guidance content includes recommended functions for guiding available functions and recommended questions for guiding conversations, and displaying the historical conversation records on the conversation interface and hiding the function guidance content includes: hiding the recommended functions displayed on the conversation interface; and displaying the loaded historical conversation records on the conversation interface, and continuing to display the recommended questions.

[0083] Optionally, the display method further includes: acquiring interaction information generated on the dialogue interface; and storing the interaction information, and updating historical dialogue records about the dialogue interface based on the stored interaction information.

[0084] Optionally, the display method further includes: in response to triggering the display of the dialogue interface again, hiding the previous interaction information generated on the dialogue interface, and displaying the original content and the display trigger identifier in the dialogue interface.

[0085] Optionally, obtaining the interaction information generated on the dialogue interface and storing the interaction information includes: in response to obtaining a closing operation on the dialogue interface, obtaining all interaction information generated on the dialogue interface; and storing all the obtained interaction information.

[0086] Optionally, obtaining the interactive information generated on the dialogue interface and storing the interactive information includes: displaying an editing interface containing all the interactive information generated on the dialogue interface, wherein the editing interface supports a user to select all or part of all the interactive information; in response to detecting a user selection operation on the interactive information in the editing interface, storing the selected interactive information.

[0087] It should be noted that the specific contents of the method steps of the electronic device or the specific execution contents of each functional module in the electronic device are in accordance with the above combination. Figure 2 to Figure 4 The specific implementation methods of the described dialogue interface display methods are the same or similar, so they will not be described in detail here.

[0088] Through the above implementation, when displaying the conversation interface, the electronic device can display only the original content of the conversation interface by default, and will fold the historical conversation records instead of directly displaying them, thereby reserving more space for the original content, satisfying the user's need to quickly browse and use the original content. At the same time, by displaying a display trigger mark on the conversation interface, the user can promptly know whether there is a historical conversation record through the display trigger mark. When the user has a need to use the historical conversation record, the historical conversation record can be quickly displayed on the conversation interface through a preset operation, so that the user can conveniently and efficiently find the required historical conversation record, thereby being able to meet the user's use needs for different contents involved in the conversation interface to the greatest extent.

[0089] In addition, the present disclosure also provides a computer-readable storage medium in which program instructions are stored, and the program instructions are configured to be executed at runtime. Figure 2 to Figure 4 The display method of the dialogue interface shown.

[0090] Specifically, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0091] It should be noted that although several devices or sub-devices of the device are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more devices described above can be embodied in one device. Conversely, the features and functions of one device described above can be further divided into multiple devices to be embodied.

[0092] The use of the verbs "comprise", "include" and their conjugations mentioned in the application documents does not exclude the presence of elements or steps other than those recorded in the application documents. The article "a" or "an" before an element does not exclude the presence of a plurality of such elements.

[0093] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims. The scope of the attached claims conforms to the broadest interpretation, thereby including all such modifications and equivalent structures and functions.

[0094] The collection and acquisition of various data in this disclosure complies with relevant laws and regulations and is authorized by the data provider. Any organization or individual that needs to obtain external data must obtain authorization in accordance with the law and ensure data security. It is prohibited to illegally collect, use, process, or transmit unauthorized or unprotected data, or to illegally buy, sell, provide, or disclose unauthorized or unprotected data.

Claims

1. A method for displaying a dialogue interface, characterized in that: include: In response to obtaining a trigger operation for displaying a conversation interface, displaying a display trigger mark on the conversation interface while displaying the original content in the conversation interface, wherein the display trigger mark is used to identify whether there is a historical conversation record related to the conversation interface; Check whether the preset operation is obtained; as well as In response to obtaining the preset operation, the historical conversation record is displayed on the conversation interface.

2. The display method according to claim 1, characterized in that: Displaying the trigger mark on the dialogue interface includes: Detecting whether there is a historical conversation record stored about the conversation interface; In response to storing the historical conversation record, displaying a display triggering mark in a first state on the conversation interface; or In response to not storing the historical conversation record, a display trigger identifier in a second state is displayed on the conversation interface, wherein the first state and the second state are different and are used to distinguish and represent the display trigger identifier.

3. The display method according to claim 2, characterized in that: The first state includes a display state, and the second state includes a hidden state.

4. The display method according to claim 1, characterized in that: The display trigger identifier includes display prompt information, and detecting whether the preset operation is obtained includes: Detect whether a preset operation input by the user to the dialogue interface is obtained.

5. The display method according to claim 4, characterized in that: The displaying prompt information includes a drop-down prompt information, and detecting whether a preset operation is obtained includes: Detect whether a pull-down operation input by the user to the dialogue interface is obtained.

6. The display method according to claim 1, characterized in that: The display trigger identifier includes a display trigger component, and detecting whether a preset operation is obtained includes: Detect whether a preset operation for the display trigger component is obtained.

7. The display method according to claim 1, characterized in that: The original content includes function guidance content, and displaying the historical conversation record on the conversation interface includes: Loading the historical conversation records; and In response to the completion of loading of the historical conversation record, the historical conversation record is displayed on the conversation interface, and the function guidance content is hidden.

8. The display method according to claim 7, characterized in that: The function guidance content includes recommended functions for guiding available functions and recommended questions for guiding conversations, and displaying the historical conversation records on the conversation interface and hiding the function guidance content include: Hiding the recommended function displayed on the dialogue interface; and The loaded historical conversation records are displayed on the conversation interface, and the recommended questions continue to be displayed.

9. An electronic device, characterized in that: include: processor; as well as A memory storing computer instructions for displaying a dialogue interface, wherein when the computer instructions are executed by the processor, the electronic device executes the display method according to any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: Contains program instructions for displaying a dialog interface, and when the program instructions are executed by a processor, implements the display method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Message processing method and device, server, electronic equipment and computer readable storage medium

    CN109818853A

  • Session interaction method and system

    CN115208846A

  • Interface display method and device, equipment, storage medium and program product

    CN117668391A

  • Human-computer interaction method and device, electronic equipment and storage medium

    CN118132700A

  • Method for displaying view history and display apparatus

    US20220329895A1

Cited By

  • Conversation processing method and device, equipment, storage medium and program product

    CN120610767A