Interaction method and device, electronic equipment, storage medium and program product

By displaying query controls and sample interaction areas in the interactive interface, uploading sample documents and displaying query results after user operations, the problem of lack of intuitive guidance in existing interaction methods is solved, and the user experience and system ease of use is improved.

CN120216085APending Publication Date: 2025-06-27BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510358890.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The existing interactive methods lack an intuitive and effective guidance mechanism, which causes users to spend a lot of time and energy to learn, reducing the user experience and system ease of use, and the experience is unreal, resulting in poor guidance effect.

Method used

The query control and the example interaction area are displayed in the first interactive interface, the example documents are uploaded in response to user operations, and the query results are displayed in the second interactive interface. The query function and effects of the query control are intuitively and realistically displayed through the example document information provided by the example interaction area and the corresponding example query text.

Benefits of technology

It improves the real experience of function guidance, reduces learning costs, and makes the guide process of interactive functions more efficient and realistic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120216085A_ABST
    Figure CN120216085A_ABST
Patent Text Reader

Abstract

The invention provides an interaction method and device, electronic equipment, a storage medium and a program product. The method comprises the steps that a query control and an example interaction area are displayed in a first interaction interface, the query control has a query function of performing query based on a specified document, and the example interaction area comprises example document information and an example query text determined based on the example document information; and in response to a first trigger operation for the example interaction area, uploading an example document corresponding to the example document information, and displaying a first query result which is generated based on the example document and aims at the example query text in a second interaction interface so as to display the query function. The query function can be visually displayed, the learning cost is reduced, and the sense of reality of function guidance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of interaction, and in particular, to an interaction method, apparatus, electronic device, storage medium, and program product. Background Art

[0002] In existing interaction methods, there is often a lack of an intuitive and effective guidance mechanism. Many functions rely solely on lengthy written instructions or simple video tutorials, which requires users to spend a lot of time and effort to learn, reducing the user experience and system usability, and the experience is not realistic, resulting in poor guidance effects. Summary of the Invention

[0003] The present disclosure provides an interaction method, apparatus, electronic device, storage medium, and program product, which at least to some extent solve the technical problems in the related art such as poor guidance effects of interaction functions, insufficiently realistic guidance experience, and high learning costs.

[0004] In a first aspect of the present disclosure, there is provided an interaction method, including:

[0005] Display a query control and an example interaction area on a first interaction interface, where the query control has a query function for querying based on a specified document, and the example interaction area includes example document information and example query text determined based on the example document information;

[0006] In response to a first trigger operation on the example interaction area, upload the example document corresponding to the example document information, and display a first query result for the example query text generated based on the example document on a second interaction interface to demonstrate the query function.

[0007] In a second aspect of the present disclosure, there is provided an interaction apparatus, including:

[0008] A display module, configured to display a query control and an example interaction area on a first interaction interface, where the query control has a query function for querying based on a specified document, and the example interaction area includes example document information and example query text determined based on the example document information;

[0009] An upload module, configured to upload the example document corresponding to the example document information in response to a first trigger operation on the example interaction area;

[0010] The display module is further configured to: display a first query result for the example query text generated based on the example document on a second interaction interface to demonstrate the query function.

[0011] In a third aspect of the present disclosure, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the computer program, the method described in the first aspect is implemented.

[0012] In a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method described in the first aspect.

[0013] In a fifth aspect of the present disclosure, there is provided a computer program product including computer program instructions, which when running on a computer, cause the computer to execute the method described in the first aspect.

[0014] As can be seen from the above, the interaction method, device, electronic device, storage medium, and program product provided by the present disclosure display a query control and an example interaction area on a first interaction interface, and display a query result on a second interaction interface. Through the example document information and corresponding example query text provided by the example interaction area, the query function and query effect of the query control for querying a specified document are intuitively and realistically displayed, providing an operation example and a convenient experience for the user, thereby improving the real experience of function guidance and reducing the learning cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following will briefly introduce the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings in the following description are only embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0016] Figure 1 It is a schematic diagram of the interaction architecture of an embodiment of the present disclosure.

[0017] Figure 2 It is a schematic diagram of the hardware structure of an exemplary electronic device of an embodiment of the present disclosure.

[0018] Figure 3 It is a schematic diagram of the flowchart of the interaction method of an embodiment of the present disclosure.

[0019] Figure 4 It is a schematic diagram of the first interaction interface of an embodiment of the present disclosure.

[0020] Figure 5 It is a schematic diagram of the second interaction interface of an embodiment of the present disclosure.

[0021] Figures 6A - 6C It is a schematic diagram of the example prompt information of an embodiment of the present disclosure.

[0022] Figure 7 Schematic diagram of the second interaction interface of the present disclosure embodiment.

[0023] Figure 8 Schematic diagram of the second interaction interface of the present disclosure embodiment.

[0024] Figure 9 Schematic diagram of the second interaction interface of the present disclosure embodiment.

[0025] Figure 10 Schematic diagram of the first interaction interface of the present disclosure embodiment.

[0026] Figure 11 Schematic diagram of the interaction device of the present disclosure embodiment. Detailed implementation manners

[0027] To make the objectives, technical solutions and advantages of the present disclosure clearer and more understandable, the following further elaborates on the present disclosure in detail with reference to specific embodiments and the accompanying drawings.

[0028] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the ordinary meanings understood by those of ordinary skill in the field to which the present disclosure belongs. The "first", "second" and similar terms used in the embodiments of the present disclosure do not denote any order, quantity or importance, but are only used to distinguish different components. The terms such as "include" or "comprise" mean that the elements or objects appearing before this term cover the elements or objects listed after this term and their equivalents, without excluding other elements or objects. The terms such as "connect" or "couple" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The terms such as "upper", "lower", "left" and "right" are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0029] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. For example, when responding to a user's active request, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0030] It can be understood that the above notification and the process of obtaining user authorization are only illustrative and do not limit the implementation manner of the present disclosure. Other manners that comply with relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0031] Figure 1 FIG. shows a schematic diagram of an interaction architecture according to an embodiment of the present disclosure. Refer to Figure 1 , the interaction architecture 100 may include a server 110, a terminal 120, and a network 130 providing a communication link. The server 110 and the terminal 120 may be connected through the wired or wireless network 130. Among them, the server 110 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, security services, and CDN.

[0032] The terminal 120 may be implemented in hardware or software. For example, when the terminal 120 is implemented in hardware, it may be various electronic devices having a display screen and supporting page display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, and desktop computers, etc. When the terminal 120 device is implemented in software, it may be installed in the above-listed electronic devices; it may be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or may be implemented as a single software or software module, which is not specifically limited herein.

[0033] It should be noted that the interaction method provided by the embodiment of the present disclosure may be executed by the terminal 120, or may be executed by the server 110, or may be jointly executed by the terminal 120 and the server 110. It should be understood that Figure 1 the numbers of the terminals, networks, and servers in are only illustrative and are not intended to limit them. According to the implementation requirements, there may be any number of terminals, networks, and servers.

[0034] Figure 2 FIG. shows a schematic hardware structure diagram of an exemplary electronic device 200 according to an embodiment of the present disclosure. As Figure 2 shown, the electronic device 200 may include: a processor 202, a memory 204, a network module 206, a peripheral interface 208, and a bus 210. Among them, the processor 202, the memory 204, the network module 206, and the peripheral interface 208 are communicatively connected to each other inside the electronic device 200 through the bus 210.

[0035] The processor 202 can be a Central Processing Unit (CPU), a Neural Processing Unit (NPU), a Microcontroller Unit (MCU), a programmable logic device, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits. The processor 202 can be used to execute functions related to the technologies described in this disclosure. In some embodiments, the processor 202 may further include multiple processors integrated as a single logic component. For example, as Figure 2 shown, the processor 202 may include multiple processors 202a, 202b, and 202c.

[0036] The memory 204 can be configured to store data (e.g., instructions, computer code, etc.). As Figure 2 shown, the data stored in the memory 204 may include program instructions (e.g., program instructions for implementing the interaction method of the embodiments of this disclosure) and data to be processed (e.g., the memory may store configuration documents of other modules, etc.). The processor 202 can also access the program instructions and data stored in the memory 204 and execute the program instructions to operate on the data to be processed. The memory 204 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 204 may include a Random Access Memory (RAM), a Read Only Memory (ROM), an optical disc, a magnetic disk, a hard disk, a Solid State Drive (SSD), a flash memory, a memory stick, etc.

[0037] The network module 206 can be configured to provide communication with other external devices to the electronic device 200 via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, Near Field Communication (NFC), etc.), a cellular network, the Internet, or a combination of the above. It can be understood that the type of the network is not limited to the above specific examples. In some embodiments, the network module 206 may include any combination of any number of Network Interface Controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc.

[0038] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to achieve information input and output. For example, the peripheral devices may include input devices such as a keyboard, a mouse, a touchpad, a touch screen, a microphone, various sensors, etc. and output devices such as a display, a speaker, a vibrator, an indicator light, etc.

[0039] The bus 210 can be configured to transmit information between various components of the electronic device 200, such as the processor 202, the memory 204, the network module 206, and the peripheral interface 208, such as internal buses (e.g., the processor-memory bus), external buses (USB ports, PCI-E buses), etc.

[0040] It should be noted that although the architecture of the above-mentioned electronic device 200 only shows the processor 202, the memory 204, the network module 206, the peripheral interface 208, and the bus 210, in the specific implementation process, the architecture of the electronic device 200 may further include other components necessary for normal execution. In addition, those skilled in the art can understand that the architecture of the above-mentioned electronic device 200 may also only include the components necessary to implement the solution of the embodiments of the present disclosure, and do not necessarily include all the components shown in the figure.

[0041] The guiding process of the interaction function often uses written instructions or video tutorials, which are relatively mechanical and abstract, lack a sense of reality, making it difficult for users to intuitively feel the effect of the interaction function in actual applications, thus affecting the authenticity and attractiveness of the user experience. Therefore, how to improve the guiding effect of the interaction function, reduce the learning cost, and improve the sense of reality of the guiding experience has become an urgent technical problem to be solved.

[0042] In view of this, the embodiments of the present disclosure provide an interaction method, device, electronic device, storage medium, and program product. Display a query control and an example interaction area on a first interaction interface, and display a query result on a second interaction interface. Through the example document information and the corresponding example query text provided by the example interaction area, intuitively and realistically display the query function and its query effect of the query control for querying a specified document, provide an operation example and a convenient experience for the user, thereby improving the realistic experience of function guidance and reducing the learning cost.

[0043] See Figure 3 , Figure 3 shows a schematic flowchart of an interaction method according to an embodiment of the present disclosure. The interaction method according to an embodiment of the present disclosure can be deployed on the server side or the terminal. Figure 3 In, the interaction method 300 may further include the following steps.

[0044] In step S310, display a query control and an example interaction area on a first interaction interface, the query control having a query function for querying based on a specified document, and the example interaction area including example document information and example query text determined based on the example document information.

[0045] Among them, the first interaction interface may refer to an interface for displaying controls and interaction areas for the user to operate, such as Figure 4 shown,Figure 4 A schematic diagram of a first interaction interface according to an embodiment of the present disclosure is shown. A query control may refer to a control that performs a query operation based on input query conditions, such as Figure 4 the query control 410 in the first interaction interface 400 in [reference], and the associated area 411 of the query control 410 can be used to input query conditions. A specified document may refer to a selected specific document or a document collection. For example, the specified document may be an uploaded document. The query function may refer to a function of performing a query operation based on a specified document. For example, a query is performed based on an uploaded document. The example interaction area may refer to an area that provides example document information and example query text to help users understand how to use the query control and its corresponding query function. The example document information may refer to information about an example document demonstrating the query function, such as the name, type, storage path, etc. of the example document; the example query text may refer to an example of a query condition determined based on the example document information and is used to show how to construct an effective query condition. The example document information and the example query text may be preset. As Figure 4 shown, the example interaction area 420 includes example document information 421 and example query text 422. For example, the example document information 421 may include the name and type of example document A, such as "Introduction to Product P.pdf", and the name and type of example document B, "Comparison of Product P with Similar Products.pdf". The example query text 422 can be determined based on the name and type of example document A and example document B, or the content of example document A and example document B. For example, "What are the advantages of Product P?" It should be understood that the display of the above example document information 421, "Introduction to Product P.pdf" and "Comparison of Product P with Similar Products.pdf", does not mean that the corresponding example documents A and B have been uploaded.

[0046] It can be seen that the example interaction area provides users with intuitive query examples and guidance through preset example document information and example query text. Users can more intuitively understand how to use the query function for querying a specified document, making the interface more intuitive and user-friendly, which helps to improve user satisfaction and loyalty. It is also possible to more quickly construct an effective query condition by referring to the example query text, thereby more quickly obtaining the required information and reducing the learning cost.

[0047] In step S320, in response to a first trigger operation on the example interaction area, upload the example document corresponding to the example document information, and display a first query result for the example query text generated based on the example document in a second interaction interface to demonstrate the query function.

[0048] Among them, the first trigger operation may refer to a trigger operation on the example interaction area, such as a click. The first trigger operation can trigger a process of querying based on the example document, such as uploading the example document, parsing the example document, and querying based on the example query text combined with the uploaded example document to obtain an example query result corresponding to the example query text. The example document may refer to a document used to demonstrate functions, such as Figure 4 the example documents A and B corresponding to the example document information 421 "Introduction to Product P.pdf" and "Comparison of Product P with Similar Products.pdf" in Figure 5 As shown in the second interaction interface 500 of Figure 5 which shows a schematic diagram of the second interaction interface according to an embodiment of the present disclosure. The first query result may refer to the current query result of querying the example document based on the example query text, such as Figure 5 the first query result 510 "The advantages of Product P include..." etc. in

[0049] In the method of the embodiments of the present disclosure, by triggering the example interaction area, the upload and parsing of the example document, and the query operation on the example query text based on the parsed content of the example document are demonstrated, and the complete query process of obtaining and displaying the query result is shown. In this way, the example function can be combined with the actual application scenario, and the ability and effect of the query function of querying based on the specified document can be more truly and effectively demonstrated to the user.

[0050] In some embodiments, the method 300 further includes:

[0051] Generating the first query result for the example query text based on a specified model and the example document.

[0052] Among them, the specified model may refer to a pre-trained or defined algorithm or model for querying relevant information according to the query text and generating a corresponding query result. The first query result may be a query result generated by the specified model based on the example document and the example query text in response to the first trigger operation. Therefore, although the example document and the example query text are used, the example process of demonstrating the query function is consistent with the actual application process, more clearly and intuitively showing the specific process of actually using the specified document for query, making the guidance process of the query function closer to the actual use scenario.

[0053] Specifically, as Figure 4 shown, a model selection control 431 may also be displayed in the first interaction interface 400 for selecting the model to be queried. In an actual usage scenario, the model selection control 431 can be triggered (e.g., clicked), and then the query models available for selection can be displayed in a dropdown menu or a pop-up window in the associated area of the model selection control 431, such as query model 1 and query model 2. In response to the selection operation (e.g., click) on query model 1 or query model 2, the selected query model is used as the processing model for performing the query operation. Among them, query model 1 and query model 2 can be models based on different model architectures, models trained based on different training data sets, models trained based on different training methods, and so on. By providing the function of selecting the query model in this embodiment, the user can select different models to generate more desired query results.

[0054] Optionally, the specified model can be a model for answering questions based on a knowledge data set, and the knowledge data set includes multiple pieces of pre-stored knowledge, so that when a query is received, an answer can be generated based on this knowledge. In this embodiment, by using the example document as part of the knowledge data set to generate the first query result for the example query text, the first query result can be made more consistent with the knowledge recorded in the example document. The demonstration process based on the example document shows that when the user uses this query function, the uploaded document can be used as part of the knowledge data set to obtain more desired query results.

[0055] Data selection controls 432 and 433 may also be displayed in the first interaction interface 400 for determining the data basis for the query. For example, in actual use, the data selection control 432 can be used to determine to query based on Internet data; the data selection control 433 can be used to determine to query based on a specified document; when both the data selection controls 432 and 433 are selected, the query can be based on both Internet data and the specified document as the data basis. An upload control 434 may also be displayed in the first interaction interface 400 for uploading the specified document. An edit document control 434 may also be displayed in the first interaction interface 400 for editing and uploading the specified document. The supported formats of the specified document may also be displayed in the associated area of the upload control 434, including but not limited to word, pdf,.... By showing the processes of uploading, parsing, and querying the example document, the role of the specified document uploaded by the upload control 432 can be more intuitively shown, helping the user quickly understand the use and linkage of each function, etc.

[0056] In some embodiments, method 300 further includes:

[0057] In response to the first triggering operation on the example interaction area, display example prompt information about the example document in the first interaction interface and / or the second interaction interface; the example prompt information is used to prompt the upload progress of the example document, the parsing progress of the example document, or the use of the query function based on the example document.

[0058] Among them, through the example prompt information, the situations in stages such as document upload, parsing, and query can be timely fed back, enabling the user to have a clearer understanding of the operation process of the query function. The prompt for the upload progress can refer to displaying the current status of the upload of each example document. For example, an upload progress bar or percentage can be displayed, which helps the user understand the progress of the upload operation. The prompt for the parsing progress can display the current status of the parsing of each example document. For example, a parsing progress bar or percentage can be displayed. The prompt for the use of the query function can indicate that both the upload and parsing processes are completed, and query operations can be performed based on the uploaded example documents. The example prompt information can be displayed in the first interaction interface and / or the second interaction interface, that is, during the process of querying based on the example document, the example prompt information can be continuously displayed.

[0059] See Figures 6A - 6C , Figures 6A - 6C which shows a schematic diagram of example prompt information according to an embodiment of the present disclosure. Figure 6AIn response to a first trigger operation, a prompt panel 440 can be displayed in the first interaction interface 400, and corresponding example prompt information can be displayed in the prompt panel 440. Specifically, in some embodiments, the example prompt information can be used to prompt the upload status of each example document. For example, "Uploading" can be displayed in the first area 441 of the prompt panel 440, indicating that the example document is in the upload stage. Each example document can be displayed in the second area 442 of the prompt panel 440, and the upload progress can be displayed in the associated area (such as the lower area) of each example document. For example, the associated area of "Introduction of Product P.pdf" can display "a MB / b MB", indicating that the size of example document A is b MB and a MB has been uploaded currently; the associated area of "Comparison of Product P with Similar Products.pdf" can display "c MB / c MB", indicating that the size of example document B is c MB and c MB has been uploaded currently, that is, the upload has been completed. A collapse control 443 can also be displayed in the first area 441 for collapsing the second area 442. A close control 444 can also be displayed in the first area 441 for closing the display of the prompt panel 440. The upload speed v KB / s can also be displayed in the second area 442, indicating that the current upload speed is v KB / s. In some embodiments, the example prompt information can also be used to prompt the parsing status of each example document. For example, "Parsing" can be displayed in the first area 441 of the prompt panel 440, indicating that the example document is in the parsing stage, as Figure 6B shown. Figure 6B In it, the associated area of "Introduction of Product P.pdf" in the second area 442 can display "b MB / b MB", and the associated area of "Comparison of Product P with Similar Products.pdf" can display "c MB / c MB", indicating that both example document A and example document B have been uploaded and are being parsed. In some embodiments, the example prompt information can also be used when both upload and parsing are completed, and queries can be made based on the example documents. For example, "Both upload and parsing have been completed, and questions can be asked" can be displayed in the first area 441 of the prompt panel 440, as Figure 6C shown. Figure 6C In it, the associated area of "Introduction of Product P.pdf" in the second area 442 can display "b MB / bMB", and the associated area of "Comparison of Product P with Similar Products.pdf" can display "c MB / c MB", indicating that both example document A and example document B have completed upload and parsing, and queries can be made based on example document A and example document B.

[0060] It should be understood that in actual use, the prompt panel 440 is used to prompt the upload progress, parsing progress of the specified document, and that queries can be made when both the upload and parsing of the specified document are completed, etc.

[0061] In some embodiments, method 300 further includes:

[0062] In response to a second trigger operation on the recommended query control in the first interaction interface, display an example query record regarding the first query result in the historical query area of the second interaction interface; wherein, the recommended query control is used to query for a preset recommended query text.

[0063] Wherein, the recommended query control can display the recommended query text; the recommended query text can refer to a preset query text, such as querying for currently popular content, etc. The second trigger operation can refer to a trigger operation on the recommended query control, such as clicking. The historical query area can be used to display historical query records, and the example query record can refer to a query record that, in response to a first trigger operation, performs a query based on an example document to obtain a first query result.

[0064] During the process of querying based on the example document, other functions of the first interaction interface can also be used normally. In the actual usage process, in each stage of uploading, parsing a specified document, and querying based on the specified document, other functions in the interface cannot be used. Different from the actual usage process, querying based on the example document is to be closer to the actual usage scenario and intuitively and effectively guide the user to use the function of querying with the specified document. Therefore, other functions can be used during the process of querying based on the example document. When a second trigger operation is detected during the process of starting to query based on the example document in response to the first trigger operation, the current query based on the example document can be used as a historical query, and in response to this second trigger operation, query based on the recommended query text. Specifically, as Figures 6A - 6C shown, the recommended query controls 451 - 453 can indicate different recommended query texts a, recommended query text b, and recommended query text c. In response to a first trigger operation on the example interaction area 420, perform an example query process for the example query text based on example document A and example document B. During this example query process, a second trigger operation can be performed on the recommended query control 451, and then this example query will be displayed as a historical query in the historical query area 520 of the second interaction interface 500, as Figure 7 shown by the example query record 710 in the historical query area 520 in Figure 7 which shows a schematic diagram of the second interaction interface according to an embodiment of the present disclosure.

[0065] In some embodiments, method 300 further includes:

[0066] In response to the second trigger operation, display a second query result obtained for the recommended query text on the second interaction interface.

[0067] Among them, by triggering the recommended query control, more rapid query suggestions can be provided for users, reducing the operations for users to construct query conditions and improving query efficiency. Specifically, as Figures 6A - 6C shown, during the example query process for the example query text based on the example document A and the example document B, a second triggering operation can be performed on the recommended query control 451. Then, while taking the example query process as a historical query record, a query can be performed based on the corresponding recommended query text b "Brief description of the content of the book book", and the corresponding second query result 720 "The book book is..." can be obtained, as Figure 7 shown.

[0068] In some embodiments, the method 300 further includes:

[0069] In response to a third triggering operation on the query control in the first interaction interface, display an example query record regarding the first query result in the historical query area of the second interaction interface; wherein, the query control is used to perform a query based on the input query text input in the associated area of the query control.

[0070] Among them, similar to the second triggering operation, during the query process based on the example document, a query can be performed based on the input query text input in the associated area of the query control, so that the use of other functions is not affected during the query process based on the example document. Specifically, as Figures 6A - 6C shown, "abcd" can be input as the input query text in the associated area 411 of the query control 410, and a third triggering operation is performed on the query control 410. Then, this example query will be displayed as a historical query in the historical query area 520 of the second interaction interface 500, as Figure 8 shown by the example query record 710 in the historical query area 720, Figure 8 showing a schematic diagram of the second interaction interface according to an embodiment of the present disclosure.

[0071] In some embodiments, the method 300 further includes:

[0072] In response to the third triggering operation, display a third query result obtained for the input query text on the second interaction interface.

[0073] Among them, by triggering the query control, a query for the input query text can be realized to meet the personalized query needs of users. Specifically, as Figures 6A - 6CAs shown, during the example query process for the example query text based on example document A and example document B, "abcd" can be input as the input query text in the associated area 411 of the query control 410, and a third trigger operation is performed on the query control 410. Then, while taking the example query process as a historical query record, a query can be performed based on the corresponding "abcd" input as the input query text in the associated area 411 of the query control 410 and performing a third trigger operation on the query control 410, to obtain the corresponding third query result 810 "Efgh...", as Figure 8 shown.

[0074] In some embodiments, method 300 further includes:

[0075] In response to a fourth trigger operation on the historical query record displayed in the historical query area of the second interaction interface, an example query record regarding the first query result is displayed in the historical query area of the second interaction interface.

[0076] Among them, similar to the second trigger operation and the third trigger operation, during the query process based on the example document, the historical query record can be viewed, so that the use of other functions is not affected during the query process based on the example document. Specifically, as Figure 5 shown, the second interaction interface 500 can display a historical query area 520, and a historical query record 521 "Historical Query 1" is displayed in the historical query area 520. During the process of the second interaction interface 500 displaying the first query result 510, a fourth trigger operation can be performed on the historical query record 521, and then this example query will be displayed as a historical query in the historical query area 520 of the second interaction interface 500, as Figure 9 shown by the example query record 710 in the historical query area 520 in Figure 9 which shows a schematic diagram of the second interaction interface according to an embodiment of the present disclosure.

[0077] In some embodiments, method 300 further includes:

[0078] In response to the fourth trigger operation, the historical query result corresponding to the historical query record is displayed on the second interaction interface.

[0079] Among them, the corresponding historical query result can be viewed by triggering the historical query record, which is convenient for user operation. Specifically, as Figure 5As shown, during the example query process for the example query text based on the example document A and the example document B, a fourth trigger operation can be performed on the historical query record 521. Then, while taking the example query process as the historical query record, the historical query result 910 "XXXXXX..." corresponding to the historical query record 521 can be displayed in the second interaction interface 500, as Figure 9 shown.

[0080] In some embodiments, the method 300 further includes:

[0081] In response to a fifth trigger operation on the new query control in the second interaction interface, return to the first interaction interface and display or hide the example interaction area in the first interaction interface; the new query control is used to create a new query conversation based on the first interaction interface.

[0082] Among them, the new query control can be used to return to the first interaction interface to start a new query conversation, as Figure 5 shown by the new query control 530 in. Specifically, in response to a fifth trigger operation on the new query control 530, the first interaction interface 400 can be returned. At this time, the example interaction area can be displayed in the first interaction interface 400, as Figure 4 shown. It can also be considered that the query guidance process based on the example document has been shown, and the example interaction area can be hidden, as Figure 10 shown, Figure 10 shows a schematic diagram of the first interaction interface according to an embodiment of the present disclosure. Hiding the example interaction area can improve the interface simplicity, reduce the risk of misoperation, optimize the user experience, enhance the flexibility of the interface layout, and save screen space, etc.

[0083] See Figure 5 , the query control 541 and its associated area 540 can also be displayed in the second interaction interface 500. The model selection control 542, the data selection controls 543 and 544 can also be displayed in the second interaction interface 500. Similar to Figure 4 the query control 410 in, Figure 5 the associated area 540 of the query control 541 in can be used to input query conditions, and the query control 541 is used to query according to the input query conditions in the associated area 540. Similar to Figure 4 the model selection control 431 in, the model selection control 542 in the second interaction interface 500 can display the query models to be selected by displaying a drop-down menu or a pop-up window in the associated area of the model selection control 542. Similar to Figure 4The data selection controls 432 and 433 in [reference] are similar. Similarly, the data selection controls 543 and 544 in the second interaction interface 500 are respectively used to determine queries based on Internet data or specified documents. When both the data selection controls 543 and 544 are selected, queries can be made based on both Internet data and specified documents as the data basis.

[0084] In some embodiments, method 300 further includes:

[0085] In response to uploading the specified document via the upload control in the first interaction interface, display or hide the example interaction area in the first interaction interface.

[0086] Among them, after uploading the specified document through the upload control, the example interaction area can continue to be displayed in the first interaction interface 400, as Figure 4 shown; or the example interaction area can be hidden to improve the interface simplicity, as Figure 10 shown.

[0087] In some embodiments, method 300 further includes:

[0088] In response to a sixth trigger operation on the example interaction area, display a fourth query result for the example query text generated based on the example document in the second interaction interface, where the fourth query result is different from the first query result.

[0089] Among them, since the display of the query function based on the example document is an actual query operation that occurs in the actual application environment, even for the same example document and example query text, the query results obtained each time the query process can be different. It can be seen that the first query result obtained by displaying the query function based on the example document in the actual application environment has dynamics and real-time nature, which can provide users with more real operation examples and convenient experiences, thereby improving the real experience of function guidance and reducing the learning cost.

[0090] It should be noted that the method of the embodiments of the present disclosure can be executed by a single device, such as a computer or a server, etc. The method of this embodiment can also be applied to a distributed scenario, and completed by multiple devices cooperating with each other. In such a distributed scenario, one of the multiple devices can only execute one or more steps of the method of the embodiments of the present disclosure, and these multiple devices will interact with each other to complete the described method.

[0091] It should be noted that some embodiments of the present disclosure have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the above embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0092] Based on the same inventive concept, corresponding to any of the above-described method embodiments, the present disclosure further provides an interaction device. Refer to Figure 11 , the interaction device, the device includes:

[0093] A display module, configured to display a query control and an example interaction area in a first interaction interface. The query control has a query function for querying based on a specified document. The example interaction area includes example document information and example query text determined based on the example document information;

[0094] An upload module, configured to upload the example document corresponding to the example document information in response to a first trigger operation on the example interaction area;

[0095] The display module is further configured to: display a first query result for the example query text generated based on the example document in a second interaction interface to demonstrate the query function.

[0096] In some embodiments, the display module is further configured to:

[0097] In response to the first trigger operation on the example interaction area, display example prompt information about the example document in the first interaction interface and / or the second interaction interface; the example prompt information is used to prompt the upload progress of the example document, the parsing progress of the example document, or the use of the query function based on the example document.

[0098] In some embodiments, the display module is further configured to:

[0099] In response to a second trigger operation on a recommended query control in the first interaction interface, or in response to a third trigger operation on the query control in the first interaction interface, or in response to a fourth trigger operation on a historical query record displayed in a historical query area in the second interaction interface, display an example query record about the first query result in the historical query area in the second interaction interface;

[0100] Among them, the recommended query control is used to query for a preset recommended query text, and the query control is used to query based on an input query text input in an associated area of the query control.

[0101] In some embodiments, the display module is further configured to:

[0102] In response to the second trigger operation, display a second query result obtained for the recommended query text on the second interaction interface;

[0103] Or, in response to the third trigger operation, display a third query result obtained for the input query text on the second interaction interface;

[0104] Or, in response to the fourth trigger operation, display a historical query result corresponding to the historical query record on the second interaction interface.

[0105] In some embodiments, the display module is further configured to:

[0106] In response to a new query control in the second interaction interface, return to the first interaction interface and display or hide the example interaction area in the first interaction interface; the new query control is used to create a new query conversation based on the first interaction interface;

[0107] Or, in response to uploading the specified document based on an upload control in the first interaction interface, display or hide the example interaction area in the first interaction interface.

[0108] In some embodiments, the display module is further configured to:

[0109] In response to a fifth trigger operation on the example interaction area, display a fourth query result generated for the example query text based on the example document on the second interaction interface, and the fourth query result is different from the first query result.

[0110] In some embodiments, the device further includes:

[0111] A query module, configured to generate the first query result for the example query text based on a specified model and the example document.

[0112] For the convenience of description, the above device is described by dividing functions into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0113] The device in the above embodiments is used to implement the corresponding interaction method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0114] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the interaction method described in any of the above embodiments.

[0115] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device.

[0116] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the interaction method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0117] Based on the same inventive concept, corresponding to the interaction method of any of the above embodiments, the present disclosure also provides a computer program product including computer program instructions. In some embodiments, when the computer program instructions run on a computer, the computer is caused to execute the steps in each of the embodiments of the interaction method. The processor that executes the corresponding steps corresponding to each step in each of the embodiments of the interaction method can belong to the corresponding execution subject.

[0118] The computer program product of the above embodiment is used to cause a processor to execute the interaction method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.

[0119] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; under the concept of the present disclosure, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of brevity.

[0120] Additionally, for simplicity of explanation and discussion, and so as not to render the embodiments of the present disclosure difficult to understand, well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Further, the devices may be shown in block diagram form in order to avoid rendering the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that details regarding the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be entirely within the understanding of those skilled in the art). In cases where specific details (such as circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure may be practiced without these specific details or with variations of these specific details. Accordingly, these descriptions should be considered illustrative rather than restrictive.

[0121] Although the present disclosure has been described in connection with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0122] Embodiments of the present disclosure are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of the present disclosure shall be included within the protection scope of the present disclosure.

Claims

1. An interactive method, comprising: Displaying a query control and an example interaction area in the first interaction interface, wherein the query control has a query function of querying based on a specified document, and the example interaction area includes example document information and example query text determined based on the example document information; In response to a first trigger operation on the example interaction area, an example document corresponding to the example document information is uploaded, and a first query result for the example query text generated based on the example document is displayed in a second interaction interface to demonstrate the query function.

2. The method according to claim 1, further comprising: In response to the first trigger operation on the example interaction area, displaying example prompt information about the example document in the first interaction interface and / or the second interaction interface; The example prompt information is used to prompt the upload progress of the example document, the parsing progress of the example document, or the use of the query function based on the example document.

3. The method according to claim 1, further comprising: In response to a second trigger operation on a recommended query control in the first interactive interface, or in response to a third trigger operation on the query control in the first interactive interface, or in response to a fourth trigger operation on a historical query record displayed in a historical query area in the second interactive interface, displaying an example query record about the first query result in the historical query area of ​​the second interactive interface; The recommended query control is used to query a preset recommended query text, and the query control is used to query based on an input query text input into an associated area of ​​the query control.

4. The method according to claim 3, further comprising at least one of the following: In response to the second trigger operation, displaying a second query result obtained for the recommended query text on the second interactive interface; or, in response to the third trigger operation, displaying a third query result obtained for the input query text on the second interactive interface; Or, in response to the fourth trigger operation, the historical query results corresponding to the historical query records are displayed on the second interactive interface.

5. The method according to claim 1, further comprising at least one of the following: In response to a fifth trigger operation on a new query control in the second interaction interface, returning to the first interaction interface, and displaying or hiding the example interaction area in the first interaction interface; the new query control is used to create a new query dialogue based on the first interaction interface; Or, in response to uploading the designated document based on the upload control in the first interactive interface, displaying or hiding the example interactive area in the first interactive interface.

6. The method according to claim 1, further comprising: In response to a sixth trigger operation on the example interaction area, a fourth query result generated for the example query text based on the example document is displayed in the second interaction interface, and the fourth query result is different from the first query result.

7. The method according to claim 1, further comprising: The first query result for the example query text is generated based on a specified model and the example document.

8. An interactive device, comprising: A display module, configured to display a query control and an example interaction area in a first interaction interface, wherein the query control has a query function of querying based on a specified document, and the example interaction area includes example document information and an example query text determined based on the example document information; an uploading module, configured to upload a sample document corresponding to the sample document information in response to a first triggering operation on the sample interaction area; The display module is also used to: display a first query result for the example query text generated based on the example document in a second interactive interface to demonstrate the query function.

9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program. 10 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to claim 1 .

11. A computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 7.