Search method, device, electronic device and storage medium

By displaying sub-search content generated based on the user's historical operations on the search interface, the problem of users having to search multiple times when searching for complex issues is solved, improving search efficiency and experience.

CN113177152BActive Publication Date: 2024-10-29VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110476846.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2024-10-29
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

When users search for complex questions, it is difficult to find the optimal answer in a single search query and multiple searches are required, which results in long time consumption and affects the search experience.

Method used

By receiving the user's input and based on the user's historical operations on the search question answer interface, relevant sub-search content is generated and displayed in a specific area of ​​the current web page. Users do not need to determine the sub-search content themselves and can directly click to enter the answer interface.

Benefits of technology

It improves the user's search efficiency, simplifies the search process, improves the user experience, and reduces the need for multiple searches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113177152B_ABST
    Figure CN113177152B_ABST
Patent Text Reader

Abstract

The present application discloses a search method, device, electronic device and storage medium, belonging to the field of data processing technology. It includes: receiving a first input from a user, the first input being an operation of the user entering a first answer interface; in response to the first input, displaying a first answer interface corresponding to the search content in a first area of ​​the current web page interface, and displaying a sub-search content corresponding to the search content in a second area of ​​the current web page interface, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content; wherein the sub-search content corresponding to the search content is determined based on at least one user's historical operation on the first answer interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of the Internet, the amount of content and information on the Internet is increasing, and the complexity of information is increasing. When users search for some complex problems, they often cannot find the best answer to solve the search problem through a single search query. It often requires multiple searches, global search then local search, shallow search then deep search, and other comprehensive search methods to solve the search problem.

[0003] That is to say, users often need to search multiple times in the search process to get the results they want. However, such searches take a long time, resulting in a poor search experience for users.

[0004] Therefore, how to help users improve search efficiency and enhance their search experience has become a problem that needs to be solved urgently in the industry. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a search method, device, electronic device and storage medium, which can solve the technical problem of user search efficiency.

[0006] In a first aspect, an embodiment of the present application provides a search method, the method comprising:

[0007] Receiving a first input from a user, where the first input is an operation by the user to enter a first answer interface;

[0008] In response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and a sub-search content corresponding to the search content is displayed in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content;

[0009] The sub-search content corresponding to the search content is determined based on historical operations of at least one user on the first answer interface.

[0010] In a second aspect, an embodiment of the present application provides a search device, the device comprising:

[0011] A receiving unit, configured to receive a first input from a user, wherein the first input is an operation of the user entering a first answer interface;

[0012] A display unit, in response to the first input, displays a first answer interface corresponding to the search content in a first area of ​​the current webpage, and displays sub-search content corresponding to the search content in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content;

[0013] The sub-search content of the search content is determined based on historical operations of at least one user on the first answer interface.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0017] In an embodiment of the present application, based on the historical operations of multiple users on the search question answer interface, relevant sub-search content of the search content is effectively generated, and the sub-search content is displayed at the end of the search content answer interface or in a fixed area of ​​the current web page. The user does not need to determine the relevant sub-search content by himself, so that the user can directly click on the sub-search content to enter the answer interface corresponding to the sub-search content. The user does not need to perform multiple searches, which effectively improves the user's search efficiency and ensures a good search experience for the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a search method flow chart provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of the logical structure of a multi-branch tree for search content provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram showing a search query interface provided in an embodiment of the present application;

[0021] Figure 4 A web page correlation analysis diagram provided in an embodiment of the present application;

[0022] Figure 5A schematic diagram of the search logic construction process provided in this application;

[0023] Figure 6 A schematic diagram of the structure of a search device provided in an embodiment of the present application;

[0024] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0025] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] In the following, in conjunction with the accompanying drawings, a search method, device, electronic device and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0029] Figure 1 A flowchart of a search method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, including:

[0030] Step 110, receiving a first input from a user, where the first input is an operation of the user entering a first answer interface;

[0031] Specifically, in the present application, the electronic device receives the user's first input, and the user's first input may refer to the operation of the user selecting the first answer interface of the search content, and specifically may refer to the operation of the user clicking on the target answer hyperlink address of the search content; the target answer hyperlink address in the present application points to the first answer interface corresponding to the search content.

[0032] The electronic device described in this application may specifically refer to a smart phone, a tablet computer, a laptop computer, or other electronic devices capable of performing web page searches.

[0033] Step 120, in response to the first input, displaying a first answer interface corresponding to the search content in a first area of ​​the current webpage, and displaying sub-search content corresponding to the search content in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content;

[0034] The sub-search content corresponding to the search content is determined based on historical operations of at least one user on the first answer interface.

[0035] Specifically, the current web page described in the present application may specifically refer to the interface of the web page that the user is browsing, which may specifically refer to the interface of the browser web page or the client interface.

[0036] The first area of ​​the current web page described in the present application may specifically refer to an area used to display answers corresponding to search content, and the first area is located in the current web page.

[0037] The second area of ​​the current web page described in the present application may specifically refer to an area for displaying sub-search content of the search content; and the second area in the present application may be displayed below the first area, and the second area may be displayed in a specific fixed area of ​​the current web page, for example, the second area is a sidebar of the web page interface.

[0038] The user history operations described in this application are used to determine the lower-level search sub-content corresponding to the search content. The user history operations specifically refer to the historical operations generated by the user on the first answer page recorded by the browser, which may include: web browsing time, number of swipes on the web page, whether to return to the current level search results and browse other web pages, links to other web pages in this web page, etc.; it may also include: operations in which the user directly searches on the first answer interface, operations in which the user searches after copying and pasting the content in the first answer interface, and operations in which the user directly searches the selected content in the first answer interface, etc.

[0039] The answers to the searches in this application often include necessary sub-content that the user is not clear about, and the user needs to master the answers to all the sub-content in order to get the answers to the fundamental search content. Therefore, the answer page pointed to by the sub-search content in this application contains information that can be used to help users understand the search content, that is, the search content and the search sub-content satisfy a multi-branch tree logical structure.

[0040] Figure 2 A schematic diagram of the logical structure of the multi-branch tree of search content provided in the embodiment of the present application is shown in FIG. Figure 2 As shown, the root node of the multi-branch tree is the user's most original search content. For some simple search content or users with strong cognition, the multi-branch tree structure of the search content only includes the root node search content.

[0041] For more complex search content, there may be a multi-level tree logic structure, that is, each search content may have sub-search content in the next level of the tree logic structure.

[0042] That is to say, each search content may have corresponding sub-search content that helps users understand the search content, that is, the sub-content and the corresponding search answer constitute the search answer of the parent search content, and so on, so as to fundamentally obtain the search results that users need.

[0043] In the present application, the sub-search content displayed in the second area may specifically be a hyperlink pointing to the sub-search content answer interface.

[0044] More specifically, the construction of the multi-branch tree logic structure of the search content described in the embodiments of the present application can be divided into three steps. The first is to select the best answer, the second is to determine the lower-level sub-search content, and the last is to determine the termination of the search content.

[0045] The answer selection is a process of selecting the best answer based on the user's answer hyperlink address corresponding to the search content given by the search engine. It needs to combine some parameters: how many users visit, browsing time after visiting, whether they have finished reading, whether they have jumped out and browsed other answers at the same level, etc. After obtaining these parameters, combined with the weight strategy, the score of each web page answer hyperlink is calculated for selection. In addition, in order to avoid the inequality brought by the search order of the search engine, several answer hyperlink addresses with high scores are selected as the best results.

[0046] The determination of the lower-level search content may specifically refer to the determination of the sub-search content set initiated by the user in the answer page at this level. There are mainly the following ways: copying the content of the current answer page to search for the content as the sub-search content; directly searching the content of the current answer page in the search box above the current answer page, and returning to continue browsing the parent web page, and using the content entered in the search box above as the sub-search content of the current answer page.

[0047] The downward termination judgment of the search content may specifically refer to when the user begins to return to the upper level page step by step, or when the user jumps to other non-related search content answer web pages, that is, the sub-search content where the search content is terminated is reached.

[0048] In addition, the multi-branch tree logic structure of the search content in this application will continue to iterate and learn based on the user's historical operations on the recommended path, and dynamically adjust the optimal search query path structure for the problem.

[0049] Figure 3 A schematic diagram showing the search query interface provided in the embodiment of the present application, such as Figure 3 As shown, when a user clicks on a search content and enters the answer interface of the search content, the answer interface of the search content is displayed in the first area 31 of the current webpage, and at the same time, the sub-search content of the search content is displayed in the second area 32 of the current webpage; if a user clicks on sub-search content 1 and enters the answer interface of sub-search content 1, the answer interface of sub-search content 1 is displayed in the first area 31 of the current webpage, and at the same time, the secondary sub-search content of sub-search content 1 is displayed in the second area 32 of the current webpage;

[0050] Each second-level sub-search content may be a hyperlink pointing to a second-level sub-search content answer interface; the sub-search content is equivalent to the parent search content of the second-level sub-search content.

[0051] The historical operations of the user on the first answer interface described in the present application may specifically be the interface operations of the user on the first answer interface, or the operations of the user on the content in the first answer interface.

[0052] The embodiment of the present application effectively generates relevant sub-search content of the search content based on the historical operations of multiple users on the search question answer interface, and displays the sub-search content at the end of the search content answer interface or in a fixed area of ​​the current web page, without the need for users to determine the relevant sub-search content by themselves. As a result, users can directly click on the sub-search content to enter the answer interface corresponding to the sub-search content, without the need for users to perform multiple searches. This effectively improves the user's search efficiency and ensures a good search experience for users.

[0053] Optionally, the historical operation is that the at least one user directly searches for the sub-search content, wherein the first answer interface includes the sub-search content.

[0054] Specifically, since each answer interface corresponds to the generation of sub-search content, it is necessary to refer to the historical operations of multiple different users on the answer interface. Therefore, the historical operations in this application refer to the historical operation records of multiple users on the first answer interface.

[0055] In this application, when the user directly enters the target search content in the current web page search box displaying the first answer interface, the target search content belongs to the content in the first answer interface. At this time, the target search content is used as the sub-search content corresponding to the search content, and its corresponding relationship is stored in the server.

[0056] When the user opens the first answer interface corresponding to the search content, the electronic device reads the corresponding relationship from the server and displays the sub-search content corresponding to the search content in the second area of ​​the current web page.

[0057] In the embodiment of the present application, through the operation of the user directly searching the sub-search content, the sub-search content corresponding to the search content can be effectively generated to help the user find the sub-content corresponding to the search content.

[0058] Optionally, the historical operation is an operation performed by the at least one user to search after copying and pasting the sub-search content in the first answer interface.

[0059] Specifically, after the user directly copies the target search content in the first answer interface, the target search content is pasted into the search box of the current web page, and then the search operation is performed. Since the user directly copied the search content in the first answer interface, the target search content also has a high correlation with the search content corresponding to the first answer interface. At this time, the target search content is used as the sub-search content corresponding to the search content, and the corresponding relationship is stored in the server.

[0060] When the user opens the first answer interface corresponding to the search content, the electronic device reads the corresponding relationship from the server and displays the sub-search content corresponding to the search content in the second area of ​​the current web page.

[0061] In the embodiment of the present application, through the user's historical operation of copying and pasting the sub-search content on the first answer interface and then searching, the sub-search content corresponding to the search content can be effectively generated to help the user find the sub-content corresponding to the search content.

[0062] Optionally, the historical operation is an operation of directly searching after the at least one user selects the sub-search content in the first answer interface.

[0063] Specifically, after the user directly selects the target search content in the first answer interface, a search icon will pop up at the selected target search content. When the user clicks the search icon, a search operation will be performed on the target search content. Since the user directly copied the search content in the first answer interface, the target search content also has a high correlation with the search content corresponding to the first answer interface. At this time, the target search content is used as the sub-search content corresponding to the search content, and the corresponding relationship is stored in the server.

[0064] In the embodiment of the present application, through the historical operation of the user directly searching after selecting the sub-search content in the first answer interface, the sub-search content corresponding to the search content can be effectively generated to help the user find the sub-content corresponding to the search content.

[0065] Optionally, after receiving the first input from the user, the method further includes:

[0066] In the case where the historical operation is an association end operation, in response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and sub-search content corresponding to the search content is not displayed in a second area of ​​the current webpage;

[0067] The association end operation is an operation in which the user returns to the upper-level page step by step, or an operation in which the user jumps to a non-related interface; wherein the correlation between the non-related interface and the first answer interface is less than a first threshold.

[0068] Specifically, the parent page in this application refers to the page above the current page.

[0069] In this application, the user jumping to a non-related interface specifically refers to jumping from the current answer interface to a non-related interface.

[0070] In the case where the historical operation described in the present application is an associated end operation, after browsing the first answer interface, the user has started browsing other web pages that are not related to the search content, or has returned to the upper-level web page step by step. This means that the user's problem has been solved at this time. In this case, there is no need to continue generating sub-search content corresponding to the search content. Therefore, in the case where the historical operation is an associated end operation, the search content has no corresponding sub-search content, that is, the sub-search content corresponding to the search content is not displayed in the second area of ​​the current web page.

[0071] The relevance between the non-related interface described in the present application and the first answer interface is specifically an indicator for determining the content relevance between the two interfaces.

[0072] The first threshold in the present application can be set according to requirements, and can be a specific vector-related angle, such as 15° or 20°.

[0073] In the present application, by determining that the historical operation is an association end operation, it is effectively determined that there is no need to determine the sub-content corresponding to the search content.

[0074] Optionally, the method further comprises:

[0075] Acquire a first text word set corresponding to the first answer interface and a second text word set corresponding to the non-related interface;

[0076] Based on the word frequency-inverse text frequency index of the first text word set, a first feature vector corresponding to the first answer interface is generated, and based on the word frequency-inverse text frequency index of the second text word set, a second feature vector corresponding to the non-related interface is generated;

[0077] Based on the first feature vector and the second feature vector, a correlation between the non-related interface and the first answer interface is determined.

[0078] Specifically, the relevance check of the interface in the present application can be analyzed by means of the vector description analysis method in content classification. First, the text information in the first answer interface and the second answer page are extracted respectively to obtain the first text word set corresponding to the first answer interface and the second text word set corresponding to the non-related interface;

[0079] The text word sets corresponding to these two interfaces can be described by the following feature vectors of Term Frequency–Inverse Document Frequency (TF-IDF):

[0080]

[0081] The correlation between the two interfaces page1 and page2 can be calculated using the vector angle, as shown in the following formula

[0082]

[0083] in, is the feature vector of page1, is the feature vector of page2.

[0084] In the embodiments of the present application, Figure 4 The web page correlation analysis diagram provided in the embodiment of the present application is as follows: Figure 4 As shown, the smaller the vector angle between the interfaces, the stronger the content correlation.

[0085] In the embodiment of the present application, by analyzing the texts in the first answer interface and the non-related interface, the relevance between the two interfaces can be effectively determined.

[0086] Optionally, before the step of receiving the first input from the user, the method further includes:

[0087] receiving a second input from the user;

[0088] In response to the second input, displaying an answer hyperlink address corresponding to the search content in the first area;

[0089] The answer hyperlink address corresponding to the search content is determined based on historical operations of at least one user on a candidate answer hyperlink address, wherein the candidate answer hyperlink address is generated by a search engine based on analysis of the search content.

[0090] Specifically, the second input of the user described in the present application specifically refers to the operation in which the user inputs search content in the search input box of the current webpage and performs a search.

[0091] The search engine described in this application may specifically refer to a commonly used search engine, and this application does not limit this.

[0092] The first area in the present application shows that there may be one or more answer hyperlink addresses corresponding to the search content, and each search hyperlink address points to its corresponding answer interface.

[0093] The candidate answer hyperlink address in this application is the corresponding hyperlink address obtained by searching the search content through a search engine.

[0094] The present application will also prioritize candidate answer hyperlink addresses based on the user's historical operations, that is, the answer hyperlink address corresponding to the search content displayed in the first area is obtained after screening the candidate hyperlinks.

[0095] The present application determines the answer hyperlink address corresponding to the search content, specifically, it can be based on the number of user visits, browsing time after the visit, whether the reading is completed, whether to jump out and browse other answers of the same level, etc. After obtaining these parameters, combined with the preset weight strategy, the score of each web page answer is calculated for selection. In addition, in order to avoid the inequality caused by the search engine search order, several answer hyperlink addresses with high scores are determined, and the sub-question answers are selected accordingly.

[0096] The present application filters the candidate answer hyperlink addresses retrieved from a search engine through at least one user's historical operations on the candidate answer hyperlink addresses, thereby effectively ensuring that the answer hyperlink address displayed in the first area of ​​the sub-question is an interface address that can help users solve the problem.

[0097] Figure 5 A flowchart of the search logic provided in this application is constructed, such as Figure 5 As shown, including:

[0098] Step 510, input a certain search content in the browser;

[0099] Step 520, searching the search content in a search engine through a browser;

[0100] Step 530, obtaining a set of candidate answer hyperlink addresses corresponding to the search content (for example, the first ten hyperlink addresses recommended by the search engine may be obtained);

[0101] Step 540: The browser tracks and records the user's actions in the result webpage corresponding to the multiple candidate answer hyperlink addresses and the jumps to other webpages.

[0102] Step 550, selecting a high-scoring answer hyperlink address based on the user's action features in the result webpage corresponding to the candidate answer hyperlink address, and determining the sub-search content corresponding to the search content based on the user's historical operations on the answer interface corresponding to the answer hyperlink address;

[0103] Step 560, combining the sub-search content and the issued search action, selecting the secondary sub-search content corresponding to the sub-search content;

[0104] Step 570, and so on, continue to select the third-level sub-search content corresponding to the second-level sub-search content until the historical operation is the association end operation, and then stop generating the lower-level sub-content;

[0105] Step 580: construct an answer logic structure tree with the search content as the root node.

[0106] In this application, by constructing an answer logic structure tree with the search content as the root node, the user's search efficiency can be improved by helping the user to recommend necessary sub-search content that he is not yet clear about.

[0107] Figure 6 A schematic diagram of the structure of a search device provided in an embodiment of the present application, such as Figure 6 As shown, it includes: a receiving unit 610 and a display unit 620;

[0108] The receiving unit 610 is used to receive a first input from a user, where the first input is an operation of the user entering a first answer interface;

[0109] The display unit 620 displays a first answer interface corresponding to the search content in a first area of ​​the current webpage in response to the first input, and displays a sub-search content corresponding to the search content in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content;

[0110] The sub-search content of the search content is determined based on historical operations of at least one user on the first answer interface.

[0111] The historical operation is that the at least one user directly searches for the sub-search content, wherein the first answer interface includes the sub-search content.

[0112] Optionally, the historical operation is an operation performed by the at least one user to search after copying and pasting the sub-search content in the first answer interface.

[0113] Optionally, the historical operation is an operation of directly searching after the at least one user selects the sub-search content in the first answer interface.

[0114] Optionally, the device further comprises: a search subunit;

[0115] The search sub-unit is used for, in response to the first input, displaying a first answer interface corresponding to the search content in a first area of ​​the current webpage and not displaying sub-search content corresponding to the search content in a second area of ​​the current webpage when the historical operation is an association end operation;

[0116] The association end operation is an operation in which the user returns to the upper-level page step by step, or an operation in which the user jumps to a non-related interface; wherein the correlation between the non-related interface and the first answer interface is less than a first threshold.

[0117] Optionally, the device further comprises: a computing unit;

[0118] The calculation unit is used to obtain a first text word set corresponding to the first answer interface and a second text word set corresponding to the non-related interface;

[0119] Based on the word frequency-inverse text frequency index of the first text word set, a first feature vector corresponding to the first answer interface is generated, and based on the word frequency-inverse text frequency index of the second text word set, a second feature vector corresponding to the non-related interface is generated;

[0120] Based on the first feature vector and the second feature vector, a correlation between the non-related interface and the first answer interface is determined.

[0121] Optionally, the device further comprises: a search unit;

[0122] The search unit is used to receive a second input from a user;

[0123] In response to the second input, displaying an answer hyperlink address corresponding to the search content in the first area;

[0124] The answer hyperlink address corresponding to the search content is determined based on historical operations of at least one user on a candidate answer hyperlink address, wherein the candidate answer hyperlink address is generated by a search engine based on analysis of the search content.

[0125] In an embodiment of the present application, based on the historical operations of multiple users on the search question answer interface, relevant sub-search content of the search content is effectively generated, and the sub-search content is displayed at the end of the search content answer interface or in a fixed area of ​​the current web page. The user does not need to determine the relevant sub-search content by himself, so that the user can directly click on the sub-search content to enter the answer interface corresponding to the sub-search content. The user does not need to perform multiple searches, which effectively improves the user's search efficiency and ensures a good search experience for the user.

[0126] The search device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0127] The search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0128] The search device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0129] Optionally, Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, each process of the above-mentioned search method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0130] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0131] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0132] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.

[0133] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0134] Processor 810 is used to receive a first input from a user, where the first input is an operation of the user entering a first answer interface;

[0135] In response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and a sub-search content corresponding to the search content is displayed in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content;

[0136] The sub-search content corresponding to the search content is determined based on historical operations of at least one user on the first answer interface.

[0137] Optionally, the historical operation is an operation of the at least one user directly searching for the sub-search content, wherein the first answer interface includes the sub-search content.

[0138] Optionally, the historical operation is an operation performed by the at least one user to search after copying and pasting the sub-search content in the first answer interface.

[0139] Optionally, the historical operation is an operation of directly searching after the at least one user selects the sub-search content in the first answer interface.

[0140] Optionally, after receiving the first input from the user, the method further includes:

[0141] In the case where the historical operation is an association end operation, in response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and sub-search content corresponding to the search content is not displayed in a second area of ​​the current webpage;

[0142] The association end operation is an operation in which the user returns to the upper-level page step by step, or an operation in which the user jumps to a non-related interface; wherein the correlation between the non-related interface and the first answer interface is less than a first threshold.

[0143] Optionally, the method further comprises:

[0144] Acquire a first text word set corresponding to the first answer interface and a second text word set corresponding to the non-related interface;

[0145] Based on the word frequency-inverse text frequency index of the first text word set, a first feature vector corresponding to the first answer interface is generated, and based on the word frequency-inverse text frequency index of the second text word set, a second feature vector corresponding to the non-related interface is generated;

[0146] Based on the first feature vector and the second feature vector, a correlation between the non-related interface and the first answer interface is determined.

[0147] Optionally, before the step of receiving the first input from the user, the method further includes:

[0148] receiving a second input from the user;

[0149] In response to the second input, displaying an answer hyperlink address corresponding to the search content in the first area;

[0150] The answer hyperlink address corresponding to the search content is determined based on historical operations of at least one user on a candidate answer hyperlink address, wherein the candidate answer hyperlink address is generated by a search engine based on analysis of the search content.

[0151] The embodiment of the present application effectively generates relevant sub-search content of the search content based on the historical operations of multiple users in the search question answer interface, and displays the sub-search content at the end of the search content answer interface or in a fixed area of ​​the current web page, without the need for users to determine the relevant sub-search content by themselves. As a result, users can directly click on the sub-search content to enter the answer interface corresponding to the sub-search content, without the need for users to perform multiple searches, thereby effectively improving the user's search efficiency and ensuring the user's good search experience.

[0152] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 809 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.

[0153] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned search method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0155] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned search method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0156] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0157] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0158] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0159] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A search method, characterized in that: include: Receiving a first input from a user, where the first input is an operation by the user to enter a first answer interface; In response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and sub-search content corresponding to the search content is displayed in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content; Before the step of receiving the first input from the user, the method further includes: receiving a second input from the user; In response to the second input, displaying an answer hyperlink address corresponding to the search content in the first area; The answer hyperlink address corresponding to the search content is determined based on the historical operation of at least one user on the candidate answer hyperlink address, wherein the candidate answer hyperlink address is generated by the search engine based on the search content; the historical operation includes at least one of the following: the number of user visits, the browsing time after the visit, whether the reading is completed, and whether to jump out and browse other answers at the same level; Wherein, the sub-search content corresponding to the search content is determined based on the historical operation of at least one user on the first answer interface; Wherein, the historical operation is an operation of the at least one user directly searching for the sub-search content, wherein the first answer interface includes the sub-search content; Or, the historical operation is an operation of searching by the at least one user after copying and pasting the sub-search content on the first answer interface; Or, the historical operation is an operation in which the at least one user directly searches after selecting the sub-search content in the first answer interface; After receiving the first input from the user, the method further includes: In the case where the historical operation is an association end operation, in response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and sub-search content corresponding to the search content is not displayed in a second area of ​​the current webpage; The association end operation is an operation in which the user returns to the upper-level page step by step, or an operation in which the user jumps to a non-related interface; wherein the correlation between the non-related interface and the first answer interface is less than a first threshold.

2. The search method according to claim 1, characterized in that: The method further comprises: Acquire a first text word set corresponding to the first answer interface and a second text word set corresponding to the non-related interface; Based on the word frequency-inverse text frequency index of the first text word set, a first feature vector corresponding to the first answer interface is generated, and based on the word frequency-inverse text frequency index of the second text word set, a second feature vector corresponding to the non-related interface is generated; Based on the first feature vector and the second feature vector, a correlation between the non-related interface and the first answer interface is determined.

3. The search method according to claim 1, characterized in that: Before the step of receiving the first input from the user, the method further includes: receiving a second input from a user, where the second input is used to determine the search content; In response to the second input, displaying an answer hyperlink address corresponding to the search content in the first area; The answer hyperlink address corresponding to the search content is determined based on historical operations of at least one user on a candidate answer hyperlink address, wherein the candidate answer hyperlink address is generated by a search engine based on analysis of the search content.

4. A search device, characterized in that: include: A receiving unit, configured to receive a first input from a user, wherein the first input is an operation of the user entering a first answer interface; A display unit, in response to the first input, displays a first answer interface corresponding to the search content in a first area of ​​the current webpage, and displays sub-search content corresponding to the search content in a second area of ​​the current webpage, wherein the answer interface pointed to by the sub-search content contains information that helps the user understand the search content; Wherein, the sub-search content of the search content is determined based on the historical operation of at least one user in the first answer interface; Wherein, the historical operation is an operation of the at least one user directly searching for the sub-search content, wherein the first answer interface includes the sub-search content; Or, the historical operation is an operation of searching by the at least one user after copying and pasting the sub-search content on the first answer interface; Alternatively, the historical operation is an operation in which the at least one user directly searches after selecting the sub-search content in the first answer interface. Wherein, the device is also used for: In the case where the historical operation is an association end operation, in response to the first input, a first answer interface corresponding to the search content is displayed in a first area of ​​the current webpage, and sub-search content corresponding to the search content is not displayed in a second area of ​​the current webpage; The association end operation is an operation of the user returning to the upper level page step by step, or an operation of the user jumping to a non-related interface; wherein the correlation between the non-related interface and the first answer interface is less than a first threshold; Wherein, the device is also used for: receiving a second input from the user; In response to the second input, displaying an answer hyperlink address corresponding to the search content in the first area; The answer hyperlink address corresponding to the search content is determined based on historical operations of at least one user on the candidate answer hyperlink address, wherein the candidate answer hyperlink address is generated by the search engine based on the search content; the historical operations include at least one of the following: number of user visits, browsing time after the visit, whether reading is completed, and whether to jump out and browse other answers at the same level.

5. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the search method as described in any one of claims 1 to 3.

6. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the search method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Interactive searching and recommending method and device

    CN103927354A

  • Recommendation method and device for search results

    CN104794232A

  • Data display method and device, storage medium and electronic equipment

    CN111368185A

  • Information display method and device and electronic equipment

    CN111752448A