Method and device for displaying search result on mobile terminal

A method for displaying a search result on a mobile terminal and a device for displaying a search result on a mobile terminal are provided. The method for displaying the search result on the mobile terminal comprises sending a search request; receiving the search result containing a local application call identifier; and calling a local application in the mobile terminal according to the local application call identifier, and displaying the search result via the local application.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to and benefits of Chinese Patent Application Serial No. 201310676633.X, filed with the State Intellectual Property Office of P. R. China on Dec. 11, 2013, the entire content of which is incorporated herein by reference.

FIELD

The present disclosure relates to a mobile internet technology field, and more particularly to a method for displaying a search result on a mobile terminal and a device for displaying a search result on a mobile terminal.

BACKGROUND

With the development of the mobile internet technology, it is increasingly common for a user to use a mobile terminal to perform a WAP (wireless application protocol) search. Generally, when the user performs the WAP search by a browser application, the search result is processed via the browser application, for example, it is possible to open videos, play music, browse pictures, and view maps and news by JS (JavaScript), AJAX (Asynchronous JavaScript and XML), HTML5 (Hypertext Markup Language 5), etc.

SUMMARY

Embodiments of the present disclosure seek to solve at least one of the problems existing in the related art to at least some extent.

A first objective of the present disclosure is to provide a method for displaying a search result on a mobile terminal, which may enhance the ability of the mobile terminal to process the search result and display the search result more intuitively with a better displaying effect.

A second objective of the present disclosure is to provide another method for displaying a search result on a mobile terminal.

A third objective of the present disclosure is to provide a device for displaying a search result on a mobile terminal.

A fourth objective of the present disclosure is to provide another device for displaying a search result on a mobile terminal.

In order to achieve the above objectives, a method for displaying a search result on a mobile terminal according to embodiments of a first aspect of the present disclosure is provided. The method comprises sending a search request; receiving the search result containing a native application call identifier; and calling a native application in the mobile terminal according to the native application call identifier, and displaying the search result via the native application.

With the method for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result contains the native application call identifier, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

In order to achieve the above objectives, a method for displaying a search result on a mobile terminal according to embodiments of a second aspect of the present disclosure is provided. The method comprises receiving a search request; generating the search result containing a native application call identifier; and sending the search result to the mobile terminal, in which the mobile terminal calls a native application in the mobile terminal according to the native application call identifier, and displays the search result via the native application.

With the method for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result containing the native application call identifier is generated, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

In order to achieve the above objectives, a device for displaying a search result on a mobile terminal according to embodiments of a third aspect of the present disclosure is provided. The device comprises a sending module configured to send a search request; a receiving module configured to receive the search result containing a native application call identifier; and a calling module configured to call a native application in the mobile terminal according to the native application call identifier, and to display the search result via the native application.

With the device for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result contains the native application call identifier, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

In order to achieve the above objectives, a device for displaying a search result on a mobile terminal according to embodiments of a fourth aspect of the present disclosure is provided. The device comprises a receiving module configured to receive a search request; a generating module configured to generate the search result containing a native application call identifier; and a sending module configured to send the search result to the mobile terminal, in which the mobile terminal calls a native application in the mobile terminal according to the native application call identifier, and displays the search result via the native application.

With the device for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result containing the native application call identifier is generated, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

In order to achieve the above objectives, a computer readable storage medium according to embodiments of a fifth aspect of the present disclosure is provided. The computer readable storage medium comprises a computer program for executing the method for displaying the search result on the mobile terminal according to embodiments of the first aspect of the present disclosure, when running on a computer.

In order to achieve the above objectives, a computer readable storage medium according to embodiments of a sixth aspect of the present disclosure is provided. The computer readable storage medium comprises a computer program for executing the method for displaying the search result on the mobile terminal according to embodiments of the second aspect of the present disclosure, when running on a computer.

DETAILED DESCRIPTION

In the process of performing the WAP search and processing a search result by a browser application in the related art, due to the limitation of the browser application, when the search result is displayed, the performance of the mobile terminal cannot be made full use of, such that the ability of the mobile terminal to process the search result is low, the search result cannot be displayed well, and thus the experience of the user is poor. However, if the search result may be displayed via a native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect. Accordingly, a method for displaying a search result on a mobile terminal and a device for displaying a search result on a mobile terminal are provided.

FIG. 1is a flow chart of a method for displaying a search result on a mobile terminal according to an embodiment of the present disclosure.

As shown inFIG. 1, the method for displaying the search result on the mobile terminal according to an embodiment of the present disclosure comprises the following steps.

In step S101, a search request is sent.

Specifically, a user sends the search request to a server via the mobile terminal. For example, the user sends the search request to a search engine server via a browser application installed in the mobile terminal. The search request comprises a search term. In some embodiments, for example, the mobile terminal may be hardware devices having various operating systems, such as mobile phones, tablet computers, personal digital assistants, or e-book readers.

In step S102, the search result containing a native application call identifier is received.

For example, after receiving the search request, the search engine server performs the search according to the search term to obtain the search result corresponding to the search term and containing the native application call identifier.

In step S103, a native application in the mobile terminal is called according to the native application call identifier, and the search result is displayed via the native application.

Specifically, the native application, i.e. a native application, is a third-party application based on an operating system of the mobile terminal. The user of the mobile terminal may search for information, play audios, or watch videos via the native application. The native application is different from a network application, i.e. a web application. The web application needs to be networked to acquire information, while the native application runs in the mobile terminal locally without being networked. The native application call identifier is an identifier related to the native application, according to which the mobile terminal may call the native application. For example, if the search result is a video result, the mobile terminal may call a corresponding video player according to the corresponding call identifier.

In one embodiment, calling the native application in the mobile terminal according to the native application call identifier comprises: if the search result contains the native application call identifier, the mobile terminal sends a call instruction containing the native application call identifier to a local service; and starting by the mobile terminal a corresponding native application according to the call instruction, and transmitting by the mobile terminal the search result to the native application for displaying the search result. Specifically, after obtaining the search result, the server adds the native application call identifier to the search result and supplies the search result containing the native application call identifier to the mobile terminal, and the mobile terminal sends the call instruction containing the native application call identifier to the local service of the mobile terminal according to the native application call identifier. The local service, like a web service, is present in the mobile terminal, and is shared by native applications. If there are a plurality of services, calling is performed mainly based on the highest version of service. For example, if native applications of a video type, a music type, and a picture type integrated with services v1.0, v2.0, v3.0 respectively are installed in the mobile terminal, only the service v3.0 of the picture type runs in the background of the mobile terminal to communicate with a webpage, and the native application of the video type and the native application of the music type share the service v3.0. Then, the mobile terminal starts a corresponding native application according to the call instruction via the local service, and transmits the search result to the native application via the local service so as to display the search result. For example, the mobile terminal transmits data from a search result page to the native application in accordance with the HTTP (hypertext transfer protocol) via the local service, and the native application displays the transmitted data directly.

With the method for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result contains the native application call identifier, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

FIG. 2is a flow chart of a method for displaying a search result on a mobile terminal according to another embodiment of the present disclosure.

As shown inFIG. 2, the method for displaying the search result on the mobile terminal according to another embodiment of the present disclosure comprises the following steps.

In step S201, a search request is received.

Specifically, a user sends the search request to a server via the mobile terminal. For example, the user sends the search request to a search engine server via a browser application installed in the mobile terminal. The search request comprises a search term. In some embodiments, for example, the mobile terminal may be hardware devices having various operating systems, such as mobile phones, tablet computers, personal digital assistants, or e-book readers.

In step S202, the search result containing a native application call identifier is generated.

For example, after receiving the search request, the search engine server performs the search according to the search term to obtain the search result corresponding to the search term, and adds the native application call identifier to the search result.

In step S203, the search result is sent to the mobile terminal, in which the mobile terminal calls a native application in the mobile terminal according to the native application call identifier, and displays the search result via the native application.

Specifically, the native application, i.e. a native application, is a third-party application based on an operating system of the mobile terminal. The user of the mobile terminal may search for information, play audios, or watch videos via the native application. The native application is different from a network application, i.e. a web application. The web application needs to be networked to acquire information, while the native application runs in the mobile terminal locally without being networked. The native application call identifier is an identifier related to the native application, according to which the mobile terminal may call the native application. For example, if the search result is a video result, the mobile terminal may call a corresponding video player according to the corresponding call identifier.

In one embodiment, calling the native application in the mobile terminal according to the native application call identifier comprises: if the search result contains the native application call identifier, the mobile terminal sends a call instruction containing the native application call identifier to a local service; and starting by the mobile terminal a corresponding native application according to the call instruction, and transmitting by the mobile terminal the search result to the native application for displaying the search result. Specifically, after obtaining the search result, the server adds the native application call identifier to the search result and supplies the search result containing the native application call identifier to the mobile terminal, and the mobile terminal sends the call instruction containing the native application call identifier to the local service of the mobile terminal according to the native application call identifier. The local service, like a web service, is present in the mobile terminal, and is shared by native applications. If there are a plurality of services, calling is performed mainly based on the highest version of service. For example, if native applications of a video type, a music type, and a picture type integrated with services v1.0, v2.0, v3.0 respectively are installed in the mobile terminal, only the service v3.0 of the picture type runs in the background of the mobile terminal to communicate with a webpage, and the native application of the video type and the native application of the music type share the service v3.0. Then, the mobile terminal starts a corresponding native application according to the call instruction via the local service, and transmits the search result to the native application via the local service so as to display the search result. For example, the mobile terminal transmits data from a search result page to the native application in accordance with the HTTP (hypertext transfer protocol) via the local service, and the native application displays the transmitted data directly.

With the method for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result containing the native application call identifier is generated, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

In order to display the search result conveniently and accurately, it is necessary to specifically add a call identifier to the search result. For example, a search result of a webpage type does not need to be displayed by calling a native application.

FIG. 3is a flow chart of a method for displaying a search result on a mobile terminal according to still another embodiment of the present disclosure.

As shown inFIG. 3, the method for displaying the search result on the mobile terminal comprises the following steps.

In step S301, a search request is received.

In step S302, a type of the search result is acquired.

Specifically, after the search result is obtained according to a search term, the type of the search result is first acquired. For example, the type of the search result comprises a video type, an audio type and a picture type. More specifically, the type of the search result may be acquired according to a tag or a script application in a webpage. The acquiring of the type of the search result may be determined according to a particular webpage, which is not limited herein.

In step S303, if the type of the search result belongs to a predetermined type, the native application call identifier is added to the search result to generate the search result containing the native application call identifier.

Specifically, after the type of the search result is acquired, whether the type of the search result belongs to the predetermined type is determined. For example, the predetermined type may be a video type, an audio type or a picture type. If the type of the search result belongs to the predetermined type, the native application call identifier is added to the search result, i.e. the search result of the predetermined type may be opened or displayed via the native application.

If it is determined that the type of the search result does not belong to the predetermined type, the native application call identifier does not need to be added to the search result.

In step S304, the search result is sent to the mobile terminal, in which the mobile terminal calls a native application in the mobile terminal according to the native application call identifier, and displays the search result via the native application.

With the method for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the native application call identifier is added to the search result if the type of the search result belongs to the predetermined type, it is possible to specifically call the native application according to the search result, such that it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect.

When the native application call identifier is added, a corresponding native application may not be installed in the mobile terminal, i.e. the server does not know the installation condition of the native application in the mobile terminal, and thus it is impossible to provide a more accurate call identifier. In order to calling the native application according to the search result reliably, when sending the search result, the mobile terminal may also send a mobile terminal identifier to the server, such that the server may identify the mobile terminal uniquely.

FIG. 4is a flow chart of a method for displaying a search result on a mobile terminal according to yet another embodiment of the present disclosure.

As shown inFIG. 4, the method for displaying the search result on the mobile terminal comprises the following steps.

In step S401, a search request is received.

In step S402, a type of the search result is acquired.

In step S403, if the type of the search result belongs to a predetermined type, a native application corresponding to the type of the search result is searched for in a native application list.

In one embodiment, the search request comprises a mobile terminal identifier corresponding to a native application list of the mobile terminal. The native application list comprises the name and the type of native applications installed in the mobile terminal, etc.

In step S404, if the native application corresponding to the type of the search result is found, the native application call identifier is added to the search result according to the native application, such that the mobile terminal calls the native application in the mobile terminal according to the native application call identifier and displays the search result via the native application.

Specifically, the server acquires a unique identifier of the mobile terminal in the search request, and the unique identifier of the mobile terminal corresponds to the native application list of the mobile terminal. In one embodiment, the native application list is uploaded by the mobile terminal at a predetermined time interval. When the native application corresponding to the type of the search result is searched for in the native application list, if the native application corresponding to the type of the search result is found, the native application call identifier is added to the search result according to the native application, and the search result is supplied to the mobile terminal. At this time, the mobile terminal sends a call instruction containing the native application call identifier to a local service, starts a corresponding native application according to the call instruction, and transmits the search result to the native application so as to display the search result. For example, the mobile terminal transmits data from a search result page to the native application in accordance with the HTTP (hypertext transfer protocol), and the native application displays the transmitted data.

In one embodiment, the method for displaying the search result on the mobile terminal further comprises adding a recommendation of the native application to the search result according to the type of the search result if the native application corresponding to the type of the search result is not found in the native application list. At this time, the user may install the native application according to the recommendation, and then open the search result previously clicked so as to display the search result.

With the method for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the mobile terminal identifier corresponding to the native application list of the mobile terminal is included in the search request, the server may specifically add the call identifier according to the native application list, such that the native application may display the search result more accurately so as to improve the experience of the user, and the native application may be promoted so as to have a commercial value.

In order to achieve the above embodiments, a device for displaying a search result on a mobile terminal is also provided.

FIG. 5is a block diagram of a device for displaying a search result on a mobile terminal according to an embodiment of the present disclosure.

As shown inFIG. 5, the device for displaying the search result on the mobile terminal comprises a sending module110, a receiving module120and a calling module130.

The sending module110is configured to send a search request. Specifically, a user sends the search request to a server via the sending module110of the mobile terminal. For example, the user sends the search request to the server via a browser application installed in the mobile terminal. The search request comprises a search term. In some embodiments, for example, the mobile terminal may be hardware devices having various operating systems, such as mobile phones, tablet computers, personal digital assistants, or e-book readers.

The receiving module120is configured to receive the search result containing a native application call identifier. For example, after receiving the search request comprising the search term, the receiving module120performs the search according to the search term to obtain the search result corresponding to the search term and containing the native application call identifier.

The calling module130is configured to call a native application in the mobile terminal according to the native application call identifier, and to display the search result via the native application.

Specifically, the native application, i.e. a native application, is a third-party application based on an operating system of the mobile terminal. The user of the mobile terminal may search for information, play audios, or watch videos via the native application. The native application is different from a network application, i.e. a web application. The web application needs to be networked to acquire information, while the native application runs in the mobile terminal locally without being networked. The native application call identifier is an identifier related to the native application, according to which the mobile terminal may call the native application. For example, if the search result is a video result, the mobile terminal may call a corresponding video player according to the corresponding call identifier.

The mobile terminal sends the call instruction containing the native application call identifier to the local service of the mobile terminal according to the native application call identifier. The local service, like a web service, is present in the mobile terminal, and is shared by native applications. If there are a plurality of services, calling is performed mainly based on the highest version of service. For example, if native applications of a video type, a music type, and a picture type integrated with services v1.0, v2.0, v3.0 respectively are installed in the mobile terminal, only the service v3.0 of the picture type runs in the background of the mobile terminal to communicate with a webpage, and the native application of the video type and the native application of the music type share the service v3.0. Then, the mobile terminal starts a corresponding native application according to the call instruction via the local service, and transmits the search result to the native application via the local service so as to display the search result. For example, the mobile terminal transmits data from a search result page to the native application in accordance with the HTTP (hypertext transfer protocol) via the local service, and the native application displays the transmitted data directly.

With the device for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result contains the native application call identifier, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

FIG. 6is a block diagram of a device for displaying a search result on a mobile terminal according to another embodiment of the present disclosure.

As shown inFIG. 6, the device for displaying the search result on the mobile terminal comprises a receiving module210, a generating module220and a sending module230.

The receiving module210is configured to receive a search request. Specifically, a user sends the search request to the receiving module210via the mobile terminal. For example, the user sends the search request via a browser application installed in the mobile terminal. The search request comprises a search term. In some embodiments, for example, the mobile terminal may be hardware devices having various operating systems, such as mobile phones, tablet computers, personal digital assistants, or e-book readers.

The generating module220is configured to generate the search result containing a native application call identifier. For example, after receiving the search request, the generating module220performs the search according to the search term to obtain the search result corresponding to the search term, and adds the native application call identifier to the search result.

The sending module230is configured to send the search result to the mobile terminal, in which the mobile terminal calls a native application in the mobile terminal according to the native application call identifier, and displays the search result via the native application.

Specifically, the native application, i.e. a native application, is a third-party application based on an operating system of the mobile terminal. The user of the mobile terminal may search for information, play audios, or watch videos via the native application. The native application is different from a network application, i.e. a web application. The web application needs to be networked to acquire information, while the native application runs in the mobile terminal locally without being networked. The native application call identifier is an identifier related to the native application, according to which the mobile terminal may call the native application. For example, if the search result is a video result, the mobile terminal may call a corresponding video player according to the corresponding call identifier.

In one embodiment, calling the native application in the mobile terminal according to the native application call identifier comprises: if the search result contains the native application call identifier, the mobile terminal sends a call instruction containing the native application call identifier to a local service; and starting by the mobile terminal a corresponding native application according to the call instruction, and transmitting by the mobile terminal the search result to the native application for displaying the search result. Specifically, after obtaining the search result, the server adds the native application call identifier to the search result and supplies the search result containing the native application call identifier to the mobile terminal, and the mobile terminal sends the call instruction containing the native application call identifier to the local service of the mobile terminal according to the native application call identifier. The local service, like a web service, is present in the mobile terminal, and is shared by native applications. If there are a plurality of services, calling is performed mainly based on the highest version of service. For example, if native applications of a video type, a music type, and a picture type integrated with services v1.0, v2.0, v3.0 respectively are installed in the mobile terminal, only the service v3.0 of the picture type runs in the background of the mobile terminal to communicate with a webpage, and the native application of the video type and the native application of the music type share the service v3.0. Then, the mobile terminal starts a corresponding native application according to the call instruction via the local service, and transmits the search result to the native application via the local service so as to display the search result. For example, the mobile terminal transmits data from a search result page to the native application in accordance with the HTTP (hypertext transfer protocol) via the local service, and the native application displays the transmitted data directly.

With the device for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the search result containing the native application call identifier is generated, the mobile terminal is capable of calling the native application according to the native application call identifier and displaying the search result. Because of high information processing ability of the native application, it is possible to enhance the ability of the mobile terminal to process the search result and to display the search result more intuitively with a better displaying effect so as to improve the experience of the user.

FIG. 7is a block diagram of a device for displaying a search result on a mobile terminal according to still another embodiment of the present disclosure.

As shown inFIG. 7, the device for displaying the search result on the mobile terminal comprises a receiving module210, a generating module220and a sending module230. The generating module220comprises an acquiring unit221and an adding unit222.

The acquiring unit221is configured to acquire a type of the search result. For example, the type of the search result comprises a video type, an audio type and a picture type. More specifically, the type of the search result may be acquired according to a tag or a script application in a webpage. The acquiring of the type of the search result may be determined according to a particular webpage, which is not limited herein.

The adding unit222is configured to add the native application call identifier to the search result if the type of the search result belongs to a predetermined type to generate the search result containing the native application call identifier. For example, the predetermined type may be a video type, an audio type or a picture type. If the type of the search result belongs to the predetermined type, the native application call identifier is added to the search result, i.e. the search result of the predetermined type may be opened or displayed via the native application.

In one embodiment, the search request comprises a mobile terminal identifier corresponding to a native application list of the mobile terminal. The adding unit222is further configured to search for the native application corresponding to the type of the search result in the native application list, and to add the native application call identifier to the search result according to the native application if the native application corresponding to the type of the search result is found.

In one embodiment, the native application list is uploaded by the mobile terminal at a predetermined time interval. When the native application corresponding to the type of the search result is searched for in the native application list, if the native application corresponding to the type of the search result is found, the native application call identifier is added to the search result according to the native application, and the search result is supplied to the mobile terminal. At this time, the mobile terminal sends a call instruction containing the native application call identifier to a local service, starts a corresponding native application according to the call instruction, and transmits the search result to the native application so as to display the search result. For example, the mobile terminal transmits data from a search result page to the native application in accordance with the HTTP (hypertext transfer protocol), and the native application displays the transmitted data.

In one embodiment, the adding unit222is further configured to add a recommendation of the native application to the search result according to the type of the search result if the native application corresponding to the type of the search result is not found. At this time, the user may install the native application according to the recommendation, and then open the search result previously clicked so as to display the search result.

With the device for displaying the search result on the mobile terminal according to embodiments of the present disclosure, since the mobile terminal identifier corresponding to the native application list of the mobile terminal is included in the search request, the server may specifically add the call identifier according to the native application list, such that the native application may display the search result more accurately so as to improve the experience of the user, and the native application may be promoted so as to have a commercial value.

A computer readable storage medium according to embodiments of the present disclosure is also provided. The computer readable storage medium comprises a computer program for executing the method for displaying the search result on the mobile terminal according to the above embodiments of the present disclosure, when running on a computer.

Any process or method described in a flow chart or described herein in other ways may be understood to include one or more modules, segments or portions of codes of executable instructions for achieving specific logical functions or steps in the process, and the scope of a preferred embodiment of the present disclosure includes other implementations, which should be understood by those skilled in the art.

The storage medium mentioned above may be read-only memories, magnetic disks, CD, etc.