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

By receiving user input information and utilizing intent recognition and question-answering models, the system automatically analyzes and displays search-related documents and their processing results, solving the problem of low search efficiency in existing technologies and achieving more efficient information acquisition.

CN120950757APending Publication Date: 2025-11-14VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511202036.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-26
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

Existing search solutions for electronic devices are inefficient, requiring users to manually search and analyze documents to obtain information, resulting in overall inefficiency.

Method used

By receiving user input, and utilizing intent recognition algorithms and question-answering models, the system automatically analyzes and displays relevant search results and their processing, reducing the steps users need to take to search and analyze themselves.

Benefits of technology

It improves search efficiency, allowing users to obtain relevant documents and processing results simply by entering information, reducing the steps users need to take to search and analyze themselves, and enhancing the overall efficiency and trustworthiness of the search.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120950757A_ABST
    Figure CN120950757A_ABST
Patent Text Reader

Abstract

The invention discloses a search method and device, electronic equipment, a storage medium and a program product, and belongs to the technical field of electronic equipment. The searching method comprises the following steps: receiving first input; the first input is used for inputting first information; in response to the first input, displaying a search processing result and a search related file corresponding to the first information; the search related file corresponds to the first information, and the search processing result is obtained by processing the search related file according to the first information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic equipment technology, specifically relating to a search method, apparatus, electronic device, storage medium, and program product. Background Technology

[0002] Searching on electronic devices typically involves the user entering search keywords, such as document names, and the device then retrieves files related to those keywords. The user clicks on the retrieved files, browses them, and finds useful information. However, this search method is inefficient for users in obtaining information. Summary of the Invention

[0003] The purpose of this application is to provide a search method, apparatus, electronic device, storage medium, and program product that can improve search efficiency.

[0004] In a first aspect, embodiments of this application provide a search method, the method comprising: receiving a first input; the first input being used to input first information; in response to the first input, displaying search processing results and search-related files corresponding to the first information; the search-related files corresponding to the first information, and the search processing results being obtained by processing the search-related files based on the first information.

[0005] Secondly, embodiments of this application provide a search device, comprising: a receiving module and a display module. The receiving module is configured to receive a first input, which is used to input first information. The display module is configured to, in response to the first input, display search processing results corresponding to the first information and search-related files; the search-related files correspond to the first information, and the search processing results are obtained by processing the search-related files based on the first information.

[0006] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the search method as described in the first aspect.

[0007] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the search method as described in the first aspect.

[0008] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the search method as described in the first aspect.

[0009] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the search method as described in the first aspect.

[0010] In this embodiment, a first input is received, which is used to input first information. In response to the first input, search results and related files corresponding to the first information are displayed. The related files correspond to the first information, and the search results are obtained by processing the related files based on the first information. Thus, the user only needs to input the information to be searched to trigger the electronic device to search for related files corresponding to that information, analyze and process the related files, obtain the desired search results, and display the search results and related files. This eliminates the need for the user to manually search for files to obtain the desired search results, improving search efficiency. Attached Figure Description

[0011] Figure 1 This is a flowchart illustrating a search method provided in an embodiment of this application;

[0012] Figure 2 This is one of the schematic diagrams of the search interface provided in the embodiments of this application;

[0013] Figure 3 This is a second schematic diagram of the search interface provided in the embodiments of this application;

[0014] Figure 4 This is a schematic diagram illustrating the display of placeholder icons in the search interface, provided in an embodiment of this application.

[0015] Figure 5 This is a schematic diagram illustrating the display of new questions on the search interface provided in an embodiment of this application;

[0016] Figure 6 This is a schematic diagram illustrating the input of a new question in the search interface provided in an embodiment of this application;

[0017] Figure 7 This is a schematic diagram illustrating the display of search results corresponding to a new question on the search interface, as provided in an embodiment of this application.

[0018] Figure 8 This is a flowchart illustrating another search method provided in an embodiment of this application;

[0019] Figure 9 This is a schematic diagram of the structure of the search device provided in the embodiments of this application;

[0020] Figure 10 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0021] Figure 11 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0024] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."

[0025] The identifiers in this application are text, symbols, images, etc. used to indicate information, and can be displayed in the form of controls or other containers, including but not limited to text identifiers, symbol identifiers, and image identifiers.

[0026] The search method, apparatus, electronic device, storage medium, and program product provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0027] The search method provided in this application can be applied to scenarios where local data is searched in electronic devices.

[0028] Typically, suppose a user writes a travel journal about their daily itinerary. If they want to know the itinerary for the third day, they can first search for the journal by its title, then read the content to find the information. However, this approach forces users to retrieve information from the journal with their own questions after finding it, analyze and organize the information to get the answers they want. The entire process is divided into three parts: "search-view-analysis," resulting in high overall cost and low search efficiency for targeted information acquisition.

[0029] Therefore, this application provides a search method in which users only need to input the information they want to search for, which triggers the electronic device to find the relevant files corresponding to the information, analyze and process the relevant files, obtain the search results that the user wants, and display the search results and the relevant files. This eliminates the need for users to search for files themselves to obtain the desired search results, thus improving search efficiency. Furthermore, by displaying the relevant files, it shows which files the search results were generated from, helping users understand the source of the results and increasing user trust in the search results.

[0030] The execution subject of the search method provided in this application embodiment can be a search device. Exemplarily, the search device can be an electronic device, or a functional component or entity within that electronic device. The following will use an electronic device as an example to illustrate the search method provided in this application embodiment.

[0031] Figure 1 This is a flowchart illustrating the search method provided in an embodiment of this application, such as... Figure 1 As shown, the search method provided in this application embodiment may include the following steps 101 and 102.

[0032] Step 101: The electronic device receives the first input.

[0033] In some embodiments of this application, the first input described above can be used to input first information.

[0034] In some embodiments of this application, the first input described above may be input on the search interface of a first application displayed on an electronic device.

[0035] In some embodiments of this application, the first application mentioned above is an application (APP) installed on an electronic device. For example, the first application mentioned above may be a note-taking application, a file management application, an email application, a calendar application, a sticky note application, a recording application, a memo application, etc.

[0036] In some embodiments of this application, the search interface of the first application can be the original interface in the first application used to search for data stored in the first application.

[0037] In some embodiments of this application, if a user wants to search for certain data stored in the first application or obtain some information from the certain data stored in the first application, the user can launch the first application by triggering the icon of the first application installed on the electronic device. At this time, the homepage of the first application is displayed, and the user can trigger the search control on the homepage of the first application to trigger the electronic device to display the search interface of the first application.

[0038] In some embodiments of this application, the aforementioned first information may be a question, such as "What is the itinerary for the third day of the trip to City A?", or the aforementioned first information may also be an instruction, such as "Compile the itinerary for the third day of the trip to City A".

[0039] In some embodiments of this application, the search interface may include a search box in which the user can enter first information, namely “query”.

[0040] In some embodiments of this application, a user can enter first information in the search box in text form. For example, a user can click the search box, and the search interface can display an input method keyboard, allowing the user to enter the first information in the search box by clicking the keys on the input method keyboard.

[0041] In some embodiments of this application, a user can input first information in the search box via voice. For example, a user can click the search box, and the search interface can display an input method keyboard. The user can then click the voice input control on the input method keyboard and input voice information. The electronic device will convert the received voice into text and display it in the search box, thus enabling the user to input first information in the search box.

[0042] Step 102: The electronic device responds to the first input by displaying the search processing results and search-related files corresponding to the first information.

[0043] In some embodiments of this application, the search-related files mentioned above correspond to the first information, and the search processing results are obtained by processing the search-related files based on the first information.

[0044] In some embodiments of this application, the data stored in the first application may include data generated by the user using the first application or data managed by the first application.

[0045] In some embodiments of this application, the first application is a note-taking application, and the data stored in the first application may include notes recorded by the user. Alternatively, the first application is an email application, and the data stored in the first application may include emails received or sent. Alternatively, the first application is a calendar application, and the data stored in the first application may include calendars created by the user. Alternatively, the first application is a voice recorder application, and the data stored in the first application may include audio recordings made by the user. Alternatively, the first application is a file management application, and the data stored in the first application may include files or documents locally on the electronic device managed by the file management application. Alternatively, the first application is a note-taking application, and the data stored in the first application may include notes recorded by the user. Alternatively, the first application is a memo application, and the data stored in the first application may include memo data recorded by the user.

[0046] In some embodiments of this application, the data stored by the first application is specifically stored in a local data center of the electronic device. For example, the electronic device can write the data stored by the first application into the data center by dimension. Dimensions may include title, time, source application, management application, etc.

[0047] In some embodiments of this application, the data stored in the first application is notes. The electronic device may store at least one of the following in a data center: note title, note content, note folder, note creation time, note modification time, note word count, note management application, etc. The note management application is a note application.

[0048] In some embodiments of this application, the data stored by the first application is a document. The electronic device may store at least one of the following in a data center: document type, document format, document title, document content, document word count, document creation time, document modification time, document management application, document source application, etc. The document management application is a file management application, and the document source application is the application that generated the document, such as a social application, news application, game application, video application, photo album application, etc.

[0049] In some embodiments of this application, the data stored by the first application is email. The electronic device may store at least one of the following in a data center: email title, email body, email recipient, email sender, email sending or receiving time, email source application, etc. The email source application may be an email application.

[0050] In some embodiments of this application, the data stored in the first application is a recording. The electronic device may store at least one of the following in a data center: recording duration, recording content, recording time, recording management application, recording source application, etc. The recording management application is the recording application, and the recording source application may be a call application.

[0051] In some embodiments of this application, the electronic device may also create an index for each piece of data so that each piece of data stored in the data center can be searched based on the index. Exemplarily, this index can be understood as an information retrieval table, which may include different fields such as time, title, source application, management application, and title.

[0052] In some embodiments of this application, the search-related files are data corresponding to the first information in the data stored by the first application, and the search processing results are obtained by analyzing and processing the data corresponding to the first information in the data stored by the first application based on the first information.

[0053] In some embodiments of this application, the search-related files displayed by the electronic device can be the file title or file name of the search-related files.

[0054] For example, if the search result is a document, the electronic device displays the document's name. Alternatively, if the search result is a note, the electronic device displays the note's name. Or, if the search result is an audio recording, the electronic device displays the audio recording's name. Or, if the search result is an email, the electronic device displays the email's subject.

[0055] In some embodiments of this application, the electronic device can first send the first information to the data center through the first application, then search for relevant files in the data stored by the data center, then search for the file content corresponding to the first information from the searched relevant files, and then send the first information and the file content corresponding to the first information to the cloud server. The cloud server analyzes, summarizes or integrates the file content corresponding to the first information to obtain the search processing result corresponding to the first information, and sends the search processing result corresponding to the first information to the data center, which then sends it to the first application. The data center also sends the search-related files to the first application. The first application displays the search processing result and the search-related files corresponding to the first information on the search interface.

[0056] For example, an electronic device can display a search result card on the search interface, and display the search processing results and search-related documents corresponding to the first information on the search result card.

[0057] The search method provided in this application embodiment allows users to simply input the information they want to search for, triggering the electronic device to find relevant search files corresponding to that information, analyze and process the relevant search files, obtain the desired search results, and display the search results and relevant search files. This eliminates the need for users to manually search for files to obtain the desired search results, thus improving search efficiency. Furthermore, by displaying relevant search files, it shows which files the search results were generated from, helping users understand the source of the results and increasing their trust in the search results.

[0058] In some embodiments of this application, step 103 can be implemented by steps 201 to 204.

[0059] Step 201: The electronic device responds to the first input and obtains the intent description information of the first information.

[0060] In some embodiments of this application, the electronic device may use an intent recognition algorithm or intent recognition model to perform intent recognition on the first information to obtain intent description information of the first information.

[0061] In some embodiments of this application, the intent recognition algorithm described above may include a regular expression algorithm or a keyword matching algorithm.

[0062] In some embodiments of this application, the aforementioned intent recognition model may include a trained classifier such as a Support Vector Machine (SVM) or a random forest, a deep learning model trained using an intent recognition task, a pre-trained language model with intent recognition capabilities, and so on.

[0063] For example, the deep learning model trained using the intent recognition task can be a convolutional neural network (CNN), a recurrent neural network (RNN), a long short-term memory network (LSTM), or a gated recurrent unit (GRU), etc.

[0064] For example, a pre-trained language model with intent recognition capabilities can be a Bidirectional Encoder Representations from Transformers (BERT) model, a Generative Pre-trained Transformer (GPT), and so on.

[0065] In some embodiments of this application, the electronic device can send first information to a cloud server. After receiving the first information, the cloud server uses an intent recognition algorithm or intent recognition model to perform intent recognition on the first information, obtains intent description information of the first information, and sends the intent description information to the electronic device.

[0066] In some embodiments of this application, a first application of an electronic device sends first information to a data center. After receiving the first information, the data center sends the first information to a cloud server via GPTAgent. The data center uses dcs-kit as an intermediary, and GPTAgent uses gptkit as an intermediary.

[0067] For example, after receiving the first information, the data center sends the first information to GPTAgent, and after receiving the first information, GPTAgent sends the first information to the cloud server.

[0068] In some embodiments of this application, the electronic device can send first information to the search server. After receiving the first information, the search server sends the first information to the cloud server. After receiving the first information, the cloud server uses an intent recognition algorithm or intent recognition model to perform intent recognition on the first information to obtain intent description information of the first information, and sends the intent description information to the search server, which then sends the intent description information to the electronic device.

[0069] In some embodiments of this application, a first application of an electronic device sends first information to a data center, and after receiving the first information, the data center sends the first information to a search server via GPTAgent.

[0070] In some embodiments of this application, the electronic device can perform semantic understanding on the first information, analyze what type of data the user needs that meets what conditions, and obtain intent description information.

[0071] For example, suppose the user inputs the first information as "What is the itinerary for the third day of a trip to City A?". After understanding the intent of this first information, the electronic device recognizes that the user needs data related to a trip to City A. That is, the intent description of the first information is to find data related to the itinerary for the third day of a trip to City A.

[0072] Step 202: Based on the intent description information, the electronic device searches for relevant files from at least one piece of data stored in the first application.

[0073] In some embodiments of this application, at least one of the data stored in the first application described above may include at least one of the following: files, emails, audio, video, images, schedules, and notes.

[0074] In some embodiments of this application, different first applications store different data. For example, the file management application stores data including files, audio, video, images, etc., the email application stores data including emails, the recording application stores data including audio, the calendar application stores data including calendar events, and the note-taking application stores data including notes.

[0075] In some embodiments of this application, the electronic device can first find the data stored in the first application in the data center, and then find the data related to the intent description information from the data stored in the first application to obtain the search-related file.

[0076] In some embodiments of this application, an electronic device can search for data containing keywords from the data stored in a first application as search-related files based on keywords that describe the intent information.

[0077] For example, for the first data stored in the first application, the electronic device can search for keywords in the intent description information from the information in various dimensions of the first data. If the first data includes the keywords in the intent description information in at least one dimension of the information, then the first data is determined to be a search-related file.

[0078] For example, suppose the intent description is to find data related to the third day of a trip to City A, and the keywords in the intent description include "City A" and "tourism". If the first application stores a file whose title dimension information (i.e. the title of the file) is "Tourism Arrangements in City A", which includes the two keywords "City A" and "tourism", then the electronic device can determine that the file is the relevant file for the search.

[0079] Step 203: The electronic device obtains the search processing result corresponding to the first information based on the file content related to the intent description information in the search-related files.

[0080] In some embodiments of this application, after the electronic device determines the relevant search file, it can extract the file content related to the intent description information from the relevant search file, and then analyze, integrate or summarize the file content related to the intent description information based on the first information to obtain the search processing result corresponding to the first information.

[0081] In some embodiments of this application, the electronic device can input first information and file content related to the intent description information into a question-answering model. The question-answering model analyzes and understands the first information and the file content related to the intent description information, and outputs the search processing result corresponding to the first information. For example, the question-answering model can be a large language model or a deep learning model pre-trained based on a question-answering task.

[0082] In some embodiments of this application, the first information mentioned above can be a question, and the search processing result is an answer obtained by processing relevant files based on the question. Specifically, the search processing result can be an answer obtained by processing file content related to intent description information in relevant files based on the question.

[0083] Example 1: The first piece of information is a question, such as "What is the itinerary for the third day of a trip to City A?". The intent description of this first piece of information is to find data related to the itinerary for the third day of a trip to City A. The electronic device finds the relevant file, a note titled "Tourism Arrangements for City A," from the data stored in the first application. Then, the electronic device can extract content fragments related to the itinerary from this note based on the first piece of information, "What is the itinerary for the third day of a trip to City A?". Then, it analyzes the content fragments related to the itinerary based on the question to obtain the search results corresponding to the first piece of information, namely the itinerary for the third day, such as "The itinerary for the third day of a trip to City A is as follows: 8-10 am, meet at the hotel entrance, proceed to attraction B; 10-12 pm, horseback riding at attraction B..."

[0084] In some embodiments of this application, the first information mentioned above can be an instruction, and the search processing result is a processing result obtained by processing the search-related files according to the instruction. Specifically, the search processing result can be an answer obtained by processing the file content related to the intent description information in the search-related files according to the instruction.

[0085] Example 2: The first information is an instruction. Taking the first information as "How has your blood pressure been in recent years?" as an example, the intent description of this first information is to find the user's blood pressure data from recent physical examinations. The application searches for relevant files in its stored data: "2025 Physical Examination Report," "2024 Physical Examination Report," and "2023 Physical Examination Report." Then, the electronic device can extract content fragments related to blood pressure data from these three files based on the first information "How has your blood pressure been in recent years?" Then, it analyzes these content fragments according to the instruction to obtain the search results corresponding to the first information, namely, the blood pressure situation in recent physical examinations. For example, "From 2023 to 2025, Xiaoming's blood pressure was generally stable, with systolic pressure within the range of a1 to a2 and diastolic pressure within the range of b1 to b2. His blood pressure was relatively stable."

[0086] In this way, by having electronic devices determine the search results based on the file content and primary information related to the intent description information in the search-related files, data leakage can be reduced and the security of locally stored data can be improved.

[0087] Step 204: The electronic device displays the search results and related files corresponding to the first information.

[0088] Referring to Example 1, such as Figure 2 As shown, the electronic device displays a search interface 50. The user enters the first piece of information 51 into the search interface 50, such as "What is the itinerary for the third day of the tour in City A?". The electronic device displays the search results 52 corresponding to the first piece of information on the search interface 50, such as "The itinerary for the third day of the tour in City A is as follows: 8-10 am, meet at the hotel entrance, proceed to attraction B, 10-12 pm, horseback riding at attraction B...". The search interface 50 also displays the file identifiers 56 of the search-related documents, such as "City A Tour Arrangement.doc".

[0089] Referring to Example 2, such as Figure 3 As shown, the electronic device displays a search interface 50. The user enters the first piece of information 53 into the search interface 50, such as "What are your blood pressure readings in recent years?" The electronic device displays the search results 54 corresponding to the first piece of information on the search interface 50, such as "From 2023 to 2025, Xiaoming's blood pressure was generally stable, with systolic pressure in the range of a1 to a2 and diastolic pressure in the range of b1 to b2. His blood pressure was relatively stable." The search interface 50 also displays the file identifiers 57 of the searched related documents, such as "2025 Physical Examination Report", "2024 Physical Examination Report", and "2023 Physical Examination Report".

[0090] In this way, the electronic device analyzes the files stored locally on the device that correspond to the user's input information based on the user's intent, and obtains the search results the user wants. That is, the user only needs to input one piece of information to trigger the electronic device to analyze the files stored locally that correspond to that information and obtain the search results. Compared with related technologies that can only return the file itself, the user does not need to analyze the returned file, thus improving search efficiency.

[0091] In some embodiments of this application, the search-related files may include at least two file contents related to intent description information; step 203 may be implemented through steps 2031 to 2033.

[0092] Step 2031: The electronic device obtains the matching degree between the file content related to each intent description information and the intent description information.

[0093] In some embodiments of this application, the electronic device may employ a keyword matching algorithm or a semantic association analysis algorithm to calculate the matching degree between each file content related to the intent description information and the intent description information.

[0094] For example, an electronic device determines the file content related to the intent description information and the keywords of the intent description information by calculating the frequency of keywords in the intent description information in the file content related to the intent description information.

[0095] For example, an electronic device can determine the semantic similarity between each file content related to the intent description information and the intent description information through a semantic similarity model, and use the semantic similarity as the matching degree.

[0096] Step 2032: The electronic device determines the target file content from at least two file contents related to the intent description information based on the matching degree.

[0097] In some embodiments of this application, the electronic device can sort the contents of at least two files related to the intent description information according to their matching degree, and determine the first file content related to the intent description information as the target file content; or, determine the first N file contents related to the intent description information as the target file content. Here, N is an integer greater than 0, and the value of N can be set according to actual needs; this application does not limit this. For example, N can be 5, 2, or 3, etc.

[0098] Step 2033: The electronic device obtains the search processing result corresponding to the first information based on the content of the target file.

[0099] In some embodiments of this application, the electronic device can analyze, integrate, or summarize the content of the target file based on the first information to obtain the search processing results corresponding to the first information.

[0100] In some embodiments of this application, the electronic device can input the first information and the target file content into a question-answering model, analyze and understand the first information and the target file content through the question-answering model, and output the search processing result corresponding to the first information.

[0101] Thus, when the electronic device finds a large number of files related to the intent description information of the first information, it can select target files with a high degree of relevance to the intent description information of the first information. By analyzing and processing the target file content, the search results corresponding to the first information can be determined. On the one hand, this can reduce the amount of computation and improve the efficiency of question answering; on the other hand, it can avoid the interference of file content with a low degree of relevance to the search results and improve the accuracy of the generated search results.

[0102] In some embodiments of this application, step 203 can be implemented by steps 2034 and 2035.

[0103] Step 2034: The electronic device sends the first information and at least one file content related to the intent description information to the server.

[0104] In some embodiments of this application, the aforementioned server may be a search server or a cloud server. The at least one file content related to the intent description information may include file content related to the intent description information found from search-related files or the aforementioned target file content.

[0105] Step 2035: The electronic device receives the search processing result corresponding to the first information from the server.

[0106] In some embodiments of this application, the search processing result corresponding to the first information is obtained by the server by inputting the first information and at least one file content related to the intent description information into the question-answering model.

[0107] In some embodiments of this application, the electronic device can send first information and at least one file content related to intent description information to a cloud server. The cloud server inputs the received first information and at least one file content related to intent description information into a question-answering model, analyzes and understands the first information and at least one file content related to intent description information through the question-answering model, outputs the search processing result corresponding to the first information, and sends the search processing result corresponding to the first information to the electronic device.

[0108] In some embodiments of this application, the electronic device can send first information and at least one file content related to intent description information to a search server. The search server sends the first information and at least one file content related to intent description information to a cloud server. The cloud server inputs the received first information and at least one file content related to intent description information into a question-answering model. The question-answering model analyzes and understands the first information and at least one file content related to intent description information, outputs the search processing result corresponding to the first information, and sends the search processing result corresponding to the first information to the search server. The search server then sends the search processing result corresponding to the first information to the electronic device.

[0109] In some embodiments of this application, the electronic device can send first information and at least one file content related to intent description information to a cloud server or search server via GPTAgent.

[0110] It should be noted that the electronic device sends the first information and at least one file related to the intent description information to the server only with the user's consent.

[0111] In this way, the server analyzes and processes the file content related to the intent description information based on the first information to obtain the search processing result corresponding to the first information. Electronic devices do not need to deploy a question-answering model, which can reduce the storage burden and computing power of electronic devices.

[0112] In some embodiments of this application, step 102 can be implemented by steps 1021 and 1022.

[0113] Step 1021: The electronic device responds to the first input by displaying a placeholder icon in the first area.

[0114] In some embodiments of this application, the placeholder identifier described above can be used to indicate the progress of the search process.

[0115] In some embodiments of this application, the electronic device can also analyze the first information to determine whether the search processing result corresponding to the first information needs to be obtained by analyzing the data stored in the first application. If so, when the electronic device finds file content related to the intent description information, it informs the first application of the message "question and answer results are required", and the electronic device can display a placeholder icon on the search interface.

[0116] For example, if the first information is a question, then the search results corresponding to the first information need to be obtained through data analysis stored in the first application; or, if the intent description of the first information is to find certain data, such as a file, an email, or a note, then the search results corresponding to the first information do not need to be obtained through data analysis stored in the first application. Alternatively, if the intent information of the first information is to find specific data content, then the search results corresponding to the first information need to be obtained through data analysis stored in the first application.

[0117] For example, suppose the first information a user enters is "What is the itinerary for the third day of a trip to City A?". This first information is a question asking about the specific itinerary content, and a question-and-answer result is required. It can be determined that the search processing result corresponding to this first information needs to be obtained by analyzing the data stored in the first application. Then, the message "a question-and-answer result is required" is communicated to the first application, and the electronic device can display a placeholder icon on the search interface.

[0118] For example, such as Figure 4 As shown, the placeholder can be a prompt message. The electronic device displays a prompt message 55 on the search interface 50, such as "Smart search in progress," to inform the user that a search is currently being performed.

[0119] Step 1022: Once the search process is complete, the electronic device updates the placeholder marker in the first area to display the search results and related files corresponding to the first information.

[0120] For example, after a user enters the first piece of information 51 in the search interface 50, such as Figure 4 As shown, the search interface 50 displays prompt information 55, and then, after the search results are found, as... Figure 2 As shown, the search interface 50 displays the search results 52 for the first information.

[0121] Thus, when the search results corresponding to the first information entered by the user need to be obtained through data analysis stored in the first application, the electronic device can display a placeholder icon to inform the user that a search is in progress, making it easier for the user to know the search progress and alleviating the user's waiting anxiety.

[0122] In some embodiments of this application, the search method provided in this application may further include the following steps 103 and 104.

[0123] Step 103: The electronic device receives the second input.

[0124] In some embodiments of this application, the second input described above may be input for searching related files.

[0125] In some embodiments of this application, if a user wants to view the file content of a search-related file, they can make a second input regarding the search-related file.

[0126] In some embodiments of this application, the aforementioned second input includes, but is not limited to: a user using a touch device such as a finger or stylus to input information about searching for related documents through the touch area of ​​an electronic device, or a specific gesture input by the user, or other feasible input. Specifically, it can be determined according to actual usage needs, and this application does not limit it.

[0127] For example, the aforementioned touch input may include single-click input, double-click input, or any number of clicks, or it may include long-press input, short-press input, swipe input, drag input, or drop input, etc. The specific gestures mentioned above can be any one of the following: single-click gesture, pressure-recognition gesture, long-press gesture, area change gesture, double-press gesture, and double-tap gesture.

[0128] Step 104: The electronic device responds to the second input and displays the file content of the searched relevant file.

[0129] In some embodiments of this application, the first content in the file content of the aforementioned search-related files is highlighted, and this first content is content related to the search processing results.

[0130] In some embodiments of this application, the electronic device responds to a second input, searches for the file content of the search-related file in the data center based on the file title or file name of the search-related file, displays the file content of the search-related file on the search interface, and highlights the first content in the file content of the search-related file that is related to the search processing result.

[0131] In some embodiments of this application, the content related to the search processing result mentioned above is the content used to generate the search processing result. Alternatively, the content related to the search processing result mentioned above is the content input into the question-answering model used to determine the search processing result corresponding to the first information.

[0132] In some embodiments of this application, after the electronic device finds file content related to the intent description information from the search-related files, it marks the file content related to the intent description information. Alternatively, after the electronic device determines the target file content from the file content related to the intent description information, it marks the target file content. In this case, the content related to the search processing result mentioned above can also be understood as the marked file content.

[0133] In some embodiments of this application, the above-mentioned highlighting may include at least one of the following: highlighting, bolding, underlining, italics, larger font size, color display, etc.

[0134] For example, when a user clicks on the search-related file on the search interface, the electronic device displays the file content of the search-related file and highlights the content related to the search results, namely the first content mentioned above.

[0135] In this way, by having the user click to search for relevant files, the electronic device can be triggered to display the file content of the searched files, making it easier for the user to understand from which file content the search results were generated, and increasing the user's trust in the search results.

[0136] It should be noted that step 103 can be performed after step 102.

[0137] In some embodiments of this application, the aforementioned first information corresponds to at least two search-related files. Step 102 can be specifically implemented through step 1023.

[0138] Step 1023: The electronic device responds to the first input by displaying the search processing result corresponding to the first information and at least two search-related files, wherein the search processing result is obtained by processing the at least two search-related files based on the first information.

[0139] In some embodiments of this application, the search processing results described above indicate the changing trends of the target content in at least two search-related files.

[0140] For example, taking a physical examination report as an example, the search results can be the trend of a certain indicator in the physical examination report.

[0141] Taking Example 2 as an example, the electronic device finds three search-related files: "2025 Physical Examination Report", "2024 Physical Examination Report", and "2023 Physical Examination Report". Based on these three search-related files, the search result is "From 2023 to 2025, Xiaoming's blood pressure was generally stable, with systolic pressure within the range of a1 to a2 and diastolic pressure within the range of b1 to b2, indicating relatively stable blood pressure." The search result and the three search-related files are displayed.

[0142] In some embodiments of this application, the first information mentioned above is a document organization instruction, and the search processing result is a summary result obtained by processing the search-related files according to the document organization instruction. The summary result includes at least two document nodes. The search method provided in the embodiments of this application may further include the following steps 105 and 106.

[0143] Step 105: While displaying the file content of the search-related file, the electronic device receives a third input to the first node of at least two document nodes.

[0144] In some embodiments of this application, the aforementioned at least two document nodes may include time nodes or location nodes. The aforementioned third input may be a click input, single-click input, short-press input, or trigger input / output on the first node of the at least two document nodes.

[0145] Step 106: In response to the third input, the electronic device displays the second content in the file content of the search related file, which is related to the first node.

[0146] For example, assuming the document organization instruction is "organize travel arrangements for City A", the electronic device finds relevant search-related documents about travel arrangements in City A, organizes the travel routes and schedules for City A based on the content of these documents, obtains the search results, and displays the search results and relevant documents. When the user clicks on a relevant document, the electronic device displays its content. Then, if the user clicks on a specific time point in the document content, the electronic device will jump to display the arrangements related to that time point within that document content; or, if the user clicks on a specific location point in the document content, the electronic device will jump to display the arrangements related to that location within that document content.

[0147] For example, if a user clicks on the time node "morning" in the file content, the electronic device will jump to display the morning travel itinerary within the file content. Or, if a user clicks on the location node "attraction a" in the file content, the electronic device will jump to display the travel itinerary at attraction a within the file content.

[0148] Thus, when a user inputs a document organization command, the electronic device processes the relevant files based on the command to obtain a summary result. The user can then open the file content of the relevant file based on this summary result. By clicking on a node in the file content, the electronic device can jump to the corresponding document location within the file content, making it easier for the user to find further relevant content.

[0149] In some embodiments of this application, the search method provided in this application may further include the following steps 107 to 109.

[0150] Step 107: The electronic device displays at least one second piece of information, which is related to the search processing result.

[0151] In some embodiments of this application, the electronic device may further analyze the search processing results and display at least one piece of second information related to the search processing results. For example, the at least one piece of second information may include a question related to the search processing results.

[0152] For example, suppose the search results include the specific itinerary for the third day of a trip to City A. The at least one piece of second information may include at least one of "what time to meet in the afternoon", "return time", "when is free time", etc.

[0153] For example, combining Figure 2 ,like Figure 5 As shown, the search interface 50 of the electronic device displays second information 59, such as "What time is the meeting in the afternoon", "Return time", and "When is the free time".

[0154] Step 108: The electronic device receives a third input for the target information in at least one of the second pieces of information.

[0155] In some embodiments of this application, the aforementioned target information is information that the user is interested in.

[0156] In some embodiments of this application, the second input can be a single click, a tap, a short press, or other input of the target information.

[0157] Step 109: The electronic device responds to the third input by displaying the search processing results and search-related files corresponding to the target information.

[0158] In some embodiments of this application, if a user is interested in target information, they can directly click on the target information. After receiving the target information, the electronic device can use the method of the embodiments of this application to determine the search processing results and search-related files corresponding to the target information, and display the search processing results and search-related files corresponding to the target information on the search interface.

[0159] In this way, electronic devices automatically display information that users may be interested in on the search interface. Users can trigger a search for information of interest simply by clicking without having to type anything in, which simplifies the user's operation and improves search efficiency.

[0160] In some embodiments of this application, the key information in the search results corresponding to the first information is highlighted.

[0161] In some embodiments of this application, the aforementioned key information may include time, location, or name. The electronic device can identify key information in the search results and display it in a highlighted state.

[0162] In some embodiments of this application, the above-mentioned highlighting state may include at least one of the following: highlighting, bolding, underlining, italics, larger font size, color display, etc.

[0163] For example, suppose the search result corresponding to the first information is "The itinerary for the third day of the tour in City A is as follows: 8-10 am, meet at the hotel gate, go to attraction B, 10-12 pm, horseback riding at attraction B...", the electronic device can identify the time "8-10 am", "10-12 pm" and the location "attraction B" in the search result corresponding to the first information, and highlight "8-10 am", "10-12 pm" and "attraction B".

[0164] In this way, by specially displaying key information in the search results, users can quickly see the key information, reducing the steps required for users to extract key information and making it easier for users to quickly obtain the key information from the search results.

[0165] In some embodiments of this application, the search method provided in this application may further include the following steps 110 and 111.

[0166] Step 110: The electronic device receives a fourth input for at least one key piece of information.

[0167] In some embodiments of this application, the fourth input can be a click input, a tap input, a short press input, etc., for at least one key piece of information.

[0168] Step 111: The electronic device responds to the fourth input and performs an operation related to at least one key piece of information.

[0169] In some embodiments of this application, the aforementioned key information is a location, and operations related to the key information include launching a navigation application.

[0170] For example, if a user clicks on a location in the search results, the electronic device can launch a navigation application and display or navigate to that location in the application.

[0171] In some embodiments of this application, the aforementioned key information is time, and operations related to the key information include setting a schedule or setting an alarm.

[0172] For example, if a user clicks on a time point in the search results, the electronic device launches a calendar application and creates a schedule at that time; or, the electronic device launches a clock application and sets an alarm at that time.

[0173] In some embodiments of this application, the aforementioned key information is a person's name, and operations related to the key information include contacting the contact person corresponding to that person's name.

[0174] For example, if a user clicks on a name in the search results, the electronic device launches a calling or social application and opens a dialog box or contact information for the contact person corresponding to that name.

[0175] In this way, by clicking on key information such as time or location highlighted in the search results, electronic devices can be quickly triggered to perform time- or location-related operations without the user having to manually launch navigation or calendar applications, thus improving operational efficiency.

[0176] In some embodiments of this application, the search method provided in this application may further include the following steps 112 and 113.

[0177] Step 112: The electronic device receives a fifth input, which is used to input the third information.

[0178] In some embodiments of this application, the aforementioned third information can be a question or an instruction. This third information can be information entered by the user in the search box in the form of text or voice.

[0179] Step 113: The electronic device responds to the fifth input by updating the search processing results and search-related files corresponding to the first information to the search processing results and search-related files corresponding to the third information.

[0180] In some embodiments of this application, after the electronic device displays the search results corresponding to the first information, the user can ask further questions about the search results and input third information. Based on the third information and the search results corresponding to the first information, the electronic device searches for search-related files corresponding to the third information, analyzes and processes the search-related files based on the third information, obtains the search results corresponding to the third information, and displays the search results and search-related files corresponding to the third information on the search interface.

[0181] For example, combined Figure 2 ,like Figure 6 As shown, the user enters a third piece of information (58) into the search interface (50), such as "Where should I have dinner?". Figure 7 As shown, the electronic device displays the search results 59 corresponding to the third information 58 on the search interface 50, such as "Dinner on the third day of the trip to City A will be around 6 pm, and we will enjoy roasted whole lamb at the restaurant of the guesthouse".

[0182] In this way, users can ask further questions based on the search results to get the answers they want without having to search for the answers in the files themselves, thus improving search efficiency.

[0183] Figure 8 This is a flowchart illustrating the search method provided in an embodiment of this application. Taking a user searching for a travel itinerary in a notes application as an example, the method may include the following steps.

[0184] Step 701: The client's note-taking application receives the question entered by the user in the search interface.

[0185] For example, the note-taking application is the first application in the above embodiments, and the problem is the first information in the above embodiments.

[0186] Step 702: The client's note-taking application sends the issue to the client's data center.

[0187] Step 703: The client's data center calls the cloud server's intent recognition model to perform intent recognition on the question and obtain intent description information.

[0188] Step 704: The client's data center analyzes the problem to determine whether a question-and-answer result is required. If a question-and-answer result is required, proceed to step 708; if a question-and-answer result is not required, proceed to step 723.

[0189] Step 705: The client's data center searches for notes related to the intent description information from the notes in the note-taking application.

[0190] Step 706: The client's data center searches for notes related to the intent description information from the notes related to the intent description information.

[0191] Step 707: The client's data center sorts the notes related to the intent description information and retains the top N notes.

[0192] Step 708: The client's data center returns the message "Question and answer results are required" to the client's note-taking application.

[0193] Step 709: After receiving the message "Question and answer results are required", the client's note-taking application displays a placeholder icon, which is used to indicate the progress of the search processing.

[0194] Step 710: The client's data center sends a search request to GPTAgent, which includes the question and the top N notes.

[0195] Step 711: GPTAgent sends the received search request to the search server. The search request includes the question and the content of the first N notes.

[0196] Step 712: The search server sends the question and the top N notes to the ranking model on the cloud server.

[0197] Step 713: The cloud server's sorting model sorts the first N notes based on the matching degree between the question and the first N notes, thus obtaining the sorting result of the first N notes.

[0198] Step 714: The cloud server's ranking model returns the ranking results of the top N notes to the search server.

[0199] Step 715: The search server determines the sorting result of the notes to which the first N notes belong based on the sorting result of the first N notes.

[0200] For example, the notes to which the first N notes belong are the search-related files in the above embodiments.

[0201] Step 716: The search server sends the question and the first N notes to the question-answering model on the cloud server.

[0202] Step 717: The cloud server's question-answering model obtains the answer to the question based on the question and the content of the first N notes.

[0203] For example, the answer to the question is the search result corresponding to the first information in the above embodiment.

[0204] Step 718: The question-answering model on the cloud server sends the answer corresponding to the question to the search server.

[0205] Step 719: The search server sends the answer to the question and the sorting results of the notes to which the top N notes belong to to GPTAgent.

[0206] Step 720: GPTAgent sends the answer to the question to the client's data center.

[0207] Step 721: The client's data center returns the answer to the question and the sorting results of the notes to which the top N notes belong to the client's first application.

[0208] Step 722: The client's data center returns no result to the client's first application.

[0209] It should be noted that the specific implementation process of steps 701 to 722 above can be found in the relevant description of the above embodiments. To avoid repetition, this embodiment will not repeat the details here.

[0210] The search method provided in this application can target and search for question-related data (such as documents, notes, etc.) in the client, and directly output targeted answers to the user's questions through large-scale model analysis. It integrates the existing three-step data retrieval process of "search-view-analysis" into a single "search," meaning that users only need to input the information they want to directly obtain the corresponding answers, eliminating the need for manual information extraction and analysis, and greatly improving search efficiency.

[0211] It should be noted that each of the above method embodiments, or various possible implementations of each method embodiment, can be executed individually or in combination of any two or more. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.

[0212] The search method provided in this application can be executed by a search device. This application uses the example of a search device executing the search method to illustrate the search device provided in this application.

[0213] Figure 9 This is a schematic diagram of the structure of the search device provided in the embodiment of this application. The search device includes a receiving module 801 and a display module 802.

[0214] The receiving module 801 described above is used to receive a first input, which is used to input first information.

[0215] The aforementioned display module 802 is used to respond to the first input and display the search processing results and search-related files corresponding to the first information; the search-related files correspond to the first information, and the search processing results are obtained by processing the search-related files based on the first information.

[0216] In some embodiments of this application, the first information is a question, and the search processing result is the answer obtained by processing the relevant files according to the question; or, the first information is an instruction, and the search processing result is the processing result obtained by processing the relevant files according to the instruction.

[0217] In some embodiments of this application, the receiving module 801 described above is also used to receive a second input.

[0218] The aforementioned display module 802 is also used to display the file content of the search-related file in response to the second input; wherein, the first content in the file content of the search-related file is highlighted, and the first content is content related to the search processing result.

[0219] In some embodiments of this application, the first information corresponds to at least two search-related files;

[0220] The aforementioned display module 802 is specifically used to respond to the first input and display the search processing result corresponding to the first information and at least two search-related files; the search processing result is obtained by processing at least two search-related files based on the first information.

[0221] In some embodiments of this application, the search processing results described above indicate the changing trends of the target content in at least two search-related files.

[0222] In some embodiments of this application, the first information mentioned above is a document organization instruction, and the search processing result mentioned above is a summary result obtained by processing the search-related files according to the document organization instruction. The summary result includes at least two document nodes.

[0223] The receiving module 801 described above is also used to receive a third input to the first node of at least two document nodes when displaying the file content of the search-related file.

[0224] The aforementioned display module 802 is also used to respond to a third input by displaying a second content in the file content of the search-related file, the second content being content related to the first node.

[0225] In some embodiments of this application, the display module 802 is specifically used to display a placeholder identifier in a first area in response to a first input; the placeholder identifier is used to indicate the search processing progress; and, when the search processing is completed, the placeholder identifier in the first area is updated to display the search processing result and search-related files corresponding to the first information.

[0226] In some embodiments of this application, the display module 802 described above is also used to display at least one second piece of information; the at least one second piece of information is related to the search processing result.

[0227] The receiving module 801 described above is also used to receive a third input for target information in at least one of the second pieces of information.

[0228] The aforementioned display module 802 is also used to respond to a third input by displaying the search processing results and search-related files corresponding to the target information.

[0229] In some embodiments of this application, the key information in the search results corresponding to the first information is highlighted.

[0230] In some embodiments of this application, the apparatus further includes a processing module;

[0231] The aforementioned receiving module 801 is also used to receive a fourth input of at least one key piece of information.

[0232] The aforementioned processing module is used to perform an operation related to at least one key piece of information in response to a fourth input.

[0233] In some embodiments of this application, the receiving module 801 described above is further configured to receive a fifth input; the fifth input is used to input third information.

[0234] The aforementioned display module 802 is also used to update the display of the search processing results and search-related files corresponding to the first information to the search processing results and search-related files corresponding to the third information in response to the fifth input.

[0235] The search device provided in this application embodiment allows users to simply input the information they want to search for, triggering the search device to find relevant files corresponding to that information, analyze and process the relevant files, obtain the desired search results, and display the search results and relevant files. This eliminates the need for users to manually search for files to obtain the desired search results, thus improving search efficiency. Furthermore, by displaying relevant files, it shows which files the search results were generated from, helping users understand the source of the results and increasing their trust in the search results.

[0236] The search device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device, augmented reality / virtual reality device, robot, wearable device, super mobile personal computer, netbook, or personal digital assistant, etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.

[0237] The search device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0238] The search device provided in this application can implement the various processes implemented in the various embodiments of the above-described search method. To avoid repetition, it will not be described again here.

[0239] Optionally, such as Figure 10 As shown, this application embodiment also provides an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps of the above-described search method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0240] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0241] Figure 11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0242] The electronic device 1000 includes, but is not limited to, components such as: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.

[0243] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 11 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0244] The aforementioned user input unit 1007 is used to receive a first input, which is used to input first information.

[0245] The aforementioned display unit 1006 is used to respond to the first input by displaying the search processing result and search-related files corresponding to the first information; the search-related files correspond to the first information, and the search processing result is obtained by processing the search-related files based on the first information.

[0246] In some embodiments of this application, the first information is a question, and the search processing result is the answer obtained by processing the relevant files according to the question; or, the first information is an instruction, and the search processing result is the processing result obtained by processing the relevant files according to the instruction.

[0247] In some embodiments of this application, the user input unit 1007 described above is also used to receive a second input.

[0248] The aforementioned display unit 1006 is also configured to display the file content of the search-related file in response to the second input; wherein, the first content in the file content of the search-related file is highlighted, and the first content is content related to the search processing result.

[0249] In some embodiments of this application, the first information corresponds to at least two search-related files;

[0250] The aforementioned display unit 1006 is specifically used to respond to the first input by displaying the search processing result corresponding to the first information and at least two search-related files; the search processing result is obtained by processing the at least two search-related files based on the first information.

[0251] In some embodiments of this application, the search processing results described above indicate the changing trends of the target content in at least two search-related files.

[0252] In some embodiments of this application, the first information mentioned above is a document organization instruction, and the search processing result mentioned above is a summary result obtained by processing the search-related files according to the document organization instruction. The summary result includes at least two document nodes.

[0253] The aforementioned user input unit 1007 is also configured to receive a third input to the first node of at least two document nodes when displaying the file content of the search-related file.

[0254] The aforementioned display unit 1006 is also configured to, in response to a third input, display a second content in the file content of the search-related file, the second content being content related to the first node.

[0255] In some embodiments of this application, the display unit 1006 is specifically used to display a placeholder identifier in a first area in response to a first input; the placeholder identifier is used to indicate the search processing progress; and, when the search processing is completed, the placeholder identifier in the first area is updated to display the search processing result and search-related files corresponding to the first information.

[0256] In some embodiments of this application, the display unit 1006 is further configured to display at least one second piece of information; the at least one second piece of information is related to the search processing result.

[0257] The aforementioned user input unit 1007 is also used to receive a third input for target information in at least one of the second pieces of information.

[0258] The aforementioned display unit 1006 is also used to display the search processing results and search-related files corresponding to the target information in response to the third input.

[0259] In some embodiments of this application, the key information in the search results corresponding to the first information is highlighted.

[0260] In some embodiments of this application, the apparatus further includes a processing module;

[0261] The aforementioned user input unit 1007 is also used to receive a fourth input for at least one key piece of information.

[0262] The aforementioned processing module is used to perform an operation related to at least one key piece of information in response to a fourth input.

[0263] In some embodiments of this application, the user input unit 1007 described above is also used to receive a fifth input; the fifth input is used to input third information.

[0264] The aforementioned display unit 1006 is also configured to, in response to the fifth input, update the display of the search processing results and search-related files corresponding to the first information to the search processing results and search-related files corresponding to the third information.

[0265] The electronic device provided in this application embodiment allows users to simply input the information they want to search for, triggering the electronic device to find relevant search files corresponding to that information, analyze and process the relevant search files, obtain the desired search results, and display the search results and relevant search files. This eliminates the need for users to manually search for files to obtain the desired search results, thus improving search efficiency. Furthermore, by displaying relevant search files, it shows which files the search results were generated from, helping users understand the source of the results and increasing user trust in the search results.

[0266] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0267] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0268] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor 1010.

[0269] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described search method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0270] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0271] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described search method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0272] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0273] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the search method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0274] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0275] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0276] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A search method, characterized in that, The method includes: Receive first input; the first input is used to input first information; In response to the first input, the search processing results and search-related files corresponding to the first information are displayed; the search-related files correspond to the first information, and the search processing results are obtained by processing the search-related files based on the first information.

2. The method according to claim 1, characterized in that, The first information is the question, and the search processing result is the answer obtained by processing the search-related files based on the question; Alternatively, the first information may be an instruction, and the search processing result may be a processing result obtained by processing the search-related files according to the instruction.

3. The method according to claim 1, characterized in that, The method further includes: Receive the second input; In response to the second input, the file content of the search-related file is displayed; wherein, the first content in the file content of the search-related file is highlighted, and the first content is content related to the search processing result.

4. The method according to claim 1, characterized in that, The first piece of information corresponds to at least two search-related files; The response to the first input, displaying the search processing results and search-related files corresponding to the first information, includes: In response to the first input, the search processing result corresponding to the first information and the at least two search-related files are displayed; the search processing result is obtained by processing the at least two search-related files based on the first information.

5. The method according to claim 4, characterized in that, The search processing results indicate the changing trends of the target content in the at least two search-related files.

6. The method according to claim 1, characterized in that, The first information is a document organization instruction, and the search processing result is a summary result obtained by processing the search-related files according to the document organization instruction. The summary result includes at least two document nodes. The method further includes: When displaying the file content of the search-related files, a third input is received for the first node of the at least two document nodes; In response to the third input, the second content in the file content of the search-related file is displayed, the second content being content related to the first node.

7. The method according to claim 1, characterized in that, The response to the first input, displaying the search processing results and search-related files corresponding to the first information, includes: In response to the first input, a placeholder icon is displayed in a first area; the placeholder icon is used to indicate the search processing progress. Once the search process is complete, the placeholder in the first area is updated to display the search results and related files corresponding to the first information.

8. The method according to claim 1, characterized in that, The method further includes: Display at least one piece of second information; the at least one piece of second information is related to the search processing result; Receive a third input for the target information in the at least one second piece of information; In response to the third input, the search processing results and search-related files corresponding to the target information are displayed.

9. The method according to claim 1, characterized in that, The key information in the search results corresponding to the first information is highlighted.

10. The method according to claim 9, characterized in that, The method further includes: Receive a fourth input for at least one of the key pieces of information; In response to the fourth input, perform an operation related to at least one of the key pieces of information.

11. The method according to claim 1, characterized in that, The method further includes: Receive a fifth input; the fifth input is used to input third information; In response to the fifth input, the search results and search-related files corresponding to the first information are updated and displayed as the search results and search-related files corresponding to the third information.

12. A search device, characterized in that, The device includes: a receiving module and a display module; The receiving module is used to receive a first input; the first input is used to input first information. The display module is configured to respond to the first input by displaying the search processing results and search-related files corresponding to the first information; the search-related files correspond to the first information, and the search processing results are obtained by processing the search-related files based on the first information.

13. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the search method as described in any one of claims 1 to 11.

14. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the search method as described in any one of claims 1 to 11.

15. A computer program product, characterized in that, The computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the search method as described in any one of claims 1 to 11.