WO2014101647A1 - Method and apparatus for installing webpage application - Google Patents
Method and apparatus for installing webpage application Download PDFInfo
- Publication number
- WO2014101647A1 WO2014101647A1 PCT/CN2013/088836 CN2013088836W WO2014101647A1 WO 2014101647 A1 WO2014101647 A1 WO 2014101647A1 CN 2013088836 W CN2013088836 W CN 2013088836W WO 2014101647 A1 WO2014101647 A1 WO 2014101647A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- webpage
- browser
- webpage application
- application
- opened
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Definitions
- the present disclosure relates to communication technologies, and more particularly to a method and apparatus for installing a webpage application.
- webpage applications applicable to mobile terminal devices have been developed.
- these webpage application may include a 2-dimensional bar code application, a Tencent micro-blog application, a Qzone application, a my bookshelf application, and a webpage application provided to a user by an operator.
- the user may install needed webpage applications on a home page of a browser of a mobile terminal device.
- Examples of the present disclosure provide a method and apparatus for installing a webpage application.
- the webpage application may be automatically recognized and installed on a home page of a browser of a mobile terminal device.
- the method for installing a webpage application includes:
- a webpage opened by a browser includes a preset language code
- the apparatus for installing a webpage application includes:
- a sending unit configured to, if a webpage opened by a browser includes a preset language code, send a request message to a browser server through a local interface of the browser, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage;
- a receiving unit configured to receive the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application;
- a displaying unit configured to display, on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
- the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
- Figure 1 is a schematic flowchart illustrating a method for installing a webpage application according to an example of the present disclosure.
- Figure 2 is a schematic flowchart illustrating a method for installing a webpage application according to another example of the present disclosure.
- Figure 3 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to an example of the present disclosure.
- Figure 4 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure.
- Figure 5 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure.
- the examples of the present disclosure provide a method and apparatus for installing a webpage application.
- a browser of a mobile terminal device may automatically recognize and install the webpage application when opening a webpage.
- a webpage application that may be automatically recognized and installed on the home page of the browser needs to register an address of the webpage application on a browser server run at the background of the browser of the mobile terminal device.
- the address of the webpage application may be a Uniform/Universal Resource Locator (URL).
- Figure 1 is a schematic flowchart illustrating a method for installing a webpage application according to an example of the present disclosure. As shown in Figure 1, the method includes following blocks.
- a webpage opened by a browser includes a preset language code
- the browser sends a request message to a browser server through a local interface, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
- the webpage opened by the browser is a webpage application.
- the language code is preset in the webpage and is configured to call the local interface of the browser to send the request message to the browser server.
- the browser sends the request message to the browser server.
- the request message contains a URL of the opened webpage and is configured to request the browser server to send the data packet of the webpage application corresponding to the URL of the opened webpage.
- the URL of the webpage opened by the browser is the same as a URL of the webpage application requested by the browser.
- the browser server may determine whether the webpage application has been registered on the browser server.
- the browser receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
- the browser sends the request message containing the URL of the opened webpage to the browser server through the local interface.
- the browser server searches a database to determine whether the webpage application has been registered. If the browser server determines that the webpage application has been registered, the browser server sends the data packet of the webpage application to the browser.
- the browser receives the data packet of the webpage application from the browser server.
- the data packet of the webpage application contains the name, URL and identification code of the webpage application.
- the identification code may be denoted with a field "app id". The identification code corresponds to the webpage application uniquely. Even if the name of the webpage application is changed, the identification code may still identify the webpage application uniquely.
- the browser displays, on the opened webpage, information of installing the webpage application.
- the information is configured to prompt a user to install the webpage application on the home page of the browser.
- the browser may determine that the opened webpage is a valid webpage application.
- the browser displays the information of installing the webpage application according to the name, URL and identification code of the webpage application contained in the data packet of the webpage application.
- the information of installing the webpage application may prompt the user to install the webpage application on the home page of the browser.
- the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
- Figure 2 is a schematic flowchart illustrating a method for installing a webpage application according to another example of the present disclosure. As shown in Figure 2, the method includes following blocks.
- a webpage opened by a browser includes a preset javascript code
- the browser sends a request message to a browser server through a local interface, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
- the webpage opened by the browser is a webpage application.
- a javascript code is preset in the webpage and is configured to call the local interface of the browser to send the request message to the browser server.
- the browser sends the request message to the browser server.
- the request message contains a URL of the opened webpage and is configured to request the browser server to send the data packet of the webpage application corresponding to the URL of the opened webpage.
- the URL of the webpage opened by the browser is the same as a URL of the webpage application requested by the browser.
- the browser server may determine whether the webpage application has been registered on the browser server.
- the browser receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
- the browser sends the request message containing the URL of the opened webpage to the browser server through the local interface.
- the browser server searches a database to determine whether the webpage application has been registered. If the browser server determines that the webpage application has been registered, the browser server sends the data packet of the webpage application to the browser.
- the browser receives the data packet of the webpage application from the browser server.
- the data packet of the webpage application contains the name, URL and identification code of the webpage application.
- the identification code may be denoted with a field "app id". The identification code corresponds to the webpage application uniquely. Even if the name of the webpage application is changed, the identification code may still identify the webpage application uniquely.
- the browser pops up, on the opened webpage, a window of installing the webpage application.
- the window is configured to prompt a user to install the webpage application on the home page of the browser.
- the browser may determine that the opened webpage is a valid webpage application.
- the browser pops up the window of installing the webpage application according to the name, URL and identification code of the webpage application contained in the data packet of the webpage application.
- the window of installing the webpage application may prompt the user to install the webpage application on the home page of the browser.
- the browser receives an instruction of confirming to install the webpage application from the user, and generates an icon of the webpage application on the home page of the browser according to the information contained in the data packet of the webpage application, so that the user may access the webpage application through clicking the icon.
- the information contained in the data packet may be name information, icon information and URL information of the webpage application.
- the icon is generated by the browser, the user may access the webpage application through clicking the icon without needing to input the URL of the webpage application, thereby simplifying the operations of the user.
- the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
- FIG 3 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to an example of the present disclosure.
- the apparatus includes a sending unit 301, a receiving unit 302 and a displaying unit 303.
- the sending unit 301 sends a request message to a browser server through a local interface of the browser.
- the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
- the address of the webpage application may be a Uniform/Universal Resource Locator (URL)
- the webpage opened by the browser is a webpage application.
- the language code is preset in the webpage and is configured to call the local interface of the browser to send the request message to the browser server.
- the URL of the webpage opened by the browser is the same as a URL of the webpage application requested by the sending unit 301.
- the browser server may determine whether the webpage application has been registered on the browser server.
- the receiving unit 302 receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
- the browser server After receiving the request message, the browser server searches a database to determine whether the webpage application has been registered. If the browser server determines that the webpage application has been registered, the browser server sends the data packet of the webpage application to the receiving unit 302.
- the receiving unit 302 receives the data packet of the webpage application from the browser server.
- the data packet of the webpage application contains the name, URL and identification code of the webpage application.
- the identification code may be denoted with a field "app id".
- the identification code corresponds to the webpage application uniquely. Even if the name of the webpage application is changed, the identification code may still identify the webpage application uniquely.
- the displaying unit 303 displays, on the opened webpage, information of installing the webpage application. The information is configured to prompt a user to install the webpage application on the home page of the browser.
- the receiving unit 302 may determine that the opened webpage is a valid webpage application.
- the displaying unit 303 displays the information of installing the webpage application according to the name, URL and identification code of the webpage application contained in the data packet of the webpage application.
- the information of installing the webpage application may prompt the user to install the webpage application on the home page of the browser.
- the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
- Figure 4 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure.
- the apparatus includes a sending unit 401, a receiving unit 402 and a displaying unit 403.
- the sending unit 401 sends a request message to a browser server through a local interface of the browser.
- the request message contains an address of the opened webpage and is configured to request a browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
- the receiving unit 402 receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
- the displaying unit 303 displays, on the opened webpage, information of installing the webpage application.
- the information is configured to prompt a user to install the webpage application on the home page of the browser.
- the receiving unit 402 may further receive an instruction of confirming to install the webpage application from the user.
- the apparatus further includes a generating unit 404.
- the generating unit 404 may generate an icon of the webpage application on the home page of the browser according to the name, website and identification code of the webpage application contained in the data packet of the webpage application, so that the user may access the webpage application through clicking the icon.
- the displaying unit 403 may pop up, on the opened webpage, a window of installing the webpage application.
- the window is configured to prompt the user to install the webpage application on the home page of the browser.
- the preset language code may be a preset javascript code.
- the preset javascript code is configured to call the local interface of the browser to send the request message to the browser server.
- the units of the apparatus provided according to the above example may implement the processes of the methods shown in Figures 1 and 2, and are not illustrated herein.
- the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
- Figure 5 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure.
- the apparatus for installing a webpage application at least includes a storage and a processor communicating with the storage, in which the storage includes a sending instruction, a receiving instruction and a displaying instruction that can be executed by the processor.
- the storage may be a non-transitory computer readable storage medium and the sending instruction, the receiving instruction and the displaying instruction may be machine readable instructions stored in the storage.
- the processor may also execute the machine readable instructions stored in the storage.
- the sending instruction is configured to, if a webpage opened by a browser includes a preset language code, send a request message to a browser server through a local interface of the browser, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
- the receiving instruction is configured to receive the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
- the displaying instruction is configured to display, on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
- the receiving instruction is further configured to receive an instruction of confirming to install the webpage application from the user.
- the apparatus further includes:
- a generating instruction configured to generate an icon of the webpage application on the home page of the browser according to the name, website and identification code of the webpage application contained in the data packet of the webpage application, so that the user accesses the webpage application through clicking the icon.
- the displaying instruction is configured to pop up, on the opened webpage, a window of installing the webpage application.
- the preset language code is a preset javascript code
- the preset javascript code is configured to call the local interface of the browser to send the request message to the browser server.
- the memory includes a ROM/RAM, a disk, a Compact Disc (CD) and so on.
- an example of the present disclosure provides a non- transitory computer readable medium, which includes computer program codes for executing the processes of the method illustrated above.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present disclosure discloses a method and apparatus for installing a webpage application. The method is implemented as follows. If a webpage opened by a browser includes a preset language code, the browser sends a request message to a browser server through a local interface. The request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage. The browser receives the data packet of the webpage application from the browser server. The data packet of the webpage application contains a name, website and identification code of the webpage application. The browser displays, on the opened webpage, information of installing the webpage application. The information is configured to prompt a user to install the webpage application on the home page of the browser.
Description
METHOD AND APPARATUS FOR INSTALLING WEBPAGE
APPLICATION
This application claims the benefit and priority of Chinese Patent Application No. 201210580501.2, filed December 27, 2012. The entire disclosures of each of the above applications are incorporated herein by reference.
Technical Field
The present disclosure relates to communication technologies, and more particularly to a method and apparatus for installing a webpage application.
Background
Many webpage applications applicable to mobile terminal devices have been developed. For example, these webpage application may include a 2-dimensional bar code application, a Tencent micro-blog application, a Qzone application, a my bookshelf application, and a webpage application provided to a user by an operator. The user may install needed webpage applications on a home page of a browser of a mobile terminal device.
At present, the user needs to first select a webpage application from various webpage applications opened by the user, and then manually install the selected webpage application on the home page of the browser. However, this method for installing a webpage application has a low efficiency and is inconvenient for the user. Summary of the Invention
Examples of the present disclosure provide a method and apparatus for installing a webpage application. By the method and apparatus, the webpage application may be automatically recognized and installed on a home page of a browser of a mobile terminal device.
The method for installing a webpage application includes:
if a webpage opened by a browser includes a preset language code, sending, by the browser, a request message to a browser server through a local interface, wherein the request message contains an address of the opened webpage and is configured to request
the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage;
receiving, by the browser, the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application; and
displaying, by the browser on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
The apparatus for installing a webpage application includes:
a sending unit, configured to, if a webpage opened by a browser includes a preset language code, send a request message to a browser server through a local interface of the browser, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage;
a receiving unit, configured to receive the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application; and
a displaying unit, configured to display, on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
By the above method and apparatus, the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
Brief Description of Drawings
The accompanying drawings referred to in the examples are illustrated briefly hereinafter. Obviously, these accompanying drawings are some examples of the present disclosure, and according to these accompanying drawings, those skilled in the art can obtain other accompanying drawings without creative labor.
Figure 1 is a schematic flowchart illustrating a method for installing a webpage application according to an example of the present disclosure.
Figure 2 is a schematic flowchart illustrating a method for installing a webpage application according to another example of the present disclosure.
Figure 3 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to an example of the present disclosure.
Figure 4 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure.
Figure 5 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure.
Detailed Description
For simplicity and illustrative purposes, the present disclosure is described by referring mainly to examples. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure. Throughout the present disclosure, the terms "a" and "an" are intended to denote at least one of a particular element. As used herein, the term "includes" means includes but not limited to, the term "including" means including but not limited to. The term "based on" means based at least in part on.
The solution of the present disclosure is illustrated hereinafter with reference to the accompanying drawings and examples. Obviously, the described examples are only partial examples of the present disclosure, but are not all examples. The present disclosure may be represented as different forms, and thus is not limited to the described examples. According to the examples of the present disclosure, those skilled in the art can obtain other examples without creative labor, which belong to the protection scope of the present disclosure.
The examples of the present disclosure provide a method and apparatus for installing a webpage application. By the method and apparatus, a browser of a mobile terminal device may automatically recognize and install the webpage application when opening a webpage.
In an example, a webpage application that may be automatically recognized and installed on the home page of the browser needs to register an address of the webpage application on a browser server run at the background of the browser of the mobile terminal device. In this example, the address of the webpage application may be a
Uniform/Universal Resource Locator (URL).
Figure 1 is a schematic flowchart illustrating a method for installing a webpage application according to an example of the present disclosure. As shown in Figure 1, the method includes following blocks.
At block 101, if a webpage opened by a browser includes a preset language code, the browser sends a request message to a browser server through a local interface, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
In this example, the webpage opened by the browser is a webpage application. The language code is preset in the webpage and is configured to call the local interface of the browser to send the request message to the browser server.
If the webpage opened by the browser includes the preset language code, the browser sends the request message to the browser server. The request message contains a URL of the opened webpage and is configured to request the browser server to send the data packet of the webpage application corresponding to the URL of the opened webpage.
The URL of the webpage opened by the browser is the same as a URL of the webpage application requested by the browser. According to the URL of the webpage opened by the browser, the browser server may determine whether the webpage application has been registered on the browser server.
At block 102, the browser receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
The browser sends the request message containing the URL of the opened webpage to the browser server through the local interface. After receiving the request message, the browser server searches a database to determine whether the webpage application has been registered. If the browser server determines that the webpage application has been registered, the browser server sends the data packet of the webpage application to the browser. The browser receives the data packet of the webpage application from the browser server. The data packet of the webpage application contains the name, URL and identification code of the webpage application. The identification code may be denoted with a field "app id". The identification code corresponds to the webpage application uniquely. Even if the name of the webpage application is changed, the identification code
may still identify the webpage application uniquely.
At block 103, the browser displays, on the opened webpage, information of installing the webpage application. The information is configured to prompt a user to install the webpage application on the home page of the browser.
After receiving the data packet of the webpage application from the browser server, the browser may determine that the opened webpage is a valid webpage application. The browser displays the information of installing the webpage application according to the name, URL and identification code of the webpage application contained in the data packet of the webpage application. The information of installing the webpage application may prompt the user to install the webpage application on the home page of the browser.
By the method provided according to the example of the present disclosure, the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
Figure 2 is a schematic flowchart illustrating a method for installing a webpage application according to another example of the present disclosure. As shown in Figure 2, the method includes following blocks.
At block 201, if a webpage opened by a browser includes a preset javascript code, the browser sends a request message to a browser server through a local interface, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
In this example, the webpage opened by the browser is a webpage application. A javascript code is preset in the webpage and is configured to call the local interface of the browser to send the request message to the browser server.
If the webpage opened by the browser includes the preset javascript code, the browser sends the request message to the browser server. The request message contains a URL of the opened webpage and is configured to request the browser server to send the data packet of the webpage application corresponding to the URL of the opened webpage.
The URL of the webpage opened by the browser is the same as a URL of the webpage application requested by the browser. According to the URL of the webpage opened by the browser, the browser server may determine whether the webpage application has been registered on the browser server.
At block 202, the browser receives the data packet of the webpage application from
the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
The browser sends the request message containing the URL of the opened webpage to the browser server through the local interface. After receiving the request message, the browser server searches a database to determine whether the webpage application has been registered. If the browser server determines that the webpage application has been registered, the browser server sends the data packet of the webpage application to the browser. The browser receives the data packet of the webpage application from the browser server. The data packet of the webpage application contains the name, URL and identification code of the webpage application. The identification code may be denoted with a field "app id". The identification code corresponds to the webpage application uniquely. Even if the name of the webpage application is changed, the identification code may still identify the webpage application uniquely.
At block 203, the browser pops up, on the opened webpage, a window of installing the webpage application. The window is configured to prompt a user to install the webpage application on the home page of the browser.
After receiving the data packet of the webpage application from the browser server, the browser may determine that the opened webpage is a valid webpage application. The browser pops up the window of installing the webpage application according to the name, URL and identification code of the webpage application contained in the data packet of the webpage application. The window of installing the webpage application may prompt the user to install the webpage application on the home page of the browser.
At block 204, the browser receives an instruction of confirming to install the webpage application from the user, and generates an icon of the webpage application on the home page of the browser according to the information contained in the data packet of the webpage application, so that the user may access the webpage application through clicking the icon.
In an example, the information contained in the data packet may be name information, icon information and URL information of the webpage application. After the icon is generated by the browser, the user may access the webpage application through clicking the icon without needing to input the URL of the webpage application, thereby simplifying the operations of the user.
By the method provided according to the example of the present disclosure, the
webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
Figure 3 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to an example of the present disclosure. As shown in Figure 3, the apparatus includes a sending unit 301, a receiving unit 302 and a displaying unit 303.
If a webpage opened by a browser includes a preset language code, the sending unit 301 sends a request message to a browser server through a local interface of the browser. The request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
In this example, the address of the webpage application may be a Uniform/Universal Resource Locator (URL)
In this example, the webpage opened by the browser is a webpage application. The language code is preset in the webpage and is configured to call the local interface of the browser to send the request message to the browser server.
The URL of the webpage opened by the browser is the same as a URL of the webpage application requested by the sending unit 301. According to the URL of the webpage opened by the browser, the browser server may determine whether the webpage application has been registered on the browser server.
The receiving unit 302 receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
After receiving the request message, the browser server searches a database to determine whether the webpage application has been registered. If the browser server determines that the webpage application has been registered, the browser server sends the data packet of the webpage application to the receiving unit 302. The receiving unit 302 receives the data packet of the webpage application from the browser server. The data packet of the webpage application contains the name, URL and identification code of the webpage application. The identification code may be denoted with a field "app id". The identification code corresponds to the webpage application uniquely. Even if the name of the webpage application is changed, the identification code may still identify the webpage application uniquely.
The displaying unit 303 displays, on the opened webpage, information of installing the webpage application. The information is configured to prompt a user to install the webpage application on the home page of the browser.
After the receiving unit 302 receives the data packet of the webpage application from the browser server, the receiving unit 302 may determine that the opened webpage is a valid webpage application. The displaying unit 303 displays the information of installing the webpage application according to the name, URL and identification code of the webpage application contained in the data packet of the webpage application. The information of installing the webpage application may prompt the user to install the webpage application on the home page of the browser.
By the apparatus provided according to the example of the present disclosure, the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
Figure 4 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure. As shown in Figure 4, the apparatus includes a sending unit 401, a receiving unit 402 and a displaying unit 403.
If a webpage opened by a browser includes a preset language code, the sending unit 401 sends a request message to a browser server through a local interface of the browser. The request message contains an address of the opened webpage and is configured to request a browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
The receiving unit 402 receives the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
The displaying unit 303 displays, on the opened webpage, information of installing the webpage application. The information is configured to prompt a user to install the webpage application on the home page of the browser.
The receiving unit 402 may further receive an instruction of confirming to install the webpage application from the user.
In an example, the apparatus further includes a generating unit 404.
The generating unit 404 may generate an icon of the webpage application on the home page of the browser according to the name, website and identification code of the
webpage application contained in the data packet of the webpage application, so that the user may access the webpage application through clicking the icon.
The displaying unit 403 may pop up, on the opened webpage, a window of installing the webpage application. The window is configured to prompt the user to install the webpage application on the home page of the browser.
In an implementation, the preset language code may be a preset javascript code. The preset javascript code is configured to call the local interface of the browser to send the request message to the browser server.
The units of the apparatus provided according to the above example may implement the processes of the methods shown in Figures 1 and 2, and are not illustrated herein.
By the apparatus provided according to the example of the present disclosure, the webpage application may be automatically recognized and installed, thereby improving the installing efficiency of the webpage application and the experiences of the user.
Figure 5 is a schematic diagram illustrating the structure of an apparatus for installing a webpage application according to another example of the present disclosure. As shown in Figure 5, the apparatus for installing a webpage application at least includes a storage and a processor communicating with the storage, in which the storage includes a sending instruction, a receiving instruction and a displaying instruction that can be executed by the processor. The storage may be a non-transitory computer readable storage medium and the sending instruction, the receiving instruction and the displaying instruction may be machine readable instructions stored in the storage. The processor may also execute the machine readable instructions stored in the storage.
The sending instruction is configured to, if a webpage opened by a browser includes a preset language code, send a request message to a browser server through a local interface of the browser, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage.
The receiving instruction is configured to receive the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application.
The displaying instruction is configured to display, on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
In an implementation, the receiving instruction is further configured to receive an instruction of confirming to install the webpage application from the user.
In an implementation, the apparatus further includes:
a generating instruction, configured to generate an icon of the webpage application on the home page of the browser according to the name, website and identification code of the webpage application contained in the data packet of the webpage application, so that the user accesses the webpage application through clicking the icon.
In an implementation, the displaying instruction is configured to pop up, on the opened webpage, a window of installing the webpage application.
In an implementation, the preset language code is a preset javascript code, and the preset javascript code is configured to call the local interface of the browser to send the request message to the browser server.
Those skilled in the art can understand that all or part of steps in the method provided by the examples of the present disclosure may be implemented by instructing related hardware by a program, the program may be stored in a readable memory of a computer, and above method steps are included when the program is operated. The memory includes a ROM/RAM, a disk, a Compact Disc (CD) and so on.
Accordingly, an example of the present disclosure provides a non- transitory computer readable medium, which includes computer program codes for executing the processes of the method illustrated above.
Although described specifically throughout the entirety of the instant disclosure, representative examples of the present disclosure have utility over a wide range of applications, and the above discussion is not intended and should not be construed to be limiting, but is offered as an illustrative discussion of aspects of the disclosure.
What has been described and illustrated herein is an example along with some of its variations. The terms, descriptions and figures used herein are set forth by way of illustration only and are not meant as limitations. Many variations are possible within the spirit and scope of the subject matter, which is intended to be defined by the following claims— and their equivalents— in which all terms are meant in their broadest reasonable sense unless otherwise indicated.
Claims
1. A method for installing a webpage application, comprising:
if a webpage opened by a browser includes a preset language code, sending, by the browser, a request message to a browser server through a local interface, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage;
receiving, by the browser, the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application; and
displaying, by the browser on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
2. The method of claim 1, after displaying, on the opened webpage, the information of installing the webpage application, further comprising:
receiving an instruction of confirming to install the webpage application from the user.
3. The method of claim 1 or 2, further comprising:
generating an icon of the webpage application on the home page of the browser according to the name, website and identification code of the webpage application contained in the data packet of the webpage application, so that the user accesses the webpage application through clicking the icon.
4. The method of claim 3, wherein the displaying, on the opened webpage, the information of installing the webpage application comprises:
popping up, on the opened webpage, a window of installing the webpage application.
5. The method of claim 1, wherein the preset language code is a preset javascript code, and the preset javascript code is configured to call the local interface of the browser to send the request message to the browser server.
6. An apparatus for installing a webpage application, comprising:
a sending unit, configured to, if a webpage opened by a browser includes a preset language code, send a request message to a browser server through a local interface of the
browser, wherein the request message contains an address of the opened webpage and is configured to request the browser server to send a data packet of a webpage application corresponding to the address of the opened webpage;
a receiving unit, configured to receive the data packet of the webpage application from the browser server, wherein the data packet of the webpage application contains a name, website and identification code of the webpage application; and
a displaying unit, configured to display, on the opened webpage, information of installing the webpage application, wherein the information is configured to prompt a user to install the webpage application on the home page of the browser.
7. The apparatus of claim 6, wherein the receiving unit is further configured to receive an instruction of confirming to install the webpage application from the user.
8. The apparatus of claim 6 or 7, further comprising:
a generating unit, configured to generate an icon of the webpage application on the home page of the browser according to the name, website and identification code of the webpage application contained in the data packet of the webpage application, so that the user accesses the webpage application through clicking the icon.
9. The apparatus of claim 8, wherein the displaying unit is configured to pop up, on the opened webpage, a window of installing the webpage application.
10. The apparatus of claim 6, wherein the preset language code is a preset javascript code, and the preset javascript code is configured to call the local interface of the browser to send the request message to the browser server.
11. A non- transitory computer readable medium, comprising computer program codes for executing the steps in the method claimed in any of claims 1 to 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/752,679 US20150317143A1 (en) | 2012-12-27 | 2015-06-26 | Method and apparatus for installing webpage application |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210580501.2 | 2012-12-27 | ||
| CN201210580501.2A CN103902314B (en) | 2012-12-27 | 2012-12-27 | A kind of installation method of web application and device |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/752,679 Continuation US20150317143A1 (en) | 2012-12-27 | 2015-06-26 | Method and apparatus for installing webpage application |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014101647A1 true WO2014101647A1 (en) | 2014-07-03 |
Family
ID=50993655
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/088836 Ceased WO2014101647A1 (en) | 2012-12-27 | 2013-12-09 | Method and apparatus for installing webpage application |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20150317143A1 (en) |
| CN (1) | CN103902314B (en) |
| WO (1) | WO2014101647A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8725585B1 (en) | 2010-05-18 | 2014-05-13 | Google Inc. | Automatic vetting of web applications to be listed in a marketplace for web applications |
| WO2015015251A1 (en) | 2013-08-01 | 2015-02-05 | Yogesh Chunilal Rathod | Presenting plurality types of interfaces and functions for conducting various activities |
| US20160147544A1 (en) * | 2014-11-26 | 2016-05-26 | Dropbox, Inc. | Assisted client application accessibility |
| CN107704287B (en) * | 2017-09-28 | 2021-04-06 | 努比亚技术有限公司 | Installation-free method for program application, mobile terminal and computer-readable storage medium |
| CN110413169B (en) * | 2019-07-24 | 2021-11-23 | 北京小米移动软件有限公司 | Information display method, device and medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101277221A (en) * | 2008-05-15 | 2008-10-01 | 中兴通讯股份有限公司 | Deployment and application method of a network management application program |
| CN101587495A (en) * | 2009-07-08 | 2009-11-25 | 伍帝州 | Method and system for downloading and disposing application through browser and providing application entrance |
| CN102541932A (en) * | 2010-12-31 | 2012-07-04 | 联想(北京)有限公司 | Terminal equipment, server and information processing methods |
| CN102591625A (en) * | 2011-01-06 | 2012-07-18 | 友讯科技股份有限公司 | A Method of Automatically Inserting an Embedded Toolbar |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6968539B1 (en) * | 1999-09-30 | 2005-11-22 | International Business Machines Corporation | Methods and apparatus for a web application processing system |
| JP3393604B2 (en) * | 2000-09-01 | 2003-04-07 | 株式会社インターナショナルビジネスリンク | Service provision method |
| US8793650B2 (en) * | 2010-06-11 | 2014-07-29 | Microsoft Corporation | Dynamic web application notifications including task bar overlays |
| US20120166522A1 (en) * | 2010-12-27 | 2012-06-28 | Microsoft Corporation | Supporting intelligent user interface interactions |
| US8775554B2 (en) * | 2010-12-30 | 2014-07-08 | Microsoft Corporation | Cloud-based web page applications for extending functionality |
| CN102760123B (en) * | 2011-04-25 | 2015-12-16 | 腾讯科技(深圳)有限公司 | Web application realizes layout method and the system of the many desktops in multi-work space |
| US9135445B2 (en) * | 2012-03-19 | 2015-09-15 | Google Inc. | Providing information about a web application or extension offered by website based on information about the application or extension gathered from a trusted site |
-
2012
- 2012-12-27 CN CN201210580501.2A patent/CN103902314B/en active Active
-
2013
- 2013-12-09 WO PCT/CN2013/088836 patent/WO2014101647A1/en not_active Ceased
-
2015
- 2015-06-26 US US14/752,679 patent/US20150317143A1/en not_active Abandoned
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101277221A (en) * | 2008-05-15 | 2008-10-01 | 中兴通讯股份有限公司 | Deployment and application method of a network management application program |
| CN101587495A (en) * | 2009-07-08 | 2009-11-25 | 伍帝州 | Method and system for downloading and disposing application through browser and providing application entrance |
| CN102541932A (en) * | 2010-12-31 | 2012-07-04 | 联想(北京)有限公司 | Terminal equipment, server and information processing methods |
| CN102591625A (en) * | 2011-01-06 | 2012-07-18 | 友讯科技股份有限公司 | A Method of Automatically Inserting an Embedded Toolbar |
Also Published As
| Publication number | Publication date |
|---|---|
| US20150317143A1 (en) | 2015-11-05 |
| CN103902314B (en) | 2016-03-16 |
| CN103902314A (en) | 2014-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10198410B2 (en) | Method, device and mobile terminal for restoring page | |
| CN104216905B (en) | Application sharing method and device | |
| US10015247B2 (en) | Method and background server for synchronizing application for different operation systems and version information of different browsers | |
| US10212179B2 (en) | Method and system for checking security of URL for mobile terminal | |
| CN103677549B (en) | A kind of data processing method and device | |
| JP6686165B2 (en) | Service execution method and device | |
| EP3518109A1 (en) | Method and apparatus for realizing communication between web page and native application, and electronic device | |
| WO2016187036A1 (en) | Application page quick access | |
| US20150317143A1 (en) | Method and apparatus for installing webpage application | |
| CN102904912B (en) | Method and system for downloading webpage contents | |
| WO2016101635A1 (en) | Method, apparatus and device for synchronizing login status, and computer storage medium | |
| CN106162362B (en) | Video playing method and player | |
| CN104199701A (en) | Method and device for starting applications in browser | |
| WO2014153970A1 (en) | Method and apparatus for text input protection | |
| US20140165212A1 (en) | System and methods thereof for tracking and preventing execution of restricted applications | |
| CN107124477A (en) | Processing method, terminal and the server of web site contents | |
| CN103077349B (en) | A kind of method of browser side prompting access secure information and device | |
| CN109145182B (en) | Data acquisition method and device, computer equipment and system | |
| CN102801814A (en) | Internet access method, device and system | |
| US20170111480A1 (en) | Page insertion method and device | |
| EP2998885A1 (en) | Method and device for information search | |
| CN103440281A (en) | Method, device and equipment for acquiring download file | |
| US10931771B2 (en) | Method and apparatus for pushing information | |
| CN104809122A (en) | Method and device for visiting web pages | |
| CN103793499A (en) | Method and device for obtaining application information through address bar of browser |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13869250 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05/11/2015) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13869250 Country of ref document: EP Kind code of ref document: A1 |