Information display method and device, electronic equipment and storage medium
By displaying the answers of the large language model in the Q&A area and summarizing the files in the answers in the file area, the problem of low information transmission efficiency in the prior art is solved, and a more efficient human-computer interaction and file review experience is achieved.
Patent Information
- Application Number
- CN202411710496.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-18
AI Technical Summary
In the prior art, when users use large language models to answer questions, the answers usually contain a large amount of text and files, which leads to low information transmission efficiency and makes it difficult for users to quickly understand and review related files.
Provides a method of displaying information. By displaying the answers to questions in the Q&A area and summarizing the files in the answers in the file area. The file area is different from the Q&A area, and users can view and edit file content in the file area in the file area in the file area.
The information transmission efficiency and human-computer interaction efficiency are improved. Users can get the files in the answer at one time and quickly check the contents of any file without looking for each file from the Q&A area.
Smart Images

Figure CN119645259A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an information display method, device, electronic device and storage medium. Background Art
[0002] With the development of computer technology, large language models have emerged. Through deep learning technology, large language models can capture the complex relationship between words, so as to more accurately understand the intention of users' questions and output more accurate answers. More and more users are accustomed to answering questions through large language models.
[0003] In the related art, the user usually inputs a question in the interface first, and then the question is input into the large language model for processing, the large language model outputs the answer to the question, and then the answer is displayed on the interface to show it to the user.
[0004] Since the answer usually contains a large amount of text and some key files retrieved by a large language model, the content is large and messy, and users need to spend a lot of time to understand it, and the information transmission efficiency is low. Summary of the invention
[0005] The present disclosure provides an information display method, device, electronic device and storage medium, which can improve the efficiency of information transmission and human-computer interaction. The technical solution of the present disclosure is as follows:
[0006] According to one aspect of an embodiment of the present disclosure, there is provided an information display method, including:
[0007] In response to a search operation on a question, obtaining an answer obtained by the large language model for the question, the answer including text and files;
[0008] Displaying answers to said questions in a question and answer area;
[0009] On the basis of displaying the question and answer area, in a file area, files that are answers to the questions are displayed, and the file area is different from the question and answer area.
[0010] According to another aspect of an embodiment of the present disclosure, there is provided an information display device, including:
[0011] an acquisition unit, configured to execute a search operation in response to a question and acquire an answer obtained by the large language model for the question, wherein the answer includes text and a file;
[0012] A display unit configured to display the answer to the question in the question and answer area;
[0013] The display unit is further configured to display the files in the answer to the question in a file area based on displaying the question and answer area, and the file area is different from the question and answer area.
[0014] In some embodiments, the question and answer area includes a file management control, and the file management control is used to trigger the display of the file;
[0015] The display unit is configured to execute, in response to a triggering operation on the file management control, expand the file area on the basis of displaying the question and answer area, and display the files in the answer to the question in the file area.
[0016] In some embodiments, the display unit is configured to display the files in the answer to the question in the form of a file list in the file area; and display the content of the file in the file area in response to an opening operation of any file in the file list.
[0017] In some embodiments, the display unit is configured to display file prompt information on the file management control, where the file prompt information is used to prompt the object to expand the file area through the file management control to view the file in the answer to the question.
[0018] In some embodiments, the display unit is configured to display the file prompt information on the file management control when the number of triggering times for the file management control is zero.
[0019] In some embodiments, the display unit is configured to execute a trigger operation in response to a target file in the question and answer area, expand the file area on the basis of displaying the question and answer area, and display at least one item of the file in the answer to the question and the content of the target file in the file area, wherein the target file is any file in the answer to the question.
[0020] In some embodiments, the file area includes a plurality of operation controls for editing file content;
[0021] The display unit is further configured to, when the content of the target file is already displayed in the file area, display the content of the target file edited based on the operation control in the file area in response to a triggering operation on any one of the multiple operation controls.
[0022] In some embodiments, the display unit is configured to execute a process of generating a file in which the answer to the question is displayed in the file area by expanding the file area based on displaying the question and answer area.
[0023] In some embodiments, the display unit is configured to perform at least one of the following:
[0024] In the process of generating any file for the question by the large language model, displaying the generation progress value of the file at a target position in the file area, the target position being used to display the file after the file has been generated;
[0025] During the process of the large language model generating any file for the question, the generated content of the file is displayed in the file area.
[0026] In some embodiments, the display unit is further configured to perform any of the following:
[0027] If any file in the answer to the question has been generated, display the file in the file area;
[0028] If documents in the answer to the question have been generated, the documents in the answer to the question are arranged and displayed in the document area.
[0029] In some embodiments, the display unit is configured to execute, if in the process of generating any file in the answer to the question, the content of the file that has been generated is displayed, then, if the file has been generated, the content of the file is closed; and the file in a closed state is displayed in the file area.
[0030] In some embodiments, the display unit is configured to perform at least one of the following:
[0031] In the case where the files in the answer to the question have been generated, the files in the answer to the question are arranged and displayed in the file area in the order of the file generation time from earliest to latest;
[0032] In the case where the files in the answer to the question have been generated, arranging and displaying the files in the answer to the question in the file area in the order in which the files appear in the question and answer area;
[0033] In the case where the documents in the answer to the question have been generated, the documents in the answer to the question are classified and displayed in the document area according to the source of the documents.
[0034] In some embodiments, the display unit is configured to display the question and answer area in full screen format, wherein the answer to the question is displayed in the question and answer area; shrink the question and answer area, and expand the file area in an area outside the shrunken question and answer area, wherein the file in the answer to the question is displayed in the file area.
[0035] In some embodiments, the display unit is configured to display the file area side by side on the basis of displaying the question and answer area, and display the file containing the answer to the question in the file area.
[0036] In some embodiments, the display unit is further configured to, in response to a size adjustment operation on any one of the question and answer area and the file area, display the area at a size indicated by the size adjustment operation.
[0037] In some embodiments, the display unit is further configured to display a sidebar while displaying the question and answer area, wherein the sidebar is used to display questions that have been searched within a historical time period; in response to displaying the file area, the sidebar is displayed to be collapsed.
[0038] In some embodiments, the display unit is further configured to, when the content of the first file is displayed in the file area, display the content of the second file on the basis of displaying the content of the first file in response to an opening operation on the second file.
[0039] In some embodiments, the display unit is further configured to execute a closing operation on an opened file in the file area, close the content of the file, and display the file in a closed state in the file area.
[0040] In some embodiments, the display unit is further configured to execute and display a file publishing control; when any file in the file area is selected, in response to a triggering operation on the file publishing control, the file is published to an address specified by the object.
[0041] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0042] one or more processors;
[0043] A memory for storing program codes executable by the processor;
[0044] The processor is configured to execute the program code to implement the above-mentioned information display method.
[0045] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When a program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned information display method.
[0046] According to another aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program / instruction, which implements the above-mentioned information display method when executed by a processor.
[0047] The solution provided by the disclosed embodiment, in the process of searching questions using a large language model, can not only display the complete answer to the question obtained by the large language model in the question and answer area, ensuring that the subject can clearly understand the overall response of the large language model, but also, when there are files in the answer, can also expand a new display area based on the question and answer area, namely the file area, and summarize and display the files in the answer in the file area, so that the subject can know the files in the answer at one time, thereby improving the efficiency of information transmission; and it is beneficial for the subject to quickly check the content of any file in the answer without having to search for each file in the question and answer area, that is, it is beneficial to improve the efficiency of human-computer interaction, thereby improving the search experience of the subject.
[0048] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0050] Figure 1 It is a schematic diagram of an implementation environment of an information display method according to an exemplary embodiment.
[0051] Figure 2 The invention is a flowchart of an information display method according to an exemplary embodiment.
[0052] Figure 3 The figure is a flow chart of another information display method according to an exemplary embodiment.
[0053] Figure 4 is a schematic diagram of a question and answer area according to an exemplary embodiment.
[0054] Figure 5 is a schematic diagram of another question and answer area according to an exemplary embodiment.
[0055] Figure 6 The figure is a schematic diagram showing the expansion of a file area according to an exemplary embodiment.
[0056] Figure 7 The diagram is a schematic diagram showing a method of displaying file content according to an exemplary embodiment.
[0057] Figure 8 The figure is a schematic diagram showing a method of adjusting a region size according to an exemplary embodiment.
[0058] Fig. 9 The figure is a schematic diagram showing a second file according to an exemplary embodiment.
[0059] Fig.10 The invention is a block diagram of an information display device according to an exemplary embodiment.
[0060] Fig.11 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0061] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0062] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0063] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the issues involved in this disclosure and the number of times the controls are triggered are all obtained with full authorization.
[0064] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of an information display method according to an exemplary embodiment. Figure 1 , the implementation environment specifically includes: a terminal 101 and a server 102.
[0065] The terminal 101 is at least one of a smart phone, a smart watch, a desktop computer, a laptop, an MP3 player, an MP4 player, and a laptop computer. An application that supports question and answer is installed and run on the terminal 101. The application can be a browser, a social application, a knowledge question and answer application, a multimedia application, or an embedded application, etc., which is not limited in the embodiments of the present disclosure. The user can log in to the application through the terminal 101 to obtain the services provided by the application. For example, the user can obtain the answer to the queried question through the application. The terminal 101 can be connected to the server 102 through a wireless network or a wired network, and then the user's question can be sent to the server 102, and the large language model deployed on the server 102 obtains the answer to the question. Then, the terminal 101 can receive the answer returned by the server 102 and display it to the user.
[0066] The terminal 101 generally refers to one of a plurality of terminals, and the present embodiment is described by taking the terminal 101 as an example. Those skilled in the art may know that the number of the above terminals may be more or less. For example, the above terminals may be several, or the above terminals may be dozens or hundreds, or a greater number. The present embodiment does not limit the number and device type of the terminals.
[0067] In some embodiments, server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), big data and artificial intelligence platforms. Server 102 is used to provide background services for applications that support question and answer. In some embodiments, server 102 undertakes the main computing work and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work and terminal 101 undertakes the main computing work; or, server 102 and terminal 101 use a distributed computing architecture for collaborative computing.
[0068] Figure 2 is a flow chart of an information display method according to an exemplary embodiment. Figure 2 The information display method is applied in a terminal and comprises the following steps:
[0069] In step 201, in response to a search operation on a question, the terminal obtains an answer to the question obtained by a large language model, and the answer includes text and files.
[0070] In the disclosed embodiment, the question is information actively input by the object (user). The question can be only text (i.e., question text), such as "What are the domestic tourist attractions?"; or the question can also be composed of text and files, for example, the file in the question is file A, and the text in the question is "Do the tourist attractions introduced in file A conform to the actual situation?", etc. The disclosed embodiment does not limit the question.
[0071] In response to the search operation for the question, the terminal sends the question to the server, and the large language model deployed on the server answers the question. The server inputs the question into the large language model for processing, obtains the answer to the question, and returns it to the terminal. The answer to the question includes text and files. The file can be a file generated by the large language model for the question, or a file retrieved for the question, which is not limited in the embodiments of the present disclosure. For example, the answer to the question includes file B and the text "Domestic tourist attractions include attractions a, attractions b and attractions c. Please refer to the following file B for detailed information on each attraction."
[0072] Among them, the files in the embodiments of the present disclosure can be text files (such as files in txt, doc, docx and other formats), image files (such as images in jpg, png and other formats), audio files (such as audio in mp3, wav and other formats), video files (such as videos in mp4, avi and other formats) or executable files (i.e., program files), etc., and the embodiments of the present disclosure are not limited to this.
[0073] In step 202, the terminal displays the answer to the question in the question and answer area.
[0074] In the disclosed embodiment, the terminal displays the text and files in the answer to the question in the question and answer area. The disclosed embodiment does not limit the display position of the question and answer area. The terminal can also display the question input by the object in the question and answer area. That is, the question and answer area is used to present the questions and answers in the question and answer process, which is equivalent to the dialogue interface between the object (user) and the large language model.
[0075] In step 203, the terminal displays the files in the answers to the questions in the file area on the basis of displaying the question and answer area, and the file area is different from the question and answer area.
[0076] In an embodiment of the present disclosure, there is a file in the answer to the question. In this case, the terminal can expand a file area on the basis of displaying the question and answer area, and display the file in the answer in the file area. That is, the terminal can summarize the files in the answer and display the summarized files in the file area to show them to the object for viewing. The embodiment of the present disclosure does not limit the display position of the file area. If there is no file in the answer to the question and it only contains text, the terminal may not display the file area and only display the question and answer area to save operating consumption.
[0077] In some embodiments, the terminal can also display the files in the question in the file area. That is, the file area is used to summarize and present the files in the question-and-answer process (question+answer).
[0078] The disclosed embodiments provide an information display method. In the process of searching for questions using a large language model, the answer to the question obtained by the large language model can not only display the complete answer in the question and answer area, ensuring that the subject can clearly understand the overall response of the large language model, but also, when there are files in the answer, a new display area can be expanded on the basis of the question and answer area, namely the file area, and the files in the answer can be summarized and displayed in the file area, so that the subject can know the files in the answer at one time, thereby improving the efficiency of information transmission; and it is beneficial for the subject to quickly check the content of any file in the answer without having to search for each file in the question and answer area, that is, it is beneficial to improve the efficiency of human-computer interaction, thereby improving the search experience of the subject.
[0079] In some embodiments, the question and answer area includes a file management control, and the file management control is used to trigger the display of the file;
[0080] Based on the question and answer area, the files in the answer area are displayed, including:
[0081] In response to a triggering operation on the file management control, the file area is expanded on the basis of displaying the question and answer area, and the files in the answer to the question are displayed in the file area.
[0082] The solution provided by the embodiment of the present disclosure provides a file management control in the question and answer area, so that the object can expand the file area at any time through the file management control to view the files in the answer. This is not only simple to operate, but also meets the object's intention, and the expansion of the file area is more flexible and controllable.
[0083] In some embodiments, displaying the files in the answer to the question in the files area includes:
[0084] In the file area, the files in the answer to the question are displayed in the form of a file list;
[0085] The method also includes:
[0086] In response to an open operation on any file in the file list, the content of the file is displayed in the file area.
[0087] The solution provided by the embodiment of the present disclosure displays the files in the answer in the form of a list, which shows the files in the answer to the object more intuitively and clearly, so that the object can know the files in the answer at one time, thereby improving the efficiency of information transmission; and the object can open any file in the list in the file area to view it, without having to search for each file in the question and answer area, and without having to jump to other interfaces to display the file content, thereby improving the efficiency of human-computer interaction.
[0088] In some embodiments, the method further comprises:
[0089] File prompt information is displayed on the file management control. The file prompt information is used to prompt the object to expand the file area through the file management control to view the file in the answer to the question.
[0090] The solution provided by the embodiment of the present disclosure displays file prompt information on the file management control to intuitively prompt the object on how to view the file in the answer, which helps the object to quickly trigger the file management control to view the file, thereby improving the efficiency of information transmission and human-computer interaction.
[0091] In some embodiments, displaying file prompt information on the file management control includes:
[0092] When the number of triggers for the file management control is zero, the file prompt information is displayed on the file management control.
[0093] According to the solution provided by the embodiment of the present disclosure, since the object has not triggered the file management control, the object is very likely not clear about how to view the files in the answer. In this case, displaying file prompt information is conducive to the object triggering the file management control to view the file more quickly, thereby improving the efficiency of information transmission and human-computer interaction. After the object has triggered the file management control, the object is very likely to have clearly understood how to view the files in the answer. In this case, there is no need to display file prompt information, which can save operating consumption.
[0094] In some embodiments, based on displaying the question and answer area, in the file area, displaying the files in the answers to the questions includes:
[0095] In response to a trigger operation on a target file in the question and answer area, the file area is expanded based on the display of the question and answer area, and at least one of the contents of the file in the answer to the question and the target file is displayed in the file area, where the target file is any file in the answer to the question.
[0096] The solution provided by the embodiment of the present disclosure can expand the file area to display all the files in the answer in a summary manner when the object triggers any file in the answer in the question and answer area, so that the object can know all the files in the answer at one time, thereby improving the efficiency of information transmission; or, it can directly display the content of the opened file in the file area, and the file content can be directly viewed without the object being triggered a second time, thereby improving the efficiency of human-computer interaction.
[0097] In some embodiments, the file area includes a plurality of operation controls for editing the file content;
[0098] The method also includes:
[0099] When the content of the target file is already displayed in the file area, in response to a trigger operation on any one of the plurality of operation controls, the content of the target file edited based on the operation control is displayed in the file area.
[0100] The solution provided by the embodiment of the present disclosure improves the efficiency of human-computer interaction by providing multiple operation controls for editing file contents in the file area so that the object can directly edit the contents of any file in the answer through the multiple operation controls during the question-and-answer process without downloading it locally.
[0101] In some embodiments, based on displaying the question and answer area, in the file area, displaying the files in the answers to the questions includes:
[0102] On the basis of displaying the question and answer area, the file area is expanded, and the generation process of the file in the answer to the question is displayed in the file area.
[0103] The solution provided by the embodiment of the present disclosure is that when the large language model generates a file for a question, a new file area can be expanded on the basis of the question and answer area to display the file generation process, intuitively showing the object the process of answering the question by the large language model, increasing the transparency of the file in the answer, allowing the object to clearly know the source of the file, and improving the efficiency of information transmission.
[0104] In some embodiments, the process of generating the file in the answer to the question displayed in the file area includes at least one of the following:
[0105] During the process of generating any file for a question by the large language model, the generation progress value of the file is displayed at the target position in the file area, and the target position is used to display the file after the file has been generated;
[0106] When the large language model generates any file for a question, the generated content of the file is displayed in the file area.
[0107] The solution provided by the disclosed embodiment, during the process of a large language model generating any file, by displaying the file generation progress value or the generated file content at a target position in the file area, not only intuitively reflects the file generation progress, but also to a certain extent reflects the progress of the large language model in answering the question, which is convenient for the subject to understand and control the answering process, and the subject can see the file content during the answering process, without having to wait for the file to be generated before checking, thereby improving the efficiency of information transmission; and the target position will also display the generated file, which is conducive to enhancing the subject's recognition of the file, thereby improving the subject's experience.
[0108] In some embodiments, the method further comprises any of the following:
[0109] If any file in the answer to the question has been generated, the file is displayed in the file area;
[0110] If the files in the answer to the question have been generated, the files in the answer to the question are displayed in the file area.
[0111] The solution provided by the embodiment of the present disclosure is that whenever a large language model generates a file, it can be displayed in the file area, so that the object can promptly know the file generated by the large language model, thereby improving the efficiency of information transmission; or, when the file in the answer has been generated, the generated files are arranged and displayed, the information is more neat, which is convenient for the object to quickly know the file in the answer, thereby also improving the efficiency of information transmission.
[0112] In some embodiments, if any of the files in the answer to the question have been generated, the file is displayed in the file area, including:
[0113] If during the process of generating any file in the answer to the question, it is shown that there is already generated content in the file, then if the file has been generated, close the content of the file;
[0114] Displays files in a closed state in the file area.
[0115] The solution provided by the disclosed embodiment is aimed at displaying the file content during the file generation process. After the entire file is generated, the file content is closed and the file in a closed state is displayed. This not only intuitively reflects that the file has been generated, but also automatically closes the file content based on the object having viewed the file content, thereby freeing up the content display area for subsequent file generation. Manual operation by the user is unnecessary, thereby improving the efficiency of human-computer interaction.
[0116] In some embodiments, when the files in the answer to the question have been generated, arranging and displaying the files in the answer to the question in the file area includes at least one of the following:
[0117] If the files in the answer to the question have been generated, the files in the answer to the question are displayed in the file area in the order of the file generation time from the earliest to the latest;
[0118] When the files in the answer to the question have been generated, the files in the answer to the question are arranged and displayed in the file area in the order in which the files appear in the question and answer area;
[0119] If the files in the answer to the question have been generated, the files in the answer to the question are displayed in the file area in a classified manner according to the source of the files.
[0120] In the scheme provided by the embodiment of the present disclosure, the files in the answer can be arranged in order from early to late according to the generation time, so that the object can clearly know the generation order of the files, and thus it is easier to find the required files for viewing, which is beneficial to improving the efficiency of human-computer interaction; or they can be arranged in the order of appearance of the files in the question and answer area, so that when the object views the answers in the question and answer area, it can find the corresponding files in the file area in order for viewing, which is also beneficial to improving the efficiency of human-computer interaction; or they can be displayed according to the file source classification, so that the object can clearly know the file source, so as to have a deeper understanding of the file, thereby improving the efficiency of information transmission.
[0121] In some embodiments, the answers to the questions are displayed in the question and answer area, including:
[0122] The question and answer area is displayed in full screen form, and the answers to the questions are displayed in the question and answer area;
[0123] Based on the question and answer area, the files in the answer area are displayed, including:
[0124] Shrink the question and answer area, and expand the file area outside the shrunken question and answer area to display the files in the answer to the question in the file area.
[0125] The solution provided by the disclosed embodiment improves screen utilization and information transmission efficiency by displaying the question and answer area in full screen format so as to be able to show more answer content to the object at one time; if there is a file in the answer, the question and answer area will be reduced, and the file area will be expanded in the area outside the reduced question and answer area, thereby ensuring that the question and answer area and the file area are displayed independently of each other, and there is no situation where the content in the area is blocked, so that the object can view the specific content of the answer while viewing the files in the answer, which also improves screen utilization and information transmission efficiency.
[0126] In some embodiments, based on displaying the question and answer area, in the file area, displaying the files in the answers to the questions includes:
[0127] On the basis of displaying the question and answer area, the file area is displayed side by side, and the files in the answer to the question are displayed in the file area.
[0128] The solution provided by the disclosed embodiment ensures that the content in each area can be directly presented to the object without any obstruction by displaying the question and answer area and the file area side by side, so that the object can view the specific content of the answer while viewing the file in the answer, thereby improving screen utilization and information transmission efficiency.
[0129] In some embodiments, the method further comprises:
[0130] For any one of the question and answer area and the document area, in response to a resizing operation of the area, the area is displayed in a size indicated by the resizing operation.
[0131] The solution provided by the embodiment of the present disclosure is that the sizes of the question and answer area and the file area are adjustable, which has higher flexibility, so that the object can adjust the size of any area to a size that meets its own needs and conforms to the object's intention.
[0132] In some embodiments, the method further comprises:
[0133] When the question and answer area is displayed, a sidebar is displayed to show the questions that have been searched in the historical time period;
[0134] In response to displaying the file area, the display sidebar is collapsed.
[0135] The solution provided by the embodiment of the present disclosure displays a sidebar to intuitively show the searched questions to the object, making it easy for the object to trace the search trajectory and understand the answers to the searched questions. When the file area is displayed, the sidebar is folded to ensure that the file area has more display area, making it easy for the object to view the files in the file area, thereby improving the efficiency of information transmission.
[0136] In some embodiments, the method further comprises:
[0137] When the content of the first file is displayed in the file area, in response to an opening operation of the second file, the content of the second file is displayed in addition to the content of the first file.
[0138] The solution provided by the embodiments of the present disclosure can open another file based on the already opened file, and the content of the newly opened file will not interfere with the display process of the already opened file, that is, when a certain file is opened, the previously opened file will not be closed, so that the object can view the content of the already opened file at any time without opening it repeatedly, thereby improving the efficiency of information transmission and human-computer interaction.
[0139] In some embodiments, the method further comprises:
[0140] In response to a closing operation on an opened file in the file area, the content of the file is closed, and the file in a closed state is displayed in the file area.
[0141] According to the solution provided by the embodiment of the present disclosure, for a file that has been opened in the file area, the object can close the file at any time, and the file is in the file area in a closed state, so that the object can open or close the file in the file area at any time, and the operation is more flexible and in line with the object's intention.
[0142] In some embodiments, the method further comprises:
[0143] Display file publishing controls;
[0144] When any file in the file area is selected, the file is published to the address specified by the object in response to a trigger operation on the file publishing control.
[0145] The solution provided by the embodiment of the present disclosure provides a file publishing control, so that the object can directly publish the file in the answer through the file publishing control, and the file can be applied without downloading it locally, thereby improving the efficiency of human-computer interaction.
[0146] Above Figure 2 The following is only a basic process of the present disclosure. The solution provided by the present disclosure is further described based on a specific implementation method. Figure 3 is a flow chart of another information display method according to an exemplary embodiment. Figure 3 , the method comprising:
[0147] In step 301, in response to a search operation on a question, the terminal obtains an answer to the question obtained by a large language model, and the answer includes text and files.
[0148] In an embodiment of the present disclosure, the terminal may display an input box and a search control in a search interface. The input box is used to obtain a question about an object. The search control is used to search for a question about an object. The present disclosure embodiment does not limit the display position and display form of the input box and the search control. In response to an input operation on the input box, the terminal obtains the question of the object input in the input box. Then, in response to a trigger operation on the search control, the terminal sends the question to the server, and the large language model deployed on the server answers the question to obtain an answer to the question. Then, the terminal receives the answer to the question returned by the server.
[0149] The answer to the question consists of text and files. The file in the answer can be a file generated by the large language model for the question, or a file retrieved by the large language model for the question, which is not limited in the embodiment of the present disclosure. After the terminal obtains the answer to the question, the terminal can display the answer to the object, please continue to refer to the subsequent steps.
[0150] In step 302, the terminal displays the answer to the question in the question and answer area.
[0151] In the disclosed embodiment, the search interface includes a question-and-answer area. The question-and-answer area is used to present the question-and-answer process between the object and the large language model. The terminal can display the answer to the question in the question-and-answer area in the search interface.
[0152] The embodiments of the present disclosure do not limit the display position and display format of the question and answer area. In some embodiments, the terminal displays the question and answer area in full screen. The answers to the questions are displayed in the question and answer area. The solution provided by the embodiments of the present disclosure improves the screen utilization and information transmission efficiency by displaying the question and answer area in full screen so that more answer content can be displayed to the object at one time.
[0153] For example, Figure 4 FIG. 1 is a schematic diagram of a question-and-answer area according to an exemplary embodiment. Figure 4 , the terminal displays the question-and-answer area 402 in the search interface 401 in full screen form. The question-and-answer area 402 includes an input box 403 for questions. The object can enter the question to be searched in the input box 403. A search control 404 is displayed in the input box 403. In response to the triggering operation of the search control 404, the terminal displays the input question in the question-and-answer area 402, including text and files. In addition, the terminal sends the question to the server, and the large language model deployed on the server answers the question. In the process of the large language model answering the question, the terminal can display a prompt message of "executing" in the prompt box 405 in the question-and-answer area 401 to prompt that the question is being answered. In the case where the terminal obtains a complete answer, the terminal displays a prompt message of "execution completed" in the prompt box 405 to prompt that the question has been answered. In addition, the terminal displays the answer of the large language model to the input question below the prompt box 405. The answer includes text and files.
[0154] In some embodiments, the terminal may also display a sidebar while displaying the question and answer area. The sidebar is used to display questions that have been searched within a historical time period. That is, the terminal displays the question and answer area in a partial screen instead of a full screen. The embodiment of the present disclosure does not limit the display positions of the sidebar and the question and answer area. The solution provided by the embodiment of the present disclosure, by displaying a sidebar, intuitively displays the searched questions to the object, making it easier for the object to trace the search trajectory and understand the answers to the searched questions.
[0155] For example, Figure 5 FIG. 1 is a schematic diagram of another question-and-answer area according to an exemplary embodiment. Figure 5 The terminal displays a question-and-answer area 502 and a sidebar 503 in the search interface 501. The display content in the question-and-answer area 502 is the same as that in the sidebar 503. Figure 4 The display content of the question and answer area 401 is the same and will not be repeated here. The sidebar 503 displays the questions that the object has searched for in the historical time period, that is, historical questions. The historical questions can be displayed in order from the latest search time to the earliest search time, so that the latest searched questions are displayed to the object first, which is not limited by the embodiment of the present disclosure. The object can close or open the sidebar 503 at any time. In response to the closing operation of the sidebar 503, the terminal can display the question and answer area 502 in full screen form, that is, Figure 4 The styles shown will not be described in detail here.
[0156] In the disclosed embodiment, for the files in the answer, the terminal can expand a new display area, namely, the file area, based on the question and answer area to display the files in the answer in a summary manner.
[0157] The embodiment of the present disclosure does not limit the expansion method of the file area. The following exemplarily introduces three expansion methods, but is by no means limited to these.
[0158] In the first expansion method, the terminal may provide a control for expanding the file area so that the subject can expand the file area through the control to view the file in the answer. For details, please refer to the content in step 303.
[0159] In the second expansion mode, the terminal may expand the file area in response to the triggering operation of the object on the file in the question and answer area. For details, please refer to the content in step 304.
[0160] In the third expansion method, when the large language model generates a file for a question, the terminal can automatically expand the file area so that the subject can view the file in the answer. For details, please refer to the content in step 305.
[0161] That is, the subsequent steps 303, 304 and 305 are optional steps.
[0162] In step 303, in response to the triggering operation of the file management control in the question and answer area, the terminal expands the file area on the basis of displaying the question and answer area, and displays the files in the answer to the question in the file area.
[0163] In the embodiment of the present disclosure, the question and answer area includes a file management control. The file management control is used to trigger the display of files. When the file management control is triggered, the terminal expands the file area on the basis of displaying the question and answer area. The file area displays the files in the answer to the question. The embodiment of the present disclosure does not limit the display position and display form of the file management control. For example, continue to refer to Figure 4 , the file management control 406 is located in the upper right corner of the question and answer area 402.
[0164] In some embodiments, the terminal can display file prompt information on the file management control. The file prompt information is used to prompt the object to expand the file area through the file management control to view the files in the answer to the question. The file prompt information may include the number of files, and the embodiment of the present disclosure does not limit the content of the file prompt information. The solution provided by the embodiment of the present disclosure, by displaying the file prompt information on the file management control, intuitively prompts the object to view the operation method of the file in the answer, which is conducive to the object to quickly trigger the file management control to view the file, thereby improving the efficiency of information transmission and human-computer interaction.
[0165] Among them, the terminal can display file prompt information whenever the large language model obtains a file for a question; or, the terminal can also display file prompt information when the object has not expanded the file area (that is, when the function of the file management control has not been used). The embodiment of the present disclosure does not limit the display timing of the file prompt information. Optionally, when the number of triggers for the file management control is zero, the terminal displays the file prompt information on the file management control. In the solution provided by the embodiment of the present disclosure, since the object has not triggered the file management control, the object is very likely not clear about how to view the file in the answer. In this case, the file prompt information is displayed, which is conducive to the object triggering the file management control to view the file more quickly, thereby improving the efficiency of information transmission and human-computer interaction; after the object has triggered the file management control, the object is very likely to have clearly understood how to view the file in the answer. In this case, there is no need to display the file prompt information, which can save running consumption.
[0166] In some embodiments, the terminal displays the file area side by side on the basis of displaying the question and answer area, and displays the files in the answer to the question in the file area. Among them, the terminal can display the question and answer area and the file area side by side horizontally, or the terminal can also display the question and answer area and the file area side by side vertically, which is not limited by the embodiments of the present disclosure. The solution provided by the embodiments of the present disclosure ensures that the content in each area can be directly presented to the object by displaying the question and answer area and the file area side by side, without any obstruction, so that the object can view the specific content of the answer while viewing the files in the answer, thereby improving the screen utilization rate and information transmission efficiency.
[0167] In some embodiments, when the question and answer area is displayed in full screen, when the file area is expanded, the terminal can shrink the question area to accommodate the newly expanded file area. Accordingly, the terminal shrinks the question and answer area, and expands the file area in the area outside the shrunken question and answer area. The files in the answer to the question are displayed in the file area. In the solution provided by the embodiment of the present disclosure, if there are files in the answer, the question and answer area will be shrunk, and the file area will be expanded in the area outside the shrunken question and answer area, ensuring that the question and answer area and the file area are displayed independently of each other, and there is no situation where the content in the area is blocked, so that the object can view the specific content of the answer while viewing the files in the answer, which also improves the screen utilization and information transmission efficiency.
[0168] For example, Figure 6 FIG. 1 is a schematic diagram showing an expansion of a file area according to an exemplary embodiment. Figure 6 , when the question and answer area 602 in the search interface 601 is displayed in full screen (similar to Figure 4 ), when the file area 603 is expanded, the terminal reduces the width of the question and answer area 602 and expands the file area 603 on the right side of the search interface 601. The file area 603 displays the files in the question and answer area, including the files in the question and the files in the answer.
[0169] In other embodiments, when a sidebar is displayed in the search interface, when the file area is expanded, the terminal can retract the sidebar to accommodate the newly expanded file area. Accordingly, in response to displaying the file area, the terminal displays that the sidebar is retracted. By retracting the sidebar, this method ensures that the file area has more display area, which is convenient for the object to view the files in the file area, and is conducive to improving the efficiency of information transmission.
[0170] For example, see Figure 6 , when the question and answer area 602 and the sidebar are displayed in the search interface 601 (similar to Figure 5), when the file area 603 is expanded, the terminal collapses the sidebar, displays the question and answer area 602 moving to the left, and expands the file area 603 on the right side of the search interface 601. This is equivalent to replacing the sidebar with the file area 603. Alternatively, after the sidebar is collapsed, the terminal can also adjust the size of the question and answer area 602 while moving the question and answer area 602 to the left, so as to reserve more display space for the expanded file area 603. The embodiments of the present disclosure are not limited to this.
[0171] The above methods for displaying the file area can be combined, and the embodiments of the present disclosure are not limited thereto. For example, the terminal collapses the sidebar, shrinks the question and answer area, and expands the file area in the area outside the shrunken question and answer area. The expanded file area and the question and answer area are displayed side by side.
[0172] In the disclosed embodiment, after the file area is expanded, the disclosed embodiment does not limit the display form of the files in the file area. Optionally, the terminal can display the files in the answer to the question in the form of a file list in the file area. The method displays the files in the answer in the form of a list, which more intuitively and clearly shows the files in the answer to the object, so that the object can know the files in the answer at one time, improving the efficiency of information transmission. The disclosed embodiment does not limit the display position and display form of the file area.
[0173] When the file area is expanded, the terminal can also display the content of any file in the question and answer area in the file area. Optionally, in response to an open operation on any file in the file list, the terminal displays the content of the file in the file area. This method enables the object to open any file in the list in the file area for viewing, without having to search for each file in the question and answer area or jump to other interfaces to display the file content, thereby improving the efficiency of human-computer interaction.
[0174] For example, in Figure 6 When "Answer-File 1" in the file list in the file area is triggered, the terminal displays the content of "Answer-File 1" in the file area. Figure 7 , Figure 7 701 is a schematic diagram showing a display of file content according to an exemplary embodiment. The content of "Answer-File 1" is displayed in the file area 701. Due to the limitation of the area size, only the first two pages of content are currently displayed. In response to a sliding operation on the content in the file area 701, the terminal can display more content of "Answer-File 1".
[0175] In some embodiments, in response to a closing operation on an opened file in the file area, the terminal closes the content of the file and displays the file in a closed state in the file area. The solution provided by the embodiment of the present disclosure allows an object to close an opened file in the file area at any time, and the file is in the file area in a closed state, so that the object can open or close the file in the file area at any time, and the operation is more flexible and in line with the object's intention.
[0176] For example, see Figure 7 , a close control 702 is displayed in the file area 701. In response to the triggering operation of the close control 702, the terminal closes the content of "Answer-File 1" and returns to Figure 6 In the state shown, "Answer-File 1" is displayed in the file area 701 in a closed state.
[0177] In step 304, in response to a triggering operation on a target file in the question and answer area, the terminal expands the file area on the basis of displaying the question and answer area, and displays at least one item of the content of the file in the answer to the question and the target file in the file area, where the target file is any file in the answer to the question.
[0178] In an embodiment of the present disclosure, when any file in the question and answer area is triggered, the terminal expands the file area on the basis of displaying the question and answer area. At least one of the files in the answer to the question and the content of the target file can be displayed in the file area. That is, when any file in the question and answer area is triggered, the terminal can summarize and display the files in the question and answer area in the file area, and subsequent objects can view the file content by triggering the files in the file area. Alternatively, when any file in the question and answer area is triggered, the terminal can also directly display the content of the triggered file in the file area. This embodiment of the present disclosure is not limited to this.
[0179] The solution provided by the embodiment of the present disclosure can expand the file area to display all the files in the answer in a summary manner when the object triggers any file in the answer in the question and answer area, so that the object can know all the files in the answer at one time, thereby improving the efficiency of information transmission; or, it can directly display the content of the opened file in the file area, and the file content can be directly viewed without the object being triggered a second time, thereby improving the efficiency of human-computer interaction.
[0180] The display process of the file area in step 304 is based on the same principle as the display process of the file area in step 303. For example, in the process of expanding the file area in step 304, the sidebar may be collapsed, the question and answer area may be reduced, and the file area may be expanded in an area outside the reduced question and answer area, and the expanded file area and the question and answer area may be displayed side by side, etc., which will not be described in detail here. After expanding the file area, the display method of the files in the file area in step 304 (such as list display, display of file content, etc.) is based on the same principle as the display method of the files in the file area in step 303, which will not be described in detail here.
[0181] In some embodiments, the file area includes multiple operation controls for editing the content of the file. The object can edit the content of any opened file through multiple operation controls. Taking the above-mentioned target file as an example, accordingly, in the case where the content of the target file is already displayed in the file area, in response to the triggering operation of any of the multiple operation controls, the terminal displays the content of the target file edited based on the operation control in the file area. Multiple operation controls may include text editing controls (such as text boxes, font setting controls, color value controls, font size setting controls, etc.), image editing controls (such as cropping controls, mirroring controls, rotation controls, etc.), video editing controls (such as special effects selection controls, video tracks, etc.), audio editing controls, and code editing controls, etc., which are not limited in the embodiments of the present disclosure.
[0182] The solution provided by the embodiment of the present disclosure improves the efficiency of human-computer interaction by providing multiple operation controls for editing file contents in the file area so that the object can directly edit the contents of any file in the answer through the multiple operation controls during the question-and-answer process without downloading it locally.
[0183] For the file area expanded in any way from step 303 to step 305, the above-mentioned multiple operation controls can be displayed in the file area, so that the object can edit the file in the file area after expanding the file area in any way, which will not be repeated here.
[0184] In step 305, the terminal expands the file area on the basis of displaying the question and answer area, and displays the generation process of the file in the answer to the question in the file area.
[0185] In the embodiment of the present disclosure, when the large language model generates a file for a question, the terminal automatically opens the file area on the basis of displaying the question and answer area, and displays the generation process of the file in the file area. The solution provided by the embodiment of the present disclosure, when the large language model generates a file for a question, can expand a new file area on the basis of the question and answer area to display the generation process of the file, intuitively showing the object the process of answering the question by the large language model, increasing the transparency of the file in the answer, allowing the object to clearly know the source of the file, and improving the efficiency of information transmission.
[0186] The embodiments of the present disclosure do not limit the display method of the file generation process. The terminal can use a numerical value to reflect the file generation process (or generation progress). Accordingly, in the process of the large language model generating any file for the problem, the terminal displays the file generation progress value at the target position in the file area. The target position is used to display the file after the file has been generated. Alternatively, the terminal can also directly display the content of the file to reflect the file generation process (or generation progress). Accordingly, in the process of the large language model generating any file for the problem, the terminal displays the generated content in the file in the file area. The above two methods can be used in combination, that is, the terminal can simultaneously display the file generation progress value and the generated content in the file.
[0187] The solution provided by the disclosed embodiment, during the process of a large language model generating any file, by displaying the file generation progress value or the generated file content at a target position in the file area, not only intuitively reflects the file generation progress, but also to a certain extent reflects the progress of the large language model in answering the question, which is convenient for the subject to understand and control the answering process, and the subject can see the file content during the answering process, without having to wait for the file to be generated before checking, thereby improving the efficiency of information transmission; and the target position will also display the generated file, which is conducive to enhancing the subject's recognition of the file, thereby improving the subject's experience.
[0188] After the file is generated, the terminal displays the file in the file area. The disclosed embodiments do not limit the manner in which the terminal displays files. In some embodiments, when any file in the answer to the question has been generated, the terminal displays the file in the file area. That is, whenever the large language model generates a file, it can be displayed in the file area, which makes it easy for the object to promptly know the files generated by the large language model, thereby improving the efficiency of information transmission. In other embodiments, when the files in the answer to the question have been generated, the terminal arranges and displays the files in the answer to the question in the file area. That is, when the files in the answer have been generated, the generated files are arranged and displayed, and the information is neater, which makes it easy for the object to quickly know the files in the answer, thereby also improving the efficiency of information transmission.
[0189] Among them, for the solution of displaying each file as it is generated, if only the generation progress value of the file is displayed during the generation of the file, then when the file has been generated, the generation progress value at the target position is directly replaced with the file, and the file is in a closed state. If the file content is displayed during the generation of the file, then when the file has been generated, the file content is closed. Correspondingly, if the generated content in the file is displayed during the generation of any file in the answer to the question, then when the file has been generated, the terminal closes the file content. Then, the terminal displays the file in a closed state in the file area. The solution provided by the embodiment of the present disclosure is for the case where the file content is displayed during the file generation process. After the entire file is generated, the file content is closed and the file in a closed state is displayed, which not only intuitively reflects that the file has been generated, but also automatically closes the file content based on the object having read the file content, freeing up the content display area for the subsequent file generation, without the need for manual operation by the user, thereby improving the efficiency of human-computer interaction.
[0190] In the above-mentioned solution for arranging and displaying files, the embodiment of the present disclosure does not limit the arrangement and display method. Three arrangement methods are exemplarily introduced below, but are by no means limited thereto.
[0191] First, when the files in the answer to the question have been generated, the terminal arranges and displays the files in the answer to the question in the file area in the order of the file generation time from the earliest to the latest.
[0192] Second, when the files in the answer to the question have been generated, the terminal arranges and displays the files in the answer to the question in the file area in the order in which the files appear in the question and answer area.
[0193] The third type is that when the file in the answer to the question has been generated, the terminal displays the file in the answer to the question in the file area according to the file source. The file source can be divided into two categories: generated by the large language model and retrieved by the large language model, which is not limited in the embodiment of the present disclosure. If the file in the question can also be displayed in the file area, the file in the question belongs to a separate category.
[0194] In the scheme provided by the embodiment of the present disclosure, the files in the answer can be arranged in order from early to late according to the generation time, so that the object can clearly know the generation order of the files, and thus it is easier to find the required files for viewing, which is beneficial to improving the efficiency of human-computer interaction; or they can be arranged in the order of appearance of the files in the question and answer area, so that when the object views the answers in the question and answer area, it can find the corresponding files in the file area in order for viewing, which is also beneficial to improving the efficiency of human-computer interaction; or they can be displayed according to the file source classification, so that the object can clearly know the file source, so as to have a deeper understanding of the file, thereby improving the efficiency of information transmission.
[0195] Regardless of which expansion method is used in step 303 to step 305, the expanded file area can display the files in the answer to the question (for example, display the files in the form of a list), the content of any file, edit any file, etc., and the principle is the same. Please refer to the content in step 303 and step 304, which will not be repeated here.
[0196] In some embodiments, the terminal can adjust the size of any area in the question and answer area and the file area. Accordingly, for any area in the question and answer area and the file area, in response to the size adjustment operation of the area, the terminal displays the area at the size indicated by the size adjustment operation. In the scheme provided by the embodiment of the present disclosure, the sizes of the question and answer area and the file area are adjustable, which has higher flexibility, so that the object can adjust the size of any area to a size that meets its own needs according to its own needs, in accordance with the object's intention.
[0197] The size of each area in the question and answer area and the file area can be adjusted separately without affecting each other. Alternatively, the terminal can also adjust the size of the question and answer area and the file area at the same time, that is, the sizes of the two areas are related. For example, they are anti-correlated, the size of one area increases, the size of the other area decreases, and the size changes of the areas are equal.
[0198] For example, Figure 8 FIG. 1 is a schematic diagram showing a method of adjusting the size of a region according to an exemplary embodiment. Figure 8 In response to the left sliding operation on the right frame of the question and answer area 801, the width of the question and answer area 801 displayed by the terminal is reduced, and accordingly, the width of the file area 802 is increased. The reduction amount of the width of the question and answer area 801 is equal to the increase amount of the width of the file area 802.
[0199] In some embodiments, when a certain file has been opened in the file area, the terminal can also open other files. Among them, the terminal can first close the previously opened file, and then display the content of the newly opened file in the file area. Alternatively, the terminal can also display the content of the newly opened file without closing the previously opened file. Accordingly, when the content of the first file is displayed in the file area, in response to the opening operation of the second file, the terminal displays the content of the second file on the basis of displaying the content of the first file. The solution provided by the embodiment of the present disclosure can open another file based on the already opened file, and the content of the newly opened file will not interfere with the display process of the already opened file, that is, when opening a certain file, the previously opened file will not be closed, so that the object can view the content of the already opened file at any time without opening it repeatedly, thereby improving the efficiency of information transmission and human-computer interaction.
[0200] The embodiment of the present disclosure does not limit the display position of the second file. Optionally, the terminal can add a content display area in the form of suspension, pop-up window or drawer to display the content of the second file.
[0201] For example, Fig. 9 FIG. 1 is a schematic diagram showing a second file according to an exemplary embodiment. Fig. 9 In the case where the content of "Answer-File 1" is already displayed in the file area 901, in response to the opening operation of "Answer-File 2", the terminal adds a floating panel 902 on the upper layer of the working area 901, and displays the content of "Answer-File 2" in the floating panel. The size of the floating panel 902 is adjustable.
[0202] In the embodiment of the present disclosure, for the file in the answer provided by the large language model, the terminal can directly use the file in the file area. "Using the file" can be publishing the file to a specified location (for example, publishing the code file to a certain platform) or sending the file to other objects, etc., which is not limited in the embodiment of the present disclosure.
[0203] In some embodiments, the terminal displays a file publishing control. The embodiment of the present disclosure does not limit the display position and display form of the price inquiry publishing control. When any file in the file area is selected, in response to the triggering operation of the file publishing control, the terminal publishes the file to the address specified by the object. The solution provided by the embodiment of the present disclosure provides a file publishing control, so that the object can directly publish the file in the answer through the file publishing control, without downloading it locally, so that the application of the file can be realized, thereby improving the efficiency of human-computer interaction.
[0204] The disclosed embodiments provide an information display method. In the process of searching for questions using a large language model, the answer to the question obtained by the large language model can not only display the complete answer in the question and answer area, ensuring that the subject can clearly understand the overall response of the large language model, but also, when there are files in the answer, a new display area can be expanded on the basis of the question and answer area, namely the file area, and the files in the answer can be summarized and displayed in the file area, so that the subject can know the files in the answer at one time, thereby improving the efficiency of information transmission; and it is beneficial for the subject to quickly check the content of any file in the answer without having to search for each file in the question and answer area, that is, it is beneficial to improve the efficiency of human-computer interaction, thereby improving the search experience of the subject.
[0205] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.
[0206] Fig.10is a block diagram of an information display device according to an exemplary embodiment. Fig.10 , the information display device comprises:
[0207] An acquisition unit 1001 is configured to execute a search operation in response to a question and acquire an answer obtained by the large language model for the question, the answer including text and files;
[0208] The display unit 1002 is configured to display the answer to the question in the question and answer area;
[0209] The display unit 1002 is further configured to display the files in the answer to the question in the file area based on displaying the question and answer area, and the file area is different from the question and answer area.
[0210] In some embodiments, the question and answer area includes a file management control, and the file management control is used to trigger the display of the file;
[0211] The display unit 1002 is configured to execute, in response to a triggering operation on the file management control, expand the file area on the basis of displaying the question and answer area, and display the files in the answer to the question in the file area.
[0212] In some embodiments, the display unit 1002 is configured to display the files in the answer to the question in the form of a file list in the file area; in response to an opening operation of any file in the file list, display the content of the file in the file area.
[0213] In some embodiments, the display unit 1002 is configured to display file prompt information on the file management control, where the file prompt information is used to prompt the object to expand the file area through the file management control to view the file in the answer to the question.
[0214] In some embodiments, the display unit 1002 is configured to display file prompt information on the file management control when the number of triggers for the file management control is zero.
[0215] In some embodiments, the display unit 1002 is configured to execute a trigger operation in response to a target file in the question and answer area, expand the file area on the basis of displaying the question and answer area, and display at least one item of the content of the file in the answer to the question and the target file in the file area, where the target file is any file in the answer to the question.
[0216] In some embodiments, the file area includes a plurality of operation controls for editing the file content;
[0217] The display unit 1002 is further configured to, when the content of the target file is already displayed in the file area, display the content of the target file edited based on the operation control in the file area in response to a triggering operation on any one of the multiple operation controls.
[0218] In some embodiments, the display unit 1002 is configured to execute a process of expanding the file area and displaying the answer to the question in the file area based on displaying the question and answer area.
[0219] In some embodiments, the display unit 1002 is configured to perform at least one of the following:
[0220] During the process of generating any file for a question by the large language model, the generation progress value of the file is displayed at the target position in the file area, and the target position is used to display the file after the file has been generated;
[0221] When the large language model generates any file for a question, the generated content of the file is displayed in the file area.
[0222] In some embodiments, the display unit 1002 is further configured to perform any of the following:
[0223] If any file in the answer to the question has been generated, the file is displayed in the file area;
[0224] If the files in the answer to the question have been generated, the files in the answer to the question are displayed in the file area.
[0225] In some embodiments, the display unit 1002 is configured to execute if the generated content of any file in the answer to the question is displayed during the process of generating the answer to the question, then if the file has been generated, close the content of the file; and display the closed file in the file area.
[0226] In some embodiments, the display unit 1002 is configured to perform at least one of the following:
[0227] If the files in the answer to the question have been generated, the files in the answer to the question are displayed in the file area in the order of the file generation time from the earliest to the latest;
[0228] When the files in the answer to the question have been generated, the files in the answer to the question are arranged and displayed in the file area in the order in which the files appear in the question and answer area;
[0229] If the files in the answer to the question have been generated, the files in the answer to the question are displayed in the file area in a classified manner according to the source of the files.
[0230] In some embodiments, the display unit 1002 is configured to display the question and answer area in full screen format, display the answer to the question in the question and answer area; shrink the question and answer area, and expand the file area in the area outside the shrunken question and answer area, and display the file in the answer to the question in the file area.
[0231] In some embodiments, the display unit 1002 is configured to display the file area side by side based on displaying the question and answer area, and display the file in the answer to the question in the file area.
[0232] In some embodiments, the display unit 1002 is further configured to, in response to a size adjustment operation of the region, display the region in a size indicated by the size adjustment operation for any region in the question and answer region and the file region.
[0233] In some embodiments, the display unit 1002 is further configured to display a sidebar while displaying the question and answer area, the sidebar being used to display questions that have been searched within a historical time period; in response to displaying the file area, the sidebar is collapsed.
[0234] In some embodiments, the display unit 1002 is further configured to, when the content of the first file is displayed in the file area, in response to an opening operation on the second file, display the content of the second file based on the display of the content of the first file.
[0235] In some embodiments, the display unit 1002 is further configured to execute a closing operation on an opened file in the file area, close the content of the file, and display the closed file in the file area.
[0236] In some embodiments, the display unit 1002 is further configured to execute display of a file publishing control; when any file in the file area is selected, in response to a triggering operation on the file publishing control, the file is published to an address specified by the object.
[0237] The disclosed embodiment provides an information display device. In the process of searching for questions using a large language model, the answer to the question obtained by the large language model can not only display the complete answer in the question and answer area, ensuring that the subject can clearly understand the overall response of the large language model, but also when there are files in the answer, a new display area can be expanded on the basis of the question and answer area, that is, the file area, and the files in the answer are summarized and displayed in the file area, so that the subject can know the files in the answer at one time, thereby improving the efficiency of information transmission; and it is beneficial for the subject to quickly check the content of any file in the answer without having to search for each file in the question and answer area, that is, it is beneficial to improve the efficiency of human-computer interaction, thereby improving the search experience of the subject.
[0238] It should be noted that the information display device provided in the above embodiment only uses the division of the above functional units as an example when displaying the answer to the question. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device is divided into different functional units to complete all or part of the functions described above. In addition, the information display device provided in the above embodiment and the information display method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0239] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0240] When an electronic device is provided as a terminal, Fig.11 FIG. 1 is a block diagram of a terminal 1100 according to an exemplary embodiment. Fig.11 The structure block diagram of a terminal 1100 provided by an exemplary embodiment of the present disclosure is shown. The terminal 1100 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The terminal 1100 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0241] Typically, the terminal 1100 includes a processor 1101 and a memory 1102 .
[0242] The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0243] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1102 is used to store at least one computer program, which is executed by the processor 1101 to implement the information display method provided in the method embodiment of the present application.
[0244] In some embodiments, the terminal 1100 may further optionally include: a peripheral device interface 1103 and at least one peripheral device. The processor 1101, the memory 1102 and the peripheral device interface 1103 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107 and a power supply 1108.
[0245] The peripheral device interface 1103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, the memory 1102, and the peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102, and the peripheral device interface 1103 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0246] The radio frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1104 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1104 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1104 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0247] The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to collect touch signals on the surface or above the surface of the display screen 1105. The touch signal can be input to the processor 1101 as a control signal for processing. At this time, the display screen 1105 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1105 can be one, set on the front panel of the terminal 1100; in other embodiments, the display screen 1105 can be at least two, respectively set on different surfaces of the terminal 1100 or in a folding design; in other embodiments, the display screen 1105 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1100. Even, the display screen 1105 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0248] The camera assembly 1106 is used to capture images or videos. In some embodiments, the camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash may be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0249] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1101 for processing, or input them into the radio frequency circuit 1104 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1100. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1107 may also include a headphone jack.
[0250] The power supply 1108 is used to power various components in the terminal 1100. The power supply 1108 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0251] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the terminal 1100, and the terminal 1100 may include more or fewer components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0252] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1102 including instructions, and the instructions can be executed by a processor 1101 of the terminal 1100 to complete the above information display method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0253] A computer program product comprises a computer program / instruction, wherein the computer program / instruction implements the above-mentioned information display method when executed by a processor.
[0254] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0255] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information display method, characterized in that: The method comprises: In response to a search operation on a question, obtaining an answer obtained by the large language model for the question, the answer including text and files; Displaying answers to said questions in a question and answer area; On the basis of displaying the question and answer area, in a file area, files that are answers to the questions are displayed, and the file area is different from the question and answer area.
2. The information display method according to claim 1, characterized in that: The question and answer area includes a file management control, and the file management control is used to trigger the display of the file; The step of displaying the files in the answer to the question in the file area on the basis of displaying the question and answer area includes: In response to a triggering operation on the file management control, the file area is expanded on the basis of displaying the question and answer area, and the files in the answer to the question are displayed in the file area.
3. The information display method according to claim 2, characterized in that: The file in the answer to the question displayed in the file area includes: In the file area, the files in the answer to the question are displayed in the form of a file list; The method further comprises: In response to an opening operation on any file in the file list, the content of the file is displayed in the file area.
4. The information display method according to claim 2, characterized in that: The method further comprises: File prompt information is displayed on the file management control, and the file prompt information is used to prompt the object to expand the file area through the file management control to view the file in the answer to the question.
5. The information display method according to claim 1, characterized in that: The step of displaying the files in the answer to the question in the file area on the basis of displaying the question and answer area includes: In response to a triggering operation on a target file in the question and answer area, the file area is expanded on the basis of displaying the question and answer area, and at least one item of the file in the answer to the question and the content of the target file is displayed in the file area, and the target file is any file in the answer to the question.
6. The information display method according to claim 5, characterized in that: The file area includes a plurality of operation controls for editing file content; The method further comprises: In a case where the content of the target file is already displayed in the file area, in response to a triggering operation on any one of the plurality of operation controls, the content of the target file edited based on the operation control is displayed in the file area.
7. The information display method according to claim 1, characterized in that: The step of displaying the files in the answer to the question in the file area on the basis of displaying the question and answer area includes: On the basis of displaying the question and answer area, the file area is expanded, and the generation process of the file in the answer to the question is displayed in the file area.
8. The information display method according to claim 7, characterized in that: The process of generating the file in the file area displaying the answer to the question includes at least one of the following: In the process of generating any file for the question by the large language model, displaying the generation progress value of the file at a target position in the file area, the target position being used to display the file after the file has been generated; In the process of the large language model generating any file for the question, the generated content of the file is displayed in the file area.
9. The information display method according to claim 7, characterized in that: The method further comprises any of the following: If any file in the answer to the question has been generated, display the file in the file area; If documents in the answer to the question have been generated, the documents in the answer to the question are arranged and displayed in the document area.
10. The information display method according to claim 9, characterized in that: In the case where the files in the answer to the question have been generated, arranging and displaying the files in the answer to the question in the file area includes at least one of the following: In the case where the files in the answer to the question have been generated, the files in the answer to the question are arranged and displayed in the file area in the order of the file generation time from earliest to latest; In the case where the files in the answer to the question have been generated, arranging and displaying the files in the answer to the question in the file area in the order in which the files appear in the question and answer area; In the case where the documents in the answer to the question have been generated, the documents in the answer to the question are classified and displayed in the document area according to the source of the documents.
11. The information display method according to claim 1, characterized in that: The displaying of the answer to the question in the question and answer area includes: Displaying the question and answer area in full screen form, wherein the answer to the question is displayed in the question and answer area; The step of displaying the files in the answer to the question in the file area on the basis of displaying the question and answer area includes: The question and answer area is reduced, and the file area is expanded in an area outside the reduced question and answer area, wherein the file in the answer to the question is displayed in the file area.
12. The information display method according to claim 1, characterized in that: The method further comprises: For any one of the question and answer area and the document area, in response to a size adjustment operation on the area, the area is displayed in a size indicated by the size adjustment operation.
13. The information display method according to claim 1, characterized in that: The method further comprises: When the content of a first file is displayed in the file area, in response to an opening operation of a second file, the content of the second file is displayed in addition to the content of the first file.
14. An information display device, characterized in that: The device comprises: an acquisition unit, configured to execute a search operation in response to a question and acquire an answer obtained by the large language model for the question, wherein the answer includes text and a file; A display unit configured to display the answer to the question in the question and answer area; The display unit is further configured to display the files in the answer to the question in a file area based on displaying the question and answer area, and the file area is different from the question and answer area.
15. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the information display method according to any one of claims 1 to 13.