CN106844572B - Search result processing method and device for search result processing - Google Patents

Search result processing method and device for search result processing Download PDF

Info

Publication number
CN106844572B
CN106844572B CN201710002150.XA CN201710002150A CN106844572B CN 106844572 B CN106844572 B CN 106844572B CN 201710002150 A CN201710002150 A CN 201710002150A CN 106844572 B CN106844572 B CN 106844572B
Authority
CN
China
Prior art keywords
search
search result
user
data provider
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710002150.XA
Other languages
Chinese (zh)
Other versions
CN106844572A (en
Inventor
林建素
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201710002150.XA priority Critical patent/CN106844572B/en
Publication of CN106844572A publication Critical patent/CN106844572A/en
Application granted granted Critical
Publication of CN106844572B publication Critical patent/CN106844572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The invention discloses a search result processing method and device and a device for processing search results, and belongs to the technical field of networks. The method comprises the steps of displaying a first search result corresponding to a first search word input by a user in a search result page; when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search; and switching the first search result displayed in the search result page into the second search result. When a preset instruction indicating that the user requires to restart the search is detected, the user is determined to be dissatisfied with the currently displayed search result, the search is hoped to be restarted to obtain a brand new search result, and at the moment, a second search result different from the previous first search result is obtained and displayed, so that the search function is expanded, and the flexibility is improved.

Description

Search result processing method and device for search result processing
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for processing search results.
Background
With the gradual expansion of the data scale of the internet and the rapid development of network technologies, various search engines are generated, and great convenience is brought to the lives of people. Through the search engine, search results related to the search terms input by the user can be searched for and displayed to the user.
The search results provided by the search engine are actually provided by different data providers, each of which corresponds to a category and may provide data belonging to the corresponding category. After a user inputs a search word on a search engine, the search engine determines a target category to which the search word belongs, selects one data provider from a plurality of data providers corresponding to the target category, acquires a search result provided by the data provider for the search word, and displays the search result.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems: once the search result is obtained, the search result is only displayed, and the displayed search result is single and poor in flexibility.
Disclosure of Invention
In order to solve the problems of the related art, embodiments of the present invention provide a method and an apparatus for processing search results, and an apparatus for processing search results. The technical scheme is as follows:
in a first aspect, a method for processing search results is provided, where the method includes:
displaying a first search result corresponding to a first search word input by a user in a search result page;
when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search;
and switching the first search result displayed in the search result page into the second search result.
In one possible implementation manner, the preset instruction includes: triggering the searching instruction again on the current searching result page or refreshing the searching result page on the current searching result page; the search word included in the current search box is the first search word.
In another possible implementation manner, the preset instruction includes: a second search word with the same semantic as the first search word is input, and then a search instruction is triggered again; the search word included in the current search box is the second search word.
In another possible implementation manner, after the preset instruction of the user is detected, before the obtaining, according to a search term included in the current search box, a second search result different from the first search result, the method further includes:
judging whether the number of clicks of the first search result included in the search result page by the user is smaller than a first preset threshold or judging whether the staying time of the user in the search result page including the first search result is smaller than a second preset threshold;
if yes, the step of obtaining a second search result different from the first search result according to the search terms included in the current search box is executed.
In another possible implementation manner, the presenting, in the search result page, a first search result corresponding to a first search term input by a user includes:
determining a target category to which the first search term belongs;
selecting a first class of data provider from a plurality of data providers corresponding to the target category, wherein the first class of data provider comprises at least one of the plurality of data providers;
and acquiring a search result corresponding to the first search term and provided by the first type of data provider as the first search result, and displaying the search result in the search result page.
In another possible implementation manner, the selecting a first class of data providers from the plurality of data providers corresponding to the target category includes:
sequencing the data providers according to a first preset sequencing strategy to obtain a first sequencing result, wherein the first preset sequencing strategy is to sequence according to a bidding value, an original degree or a correlation degree with the first search word from high to low;
and selecting the data providers with the first preset number of bits as the first class of data providers according to the first sequencing result.
In another possible implementation manner, the obtaining a search result provided by the first type of data provider and corresponding to the first search term, as the first search result, and displaying the search result in the search result page includes:
determining a first data provider from the first class of data providers;
acquiring a search result corresponding to the first search term provided by the first data provider and tags of other data providers except the first data provider in the first class of data providers, taking the search result as the first search result, and displaying the first search result on the search result page; the label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search word after being triggered by a user.
In another possible implementation manner, when the preset instruction of the user is detected, acquiring, according to a search term included in the current search box, a second search result different from the first search result, including:
when the preset instruction is detected, selecting a second data provider from the first type of data providers, wherein the second data provider is one of the first type of data providers except for the other data providers of the first data provider;
and acquiring a search result corresponding to the search word included in the current search box and provided by the second data provider and tags of other data providers except the second data provider in the first class of data providers as the second search result.
In another possible implementation manner, when the preset instruction of the user is detected, acquiring, according to a search term included in the current search box, a second search result different from the first search result, including:
when the preset instruction is detected, selecting a second type of data provider from the plurality of data providers, wherein the second type of data provider comprises at least one data provider which does not belong to the first type of data provider in the plurality of data providers;
and acquiring a search result which is provided by the second type of data provider and corresponds to the search terms included in the current search box as the second search result.
In a second aspect, a search result processing apparatus is provided, the apparatus comprising:
the first display module is used for displaying a first search result corresponding to a search word input by a user in a search result page;
the acquisition module is used for acquiring a second search result different from the first search result according to a search word included in a current search box when a preset instruction of a user is detected, wherein the preset instruction is an instruction for restarting search;
and the switching display module is used for switching the first search result displayed in the search result page into the second search result.
In one possible implementation manner, the preset instruction includes: triggering the searching instruction again on the current searching result page or refreshing the searching result page on the current searching result page; the search word included in the current search box is the first search word.
In another possible implementation manner, the preset instruction includes: a second search word with the same semantic as the first search word is input, and then a search instruction is triggered again; the search word included in the current search box is the second search word.
In another possible implementation manner, the obtaining module may include:
the detection submodule is used for detecting a preset instruction of a user;
the judging submodule is used for judging whether the number of times of clicking on a first search result included in the search result page by the user is smaller than a first preset threshold or judging whether the staying time of the user on the search result page including the first search result is smaller than a second preset threshold after the detection submodule detects a preset instruction of the user, and if so, triggering the first obtaining submodule;
the first obtaining sub-module is used for obtaining a second search result different from the first search result according to the search terms included in the current search box.
In another possible implementation manner, the first display module includes:
the first determining submodule is used for determining a target category to which the first search term belongs;
the first selection submodule is used for selecting a first class of data providers from a plurality of data providers corresponding to the target class, and the first class of data providers comprise at least one of the plurality of data providers;
the second obtaining sub-module is used for obtaining a search result which is provided by the first type of data provider and corresponds to the first search word, and the search result is used as the first search result;
and the first display sub-module is used for displaying the first search result in the search result page.
In another possible implementation manner, the first selecting submodule is configured to:
sequencing the data providers according to a first preset sequencing strategy to obtain a first sequencing result, wherein the first preset sequencing strategy is to sequence according to a bidding value, an original degree or a correlation degree with the first search word from high to low;
and selecting the data providers with the first preset number of bits as the first class of data providers according to the first sequencing result.
In another possible implementation manner, the second obtaining sub-module includes:
a determining unit, configured to determine a first data provider from the first type of data providers;
an obtaining unit, configured to obtain a search result corresponding to the first search term provided by the first data provider, and tags of data providers other than the first data provider in the first type of data provider, as the first search result; the label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search word after being triggered by a user.
In another possible implementation manner, the obtaining module may include:
the second selection submodule is used for selecting a second data provider from the first type of data providers when the preset instruction is detected, wherein the second data provider is one of the first type of data providers except the other data providers of the first data provider;
and a third obtaining sub-module, configured to obtain a search result, which is provided by the second data provider and corresponds to the search term included in the current search box, and tags of other data providers, except for the second data provider, in the first class of data providers, as the second search result.
In another possible implementation manner, the obtaining module may include:
a third selecting submodule, configured to select a second type of data provider from the multiple data providers when the preset instruction is detected, where the second type of data provider includes at least one data provider, which is not included in the first type of data provider, from the multiple data providers;
and the fourth obtaining sub-module is used for obtaining a search result which is provided by the second type of data provider and corresponds to the search word included in the current search box, and the search result is used as the second search result.
In a third aspect, an apparatus for search result processing is provided, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and configured for execution by the one or more processors the one or more programs including instructions for:
displaying a first search result corresponding to a first search word input by a user in a search result page;
when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search;
and switching the first search result displayed in the search result page into the second search result.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
displaying a first search result corresponding to a first search word input by a user in a search result page; when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search; and switching the first search result displayed in the search result page into the second search result. The embodiment is characterized in that when a preset instruction indicating that the user requires to restart the search is detected, the user is determined to be dissatisfied with the currently displayed search result, and if the user wants to restart the search to obtain a brand new search result, a second search result different from the previous first search result is obtained and displayed, so that the search function is expanded, and the flexibility of the search is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1A is a flowchart of a method for processing search results according to an embodiment of the present invention;
FIG. 1B is a flowchart of a method for processing search results according to an embodiment of the present invention;
FIG. 1C is a flowchart of a method for processing search results according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a search result processing apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a search result processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a search result processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1A is a flowchart of a search result processing method according to an embodiment of the present invention, where an execution subject of the embodiment of the present invention is a search apparatus, and referring to fig. 1A, the method includes the following steps:
100. and displaying a first search result corresponding to the first search word input by the user in the search result page.
200. And when a preset instruction of the user is detected, acquiring a second search result different from the first search result according to the search terms included in the current search frame, wherein the preset instruction is an instruction for restarting the search.
300. And switching the first search result displayed in the search result page into the second search result.
In the embodiment of the application, when a preset instruction which is input by a user and used for indicating that the search needs to be restarted is detected, the user can be considered to be dissatisfied with the search result displayed on the current search result page, a brand-new search result is obtained again according to the search terms included in the current search box, namely the second search result different from the first search result is displayed to the user, so that the search experience of the user can be enhanced, and the user can quickly obtain a more comprehensive search result.
Wherein the preset instruction may include: triggering the searching instruction again on the current searching result page or refreshing the searching result page on the current searching result page; the search word included in the current search box is the first search word.
Specifically, if it is detected that the user does not input a new search word, the search instruction is triggered again on the current search result page or the search result page is refreshed on the current search result page, that is, when the search word included in the current search box is still the first search word, the user can be considered to be dissatisfied with the current search result, and a brand-new second search result is obtained and displayed to the user.
Wherein the preset instruction may further include: a second search word with the same semantic as the first search word is input, and then a search instruction is triggered again; the search word included in the current search box is the second search word.
Specifically, if it is detected that the user inputs a new search word, but it is determined through semantic analysis that the newly input second search word has the same semantic as the previously input first search word, and the user triggers a search instruction again on the current search result page or refreshes a search result page on the current search result page, the user may be considered to be dissatisfied with the current search result and hope to see a search result that is related to (has the same meaning as) the current search result but different from the current search result. However, since the second search term and the first search term have the same meaning, there is a high possibility that a part of the search results corresponding to the second search term and the first search term overlap each other, and if the conventional search method is adopted, the newly acquired second search result will include a part of the search results that overlaps the first search result, and the part of the search results is not desirable to the user. Therefore, by adopting the embodiment of the application, the completely new second search result can be obtained, and the condition that the search result which is coincident with the search result in the first search result is provided for the user due to the fact that the semantics of the search terms are the same is avoided.
Further, the method of this embodiment may further include: after the preset instruction of the user is detected, before the obtaining of a second search result different from the first search result according to the search terms included in the current search box, the method further includes: judging whether the number of clicks of the user on a first search result included in the search result page is smaller than a first preset threshold value or not; if yes, executing the step of obtaining a second search result different from the first search result according to the search terms included in the current search box; if not, the first search result is still displayed, as is conventional.
That is, after a preset instruction of the user is detected, further acquiring the number of clicks of the user on the first search result included in the search result page, and judging whether the number of clicks is smaller than a preset threshold value; if the number of times of clicking on the first search result by the user is large, the user can be considered to be satisfied with the first search result, the preset instruction triggered by the user for restarting the search may be misoperation and the like, and the search result is not switched; if the number of clicks of the first search result by the user is small or even zero, the user may be considered to be dissatisfied with the first search result, and if the preset instruction for restarting the search triggered by the user is that switching of the search results is desired, an operation of obtaining a second search result different from the first search result is performed.
Further, the method of this embodiment may further include: after the preset instruction of the user is detected, before the obtaining of a second search result different from the first search result according to the search terms included in the current search box, the method further includes: judging whether the staying time of the user in a search result page comprising the first search result is less than a second preset threshold value or not; if yes, executing the step of obtaining a second search result different from the first search result according to the search terms included in the current search box; if not, the first search result is still displayed, as is conventional.
After a preset instruction of the user is detected, further acquiring the staying time of the user in the current search result page, and judging whether the staying time is smaller than a second preset threshold value; if the retention time of the user on the search result page corresponding to the first search result is long, the user can be considered to be satisfied with the first search result, the preset instruction triggered by the user for restarting the search may be misoperation and the like, and the search result is not switched; if the dwell time of the user on the search result page corresponding to the first search result is short, the user can be considered to be dissatisfied with the first search result, the preset instruction triggered by the user for restarting the search is that the search result is expected to be switched, and then the operation of obtaining a second search result different from the first search result is executed.
Particularly, when the preset instruction comprises an instruction for triggering the search again after inputting a second search word with the same semantic as the first search word, the judgment process is added, so that the operation intention of the user can be better identified, the operation behavior that the user wants to switch the search result is determined as accurately as possible, and the user experience is improved.
According to the method provided by the embodiment of the invention, a first search result corresponding to a first search word input by a user is displayed in a search result page; when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search; and switching the first search result displayed in the search result page into the second search result. The embodiment is characterized in that when a preset instruction indicating that the user requires to restart the search is detected, the user is determined to be dissatisfied with the currently displayed search result, the search is hoped to be restarted to obtain a brand new search result, and at the moment, a second search result different from the previous first search result is obtained and displayed, so that the search function is expanded, and the flexibility is improved.
Fig. 1B is a flowchart of a search result processing method according to an embodiment of the present invention, where an execution subject of the embodiment of the present invention is a search apparatus, and referring to fig. 1B, the method includes the following steps:
101. receiving a first search word input by a user, and determining a target category to which the first search word belongs.
The search device can display a search word input field and a search button, a user can perform input operation on the search word input field, the search button is confirmed after the input operation is completed, the search device can receive a first search word input by the user, and search is performed based on the first search word.
After the search device receives the first search term input by the user, the target category to which the first search term belongs can be determined. The target categories may include news categories, shopping categories, music categories, video categories, and the like.
For example, when the first search term includes a song title, the first search term may be considered to belong to a music category. Of course, the search apparatus may also perform semantic analysis on the first search term to determine the target category to which the first search term belongs, which is not limited in the embodiment of the present invention.
102. Selecting a first class of data providers from a plurality of data providers corresponding to a target category, wherein the first class of data providers comprises at least one of the plurality of data providers.
The search means may store in advance a correspondence between the category and the data provider, and after the search means determines the target category to which the first search word belongs, may determine a plurality of data providers corresponding to the target category.
After determining the plurality of data providers, the searching apparatus may select a first type of data provider from the plurality of data providers in a plurality of ways, and the first type of data provider may include one or more of the plurality of data providers.
Optionally, the searching apparatus may rank the plurality of data providers according to a first preset ranking policy, to obtain a first ranking result. When the first sorting result is obtained, the search apparatus may select, as the first type of data provider, the data provider ranked in the first predetermined number of bits in front according to the first sorting result. The first predetermined number may be 1, 2, or other integer.
For example, the first preset ranking policy may be ranking according to bid values, the search apparatus may determine the bid value of each data provider, rank the plurality of data providers according to the order of the bid values from high to low, obtain a first ranking result, and select the data providers with the first predetermined number of ranks, that is, the data providers with the first predetermined number of ranks of bid values, as the first class of data providers.
In addition, the first preset sorting strategy can also be sorted according to other data such as the originality of a plurality of data providers and the correlation with the first search term, and the embodiment of the invention does not limit the first preset sorting strategy.
103. And acquiring a search result corresponding to the first search term and provided by the first type of data provider as a first search result, and displaying the first search result in a search result page.
The search device may store search results corresponding to the search terms provided by the data providers in advance, and after the search device determines the first type of data provider and the first search term, the search device may obtain a search result corresponding to the first search term provided by the first type of data provider as the first search result, and display the first search result in the search result page.
The first search result is at least one piece of result data associated with the first search term, and may include characters, pictures, videos, and the like. In view of the limitation of the display of the search result page, when the result data included in the first search result has a longer length, the search apparatus may obtain the title of the result data having the longer length included in the first search result, only show the title, and when the click operation of the user on the title is detected, which indicates that the user wants to know the result data in detail, completely show the result data.
In a possible implementation manner, the first type of data provider may include multiple data providers, and when the search result is displayed, in order to simplify a search result page, the search apparatus may display the search results corresponding to the multiple data providers in the form of Tab (tag) pages, that is, the search result corresponding to one data provider is preferentially displayed, and the search results of other data providers only display corresponding tabs. In the conventional method, when a user wants to check search results corresponding to other data providers, result switching can be realized only by clicking Tab corresponding to the data provider.
Specifically, in this embodiment, the obtaining, as the first search result, the search result provided by the first type data provider and corresponding to the first search term, and the search result is displayed in the search result page in step 103 may include: and determining a first data provider from the first type of data providers, acquiring a search result corresponding to the first search term provided by the first data provider and tags of other data providers except the first data provider in the first type of data providers as a first search result, and displaying the first search result on a search result page. The label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search term after being triggered by a user.
104. When a preset instruction of a user is detected, a second type of data provider is selected from a plurality of data providers, wherein the second type of data provider comprises at least one data provider which does not belong to the first type of data provider in the plurality of data providers.
When the user is unsatisfied with the first search result and requires to switch the search result, a preset instruction can be triggered, the preset instruction is an instruction for restarting the search, the search device can determine that the user wants to restart the search when detecting the preset instruction, at the moment, the user can be considered to require to switch the search result, and a second type of data provider different from the first type of data provider is selected from the plurality of data providers, so that the search result is switched by switching the data providers.
In one implementation, the preset instruction may include: and triggering the searching instruction again on the current searching result page or refreshing the searching instruction on the current searching result page, wherein after the preset instruction is triggered by the user, the searching word included in the current searching frame is still the first searching word input originally.
That is, in a scenario where the search term included in the current search box is still the first search term that is originally input, if the user triggers a search instruction again on the current search result page or triggers a command to refresh the search result page on the current search result page, it indicates that the user is dissatisfied with the first search result corresponding to the first search term that is currently returned, and hopes to search for the first search term again.
The instruction for triggering the search again in the current search result page may include: the operation of re-triggering the search button, the operation of triggering the enter button when the mouse stays in the search box, and the like.
Wherein the instruction for triggering refreshing of the search result page at the current search result page may include: and triggering operation of a refresh button included in a webpage control bar, triggering operation of a refresh option included in a control bar expanded by a right mouse button and the like.
In another implementation, the preset instruction may further include: and after a preset instruction is triggered by a user, the search word included in the current search box is changed into the second search word instead of the originally input first search word.
When a user inputs a second search word in the search box and triggers the search button again, the search device obtains the second search word included in the current search box, semantic analysis is carried out on the second search word, if the second search word is determined to be the same as the first search word meaning input last time, the user can be considered to be dissatisfied with the current search result, and hope that a new search result can be obtained. In view of the fact that the second search term has the same meaning as the first search term, if the search result provided by the first type of data provider is still provided, although the search term is changed, the search result is likely not to be very different, in this embodiment, the search apparatus may perform an operation of switching the data providers, reselect a second type of data provider different from the first type of data provider, and return the search result corresponding to the second type of data provider to the user as the second search result.
Further, based on the two implementation manners, the method of this embodiment may further include: after the preset instruction of the user is detected, before the obtaining of a second search result different from the first search result according to the search terms included in the current search box, the method further includes: judging whether the number of clicks of the user on a first search result included in the search result page is smaller than a first preset threshold value or not; if yes, executing the step of obtaining a second search result different from the first search result according to the search terms included in the current search box; if not, the first search result is still displayed, as is conventional.
That is, after a preset instruction of the user is detected, further acquiring the number of clicks of the user on the first search result included in the search result page, and judging whether the number of clicks is smaller than a preset threshold value; if the number of times of clicking on the first search result by the user is large, the user can be considered to be satisfied with the first search result, the preset instruction triggered by the user for restarting the search may be misoperation and the like, and the search result is not switched; if the number of clicks of the first search result by the user is small or even zero, the user may be considered to be dissatisfied with the first search result, and if the preset instruction for restarting the search triggered by the user is that switching of the search results is desired, an operation of obtaining a second search result different from the first search result is performed.
Further, based on the two implementation manners, the method of this embodiment may further include: after the preset instruction of the user is detected, before the obtaining of a second search result different from the first search result according to the search terms included in the current search box, the method further includes: whether the stay time of the user in a search result page comprising the first search result is less than a second preset threshold value or not; if yes, executing the step of obtaining a second search result different from the first search result according to the search terms included in the current search box; if not, the first search result is still displayed, as is conventional.
After a preset instruction of the user is detected, further acquiring the staying time of the user in the current search result page, and judging whether the staying time is smaller than a second preset threshold value; if the retention time of the user on the search result page corresponding to the first search result is long, the user can be considered to be satisfied with the first search result, the preset instruction triggered by the user for restarting the search may be misoperation and the like, and the search result is not switched; if the dwell time of the user on the search result page corresponding to the first search result is short, the user can be considered to be dissatisfied with the first search result, the preset instruction triggered by the user for restarting the search is that the search result is expected to be switched, and then the operation of obtaining a second search result different from the first search result is executed.
Particularly, when the preset instruction comprises an instruction for triggering the search again after inputting a second search word with the same semantic as the first search word, the judgment process is added, so that the operation intention of the user can be better identified, the operation behavior that the user wants to switch the search result is determined as accurately as possible, and the user experience is improved. In this embodiment, in step 104, when the searching apparatus detects the preset instruction of the user, the second type data provider may be selected in a plurality of ways. For different ways of choosing the second type of data provider, step 104 may include any one or a combination of any of the following steps 1041, 1042, or 1043:
1041. and acquiring a first sequencing result obtained by the first preset sequencing strategy, and selecting a second type data provider according to the first sequencing result.
In step 102, the searching apparatus may rank the plurality of data providers according to a first preset ranking policy to obtain a first ranking result, and when selecting the second type of data provider, may directly select, according to the obtained first ranking result, a data provider other than the first type of data provider as the second type of data provider.
1042. Acquiring search records corresponding to the target category, and counting the click times corresponding to each data provider according to the operation records corresponding to each data provider in the search records; and sequencing the plurality of data providers according to the click times to obtain a second sequencing result, and selecting a second type of data provider except the data providers included by the first type of data provider according to the second sequencing result.
In practical applications, if a user frequently clicks data provided by a data provider in the past, the user may be considered to be more satisfied with the data provider, and therefore the data provider may be used as a second type of data provider. Specifically, for example, it is determined that the first type data provider includes A, B, C three data providers according to the data of the whole network, but it is determined that the user a frequently clicks and views the search result corresponding to the data provider D according to data analysis of a single user a, when the user a inputs a certain search word to perform a search for the first time, the search result corresponding to the first type data provider A, B, C is displayed according to a conventional search result page, and if the preset instruction triggered by the user a is received at this time, it can be considered that the user a is not satisfied with the current search result, the search result corresponding to the data provider D can be acquired and displayed as the second search result to the user a.
Then, the search means may acquire a search record corresponding to the target category, the search record including an operation record of the search result belonging to the target category and a corresponding data provider. The operation record may include a plurality of operations on the corresponding search result, and the plurality of operations may include a click operation, a display operation, and the like, and it may be determined whether the user has clicked the corresponding search result through the operation record.
Specifically, the target category corresponds to a plurality of historical search terms, and the search record corresponding to the target category refers to a search record corresponding to a plurality of historical search terms belonging to the target category. Each search record comprises the corresponding historical search terms, search results, operation records and data providers.
For example, the target category is a food category, the historical search terms corresponding to the food category include "fruit", "milk powder", and "seafood", and as shown in table 1, the search records corresponding to the food category may include three search records, i.e., { "fruit", search result 1, click, website a }, { "milk powder", search result 2, not click, website B }, and { "seafood", search result 3, click, website a }.
TABLE 1
Figure GDA0001413047490000131
Figure GDA0001413047490000141
After the search device obtains the search record, it may count the number of clicks corresponding to each data provider in the multiple data providers according to the operation record corresponding to each data provider in the search record, sort the multiple data providers according to the number of clicks to obtain a second sort result, where the position of the data provider with the larger number of clicks in the second sort result is located farther forward, and for the data providers different from each data provider in the first type of data providers in the second sort result, the search device selects the data providers with the second predetermined number of bits arranged in front as the second type of data providers, where the second predetermined number may be 1, 2 or another integer.
Since the second type data provider clicks the second predetermined number of digits first, the data provider can be regarded as the most satisfactory data provider for the user, and the search means can use the second type data provider as the data provider to provide the search result.
1043. The method comprises the steps of obtaining search records corresponding to target categories, counting browsing duration corresponding to each data provider according to operation records corresponding to each data provider in the search records, sequencing a plurality of data providers according to the browsing duration to obtain a third sequencing result, and selecting data providers except the data providers included by the first category of data providers as second category of data providers according to the third sequencing result.
In practical applications, if a user has a long time to browse data provided by a certain data provider, the user may be considered to be satisfied with the data provider, and therefore the data provider may be used as a second type of data provider.
Then, the search apparatus may acquire a search record corresponding to the target category. The search records comprise operation records of the search results belonging to the target category and corresponding data providers. The operation record is used for representing the browsing duration of the search result provided by the data provider by the user.
For example, the target category is a food category, the historical search terms corresponding to the food category include "fruit", "milk powder", and "seafood", and as shown in table 1, the search records corresponding to the food category may include three search records, that is, { "fruit", search result 1, browse 30 minutes, website a }, { "milk powder", search result 2, browse 2 minutes, website B }, and { "seafood", search result 3, browse 15 minutes, and website a }.
TABLE 2
Figure GDA0001413047490000142
Figure GDA0001413047490000151
After the search device obtains the search record, it may count browsing duration corresponding to each data provider in the multiple data providers according to the operation record corresponding to each data provider in the search record, and then sort the multiple data providers according to the browsing duration to obtain a third sorting result, where the position of the data provider with the longer browsing duration in the third sorting result is located farther forward. For the data providers in the third sorting result that are different from each data provider in the first class of data providers, the searching device selects the data providers with a third predetermined number of top-ranked data providers as the second class of data providers, where the third predetermined number may be 1, 2, or another integer.
Since the data provider is the third predetermined number of digits before browsing, the data provider can be considered as a data provider which is more satisfactory for the user, and the searching device can use the data provider as the second type of data provider.
Further, considering that the possible number of operation records is large, if all the operation records corresponding to the target category are obtained, counting the number of clicks or browsing duration of each data provider according to all the operation records, which results in too long time consumption and inconvenience in timely selecting the second type of data provider.
Therefore, the searching device can set a time threshold, acquire the operation records corresponding to the target category and having a time interval different from the current time not exceeding the time threshold, and count the click times or browsing duration of each data provider according to the operation records. On the one hand, the number of the operation records is small, the counting time of the searching device can be saved, and the second-class data provider can be selected conveniently in time. On the other hand, the operation record is closer to the current time, and the current requirements of the user on the data provider can be more accurately reflected than the operation record in the long past. The time threshold may be one week, one month, and the like, which is not limited in this embodiment of the present invention.
105. And acquiring a search result which is provided by a second type of data provider and corresponds to the search terms included in the current search box, taking the search result as a second search result, and switching the first search result displayed in the search result page into the second search result.
In this embodiment, after the search apparatus detects that a second search word having the same meaning as the first search word is input and then triggers a search instruction again, the search word included in the current search box is the second search word, a second data provider different from the first data provider is selected from the multiple data providers, a second search result which is provided by the second data provider and corresponds to the second search word and is different from the first search result is obtained, and the first search result displayed in the search result page is switched to the second search result.
It should be noted that, when the search apparatus displays the second search result, if the preset instruction of the user is detected again, a third type of data provider different from both the first type of data provider and the second type of data provider is selected from the multiple data providers, a third search result provided by the third type of data provider for the search term included in the current search frame is obtained, and the second search result displayed in the search result page is switched to the third search result.
For example, when the first type data providers determined by the target category to which the first search term belongs include A, B, C, search results respectively corresponding to the data providers A, B, C may be included in the first search results presented to the user. If the preset instruction input by the user is detected, a new data provider (i.e., a data provider other than A, B, C) needs to be obtained again from the target category to which the first search term belongs, for example, the data provider D, E needs to be determined, and the search result corresponding to the data provider D, E is obtained and displayed to the user as the second search result.
According to the method provided by the embodiment of the invention, the first search word input by the user is received, the target category to which the first search word belongs is determined, the first data provider is selected from a plurality of data providers corresponding to the target category, the search result corresponding to the first search word and provided by the first data provider is obtained and is used as the first search result, and the first search result is displayed in the search result page. And when a preset instruction of the user is detected, selecting a second type of data provider from a plurality of data providers. And acquiring a search result which is provided by a second type of data provider and corresponds to the search terms included in the current search box, taking the search result as a second search result, and switching the first search result displayed in the search result page into the second search result. The embodiment is characterized in that when a preset instruction indicating that the user requires to restart the search is detected, the user is determined to be dissatisfied with the currently displayed search result, and if the user wants to restart the search to obtain a brand new search result, a second search result different from the previous first search result is obtained and displayed, so that the search function is expanded, and the flexibility of the search is improved.
Fig. 1C is a flowchart of a search result processing method according to an embodiment of the present invention, where an execution subject of the embodiment of the present invention is a search apparatus, and referring to fig. 1C, the method includes the following steps:
111. receiving a first search word input by a user, and determining a target category to which the first search word belongs.
112. Selecting a first class of data providers from a plurality of data providers corresponding to a target category, wherein the first class of data providers comprises at least one of the plurality of data providers.
113. And determining a first data provider from the first type of data providers, acquiring a search result corresponding to the first search term provided by the first data provider and tags of other data providers except the first data provider in the first type of data providers as a first search result, and displaying the first search result on a search result page. The label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search term after being triggered by a user.
In another possible implementation manner of this embodiment, when the searching apparatus detects a preset instruction of the user, the searching apparatus may also switch the first data provider that is preferentially displayed to another data provider in the first data provider instead of selecting the second data provider.
114. And when the preset instruction is detected, selecting a second data provider from the first class of data providers, wherein the second data provider is one of the first class of data providers except the other data providers of the first data provider.
115. And acquiring a search result corresponding to the search word included in the current search box and provided by the second data provider and tags of other data providers except the second data provider in the first class of data providers as a second search result, and switching the first search result displayed in the search result page into the second search result.
For example, when the first type of data provider determined by the target category to which the first search term belongs includes A, B, C, the first data provider that needs to be preferentially shown may be selected from the A, B, C, for example, data provider a, and then the first search result shown at this time includes a search result corresponding to data provider a and a Tab tag of data provider B, C. In the conventional method, if a user wants to view a search result corresponding to the data provider B or C, the Tab of the data provider B or C needs to be clicked to switch the search result. However, in the method provided in this embodiment, if the preset instruction input by the user in the foregoing embodiments is detected, the data provider corresponding to the search result that is preferentially displayed may be directly switched, for example, directly switched to the data provider B, that is, in the switched second search result, the search result corresponding to the data provider B and the Tab tag of the data provider A, C are preferentially displayed.
For different ways of choosing the second data provider, step 114 may include any one or a combination of any of the following steps 1141, 1142, 1143, or 1144:
1141. the searching device obtains a first sorting result obtained by the first preset sorting strategy, and selects a second data provider according to the first sorting result.
In step 112, the searching apparatus obtains the first ordering result, and when the second data provider is selected, any data provider arranged behind the first data provider may be selected as the second data provider directly according to the first ordering result.
1142. The searching device obtains the searching records of the first type of data providers, and counts the click times corresponding to each data provider according to the operation records corresponding to each data provider in the searching records. And sorting the data providers except the first data provider in the first class of data providers according to the click times, and selecting the data provider with the largest click times as a second data provider.
1143. The searching device acquires the searching records of the first type of data providers, and counts the browsing duration corresponding to each data provider according to the operation records corresponding to each data provider in the searching records. And sequencing the data providers except the first data provider in the first class of data providers according to browsing duration, and selecting the data provider with the largest browsing duration as a second data provider.
1144. And the searching device selects the data provider corresponding to the label as a second data provider according to the operation triggered by the user on the label.
When a user triggers a tag for any data provider, the data provider can be considered as the data provider which the user wishes to provide data, so that the searching device can directly use the data provider indicated by the tag as the second data provider after detecting the operation triggered by the user on the tag.
The first point to be described is that, after the search device detects that a second search word having the same meaning as the first search word is input and then triggers a search instruction again, the second data provider is determined from the first data provider, a second search result different from the first search result and provided by the second data provider and corresponding to the similar search word is obtained, and the first search result displayed in the search result page is switched to the second search result.
A second point to be described is that when the search apparatus displays the second search result, if a preset instruction of the user is detected, a third data provider is determined from the first type of data provider, where the third data provider is one of the first type of data providers except the first data provider and the second data provider, and obtains a search result provided by the third data provider and corresponding to the search word included in the current search frame, and tags of the other data providers except the third data provider in the first type of data provider, as the third search result, and switches the second search result displayed in the search result page to the third search result.
Furthermore, when the search device displays the search result, as long as a preset instruction of the user is detected, a data provider different from the previously selected data provider can be determined again, and the data provider is switched continuously, so that the data provider from which the displayed search result comes can be ensured to satisfy the user.
The third point to be described is that, in practical applications, the search apparatus may be a terminal device, or a server, and may further include a terminal device and a search server, where the terminal device and the search server together complete the search result processing method, that is, after the terminal device determines a first search word input by a user, the terminal device sends the first search word to the search server, the search server determines a target category to which the first search word belongs, selects a first type of data provider from a plurality of data providers corresponding to the target category, determines a first data provider from the first type of data providers, obtains a search result corresponding to the first search word provided by the first data provider, and tags of data providers other than the first data provider in the first type of data providers as first search results, and sends the first search result to the terminal device, and the terminal equipment displays the first search result in the search result page. When the terminal device detects a preset instruction of a user, the preset instruction is sent to the search server, after the search server receives the preset instruction, a second data provider is selected from the first data providers, a search result which is provided by the second data provider and corresponds to a search word included in a current search box is obtained, tags of other data providers except the second data provider in the first data providers are used as second search results, the second search results are sent to the terminal device, and the terminal device switches the first search results in the search result page into the second search results.
Consider the following scenario: the user inputs the search term "Qinghai earthquake" and wants to know the search result associated with the "Qinghai earthquake". After the searching device determines that the target category to which the Qinghai earthquake belongs is a news category, a first data provider is selected from a plurality of data providers corresponding to the news category, a first data provider website A is determined from the first data provider, and a searching result corresponding to the Qinghai earthquake and provided by the website A is displayed on a searching result page. And the user is not satisfied with the search result provided by the website A, the search instruction is triggered again on the search result page, and the search device is required to search for the Qinghai earthquake again.
By adopting the method provided by the related technology, the search device only displays the search result provided by the website A by taking the website A as the selected data provider, and even if the user is not satisfied with the search result provided by the website A, the search device still displays the search result provided by the website A, so that the flexibility is poor, and the requirement of the user for switching the search result cannot be met.
By adopting the method provided by the embodiment of the invention, after the searching device detects the command of restarting the search, the user is determined to want to switch the search result, at this time, the search record of the first type of data provider can be obtained, the click times of each data provider except for the website A are counted, the click time of the website B is determined to be the largest, the search result provided by the website B can be used as the second search result and displayed, the function of displaying the satisfactory search result of the data provider to the user is realized, and the user can conveniently know the search result provided by the data provider in time.
Or, after the search device detects an instruction of restarting the search, it is determined that the user wants to switch the search result, at this time, a history record of the news category search result viewed by the user can be obtained, and if the history record indicates that the click rate of the news data provided by the "C website" by the user is higher, the search result corresponding to the "C website" can be used as a second search result and displayed, so that the function of displaying the search result of the data provider satisfied by the user to the user is realized, and the user can conveniently know the search result provided by the data provider in time
According to the method provided by the embodiment of the invention, a first search word input by a user is received, a target category to which the first search word belongs is determined, a first data provider is selected from a plurality of data providers corresponding to the target category, the first data provider is determined from the first data providers, a search result corresponding to the first search word provided by the first data provider and tags of other data providers except the first data provider in the first data provider are obtained and used as the first search result, and the first search result is displayed on a search result page. And when a preset instruction is detected, selecting a second data provider from the first class of data providers, acquiring a search result provided by the second data provider and corresponding to the search word included in the current search box, and tags of other data providers except the second data provider in the first class of data providers as second search results, and switching the first search results displayed in the search result page into the second search results. The embodiment is characterized in that when a preset instruction indicating that the user requires to restart the search is detected, the user is determined to be dissatisfied with the currently displayed search result, and if the user wants to restart the search to obtain a brand new search result, a second search result different from the previous first search result is obtained and displayed, so that the search function is expanded, and the flexibility of the search is improved.
Further, when the searching device detects any one of an instruction of searching again on the current search result page, an instruction of refreshing the search result page on the current search result page, an instruction of switching a data provider, or an instruction of triggering the search again after inputting a second search word having the same meaning as the first search word, it can be determined that the user is not satisfied with the current search result, and the search result is required to be switched, so that the user's requirements can be known in time, and the search result can be switched quickly.
Further, the search means may select, as the second data provider, a data provider having the largest number of clicks from each of the first data providers other than the first data provider by acquiring the search record of the first data provider. The second data provider can be considered as a data provider satisfied by the user due to the fact that the click times are large, and therefore the user can be ensured to timely know data provided by the data provider satisfied by the user.
Fig. 2 is a schematic structural diagram of a search result processing apparatus according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes a first presentation module 201, an obtaining module 202, and a switching presentation module 203.
A first display module 201, configured to display, in a search result page, a first search result corresponding to a search term input by a user;
an obtaining module 202, configured to, when a preset instruction of a user is detected, obtain, according to a search term included in a current search box, a second search result different from the first search result, where the preset instruction is an instruction to restart a search;
the switching presentation module 203 is configured to switch the first search result presented in the search result page to the second search result.
According to the device provided by the embodiment of the invention, the first search result corresponding to the first search word input by the user is displayed in the search result page; when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search; and switching the first search result displayed in the search result page into the second search result. The embodiment is characterized in that when a preset instruction indicating that the user requires to restart the search is detected, the user is determined to be dissatisfied with the currently displayed search result, the search is hoped to be restarted to obtain a brand new search result, and at the moment, a second search result different from the previous first search result is obtained and displayed, so that the search function is expanded, and the flexibility is improved.
In one possible implementation manner, the preset instruction includes: triggering the searching instruction again on the current searching result page or refreshing the searching result page on the current searching result page; the search word included in the current search box is the first search word.
In another possible implementation manner, the preset instruction includes: a second search word with the same semantic as the first search word is input, and then a search instruction is triggered again; the search word included in the current search box is the second search word.
In another possible implementation manner, the obtaining module 202 includes: the device comprises a detection submodule, a judgment submodule and a first acquisition submodule;
the detection submodule is used for detecting a preset instruction of a user;
the judgment sub-module is used for judging whether the number of times of clicking on a first search result included in the search result page by the user is smaller than a first preset threshold or judging whether the retention time of the user on the search result page including the first search result is smaller than a second preset threshold after the detection sub-module detects a preset instruction of the user, and triggering the first acquisition sub-module when the judgment result is yes;
the first obtaining sub-module is used for obtaining a second search result different from the first search result according to the search terms included in the current search box.
In another possible implementation manner, the first display module 201 includes: the display device comprises a first determining submodule, a first selecting submodule, a second obtaining submodule and a first displaying submodule;
the first determining submodule is used for determining a target category to which the first search term belongs;
the first selection submodule is used for selecting a first class of data providers from a plurality of data providers corresponding to the target class, and the first class of data providers comprise at least one of the plurality of data providers;
the second obtaining sub-module is configured to obtain a search result corresponding to the first search term, which is provided by the first type data provider, as the first search result;
the first display sub-module is configured to display the first search result in the search result page.
In another possible implementation manner, the second obtaining sub-module includes: a determining unit and an acquiring unit;
a determining unit, configured to determine a first data provider from the first type of data providers;
an obtaining unit, configured to obtain a search result corresponding to the first search term provided by the first data provider, and tags of data providers other than the first data provider in the first type of data provider, as the first search result; the label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search word after being triggered by a user.
In another possible implementation manner, the obtaining module 202 may include: a second selection submodule and a third acquisition submodule;
the second selection submodule is configured to select a second data provider from the first class of data providers when the preset instruction is detected, where the second data provider is one of the first class of data providers except for the other data providers of the first class of data providers;
the third obtaining sub-module is configured to obtain a search result provided by the second data provider and corresponding to the search term included in the current search box, and tags of other data providers in the first class of data providers except the second data provider, as the second search result.
In another possible implementation manner, the obtaining module 202 may include: a third selection submodule and a fourth acquisition submodule;
the third selecting submodule is configured to select a second type of data provider from the multiple data providers when the preset instruction is detected, where the second type of data provider includes at least one data provider, which is not included in the first type of data provider, from the multiple data providers;
the fourth obtaining sub-module is configured to obtain a search result, which is provided by the second type of data provider and corresponds to the search term included in the current search box, as the second search result.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It should be noted that: in the search result processing apparatus provided in the above embodiment, when processing a search result, only the division of the above functional modules is exemplified, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the search apparatus is divided into different functional modules to complete all or part of the above described functions. In addition, the search result processing apparatus and the search result processing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
An embodiment of the present invention provides an apparatus 310, and the apparatus 310 may be configured to execute the search result processing method provided in the foregoing embodiments. Referring to fig. 3, the apparatus 310 includes:
the apparatus 310 may include components such as an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 30. Those skilled in the art will appreciate that the device configuration shown in fig. 3 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the stored data area may store data (such as audio data, a phonebook, etc.) created according to the use of the device 310, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the device 310, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 3, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The device 310 may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the device 310 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are also configured in the apparatus 310, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and device 310. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another device, or outputs the audio data to the memory 120 for further processing. Audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with device 310.
WiFi belongs to short-range wireless transmission technology, and the device 310 can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 170, and it provides the user with wireless broadband internet access. Although fig. 3 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the device 310, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is the control center of the device 310, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the device 310 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the handset. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The device 310 also includes a power supply 30 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 180 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption. The power supply 30 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the device 310 may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the display unit of the device is a touch screen display, the device further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for implementing the operations performed by the search device in the above embodiments.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as a memory, including instructions executable by the processor 180 of the device 310 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of a terminal device, enable the terminal device to perform a search result processing method, the method comprising:
displaying a first search result corresponding to a first search word input by a user in a search result page;
when a preset instruction of a user is detected, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search;
and switching the first search result displayed in the search result page into the second search result.
Fig. 4 is a schematic structural diagram of a server in an embodiment of the present invention. Server 400 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 422 (e.g., one or more processors) and memory 432, one or more storage media 430 (e.g., one or more mass storage devices) storing applications 442 or data 444. Wherein the memory 432 and storage medium 430 may be transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 422 may be arranged to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the server 400.
The server 400 may also include one or more power supplies 426, one or more wired or wireless network interfaces 450, one or more input-output interfaces 458, one or more keyboards 456, and/or one or more operating systems 441, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The server 400 is used to execute the search result processing method shown in the above-described embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (19)

1. A method for processing search results, the method comprising:
displaying a first search result corresponding to a first search word input by a user in a search result page;
when a preset instruction of a user is detected, if the preset instruction accords with a preset condition, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search; the first search result and the second search result correspond to different data providers;
switching the first search result displayed in the search result page to the second search result;
the preset conditions include: the number of clicks of the first search result included in the search result page by the user is smaller than a first preset threshold, or the stay time of the user on the search result page including the first search result is smaller than a second preset threshold.
2. The method of claim 1, wherein the preset instruction comprises: triggering the searching instruction again on the current searching result page or refreshing the searching result page on the current searching result page;
the search word included in the current search box is the first search word.
3. The method of claim 1, wherein the preset instruction comprises: a second search word with the same semantic as the first search word is input, and then a search instruction is triggered again;
the search word included in the current search box is the second search word.
4. The method according to claim 2 or 3, wherein after the preset instruction of the user is detected, before the second search result distinguished from the first search result is obtained according to the search word included in the current search box, the method further comprises:
judging whether the number of clicks of the first search result included in the search result page by the user is smaller than a first preset threshold or judging whether the staying time of the user in the search result page including the first search result is smaller than a second preset threshold;
if yes, the step of obtaining a second search result different from the first search result according to the search terms included in the current search box is executed.
5. The method of any one of claims 1-4, wherein presenting, in a search results page, a first search result corresponding to a first search term entered by a user comprises:
determining a target category to which the first search term belongs;
selecting a first class of data provider from a plurality of data providers corresponding to the target category, wherein the first class of data provider comprises at least one of the plurality of data providers;
and acquiring a search result corresponding to the first search term and provided by the first type of data provider as the first search result, and displaying the search result in the search result page.
6. The method of claim 5, wherein selecting a first class of data provider from the plurality of data providers corresponding to the target category comprises:
sequencing the data providers according to a first preset sequencing strategy to obtain a first sequencing result, wherein the first preset sequencing strategy is to sequence according to a bidding value, an original degree or a correlation degree with the first search word from high to low;
and selecting the data providers with the first preset number of bits as the first class of data providers according to the first sequencing result.
7. The method according to claim 5, wherein the obtaining search results provided by the first type of data provider and corresponding to the first search term as the first search result and displaying the first search result in the search result page comprises:
determining a first data provider from the first class of data providers;
acquiring a search result corresponding to the first search term provided by the first data provider and tags of other data providers except the first data provider in the first class of data providers, taking the search result as the first search result, and displaying the first search result on the search result page; the label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search word after being triggered by a user.
8. The method according to claim 7, wherein when the preset instruction of the user is detected, acquiring a second search result different from the first search result according to a search word included in a current search box comprises:
when the preset instruction is detected, selecting a second data provider from the first type of data providers, wherein the second data provider is one of the first type of data providers except for the other data providers of the first data provider;
and acquiring a search result corresponding to the search word included in the current search box and provided by the second data provider and tags of other data providers except the second data provider in the first class of data providers as the second search result.
9. The method according to claim 5 or 7, wherein when the preset instruction of the user is detected, acquiring a second search result different from the first search result according to a search word included in a current search box comprises:
when the preset instruction is detected, selecting a second type of data provider from the plurality of data providers, wherein the second type of data provider comprises at least one data provider which does not belong to the first type of data provider in the plurality of data providers;
and acquiring a search result which is provided by the second type of data provider and corresponds to the search terms included in the current search box as the second search result.
10. A search result processing apparatus, characterized in that the apparatus comprises:
the first display module is used for displaying a first search result corresponding to a first search word input by a user in a search result page;
the acquisition module is used for acquiring a second search result different from the first search result according to a search word included in a current search frame if a preset instruction of a user is detected and meets a preset condition, wherein the preset instruction is an instruction for restarting search; the first search result and the second search result correspond to different data providers;
a switching display module, configured to switch the first search result displayed in the search result page to the second search result;
the preset conditions include: the number of clicks of the first search result included in the search result page by the user is smaller than a first preset threshold, or the stay time of the user on the search result page including the first search result is smaller than a second preset threshold.
11. The apparatus of claim 10, wherein the preset instruction comprises: triggering the searching instruction again on the current searching result page or refreshing the searching result page on the current searching result page; the search word included in the current search box is the first search word.
12. The apparatus of claim 10, wherein the preset instruction comprises: a second search word with the same semantic as the first search word is input, and then a search instruction is triggered again; the search word included in the current search box is the second search word.
13. The apparatus of claim 11 or 12, wherein the obtaining module comprises:
the detection submodule is used for detecting a preset instruction of a user;
the judgment sub-module is used for judging whether the number of times of clicking on a first search result included in the search result page by the user is smaller than a first preset threshold or judging whether the retention time of the user on the search result page including the first search result is smaller than a second preset threshold after the detection sub-module detects a preset instruction of the user, and triggering a first acquisition sub-module when the judgment result is yes;
the first obtaining sub-module is used for obtaining a second search result different from the first search result according to the search terms included in the current search box.
14. The apparatus of any one of claims 10-13, wherein the first display module comprises:
the first determining submodule is used for determining a target category to which the first search term belongs;
the first selection submodule is used for selecting a first class of data providers from a plurality of data providers corresponding to the target class, and the first class of data providers comprise at least one of the plurality of data providers;
the second obtaining sub-module is used for obtaining a search result which is provided by the first type of data provider and corresponds to the first search word, and the search result is used as the first search result;
and the first display sub-module is used for displaying the first search result in the search result page.
15. The apparatus of claim 14, wherein the first selection submodule is configured to:
sequencing the data providers according to a first preset sequencing strategy to obtain a first sequencing result, wherein the first preset sequencing strategy is to sequence according to a bidding value, an original degree or a correlation degree with the first search word from high to low;
and selecting the data providers with the first preset number of bits as the first class of data providers according to the first sequencing result.
16. The apparatus of claim 14, wherein the second acquisition submodule comprises:
a determining unit, configured to determine a first data provider from the first type of data providers;
an obtaining unit, configured to obtain a search result corresponding to the first search term provided by the first data provider, and tags of data providers other than the first data provider in the first type of data provider, as the first search result; the label is used for switching to a search result which is provided by a corresponding data provider and corresponds to the first search word after being triggered by a user.
17. The apparatus of claim 16, wherein the obtaining module comprises:
the second selection submodule is used for selecting a second data provider from the first type of data providers when the preset instruction is detected, wherein the second data provider is one of the first type of data providers except the other data providers of the first data provider;
and a third obtaining sub-module, configured to obtain a search result, which is provided by the second data provider and corresponds to the search term included in the current search box, and tags of other data providers, except for the second data provider, in the first class of data providers, as the second search result.
18. The apparatus of claim 14 or 16, wherein the obtaining module comprises:
a third selecting submodule, configured to select a second type of data provider from the multiple data providers when the preset instruction is detected, where the second type of data provider includes at least one data provider, which is not included in the first type of data provider, from the multiple data providers;
and the fourth obtaining sub-module is used for obtaining a search result which is provided by the second type of data provider and corresponds to the search word included in the current search box, and the search result is used as the second search result.
19. An apparatus for search result processing comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to perform the one or more programs includes instructions for:
displaying a first search result corresponding to a first search word input by a user in a search result page;
when a preset instruction of a user is detected, if the preset instruction accords with a preset condition, acquiring a second search result different from the first search result according to a search word included in a current search frame, wherein the preset instruction is an instruction for restarting search; the first search result and the second search result correspond to different data providers;
switching the first search result displayed in the search result page to the second search result;
the preset conditions include: the number of clicks of the first search result included in the search result page by the user is smaller than a first preset threshold, or the stay time of the user on the search result page including the first search result is smaller than a second preset threshold.
CN201710002150.XA 2017-01-03 2017-01-03 Search result processing method and device for search result processing Active CN106844572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710002150.XA CN106844572B (en) 2017-01-03 2017-01-03 Search result processing method and device for search result processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710002150.XA CN106844572B (en) 2017-01-03 2017-01-03 Search result processing method and device for search result processing

Publications (2)

Publication Number Publication Date
CN106844572A CN106844572A (en) 2017-06-13
CN106844572B true CN106844572B (en) 2020-10-30

Family

ID=59117571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710002150.XA Active CN106844572B (en) 2017-01-03 2017-01-03 Search result processing method and device for search result processing

Country Status (1)

Country Link
CN (1) CN106844572B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846060A (en) * 2018-06-01 2018-11-20 深圳市茁壮网络股份有限公司 A kind of method and device of amended record matchmaker standing breath
CN109376300A (en) * 2018-09-27 2019-02-22 北京字节跳动网络技术有限公司 Method for refreshing, device, storage medium and the electronic equipment of search result
CN109299378B (en) * 2018-10-26 2021-02-12 Oppo广东移动通信有限公司 Search result display method and device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241512A (en) * 2008-03-10 2008-08-13 北京搜狗科技发展有限公司 Search method for redefining enquiry word and device therefor
CN101288075A (en) * 2005-10-14 2008-10-15 微软公司 Simultaneously spawning multiple searches across multiple providers
CN104503991A (en) * 2014-12-03 2015-04-08 百度在线网络技术(北京)有限公司 Information searching method and device
CN104794246A (en) * 2015-05-15 2015-07-22 百度在线网络技术(北京)有限公司 Information search method and information search device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101288075A (en) * 2005-10-14 2008-10-15 微软公司 Simultaneously spawning multiple searches across multiple providers
CN101241512A (en) * 2008-03-10 2008-08-13 北京搜狗科技发展有限公司 Search method for redefining enquiry word and device therefor
CN104503991A (en) * 2014-12-03 2015-04-08 百度在线网络技术(北京)有限公司 Information searching method and device
CN104794246A (en) * 2015-05-15 2015-07-22 百度在线网络技术(北京)有限公司 Information search method and information search device

Also Published As

Publication number Publication date
CN106844572A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US9241242B2 (en) Information recommendation method and apparatus
US20170091335A1 (en) Search method, server and client
CN108334539B (en) Object recommendation method, mobile terminal and computer-readable storage medium
US10303327B2 (en) Information display method and device
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
WO2014169715A1 (en) Information recommendation method and apparatus
US10643021B2 (en) Method and device for processing web page content
US10462511B2 (en) Method, device and system for presenting information
TW201512865A (en) Method for searching web page digital data, device and system thereof
US10956653B2 (en) Method and apparatus for displaying page and a computer storage medium
CN110020293B (en) Multimedia data display method, device and storage medium
CN107436948B (en) File searching method and device and terminal
CN109948090B (en) Webpage loading method and device
CN110633438B (en) News event processing method, terminal, server and storage medium
CN106844572B (en) Search result processing method and device for search result processing
CN107992615B (en) Website recommendation method, server and terminal
CN110196833B (en) Application searching method, device, terminal and storage medium
JP6915074B2 (en) Message notification method and terminal
CN113434075A (en) Information display method and device and electronic equipment
WO2015096660A1 (en) Methods and devices for displaying a webpage
CN111316618B (en) Network page storage method and terminal
CN108491502B (en) News tracking method, terminal, server and storage medium
CN105095161B (en) Method and device for displaying rich text information
CN112748970B (en) Message display method and terminal equipment
CN112925878B (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant