Answer content display method and device and computer readable storage medium

By synchronously displaying the reading and answer content in different screen areas of the electronic device and using controls and reference identifiers to display the correspondence between the two, the problem of users having difficulty understanding the logical relationship between the answer content and the reading content is solved, thereby improving the user experience.

CN120687006APending Publication Date: 2025-09-23HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510603485.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

When reading content, it is difficult for users to closely connect the answer content with the content being read, resulting in a poor user experience and an inability to effectively understand the logical relationship between the two.

Method used

By displaying the reading content and the answer content in different screen areas of the electronic device respectively, and using controls and reference marks to show the correspondence between the two, users are supported to view the content in comparison.

Benefits of technology

It improves the user experience during reading and question-answering, helping users understand the reading content and answer the questions more deeply and effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120687006A_ABST
    Figure CN120687006A_ABST
Patent Text Reader

Abstract

The invention discloses an answer content display method and device and a computer readable storage medium, relates to the technical field of smart questions and answers, and can solve the problem that a user is inconvenient to contrast and view read content when using a question and answer service. In the application, the electronic device synchronously displays the reading content (such as the document) and the answer content in different screen areas, so that a user can conveniently perform operation switching between the reading content (such as the document) and the answer content, the user can conveniently check the answer content and the reading content in a contrast manner, and the user is helped to deeply and effectively understand the reading content and the answer content.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202411474610.5, and the original application date is October 21, 2024. The entire content of the original application is incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of intelligent question-answering technology, and in particular to a method and device for displaying answer content and a computer-readable storage medium. Background Art

[0003] Artificial intelligence (AI)-assisted reading is a common use case for AI technology. For example, applications such as smart assistants can leverage AI technology to provide users with services such as assisting with reading content, quickly understanding content, and answering questions.

[0004] Currently, when reading content, users ask questions related to the content they are reading, and the electronic device provides answers and displays them to the user. When users browse the answers, it is difficult to closely connect the answers with the content they are reading, and it is difficult to obtain the logical relationship between the answers and the content they are reading, resulting in a poor user experience. Summary of the Invention

[0005] The present application provides a method, device and computer-readable storage medium for displaying answer content, which can support users to compare answer content and reading content in a reading scenario, helping users to understand the reading content and answer content more deeply and effectively.

[0006] To achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, a method for displaying answer content is provided, which may be applied to an electronic device including a first screen area and a second screen area, wherein the second screen area is different from the first screen area, and the method includes: the electronic device displays reading content in the first screen area; after receiving a user's question operation, the electronic device obtains answer content for the user's question, the answer content includes a first sub-content, and the first sub-content is generated based on the second sub-content in the reading content; the electronic device displays the answer content and the correspondence between the first sub-content and the second sub-content in the second screen area.

[0008] The solution provided in the first aspect above is that the electronic device can facilitate users to switch between reading content (such as documents) and answer content by synchronously displaying reading content (such as documents) and answer content in different screen areas, and facilitate users to compare and view answer content and reading content, helping users to understand reading content and answer content more deeply and effectively.

[0009] As an example, the display content of the first screen area and the display content of the second screen area are provided by the first application; or, the display content of the first screen area is provided by the second application, and the display content of the second screen area is provided by the first application.

[0010] As an example, the first application includes but is not limited to a question-and-answer assistant, a learning assistant, etc.; the second application includes but is not limited to one or more of the following: a news application, an office application, a browser application, a reading application, a classroom application, a browser application, an email application, a memo application, a calendar application, etc.

[0011] As an example, the electronic device includes a first display screen and a second display screen, the first screen area is the first display screen, and the second screen area is the second display screen; or, the electronic device includes one display screen, and the first screen area and the second screen area are different screen areas in the one display screen.

[0012] As one possible implementation, the electronic device displays the correspondence between the first sub-content and the second sub-content by: displaying the correspondence via a control indicating the first sub-content, the control being used to trigger prominent display of the second sub-content in a first screen area; and / or displaying a reference identifier and a reference source, the reference identifier and the reference source being used to indicate that the first sub-content was generated based on the second sub-content in the reading content. This facilitates the user's ability to compare the answer content with the reading content, helping the user to more deeply and effectively understand the reading content and the answer content.

[0013] As an example, prominent display includes but is not limited to one or more of the following: centered display, highlighted display, underlined display, framed display, enlarged display, distinctive color display, etc.

[0014] As a possible implementation, the method further includes: in response to a user clicking the control or reference marker, the electronic device prominently displaying the second sub-content in the first screen area. This not only allows the user to quickly understand the relationship between the answer and the reading content, but also facilitates the user to compare the answer and the reading content, quickly identifying the reference source of the answer, and helping the user to more deeply and effectively understand the reading and answer content.

[0015] As a possible implementation, the method further includes: the electronic device prominently displaying one or more of the following: the first sub-content, the control, the reference identifier, and the reference source information. This allows the user to quickly understand the relationship between the answer and the reading content, and quickly identify the reference source of the answer.

[0016] As a possible implementation, the electronic device obtains the answer content to the user's question, including: the electronic device obtains the answer content to the user's question through a language model based on one or more of the following: reading content, a model knowledge base, and a network search. Exemplarily, the language model may include, but is not limited to, at least one of the following: a large-scale language model (LLM) and a multimodal large-scale language model (MLLM). The specific type of language model is not limited in this embodiment of the application.

[0017] In a second aspect, an electronic device is provided, the electronic device comprising: a memory for storing computer program instructions; a processor for executing the computer program instructions to support the electronic device to implement the method in any possible implementation of the first aspect

[0018] In a third aspect, a readable storage medium is provided, on which program instructions are stored. When the program instructions are executed by a device, the method in any possible implementation of the first aspect can be implemented.

[0019] In a fourth aspect, a program product comprising instructions is provided, which, when executed on a device, enables the device to execute the method in any possible implementation of the first aspect.

[0020] In a fifth aspect, a chip system is provided, comprising a processing circuit and a storage medium storing program instructions; when the processing circuit executes the program instructions, the method of any possible implementation of the first aspect is implemented. The chip system may be composed of a chip alone or may include a chip and other discrete components. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a schematic diagram of a page in a question-and-answer scenario;

[0022] Figure 2 This is a schematic diagram of a page in another question-and-answer scenario;

[0023] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0024] Figure 4 Schematic diagrams of two implementation architectures provided for embodiments of the present application;

[0025] Figure 5 Schematic diagrams of two other implementation architectures provided for embodiments of the present application;

[0026] Figure 6Flowchart of two answer content display methods provided in embodiments of the present application;

[0027] Figure 7A Schematic diagram of the answer content display interface provided in the embodiment of this application Figure 1 ;

[0028] Figure 7B Schematic diagram of the answer content display interface provided in the embodiment of this application Figure 2 ;

[0029] Figure 7C Schematic diagram of the answer content display interface provided in the embodiment of this application Figure 3 ;

[0030] Figure 8 Schematic diagram of the answer content display interface provided in the embodiment of this application Figure 4 ;

[0031] Figure 9 Schematic diagram of the answer content display interface provided in the embodiment of this application Figure 5 . DETAILED DESCRIPTION

[0032] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0033] Hereinafter, the terms "first," "second," and so on are used solely to distinguish different descriptive objects and have no limiting effect on the position, order, priority, quantity, or content of the described objects. For example, if the described object is a "field," the ordinal number preceding the "field" in "first field" and "second field" does not define the position or order of the "fields." "First" and "second" do not define whether the modified "fields" are in the same message, nor do they restrict the order of the "first field" and "second field." For another example, if the described object is a "level," the ordinal number preceding the "level" in "first level" and "second level" does not define the priority of the "levels." For another example, the number of described objects is not limited by the ordinal number and can be one or more. For example, in the case of "first device," the number of "devices" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the described object is a "device," the "first device" and "second device" can be the same type of device or different types of devices. For another example, if the described object is "information," the "first information" and "second information" can be information of the same content or different contents. In short, the use of prefixes such as ordinal numbers to distinguish the described objects in the embodiments of the present application does not constitute a restriction on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary restrictions should be constituted due to the use of such prefixes.

[0034] Furthermore, in the embodiments of the present application, "connection" may be a direct connection or an indirect connection; in addition, it may refer to an electrical connection or a communication connection; for example, the connection between two electrical components A and B may refer to a direct connection between A and B, or may refer to an indirect connection between A and B through other electrical components or connection media, or may refer to an indirect connection between A and B through other communication devices or communication media, as long as communication between A and B can be achieved.

[0035] In conventional question-and-answer scenarios for reading content, electronic devices cannot display both the reading content and the answer content at the same time. Figure 1 , Figure 1 A schematic diagram of a page in a question-and-answer scenario is shown. Figure 1 As shown, when the user reads document A on interface 101, in response to the user's questions about the content of document A (such as Figure 1 As shown in the “Summary”), as shown in interface 102, the electronic device displays the answer page instead of the content of document A. The answer page includes a summary of the document generated by AI technology. Figure 1 As shown in the middle interface 102, when the electronic device displays the answer page, since the electronic device does not display the document, the user cannot compare the summary and the document, nor can he quickly switch between the summary and the document.

[0036] In order to improve the user's question-answering experience, in some embodiments, such as Figure 2 As shown, the electronic device can respond to the user's questions about the content of document A (such as Figure 2 "Summary Summary"), such as Figure 2 As shown in the interface 202 in FIG, the answer page is displayed on the reading page in a suspended manner, and the answer page includes a summary of document A generated by AI technology. Figure 2 The solution of floating the answer content (such as the answer page) on the reading content (such as the reading page) is compared with Figure 1 The solution shown can facilitate users to switch from the top display of answer content to the top display of reading content, but Figure 2 In the scheme shown, the floating display of the answer content will block the reading content, and does not support independent manipulation of the answer content and the reading content. Figure 1 The scheme shown is similar, Figure 2 The solution shown still does not support users to compare summaries and documents, and the user experience is still poor.

[0037] To address the aforementioned issues with conventional technologies, an embodiment of the present application provides a method for displaying answer content. This method can provide content reading services and question-and-answer services in different screen areas in a reading scenario, such as displaying reading content and answer content in different screen areas of an electronic device, with the answer content including answers to user questions. This solves the problem in conventional technologies where it is inconvenient for users to compare and view the reading content when using the question-and-answer service. This method provides users with both content reading services and question-and-answer services, making it convenient for users to compare and view the answer content with the reading content, thereby helping users to understand the reading content and answer content more deeply and effectively.

[0038] In some embodiments, the electronic device may also display a reference identifier at the corresponding sub-content of the answer content (recorded as "question and answer sub-content") when the answer content refers to a sub-content in the reading content (recorded as "reading sub-content"), to indicate that the question and answer sub-content refers to the reading content. In some embodiments, the reference identifier can be used as an original text link, and when the user clicks on the reference identifier, the corresponding reading sub-content is prominently displayed in the reading content. Prominent display includes but is not limited to one or more of the following: centered display, highlighted display, underlined display, framed display, enlarged display, distinctive color display, etc. Based on this, it is not only convenient for users to quickly understand the relationship between the answer content and the reading content, but also further convenient for users to compare and view the answer content and the reading content, quickly know the reference source of the answer content, and help users understand the reading content and the answer content more deeply and effectively.

[0039] The electronic devices described in the embodiments of the present application may include, but are not limited to, smartphones, netbooks, tablet computers, smart drawing boards, handwriting boards, smart watches, smart bracelets, phone watches, smart glasses, smart cameras, PDAs, car computers, personal computers (PCs), personal digital assistants (PDAs), portable multimedia players (PMPs), augmented reality (AR) / virtual reality (VR) devices, smart TVs, projection devices, or somatosensory game consoles in human-computer interaction scenarios, and other devices with display functions. Alternatively, the electronic devices may also be electronic devices of other types or structures, which are not limited in the present application.

[0040] As an example, see Figure 3 , Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0041] like Figure 3 As shown, the electronic device includes a processor 310, a memory (including an external memory interface 320 and an internal memory 321), a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator light 392, a camera 393, a display screen 394, etc.

[0042] The sensor module 380 includes a touch sensor 380A and a pressure sensor 380B. In some embodiments, the sensor module 380 may also include, but is not limited to, one or more of the following: a temperature sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0043] Processor 310 includes one or more processing units. For example, processor 310 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a flight controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0044] Processor 310 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 310 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 310. If processor 310 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 310 latency, and thus improves system efficiency.

[0045] In some embodiments of the present application, the processor 310 can obtain answers to the user's questions based on the user's questions through a language model, and send the answer content to the display screen 394 for display through an interface, such as a DSI interface.

[0046] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.

[0047] In some embodiments of the present application, the electronic device can communicate with other devices through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.

[0048] Display screen 394 includes a display panel. As an example, the display panel can be a low-temperature polysilicon (LTPS) display, a low-temperature polycrystalline oxide (LTPO) display, a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) display, a flexible light-emitting diode (FLED), MiniLED, MicroLed, Micro-OLED, quantum dot light-emitting diodes (QLED), etc.

[0049] In an embodiment of the present application, the electronic device may include one or more display screens 394 .

[0050] The electronic device implements display functionality through a GPU, display screen 394, and an AP. A GPU is a microprocessor for image processing that connects display screen 394 and the AP. The GPU is used to perform mathematical and geometric calculations for drawing, rendering, or compositing graphics. Processor 310 may include one or more GPUs that execute program instructions to generate or modify display information.

[0051] In some embodiments of the present application, the electronic device can implement related processing of interfaces such as content input interface, analysis result display interface, and smart assistant interaction interface through AP, GPU, etc., and realize the display of reading content, answer content, reference marks, etc. through the display screen 394.

[0052] In the embodiment of the present application, the sensor module 380 may include but is not limited to one or more of the following: a touch sensor 380A, a pressure sensor 380B.

[0053] Touch sensor 380A, also known as a "touch panel," is used to detect touch operations applied to or near it. The touch sensor can transmit collected raw information representing touch location, touch force, touch area, and touch duration to the processor for subsequent operation information acquisition, input event generation, and subsequent processing. In some embodiments, the processor can provide visual output related to the touch operation via display screen 394.

[0054] Pressure sensor 380B is used to sense pressure signals and convert them into electrical signals. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The electronic device determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 394, the electronic device can detect the touch force of the touch operation through the pressure sensor. The electronic device can also calculate the touch position based on the detection signal of the pressure sensor 380B.

[0055] In an embodiment of the present application, the sensor module 380, such as the touch sensor 380A and / or the pressure sensor 380B, can be used to detect one or more of the following operations of the user: opening reading content, asking questions, clicking on a reference mark, etc.

[0056] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 310 through the external memory interface 320 to implement data storage.

[0057] The internal memory 321 can be used to store computer executable program codes. For example, computer programs may include operating system programs and application programs. Among them, the executable program code includes instructions. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function, etc. The data storage area may store data created during the use of the electronic device, etc. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321, and / or the instructions stored in the memory provided in the processor.

[0058] The electronic device can implement audio functions such as music playback and recording through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C and the AP.

[0059] about Figure 3For the introduction of the charging management module 340, power management module 341, battery 342, motor 391, indicator light 392, etc., reference can be made to conventional technology and will not be repeated here.

[0060] This application Figure 3 The illustrated structure does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or some components may be combined or separated, or the components may be arranged differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0061] The following will describe in detail the answer content display method provided in the embodiment of the present application with reference to the accompanying drawings.

[0062] As an example, the question-and-answer function may be provided by a smart assistant application in an electronic device.

[0063] Among them, a smart assistant is an application that relies on a language model to provide intelligent services to users in areas such as work, study, and life. For example, a question-and-answer assistant may include but is not limited to the following applications: a question-and-answer assistant, a learning assistant, etc. A language model is a generative model technology used to solve the problem of machine understanding of human natural language and generating information needed by humans. A language model may include but is not limited to at least one of the following: a large-scale language model (LLM) and a multimodal large-scale language model (MLLM). The specific type of language model is not limited in the embodiments of this application.

[0064] Alternatively, the question-and-answer function may also be provided by other applications, functions, mini-programs, etc. with related functions in the electronic device, without limitation.

[0065] In the following embodiments of this application, the question-answering function is provided by the first application as an example. For example, the first application may include but is not limited to the following applications: a question-answering assistant, a learning assistant, or other applications, functions, mini-programs, etc., without limitation.

[0066] In some embodiments, the opening and browsing functions of the reading content may be provided by the first application.

[0067] In some embodiments, the functionality for opening and browsing content may be provided by a second application that is distinct from the first application. For example, the second application may be able to wake up the first application at runtime so that the first application can provide a question-and-answer function to the user. For example, the second application may include, but is not limited to, at least one of the following: a news application, an office application, a browser application, a reading application, a classroom application, a browser application, an email application, a memo application, a calendar application, and the like, without limitation.

[0068] As an example, see Figure 4 , Figure 4 Two implementation architecture diagrams provided by the embodiments of the present application are shown. Figure 4 (a) shows a schematic diagram of an implementation architecture in which the first application provides functions of opening, browsing, and question-and-answering reading content. Figure 4 (b) shows a schematic diagram of an implementation architecture in which the second application provides opening and browsing of reading content, and the first application provides question-and-answer functions.

[0069] like Figure 4 As shown in (a), after the first application opens the reading content (such as a document) in the first screen area, if it receives questions from the user, such as questions from the user regarding the reading content (such as the document), the first application can generate answers to the user's questions and display the answers in the second screen area.

[0070] like Figure 4 As shown in (b) of the figure, after the second application opens the reading content (such as a document) in the first screen area, the second application can wake up the first application so that the first application can provide the user with a question-and-answer function. When the first application receives a question from the user, such as a question about the reading content (such as a document), it can generate an answer to the user's question and display the answer in the second screen area.

[0071] in, Figure 4 The example shown in (a) and Figure 4 In the example shown in (b), the first screen area is different from the second screen area, for example, the first screen area and the second screen area do not overlap. By synchronously displaying the reading content (such as a document) and the answer content in different screen areas, it is convenient for the user to compare the answer content with the reading content, helping the user to understand the reading content and the answer content more deeply and effectively.

[0072] In some embodiments, the answer content generated by the first application may also refer to part of the reading sub-content in the reading content.

[0073] In some embodiments, if an answer references a reading sub-content, the answer sub-content that references the reading sub-content can be used as a link to the original text. When a user clicks on the answer sub-content, the corresponding reading sub-content is prominently displayed within the reading content. Prominent display includes, but is not limited to, one or more of the following: centered display, highlighted display, underlined display, framed display, enlarged display, and distinctive color display.

[0074] In some embodiments, in the case where the answer content refers to the reading sub-content, the first application can display the correspondence between the answer sub-content and the reading sub-content in the second screen area when displaying the answer content; for example, the sub-content associated with the reading content and the answer content is displayed in the same display method, so that the user can compare the answer content and the reading content; for example, the correspondence is displayed through a control indicating the answer sub-content, or a reference mark is displayed at the corresponding question and answer sub-content. The control or reference mark can be used to trigger the prominent display of the reference source.

[0075] In some embodiments, the above-mentioned control or reference mark can serve as an original text link, and when the user clicks the control or reference mark, the corresponding reading sub-content is prominently displayed in the reading content.

[0076] As an example, see Figure 5 , Figure 5 Two other implementation architecture diagrams provided by the embodiments of the present application are shown. Figure 5 (a) shows a schematic diagram of an implementation architecture in which the first application provides functions of opening, browsing, and question-and-answering reading content. Figure 5 (b) shows a schematic diagram of an implementation architecture in which the second application provides opening and browsing of reading content, and the first application provides question-and-answer functions.

[0077] like Figure 5 As shown in (a), after the first application opens the reading content (such as a document) in the first screen area, if the user's question is received, such as the user's question about the reading content (such as a document), the first application can parse the reading content to generate an answer content for the user's question, obtain the position information of each of the multiple reading sub-contents in the reading content, and determine the correspondence between the answer sub-content and the reference reading sub-content based on the position information, and display the answer content and the above correspondence in the second screen area; for example, the reading content and the sub-content associated with the answer content are displayed in the same display mode, so that the user can compare and view the answer content and the reading content; for example, the correspondence is displayed by a control indicating the answer sub-content, or a reference mark is displayed at the corresponding question and answer sub-content. The control or reference mark can be used to trigger the prominent display of the reference source. In some embodiments, if the user clicks on the control or reference mark, the first application can prominently display the corresponding reading sub-content in the reading content.

[0078] like Figure 5 As shown in (b), after the second application opens the reading content (such as a document) in the first screen area, the second application can wake up the first application so that the first application can provide the user with a question-and-answer function. When the first application receives a question from the user, such as a question from the user about the reading content (such as a document), it can parse the reading content to generate an answer content for the user's question, obtain the position information of each of the multiple reading sub-contents in the reading content, and determine the correspondence between the answer sub-content and the reference reading sub-content based on the position information, and display the answer content and the above correspondence in the second screen area; for example, the sub-content associated with the reading content and the answer content is displayed in the same display mode, so that the user can compare the answer content and the reading content; for example, the correspondence is displayed by a control indicating the answer sub-content, or a reference mark is displayed at the corresponding question-and-answer sub-content. The control or reference mark can be used to trigger the prominent display of the reference source. In some embodiments, if the user clicks on the control or reference mark, the first application can instruct the second application to prominently display the corresponding reading sub-content in the reading content.

[0079] in, Figure 5 The example shown in (a) and Figure 5 In the example shown in (b), the first screen area is different from the second screen area, such as the first screen area and the second screen area do not overlap. By synchronously displaying the reading content (such as a document) and the answer content in different screen areas, it is convenient for users to view the answer content and the reading content by comparing them, helping users to understand the reading content and the answer content more deeply and effectively. In addition, prominently displaying the reading sub-content referenced by the answer sub-content can not only facilitate users to quickly understand the relationship between the question and answer content and the reading content, but also further facilitate users to view the answer content and the reading content by comparing them, quickly know the reference source of the question and answer content, and help users to understand the reading content and the answer content more deeply and effectively.

[0080] The embodiments of this application are not limited Figure 5 (a) and Figure 5 The order of execution of certain steps in the example shown in (b) above is not limited to this. For example, parsing the reading content may occur before, after, or simultaneously with generating the answer content; for another example, the reference identifier may be displayed in the second screen area simultaneously with the answer, or the answer may be displayed in the second screen area before the reference identifier is displayed, without specific limitations.

[0081] As an example, see Figure 6 , Figure 6 The flowchart of two answer content display methods provided in the embodiments of the present application is shown.

[0082] like Figure 6As shown in (a), the answer content display method provided in the embodiment of the present application may include S601A-S604A:

[0083] S601A: The electronic device displays reading content in the first screen area.

[0084] As an example, the first screen area is a portion of the display area on the display screen of the electronic device.

[0085] For example, the electronic device is a single-screen device, including a display screen, which includes multiple screen areas (such as two or more), and the first screen area is one of the multiple screen areas; for another example, the electronic device is a folding screen device, and when the folding screen device is in an unfolded state, the display screen includes multiple screen areas (such as two or more), and the first screen area is one of the multiple screen areas. Exemplarily, the first screen area is located in the upper half, lower half, left half, right half, upper third,..., etc. of the display screen, without limitation.

[0086] As an example, the first screen area is a display screen on a display screen of an electronic device, which may be a display screen divided based on physical meaning, or a display screen divided based on logic related to the state of the electronic device.

[0087] For example, the electronic device is a multi-screen device, such as a dual-screen device, and the first screen area is one of multiple display screens of the multi-screen device.

[0088] In some embodiments, the opening and browsing functions of the reading content are provided by the first application. For example, the first application may include but is not limited to the following applications: a question-and-answer assistant, a learning assistant, or other applications, functions, mini-programs, etc., without limitation.

[0089] In some embodiments, the opening and browsing functions of the reading content are provided by a second application. For example, the second application may include, but is not limited to, at least one of the following: a news application, an office application, a browser application, a reading application, a classroom application, a browser application, an email application, a memo application, a calendar application, etc.

[0090] As an example, the reading content may include, but is not limited to, web pages, documents, e-books, emails, online courseware, memos, calendars, etc.

[0091] As an example, in response to a user opening a reading content, the electronic device can display the reading content in the first screen area according to the device information of the electronic device and / or preconfigured screen area configuration parameters. For example, the device information of the electronic device may include, but is not limited to, one or more of the following information about the electronic device: device type, device model, device status, number of display screens, etc. Device type may include, for example, a single-screen device, a foldable-screen device, or a multi-screen device; and device status may include, for example, a folded state or an unfolded state.

[0092] As an example, the functions of opening and browsing the reading content are provided by the second application. After receiving the instruction to open the reading content, the second application can wake up the first application so that the first application can provide the user with a question-and-answer function. For example, the instruction to open the reading content is passed to the second application by the electronic device calling the application interface when receiving the user's operation to open the reading content. The operating interface, operation entry, operation method, etc. of the user's operation to open the reading content are not limited in the embodiments of this application, and reference can be made to conventional technology.

[0093] In some embodiments, when the second application is running in the foreground, such as when displaying reading content, the first application may not be running. After receiving an instruction to open the reading content, the second application can call a related application interface to make the first application run in the foreground.

[0094] In some embodiments, when the second application is running in the foreground, such as when displaying reading content, the first application may be running in the background. After receiving an instruction to open the reading content, the second application can call the relevant application interface to transfer the application task of the first application from background running to foreground running.

[0095] In an embodiment of the present application, the electronic device also includes a second screen area, which is used to provide a question-and-answer function. The relevant introduction to the second screen area will be expanded below.

[0096] As an example, see Figure 7A , Figure 7A Taking an electronic device including a first display screen and a second display screen as an example, a schematic diagram of an answer content display interface provided by an embodiment of the present application is shown. Figure 7A The first display screen shown can be understood as the first screen area, and the second display screen can be understood as the second screen area. In response to the user's operation of opening the physical examination report, as shown in FIG. Figure 7A As shown in interface 701, the electronic device displays the physical examination report (i.e., reading content) in the first screen area (i.e., the first display screen), and uses the second screen area (i.e., the second display screen) as a display area for providing question-and-answer functions to users, that is, the reading page and the answer page are located on different display screens of the electronic device.

[0097] As an example, see Figure 7B, Figure 7B Taking a display screen of an electronic device including a first screen area and a second screen area as an example, another schematic diagram of an answer content display interface provided by an embodiment of the present application is shown. In response to the user's operation of opening the physical examination report, such as Figure 7B As shown in interface 703, the electronic device displays the physical examination report (i.e., reading content) in the first screen area, and uses the second screen area as a display area to provide question-and-answer functions to users, i.e., the reading page and the answer page are displayed in split screens on the display screen of the electronic device.

[0098] S602A: The electronic device receives a question from the user.

[0099] As an example, the function of the electronic device receiving the user's question operation, such as the question-and-answer function, is provided by the first application. The first application may be manually run by the user or awakened by the second application, without limitation.

[0100] As an example, the operation methods of asking questions may include but are not limited to text editing questions, voice questions, inputting pictures to ask questions, etc., without limitation.

[0101] by Figure 7A or Figure 7B Taking the example shown as an example, the user's question operation is such as the user inputting "Does the person undergoing the physical examination have high blood pressure" in the second screen area.

[0102] S603A: The electronic device obtains the answer content to the user's question.

[0103] As an example, a first application in an electronic device can rely on a language model to obtain answers to user questions based on one or more information resources, such as reading content, a model knowledge base, and web searches. For example, the language model may include, but is not limited to, at least one of the following: LLM and MLLM. The specific type of language model is not limited in this embodiment.

[0104] As a possible implementation, when obtaining the answer content to the user's question, the first application can determine prompt information based on the question content (such as query) corresponding to the user's question operation, such as splicing prompt words (prompt) according to the question content (such as query) to obtain prompt information, input the prompt information into the language model, decompose, analyze and infer the prompt information through the language model, and generate the answer content to the user's question based on one or more information resources such as reading content, model knowledge base, and network search. Regarding the way, method and process of the language model generating the answer content based on the question, reference can be made to conventional technology, and the embodiments of this application are not limited thereto.

[0105] by Figure 7A or Figure 7BTaking the example shown as an example, the electronic device obtains the answer to the user's question such as "The standard for hypertension is systolic blood pressure ≥140mmHg or diastolic blood pressure ≥90mmHg. The systolic blood pressure of the person under examination is 169mmHg and the diastolic blood pressure is 105mmHg, both of which exceed the threshold value of the measurement standard for hypertension. The person under examination has hypertension."

[0106] S604A: The electronic device displays the answer content in a second screen area, where the second screen area is different from the first screen area.

[0107] The second screen area is different from the first screen area. For example, the second screen area does not overlap with the first screen area.

[0108] As an example, the second screen area is another display area on the display screen of the electronic device that is different from the first screen area.

[0109] For example, the electronic device is a single-screen device, including a display screen, which includes multiple screen areas (such as two or more), or the electronic device is a folding screen device, and when the folding screen device is in an unfolded state, the display screen includes multiple screen areas (such as two or more), and the second screen area is a screen area among the above-mentioned multiple screen areas that is different from the first screen area.

[0110] As an example, the second screen area is another screen area on the display screen of the electronic device that is different from the first screen area. The other screen area may be a screen area divided based on physical meaning, or a screen area divided based on logic related to the state of the electronic device.

[0111] For example, the electronic device is a multi-screen device, such as a dual-screen device, and the second screen area is a display screen different from the first screen area among multiple display screens of the multi-screen device.

[0112] Optionally, the answer content may also include the user's question content and / or other content related to the question and answer, which is not limited in the embodiments of the present application.

[0113] by Figure 7A or Figure 7B Take the example shown as an example, Figure 7A Interface 702 or Figure 7B As shown in interface 704 in FIG, the electronic device displays the physical examination report in the first screen area and displays the answers to the user's questions in the second screen area.

[0114] based on Figure 6In the answer content display method shown in (a), the electronic device can facilitate users to switch between reading content (such as a document) and answer content by synchronously displaying the reading content (such as a document) and the answer content in different screen areas, and facilitate users to compare and view the answer content and the reading content, helping users to understand the reading content and the answer content more deeply and effectively.

[0115] In some embodiments, the answer generated by the first application to a user's question may also reference some reading sub-content within the reading content. When displaying the answer, the first application can display a reference marker at the corresponding question-and-answer sub-content to indicate that the question-and-answer sub-content references the reading content. Optionally, the reference marker can serve as a link to the original text, and when the user clicks the reference marker, the corresponding reading sub-content is prominently displayed within the reading content.

[0116] For example, Figure 6 As shown in (b), the answer content display method provided in the embodiment of the present application may include S601B-S607B:

[0117] S601B: The electronic device displays reading content in the first screen area.

[0118] For the introduction of S601B, please refer to the introduction of S601A above, which will not be repeated here.

[0119] S602B: The electronic device receives the user's question operation.

[0120] For the introduction of S602B, please refer to the introduction of S602A above, which will not be repeated here.

[0121] S603B: The electronic device obtains location information of multiple reading sub-contents in the reading content.

[0122] As a possible implementation, the electronic device can analyze the coordinate information of the first screen area and the reading content layout file to obtain the position information of the multiple reading sub-contents in the reading content. Exemplarily, the multiple reading sub-contents include the second sub-content.

[0123] As an example, the position information of the reading sub-content indicates the position of the reading sub-content in the first screen area. For example, the position information may be represented by pixel array coordinates corresponding to the reading sub-content in the first screen area.

[0124] In some embodiments, the location information of the reading sub-content may also indicate the location of the reading sub-content in the reading content. For example, the location information may be represented by the reference source information of the reading sub-content. The reference source information may include: the file name of the reading content, the page number and paragraph mark of the reading sub-content in the reading content, etc. For example, the location information may be determined based on the coordinates of the reading sub-content in the layout file of the reading content. The embodiments of the present application do not limit the form of expression of the location information of the reading sub-content.

[0125] S604B: The electronic device obtains the answer content to the user's question.

[0126] For the introduction of S604B, please refer to the introduction of S603A above, which will not be repeated here.

[0127] S605B: The electronic device determines the location information of the reading sub-content (referred to as the second sub-content) referenced by the first sub-content in the answer content.

[0128] As an example, the electronic device can retrieve the location information of the second sub-content referenced by the first sub-content from the location information of the plurality of reading sub-contents acquired in step S603B according to the first sub-content.

[0129] S606B: The electronic device displays the answer content and the corresponding relationship between the first sub-content and the second sub-content in a second screen area, where the second screen area is different from the first screen area.

[0130] For the relevant introduction about the second screen area and the electronic device displaying the answer content in the second screen area, please refer to the above introduction, which will not be repeated here.

[0131] In some embodiments, the electronic device displays the correspondence between the first sub-content and the second sub-content in the second screen area, which may include: the electronic device uses the same display method to display the sub-content associated with the reading content and the answer content, so that the user can compare the answer content and the reading content.

[0132] For example, Figure 7C As shown, the electronic device includes a first display screen and a second display screen. After receiving the user's input operation "Does the examinee have hypertension?" in the second screen area, the electronic device displays the physical examination report in the screen area and displays the answer to the user's question in the second screen area: "The standard for hypertension is systolic blood pressure ≥140mmHg or diastolic blood pressure ≥90mmHg. The examinee's systolic blood pressure is 169mmHg and diastolic blood pressure is 105mmHg, both exceeding the threshold value of the hypertension measurement standard. The examinee has hypertension." And, as Figure 7CAs shown, the electronic device displays the sub-content "169mmHg" and "Systolic blood pressure: 169mmHg" associated with the answer content in the physical examination report in the same first display mode (such as the underlined dotted line), and displays the sub-content "105mmHg" and "Diastolic blood pressure: 105mmHg" associated with the answer content in the physical examination report in the same second display mode (such as the underlined dotted line), so as to facilitate the user to compare and view the sub-content with a reference relationship between the answer content and the reading content.

[0133] In some embodiments, the electronic device displays the correspondence between the first sub-content and the second sub-content via a control indicating the first sub-content; and / or the electronic device displays a reference marker in the first sub-content. The control indicating the first sub-content is used to trigger prominent display of the second sub-content in the first screen area, and the reference marker is used to indicate that the first sub-content is generated based on the second sub-content in the reading content.

[0134] In some embodiments, the aforementioned control or reference identifier can serve as a link to the original text, and when a user clicks the control or reference identifier, the corresponding reading sub-content (e.g., the second sub-content) is prominently displayed. For example, the control or reference identifier is associated with the location information of the reading sub-content (e.g., the second sub-content) referenced by the answer sub-content, thereby enabling the first application to index to the corresponding reading sub-content (e.g., the second sub-content) in the reading content.

[0135] by Figure 7A or Figure 7B Taking the example shown as an example, the electronic device displays a physical examination report in the first screen area and displays the answer content to the user's question in the second screen area, and the electronic device displays a reference mark in the answer sub-content (such as the first sub-content) that refers to the reading sub-content on the second screen area, such as displaying a reference mark [1] in the answer sub-content that refers to the systolic blood pressure "169mmHg" and displaying a reference mark [2] in the answer sub-content that refers to the diastolic blood pressure "105mmHg".

[0136] In some embodiments, the electronic device can also display reference source information for the answer sub-content (e.g., the first sub-content) that references the reading sub-content in the second screen area. For example, the answer content may also include reference source information for the answer sub-content that references the reading sub-content. Exemplarily, the reference source information may include, but is not limited to, one or more of the following: the file name of the reading content, the page number of the reading sub-content within the reading content, the paragraph identifier of the reading sub-content within the reading content, etc. In some embodiments, the reference source information may also include other information such as the chapter of the reading sub-content within the reading content, which is not limited in the embodiments of the present application.

[0137] Figure 7A and Figure 7BAs an example, the electronic device displays a reference identifier for the first sub-content in the second screen area to support the user triggering prominent display of the second sub-content in the first screen area by clicking on the reference identifier. In some embodiments, the electronic device may also display a control indicating the first sub-content in the second screen area to support the user triggering prominent display of the second sub-content in the first screen area using the control. Alternatively, in some embodiments, the electronic device may display both a reference identifier for the first sub-content and a control indicating the first sub-content in the second screen area to support the user triggering prominent display of the second sub-content in the first screen area using any method.

[0138] As an example, see Figure 8 and Figure 9 , Figure 8 and Figure 9 Schematic diagrams of two other answer content display interfaces provided in embodiments of the present application are shown. Figure 8 and Figure 7A The difference is: Figure 8 The electronic device does not display the reference mark of the systolic blood pressure "169mmHg" (i.e., the first sub-content) in the second screen area, but displays a control indicating the first sub-content (indicated by an underline), which is used by the user to trigger the prominent display of the second sub-content on the first screen area through the control. Figure 9 and Figure 7A The difference is: Figure 9 The electronic device not only displays a reference mark of the systolic blood pressure "169 mmHg" (i.e., the first sub-content) in the second screen area, but also displays a control indicating the first sub-content, so that the user can trigger the prominent display of the second sub-content on the first screen area through the reference mark or control.

[0139] Figure 8 and Figure 9 Taking the electronic device including a first display screen and a second display screen as an example, in the case where the electronic device includes one display screen, the electronic device may also display a control for indicating the first sub-content instead of a reference identifier in the second screen area, or display both a reference identifier and a control for indicating the first sub-content in the second screen area.

[0140] As an example, the reference source information can be used as an original text link. When the user clicks on the reference source information, the corresponding reading sub-content is prominently displayed in the reading content. For example, the reference source information is associated with the location information of the reading sub-content referenced by the answer sub-content, so as to support the first application to index to the corresponding reading sub-content in the reading content. Figure 7A 、 Figure 7B 、 Figure 8 or Figure 9As shown, the electronic device displays the reference source information of the answer sub-content corresponding to the reference identifier [1] "XXX Physical Examination Report, page 1, paragraph "Systolic Blood Pressure..."" in the second screen area, and displays the reference source information of the answer sub-content corresponding to the reference identifier [2] "XXX Physical Examination Report, page 1, paragraph "Diastolic Blood Pressure..."".

[0141] In some embodiments, the electronic device can prominently display one or more of the following: controls, reference identifiers, answer sub-contents that reference the reading sub-content (such as the first sub-content), and reference source information. For example, prominent display includes but is not limited to one or more of the following: centered display, highlighted display, underlined display, framed display, enlarged display, and different color display. By prominently displaying the reference identifier and / or the answer sub-content that references the reading sub-content, it is convenient for users to quickly understand the relationship between the answer content and the reading content, and quickly know the reference source of the answer content. For example, in Figure 7A 、 Figure 7B or Figure 9 In the example shown, the electronic device prominently displays the answer sub-content that refers to the reading sub-content "169mmHg" and "105mmHg" in the second screen area by underlining or the like, and prominently displays the reference source information of the answer sub-content "169mmHg" and "105mmHg".

[0142] S607B: In response to the user clicking on the corresponding relationship, the electronic device prominently displays the second sub-content in the first screen area.

[0143] As an example, when a user clicks the aforementioned control or reference mark, the electronic device can prominently display the corresponding reading sub-content in the first screen area. Exemplarily, prominent display includes, but is not limited to, one or more of the following: centered display, highlighted display, underlined display, framed display, enlarged display, and distinctive color display.

[0144] As an example, the electronic device prominently displays the second sub-content in the first screen area, including: the electronic device prominently displays the second sub-content in the first screen area according to position information associated with the control or reference identifier.

[0145] In some embodiments, assuming that the first screen area does not currently display the second sub-content, the electronic device can also jump to the second sub-content according to the position information associated with the control or reference identifier, and prominently display the second sub-content.

[0146] As an example, the user's click operation on a control or reference identifier includes, but is not limited to, single-clicking and double-clicking, and is not limited thereto. In some embodiments, the electronic device may also prominently display the reading sub-content referenced by the answer sub-content in the first screen area in response to other user operations such as a long press on the control or reference identifier, or voice commands, etc. This embodiment of the application does not limit the type and manner of operation that triggers the prominent display.

[0147] by Figure 7A 、 Figure 7B or Figure 9 Taking the example shown as an example, as an example, in response to the user clicking the reference mark [1] at the answer sub-content "169mmHg" on the second screen area, or in response to the user clicking the answer sub-content "169mmHg" control on the second screen area, or in response to the user clicking the reference source information of the reference mark [1] on the second screen area, the electronic device prominently displays the reading sub-content referenced by the answer sub-content in the reading content of the first screen area. Figure 8 Taking the example shown as an example, as an example, in response to the user clicking the control "169mmHg" on the second screen area, the electronic device prominently displays the reading sub-content referenced by the answer sub-content in the reading content of the first screen area. Figure 7A 、 Figure 7B 、 Figure 8 and Figure 9 Taking the prominent display through frame selection as an example, the electronic device may also prominently display in one or more other ways such as centering, highlighting, underlining, enlarging, differentiating colors, etc., which will not be described in detail. Figure 6 In the answer content display method shown in (b) of FIG, the electronic device simultaneously displays the reading content (e.g., document) and the answer content in different screen areas, making it easy for the user to switch between the reading content (e.g., document) and the answer content. This allows the user to easily compare the answer content with the reading content, thereby helping the user to more deeply and effectively understand the reading content and the answer content. In addition, by prominently displaying the reading sub-content referenced by the answer sub-content, the user can not only quickly understand the relationship between the answer content and the reading content, but also further facilitate the user to compare the answer content with the reading content, quickly identify the reference source of the answer content, and help the user to more deeply and effectively understand the reading content and the answer content.

[0148] In some embodiments, when the reading content and the answer content are displayed synchronously through the first screen area and the second screen area respectively, the electronic device can accept independent manipulation of the reading content and the answer content by the user, such as but not limited to sliding operations on the reading page or the answer page, editing operations on the reading content or the answer content, etc., without limitation.

[0149] In some embodiments, by synchronizing the display of reading content in the first screen area and the display of answer content in the second screen area, the electronic device can support the user and the electronic device's interactive object to conveniently switch between reading content and answering. Figure 1 or Figure 2 The solution shown simplifies the operational complexity of users comparing reading content and answer content in a reading scenario, thereby improving the user experience.

[0150] It should be understood that the various schemes of the embodiments of the present application can be reasonably combined and used, and the explanations or descriptions of the various terms appearing in the embodiments can be referenced or explained with each other in the various embodiments, without limitation to this.

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

[0152] It is understandable that, in order to implement the functions of any of the above-mentioned embodiments, the electronic device or server includes hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0153] The embodiments of the present application can divide the electronic device or server into functional modules. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.

[0154] It should also be understood that the various modules in an electronic device or server can be implemented in software and / or hardware, without specific limitation. In other words, the electronic device or server is presented in the form of functional modules. The "module" here can refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the aforementioned functions.

[0155] In an optional manner, when data transmission is implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is implemented in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disk (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)).

[0156] The steps of the method or algorithm described in conjunction with the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in an electronic device or a server. Of course, the processor and the storage medium can also exist as discrete components.

[0157] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

Claims

1. A method for displaying answer content, characterized in that: The method is applied to an electronic device, the electronic device including a first screen area and a second screen area, the second screen area being different from the first screen area, the second screen area being different from the first screen area comprising: the second screen area having no overlap with the first screen area, the method comprising: Displaying reading content in the first screen area; After receiving a question operation from the user, obtaining an answer content to the user's question, the answer content including a first sub-content, where the first sub-content is generated based on a second sub-content in the reading content; The answer content and the corresponding relationship between the first sub-content and the second sub-content are displayed in the second screen area.

2. The method according to claim 1, characterized in that The displaying the correspondence between the first sub-content and the second sub-content includes: Displaying the corresponding relationship by a control indicating the first sub-content, wherein the control is used to trigger prominent display of the second sub-content in the first screen area; and / or, A reference identifier and a reference source are displayed, where the reference identifier and the reference source are used to indicate that the first sub-content is generated based on the second sub-content in the reading content.

3. The method according to claim 2, characterized in that The prominent display includes one or more of the following: centered display, highlighted display, underlined display, framed display, enlarged display, and distinctive color display.

4. The method according to claim 2 or 3, characterized in that The method further comprises: In response to a user clicking on the control or the reference mark, the second sub-content is prominently displayed in the first screen area.

5. The method according to any one of claims 2 to 4, characterized in that The method further comprises: One or more of the following is prominently displayed: the first sub-content, the control, the reference identifier, and the reference source information.

6. The method according to any one of claims 1 to 5, characterized in that The display content of the first screen area and the display content of the second screen area are provided by a first application; or, The display content of the first screen area is provided by the second application, and the display content of the second screen area is provided by the first application.

7. The method according to claim 6, characterized in that The first application includes a question-answering assistant and a learning assistant; The second application includes one or more of the following: a news application, an office application, a browser application, a reading application, a classroom application, a browser application, a mailbox application, a memo application, and a calendar application.

8. The method according to any one of claims 1 to 7, characterized in that The electronic device includes a first display screen and a second display screen, the first screen area is the first display screen, and the second screen area is the second display screen; or, The electronic device includes a display screen, and the first screen area and the second screen area are different screen areas in the one display screen.

9. An electronic device, characterized in that: The electronic device comprises: a memory for storing computer program instructions; A processor is configured to execute the computer program instructions to support the electronic device in implementing the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, which implement the method according to any one of claims 1 to 8 when executed by a processing circuit.

11. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Question and answer interaction method and device, computer equipment and storage medium

    CN117076643A

  • Information display method and device, equipment and storage medium

    CN118445015A

  • Data processing method and device

    CN118467082A