Search processing method and device, electronic equipment and storage medium

By displaying the identifiers of multiple search records in the search box, users can query historical search content by selecting or sliding, which solves the problem of low efficiency in querying historical search content in the prior art and achieves a more efficient operation process.

CN118733909APending Publication Date: 2024-10-01BEIJING SOGOU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310318749.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of querying historical search content is low, and users need to go through multiple steps to complete the query, resulting in cumbersome operations.

Method used

In addition to displaying the logo of the current search record in the search box, it also displays the logos of multiple search records. Users can query historical search content by selecting or sliding, which simplifies the operation process.

Benefits of technology

The efficiency of querying historical search content is improved, allowing users to access historical search results quickly and efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733909A_ABST
    Figure CN118733909A_ABST
Patent Text Reader

Abstract

The invention provides a search processing method and device, electronic equipment and a storage medium. The method comprises the steps that a search box and a search result display area are displayed, the search box is used for inputting information to be inquired, and the search result display area is used for displaying search results corresponding to the information to be inquired; identifiers corresponding to multiple search records respectively are displayed in the search box, the multiple search records comprise the current search record, and the current search record is the record of the latest search in the search box. Through the method, the efficiency of querying the historical search content can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a search processing method, device, electronic device and storage medium. Background Art

[0002] In recent years, with the rapid development of science and technology, Internet applications have been widely used in various fields, big data has shown explosive growth, and massive amounts of data and information are scattered in cyberspace. When users need to obtain information and data, they usually use search engines to search for information and obtain the desired search information.

[0003] In the related art, when a user searches for historical search content, he or she first needs to click the search box to enter the search intermediate page, then click the clear button to restore to the search start page, and then click the search history to refresh the historical search results page in the human-computer interaction interface. In other words, the solution provided by the related art requires at least four steps to realize the operation of searching for historical search content, resulting in low efficiency in searching for historical search content. Summary of the invention

[0004] The embodiments of the present application provide a search processing method, device, electronic device, computer-readable storage medium and computer program product, which can improve the efficiency of querying historical search content.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a search processing method, including:

[0007] Display a search box and a search result display area, wherein the search box is used to input information to be queried, and the search result display area is used to display search results corresponding to the information to be queried;

[0008] The search box displays identifiers corresponding to a plurality of search records, respectively, wherein the plurality of search records include a current search record, and the current search record is a record of the latest search in the search box.

[0009] The present application provides a search processing device, including:

[0010] A display module, used to display a search box and a search result display area, wherein the search box is used to input information to be queried, and the search result display area is used to display search results corresponding to the information to be queried;

[0011] The display module is further used to display identifiers corresponding to multiple search records in the search box, wherein the multiple search records include a current search record, and the current search record is the record of the latest search in the search box.

[0012] An embodiment of the present application provides an electronic device, including:

[0013] A memory for storing executable instructions;

[0014] The processor is used to implement the search processing method provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0015] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for implementing the search processing method provided in the embodiment of the present application when executed by a processor.

[0016] An embodiment of the present application provides a computer program product, including a computer program or executable instructions, which are used to implement the search processing method provided in the embodiment of the present application when executed by a processor.

[0017] The embodiments of the present application have the following beneficial effects:

[0018] In addition to displaying the identifier corresponding to the current search record in the search box, the identifiers corresponding to multiple search records are also displayed. In this way, users can efficiently and quickly query historical search content by selecting the identifier corresponding to the search record or sliding, thereby improving the efficiency of querying historical search content. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a schematic diagram of the architecture of a search processing system 100 provided in an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;

[0021] Figure 3 It is a flowchart of the search processing method provided in the embodiment of the present application;

[0022] FIG. 4A to FIG. 4C It is a schematic diagram of an application scenario of the search processing method provided in an embodiment of the present application;

[0023] Figure 5A and Figure 5B It is a flowchart of the search processing method provided in the embodiment of the present application;

[0024] FIG. 6A to FIG. 6D It is a schematic diagram of an application scenario of the search processing method provided in an embodiment of the present application;

[0025] Figure 7 It is a flowchart of the search processing method provided in the embodiment of the present application;

[0026] Figure 8 It is a flowchart of the search processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0028] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0029] It is understandable that in the embodiments of the present application, when user information and other related data (such as information to be queried input by the user, and search results corresponding to the information to be queried, etc.) are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0030] In the following description, the terms "first\second\..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0031] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0032] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0033] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.

[0034] 2) Timeline: Through the Internet technology, one or more events are linked together in chronological order to form a relatively complete record system, which is then presented to users in the form of graphics and text.

[0035] 3) Quick navigation: Navigation is a general term for technologies used to guide users from one point to another. On the Internet, quick navigation refers to a component that connects multiple pages with the same page nature to help users move and reach their destination.

[0036] The embodiments of the present application provide a search processing method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the efficiency of querying historical search content. The electronic device provided by the embodiments of the present application is described below. The electronic device provided by the embodiments of the present application can be implemented as a terminal device, or can be implemented by a server and a terminal device in collaboration. The following is an example of the search processing method provided by the embodiments of the present application being implemented by a server and a terminal device in collaboration.

[0037] For example, see Figure 1 , Figure 1 is a schematic diagram of the architecture of the search processing system 100 provided in an embodiment of the present application, such as Figure 1 As shown, the search processing system 100 includes: a server 200, a network 300 and a terminal device 400, wherein the network 300 can be a local area network or a wide area network, or a combination of the two, and the terminal device 400 is a terminal device associated with a user, and a client 410 runs on the terminal device 400. The client 410 can be various types of clients, such as an instant messaging client, a video playback client, an e-commerce shopping client, a search engine client, a browser, etc.

[0038] In some embodiments, a search box and a search result display area may be displayed in the human-computer interaction interface of the client 410, wherein the search box is used for the user to input the information to be queried (e.g., including query words, voice, pictures, etc.), and the search result display area is used to display the search results corresponding to the information to be queried input by the user. For example, taking the information to be queried as the query word, after receiving the query word (e.g., "apple") input by the user in the search box, the client 410 may send the received query word to the server 200 through the network 300, so that the server 200 returns the search results corresponding to the query word to the terminal device 400. After receiving the search results returned by the server 200, the terminal device 400 may call the client 410 to display them in the search result display area; in addition, in addition to displaying the mark corresponding to the current search record in the search box, the marks corresponding to multiple search records may also be displayed. In this way, the user can efficiently and quickly query the historical search content by selecting the mark corresponding to the search record or sliding, thereby improving the efficiency of querying the historical search results.

[0039] In other embodiments, the embodiments of the present application can also be implemented with the aid of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.

[0040] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0041] For example, Figure 1 The server 200 in the embodiment may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDNs), and big data and artificial intelligence platforms. The terminal device 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, a virtual reality (VR) device, an augmented reality (AR) device, etc., but is not limited thereto. The terminal device 400 and the server 200 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0042] In some embodiments, the terminal device can also implement the search processing method provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a native (Native) application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a search engine APP or an instant messaging APP (such as the above-mentioned client 410); it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0043] The structure of the electronic device provided in the embodiment of the present application is further described below. Taking the electronic device as a terminal device as an example, see Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application, Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

[0044] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0045] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0046] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.

[0047] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0048] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0049] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0050] A network communication module 552, for reaching other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);

[0051] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);

[0052] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.

[0053] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 The search processing device 555 stored in the memory 550 is shown, which can be software in the form of a program or plug-in, including the following software modules: a display module 5551, a revocation module 5552, an application module 5553, and an acquisition module 5554. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. It should be noted that in Figure 2 For the sake of convenience, all the above modules are shown at once, but it should not be considered that the search processing device 555 excludes the implementation that can only include the display module 5551. The functions of each module will be explained below.

[0054] The search processing method provided in the embodiment of the present application will be specifically described below in combination with the exemplary application and implementation of the terminal device provided in the embodiment of the present application.

[0055] For example, see Figure 3 , Figure 3 is a flowchart of the search processing method provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0056] It should be noted that Figure 3 The method shown can be executed by various forms of computer programs running on the terminal device, and is not limited to the client. For example, it can also be the operating system, software module, script, and applet mentioned above. Therefore, the example of the client in the following should not be regarded as a limitation on the embodiments of the present application. In addition, for the convenience of expression, the terminal device and the client running on the terminal device are not specifically distinguished in the following.

[0057] In step 101, a search box and a search result display area are displayed.

[0058] Here, the search box is used to input the information to be queried, and the search result display area is used to display the search results corresponding to the information to be queried.

[0059] In some embodiments, taking the client as a browser as an example, when a user clicks on a browser icon displayed on the desktop, a browser interface may be displayed, wherein the browser interface includes a search box for the user to input information to be queried, and a search result display area for displaying search results corresponding to the information to be queried. For example, assuming that the user enters "animation" in the search box, search results corresponding to "animation" may be displayed in the search result display area, wherein the types of search results may include pictures, videos, text, etc., which are not specifically limited in the embodiments of the present application.

[0060] It should be noted that the type of information to be queried may include text, pictures, voice, etc. That is to say, the user can enter text (such as query words) in the search box, or enter pictures (such as photos taken by the user) in the search box, and can also enter voice (such as user recordings) in the search box. The embodiments of the present application do not specifically limit this.

[0061] In step 102, identifiers corresponding to the plurality of search records are displayed in the search box.

[0062] Here, the multiple search records include a current search record, wherein the current search record is the record of the latest search in the search box.

[0063] In some embodiments, the source of multiple search records may include at least one of an electronic device and a collaborative device, wherein the electronic device is used to display a search box and a search result display area, and the collaborative device and the electronic device have a collaborative relationship, for example, the user account of the operating system of the two is the same, and a data synchronization function is set; or, the same user account is logged in to the client (such as a browser) of the two, and the data synchronization function is turned on. In other words, multiple search records may be from the same electronic device, for example, assuming that the user is currently using a mobile phone to search, multiple search records can be obtained from the mobile phone currently being used by the user; of course, multiple search records can also be cross-device search records of the same user account (such as a browser account, a social network account, etc.), for example, assuming that the user is currently using a mobile phone to search, and assuming that the user has previously used a tablet computer to search, and the same user account is logged in to the browsers of the two, and the data synchronization function is turned on, then multiple search records can be obtained from the user's mobile phone and tablet computer (i.e., collaborative device), and the embodiments of the present application do not specifically limit this.

[0064] It should be noted that the number of collaborative devices can be one or more. For example, if a user uses the same browser account to log in to the browsers on multiple devices and turns on the data synchronization function, then multiple devices can be used as collaborative devices. The embodiments of the present application do not make specific limitations on this.

[0065] In other embodiments, when multiple search records come from different devices, the above step 102 can be implemented in the following manner: displaying a device identifier (such as a device identifier code, an icon corresponding to the device, etc.) in the search box; displaying identifiers corresponding to multiple search records from the corresponding device according to the triggered device identifier; wherein, when the identifiers corresponding to multiple search records from a collaborative device and an electronic device are displayed, the identifiers corresponding to search records from different devices have different display methods, such as at least one of the color, size, and style of the identifier is different. For example, for search record 1 from an electronic device, the identifier corresponding to search record 1 can be colored red; and for search record 2 from a collaborative device, the identifier corresponding to search record 2 can be colored green, that is, the identifier corresponding to the search record from the electronic device is red, and the identifier corresponding to the search record from the collaborative device is green, thereby facilitating the user to distinguish and improving the user experience.

[0066] For example, see Figure 4A , Figure 4Ais a schematic diagram of an application scenario of the search processing method provided in an embodiment of the present application, such as Figure 4A As shown, assuming that the user is currently searching using a browser running on a mobile phone, a plurality of candidate device identifiers are displayed in a search box 401 displayed on the browser interface, for example, a device identifier 402 (e.g., a mobile phone icon) of an electronic device (i.e., the user's mobile phone), a device identifier 403 (e.g., a tablet computer icon) of a collaborative device 1 (e.g., a tablet computer icon), and a device identifier 404 (e.g., a laptop computer icon) of a collaborative device 2 (e.g., a laptop computer). Then, assuming that the user selects device identifier 402 and device identifier 403 from these three candidate device identifiers, for example, upon receiving a click operation of the user on device identifier 402 and device identifier 403, identifiers corresponding to a plurality of search records from the user's mobile phone and tablet computer can be displayed in the search box 401, respectively. Moreover, the identifier corresponding to the search record from the user's mobile phone has a different display mode from the identifier corresponding to the search record from the user's tablet computer. For example, the identifier 405 corresponding to the search record from the user's mobile phone can be displayed in a highlighted manner, while the identifier 406 corresponding to the search record from the user's tablet computer can be displayed in a normal manner, so as to facilitate the user to distinguish.

[0067] In other embodiments, based on the above example, the above step 102 can also be implemented in the following way: preferentially displaying the identifiers corresponding to the multiple search records from the electronic device, and when the number of identifiers corresponding to the multiple search records from the electronic device is less than the display quantity threshold of the search box (for example, assuming it is 5), displaying the identifiers corresponding to the multiple search records from the collaborative device so that the total number of identifiers of the displayed search records reaches the quantity threshold.

[0068] For example, taking the electronic device as the user's mobile phone (i.e., the user is currently using the mobile phone to search) and the collaborative device as the user's laptop computer, the identifiers corresponding to multiple search records from the user's mobile phone can be preferentially displayed in the search box. When the number of search records in the user's mobile phone is less than the display quantity threshold of the search box (for example, assuming it is 5), for example, assuming that there are only 3 search records in the user's mobile phone, the identifiers corresponding to 2 search records from the user's laptop computer can be displayed in the search box, so that the total number of identifiers of the search records displayed in the search box reaches the quantity threshold. In this way, by preferentially displaying the identifiers corresponding to the search records in the current device and using the search records in other devices to supplement them when the number of search records in the current device is small, the problem of insufficient identifiers corresponding to the search records displayed in the search box can be avoided.

[0069] It should be noted that when the number of identifiers corresponding to multiple search records from an electronic device is greater than the display quantity threshold of the search box, the similarities between the multiple search records in the electronic device and the current search record can be calculated respectively, and the multiple search records can be sorted in order of similarity from large to small, and the identifiers corresponding to the top M search records can be displayed in the search box, where the value of M is consistent with the quantity threshold. For example, assuming that the quantity threshold is 5, the top 5 search records can be selected from the sorting results, and the identifiers corresponding to these 5 search records can be displayed in the search box. Of course, 5 search records can also be selected from multiple search records in order from near to far from the current time, and the identifiers corresponding to these 5 search records can be displayed in the search box. The embodiments of the present application do not specifically limit this.

[0070] In some embodiments, the above-mentioned step 102 can also be implemented in the following manner: in response to satisfying a continuous search condition, identifiers corresponding to multiple search records are displayed in the search box, wherein the continuous search condition includes: the number of searches is greater than a number threshold (for example, 3 times), and the time interval between two adjacent search operations is less than a time interval threshold (for example, 30 seconds).

[0071] For example, before displaying the identifiers corresponding to multiple search records in the search box, it is also possible to determine whether the user's current search operation meets the continuous search condition, such as determining whether the number of search operations triggered by the user in the search box is greater than 3 times, and whether the time interval between two adjacent search operations is less than 30 seconds. If the number of search operations triggered by the user in the search box is greater than 3 times, and the time interval between two adjacent search operations is less than 30 seconds, it is determined that the user's current search operation meets the continuous search condition, and the identifiers corresponding to the multiple search records can be displayed in the search box; if the number of search operations triggered by the user in the search box is less than 3 times, or the number of search operations triggered by the user in the search box is greater than 3 times, but the time interval between two adjacent search operations is greater than 30 seconds, it is determined that the user's current search operation does not meet the continuous search condition, and only the identifier corresponding to the current search record can be displayed in the search box.

[0072] In other embodiments, the type of identification may include at least one of the following: text, keywords in the text (such as the first word), and pictures. The above-mentioned step 102 can also be implemented in the following manner: for each search record, the following processing is performed: when the type of information to be queried corresponding to the search record is text, the text or keywords in the text are displayed in the search box; when the type of information to be queried corresponding to the search record is a picture, a thumbnail of the picture is displayed in the search box; when the type of information to be queried corresponding to the search record is voice, the keywords in the text obtained by voice conversion are displayed in the search box; when the type of information to be queried corresponding to the search record is text, and the text includes named entities (such as names of people, places, etc.), the picture corresponding to the named entity is displayed in the search box.

[0073] For example, for each search record in multiple search records, when the type of information to be queried corresponding to the search record is text (for example, assuming it is "how much is the price of apples"), the keywords in the text (for example, "apple") can be used as the identifier corresponding to the search record, that is, the text "apple" is displayed in the search box as the identifier corresponding to the search record; when the type of information to be queried corresponding to the search record is a picture (for example, a photo uploaded by a user), the thumbnail of the picture can be used as the identifier corresponding to the search record, that is, the thumbnail of the picture is displayed in the search box as the identifier corresponding to the search record; when the type of information to be queried corresponding to the search record is text, and the text includes a person's name, the picture of the person corresponding to the name can be used as the identifier corresponding to the search record, that is, the picture of the person is displayed in the search box as the identifier corresponding to the search record.

[0074] In some embodiments, the sorting method of the identifiers corresponding to multiple search records may include one of the following: in order from near to far search time to the current time; in order from high to low search frequency; in order from large to small relevance to the current search record; in order from large to small relevance to the current application scenario context. In this way, the efficiency of users querying historical search content can be further improved.

[0075] For example, taking multiple search records as 5 search records, assuming they are search records 1 to 5, where search record 5 is the current search record, then the correlation between search records 1 to 4 and search record 5 can be calculated respectively. For example, a multi-layer perceptron or a convolutional neural network can be called to encode search records 1 to 5 respectively to obtain the feature vectors corresponding to each search record. Then, the feature vectors corresponding to search records 1 to 4 are calculated respectively, and the similarity between the feature vectors corresponding to search records 1 to 4 and the feature vector corresponding to search record 5 (for example, the Euclidean distance between two feature vectors, the two-norm, etc.), and the similarity calculation result is used as the correlation between search records 1 to 4 and search record 5.

[0076] For example, take the multiple search records as 5 search records, assuming they are search records 1 to 5, where search record 5 is the current search record, then the search result 5 corresponding to search record 5 can be used as the current application scenario, and the similarity between the search results corresponding to search records 1 to search records 4 (i.e., search results 1 to search results 4) and the search result 5 corresponding to search record 5 can be calculated respectively, as the relevance to the context of the current application scenario. For example, taking search record 1 as an example, the search result 1 corresponding to search record 1 can be encoded to obtain the feature vector corresponding to search result 1, and the search result 5 corresponding to search record 5 can be encoded to obtain the feature vector corresponding to search result 5, and then the similarity between the feature vector corresponding to search result 1 and the feature vector corresponding to search result 5 can be calculated, and the similarity calculation result can be used as the relevance of search record 1 to the context of the current application scenario.

[0077] In some embodiments, anchor points corresponding to multiple search records can also be displayed in the search box, and the following processing can also be performed: in response to a trigger operation (such as a pressing operation) for an identifier or anchor point corresponding to a second search record, a floating box (such as a pop-up window) is displayed while the trigger operation is not released, and the search results corresponding to the second search record are displayed in the floating box, wherein the second search record is any search record among the multiple search records except the current search record; in response to the trigger operation being released, the floating box is cancelled.

[0078] For example, see Figure 4B , Figure 4B is a schematic diagram of an application scenario of the search processing method provided in an embodiment of the present application, such as Figure 4BAs shown, multiple search records corresponding to the identifiers and anchor points are displayed in the search box 401, for example, the identifier 407 (for example, the word "cow") and anchor point 408 corresponding to the search record 1 (assuming "NiuX"), the identifier 409 (for example, the word "wan") and anchor point 410 corresponding to the search record 2 (assuming "law of universal gravitation"), and the identifier 411 (for example, "jiaXX") and anchor point 412 corresponding to the search record 3 (i.e., the current search record, assuming "jiaXX"), and then assuming that the user receives a pressing operation on the identifier 407 or anchor point 408 corresponding to the search record 1, during the period when the pressing operation is not released, a pop-up window 413 is displayed in the human-computer interaction interface, and the search results corresponding to the search record 1 are displayed in the pop-up window 413 for the user to preview. When it is detected that the user releases the hand, the pop-up window 413 is cancelled, so that the user can preview the search results corresponding to the search record by pressing the identifier or anchor point corresponding to the corresponding search record, avoiding the occurrence of search result switching errors, and further improving the user experience.

[0079] In other embodiments, the search result display area currently displays search results corresponding to the current search record, then after the execution is completed Figure 3 After step 102 shown, you can also perform Figure 5A Step 103 shown will combine Figure 5A The steps shown are explained.

[0080] In step 103, in response to a selection operation on a first search record among the plurality of search records, search results corresponding to the first search record are displayed in a search result display area.

[0081] Here, the first search record is any search record among the multiple search records except the current search record.

[0082] In some embodiments, the above-mentioned step 103 can be implemented in the following manner: performing one of the following processes: displaying anchor points corresponding to multiple search records in the search box, and in response to a trigger operation on the anchor point corresponding to the first search record, displaying the search results corresponding to the first search record in the search results display area; in response to a trigger operation on the identifier corresponding to the first search record, displaying the search results corresponding to the first search record in the search results display area; in response to a sliding operation, displaying the search results corresponding to the first search record in the direction of the sliding operation in the search results display area.

[0083] For example, the trigger operation for the anchor point can be identified as a selection operation. Taking the multiple search records as 5 search records, assume that they are search records 1 to 5 respectively, where search record 5 is the current search record, and the search result corresponding to search record 5 is currently displayed in the search result display area, and the anchor points corresponding to the 5 search records are displayed in the search box. Assuming that a user clicks on the anchor point corresponding to search record 2 subsequently, the search result corresponding to search record 2 can be switched to display in the search result display area. In this way, the efficiency of users querying historical search content is improved.

[0084] For example, the trigger operation for the identifier can be identified as a selection operation. Taking the multiple search records as 5 search records, assume that they are search records 1 to 5 respectively, where search record 5 is the current search record, and the search result corresponding to search record 5 is currently displayed in the search result display area, and the identifiers corresponding to the 5 search records are displayed in the search box. Assuming that the user subsequently receives a click operation on the identifier corresponding to search record 3, the search result corresponding to search record 3 can be switched to display in the search result display area. In this way, the efficiency of users querying historical search content is improved.

[0085] For example, a sliding operation can be identified as a selection operation, and the above-mentioned display of the search results corresponding to the first search record that is consistent with the direction of the sliding operation can be achieved in the following manner: taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to multiple search records, determine the next identifier that is located in the reference direction of the identifier of the current search record, take the search record corresponding to the next identifier as the first search record, and display the search results corresponding to the first search record in the search result display area.

[0086] For example, take the multiple search records as 5 search records, assuming they are search records 1 to 5, and the 5 search records correspond to identifiers 1 to 5, where search record 5 is the current search record. Assuming the direction of the sliding operation triggered by the user in the search result display area is left (for example, the user slides to the left), then the search record corresponding to the identifier (assuming it is identifier 3) located to the right of identifier 5 (i.e. the identifier of the current search record) and adjacent to identifier 5 (i.e. search record 3) among the identifiers corresponding to the 5 search records can be taken as the selected search record (i.e. the first search result), and the search result corresponding to search record 3 is switched to be displayed in the search result display area. In other words, each time the user slides, a search record is switched.

[0087] In addition, it should be noted that the number of sliding operations can be multiple times, that is, the user can slide continuously, so that the switching can be continuous. In addition, multiple sliding operations can be continuous, for example, the user's finger can always be in contact with the screen; of course, multiple sliding operations can also be discontinuous, that is, during multiple sliding operations, the user's finger can leave the screen, and the embodiments of the present application do not specifically limit this.

[0088] By way of example, the above-mentioned display of search results corresponding to the first search record that conforms to the direction of the sliding operation can also be achieved in the following manner: taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to multiple search records, determine the Nth identifier that is located after the identifier of the current search record in the reference direction, take the search record corresponding to the Nth identifier as the first search record, and display the search results corresponding to the first search record in the search result display area, wherein the value of N is positively correlated with the amplitude of the sliding operation.

[0089] For example, take the multiple search records as 5 search records, assuming that they are search records 1 to 5, and assuming that the identifiers corresponding to these 5 search records are identifiers 1 to 5, where search record 5 is the current search record. Assuming that a left swipe operation triggered by the user in the search result display area is received, the amplitude of the left swipe operation is obtained, and the value of N is determined based on the obtained amplitude (for example, N is 2), then the search record corresponding to the identifier (assuming it is identifier 1) located on the right side of identifier 5 and separated from identifier 5 by 2 identifiers (i.e., search record 1) can be taken as the selected search record (i.e., the first search record), and the search results corresponding to search record 1 can be switched and displayed in the search result display area. In other words, each time the user swipes, the corresponding number of search records can be switched according to the amplitude of the swipe.

[0090] By way of example, the above-mentioned display of search results corresponding to the first search record that conforms to the direction of the sliding operation can be achieved in the following manner: taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to multiple search records, switching the selection state along the reference direction starting from the identifier of the current search record, taking the search record corresponding to the identifier that is in the selected state when the switching stops as the first search record, and displaying the search results corresponding to the first search record in the search result display area.

[0091] For example, take the multiple search records as 5 search records, assuming that they are search records 1 to 5, and assuming that the identifiers corresponding to these 5 search records are identifiers 1 to 5, where search record 5 is the current search record. Assuming that a left swipe operation triggered by the user in the search result display area is received, the selected state can be switched along the right side starting from identifier 5 among the identifiers corresponding to these 5 search records, and the search record corresponding to the identifier (assuming identifier 4) that is in the selected state when the switching is stopped (i.e., search record 4) is used as the selected search record (i.e., the first search record), and then the search results corresponding to search record 4 can be switched in the search result display area. In other words, after the user swipes once, the switching can be started automatically, and each switching can be paused for a period of time (e.g., 5 seconds), and then continue until the switching is completed; or, the switching can be stopped when a click operation triggered by the user is received, and the embodiment of the present application does not make specific limitations on this.

[0092] For example, the above-mentioned display of the search results corresponding to the first search record that matches the direction of the sliding operation can also be achieved in the following manner: in response to the sliding distance of the sliding operation being greater than a distance threshold, taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to the multiple search records, the search record corresponding to the next identifier in the reference direction relative to the identifier of the current search record is taken as the first search record, and the search results corresponding to the first search record are displayed in the search result display area. In other words, the switch will only be made once when the user slides a certain distance.

[0093] In other embodiments, the following processing can also be performed: in response to a sliding operation, and if there is no search record in the direction consistent with the sliding operation, a search intermediate page is displayed in the search result display area, wherein the search intermediate page includes other search records that are different from the multiple search records.

[0094] For example, see Figure 4C , Figure 4C is a schematic diagram of an application scenario of the search processing method provided in an embodiment of the present application, such as Figure 4CAs shown, multiple identifiers corresponding to the search records are displayed in the search box 401, for example, identifier 407 (for example, the word "Niu") corresponding to search record 1 (assuming it is "Niu X"), identifier 409 (for example, the word "Wan") corresponding to search record 2 (assuming it is "Law of Universal Gravitation"), and identifier 411 (for example, "Jia XX") corresponding to search record 3 (i.e., the current search record, assumed to be "Jia XX"), and then assuming that a left swipe operation triggered by the user in the search result display area is received, since there are no other identifiers on the right side of identifier 411, that is, the user has swiped to the last position, a search middle page 414 can be displayed in the search result display area, and the identifiers corresponding to other search records different from the above three search records can be displayed in the search middle page 414, so that it is convenient for users to view more search records.

[0095] In some embodiments, the identifier corresponding to the current search record may be in a selected state. In response to a selection operation on the first search record among multiple search records, the following processing may also be performed: canceling the selected state of the identifier corresponding to the current search record, and applying the selected state to the identifier corresponding to the first search record.

[0096] For example, take the case where there are 5 search records, assuming they are search records 1 to 5 respectively, and assuming that the 5 search records correspond to identifiers 1 to 5 respectively, where search record 5 is the current search record, that is, identifier 5 is currently in a selected state, and then when the user's selection operation for search record 3 among the 5 search records is received, the selection state of identifier 5 is revoked, and the selection state is applied to identifier 3 to indicate that the currently selected search record is search record 3.

[0097] In other embodiments, before displaying the search results corresponding to the first search record, one of the following processes may also be performed: in response to the existence of historical search results of the first search record in the cache, obtaining the historical search results of the first search record from the cache; in response to the absence of historical search results of the first search record in the cache, obtaining updated search results of the first search record from the server; in response to the existence of historical search results of the first search record in the cache and the time interval between the generation time of the historical search results and the current time is greater than a time interval threshold (for example, 30 minutes), obtaining updated search results of the first search record from the server.

[0098] For example, take the multiple search records as 5 search records, assuming that they are search records 1 to search record 5, where search record 5 is the current search record. Then, assuming that the user selects search record 3 from these 5 search records, before switching to display the search results corresponding to search record 3 in the search result display area, the following processing can also be performed: when there are historical search results corresponding to search record 3 in the local cache, and the time interval between the generation time of the historical search results and the current time is less than 30 minutes, obtain the historical search results corresponding to search record 3 from the cache, and display the historical search results of search record 3 in the search result display area; when there are no historical search results for search record 3 in the local cache, obtain updated search results for search record 3 from the server, and display the updated search results for search record 3 in the search result display area; when there are historical search results for search record 3 in the local cache, but the time interval between the generation time of the historical search results and the current time is greater than 30 minutes, then the updated search results of search result 3 can be obtained from the server, and the updated search results of search result 3 can be displayed in the search result display area. In this way, the timeliness of the search results displayed in the search result display area can be guaranteed.

[0099] In some embodiments, see Figure 5B , Figure 5B is a flowchart of a search processing method provided in an embodiment of the present application, such as Figure 5B As shown, after executing Figure 3 After step 102 shown, you can also perform Figure 5B Step 104 is shown, combining Figure 5B The steps shown are explained.

[0100] In step 104, in response to a trigger operation on the blank area in the search box, a search intermediate page is displayed in the search result display area.

[0101] Here, the search intermediate page includes information to be queried related to information to be queried corresponding to the current search record.

[0102] In some embodiments, when a user clicks on a blank area in the search box, the search box can be cleared so that the user can enter new information to be queried. At the same time, a search intermediate page can be displayed in the search results display area, wherein the search intermediate page may include information to be queried related to the information to be queried corresponding to the current search record. For example, assuming that the information to be queried corresponding to the current search record is "apple", then the related information to be queried may be "pear", "orange", etc.

[0103] The search processing method provided by the embodiments of the present application not only displays the identifier corresponding to the current search record in the search box, but also displays the identifiers corresponding to multiple search records respectively. In this way, the user can efficiently and quickly query the historical search content by selecting the identifier corresponding to the search record or by swiping, which improves the efficiency of querying the historical search content.

[0104] Next, the exemplary application of the embodiments of the present application in an actual application scenario will be described.

[0105] The embodiments of the present application provide a search processing method. After the user has consecutive search behaviors, a quick navigation formed by multiple historical query terms based on the time sequence is displayed in the search box. By clicking on a certain historical query term in the quick navigation or horizontally swiping the search result page (such as a search result card), the user can quickly switch the search results, thereby meeting the requirements of fast and multi-result comparison queries in search scenarios such as knowledge chain categories, thing contexts, and person relationship categories.

[0106] Next, the search processing method provided by the embodiments of the present application will be specifically described.

[0107] Exemplarily, refer to Fig. 6A , Fig. 6A which is a schematic diagram of the application scenario of the search processing method provided by the embodiments of the present application. As Fig. 6A shown, after the user has consecutive search behaviors, in addition to being able to display the current query term 602 (corresponding to the identifier corresponding to the current search record above, for example, assumed to be "Gamma XX") in the search box 601 on the search result page, the first characters of the historical query terms entered during the previous two searches (assumed to be "Ox X" and "Law of Universal Gravitation" respectively) can also be displayed on the left side of the current query term 602 (corresponding to the identifiers corresponding to the multiple search records above), such as including the character "Ox" 603 and the character "Ten Thousand" 604, thereby forming a personalized "search timeline" interaction form. In addition, for each query term displayed in the search box 601, a corresponding anchor point can also be displayed, such as an anchor point 605 corresponding to the historical query term "Ox X", an anchor point 606 corresponding to the historical query term "Law of Universal Gravitation", and an anchor point 607 corresponding to the current query term "Gamma XX". Among them, the display method of the anchor point 607 is different from that of the anchor point 605 and the anchor point 606 to indicate that the current query term 602 corresponding to the anchor point 607 is in the selected state, that is, the search result currently displayed in the search result display area is the search result corresponding to the current query term 602.

[0108] Exemplarily, refer to Figure 6B , Figure 6B which is a schematic diagram of the application scenario of the search processing method provided by the embodiments of the present application. As Figure 6BAs shown, when the historical query terms entered by the user include a person's name (such as "Niu X"), the first character of the historical query terms displayed in the search box 601 can be replaced with the person's avatar 608 to further improve the user experience.

[0109] For example, refer to Figure 6C , Figure 6C which is a schematic diagram of the application scenario of the search processing method provided by the embodiment of the present application. As Figure 6C shown, when the user's historical search includes a photo search, the navigation label (tag, corresponding to the above identifier) of the search timeline can be expanded to a thumbnail 609 of the picture to further improve the user experience.

[0110] For example, refer to Fig.6D , Fig.6D which is a schematic diagram of the application scenario of the search processing method provided by the embodiment of the present application. As Fig.6D shown, in the search result display area, search results corresponding to the current query term 602 (such as "Jia XX") are displayed, such as a search result card 610 corresponding to the query term "Jia XX"; then when a click operation on the character "Niu" 603 displayed in the search box 601 is received by the user, the character "Niu" can be expanded to the complete historical query term "Niu X", and the search result card 611 corresponding to the historical query term "Niu X" is switched and displayed in the search result display area. Subsequently, when a left swipe operation triggered by the user on the search result card 611 is received, the state of the search result card switching will be entered. For example, the search result card 611 moves out of the screen to the left, a new search result card moves into the screen, and at the same time, the character "Wan" 604 on the right side of the character "Niu" 603 will be expanded to the complete historical query term "Law of Universal Gravitation". When the user continues to swipe horizontally, the search result display area will be refreshed to the search result card 612 corresponding to the historical query term "Law of Universal Gravitation".

[0111] In addition, it should be noted that, in response to a click operation or a sliding operation triggered by the user, while switching the search result card, the selection state of the query term and the anchor point displayed in the search box 601 can also be switched. For example, when a user clicks on the word "Niu" 603 displayed in the search box 601, the selection state of the anchor point 607 corresponding to the current query term 602 (for example, "JiaXX") can be revoked, and the selection state is applied to the anchor point 605 corresponding to the historical query term "NiuX", that is, the selection state is switched from the anchor point 607 to the anchor point 605, so as to indicate that the currently selected query term is the "NiuX" corresponding to the anchor point 605; when a left sliding operation triggered by the user on the search result card 611 is received, the selection state of the anchor point 605 corresponding to the historical query term "NiuX" can be revoked, and the selection state is applied to the anchor point 606 corresponding to the historical query term "Law of Universal Gravitation", that is, the selection state is switched from the anchor point 605 to the anchor point 606, so as to indicate that the currently selected query term is the "Law of Universal Gravitation" corresponding to the anchor point 606.

[0112] In addition, it should be noted that when a right swipe operation triggered by the user is received on the search result card 612 corresponding to the historical query term "Law of Universal Gravitation", it is possible to switch back to the search result card 611 corresponding to the historical query term "NiuX". The embodiment of the present application does not make any specific limitations on this.

[0113] The following will continue to explain the search processing method provided in the embodiment of the present application from the front-end interaction and back-end technology sides respectively.

[0114] The following first describes the search processing method provided in the embodiment of the present application from the front-end interaction side.

[0115] For example, see Figure 7 , Figure 7 is a flowchart of the search processing method provided in the embodiment of the present application, which will be combined with Figure 7 The steps shown are explained.

[0116] In step 201, in response to the number of consecutive searches by the user being greater than a threshold number, a quick navigation based on multiple historical query words is displayed in the search box.

[0117] In some embodiments, when it is detected that the number of consecutive searches by the user is greater than or equal to 2 times, it is determined that the current search has hit the continuous search strategy (i.e., the continuous search condition described above), and a quick navigation based on multiple historical query words can be displayed in the search box. For example, an interactive form of a "search timeline" can be displayed in the search box. The specific implementation method can be to sort multiple query words from right to left in reverse order of search time, wherein the current query word can be displayed as a text style, and the historical query word can be displayed as a label style, and a timeline and corresponding anchor points are drawn at the bottom of the search box (i.e., below each query word), so that a quick navigation of the search history can be formed in the search box. For example, a maximum of N (e.g., 3) query words close to the current time can be displayed in the search box, wherein the rightmost one is the current query word in a selected state. If the user continues to slide to the right, the search middle page can be displayed to display more search history.

[0118] In step 202, in response to receiving a click operation of the user on a historical query word in the quick navigation, or a sliding operation on a search result card, the search result card displayed in the search result display area is refreshed.

[0119] In some embodiments, the selected historical query word can be determined based on the user's click operation or the interactive behavior of the horizontal sliding gesture, and the search results corresponding to the selected historical query word can be requested from the server. In addition, while refreshing the search result card displayed in the search result display area, the selected state of the query word and the anchor point can also be switched in the search box.

[0120] In step 203, in response to receiving a click operation from the user on a certain historical query word in the quick navigation again, the search result card displayed in the search result display area is refreshed again.

[0121] In step 204, in response to receiving a click operation from the user on a blank position in the search box, a search intermediate page is displayed.

[0122] In some embodiments, when a user clicks on the search box again, the response can be determined to refresh the search result card, display the search intermediate page, or remain unchanged, based on whether the click location is a quick navigation, a blank area, or a currently selected historical query word. If the location clicked by the user is a quick navigation, for example, assuming that the user clicks on another historical query word in the quick navigation, the server can be requested for the search result corresponding to the currently selected historical query word, and the search result card displayed in the search result display area can be refreshed again; if the location clicked by the user is a blank area in the search box, the search intermediate page can be displayed, for example, a list of related associative words for the current query word can be displayed below the search box, and support is provided for clicking to jump to the corresponding search result page; if the user clicks on the currently selected historical query word, it remains unchanged.

[0123] The following continues to describe the search processing method provided in the embodiment of the present application from the background technology side.

[0124] For example, see Figure 8 , Figure 8 is a flowchart of the search processing method provided in the embodiment of the present application, which will be combined with Figure 8 The steps shown are explained.

[0125] In step 301, a time interval threshold is defined, and the user's continuous search behavior is determined based on the time interval threshold.

[0126] In some embodiments, the server can pre-define the time interval threshold of the "continuous search" behavior, so that it can determine whether the current search hits the continuous search strategy based on the user's search timestamp and number of times. For example, when the number of searches triggered by the user is greater than the number threshold, and the interval between two adjacent search operations is less than the interval time threshold, it is determined that the current search hits the continuous search strategy.

[0127] In step 302, when the continuous search strategy is hit, the historical search records and search results are synchronously returned to generate a search timeline in the search box.

[0128] In some embodiments, when a continuous search strategy is hit, the server may return the search results corresponding to the current query term to the client and may also synchronously return the historical search records to the client to draw and generate a search timeline in the search box.

[0129] In step 303, corresponding search results are returned according to the historical query words selected by the user.

[0130] In some embodiments, the server may return corresponding search results to the client according to the historical query terms selected by the user in the quick navigation. For example, assuming that the historical query term selected by the user is "awesome", the server may return search results corresponding to "awesome" to the client.

[0131] In step 304, when the position where the user clicks again is the quick navigation, return corresponding search results according to the historical query term selected again by the user.

[0132] In step 305, when the position where the user clicks again is the blank area in the search box, return a search intermediate page including a list of associated words.

[0133] In some embodiments, the server may also determine whether to return corresponding search results to the client or return content such as the list of associated words included in the search intermediate page according to the click position of the click operation triggered again by the user; for example, when the position where the user clicks is the position where another historical query term (assuming it is "Law of Universal Gravitation") in the quick navigation is located, the server may return search results corresponding to the historical query term "Law of Universal Gravitation" to the client; when the position where the user clicks is the blank area in the search box, the server may return content such as the list of associated words included in the search intermediate page to the client.

[0134] In summary, compared with the solutions provided by the related art, the search processing method provided by the embodiments of the present application provides an interactive method of efficiently and quickly switching search results with gestures + clicks when the user has continuous search needs, such as exploring related noun concepts, querying person associations, or exploring the context of events. At the same time, through the form of the "search timeline" in the search box, a personalized knowledge query path is provided, and the user can review their search context, thereby stimulating more curiosity and search needs, and further helping to increase the data of search query volume and user activity.

[0135] Next, continue to describe the exemplary structure of the software module implementation of the search processing device 555 provided by the embodiments of the present application. In some embodiments, as Figure 2 shown, the software module in the search processing device 555 stored in the memory 550 may include: a display module 5551.

[0136] The display module 5551 is used to display a search box and a search result display area, where the search box is used to input information to be queried, and the search result display area is used to display search results corresponding to the information to be queried; the display module 5551 is further used to display identifiers corresponding to multiple search records in the search box, where the multiple search records include the current search record, and the current search record is the latest search record in the search box.

[0137] In some embodiments, the search result display area currently displays search results corresponding to the current search record; the display module 5551 is also used to respond to a selection operation on a first search record among multiple search records, and display the search results corresponding to the first search record in the search result display area, wherein the first search record is any search record among the multiple search records except the current search record.

[0138] In some embodiments, the display module 5551 is also used to perform one of the following processes: displaying anchor points corresponding to multiple search records in the search box, and in response to a trigger operation on the anchor point corresponding to the first search record, displaying the search results corresponding to the first search record in the search results display area; in response to a trigger operation on the identifier corresponding to the first search record, displaying the search results corresponding to the first search record in the search results display area; in response to a sliding operation, displaying the search results corresponding to the first search record in the direction of the sliding operation in the search results display area.

[0139] In some embodiments, the display module 5551 is also used to perform one of the following processes: taking the opposite direction of the sliding operation as a reference direction, determining, among the identifiers corresponding to multiple search records, the next identifier that is located in the reference direction of the identifier of the current search record, taking the search record corresponding to the next identifier as the first search record, and displaying the search results corresponding to the first search record in the search results display area; taking the opposite direction of the sliding operation as a reference direction, determining, among the identifiers corresponding to multiple search records, the Nth identifier that is located after the identifier of the current search record in the reference direction, taking the search record corresponding to the Nth identifier as the first search record, and displaying the search results corresponding to the first search record in the search results display area, wherein the value of N is Positively correlated with the amplitude of the sliding operation; taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to multiple search records, switching the selected state along the reference direction starting from the identifier of the current search record, taking the search record corresponding to the identifier that is in the selected state when the switching stops as the first search record, and displaying the search results corresponding to the first search record in the search result display area; in response to the sliding distance of the sliding operation being greater than a distance threshold, taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to multiple search records, determining the next identifier of the identifier of the current search record in the reference direction, taking the search record corresponding to the next identifier as the first search record, and displaying the search results corresponding to the first search record in the search result display area.

[0140] In some embodiments, the identifier corresponding to the current search record is in a selected state; the search processing device 555 also includes a revocation module 5552 and an application module 5553, wherein the revocation module 5552 is used to revoke the selected state of the identifier corresponding to the current search record in response to a selection operation on the first search record among multiple search records; the application module 5553 is used to apply the selected state to the identifier corresponding to the first search record.

[0141] In some embodiments, the search processing device 555 also includes an acquisition module 5554, which is used for the display module 5551 to perform one of the following processes before displaying the search results corresponding to the first search record: in response to the existence of historical search results of the first search record in the cache, obtaining the historical search results of the first search record from the cache; in response to the absence of historical search results of the first search record in the cache, obtaining updated search results of the first search record from the server; in response to the existence of historical search results of the first search record in the cache, and the time interval between the generation time of the historical search results and the current time is greater than the time interval threshold, obtaining updated search results of the first search record from the server.

[0142] In some embodiments, the source of the multiple search records includes at least one of an electronic device and a collaborative device, wherein the electronic device is used to display a search box and a search result display area, and the collaborative device has a collaborative relationship with the electronic device.

[0143] In some embodiments, the display module 5551 is also used to display the device identification in the search box; based on the triggered device identification, the identifications corresponding to multiple search records from the corresponding device are displayed; wherein, when the identifications corresponding to multiple search records from the collaborative device and the electronic device are displayed, the identifications corresponding to the search records from different devices have different display methods.

[0144] In some embodiments, the display module 5551 is also used to preferentially display the identifiers corresponding to the multiple search records from the electronic device. When the number of identifiers corresponding to the multiple search records from the electronic device is less than the display quantity threshold of the search box, the identifiers corresponding to the multiple search records from the collaborative device are displayed so that the total number of identifiers of the displayed search records reaches the quantity threshold.

[0145] In some embodiments, the type of identification includes at least one of the following: text, keywords in the text, and pictures; the display module 5551 is also used to perform the following processing for each search record: when the type of information to be queried corresponding to the search record is text, the text or keywords in the text are displayed in the search box; when the type of information to be queried corresponding to the search record is a picture, a thumbnail of the picture is displayed in the search box; when the type of information to be queried corresponding to the search record is voice, keywords in the text obtained by voice conversion are displayed in the search box; when the type of information to be queried corresponding to the search record is text, and the text includes named entities, a picture corresponding to the named entity is displayed in the search box.

[0146] In some embodiments, the sorting methods of the identifiers corresponding to multiple search records include: in order from near to far search time to the current time; in order from high to low search frequency; in order from large to small relevance to the current search record; in order from large to small relevance to the current application scenario context.

[0147] In some embodiments, the display module 5551 is also used to display anchor points corresponding to multiple search records in the search box; in response to a trigger operation on an identifier or anchor point corresponding to a second search record, a floating box is displayed while the trigger operation is not released, and the search results corresponding to the second search record are displayed in the floating box, wherein the second search record is any search record among the multiple search records except the current search record; in response to the trigger operation being released, the floating box is cancelled.

[0148] In some embodiments, the display module 5551 is also used to display a search intermediate page in the search result display area in response to a trigger operation on a blank area in the search box, wherein the search intermediate page includes information to be queried related to the information to be queried corresponding to the current search record.

[0149] In some embodiments, the display module 5551 is also used to display identifiers corresponding to multiple search records in the search box in response to satisfying a continuous search condition, wherein the continuous search condition includes: the number of searches is greater than a number threshold, and the time interval between two adjacent search operations is less than a time interval threshold.

[0150] In some embodiments, the display module 5551 is also used to respond to a sliding operation, and if there is no search record in the direction consistent with the sliding operation, display a search intermediate page in the search result display area, wherein the search intermediate page includes other search records that are different from the multiple search records.

[0151] It should be noted that the description of the device in the embodiment of the present application is similar to the description of the method embodiment described above, and has similar beneficial effects as the method embodiment, so it will not be repeated. Figure 3 , Figure 5A ,or Figure 5B The present invention should be understood by referring to the description of any one of the accompanying drawings.

[0152] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the computer device executes the search processing method described in the embodiment of the present application.

[0153] The present application embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will be caused to execute the search processing method provided by the present application embodiment, for example, Figure 3 , Figure 5A ,or Figure 5B The search processing method shown.

[0154] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0155] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0156] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0157] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A search processing method, characterized in that: The method comprises: Display a search box and a search result display area, wherein the search box is used to input information to be queried, and the search result display area is used to display search results corresponding to the information to be queried; In the search box, labels corresponding to a plurality of search records are displayed respectively, wherein the plurality of search records include a current search record, and the current search record is a record of the latest search in the search box.

2. The method according to claim 1, characterized in that The search result display area currently displays the search results corresponding to the current search record; The method further comprises: In response to a selection operation on a first search record among the multiple search records, search results corresponding to the first search record are displayed in the search result display area, wherein the first search record is any search record among the multiple search records except the current search record.

3. The method according to claim 2, characterized in that In response to a selection operation on a first search record among the plurality of search records, displaying search results corresponding to the first search record in the search result display area includes: Perform one of the following actions: Displaying the anchor points corresponding to the plurality of search records respectively in the search box, and in response to a trigger operation on the anchor point corresponding to the first search record, displaying the search result corresponding to the first search record in the search result display area; In response to a trigger operation on the identifier corresponding to the first search record, displaying the search results corresponding to the first search record in the search result display area; In response to the sliding operation, the search results corresponding to the first search record that matches the direction of the sliding operation are displayed in the search result display area.

4. The method according to claim 3, characterized in that The displaying of the search result corresponding to the first search record in the direction of the sliding operation includes: Perform one of the following actions: Taking the direction opposite to the sliding operation as a reference direction, determining, among the identifiers corresponding to the multiple search records, a next identifier that is located in the reference direction of the identifier of the current search record, taking the search record corresponding to the next identifier as the first search record, and displaying the search result corresponding to the first search record in the search result display area; Taking the direction opposite to the sliding operation as a reference direction, among the identifiers corresponding to the multiple search records, determine the Nth identifier that is located after the identifier of the current search record in the reference direction, take the search record corresponding to the Nth identifier as the first search record, and display the search result corresponding to the first search record in the search result display area, wherein the value of N is positively correlated with the amplitude of the sliding operation; Taking the direction opposite to the sliding operation as a reference direction, among the identifiers respectively corresponding to the multiple search records, switching the selected state starting from the identifier of the current search record along the reference direction, taking the search record corresponding to the identifier that is in the selected state when the switching stops as the first search record, and displaying the search result corresponding to the first search record in the search result display area; In response to a sliding distance of the sliding operation being greater than a distance threshold, taking the opposite direction of the sliding operation as a reference direction, among the identifiers corresponding to the multiple search records, determine the next identifier of the identifier of the current search record located in the reference direction, take the search record corresponding to the next identifier as the first search record, and display the search results corresponding to the first search record in the search result display area.

5. The method according to any one of claims 2 to 4, characterized in that: The identifier corresponding to the current search record is in a selected state; In response to a selection operation on a first search record among the plurality of search records, the method further includes: The selected state of the identifier corresponding to the current search record is canceled, and the selected state is applied to the identifier corresponding to the first search record.

6. The method according to claim 2, characterized in that Before displaying the search results corresponding to the first search record, the method further includes: Perform one of the following actions: In response to the existence of historical search results of the first search record in the cache, obtaining the historical search results of the first search record from the cache; In response to the absence of the historical search results of the first search record in the cache, obtaining updated search results of the first search record from the server; In response to the existence of historical search results of the first search record in the cache, and the time interval between the generation time of the historical search results and the current time is greater than the time interval threshold, an updated search result of the first search record is obtained from the server.

7. The method according to claim 1, characterized in that The source of the multiple search records includes at least one of an electronic device and a collaborative device, wherein the electronic device is used to display the search box and the search result display area, and the collaborative device has a collaborative relationship with the electronic device.

8. The method according to claim 7, characterized in that The displaying of the identifiers corresponding to the plurality of search records in the search box includes: Displaying a device identification in the search box; According to the triggered device identifier, the identifiers corresponding to the multiple search records from the corresponding device are displayed; When the identifiers corresponding to the multiple search records from the collaborative device and the electronic device are displayed, the identifiers corresponding to the search records from different devices have different display modes.

9. The method according to claim 7, characterized in that: The displaying of the identifiers corresponding to the plurality of search records in the search box includes: The identifiers corresponding to the multiple search records from the electronic device are displayed preferentially. When the number of identifiers corresponding to the multiple search records from the electronic device is less than the display quantity threshold of the search box, the identifiers corresponding to the multiple search records from the collaborative device are displayed so that the total number of identifiers of the displayed search records reaches the quantity threshold.

10. The method according to claim 1, characterized in that The type of the identification includes at least one of the following: text, keywords in the text, and pictures; The displaying of the identifiers corresponding to the plurality of search records in the search box includes: For each search record, perform the following processing: When the type of information to be queried corresponding to the search record is text, displaying the text or keywords in the text in the search box; When the type of information to be queried corresponding to the search record is a picture, a thumbnail of the picture is displayed in the search box; When the type of information to be queried corresponding to the search record is voice, displaying keywords in the text obtained by converting the voice in the search box; When the type of the to-be-queried information corresponding to the search record is text, and the text includes a named entity, a picture corresponding to the named entity is displayed in the search box.

11. The method according to any one of claims 1 to 10, characterized in that: The sorting methods of the identifiers corresponding to the multiple search records include: In order of the search time from the nearest to the current time; In order of search frequency from high to low; In descending order of relevance to the current search record; In order from most to least relevant to the current application scenario context.

12. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: Displaying the anchor points corresponding to the plurality of search records in the search box; In response to a trigger operation for an identifier or an anchor point corresponding to a second search record, during a period in which the trigger operation is not released, a floating frame is displayed, and search results corresponding to the second search record are displayed in the floating frame, wherein the second search record is any one of the multiple search records except the current search record; In response to the trigger operation being released, the floating frame is cancelled.

13. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: In response to a trigger operation on a blank area in the search box, a search intermediate page is displayed in the search result display area, wherein the search intermediate page includes information to be queried related to the information to be queried corresponding to the current search record.

14. The method according to any one of claims 1 to 10, characterized in that: The displaying of the identifiers corresponding to the plurality of search records in the search box includes: In response to satisfying a continuous search condition, the identifiers corresponding to the multiple search records are displayed in the search box, wherein the continuous search condition includes: the number of searches is greater than a number threshold, and the time interval between two adjacent search operations is less than a time interval threshold.

15. The method according to any one of claims 1 to 10, characterized in that The method further comprises: In response to a sliding operation, and if there is no search record in a direction consistent with the sliding operation, a search intermediate page is displayed in the search result display area, wherein the search intermediate page includes other search records different from the multiple search records.

16. A search processing device, characterized in that: The device comprises: A display module, used to display a search box and a search result display area, wherein the search box is used to input information to be queried, and the search result display area is used to display search results corresponding to the information to be queried; The display module is further used to display identifiers corresponding to multiple search records in the search box, wherein the multiple search records include a current search record, and the current search record is the latest search record in the search box.

17. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the search processing method according to any one of claims 1 to 15 when executing executable instructions stored in the memory.

18. A computer-readable storage medium storing a computer program or executable instructions, characterized in that: When the computer program or executable instruction is executed by a processor, the search processing method according to any one of claims 1 to 15 is implemented.

19. A computer program product comprising a computer program or executable instructions, characterized in that When the computer program or executable instruction is executed by a processor, the search processing method according to any one of claims 1 to 15 is implemented.