Searching method and device, computer equipment, readable storage medium and program product
By receiving user search input information and dynamically adjusting the navigation options in the navigation bar to display matching search results, the problem of navigation options not being adjustable in existing technologies is solved, achieving the effects of rapid location and improved search efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2026-03-31
AI Technical Summary
The navigation options in the navigation bar of existing search engines cannot be adjusted, making it difficult for users to quickly locate the search results they want, resulting in low search efficiency.
By receiving users' search input, the navigation options in the navigation bar are dynamically adjusted to display search results that match the search input, with titles indicating search result type or target site. Animation effects are supported to indicate relevance, thus improving user interactivity.
It enables users to quickly locate the desired search results, improving search efficiency and accuracy, and enhancing the user experience.
Smart Images

Figure CN121765128A_ABST
Abstract
Description
[0001] This disclosure is a divisional application of the patent application filed on February 28, 2022, with application number 2022101904544, entitled "Search Method, Apparatus, Computer Equipment, Readable Storage Medium and Program Product". Technical Field
[0002] This disclosure relates to the field of computer technology, and in particular to a search method, a search device, a computer equipment, a computer-readable storage medium, and a computer program product. Background Technology
[0003] On the one hand, with the development of the internet, users can easily use search engines to find various information. For example, by entering keywords, the search engine finds page content, such as web pages, that matches those keywords from its database. On the other hand, as applications become increasingly feature-rich, many applications offer navigation bars so users can easily switch between different navigation options to access page content. However, currently, navigation options in these bars are pre-configured in the background and cannot be adjusted by the user. Furthermore, search results pages often mix and match various types of search results based on recommendation algorithms, leading to a confusing reading experience and making it difficult for users to quickly locate the search results they are looking for, resulting in low search efficiency. Summary of the Invention
[0004] This disclosure provides a search method, a search apparatus, a computer device, a computer-readable storage medium, and a computer program product, which can improve search efficiency.
[0005] This disclosure provides a search method, which includes: displaying an application interface, the application interface including a search input control; receiving first search input information through the search input control; displaying a first navigation option in a navigation bar of the application interface according to the first search input information; the first navigation option being a label with a title of a first search result type indicated by the first search input information; and the page content corresponding to the first navigation option including a first search result that matches the first search result type and the first search input information.
[0006] This disclosure provides a search method, comprising: displaying an application interface including a search input control; receiving first search input information through the search input control, the first search input information including a first search term and a second search term, the first search term indicating a target third-party website; displaying a first navigation option in a navigation bar of the application interface based on the first search input information; the first navigation option being a label with the target third-party website indicated by the first search term as its title; and the page content corresponding to the first navigation option including a first search result from the target third-party website that matches the second search term.
[0007] This disclosure provides a search method, comprising: displaying an application interface including a search input control; receiving first search input information through the search input control, the first search input information belonging to a target vertical category; displaying a first navigation option in a navigation bar of the application interface based on the first search input information; the first navigation option being a label with the target vertical category as its title; and the page content corresponding to the first navigation option including a first search result belonging to the target vertical category and matching the first search input information.
[0008] This disclosure provides a search device, comprising: a display unit for displaying an application interface, the application interface including a search input control; a receiving unit for receiving first search input information through the search input control; the display unit is further configured to display a first navigation option in a navigation bar of the application interface based on the first search input information; the first navigation option is a label with a title indicating a first search result type indicated by the first search input information; the page content corresponding to the first navigation option includes a first search result that matches the first search result type and the first search input information.
[0009] In some exemplary embodiments of this disclosure, the display unit is further configured to: display page content corresponding to the first navigation option in the application interface in response to receiving a first trigger operation on the first navigation option; or, display page content corresponding to the first navigation option in the application interface.
[0010] In some exemplary embodiments of this disclosure, the first search input information includes a first search term and a second search term with a target part of speech; the first search term indicates that the first search result type is a target third-party site; the first navigation option is a tag with the target third-party site as the title; and the first search result is a search result from the target third-party site that matches the second search term.
[0011] In some exemplary embodiments of this disclosure, the displayed application interface further includes a navigation bar, which includes set navigation options, including a default navigation option. The display unit is further configured to: display a first preset screen of page content corresponding to the default navigation option in the application interface, the first preset screen including a target search result matching the second search term; and, based on a second trigger operation on the application interface along the target direction, display a second preset screen of page content corresponding to the default navigation option in the application interface, the second preset screen including a target first search result, the target first search result being at least a portion of the first search result.
[0012] In some exemplary embodiments of this disclosure, the apparatus further includes: a processing unit configured to: move the target first search result along the target direction according to the second triggering operation on the application interface along the target direction; and play a first animation when the distance between the target first search result and the navigation bar is equal to a first preset distance, the first animation being used to indicate the relevance between the target first search result and the first navigation option.
[0013] In some exemplary embodiments of this disclosure, the playback rate of the first animation is positively correlated with the operation speed of the second triggering operation.
[0014] In some exemplary embodiments of this disclosure, the playback progress of the first animation is related to the distance between the target first search result and the navigation bar. The processing unit is further configured to: end the playback of the first animation when the distance between the target first search result and the navigation bar is equal to a second preset distance.
[0015] In some exemplary embodiments of this disclosure, the target search result is displayed with a first background color; in the second preset screen, the target first search result is displayed with a second background color of a first shape; the first animation is used to make the target first search result change from the first shape to the second shape, and the second background color changes to the first background color towards the center of the first navigation option.
[0016] In some exemplary embodiments of this disclosure, the second background color is associated with the target third-party website.
[0017] In some exemplary embodiments of this disclosure, the apparatus further includes a processing unit configured to: play a second animation when the distance between the target first search result and the navigation bar is equal to a third preset distance, the second animation indicating the association between the target first search result and the first navigation option.
[0018] In some exemplary embodiments of this disclosure, the second animation played is as follows: a predetermined shape of a predetermined size moving toward the target direction is displayed at the center position of the target side of the first navigation option; the predetermined shape disappears after moving a predetermined distance toward the target direction; after the predetermined shape disappears, the first navigation option is changed from a default color to a target color, the target color being associated with the target third-party site; after a predetermined duration, the first navigation option is restored from the target color to the default color, and the second animation ends.
[0019] In some exemplary embodiments of this disclosure, the first search input information indicates that the first search result type is a target vertical category; the first navigation option is a tag with the target vertical category as its title; and the first search result is a search result that belongs to the target vertical category and matches the first search input information.
[0020] In some exemplary embodiments of this disclosure, the receiving unit is further configured to: receive second search input information via the search input control. The apparatus further includes: a processing unit configured to: replace the first navigation option with a second navigation option in the navigation bar of the application interface, based on the second search input information. The second navigation option is a label with a title indicating the target search result type indicated by the second search input information. The page content corresponding to the second navigation option includes the target search result type and a second search result matching the second search input information.
[0021] This disclosure provides a search device, comprising: a display unit for displaying an application interface including a search input control; and a receiving unit for receiving first search input information via the search input control, the first search input information including a first search term and a second search term, the first search term indicating a target third-party website; the display unit is further configured to display a first navigation option in a navigation bar of the application interface based on the first search input information; the first navigation option is a label with the target third-party website indicated by the first search term as its title; and the page content corresponding to the first navigation option includes a first search result from the target third-party website that matches the second search term.
[0022] This disclosure provides a search device, comprising: a display unit for displaying an application interface including a search input control; a receiving unit for receiving first search input information through the search input control, the first search input information belonging to a target vertical category; the display unit further comprising displaying a first navigation option in a navigation bar of the application interface based on the first search input information; the first navigation option being a label with the target vertical category as its title; and the page content corresponding to the first navigation option including a first search result belonging to the target vertical category and matching the first search input information.
[0023] This disclosure provides a computer device including a processor, a memory, and an input / output interface. The processor is connected to both the memory and the input / output interface. The input / output interface is used to receive and output data. The memory is used to store a computer program. The processor is used to invoke the computer program to cause the computer device containing the processor to execute the search method in any embodiment of this disclosure.
[0024] This disclosure provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, such that a computer device having the processor performs the search method of any embodiment of this disclosure.
[0025] This disclosure provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various alternative embodiments of this disclosure.
[0026] In this embodiment of the disclosure, when a first search input is received through a search input control included in the displayed application interface, it can be determined that the first search input indicates that the user intends to obtain a first search result related to a first search result type. Then, a first navigation option can be displayed in the navigation bar of the application interface. This first navigation option is labeled with the first search result type indicated by the first search input, and the page content corresponding to the first navigation option includes both the first search result type and the first search result matching the first search input. By concentrating the first search results related to the first search result type under the newly added first navigation option, the user can quickly locate the first search result matching the first search result type and the first search input, thereby improving search efficiency and accuracy and enhancing the user experience. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a network interaction architecture diagram of a search method provided in an embodiment of this disclosure.
[0029] Figure 2 This is a flowchart of a search method provided in an embodiment of the present disclosure.
[0030] Figure 3 This is a schematic diagram of a navigation bar provided in an embodiment of this disclosure.
[0031] Figure 4 This is a schematic diagram of another navigation bar provided in an embodiment of this disclosure.
[0032] Figure 5 This is a schematic diagram of another navigation bar provided in the embodiments of this disclosure.
[0033] Figure 6 This is a schematic diagram of another navigation bar provided in an embodiment of this disclosure.
[0034] Figure 7 This is a schematic diagram of another navigation bar provided in an embodiment of this disclosure.
[0035] Figure 8This is a schematic diagram of a received first search input information including a first search term and a second search term, provided by an embodiment of this disclosure.
[0036] Figure 9 Is Figure 8 Based on the previous embodiment, a first navigation option with the target third-party site indicated by the first search term as the title is added to the navigation bar, and a schematic diagram of the first screen is displayed.
[0037] Figure 10 Is Figure 9 Based on the embodiment, a schematic diagram of the second screen is shown.
[0038] Figure 11 Is Figure 10 Based on the example, this is a diagram showing how the target first search result moves upward as the user swipes up.
[0039] Figure 12 Is Figure 11 Based on the embodiment, a diagram illustrating the triggering of the first animation playback when the distance between the target first search result and the navigation bar is equal to a first preset distance.
[0040] Figure 13 Is Figure 12 Based on the embodiment, a schematic diagram of the playback progress of the first animation is shown as the distance between the target first search result and the navigation bar decreases.
[0041] Figure 14 Is Figure 13 Based on the embodiment, a diagram illustrating the triggering of the second animation when the distance between the target first search result and the navigation bar is equal to a third preset distance.
[0042] Figure 15 Is Figure 14 Based on the embodiment, this is a schematic diagram of the end of the second animation playback.
[0043] Figure 16 This is a schematic diagram illustrating a received first search input information indicating that the first search result type is a target vertical category, provided by an embodiment of this disclosure.
[0044] Figure 17 Is Figure 16 Based on the previous example, a diagram showing a new first navigation option titled with the target vertical category is provided.
[0045] Figure 18 This is a flowchart of another search method provided in an embodiment of the present disclosure.
[0046] Figure 19 This is a schematic diagram of a search device provided in an embodiment of this disclosure.
[0047] Figure 20 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. Detailed Implementation
[0048] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0049] It should be understood that "several" in this article refers to one or more, and "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0050] The method provided in this disclosure can be implemented using an application component. That is, the method can be encapsulated as an application component that can cooperate with other applications installed on the user's device to complete the search function. In this way, third-party applications do not need to perform complex and lengthy development work for the search function; they only need to receive the search results page card through the interface with the application component to directly display the search results to the user. The displayed search results can be the first search result and / or the target search result.
[0051] Figure 1 This is a schematic diagram of the operating environment in some embodiments of this disclosure. For example... Figure 1 As shown, multiple users’ respective terminal devices (i.e., user devices 104, which may include user devices 104a, 104b and 104c, for example) are connected to the search server 112 via network 106.
[0052] In some embodiments, each user connects to the search server 112 via applications 109a, 109b, and 109c and application components 108a, 108b, and 108c running on user device 104. Applications 109 (e.g., may include applications 109a, 109b, and 109c) and application components 108 (e.g., may include application components 108a, 108b, and 108c) have a communication interface for data transfer and interaction between them. Application component 108 may be a component within application 109.
[0053] Search server 112 maintains database 114, which stores network data and is used to provide data search services to user equipment 104.
[0054] When a user enters first search input information on the page of application 109, application component 108 obtains the first search input information through the interface with application 109 and sends the first search input information to search server 112 through a search request message.
[0055] In some embodiments, the search server 112 may receive a search request message from the application component 108, obtain the corresponding search results based on the first search input information carried in the search request message from the application component 108, and return the search results to the application component 108. The search results may include the first search results and / or the target search results.
[0056] Search server 112 can distribute the first search input information to one or more search engines. When search server 112 distributes the first search input information to multiple search engines, search server 112 can receive the search results returned by multiple search engines, organize the multiple search results into the final search results according to preset rules, and return them to application component 108.
[0057] After the search server 112 returns the search results, the application component 108 receives the search results, parses the search results, generates a search results page card according to the search results display template, and provides the generated search results page card to the application 109 for display through the interface between the application and the application 109.
[0058] In some embodiments, the search result display template is used to define the display format of the search results, and the search result page card contains the search results in that display format.
[0059] In some embodiments, the search result is relevant data of a network service determined based on the first search input information; the search result includes: description information of the network service, and entry information of the service functions provided by the network service.
[0060] In some embodiments, the description and entry information returned by the search server 112 may include multiple information fields, each containing the keyword and value of that information field. For different types of network services, the search results returned by the search server 112 may contain different information fields.
[0061] After receiving the search results data, the application component 108 can parse one or more information fields from the description information and entry information according to the search results display template; and fill the values of the one or more information fields into the search results display template to generate the search results page card.
[0062] Application component 108 can pre-save search result display templates. Each search result display template contains one or more display locations, each corresponding to a different keyword. Based on the keywords corresponding to the display locations within the search result display template, application component 108 can parse information fields with the same keywords from the description information and entry information.
[0063] For application 109, the solution provided by this disclosure embodiment eliminates the need for complex development, debugging, and gray-scale deployment of various network services. It allows users to directly view the cards corresponding to various network services and directly access the searched service area, thus enabling the application to be launched quickly.
[0064] The solution provided in this disclosure provides a unified encapsulation and design for the terminal logic involved in the search function, enabling the construction of a universal display solution and the generation of application components (e.g., software development kits, SDKs) for different operating systems. Applications only need to connect to the corresponding application components to achieve low-cost integration.
[0065] In this embodiment of the disclosure, the search server 112 may be the server where the application 109 is located, or it may belong to the user device (i.e., the background of the user device), etc., and there is no limitation here.
[0066] The user device can be a mobile phone (such as user device 104c), a laptop computer (such as user device 104b), or a playback device in a vehicle (such as user device 104a), etc., without limitation. User device 104a can be considered as a playback device in vehicle 103, and it can display the application interface, etc. Figure 1 The user equipment described herein is only a portion of the equipment exemplified, and the user equipment in this disclosure is not limited to this. Figure 1 The devices exemplified herein. The application in this disclosure can be any application that displays data.
[0067] It is understood that the user equipment mentioned in the embodiments of this disclosure can be a computer device, and the computer device in the embodiments of this disclosure includes, but is not limited to, terminal devices or servers. In other words, the computer device can be a server or a terminal device, or a system composed of servers and terminal devices. The terminal device mentioned above can be an electronic device, including but not limited to mobile phones, tablets, desktop computers, laptops, PDAs, in-vehicle devices, augmented reality / virtual reality (AR / VR) devices, head-mounted displays, smart TVs, wearable devices, smart speakers, digital cameras, webcams, and other mobile internet devices (MIDs) with network access capabilities, or terminal devices in scenarios such as trains, ships, and flights. The server mentioned above can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, vehicle-to-everything (V2X) communication, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0068] Optionally, the data involved in the embodiments of this disclosure may be stored in a computer device or may be stored based on cloud storage technology, without limitation.
[0069] Please refer to Figure 2 The diagram illustrates a flowchart of a search method provided by an exemplary embodiment of this disclosure. This method can be executed by a computer device running an application, such as a terminal device. Optionally, the various steps in the scheme shown in the embodiments of this disclosure can be executed by an application running on the terminal device.
[0070] like Figure 2 As shown, the method may include the following steps: In S210, an application interface is displayed, which may include a search input control.
[0071] For example, a user turns on a terminal device, opens an application installed on that terminal device, and displays the application's interface.
[0072] The search input control in this embodiment can be any component capable of enabling user input information, and this embodiment does not limit the form of the search input control.
[0073] In this embodiment of the disclosure, the search input control can be explicit or implicit.
[0074] In this context, an explicit search input control refers to a search input control that users can visually see on the application interface. For example, the search input control can be a search box or browser address bar displayed on the application interface, where users can enter search information. The entered search information can include the first search input information, the second search input information, etc., as described below.
[0075] Implicit means that the search input control may not be displayed on the application interface. When the user has a search request, the search input control is triggered by a command to input search information. For example, the search input control may include a voice search input control. The voice search input control receives the user's voice information, recognizes the voice information, and obtains the user's search input information. This voice search input control can be displayed on the application interface, or it can be triggered by the user long-pressing the application interface when they need to search.
[0076] In S220, the first search input information is received through the search input control.
[0077] In this embodiment of the disclosure, the search input information refers to the object to be searched entered by the user. This can be a single character, a word, multiple words, a paragraph of text, an image, a piece of audio, a piece of video, etc. The search input information can be words used to describe the product or service to be searched. For example, a user can enter product or service terms in the browser address bar or search box as search input information. This search input information may include first search input information, which can be any search input information entered by the user.
[0078] In S230, based on the first search input information, a first navigation option is displayed in the navigation bar of the application interface.
[0079] The first navigation option is a label with the first search result type indicated by the first search input information as its title.
[0080] The page content corresponding to the first navigation option includes a first search result that matches the first search result type and the first search input information.
[0081] In this embodiment of the present disclosure, the application interface displayed in S210 may also include the navigation bar, or the navigation bar may be displayed in the application interface after the first search input information is received. This disclosure does not limit this.
[0082] In this embodiment of the disclosure, the navigation bar refers to a predetermined area on the page for displaying one or more navigation options / navigation buttons. Each navigation option corresponds to a page content. The page content can be an option page in the application, or it can be one or more page elements belonging to the current page (such as a floating box superimposed on the current page), or it can be the next level of the navigation bar. This embodiment of the disclosure does not limit the content format of the above page content.
[0083] The designated area can be one or more of the following: top, bottom, side, entire page, or middle area. For example, a row of horizontal navigation buttons can be displayed at the top or bottom of the page, or a column of vertical navigation buttons can be displayed on the left side of the page. Each navigation option links to a site, various pages within the application, page elements within the page, or the next level of the navigation bar. Users can access different pages within the application or software by switching between different navigation options, allowing users to find the resources they need more clearly.
[0084] In an exemplary embodiment, the method may further include: displaying page content corresponding to the first navigation option in the application interface in response to receiving a first trigger operation on the first navigation option; or, displaying page content corresponding to the first navigation option in the application interface.
[0085] In this embodiment, if the application interface displayed in S210 also includes the navigation bar, the navigation options displayed in the navigation bar at this time can be referred to as pre-configured navigation options. Pre-configured navigation options are navigation options that have been pre-configured by the system. If the navigation bar displayed in S210 does not include the first navigation option, after receiving the first search input information, semantic analysis is performed on the first search input information to determine the first search result type indicated by the first search input information. Based on the first search result type, a first navigation option is added to the navigation bar. The first navigation option can be a tab with the first search result type as its title, and the page content corresponding to the first navigation option can be the first search result that matches the first search result type and the first search input information. Thus, the system can be configured to directly locate the first navigation option, i.e., display the page content corresponding to the first navigation option; alternatively, the user can perform a first trigger operation on the first navigation option, such as clicking the first navigation option to display the page content corresponding to the first navigation option. Since the page content corresponding to the first navigation option is always the first search result of the first search result type, search efficiency can be improved, allowing users to quickly find the target content they wish to retrieve and improving search accuracy.
[0086] In this embodiment of the disclosure, the first search result type refers to the information that classifies the search results contained in the first search input information, which is determined by semantic analysis of the first search input information.
[0087] In an exemplary embodiment, the first search input information may include a first search term and a second search term with a target part of speech.
[0088] The first search term may indicate that the first search result type is a target third-party site.
[0089] The first navigation option may be a tag with the target third-party site as its title.
[0090] The first search result can be a search result from the target third-party site that matches the second search term.
[0091] In this embodiment of the disclosure, the search term refers to the product or service words entered by the user in a search input control, such as the browser address bar or search box.
[0092] In this embodiment of the disclosure, the target part of speech can be any one or more of nouns, verbs, adjectives, etc. In the following embodiments, nouns are used as examples of the target part of speech, but this disclosure is not limited to this.
[0093] In some embodiments, the first search input information may include multiple (two or more) nouns. The nouns used to indicate the target third-party site are called first search terms, and the nouns not used to indicate the target third-party site are called second search terms. The first search term may be one or more, the second search term may be one or more, and the target third-party site may be one or more. The following example illustrates that the first search term, the second search term, and the target third-party site are all one, but this disclosure is not limited to this.
[0094] In this embodiment of the disclosure, a third-party site refers to a website, software, application, etc., other than the application corresponding to the displayed application interface. A target third-party site refers to the third-party site indicated by the first search term. That is, if the first search input information entered by the user contains information about the third-party site, such as the name of the third-party site, then the first search result type can be determined to be the target third-party site. This can trigger the addition of a first navigation option in the navigation bar. The first navigation option can be a tab with the target third-party site as its title, such as the name of the target third-party site. Under the tab with the name of the target third-party site as its title, the page content displayed is the first search result from the target third-party site that matches the second search term. In this way, the user can quickly find the first search result that matches the second search term retrieved from the target third-party site by locating the newly added tab, instead of mixing search results from different sites under the same navigation option, such as the default navigation option, which would cause confusion for the user.
[0095] In an exemplary embodiment, the displayed application interface may further include the navigation bar, which may include set navigation options, including default navigation options.
[0096] In this embodiment of the disclosure, a certain navigation option in the navigation bar is the navigation option that is selected by default at the initial moment. That is to say, at the initial moment when the navigation bar is triggered to be displayed, the application directly displays the page content corresponding to the navigation option in the application interface.
[0097] In an exemplary embodiment, the method may further include: displaying a first preset screen of page content corresponding to the default navigation option in the application interface, the first preset screen including a target search result matching the second search term; and displaying a second preset screen of page content corresponding to the default navigation option in the application interface according to a second triggering operation on the application interface along a target direction, the second preset screen including a target first search result, the target first search result being at least a portion of the first search result.
[0098] In this embodiment of the disclosure, after adding a first navigation option, if the user does not trigger the first navigation option, the user can be directed to the default navigation option, that is, the page content of the default navigation option is displayed. Since the display screen area of the terminal device is limited, the page content can be displayed in a split screen, such as a first screen, a second screen, a third screen, etc.
[0099] The first preset screen can be a preset number of screens that prioritize the page content of the default navigation option. This preset number can be set according to actual needs. In the following embodiments, the first preset screen is used as an example, but this disclosure is not limited to this. For example, the first preset screen can also be a first screen and a second screen. The first preset screen can display target search results that match the second search term in the first search input information. Target search results refer to the search results retrieved after removing the first search term from the first search input information; that is, the first search result type is not limited. Therefore, target search results can include search results of different search result types. Since the user has not triggered the addition of a new tab, the user may want to obtain richer search results. This disclosure embodiment can provide users with richer search results by displaying target search results belonging to different search result types in the first preset screen.
[0100] The second preset screen can be the first preset screen or the next screen after the first preset screen. For example, if the first preset screen is the first screen, then the second preset screen is the second screen, but this disclosure is not limited to this.
[0101] After displaying target search results that are not from the first search result type to the user on the first preset screen, if the user does not find the desired search result, the user can perform a second trigger operation on the application interface in the target direction. For example, if the information on the application interface is laid out vertically, the target direction can be relative to the top of the application interface. The second trigger operation can be an upward swipe operation, such as the user swiping the application interface upward with their finger. In response to the upward swipe operation, the first preset screen is gradually hidden and the second preset screen is displayed, thereby gradually hiding the target search results that do not belong to the first search result type and gradually displaying the target first search result that belongs to the first search result type.
[0102] In this embodiment of the disclosure, the target first search result may be the first search result ranked first after sorting from the first search results according to the recommendation algorithm, thereby improving search efficiency and recommendation accuracy, but this disclosure is not limited to this.
[0103] In this embodiment, the target direction can be determined based on the layout design of the application interface. For example, if the information on the application interface is laid out in a left-right direction, the target direction can be relative to the left side of the application interface, such as when the user swipes the screen to the left. This disclosure does not limit this direction. In the following embodiments, upward swiping is used as an example.
[0104] In this embodiment of the disclosure, by displaying a target first search result on a second preset screen, the target first search result includes at least some first search results belonging to the first search result type, so that if the user still cannot find the desired search result after the display of the first preset screen, the target first search result displayed on the second preset screen can prompt the user whether they want to find the search result in the first search result. That is, the reason why the user initially triggered the new tab may be that they did not notice the new tab. In this way, the interaction efficiency between the user and the user can be improved, and the user's true intention can be accurately understood.
[0105] In an exemplary embodiment, the method may further include: moving the target first search result along the target direction according to the second triggering operation on the application interface along the target direction; and playing a first animation when the distance between the target first search result and the navigation bar is equal to a first preset distance, wherein the first animation is used to indicate the relevance between the target first search result and the first navigation option.
[0106] For example, in response to a user's swipe-up action on the application interface, the target first search result is moved upwards, gradually approaching the navigation bar. When the distance between the target first search result and the navigation bar equals a first preset distance, a first animation can be triggered. This first animation can be used to prompt the user that the target first search result is relevant to the first navigation option, that is, the target first search result belongs to the page content corresponding to the first navigation option, thereby drawing the user's attention to the new tab and prompting the user to locate the new tab to obtain the first search result from the target third-party site.
[0107] In this embodiment of the disclosure, the first preset distance can be determined according to the actual layout design of the application interface. The following example uses 120px (pixels), but this disclosure is not limited to this.
[0108] In an exemplary embodiment, the playback rate of the first animation can be positively correlated with the operation speed of the second triggering operation. For example, the faster the user swipes, the faster the playback rate of the first animation, which can enhance the interactivity between the user and the application interface.
[0109] In an exemplary embodiment, the playback progress of the first animation may be related to the distance between the target first search result and the navigation bar; when the distance between the target first search result and the navigation bar is equal to a second preset distance, the playback of the first animation ends.
[0110] In this embodiment of the disclosure, the closer the target first search result in the second preset screen is to the navigation bar, the greater the playback progress of the first animation. When the distance between the target first search result and the navigation bar is equal to the second preset distance, the playback of the first animation ends.
[0111] In this embodiment of the disclosure, the second preset distance can be determined according to the actual layout design of the application interface. The following example uses 0px (pixels), but this disclosure is not limited to this.
[0112] In an exemplary embodiment, the target search result may be displayed using a first background color; in the second preset screen, the target first search result may be displayed using a second background color of a first shape.
[0113] In this embodiment of the disclosure, the background color refers to the color displayed in the background of the application interface. By displaying the target search result with the first background color and the target first search result with a second background color that is different from the first background color, users can more easily notice the difference between the target first search result and the target search result, thereby making it easier for users to notice the new tab.
[0114] In this embodiment of the disclosure, the first background color and the second background color can be set according to actual needs, and this disclosure does not limit them.
[0115] In this embodiment of the disclosure, the first animation can be used to change the second background color of the target first search result from a first shape to a second shape, and the second background color changes to the first background color towards the center of the first navigation option. By gradually changing the target first search result from the second background color to the first background color, and gradually changing the second background color towards the center of the newly added tab, the user is more likely to notice the newly added tab.
[0116] In an exemplary embodiment, the second background color may be associated with the target third-party website.
[0117] In this embodiment, the second background color can be the brand color of the target third-party website. For example, if the brand color of the target third-party website is green, then the second background color is green; if the brand color of the target third-party website is red, then the second background color is red. Matching the second background color of the target first search result with the brand color of the target third-party website makes it easier for users to understand the relationship between the target first search result and the newly added tab.
[0118] In an exemplary embodiment, the method may further include: when the distance between the target first search result and the navigation bar is equal to a third preset distance, playing a second animation, the second animation being used to indicate the association between the target first search result and the first navigation option.
[0119] In this embodiment of the disclosure, the second preset distance can be determined according to the actual layout design of the application interface. The following example uses 0px (pixels), but this disclosure is not limited to this.
[0120] In an exemplary embodiment, the second animation played can be: A predetermined shape of predetermined size, moving toward the target direction, is displayed at the center position on the target side of the first navigation option; The predetermined shape disappears after moving a predetermined distance in the target direction; After the predetermined shape disappears, the first navigation option is changed from the default color to the target color, which is associated with the target third-party site; After a predetermined duration, the first navigation option reverts from the target color to the default color, and the second animation ends.
[0121] In this embodiment of the disclosure, the predetermined size, predetermined shape, predetermined duration, default color, and target color can be set according to actual conditions, and this disclosure does not limit them.
[0122] In this embodiment, when a first navigation option is initially added to the navigation bar, it can be displayed in a default color, which can be the same as the color of any existing navigation option in the navigation bar. The target color can be the brand color of the target third-party website. During the playback of the second animation, the color displayed by the first navigation option is changed from the default color to the target color. After a predetermined duration, the playback of the second animation ends, and the first navigation option returns to its default color. This second animation further helps users understand the relationship between the target first search result and the first navigation option. If no user interaction with the first navigation option is received after the predetermined duration of the second animation, it indicates that the user does not wish to limit the search results to the target third-party website, and the first navigation option returns to its original default color.
[0123] It is understood that the above descriptions of the first and second animations are for illustrative purposes only. In real-world scenarios, any suitable method can be used to draw the user's attention to the newly added tab and make them understand the relevance between the target first search result displayed on the second preset screen and the newly added tab. For example, when adding a new tab, a prompt can be played via voice or displayed as text. This prompt can be hidden after a predetermined duration, which can be set according to actual needs. This prompt informs the user that a tab for the target third-party site has been added to the navigation bar. In this case, the second preset screen may or may not include the target first search result. Alternatively, an animation can be played to draw the user's attention to the correlation between the newly added tab and the target first search result. Furthermore, three or more animations can be used to draw the user's attention to the correlation between the newly added tab and the target first search result. Moreover, the first and second animations can take other forms, as long as they effectively draw the user's attention to the correlation between the newly added tab and the target first search result.
[0124] In an exemplary embodiment, the first search input information indicates that the first search result type can be a target vertical category; The first navigation option may be a label with the target vertical category as its title; The first search result can be a search result that belongs to the target vertical category and matches the first search input information.
[0125] In other embodiments, the first search input does not explicitly indicate that the desired search results come from one or more third-party sites. In this case, semantic analysis of the first search result input can be used to determine whether the first search input belongs to one or more target vertical categories. If the first search input belongs to a target vertical category, the first search result type is determined as the target vertical category, and a new tab with the target vertical category title is added to the navigation bar. The first search results that match the first search input and belong to the target vertical category are then grouped into the page content of the newly added tab. Otherwise, the search results that match the first search input are returned to the user.
[0126] In this embodiment of the disclosure, a vertical category refers to focusing on certain specific areas or a specific need, providing relevant information and services related to that area or need.
[0127] In an exemplary embodiment, the method may further include: receiving second search input information through the search input control; replacing the first navigation option with a second navigation option in the navigation bar of the application interface according to the second search input information; the second navigation option being a label with a title indicating the target search result type indicated by the second search input information; and the page content corresponding to the second navigation option including the target search result type and the second search result matching the second search input information.
[0128] In this embodiment, if a user performs multiple searches within a certain time period, the most recently added tab in the navigation bar can replace the previously added tab according to the chronological order of the user's search input. This solves the problem of limited navigation bar space. Simultaneously, the newly added tab displayed is the first search result that the user is most interested in at the current time; that is, the newly added tab in the navigation bar can be dynamically updated in real time. For example, the first search is "A My Sister," the second is "B XX," the third is "C Balala Little Fairy," and so on. Since the space that the navigation bar can display is limited, the most recently generated tab can replace the previously generated tab each time. For example, "B" tab replaces "A" tab, and "C" tab replaces "B" tab. Here, "A," "B," and "C" can respectively indicate the names of different target third-party websites.
[0129] However, this disclosure is not limited to this. In other embodiments, each newly added tab can be added to the navigation bar, with tabs older than the current time moved to the back. If a tab exceeds the display space of the navigation bar after being moved, it is hidden. Users can find the hidden tab by swiping right, for example. This solves the problem of limited navigation bar space and records the user's historical search information, making it easier for users to find the first search result they previously searched, saving search time and improving search efficiency. In other embodiments, the display space of the navigation bar can adaptively increase as the number of newly added tabs increases, allowing users to choose from a wider range of new tabs.
[0130] The navigation method provided in this disclosure, when receiving first search input information through a search input control included in a displayed application interface, can determine, based on the first search input information, that the user intends to obtain a first search result related to a first search result type. Then, a first navigation option can be displayed in the navigation bar of the application interface. This first navigation option is labeled with a tag indicating the first search result type indicated by the first search input information, and the page content corresponding to the first navigation option includes both the first search result type and the first search result matching the first search input information. By concentrating the first search results related to the first search result type under the newly added first navigation option, the user can quickly locate the first search result matching the first search result type and the first search input information, thereby improving search efficiency and accuracy, and enhancing the user experience.
[0131] The following is combined Figures 3 to 18 The methods provided in the embodiments of this disclosure are illustrated by way of example, but this disclosure is not limited thereto.
[0132] like Figure 3 As shown, taking an instant messaging application as an example, the navigation bar provided in this embodiment can include two levels of navigation bars, and the navigation bar mentioned in the above embodiment can be any level of navigation bar.
[0133] For example, a top-level navigation bar is displayed at the bottom 310 of the application interface 300, which is called the bottom navigation. The navigation bar at the bottom 310 may include instant messaging navigation options 311 (e.g., a tab with "Messages" as the title), address book navigation options 312 (e.g., a tab with "Contacts" as the title), information extension navigation options 313 (e.g., a tab with "Discover" as the title), and user personal information navigation options 314 (e.g., a tab with "Me" as the title).
[0134] When a user navigates to the "Discover" tab, the next level navigation bar, i.e., the left-hand area 320, is displayed. This may include navigation options 321 for displaying social information (e.g., a tab titled "Moments"), 322 for collecting QR code information (e.g., a tab titled "Scan"), 323 for searching nearby information (e.g., a tab titled "Shake"), 324 for finding nearby objects (e.g., a tab titled "People Nearby"), 325 for randomly distributing information (e.g., a tab titled "Message in a Bottle"), 326 for online shopping (e.g., a tab titled "Shopping"), and 327 for online games (e.g., a tab titled "Games").
[0135] like Figure 4 As shown, the navigation bar on the application interface 400 provided in this embodiment may also include a first-level navigation bar, which may be set in the left area 410 and referred to as the side navigation. It may include a financial resource transfer navigation option 411 (e.g., a tab with "transfer" as the title), a mobile phone recharge navigation option 412 (e.g., a tab with "mobile phone recharge" as the title), a financial loan navigation option 413 (e.g., a tab with "XX loan" as the title), a living expense payment navigation option 414 (e.g., a tab with "living expense payment" as the title), a city service navigation option 415 (e.g., a tab with "city service" as the title), a red envelope distribution navigation option 416 (e.g., a tab with "XX red envelope" as the title), and a public welfare navigation option 417 (e.g., a tab with "XX public welfare" as the title).
[0136] like Figure 5 Alternatively, taking online financial services 510 (identified as "wallet") as an example, the navigation bar on the application interface 500 provided in this embodiment can be displayed in a grid manner, that is, the navigation options can be laid out in a grid manner, which is called grid navigation. For example, it may include the top of the page 520 and other areas 530 excluding the top of the page 520. Displaying navigation options through the top of the page can be called top navigation. The top of the page 520 may include financial resource payment navigation options 521 (e.g., a tab with "Payment" as the title), remaining financial resource information navigation options 522 (e.g., a tab with "Change" as the title), and bank card information navigation options 523 (e.g., a tab with "Bank Card" as the title).
[0137] Other areas 530 use grid navigation, which may include, for example, financial resource transfer navigation option 531, mobile phone recharge navigation option 532, financial management navigation option 533 (e.g., a tab titled "XX Financial Management"), financial lending navigation option 534, fee recharge navigation option 535 (e.g., a tab titled "XX Recharge"), living expenses payment navigation option 536, city services navigation option 537, credit card debt repayment navigation option 538, red envelope distribution navigation option 539, payment collection navigation option 5310 (e.g., a tab titled "XX Payment Collection"), online game payment collection navigation option 5311 (e.g., a tab titled "Game Mini-Store"), and public welfare navigation option 5312.
[0138] like Figure 6 As shown, the application interface 600 may include a search input control 610, which may further include a search box and a voice search input control 611. The navigation bar displayed on the application interface 600 may also include a top of the page 620, a middle area of the page 630, and a bottom of the page 640. The top of the page 620 may include a QR code information collection navigation option 621, a financial resource payment navigation option 622, a discount information navigation option 623 (e.g., a tab titled "Coupons"), and a location navigation option 624 (e.g., a tab titled "In Place"). The middle area of the page 630 may include a financial resource transfer navigation option 631, a credit card debt repayment navigation option 632, a recharge navigation option 633 (e.g., a tab titled "Recharge Center"), a remaining financial resource information navigation option 634, a ride-hailing navigation option 635 (e.g., a tab titled "XX Taxi"), a city service navigation option 636, a shared bicycle navigation option 637, and all navigation options 638. The bottom of the page 640 may include homepage navigation options 641, local life service navigation options 642 (e.g., a tab with "XX" as the title), contact information collection navigation options 643 (e.g., a tab with "Friends" as the title), and user personal information display navigation options 644 (e.g., a tab with "My" as the title).
[0139] In this embodiment of the disclosure, if the application has many functions, based on the grid navigation, the user can select navigation options corresponding to some of the functions and place them in the navigation bar of the homepage, for example... Figure 6 As shown, when the user triggers all navigation options 638, they can jump to, for example... Figure 7 The application interface 700 shown displays navigation options corresponding to all functions and uses grid navigation.
[0140] In related technologies, navigation options in the navigation bar are displayed in a fixed position in the form of tab buttons.
[0141] In this embodiment of the disclosure, the above Figures 3 to 7 The provided navigation bar is for illustrative purposes only. In some alternative solutions, the multi-level navigation bar in the application interface can also be placed in other locations within the application interface, and the arrangement of the multi-level navigation bar can also take other forms. For example, the multi-level navigation bar in the application interface can be distributed on both sides of the application interface, and the multi-level navigation bar can also be distributed in an arc shape, etc. The embodiments of this disclosure do not limit the setting position and arrangement of the navigation bar.
[0142] Users may enter multiple terms during a search, one or more of which may be classification criteria for another or more terms. However, in related technologies, the search results page mixes information from various search result types based on recommendation algorithms, leading to a confusing reading experience for users. Furthermore, the navigation options in the navigation bar of related technologies are pre-configured in the backend, and users can only adjust the display order of the set navigation options. However, in a search scenario, navigation is a way of classifying information. Therefore, this embodiment of the disclosure designs a method that intelligently adds navigation dimensions by adding new tabs based on the user's search input, helping users efficiently obtain search results.
[0143] The method provided in this disclosure can be applied to search scenarios. Here, we take browser search as an example for illustration: Based on the semantic understanding of the search input information (taking the first search input information as an example, and the processing of other search input information such as the second search input information is similar), it can be divided into the following scenarios (A) and (B).
[0144] Scenario (A): The search results page card (here referring to the area in the second preset screen used to display the target first search result, which can also be called a third-party content card since the target first search result comes from the target third-party site) is linked with the new tab. For example, by playing the following animations (a) (first animation) and (b) (second animation), the user can intuitively know that the search results page card is associated with the new tab.
[0145] like Figure 8As shown, the application interface 800 includes a search input control 810, which includes a search box 811. When the user triggers the search box 811, a voice search input control 812 and an information input panel 813 are displayed. The user can input the first search input information "A my sister" into the search box 811 through the voice search input control 812 or the information input panel 813. The first search input information includes the first search term "A" and the second search term "my sister". After the user triggers the search, semantic analysis is performed on the first search input information to determine that the first search term "A" has a clear third-party site target. Taking the target third-party site "A" as an example, the following is displayed: Figure 9 The application interface shown.
[0146] like Figure 9 As shown, the application interface includes a search input control 910 and a navigation bar 920. The navigation bar 920 includes pre-set navigation options: general navigation option 921, video navigation option 923, information navigation option 924, encyclopedia navigation option 925, and image navigation option 926. In addition, it also includes a newly added first navigation option 922, which is a tab with the first search term "A" as its title. It can also display the number of first search results under the first navigation option, such as 273.
[0147] Understandable, Figure 9 The example provided illustrates the insertion of a new tab between a first navigation option (e.g., general navigation option 921) and a second navigation option (e.g., video navigation option 923) that already have navigation options set. However, this disclosure is not limited to this. In other embodiments, the new tab can be placed at the very beginning of the navigation bar, for example, before the first navigation option (e.g., general navigation option 921). Furthermore, a new navigation bar can be added, and the new tab can be displayed in this new navigation bar; this disclosure does not limit this approach.
[0148] Figure 9 In this embodiment, assuming the user does not trigger the newly added first navigation option 922, the system locates the default navigation option, such as the comprehensive navigation option 921, and begins displaying the first screen 930 of the page content of the comprehensive navigation option 921. The first screen 930 includes target search results that match the second search term "my sister" but are not from the first search term "A", for example... Figure 9 931, 932, and 933.
[0149] If the search result displayed on the first screen 930 is the result the user wants to find, then swiping up on the screen will gradually hide the first screen 930. Figure 10As shown, the second screen 1000 is displayed. It is assumed that the top of the second screen 1000 includes the target search result 1010, and the bottom of the second screen 1000 includes a third-party content card 1020. The third-party content card 1020 may include the target first search result 1022. The target search results in the first and second screens are displayed using a first background color, such as white. The third-party content card 1020 displayed in the second screen 1000 uses a second background color 1025. The second background color is the brand color of the target third-party site "A", such as green. The third-party content card 1020 in the second screen 1000 may also display the name 1021 of the target third-party site "A", the icon 1023 of the target third-party site "A", and the number 1024 of the first search results retrieved from the target third-party site "A", which is equal to the information related to the target third-party site "A", so that users can understand that the third-party content card 1020 corresponds to the target third-party site "A" and distinguish it from the target search results.
[0150] Understandably, although Figure 10 In this embodiment, a third-party content card is displayed at the bottom of the second screen. However, this disclosure is not limited to this. In other embodiments, the third-party content card may also be placed at the bottom of the first screen or at the top of the second screen.
[0151] In this embodiment of the disclosure, when a new tab is added to the navigation bar, if the user does not directly navigate to the new tab, it may be because the user does not want to only obtain the first search result under the target third-party site, or it may be that the user did not notice the new tab. Therefore, by placing the third-party content card at the bottom of the second screen of the search results page, on the one hand, the user is first shown the target search results of other search result types. If the user scrolls to the second screen but still does not click to browse the target search results under other search result types, the third-party content card is then displayed to the user to prompt whether the user wants to obtain the first search result from the target third-party site. Furthermore, the user's attention can also be attracted through the animations (a) and / or (b) described below.
[0152] If the user does not trigger the third-party content card 1020 on the second screen, and the user continues to swipe up the screen, the following will be displayed: Figure 11 The application interface shown is 1100. (Example) Figure 11 As shown, the third-party content card 1120 moves upwards, gradually approaching the navigation bar. The target search result 1110 displayed on the second screen gradually hides, displaying as shown... Figure 12 The application interface shown is 1200.
[0153] When a user swipes up on the page, the relative position of third-party content cards is monitored in real time, such as... Figure 12 As shown, when the distance from the top navigation bar 1210 is 120px, that is, when the height of area 1220 is 120px, the display is as follows. Figure 12 The application interface 1200 shown triggers animation (a). In animation (a), the second background color of the third-party content card 1230 gradually changes from a square (first shape) to a circle 1231 (second shape), and then begins to change back to the first background color towards the center of the bottom of the newly added tab, for example, green gradually turns into white, so that the green gradually disappears.
[0154] like Figure 12 As shown, as the user swipes up, the target search result 1240 on the third screen is gradually displayed. As the user continues to swipe up, the following is displayed: Figure 13 In the application interface 1300 shown, the third-party content card 1320 is getting closer and closer to the navigation bar 1310. More of the green 1321 within the third-party content card 1320 is disappearing, and the green color continues to move in a circle towards the center of the bottom of the newly added tab. Meanwhile, the content displayed in the target search results 1330 is gradually increasing.
[0155] The playback progress of animation (a) is mapped to the distance of the third-party content card from the top navigation bar in pixels. For example, when the distance between the third-party content card and the bottom of the top navigation bar is 120px, the playback progress of animation (a) is 0%; when the distance is 60px, the playback progress is 50%; and when the distance is 0px, the playback progress is 100%.
[0156] Optionally, the faster the user's finger slides, the faster the animation (a) plays. However, this disclosure is not limited to this. The playback rate of the animation (a) can also be determined based on the distance between the third-party content card and the bottom of the top navigation bar. For example, the closer the third-party content card is to the top navigation bar, the faster the animation (a) plays.
[0157] As the user swipes up, the following is displayed: Figure 14 In the application interface 1400 shown, when the distance between the third-party content card 1420 and the navigation bar 1410 is 0px, the animation (b) is triggered.
[0158] For example, the preset playback duration of animation (b) is 300ms, which strengthens the connection between third-party content cards and the newly added tab 1411 in the navigation bar 1410. Users can manually switch to the newly added tab 1411.
[0159] Animation (b) can be described as follows: A dot 1412 with a radius of 10px appears at the center of the bottom of the newly added tab 1411, moving upwards for 40px before disappearing. After the dot disappears, the text color of the newly added tab 1411 changes to the brand color, such as green, and lasts for 300ms. Then, the text of the newly added tab 1411 returns to its original state, and animation (b) ends. At the same time, the content displayed in the target search result 1430 gradually increases.
[0160] When animation (b) ends, the following will be displayed: Figure 15 The application interface 1500 shown here shows that the newly added tab in the navigation bar 1510 has returned to its original state, the content in the third-party content card 1520 has almost disappeared, and the content in the target search results 1530 is gradually increasing.
[0161] This disclosure discloses a recommendation method that automatically adds navigation bar options based on user-input search terms. Specifically, the system understands the user-input search term, such as "A my sister," and finds that the first search term "A" is a source with a large number of first search results for "my sister." Therefore, a tab with the first search term "A" as the title is added to the navigation bar. After the user clicks the newly added tab, they can search more efficiently in this channel.
[0162] The following is through Figure 16 and Figure 17 Provide an example for scenario (B).
[0163] like Figure 16 As shown, the application interface 1600 includes a search input control 1610, which includes a search box 1611. When the user triggers the search box 1611, a voice search input control 1612 and an information input panel 1613 are displayed. The user can input the first search input information "When love has become a thing of the past" into the search box 1611 through the voice search input control 1612 or the information input panel 1613. The semantic analysis of the first search input information "When love has become a thing of the past" is performed to determine that it has a clear vertical category orientation (such as music, movies, books, products, etc.). Here, it is assumed that its corresponding target vertical category is determined to be "music", then the following is displayed: Figure 17 The application interface shown is 1700.
[0164] like Figure 17 As shown, a new tab “Music (238)” is added to the navigation bar 1710, where 238 is used to indicate the number of first search results. Figure 17 In this embodiment, the search results page directly navigates to the newly added tab and displays the page content of the newly added tab, such as the first search results 1720 and 1730.
[0165] In some embodiments, if semantic analysis is performed on the first search input information and it is determined that the first search input information can belong to multiple target vertical categories, the search results matching the first search input information can be placed in the page content corresponding to any one or more pre-set navigation options. In other embodiments, if it is determined that the first search input information can belong to multiple target vertical categories, multiple tabs with target vertical categories as titles can be added, and the first search results belonging to the corresponding target vertical category and matching the first search input information can be placed under the corresponding newly added tabs. For example, if the input is "My Sister", some songs are titled "My Sister", and some movies are titled "My Sister", then two tabs can be added based on the pre-set navigation options: one tab is "Music" and the other is "Movies". The first search results belonging to music and matching "My Sister" can be placed under the newly added "Music" tab, and the first search results belonging to movies and matching "My Sister" can be placed under the newly added "Movies" tab.
[0166] like Figure 18 As shown, the implementation logic flow of the search method provided in this disclosure includes user device presentation and backend technology. The backend can be the user device itself or a search server, and this disclosure does not limit it.
[0167] In S1801, the user enters first search input information on the user device, which includes search terms.
[0168] In S1802, the user equipment transmits the first search input information received to the background.
[0169] In S1803, after the backend receives the first search input information, it performs semantic recognition and semantic understanding on the search terms in the first search input information.
[0170] For example, the query words can be preprocessed first, including case conversion, half-width / full-width conversion, simplified / traditional character conversion, and length break correction, and then word segmentation can be performed.
[0171] The embodiments of this disclosure may employ statistical word segmentation techniques, such as the N-gram language model word segmentation algorithm, but this disclosure is not limited thereto.
[0172] In S1804, the backend determines whether the first search input information points to a third-party site based on semantic recognition and semantic understanding; if so, S1805 is executed; otherwise, S1814 is executed.
[0173] If the extracted search terms, such as the first search term, are clearly targeting a third-party site, then it is determined that the search results point to a third-party site, and the collected first search results are aggregated under a new tab.
[0174] In S1805, the background system instructs the user device to display information.
[0175] In S1806, after receiving instructions from the backend, the user device adds a new tab to the navigation bar. This new tab can be the name of the target third-party site. By default, it is positioned in the comprehensive tab, and the third-party content cards are displayed on the second screen of the comprehensive tab.
[0176] In S1807, the user swipes up on the page.
[0177] In S1808, the user equipment sends instructions to the background.
[0178] In S1809, after receiving the instruction from the user device, the backend monitors the relative position between the third-party content card and the navigation bar in real time, that is, determines the distance or pixels between the two.
[0179] In S1810, the time for playing animation (a) is determined based on the detected relative position, wherein the playback progress of animation (a) is mapped to the distance pixels, for example, 120px is mapped to 0% progress and 0px is mapped to 100%.
[0180] In S1811, the animation is rendered on the user's device in the background (a).
[0181] In S1812, as the user swipes up, when the third-party content card is 120px away from the navigation bar, the animation (a) starts playing and ends when the third-party content card is 0px away from the navigation bar.
[0182] In S1813, as the user continues to swipe up, when the distance between the third-party content card and the navigation bar is 0px, the animation (b) starts playing. After 300ms, the animation (b) ends, and then S1816 is executed.
[0183] In S1814, if the result after semantic recognition is that the first search input information does not contain a third-party site, then it is further determined whether the first search input information has a type indication; if so, for example, it can be classified into a certain category, such as a song name being identified as being classified into the category of "music", then the "music" tab is displayed, and the collected first search results are aggregated under this "music" tab for display, and S1815 is executed; if not, then S1818 is executed.
[0184] In S1815, the background system instructs the user device to display information, and then executes S1817.
[0185] In S1816, the user clicks the "Add" tab.
[0186] In S1817, the results page for adding a new tab is displayed, showing the content of the new tab, and then the operation ends.
[0187] In S1818, the search results are displayed under the set navigation options in the navigation bar, and the search results match the first search input information.
[0188] Figure 18 Other aspects of the embodiments can be found in the description of the embodiments above.
[0189] The search method provided in this disclosure can automatically add new navigation options based on the search terms entered by the user. On the one hand, it increases the flexibility of navigation option settings, and on the other hand, it allows users to conduct more efficient and accurate searches in this newly added tab. Furthermore, this disclosure provides a search method, which may include: displaying an application interface, the application interface including a search input control; receiving first search input information through the search input control, the first search input information including a first search term and a second search term, the first search term indicating a target third-party site; displaying a first navigation option in the navigation bar of the application interface according to the first search input information; the first navigation option may be a tag with the target third-party site indicated by the first search term as its title; the page content corresponding to the first navigation option may include a first search result from the target third-party site that matches the second search term. Other aspects of this disclosure can be referred to the description of the above embodiments.
[0190] Furthermore, this disclosure provides a search method, which may include: displaying an application interface, the application interface including a search input control; receiving first search input information through the search input control, the first search input information belonging to a target vertical category; displaying a first navigation option in the navigation bar of the application interface based on the first search input information; the first navigation option may be a tag with the target vertical category as its title; the page content corresponding to the first navigation option may include a first search result belonging to the target vertical category and matching the first search input information. Other aspects of this disclosure can be found in the description of the above embodiments.
[0191] Further, please see Figure 19 , Figure 19This is a schematic diagram of a search device provided in an embodiment of this disclosure. The search device can be a computer program (including program code, etc.) running on a computer device; for example, the search device can be an application software. The device can be used to execute corresponding steps in the methods provided in the embodiments of this disclosure. Figure 19 As shown, the search device 1900 can be used in the computer equipment in the embodiment corresponding to the figure above. Specifically, the device may include a display unit 1910 and a receiving unit 1920.
[0192] The display unit 1910 can be used to display an application interface, which includes a search input control.
[0193] The receiving unit 1920 can be used to receive first search input information through the search input control.
[0194] The display unit 1910 can also be used to display a first navigation option in the navigation bar of the application interface based on the first search input information.
[0195] The first navigation option may be a label with a title indicating the type of the first search result indicated by the first search input information.
[0196] The page content corresponding to the first navigation option may include the first search result type and the first search result that matches the first search input information.
[0197] In an exemplary embodiment, the display unit 1910 may also be used to: display page content corresponding to the first navigation option in the application interface in response to receiving a first trigger operation on the first navigation option; or, display page content corresponding to the first navigation option in the application interface.
[0198] In an exemplary embodiment, the first search input information may include a first search term and a second search term with a target part of speech; the first search term may indicate that the first search result type is a target third-party site; the first navigation option may be a tag with the target third-party site as the title; and the first search result is a search result from the target third-party site that matches the second search term.
[0199] In an exemplary embodiment, the displayed application interface may further include the navigation bar, which may include set navigation options, including a default navigation option. The display unit 1910 may also be configured to: display a first preset screen of page content corresponding to the default navigation option in the application interface, the first preset screen including a target search result matching the second search term; and, according to a second trigger operation on the application interface along the target direction, display a second preset screen of page content corresponding to the default navigation option in the application interface, the second preset screen including a target first search result, the target first search result being at least a portion of the first search result.
[0200] In an exemplary embodiment, the search device 1900 may further include a processing unit, which may be configured to: move the target first search result along the target direction according to the second trigger operation on the application interface along the target direction; and play a first animation when the distance between the target first search result and the navigation bar is equal to a first preset distance, wherein the first animation is used to indicate the relevance between the target first search result and the first navigation option.
[0201] In an exemplary embodiment, the playback rate of the first animation may be positively correlated with the operation speed of the second triggering operation.
[0202] In an exemplary embodiment, the playback progress of the first animation may be related to the distance between the target first search result and the navigation bar. The processing unit can also be configured to: stop playing the first animation when the distance between the target first search result and the navigation bar is equal to a second preset distance.
[0203] In an exemplary embodiment, the target search result may be displayed with a first background color; in the second preset screen, the target first search result may be displayed with a second background color of a first shape; the first animation may be used to change the second background color of the target first search result from the first shape to a second shape, and the second background color changes to the first background color towards the center of the first navigation option.
[0204] In an exemplary embodiment, the second background color may be associated with the target third-party website.
[0205] In an exemplary embodiment, the search device 1900 may further include a processing unit, which may be used to play a second animation when the distance between the target first search result and the navigation bar is equal to a third preset distance, the second animation being used to indicate the association between the target first search result and the first navigation option.
[0206] In an exemplary embodiment, the second animation played may be: displaying a predetermined shape of a predetermined size moving toward the target direction at the center position of the target side of the first navigation option; the predetermined shape disappearing after moving a predetermined distance toward the target direction; after the predetermined shape disappears, changing the first navigation option from a default color to a target color, the target color being associated with the target third-party site; and after a predetermined duration, restoring the first navigation option from the target color to the default color, and the second animation ending.
[0207] In an exemplary embodiment, the first search input information may indicate that the first search result type is a target vertical category; the first navigation option may be a tag with the target vertical category as its title; and the first search result is a search result that belongs to the target vertical category and matches the first search input information.
[0208] In an exemplary embodiment, the receiving unit 1920 can also be used to receive second search input information via the search input control. The search device 1900 may further include a processing unit, which can be used to replace the first navigation option with a second navigation option in the navigation bar of the application interface based on the second search input information. The second navigation option is a label with a title indicating the target search result type indicated by the second search input information. The page content corresponding to the second navigation option includes the target search result type and a second search result matching the second search input information.
[0209] Furthermore, embodiments of this disclosure provide a search device, which may include: a display unit for displaying an application interface, the application interface including a search input control; a receiving unit for receiving first search input information through the search input control, the first search input information including a first search term and a second search term, the first search term indicating a target third-party site; the display unit may also be used to display a first navigation option in the navigation bar of the application interface according to the first search input information; the first navigation option may be a label with the target third-party site indicated by the first search term as its title; the page content corresponding to the first navigation option may include a first search result from the target third-party site that matches the second search term.
[0210] Furthermore, embodiments of this disclosure provide a search device, which may include: a display unit for displaying an application interface, the application interface including a search input control; a receiving unit for receiving first search input information through the search input control, the first search input information belonging to a target vertical category; the display unit may also be used to display a first navigation option in the navigation bar of the application interface based on the first search input information; the first navigation option is a label with the target vertical category as its title; the page content corresponding to the first navigation option may include a first search result belonging to the target vertical category and matching the first search input information.
[0211] This disclosure provides a search device that can operate in a computer device.
[0212] See Figure 20 , Figure 20 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. Figure 20 As shown, the computer device in this embodiment may include one or more processors 2001, a memory 2002, and an input / output interface 2003. The processor 2001, memory 2002, and input / output interface 2003 are connected via a bus 2004. The memory 2002 stores a computer program, which includes program instructions. The input / output interface 2003 receives and outputs data, such as for data interaction between the host machine and the computer device, or for data interaction between various virtual machines within the host machine. The processor 2001 executes the program instructions stored in the memory 2002.
[0213] The processor 2001 can perform the following operations: displaying an application interface, the application interface including a search input control; receiving first search input information through the search input control; displaying a first navigation option in the navigation bar of the application interface according to the first search input information; the first navigation option being a label with a title of a first search result type indicated by the first search input information; and the page content corresponding to the first navigation option including a first search result that matches the first search result type and the first search input information.
[0214] In some feasible implementations, the processor 2001 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0215] The memory 2002 may include read-only memory and random access memory, and provides instructions and data to the processor 2001 and input / output interface 2003. A portion of the memory 2002 may also include non-volatile random access memory. For example, the memory 2002 may also store device type information.
[0216] In practice, the computer device can execute the implementation methods provided in the steps shown in the figure above through its built-in functional modules. For details, please refer to the implementation methods provided in the steps shown in the figure above, which will not be repeated here.
[0217] This disclosure provides a computer device including a processor, an input / output interface, and a memory. The processor retrieves a computer program from the memory and executes the steps of the method shown in the figure above.
[0218] This disclosure also provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and executed using the search methods provided in the steps of the above figures. Specific implementations of the steps in the above figures are provided and will not be repeated here. Furthermore, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this disclosure, please refer to the description of the method embodiments of this disclosure. As an example, the computer program may be deployed to execute on a single computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed across multiple locations and interconnected via a communication network.
[0219] The computer-readable storage medium can be the search device provided in any of the foregoing embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0220] This disclosure also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternatives shown in the figures above.
[0221] The terms "first," "second," etc., used in the specification, claims, and drawings of this disclosure are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.
[0222] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0223] The methods and related apparatuses provided in this disclosure are described with reference to the method flowcharts and / or structural diagrams provided in this disclosure. Specifically, each block of the method flowchart and / or structural diagram, as well as combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions are provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable search device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable search device, generate instructions for implementing the process... Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable search device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable search device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or structures illustrate the steps of the functions specified in one or more boxes.
[0224] The above-disclosed embodiments are merely preferred embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Therefore, any equivalent variations made in accordance with the claims of this disclosure shall still fall within the scope of this disclosure.
Claims
1. A search method, characterized in that, include: Display the application interface, which includes a search input control; The search input control receives first search input information, which includes a first search term and a second search term, wherein the first search term indicates a target third-party site. Based on the first search input information, the newly added first navigation option is displayed in the navigation bar of the application interface; The page content corresponding to the first navigation option includes a first search result that is related to the target third-party site and matches the second search term.
2. The search method as described in claim 1, characterized in that, The first search input information includes multiple nouns, the multiple nouns used to indicate the target third-party site are the first search terms, and the multiple nouns that are not used to indicate the target third-party site are the second search terms.
3. The search method as described in claim 1, characterized in that, The displayed application interface also includes the navigation bar, which includes pre-set navigation options; The method further includes: The application interface displays a first preset screen containing the page content corresponding to the triggered and set navigation options. The first preset screen includes target search results that match the second search term. Based on a second trigger operation on the application interface along the target direction, a second preset screen is displayed in the application interface to show the page content corresponding to the default navigation option. The second preset screen includes a target first search result, which is at least a portion of the first search result.
4. The search method as described in claim 1, characterized in that, The displayed application interface also includes the navigation bar, and the set navigation options include the default navigation options; The method further includes: A first preset screen displays the page content corresponding to the default navigation option in the application interface, and the first preset screen includes target search results that match the second search term; Based on a second trigger operation on the application interface along the target direction, a second preset screen is displayed in the application interface to show the page content corresponding to the default navigation option. The second preset screen includes a target first search result, which is at least a portion of the first search result.
5. The search method as described in claim 3 or 4, characterized in that, The target search results do not include search results from the first search result type, which is the search result type indicated by the first search input information.
6. The search method as described in claim 3 or 4, characterized in that, Also includes: An animation is played to highlight the relevance between the first navigation option and the target first search result.
7. The search method as described in claim 1, characterized in that, Also includes: When the first navigation option is displayed, a prompt message is shown, indicating that the first navigation option has been added to the navigation bar.
8. The search method as described in claim 7, characterized in that, Also includes: The prompt message will be hidden after the scheduled duration.
9. The search method as described in claim 1, characterized in that, Also includes: The second search input information is received through the search input control; Based on the second search input information, a second navigation option is displayed in the navigation bar of the application interface; The second navigation option is a label with the type of target search result indicated by the second search input information; The page content corresponding to the second navigation option includes the target search result type and the second search result that matches the second search input information.
10. The search method as described in claim 9, characterized in that, The navigation bar includes the first navigation option and the second navigation option, with the second navigation option placed before the first navigation option.
11. The search method as described in claim 10, characterized in that, Also includes: Hide the first navigation option; The first navigation option is displayed again by performing an action.
12. The search method as described in claim 1, characterized in that, Also includes: The display space of the navigation bar is adaptively adjusted according to the number of newly added navigation options, including the first navigation option.
13. A search method, characterized in that, include: Display the application interface; Receive first search input information, which belongs to the target vertical category; Based on the first search input information, the newly added first navigation option is displayed in the navigation bar of the application interface; The first navigation option is a label with the target vertical category as its title; The page content corresponding to the first navigation option includes the first search result that belongs to the target vertical category and matches the first search input information.
14. A search method, characterized in that, include: The application interface is displayed, and the application interface includes a navigation bar, which includes set navigation options. Receive first search input information, wherein the first search input information indicates the type of the first search result; The page content corresponding to the set navigation options includes a search results page card, which includes a target first search result. The target first search result is at least a portion of the first search results, and the first search result matches the first search result type and the first search input information. Based on the first search input information, the newly added first navigation option is displayed in the navigation bar of the application interface.
15. The search method as described in claim 14, characterized in that, The first navigation option is a label with the first search result type indicated by the first search input information as its title; The page content corresponding to the first navigation option includes the first search result type and the first search result that matches the first search input information.
16. A search device, characterized in that, include: The display unit is used to display the application interface, which includes a search input control; The receiving unit is configured to receive first search input information through the search input control, the first search input information including a first search term and a second search term, the first search term indicating a target third-party site; The display unit is also used to display a newly added first navigation option in the navigation bar of the application interface based on the first search input information; The page content corresponding to the first navigation option includes a first search result that is related to the target third-party site and matches the second search term.
17. A search device, characterized in that, include: The display unit is used to display the application interface; The receiving unit is configured to receive first search input information, wherein the first search input information belongs to a target vertical category; The display unit is also used to display a newly added first navigation option in the navigation bar of the application interface based on the first search input information; The first navigation option is a label with the target vertical category as its title; The page content corresponding to the first navigation option includes the first search result that belongs to the target vertical category and matches the first search input information.
18. A search device, characterized in that, include: A display unit is used to display an application interface, the application interface including a navigation bar, the navigation bar including set navigation options; A receiving unit is configured to receive first search input information, wherein the first search input information indicates a first search result type; The display unit is further configured to include a search results page card in the page content corresponding to the set navigation options, the search results page card including a target first search result, the target first search result being at least a portion of the first search results, and the first search results matching the first search result type and the first search input information; The display unit is also used to display a newly added first navigation option in the navigation bar of the application interface based on the first search input information.
19. A computer device, characterized in that, Includes processor, memory, and input / output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive data and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device executes the method according to any one of claims 1-12, or the method according to claim 13, or the method according to claim 14 or 15.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-12, or the method of claim 13, or the method of claim 14 or 15.
21. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the method of any one of claims 1-12, or the method of claim 13, or the method of claim 14 or 15.