CN105808606B - Searching method and device on mobile equipment - Google Patents
Searching method and device on mobile equipment Download PDFInfo
- Publication number
- CN105808606B CN105808606B CN201410854753.9A CN201410854753A CN105808606B CN 105808606 B CN105808606 B CN 105808606B CN 201410854753 A CN201410854753 A CN 201410854753A CN 105808606 B CN105808606 B CN 105808606B
- Authority
- CN
- China
- Prior art keywords
- url
- search
- target
- transfer
- search result
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000009877 rendering Methods 0.000 claims abstract description 33
- 230000000977 initiatory effect Effects 0.000 claims abstract description 13
- 230000006399 behavior Effects 0.000 abstract description 49
- 238000010586 diagram Methods 0.000 description 4
- 239000002699 waste material Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 241000239290 Araneae Species 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a searching method and a searching device on mobile equipment. The method comprises the following steps: obtaining a search result fed back according to the search request, wherein a target URL accessed corresponding to the search result is replaced by a transfer URL recording the search behavior; when receiving the click operation of the user on the mobile equipment to the search result, initiating an access request to the transfer URL; and rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL. The invention provides a mechanism for recording search behaviors aiming at a browser of a mobile device and other browser environments with forbidden JavaScript.
Description
Technical Field
The present invention relates to the field of search, and in particular, to a search method on a mobile device and a search apparatus on a mobile device.
Background
Searching is one of the services commonly used by networks, and currently, users often search internet information using a search website. Specifically, a search interface is provided for a user at a search front end, a query keyword input by the user is received, then a search engine matches search results containing the query keyword in a webpage or a network service according to the query keyword, the search results are displayed to the user at a user terminal after being sorted, and the user acquires internet information by clicking the search results.
After the user browses the search results, different potential search requirements may exist for different search results, and the user needs to have further search behaviors for different search results. For example, a search is started by inputting a search keyword, then a search result fed back according to the search keyword is clicked and viewed, when the search result of the page does not meet the search requirement of the user, the user may view a next search result, or a new search page is generated by reconstructing a new keyword trigger, so that the search cost of the user is greatly increased, the satisfaction of the user is reduced, the search experience is poor, and meanwhile, since the user needs to send a plurality of search requests to a search engine, the load of a search server is increased, and therefore, it is very necessary to analyze the search behavior of the user at the front end of the search.
At present, the search behavior of a user on a page is captured and recorded by mostly using JavaScript codes preset in the page, and the search behavior on the page cannot be recorded on browsers on some mobile devices and browsers with disabled JavaScript.
Disclosure of Invention
In view of the above, the present invention has been made to provide a search apparatus on a mobile device and a corresponding search method on a mobile device that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a search method on a mobile device, including:
obtaining a search result fed back according to the search request, wherein a target URL accessed corresponding to the search result is replaced by a transfer URL recording the search behavior;
when receiving the click operation of the user on the mobile equipment to the search result, initiating an access request to the transfer URL;
and rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
Optionally, the obtaining the search result fed back according to the search request includes:
acquiring a search result queried by a search engine based on a query keyword input by the mobile equipment, wherein a target URL corresponding to the search result is replaced by a transit URL which is generated by the search engine and records the search behavior;
embedding the transfer URL corresponding to the search result into a page resource file corresponding to a search result page displaying the search result;
and rendering the page resource file embedded into the transfer URL, and generating a page of the access transfer URL corresponding to the search result.
Optionally, the obtaining of the search result fed back according to the search request includes obtaining a plurality of search results fed back according to the search request and sorted according to a preset rule.
Optionally, the preset relay server controls the relay URL to jump to the target URL.
Optionally, the initiating the access request for the transfer URL when receiving a click operation of the user on the mobile device on the search result includes:
and when receiving the click operation of the user on the mobile equipment to the search result, initiating an access request to a transit server correspondingly accessed by the transit URL.
Optionally, the rendering the target page corresponding to the target URL fed back after the transfer URL jumps to the target URL includes:
and rendering a target page which is correspondingly obtained and fed back by the target server correspondingly accessed by the target URL after the transfer server controls the transfer URL to jump to the target URL.
Optionally, the rendering the target page corresponding to the target URL fed back after the transfer URL jumps to the target URL includes:
and receiving a web page snapshot of the target page, which is obtained and fed back by the transfer server correspondingly according to the target URL after the transfer server detects that the target URL fails or the target page is not a safe page before controlling the transfer URL to jump to the target URL.
Optionally, the transit server is a search server where the search engine is located or another server preset by a supply platform of the search engine.
Optionally, the transit URL recording the user's search behavior this time is obtained by extracting, by the search engine that feeds back the search result, search information recording the user's search behavior this time, and splicing the search information with the network address of the transit server.
Optionally, the search information includes a device identifier of the mobile device, a target URL accessed corresponding to the search result, and a query keyword triggering to obtain the search result.
The invention also provides a searching device on the mobile equipment, which comprises:
the search result acquisition module is used for acquiring a search result fed back according to the search request, and the target URL accessed corresponding to the search result is replaced by a transit URL recording the search behavior;
the result request module is used for initiating an access request to the transfer URL when receiving the click operation of the user on the mobile equipment to the search result;
and the rendering module is used for rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
Optionally, the search result obtaining module includes:
the acquisition submodule is used for acquiring a search result queried by a search engine based on the query keyword input by the mobile equipment, wherein a target URL corresponding to the search result is replaced by a transit URL which is generated by the search engine and records the search behavior;
the embedding submodule is used for embedding the transfer URL corresponding to the search result into a page resource file corresponding to a search result page displaying the search result;
and the rendering submodule is used for rendering the page resource file embedded into the transfer URL and generating a page of the access transfer URL corresponding to the search result.
Optionally, the search result obtaining module is configured to obtain a plurality of search results that are fed back according to the search request and are sorted according to a preset rule.
Optionally, the preset relay server controls the relay URL to jump to the target URL.
Optionally, the result request module is configured to initiate an access request to a transit server accessed correspondingly to the transit URL when a click operation of the search result on the mobile device by the user is received.
Optionally, the rendering module is configured to render a target page, which is obtained and fed back by the target server accessed by the target URL correspondingly according to the target URL after the relay server controls the relay URL to jump to the target URL.
Optionally, the rendering module is configured to receive a web page snapshot of the target page, which is obtained and fed back by the transit server according to the target URL, after detecting that the target URL is invalid or the target page is not a secure page before the transit server controls the transit URL to jump to the target URL.
Optionally, the transit server is a search server where the search engine is located or another server preset by a supply platform of the search engine.
Optionally, the transit URL recording the user's search behavior this time is obtained by extracting, by the search engine that feeds back the search result, search information recording the user's search behavior this time, and splicing the search information with the network address of the transit server.
Optionally, the search information includes a device identifier of the mobile device, a target URL accessed corresponding to the search result, and a query keyword triggering to obtain the search result.
In this embodiment, after a user sends a search request, in a search result obtained by searching the search request, a relay URL that records a current search behavior is used instead of a target URL, that is, the target URL is not directly fed back, but the relay URL is fed back, so that when a click operation of the user on the search result is received, an access request to the relay URL is initiated, and then the relay URL jumps to the target URL, and a target page of the relay URL is rendered based on webpage information of the target URL, thereby providing a mechanism for recording the search behavior for a browser of a mobile device and other browser environments where JavaScript is disabled.
And secondly, the transfer URL is obtained by splicing the search information recording the current search behavior of the user and the network address of the transfer server, so that the transfer server is adopted to control the jump from the transfer URL to the target URL, and the target page corresponding to the target URL is quickly accessed. And even after the target URL is detected to be invalid or the target page is not a safe page, the transfer server correspondingly acquires and feeds back the webpage snapshot of the target page according to the target URL, so that the user can check the target page corresponding to the search result, and the time waste that the user needs to reselect the search result because the user cannot acquire the page due to access of the invalid result is reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a search method on a mobile device according to embodiment 1 of the present invention;
fig. 2 is a flowchart illustrating a searching method on a mobile device according to embodiment 2 of the present invention;
fig. 3 is a diagram illustrating a structure of a search apparatus on a mobile device according to embodiment 1 of the present invention;
fig. 4 shows a block diagram of a searching apparatus on a mobile device according to embodiment 2 of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a flowchart illustrating steps of a search method on a mobile device according to embodiment 1 of the present invention is provided.
Some mobile device browsers and JavaScript-disabled browsers cannot record the user's search behavior due to the inability to execute JS code. Therefore, in this embodiment, when a search is performed according to a user search request, after a target URL is obtained, in order to record a search behavior of the user by feeding back a search result, a relay URL recorded with the search behavior of this time is created, and the target URL is replaced by the relay URL, that is, a search result in which the target URL is replaced by the relay URL recorded with the search behavior of this time is generated.
And 102, when receiving the click operation of the user on the mobile equipment to the search result, initiating an access request to the transfer URL.
After the user displays the search results on the mobile device, the user may click on the search results to view the web page. A click operation of the user on the mobile device on the search result may be received, and at this time, an access request for the relay URL corresponding to the search result is initiated to access the page of the target URL replaced by the relay URL.
And 103, rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
After initiating an access request to the relay URL, the relay URL jumps to a target URL, then feeds back webpage information of the target URL to the mobile equipment, and the mobile equipment renders a target page corresponding to the target URL based on the webpage information, so that the target page corresponding to the target URL is displayed.
To sum up, in this embodiment, after the user sends the search request, in the search result obtained by searching the search request, the target URL is replaced with the relay URL that records the search behavior of this time, that is, the target URL is not directly fed back, but the relay URL is fed back, so when the click operation of the user on the search result is received, the access request to the relay URL is initiated, and then the relay URL jumps to the target URL, and the target page is rendered based on the web page information of the target URL, thereby providing a mechanism for recording the search behavior for the browser of the mobile device and other browser environments where JavaScript is disabled.
Referring to fig. 2, a flowchart illustrating steps of a search method on a mobile device according to embodiment 2 of the present invention is shown.
The user can input the query key words in the mobile equipment and then search, so that the search request can carry the query key words, and then the search engine searches based on the query key words to obtain the target URL corresponding to the query key words.
In order to solve the problem that the JS code cannot be executed and cannot record the user behavior, the present embodiment records the search behavior by using the relay URL, and then the search server or the front-end server replaces the target URL with the relay URL generated by the search engine and used for recording the search behavior, where the front-end server is a server that provides a search page to a browser. And then feedback is made on the search results.
The method comprises the steps that a user obtains a search result fed back by a search engine on mobile equipment, wherein a target URL corresponding to the search result is replaced by a transfer URL which is generated by the search engine and used for recording the search behavior.
After the target URL corresponding to the search result is replaced by the transfer URL, the search result usually generates a search result page to feed back the user, and the user renders and displays the page resource file of the search result page, thereby obtaining the search result. Therefore, the transfer URL corresponding to the search result is to be embedded into the page resource file corresponding to the search result page showing the search result. And enabling the user to acquire the page resource file of the search result page formed by the transfer URL, so that the page resource file can record the search behavior through the transfer URL.
And after the mobile equipment acquires the page resource file embedded into the transfer URL, rendering the page resource file, requesting and rendering information of each page through the page resource file, and generating a page of the access transfer URL corresponding to the search result.
In this embodiment, the obtaining of the search result fed back according to the search request includes obtaining a plurality of search results fed back according to the search request and sorted according to a preset rule. Namely, the search engine can search a plurality of search results according to the query keyword, and then sorts the search results according to a preset rule, so that the sorted search results are fed back to the mobile device. And the target URL corresponding to each search result is fed back after being replaced by the transit URL.
Therefore, each sequenced search result can be displayed in the search result page displayed by the mobile terminal.
After the search result page is displayed on the mobile device, the user can click and view the interested search result, so that the browser of the mobile device receives the click operation of the user on the search result, and at the moment, an access request for the search result is initiated. In this embodiment, the preset relay server controls the relay URL to jump to the target URL.
Therefore, the access request to the search result, that is, the access request to the relay server that initiates the corresponding access to the relay URL, is realized by the relay server that the relay URL jumps to the target URL, and then accesses the target URL.
In this embodiment, the transit server is a search server where the search engine is located or another server preset by a supply platform of the search engine.
Optionally, the transit URL recording the current search behavior of the user is obtained by extracting, by the search engine feeding back the search result, search information recording the current search behavior of the user, and splicing the search information with the network address of the transit server.
In this embodiment, the transit URL recording the current search behavior of the user is used instead of the target URL, so that when the search result is clicked, the browser initiates an access request to the transit URL recording the current search behavior of the user.
Therefore, before executing the proxy target URL, a transit URL needs to be generated. After receiving a search request of a user, a search engine searches for a query keyword in the search request to obtain a target URL, and then generates search information for identifying the current search behavior of the user based on the query keyword, the target URL, a device identifier of the mobile device and the like. And splicing the search information and the network address of the transfer server to obtain a transfer URL. Therefore, the transfer URL is adopted to form a search result and feed the search result back to the user, the transfer URL records the search behavior of the user at this time, and the problem that the page cannot execute the JS code and cannot grab the search behavior is solved.
The search information comprises a device identifier of the mobile device, a target URL correspondingly accessed by the search result and a query keyword triggering the acquisition of the search result. The device identifier of the mobile device refers to a unique identifier of the mobile device, and the mobile device can be distinguished by the device identifier, for example, a Security Identifier (SID) is used as the device identifier, and the SID is a unique number for identifying a user, a group, and a computer account.
For example, the transit URL is:
http://j.www.so.com/?u=http%3A%2F%2Fwww.iciba.com%2Fmapper%2F&m=f8a41f&from=m.so.com&monitor=pro%3Dm_so%26pid%3Dresult%26u%3Dhttp%253A%252F%252Fm.so.com%252Fs%252F%26guid%3D16527278.478265176785271000.1397542562060.7761%26q%3DMapper%26pq%3D%26ls%3D%26src%3Dhome_input%26abv%3DB%26sid%3D0e70af1379d38cfa45929a37e52b8468%26srcg%3Dhome%26userid%3D%26version%3D%26category%3D%26folding%3D0%26mod%3Dog%26cat%3D%26pos%3D2%26pn%3D1%26type%3Dweb%26clicktype%3Dlink%26value%3Dhttp%253A%252F%252Fwww.iciba.com%252Fmapper%252F%26t%3D1411375976700
based on the relay URL generation method, when accessing the relay URL, fields such as a target URL, an SID, query keywords (query) and the like can be extracted from the relay URL, so as to access the target URL. For example, the target URL extracted from the relay URL is:
http%3A%2F%2Fwww.iciba.com%2Fmapper%2F&m=f8a41f
then after the click triggers the access request to the transit URL, the jump is actually made to the access request to the target URL.
And step 205, rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
After the search result is clicked and accessed, the page information corresponding to the search result can be obtained, and therefore the page information is rendered and the corresponding target page is opened.
In an optional embodiment of the present invention, after the relay server controls the relay URL to jump to the target URL, a target page is rendered, which is obtained and fed back by a target server correspondingly accessed by the target URL according to the target URL.
And aiming at the access request of the transfer URL jump, after the transfer URL jumps to the target URL under the control of the transfer server, the target server correspondingly visited by the target URL acquires the webpage information of the target page corresponding to the target URL, so that the webpage information is fed back to the browser of the mobile equipment, and the browser renders the webpage information and displays the corresponding target page.
In another optional embodiment of the present invention, before the relay server controls the relay URL to jump to the target URL, and after detecting that the target URL is invalid or the target page is not a secure page, the relay server obtains and feeds back a web page snapshot of the target page according to the target URL.
Sometimes, a target URL corresponding to a search result viewed by a user may have failed, or a target page corresponding to the target URL is not a secure page, and directly accessing the page may threaten the security of the mobile device, and at this time, the target URL cannot be directly accessed to obtain the target page corresponding to the target URL. At this time, the relay server analyzes the relay URL to extract the target URL, and then obtains a web page snapshot of a target page corresponding to the target URL without initiating an access request to the target URL, and feeds the web page snapshot back to the browser of the mobile device. The mobile device then renders and presents the web page snapshot.
The web page snapshot refers to that when a search engine collects and records a web page, the web page is backed up and the web page content is stored in the cache of the server. Since the web page snapshot is stored in the server corresponding to the search engine, when the user clicks the "web page snapshot" link in the search engine, the search engine displays the web page content captured and stored by the Spider system at that time.
In summary, when the search engine performs a search based on the query keyword, the target URL corresponding to the search result is replaced by the relay URL generated by the search engine and recording the search behavior of this time, and then the target URL is embedded into the page resource file corresponding to the search result page to feed back the user, so as to directly feed back the search result binding the relay URL recording the search behavior of this time, thereby solving the problem that the user behavior cannot be captured on the page.
And secondly, the transfer URL is obtained by splicing the search information recording the current search behavior of the user and the network address of the transfer server, so that the transfer server is adopted to control the jump from the transfer URL to the target URL, and the target page corresponding to the target URL is quickly accessed. And even after the target URL is detected to be invalid or the target page is not a safe page, the transfer server correspondingly acquires and feeds back the webpage snapshot of the target page according to the target URL, so that the user can check the target page corresponding to the search result, and the time waste that the user needs to reselect the search result because the user cannot acquire the page due to access of the invalid result is reduced.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a search apparatus on a mobile device according to embodiment 1 of the present invention is shown.
A search result obtaining module 301, configured to obtain a search result fed back according to the search request, where a target URL accessed by the search result is replaced with a transfer URL recording a current search behavior.
A result requesting module 302, configured to initiate an access request to the transfer URL when a user clicks on the search result on a mobile device is received.
And a rendering module 303, configured to render a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
To sum up, in this embodiment, after the user sends the search request, in the search result obtained by searching the search request, the target URL is replaced with the relay URL that records the search behavior of this time, that is, the target URL is not directly fed back, but the relay URL is fed back, so when the click operation of the user on the search result is received, the access request to the relay URL is initiated, and then the relay URL jumps to the target URL, and the target page is rendered based on the web page information of the target URL, thereby providing a mechanism for recording the search behavior for the browser of the mobile device and other browser environments where JavaScript is disabled.
Referring to fig. 4, an alternative structure diagram of a search apparatus on a mobile device according to embodiment 2 of the present invention is shown.
The search result obtaining module 301 includes:
the obtaining sub-module 3011 is configured to obtain a search result queried by a search engine based on the query keyword input by the mobile device, where a target URL corresponding to the search result is replaced by a transfer URL that is generated by the search engine and records a current search behavior.
The embedding submodule 3012 is configured to embed the transit URL corresponding to the search result into a page resource file corresponding to a search result page showing the search result.
The rendering submodule 30213 is configured to render the page resource file embedded in the relay URL, and generate a page of the access relay URL corresponding to the search result.
In an optional embodiment of the present invention, the search result obtaining module 301 is configured to obtain a plurality of search results that are fed back according to the search request and are sorted according to a preset rule.
Wherein, the preset transfer server controls the transfer URL to jump to the target URL.
In an optional embodiment of the present invention, the result requesting module 302 is configured to initiate an access request to a transit server accessed correspondingly to the transit URL when a click operation of the user on the mobile device on the search result is received.
In an optional embodiment of the present invention, the rendering module 303 is configured to render a target page, which is obtained and fed back by a target server accessed by the target URL correspondingly according to the target URL after the relay server controls the relay URL to jump to the target URL.
In an optional embodiment of the present invention, the rendering module 303 is configured to receive a web page snapshot of a target page, which is obtained and fed back by the relay server according to the target URL, after detecting that the target URL is invalid or the target page is not a secure page before the relay server controls the relay URL to jump to the target URL.
The transit server is a search server where the search engine is located or other servers preset by a supply platform of the search engine.
The transit URL recording the current search behavior of the user is obtained by extracting search information recording the current search behavior of the user by the search engine feeding back the search result and splicing the search information with the network address of the transit server.
The search information comprises a device identifier of the mobile device, a target URL correspondingly accessed by the search result and a query keyword triggering the acquisition of the search result.
To sum up, in this embodiment, after the user sends the search request, in the search result obtained by searching the search request, the target URL is replaced with the relay URL that records the search behavior of this time, that is, the target URL is not directly fed back, but the relay URL is fed back, so when the click operation of the user on the search result is received, the access request to the relay URL is initiated, and then the relay URL jumps to the target URL, and the target page is rendered based on the web page information of the target URL, thereby providing a mechanism for recording the search behavior for the browser of the mobile device and other browser environments where JavaScript is disabled.
And secondly, the transfer URL is obtained by splicing the search information recording the current search behavior of the user and the network address of the transfer server, so that the transfer server is adopted to control the jump from the transfer URL to the target URL, and the target page corresponding to the target URL is quickly accessed. And even after the target URL is detected to be invalid or the target page is not a safe page, the transfer server correspondingly acquires and feeds back the webpage snapshot of the target page according to the target URL, so that the user can check the target page corresponding to the search result, and the time waste that the user needs to reselect the search result because the user cannot acquire the page due to access of the invalid result is reduced.
For the embodiment of the search apparatus on the mobile device, since it is basically similar to the embodiment of the method, the description is relatively simple, and for relevant points, reference may be made to part of the description of the embodiment of the method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a search method and apparatus on a mobile device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Claims (20)
1. A search method on a mobile device, comprising:
obtaining a search result fed back according to a search request, wherein a target URL accessed corresponding to the search result is replaced by a transfer URL recording the search behavior, the search result is a result that the target URL is replaced by the transfer URL, and the transfer URL is obtained by splicing a query keyword, the target URL, a device identifier of mobile equipment and a network address of a transfer server accessed corresponding to the transfer URL in the search request;
when receiving the click operation of the user on the mobile equipment to the search result, initiating an access request to the transfer URL, and enabling a page resource file to record the search behavior of the time through the transfer URL, wherein the page resource file is composed of the transfer URL;
and rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
2. The method of claim 1, wherein the obtaining search results fed back according to the search request comprises:
acquiring a search result queried by a search engine based on a query keyword input by the mobile equipment, wherein a target URL corresponding to the search result is replaced by a transit URL which is generated by the search engine and records the search behavior;
after the search result fed back according to the search request is obtained, the method further includes:
embedding the transfer URL corresponding to the search result into a page resource file corresponding to a search result page displaying the search result;
and rendering the page resource file embedded into the transfer URL, and generating a page of the access transfer URL corresponding to the search result.
3. The method according to any one of claims 1-2, wherein the obtaining of the search result fed back according to the search request comprises obtaining a plurality of search results fed back according to the search request and sorted according to a preset rule.
4. The method of claim 3, wherein the jump of the relay URL to the target URL is controlled by a preset relay server.
5. The method of any of claims 1-2, wherein the receiving a click operation by a user on a mobile device of the search result, the initiating the access request to the transit URL comprises:
and when receiving the click operation of the user on the mobile equipment to the search result, initiating an access request to a transit server correspondingly accessed by the transit URL.
6. The method of claim 5, wherein the rendering the destination page corresponding to the target URL fed back after the transit URL jumps to the target URL comprises:
and rendering a target page which is correspondingly obtained and fed back by the target server correspondingly accessed by the target URL after the transfer server controls the transfer URL to jump to the target URL.
7. The method of any one of claims 1-2, wherein the rendering the destination page corresponding to the target URL fed back after the transit URL jumps to the target URL comprises:
and receiving a web page snapshot of the target page, which is obtained and fed back by the transfer server correspondingly according to the target URL after the transfer server detects that the target URL fails or the target page is not a safe page before controlling the transfer URL to jump to the target URL.
8. The method of claim 7, wherein the transit server is a search server where the search engine is located or another server preset by a provisioning platform of the search engine.
9. The method according to any one of claims 1-2, wherein the relay URL recording the current search behavior is obtained by extracting, by the search engine feeding back the search result, search information recording the current search behavior of the user, and concatenating the search information with the network address of the relay server.
10. The method of claim 9, wherein the search information includes a device identifier of the mobile device, a target URL to which the search result corresponds to be accessed, and a query keyword that triggers retrieval of the search result.
11. A search apparatus on a mobile device, comprising:
the search result acquisition module is used for acquiring a search result fed back according to the search request, the target URL accessed corresponding to the search result is replaced by a transfer URL recording the search behavior, the search result is a result of replacing the target URL by the transfer URL, and the transfer URL is obtained by splicing the query keyword, the target URL, the equipment identifier of the mobile equipment and the network address of the transfer server accessed corresponding to the transfer URL in the search request;
a result request module, configured to initiate an access request to the transfer URL when a user clicks on the search result on a mobile device, so that a page resource file records a search behavior of this time through the transfer URL, where the page resource file is formed by the transfer URL;
and the rendering module is used for rendering a target page corresponding to the target URL fed back after the transfer URL jumps to the target URL.
12. The apparatus of claim 11, wherein the search result obtaining module comprises:
the acquisition submodule is used for acquiring a search result queried by a search engine based on the query keyword input by the mobile equipment, wherein a target URL corresponding to the search result is replaced by a transit URL which is generated by the search engine and records the search behavior;
the device further comprises:
the embedding submodule is used for embedding the transfer URL corresponding to the search result into a page resource file corresponding to a search result page displaying the search result;
and the rendering submodule is used for rendering the page resource file embedded into the transfer URL and generating a page of the access transfer URL corresponding to the search result.
13. The apparatus of any one of claims 11-12,
and the search result acquisition module is used for acquiring a plurality of search results which are fed back according to the search request and are sequenced according to a preset rule.
14. The apparatus of claim 13, wherein the jump of the relay URL to the target URL is controlled by a preset relay server.
15. The apparatus of any one of claims 11-12,
and the result request module is used for initiating an access request to a transfer server correspondingly accessed by the transfer URL when receiving the click operation of the user on the mobile equipment to the search result.
16. The apparatus of claim 15, wherein,
and the rendering module is used for rendering a target page which is obtained and fed back by the target server correspondingly visited by the target URL after the transfer server controls the transfer URL to jump to the target URL.
17. The apparatus of any one of claims 11-12,
and the rendering module is used for receiving a webpage snapshot of the target page, which is obtained and fed back by the transit server correspondingly according to the target URL after the transit server detects that the target URL fails or the target page is not a safe page before the transit URL is controlled to jump to the target URL by the transit server.
18. The apparatus of claim 17, wherein the transit server is a search server where the search engine is located or another server preset by a provisioning platform of the search engine.
19. The apparatus according to any one of claims 11 to 12, wherein the transit URL recording the current search behavior is obtained by extracting, by the search engine feeding back the search result, search information recording the current search behavior of the user, and concatenating the search information with a network address of the transit server.
20. The apparatus of claim 19, wherein the search information comprises a device identifier of the mobile device, a target URL to which the search result corresponds to be accessed, and a query keyword that triggers retrieval of the search result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410854753.9A CN105808606B (en) | 2014-12-31 | 2014-12-31 | Searching method and device on mobile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410854753.9A CN105808606B (en) | 2014-12-31 | 2014-12-31 | Searching method and device on mobile equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105808606A CN105808606A (en) | 2016-07-27 |
CN105808606B true CN105808606B (en) | 2020-05-15 |
Family
ID=56465190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410854753.9A Active CN105808606B (en) | 2014-12-31 | 2014-12-31 | Searching method and device on mobile equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105808606B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294719B (en) * | 2016-08-08 | 2020-03-03 | 百度在线网络技术(北京)有限公司 | Information display method and device |
CN106789938B (en) * | 2016-11-30 | 2020-04-21 | 四川秘无痕科技有限责任公司 | Method for monitoring search trace of browser at mobile phone end in real time |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101317176A (en) * | 2005-11-29 | 2008-12-03 | 泰普有限公司 | Display of search results on mobile device browser with background processing |
CN103678330A (en) * | 2012-09-04 | 2014-03-26 | 北京新岸线移动多媒体技术有限公司 | Method, system and device for loading webpage data |
CN103778156A (en) * | 2012-10-24 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Method and device for searching for data and server for data search |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909079B (en) * | 2010-07-15 | 2013-04-24 | 北京迈朗世讯科技有限公司 | User online behavior data acquisition method in backbone link and system |
US8793235B2 (en) * | 2012-01-19 | 2014-07-29 | Google Inc. | System and method for improving access to search results |
-
2014
- 2014-12-31 CN CN201410854753.9A patent/CN105808606B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101317176A (en) * | 2005-11-29 | 2008-12-03 | 泰普有限公司 | Display of search results on mobile device browser with background processing |
CN103678330A (en) * | 2012-09-04 | 2014-03-26 | 北京新岸线移动多媒体技术有限公司 | Method, system and device for loading webpage data |
CN103778156A (en) * | 2012-10-24 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Method and device for searching for data and server for data search |
Also Published As
Publication number | Publication date |
---|---|
CN105808606A (en) | 2016-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102333122B (en) | Downloaded resource provision method, device and system | |
US9547721B2 (en) | Native application search results | |
US9760632B2 (en) | URL rescue by execution of search using information extracted from invalid URL | |
US8458227B1 (en) | URL rescue by identifying information related to an item referenced in an invalid URL | |
CN104102537B (en) | A kind of application call method and user terminal | |
US10043199B2 (en) | Method, device and system for publishing merchandise information | |
US8438279B2 (en) | Identifying content that is responsive to a request for an invalid URL | |
CN106687949B (en) | Search results for native applications | |
CN105027121A (en) | Indexing application pages of native applications | |
CN106790593B (en) | Page processing method and device | |
CN105320661A (en) | Resource downloading method and device | |
CN103617241B (en) | Search information processing method, browser terminal and server | |
CN109684571B (en) | Data acquisition method and device and storage medium | |
CN103810268B (en) | Search result recommendation information loading method, device and system and URL detection method, device and system | |
CN104572777A (en) | Webpage loading method and device based on UIWebView component | |
US20110093456A1 (en) | Method and system for displaying information | |
US20120166526A1 (en) | Request forwarding and result aggregating systems, methods and computer readable media | |
WO2015003663A1 (en) | Method, device, server, and client device for video processing | |
CN108574686B (en) | Method and device for previewing file online | |
US20120290909A1 (en) | Methods and apparatus of accessing related content on a web-page | |
CN104601672A (en) | Method and device for sharing network resources based on different application clients | |
CN105407186A (en) | Method and device for acquiring subdomain names | |
CN104021154A (en) | Method and device for searching browser | |
CN105808606B (en) | Searching method and device on mobile equipment | |
JP2011043924A (en) | Web action history acquisition system, web action history acquisition method, gateway device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220719 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |