Patent Description:
With the continuous promotion and application of application programs, an application store provides application programs with increasingly abundant functions for terminals.

In general, when a user wants to download an application program for a possessed terminal, the user first needs to enter an application store by using the terminal, and then searches, in the application store, for an application program that needs to be downloaded and is corresponding to a system type of the terminal.

For example, <CIT> refers to filtering and promoting application store applications and <CIT> refers to detecting client capabilities.

In a process of implementing the present invention, the prior art has the following disadvantages: To acquire an application program, the user has to actively enter the application store by using the terminal, and when the user does not enter the application store for a long time, the user cannot learn a latest added application program in the application store. Consequently, the user is likely to miss a best opportunity to obtain a new application program.

To resolve a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program, embodiments of the present invention provide a method, apparatus, system for downloading an application program, and a device. This problem is solved by the subject matter of the independent claims. Further implementation forms are provided in the dependent claims.

The technical solutions provided in the embodiments of the present invention bring the following beneficial effects:
A wireless network device sends webpage content of a set webpage in the wireless network device to a terminal, the terminal acquires a system type of the terminal according to the webpage content, and the wireless network device sends, to the terminal, a download address that is provided for the terminal to download an application program and is corresponding to the system type, which resolves a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program. When a specified application program is developed and needs to be downloaded, multiple download addresses, corresponding to the system type, of the to-be-downloaded application program may be added to the wireless network device, and when the system type of the terminal is acquired, a download address that is provided for the terminal to download the application program and is corresponding to the system type may be sent to the terminal, which implements a function of actively downloading the specified application program to the terminal, and achieves an effect of ensuring that the user can grasp the best opportunity to obtain the new application program.

To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments.

To make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the embodiments of the present invention in detail with reference to the accompanying drawings.

Referring to <FIG> shows a schematic diagram of an implementation environment related to a method for pushing an application program according to a part of embodiments of the present invention. The implementation environment may include: a wireless network device <NUM> and at least one terminal <NUM>.

The wireless network device <NUM> may communicate with an external device by using a wired network or by using a wireless network, where the wireless network device <NUM> here may be a wireless router or the like.

The terminal <NUM> may be connected to the wireless network device <NUM> by using a wired network or by using a wireless network, and acquires data of an external network by using the wireless network device <NUM>. The terminal <NUM> may be an electronic device on which a browser runs, where the electronic device may be a smart phone, a tablet computer, a smart television set, an eBook reader, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer <NUM>), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer <NUM>) player, a laptop computer, a desktop computer or the like.

Referring to <FIG> shows a method flowchart of a method for pushing an application program according to an embodiment of the present invention. In this embodiment, that the method for pushing an application program is applied to the wireless network device <NUM> shown in <FIG> is used as an example for description. The method for pushing an application program may include:
<NUM>. Receive a connection request for establishing a connection to the wireless network device that is sent by a terminal.

Generally, when the terminal needs to establish a network connection to the wireless network device, the terminal generally sends, to the wireless network device, a connection request for establishing the connection. Accordingly, the wireless network device may receive the connection request for establishing a connection to the wireless network device that is sent by the terminal. The connection request may be a request message, or may be a webpage address.

Send a specified webpage address to the terminal, and the terminal acquires a system type of the terminal according to webpage content corresponding to the received specified webpage address and sends the system type to the wireless network device.

After the wireless network device receives the connection request sent by the terminal, if an application program needs to be pushed to the terminal, the terminal may be redirected, that is, the specified webpage address is sent to the terminal. The specified webpage address is generally an address of a set webpage in the wireless network device. A homepage address of a set webpage in an existing wireless network device may be http://<NUM>. <NUM>/html/index. html by default. Generally, the set webpage in the wireless network device may be a webpage used to set the wireless network device, for example, setting whether the wireless network device enables a wireless function, setting a login user and a login password of the wireless network device, and setting a function of a firewall in the wireless network device.

In practical application, installation packages of application programs corresponding to different system types are different. Therefore, when an application program is pushed to the terminal, the system type of the terminal generally needs to be acquired first. The set webpage generally includes a running script for acquiring a system type of a terminal. When the wireless network device needs to push an application program to the terminal, the webpage address of the set webpage may be sent to the terminal and a browser of the terminal loads the running script of the set webpage. The running script may automatically acquire the system type of the terminal, and send the system type to the wireless network device.

Receive the system type sent by the terminal.

Accordingly, the wireless network device may receive the system type sent by the terminal.

Send, to the terminal, a push address that is provided for the terminal to download an application program and is corresponding to the system type.

The wireless network device sends the push address of the to-be-pushed application program to the terminal, where the push address is corresponding to the system type of the terminal.

For example, when the push address of the to-be-pushed application program includes a download address, corresponding to a MuNi system, of the application program and a download address, corresponding to an andio system, of the application program, and when the acquired system type of the terminal is the MuNi system, the download address, corresponding to the MuNi system, of the application program is sent to the terminal.

In conclusion, according to the method for pushing an application program provided in this embodiment of the present invention, a system type of a terminal is acquired, and a download address that is provided for the terminal to download an application program and is corresponding to the system type is actively sent to the terminal, which resolves a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program. When an application program is developed and needs to be pushed, a link address of a download page of the to-be-pushed specified application program may be added to webpage content of a set webpage in a wireless network device in advance, and the wireless network device may push the link address to the terminal after acquiring the system type of the terminal, which implements a function of actively pushing the specified application program to the terminal, and achieves an effect of ensuring that the user can grasp the best opportunity to obtain the new application program.

Generally, when the terminal needs to establish a network connection to the wireless network device, the terminal generally sends, to the wireless network device, a connection request for establishing the connection. Accordingly, the wireless network device may receive the connection request for establishing a connection to the wireless network device that is sent by the terminal.

Check whether the wireless network device stores a refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive an application program pushed by the wireless network device.

In practical application, to improve friendliness to the terminal, after the terminal receives push information sent by the wireless network device for the first time, if the terminal does not want to continue to receive the push information sent by the wireless network device, a selection button that is set in the push information and is used to indicate that push is no longer received may be selected, so as to send, to the wireless network device, the refuse instruction used to indicate that the terminal refuses to receive the application program pushed by the wireless network device.

Accordingly, after receiving the connection request sent by the terminal, the wireless network device checks whether the wireless network device stores the refuse instruction sent by the terminal. If the wireless network device stores the refuse instruction sent by the terminal, a push operation is no longer continued, but page content related to the connection request is normally acquired from a server and is sent to the terminal; if the wireless network device does not receive the refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive the application program pushed by the wireless network device, step <NUM> is executed.

If a check result is that the wireless network device does not store the refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive the application program pushed by the wireless network device, send a specified webpage address to the terminal, and the terminal acquires a system type of the terminal according to webpage content corresponding to the received specified webpage address and sends the system type to the wireless network device.

The specified webpage address is a webpage address of a set webpage in the wireless network device. In practical application, the set webpage in the wireless network device may be a webpage WebUI used to set the wireless network device, for example, setting whether the wireless network device enables a wireless function, setting a login user and a login password of the wireless network device, and setting a function of a firewall in the wireless network device.

Generally, the terminal may log in to the set webpage of the wireless network device by using a browser set in the terminal. A default address of a set webpage WebUI in an existing wireless network device may be http://<NUM>. After a user enters the default address in an address bar of the browser of the terminal, the user may set related content of the set webpage in the wireless network device connected to the terminal.

Here, the specified webpage address sent by the wireless network device to the terminal may be set to a homepage address of the set webpage WebUI by default, for example, http://<NUM>. <NUM>/html/index.

The webpage content of the set webpage in the wireless network device may include a running script Javascript, a display frame HTML, and an element display mode CSS. The running script is set by the wireless network device according to a specific function. For example, the script may be used to display the webpage content, may be used to acquire the system type of the terminal, may be used to send the system type to the wireless network device, may be used to jump to a link address, and the like.

After acquiring the specified webpage address of the set webpage redirected to by the wireless network device, the terminal loads the content of the set webpage. In this case, the running script in the set webpage may acquire the system type of the terminal according to an interface, in the browser, for acquiring a system type, and then the running script sends the system type to the wireless network device.

Generally, the interface for acquiring a system type of a terminal is generally set by default in a browser installed in the terminal. A type acquisition script may call the interface, in the browser, for acquiring a system type of a terminal, so as to acquire the system type of the terminal.

In a possible implementation manner, when the terminal has dual systems, a system type acquired according to the type acquisition script is a type of a system in which a browser is currently opened. For example, the terminal may include a MuNi system and an andio system. In this case, if a browser in the MuNi system is opened, a system type that is acquired by using a type acquisition script in webpage content acquired by the browser is the MuNi system.

The wireless network device receives the system type sent by the running script in the terminal.

When one application program is to be pushed, send, to the terminal, a download address that is required when the terminal downloads the application program and that is corresponding to the system type.

When the wireless network device only needs to push one application program, the wireless network device stores a download address of the application program, where the download address of the application program is provided by a developer and may include multiple download addresses corresponding to different system types. After acquiring the system type of the terminal, the wireless network device may push, to the terminal, a download address, corresponding to the system type, of the application program.

For example, the wireless network device stores a first download address and a second download address of an application program A, where a download page corresponding to the first download address includes an installation package that may be used in the MuNi system, and a download page corresponding to the second download address includes an installation package that may be used in the andio system. When the system type that is sent by the terminal and is received by the wireless network device is the MuNi system, the wireless network device pushes the first download address to the terminal; when the system type that is sent by the terminal and is received by the wireless network device is the andio system, the wireless network device pushes the second download address to the terminal.

Accordingly, after acquiring the download address, the terminal may load a download page corresponding to the download address, where the download page includes an installation package of the application program that may be installed in the terminal, and the terminal user may select whether to download the installation package.

When two or more application programs are to be pushed, send, to the terminal, a webpage address of a recommended webpage corresponding to the system type, where the recommended webpage includes download addresses of all to-be-pushed application programs.

When two or more application programs are to be pushed by the wireless network device to the terminal, the webpage address of the recommended webpage that includes a download address of each application program may be pushed to the terminal, that is, the recommended webpage includes download addresses of two or more application programs, and these download addresses are all corresponding to a same system type.

For example, there may be a webpage address of a recommended webpage <NUM> and a webpage address of a recommended webpage <NUM> in the wireless network device, where the recommended webpage <NUM> corresponding to a system <NUM> may include a download address a1 of an application program A and a download address b1 of an application program B, and the recommended webpage <NUM> corresponding to a system <NUM> may include a download address a2 of the application program A and a download address b2 of the application program B. When determining that the system type of the terminal is the system <NUM>, the wireless network device sends the webpage address of the recommended webpage <NUM> to the terminal; when determining that the system type of the terminal is the system <NUM>, the wireless network device sends the webpage address of recommended webpage <NUM> to the terminal.

In a possible implementation manner, after receiving the webpage address of the recommended webpage, the terminal loads the recommended webpage. In this case, the running script may send a loading request to the wireless network device, so as to confirm with the wireless network device a download address of an application program that needs to be loaded. Accordingly, the wireless network device receives the loading request that is sent when the terminal loads content of the recommended webpage; the wireless network device checks whether a notification message that is sent by the terminal and is used to indicate that the terminal has installed a specified application program is received; and if a check result is that the notification message that is sent by the terminal and is used to indicate that the terminal has installed the specified application program is received, the wireless network device sends, to the terminal, an instruction of not loading a download address of the specified application program, and the terminal displays a page of a recommended webpage that includes download addresses of all other to-be-pushed application programs than the specified application program. That is, when the terminal has installed one or more application programs that the wireless network device needs to push, these application programs may send, to the wireless network device, a notification message indicating that an application program has been installed in the terminal. After acquiring the notification message, the wireless network device determines whether the application program is the same as the to-be-pushed application program. If the application program is the same as the to-be-pushed application program, the wireless network device does not push the application program to the terminal any longer, but only pushes another application program to the terminal.

It should be noted that because the wireless network device may randomly set the running script of the foregoing set webpage. For example, the running script may be set to directly jump to the download page of the to-be-pushed application program according to the system type after the system type is acquired. For another example, the running script may be set to directly display, after the system type is acquired and on a page of a browser, download addresses that are of multiple application programs pushed by the wireless network device and are corresponding to the system type. When the user selects a download address of one application program thereof, the running script jumps to the download page of the download address. That is, in practical application, functions of the running script may be all set in advance, and the wireless network device may no longer be queried when the download page of the to-be-pushed application program or a recommended webpage that includes a fast navigation option is displayed.

For example, when the wireless network device needs to push multiple application programs to the terminal, if the running script of the set webpage acquires the system type, the running script may further execute the following steps:.

First, display a shortcut navigation option of the download page of the specified application program corresponding to the system type.

A function of displaying the shortcut navigation option of the download page of the specified application program corresponding to the system type is set by the wireless network device in advance. The shortcut navigation option mentioned here is corresponding to the link address of the download page. For example, the shortcut navigation option may be an application program icon set in a page of a webpage in a browser. The application program icon is correlated with a link address of a corresponding download page, for example, a shortcut navigation option shown in <FIG> is a schematic diagram of a shortcut navigation option according to a part of embodiments. For another example, the shortcut navigation option may further be a link address set in a page of a webpage in a browser. The link address is a webpage address of a download page of an application program, for example, a shortcut navigation option shown in <FIG> is a schematic diagram of a shortcut navigation option according to another part of embodiments.

Generally, the terminal may display these shortcut navigation options by using an already opened browser, and specific content and a presentation form of a page that displays the shortcut navigation option are implemented by HTML and CSS in a WebUI.

Afterwards, after a determining request that is generated when the user selects one shortcut navigation option thereof is received, a download page corresponding to the shortcut navigation option corresponding to the determining request is displayed.

When the user selects one shortcut navigation option thereof, accordingly, the terminal may receive the determining request that is generated when the user selects the shortcut navigation option. In this case, according to the functions set for the running script by the wireless network device in advance, the running script may directly display the download page corresponding to the shortcut navigation option corresponding to the determining request.

After receiving the determining request, the terminal displays the download page corresponding to the shortcut navigation option corresponding to the determining request, that is, a browser in the terminal jumps to the download page corresponding to the shortcut navigation option corresponding to the determining request.

For example, still referring to <FIG>, when the user selects a shortcut navigation option of "Minnie bear alarm clock", the browser of the terminal jumps to a download page corresponding to "Minnie bear alarm clock".

For another example, referring to <FIG>, when the user selects a link address whose URL is "Minnie bear alarm clock", that is: http://app. , the browser of the terminal displays the download page corresponding to "Minnie bear alarm clock".

Here, it should be noted that content in <FIG> is only an exemplary example. Display of the shortcut navigation option and corresponding text description, a property of the shortcut navigation option and a property of a text are all determined by the HTML and the CSS in the WebUI. Therefore, content related to the shortcut navigation option may be displayed according to an actual need.

To more clearly learn a process in which the terminal and the wireless network device complete pushing the specified application program, reference may be made to description in <FIG>.

Referring to <FIG> shows a method flowchart of still another method for pushing an application program according to the present invention. In this embodiment, that the method for pushing an application program is applied to the implementation environment shown in <FIG> is used as an example for description. The method for pushing an application program may include:.

A terminal sends, to a wireless network device, a connection request for establishing a connection to the wireless network device.

For example, referring to <FIG> shows a schematic diagram when a wireless network device redirects a terminal for the first time according to an embodiment of the present invention. A mobile phone browser (that is, the terminal) sends the connection request to the wireless network device, where the connection request includes a random URL=www. com (the webpage address is only an exemplary example). After receiving the connection request, the wireless network device redirects a link address of the terminal to a webpage address of a set webpage in the wireless network device (that is, an address of a WebUI). The webpage address may be: URL=<NUM>. <NUM>/html/index.

The wireless network device receives the connection request.

The wireless network device checks whether a refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive an application program pushed by the wireless network device is stored.

If a check result is that the wireless network device does not store the refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive the application program pushed by the wireless network device, send a specified webpage address to the terminal.

For example, when the terminal has permission to change settings of the wireless network device, the terminal may select to refuse some or all specified application programs pushed by the wireless network device to the terminal. Accordingly, after verifying an identity of a user, the wireless network device no longer pushes, to the terminal, a specified application program refused by the terminal.

The specified webpage address mentioned here is the webpage address of the set webpage in the wireless network device, where the set webpage is a webpage used to set the wireless network device, which is described in detail in the foregoing embodiments and is not described in detail herein again to avoid redundancy.

The terminal receives the specified webpage address sent by wireless network device.

The terminal sends, to the wireless network device, a webpage content acquisition request used to acquire webpage content of a set webpage corresponding to the specified webpage address.

The webpage content mentioned here may include a type acquisition script used to acquire a system type of the terminal and at least one link address of a download page of a specified application program corresponding to the system type of the terminal.

Generally, the webpage content of the set webpage in the wireless network device may include a running script Javascript, a display frame HTML, and an element display mode CSS.

After receiving the specified webpage address sent by the wireless network device, the terminal sends, to the wireless network device, the webpage content acquisition request used to acquire the webpage content of the set webpage corresponding to the specified webpage address.

In practical application, the terminal may send an Http request carrying the foregoing specified webpage address to the wireless network device, so as to acquire the webpage content of the webpage corresponding to the specified webpage address.

Referring to <FIG> shows a schematic diagram of acquiring a webpage address of a set webpage by a terminal by using an Http request according to an embodiment of the present invention. The set webpage WebUI in the wireless network device includes the Javascript, the HTML, and the CSS, and the terminal sends the Http request including the WebUI to the wireless network device.

The wireless network device receives the webpage content acquisition request sent by the terminal.

The wireless network device sends the webpage content of the set webpage to the terminal.

The webpage content includes the type acquisition script used to acquire the system type of the terminal.

The terminal receives the webpage content sent by wireless network device.

Still, referring to <FIG>, when receiving the Http request that is sent by the terminal and is used to acquire the WebUI in the wireless network device, the wireless network device sends all content of the WebUI to the terminal. Accordingly, the terminal receives all the content of the WebUI.

The terminal acquires a system type of the terminal according to a type acquisition script in the webpage content.

That the terminal acquires a system type of the terminal according to a type acquisition script in the webpage content may include: executing the type acquisition script in the webpage content; and calling, by using the type acquisition script, an interface that is in a browser and is used to acquire the system type of the terminal, so as to acquire the system type of the terminal.

The terminal sends the system type to the wireless network device.

The wireless network device receives the system type.

The wireless network device sends, to the terminal, a push address that is provided for the terminal to download an application program and is corresponding to the system type.

In practical application, the wireless network device may push one, two, or multiple specified application programs to the terminal. When the wireless network device pushes one specified application program to the terminal, after acquiring the system type of the terminal, the wireless network device sends, to the terminal, a push address that is required when the terminal downloads the application program and that is corresponding to the system type. Accordingly, a browser in the terminal may directly jump to a download page of the specified application program corresponding to the system type.

When two or more application programs are to be pushed by the wireless network device to the terminal, the wireless network device sends, to the terminal, a webpage address of a recommended webpage corresponding to the system type, where the recommended webpage includes download addresses of all to-be-pushed application programs. Accordingly, the running script in the terminal may execute the following steps:
First, display a shortcut navigation option of a download page of a specified application program corresponding to the system type.

The shortcut navigation option mentioned here is corresponding to a link address of the download page. For example, the shortcut navigation option may be an application program icon set in a page of a webpage in a browser. The application program icon is correlated with a link address of a corresponding download page, for example, a shortcut navigation option shown in <FIG>. For another example, the shortcut navigation option may further be a link address set in a page of a webpage in a browser. The link address is a webpage address of the download page of the application program, for example, a shortcut navigation option shown in <FIG>.

Generally, before displaying the shortcut navigation option of the download page of the specified application program corresponding to the system type, the running script sends a loading request to the wireless network device. After receiving the loading request, to ensure that some application programs that have been installed in the terminal are pushed again, the wireless network device checks whether a notification message that is sent by the terminal and is used to indicate that the terminal has installed a specified application program is received. If a check result is that the notification message that is sent by the terminal and is used to indicate that the terminal has installed the specified application program is received, the wireless network device sends, to the terminal, an instruction of not loading a download address of the specified application program, and the browser in the terminal displays a page of a recommended webpage that includes download addresses of all other to-be-pushed application programs than the specified application program.

Second, receive a determining request that is generated when one shortcut navigation option thereof is selected.

When the user selects one shortcut navigation option thereof, accordingly, the terminal may receive the determining request that is generated when the user selects the shortcut navigation option.

Third, display a download page corresponding to the shortcut navigation option corresponding to the determining request.

For example, when an existing mobile phone terminal sets a function of the wireless network device, the mobile phone terminal generally logs in to the WebUI inside the wireless network device to perform setting. Because an operation on the WebUI is performed in the mobile phone terminal by using a webpage, the webpage responds in a relatively low speed. However, an application program installed in the mobile phone terminal is processed faster than that in the webpage. Therefore, an application program that can be installed in the mobile phone terminal and is used to control the wireless network device may be developed. However, many users of mobile phone terminals generally do not know the newly developed application program that may be used to control the wireless network device. Therefore, the developed application program needs to be actively pushed to the terminal. In this case, the wireless network device may push, according to this embodiment of the present invention, the application program to the terminal connected to the wireless network device. In this way, the users can quickly set the wireless network device according to the application program.

It should be additionally explained that in practical application push, if there is a new specified application program that needs to be pushed by using the wireless network device, the wireless network device may be upgraded, that is, a script used to push the specified application program is added to the running script of the webpage content of the set webpage in the wireless network device. Apparently, because when the specified application program is pushed to the terminal, information such as the shortcut navigation option corresponding to the specified application program needs to be displayed, the HTML and the CSS need to be accordingly modified in the webpage content of the set webpage, so that the terminal displays the information such as the shortcut navigation option corresponding to the specified application program.

In conclusion, according to the method for pushing an application program in this embodiment of the present invention, a wireless network device sends webpage content of a set webpage in the wireless network device to a terminal, so as to acquire a system type of the terminal, and a push address that is of an application program and is corresponding to the system type is pushed to the terminal, which resolves a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program. When a specified application program is developed and needs to be pushed, multiple download addresses that are of the application program and are corresponding to all system types may be added to the wireless network device, and when the system type of the terminal is acquired according to the webpage content, a download address that is of the application program and is corresponding to the system type of the terminal is pushed to the terminal, which implements a function of actively pushing the specified application program to the terminal, and achieves an effect of ensuring that the user can grasp the best opportunity to obtain the new application program.

The following are apparatus embodiments of the present invention. For details not described in detail, refer to the foregoing corresponding method embodiments.

Referring to <FIG> shows a schematic structural diagram of an apparatus for pushing an application program according to still another embodiment of the present invention. In this embodiment, that the apparatus for pushing an application program is applied to the wireless network device <NUM> in <FIG> is used as an example for description. The apparatus for pushing an application program may include but is not limited to: a first receiving module <NUM>, a first sending module <NUM>, a second receiving module <NUM>, and a second sending module <NUM>.

The first receiving module <NUM> may be configured to control a receiver to receive a connection request for establishing a connection to the wireless network device that is sent by a terminal;.

In conclusion, according to the apparatus for pushing an application program in this embodiment of the present invention, a wireless network device sends webpage content of a set webpage in the wireless network device to a terminal, so as to acquire a system type of the terminal, and a push address that is of an application program and is corresponding to the system type is pushed to the terminal, which resolves a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program. When a specified application program is developed and needs to be pushed, multiple download addresses that are of the application program and are corresponding to all system types may be added to the wireless network device, and when the system type of the terminal is acquired according to the webpage content, a download address that is of the application program and is corresponding to the system type of the terminal is pushed to the terminal, which implements a function of actively pushing the specified application program to the terminal, and achieves an effect of ensuring that the user can grasp the best opportunity to obtain the new application program.

In a first possible implementation manner of this embodiment, the second sending module <NUM> includes: a first sending unit 608a and a second sending unit 608b.

The first sending unit 608a may be configured to: when one application program is to be pushed, control the transmitter to send, to the terminal, a download address that is required when the terminal downloads the application program and that is corresponding to the system type; and
the second sending unit 608b may be configured to: when two or more application programs are to be pushed, control the transmitter to send, to the terminal, a webpage address of a recommended webpage corresponding to the system type, where the recommended webpage includes download addresses of all to-be-pushed application programs.

In a second possible implementation manner of this embodiment, the apparatus for pushing an application program may further include: a third receiving module <NUM>, a first checking module <NUM>, and a third sending module <NUM>.

The third receiving module <NUM> is configured to control the receiver to receive a loading request that is sent when the terminal loads content of the recommended webpage;.

In a third possible implementation manner of this embodiment, the apparatus for pushing an application program may further include a second checking module <NUM>.

The second checking module <NUM> may be configured to control the processor to check whether the wireless network device stores a refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive an application program pushed by the wireless network device; where
the first sending module <NUM> may further be configured to: when a check result of the second checking module <NUM> is that the wireless network device does not store the refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive the application program pushed by the wireless network device, control the transmitter to send the specified webpage address to the terminal.

It should be noted that, when the apparatus for pushing an application program provided in the foregoing embodiment pushes the application program, description is given only by using division of the foregoing functional modules. In practical application, functions may be allocated to different functional modules for implementation as required. That is, an internal structure of the wireless network device is divided into different functional modules to implement all or part of the functions described in the foregoing. In addition, the apparatus for pushing an application program provided in the foregoing embodiments pertains to a same concept as that of the embodiments of the method for pushing an application program, and reference may be made to the method embodiments for a specific implementation process of the apparatus for pushing an application program, which is not described herein again.

Referring to <FIG> shows a schematic structural diagram of a wireless network device according to an embodiment of the present invention, where the wireless network device <NUM> may be the wireless network device <NUM> in <FIG>. The wireless network device <NUM> may include but is not limited to: a receiver <NUM> and a transmitter <NUM>.

The receiver <NUM> may be configured to receive a connection request for establishing a connection to the wireless network device that is sent by a terminal;.

In conclusion, according to the wireless network device provided in this embodiment of the present invention, a wireless network device sends webpage content of a set webpage in the wireless network device to a terminal, so as to acquire a system type of the terminal, and a push address that is of an application program and is corresponding to the system type is pushed to the terminal, which resolves a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program. When a specified application program is developed and needs to be pushed, multiple download addresses that are of the application program and are corresponding to all system types may be added to the wireless network device, and when the system type of the terminal is acquired according to the webpage content, a download address that is of the application program and is corresponding to the system type of the terminal is pushed to the terminal, which implements a function of actively pushing the specified application program to the terminal, and achieves an effect of ensuring that the user can grasp the best opportunity to obtain the new application program.

Referring to <FIG> shows a schematic structural diagram of a wireless network device according to another embodiment of the present invention, where the wireless network device <NUM> may be the wireless network device <NUM> in <FIG>. The wireless network device <NUM> may include but is not limited: a receiver <NUM>, a processor <NUM>, a transmitter <NUM>, and a memory <NUM>, where the processor <NUM> is coupled to the receiver <NUM>, the transmitter <NUM>, and the memory <NUM> respectively. The memory <NUM> stores at least one type of computer software, and the processor <NUM> may execute a related operation according to this type of computer software.

In a first possible implementation manner of this embodiment, the processor <NUM> may be configured to: when one application program is to be pushed, send, to the terminal, a download address that is required when the terminal downloads the application program and that is corresponding to the system type; and
the transmitter <NUM> may be configured to: when two or more application programs are to be pushed, send, to the terminal, a webpage address of a recommended webpage corresponding to the system type, where the recommended webpage includes download addresses of all to-be-pushed application programs.

In a second possible implementation manner of this embodiment, the receiver <NUM> may be configured to receive a loading request that is sent when the terminal loads content of the recommended webpage;.

In a third possible implementation manner of this embodiment, the processor <NUM> may check whether the wireless network device stores a refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive the application program pushed by the wireless network device; and
the transmitter <NUM> may further be configured to: when a check result of the processor <NUM> is that the wireless network device does not store the refuse instruction that is sent by the terminal and is used to indicate that the terminal refuses to receive the application program pushed by the wireless network device, control the transmitter to send the specified webpage address to the terminal.

Referring to <FIG> shows a schematic structural diagram of a system for pushing an application program according to an embodiment of the present invention, where the system <NUM> for pushing an application program may include a wireless network device <NUM> and at least one terminal <NUM>, where the wireless network device <NUM> is connected to the terminal <NUM> by using a wired network or by using a wireless network.

The wireless network device <NUM> may be the apparatus for pushing an application program described in <FIG>, or may be the wireless network device shown in <FIG>.

In conclusion, according to the system for pushing an application program provided in this embodiment of the present invention, when a push condition is met, a wireless network device sends webpage content of a set webpage in the wireless network device to a terminal, and the terminal acquires a system type of the terminal according to the webpage content and displays a download page that is corresponding to the system type and is of a specified application program, which resolves a problem in the prior art that a user is likely to miss a best opportunity to obtain a new application program. When a specified application program is developed and needs to be pushed, a download page of the to-be-pushed specified application program may be added to the webpage content of the set webpage in the wireless network device, and when the system type of the terminal is acquired according to the webpage content, a link address of the download page that is corresponding to the system type and is of the specified application program may be displayed, which implements a function of actively pushing the specified application program to the terminal, and achieves an effect of ensuring that the user can grasp the best opportunity to obtain the new application program.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division may merely be logical function division and may be other division in actual implementation. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces.

When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in a form of a software product. The software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.

Claim 1:
A method performed by a system comprising a wireless router and a terminal, wherein the method comprises:
a.) receiving (S201), by the wireless router from the terminal, a connection request for establishing a connection to the wireless router;
b.) sending (S202), by the wireless router, a specified webpage address to the terminal, wherein the specified webpage address is an address of a predefined webpage in the wireless router and the predefined webpage includes a script;
c.) receiving, by the terminal, the specified webpage address from the wireless network device, loading the script, by a browser of the terminal, and acquiring, by the script, the operating system type of the terminal;
d.) receiving (S203), by the wireless router from the terminal, the operating system type of the terminal;
e.) sending, by the wireless router, a download address to the terminal, wherein the download address is for the terminal to download an application program and is corresponding to the operating system type (S204), and
f.) downloading, by the terminal, according to the download address the application program.