The present disclosure relates to the field of user interface technologies, and in particular, to a network speed indication method and a mobile device.
With the development of wireless communication technologies, for example, a Wireless Fidelity (WiFi) technology and a 2G (second-generation mobile communication)/3G (third-generation mobile communication) technology, a user may access a network in a wireless access manner and acquire information from the network, so that implementation of information acquisition by a user from a network is not limited to network cabling any longer, which greatly facilitates work and life of people.
However, a network environment of a wireless network is unstable. When a user cannot clearly learn of a current data transmission speed of a wireless network, a data loss or an error may occur when the user receives data from the wireless network. In the existing technology, the following manner is used to indicate a speed at which data is received from a wireless network to a user: Speeds at which a user receives data from a wireless network are divided into levels, a different data downloading speed is mapped to a different number of signal bars, and the number of signal bars is displayed at the top right corner of a user interface of a mobile device, so that a user may learn of, according to the number of displayed signal bars, a speed at which data is received from a wireless network currently.
However, the existing technology at least has the following problems: When a user displays acquired network content in full screen, the number of currently displayed signal bars cannot be displayed, so that when the network content is displayed in a browser in full screen, the user cannot learn about a speed at which data can be received from a wireless network currently.
According to an aspect, an embodiment of the present disclosure provides a network speed indication method performed at a mobile device having one or more processors and memory for storing one or more programs to be executed by the one or more processors, the method including:
establishing a data communication connection with a wireless network;
detecting a data downloading speed at which the currently running application receives data from the wireless network and renders the data on a user interface of the application and renders the data on a user interface of the currently running application;
obtaining, according to the detected data downloading speed, a speed indicator corresponding to the data downloading speed, so as to update the user interface of the currently running application;
updating the user interface of the currently running application in accordance with the speed indicator corresponding to the data downloading speed, so that a user learns of the data downloading speed according to the update user interface; and
after receiving an application switch request from a user of the mobile device, acquiring, from the wireless network, application content that is suitable for the data downloading speed.
According to another aspect, an embodiment of the present disclosure provides a mobile device having one or more processors, memory, and one or more program modules stored in the memory and to be executed by the one or more processors, the one or more program modules further comprising:
a detection module, configured to detect a data downloading speed when a currently running application receives data from a wireless network and renders the data on a user interface of the currently running application;
a processing module, configured to obtain, according to the detected data downloading speed, a speed indicator corresponding to the data downloading speed, so as to update the user interface of the currently running application;
a display module, configured to update the user interface of the currently running application in accordance with the speed indicator corresponding to the data downloading speed, so that a user learns of the data downloading speed according to the update user interface; and
an application switch module, configured to acquire, from the wireless network, application content that is suitable for the data downloading speed after receiving an application switch request from a user of the mobile device.
To describe the technical solutions of the embodiments of the present disclosure more clearly, the accompanying drawings for illustrating the embodiments will be introduced briefly in the following. Apparently, the accompanying drawings in the following description are only some embodiments of the present disclosure, and a person of ordinary skill in the art may obtain other drawings based on these accompanying drawings without creative efforts.
To make the objectives, technical solutions, and advantages of the present disclosure clearer, the following further describes the implementation manners in the present disclosure in detail with reference to the accompanying drawings.
According to each embodiment, a mobile terminal that may be used as an example includes, but is not limited to, a tablet computer (the tablet computer includes, but is not limited to, an Apple iPad and another touchscreen device running an Apple iOS, a Microsoft Surface and another touchscreen device running a Windows operating system, and another tablet device running an Android operating system), a mobile phone, a smart phone (the smart phone includes, but is not limited to, an Apple iPhone, a Windows phone, another smart phone running a Windows Mobile or Pocket PC operating system, and a smart phone running an Android operating system, a Blackberry operating system, or a Symbian operating system), an e-reader (the e-reader includes, but is not limited to, an Amazon Kindle and a Barnes & Noble Nook), a portable computer (the portable computer includes, but is not limited to, a computer running an Apple Mac operating system, a Windows operating system, an Android operating system and/or a Google Chrome operating system), or an on-board device running any of the foregoing operating systems or any of other operating systems. The foregoing examples of a mobile terminal are all common knowledge of a person skilled in the art.
This embodiment provides a network speed indication method, including:
Step 101: A mobile device detects a data downloading speed when a currently running application receives data from a wireless network and renders the data on a user interface of the currently running application.
Step 102: The mobile device obtains, according to the detected data downloading speed, a speed indicator corresponding to the data downloading speed, so as to update the user interface of the currently running application.
Step 103: The mobile device updates the user interface of the currently running application in accordance with the speed indicator corresponding to the data downloading speed, so that a user learns of the data downloading speed according to the update user interface.
According to the foregoing technical solution, a mobile device updates, according to a detected data downloading speed when data is received from a wireless network, a user interface of a currently running application, and includes a speed indicator corresponding to the data downloading speed in the user interface, so that a speed at which data is received from the wireless network currently is indicated to a user. The indication manner is diversified and intuitive and a problem that a speed at which data is received from a network cannot be indicated in full screen in the existing technology can be overcome.
The following describes the technical solution shown in
Step 201: A mobile device establishes a data communications connection with a wireless network.
Specifically, the mobile device may be connected to the wireless network by using a wireless Access Point (AP) and establishes the communications connection with the wireless network, or the mobile device may be connected to the wireless network by using an access base station to establish the communications connection with the wireless network. Therefore, after the communications connection is established between the mobile device and the wireless network, the mobile device may request to acquire needed data information from the wireless network by means of an application, for example, a browser built in the mobile device.
Step 202: When acquiring application content from the wireless network by means of a currently-running application, the mobile device detects a data downloading speed at which the currently running application receives data from the wireless network and renders the data on a user interface of the application, where the application content includes a video, audio, a text, or a web page.
For details about a manner of detecting the data downloading speed when data is received from the wireless network, reference may be made to related description in the existing technology, which is not further described herein.
Step 203: The mobile device obtains, according to the detected data downloading speed, a speed indicator corresponding to the data downloading speed, so as to update the user interface of the currently running application.
Specifically, according to a correspondence between the data downloading speed and the indication pattern, an indication pattern corresponding to the data downloading speed is obtained, where the indication pattern specifically includes a display background, a display skin, or a display theme; and the obtained indication pattern is added to the user interface, so as to obtain a speed indicator corresponding to the data downloading speed.
That the obtained indication pattern is added to the user interface, so as to obtain a speed indicator corresponding to the data downloading speed may include:
when the obtained indication pattern is a display background, setting a background of the user interface with the obtained display background, so as to obtain the speed indicator corresponding to the data downloading speed;
when the obtained indication pattern is a display theme, setting a theme of the user interface to the obtained display theme, so as to obtain the speed indicator corresponding to the data downloading speed; or
when the obtained indication pattern is a display skin, setting a skin of the user interface to the obtained display skin, so as to obtain the speed indicator corresponding to the data downloading speed.
In this embodiment, a correspondence between a speed and an indication pattern may be shown as Table 1, Table 2, or Table 3.
For example, when it is detected that a speed at which data is received from a wireless network is 70 Kb/s, if a used indication pattern is a display background, it can be found from Table 1 that, an indication pattern corresponding to the speed of 70 Kb/s is a green background and then, a user interface is filled with the green background. In this way, after the display interface with the specific green background is displayed to a user, the user may know that the speed at which data is received from the wireless network currently is above 60 Kb/s.
When it is detected that a speed at which data is received from a wireless network is 40 Kb/s, if a used indication pattern is a display theme, it can be found from Table 2 that, an indication pattern corresponding to the speed of 40 Kb/s is a theme with an audio icon and then, a user interface is set to the theme with an audio icon. In this way, after the display interface with the theme with an audio icon is displayed to a user, the user may know that the speed at which data is received from the wireless network currently is 60 Kb/s to 30 Kb/s.
When it is detected that a speed at which data is received from a wireless network is 20 Kb/s, if a used indication pattern is a display skin, it can be found from Table 3 that, an indication pattern corresponding to the speed of 20 Kb/s is a skin with a text file icon and then, a user interface is set to the skin with a text file icon. In this way, after the display interface with the skin with a text file icon is displayed to a user, the user may know that the speed at which data is received from the wireless network currently is below 30 Kb/s.
Step 204: The mobile device updates the user interface of the currently running application in accordance with the speed indicator corresponding to the data downloading speed, so that a user learns of the data downloading speed according to the update user interface.
Further, in this embodiment of the present disclosure, when the speed indicator corresponding to the data downloading speed is presented in the mobile device, the indication pattern or a character is set in the speed indicator corresponding to the data downloading speed to indicate, to a user, application content that is suitable to be acquired from the wireless network at the data downloading speed.
Generally, when the data downloading speed is above 60 Kb/s, the mobile device may smoothly acquire any application content including a video from the wireless network. When the data downloading speed is 60 Kb/s to 30 Kb/s, the mobile device may smoothly acquire any application content except a video from the wireless network. When the data downloading speed is below 30 Kb/s, the mobile device is not suitable to acquire audio or a video from the wireless network.
In this way, after learning of the data downloading speed according to the update user interface in the mobile device, the user may determine whether to switch currently displayed application content according to the data downloading speed, so that the user may switch, at any time according to the known data downloading speed, to the application content that is suitable for the data downloading speed, which can improve user experience.
Based on the above descriptions, when a user learns, by a update user interface in a mobile device, that a speed at which data is received from a wireless network currently is below 30 Kb/s, but application content being currently acquired from the wireless network by the mobile device is a video, the user may know that, at a current data downloading speed, to continue with acquisition of the video from the wireless network, the time for downloading the video will become excessively long or even a case of a data loss may occur. Therefore, the user may switch from an application that currently acquires the video from the wireless network to a text application or a web page application that is suitable for the data downloading speed.
Step 205: After receiving an application switch request from a user of the mobile device, the mobile device acquires, from the wireless network, application content that is suitable for the data downloading speed.
It can be understood that, step 205 is optional in the network speed indication method according to this embodiment, and the step described herein is merely a possible subsequent processing step after the network speed indication method is used. For example, a user of the mobile device may be watching a video on the mobile device streamed down from the wireless network. The video stored at the source may have different versions corresponding to different resolutions. The user can switch to a video of higher resolution if the speed indicator suggests that the current data downloading speed supports downloading the video of higher resolution at the rate that is required for watching the video smoothly on the mobile device. Alternatively, the user can also switch to a video of lower resolution if the speed indicator suggests that the current data downloading speed has dropped such that it no longer supports downloading the video of higher resolution but can still support downloading the video of lower resolution at the rate that is required for watching the video smoothly on the mobile device. In other words, the existence of the speed indicator provides the user a choice of finding a compromise between the data downloading speed and the user experience of watching the downloaded data. This is particularly important when the wireless network's bandwidth is limited and the user may prefer a smooth experience of watching the video within a short time period over watching a high definition video at the price of frequent stops due to the limit of data downloading speed available to the mobile device.
According to the foregoing technical solution, a mobile device updates, according to a detected data downloading speed when data is received from a wireless network, a user interface of a currently running application, and includes a speed indicator corresponding to the data downloading speed in the user interface, so that a speed at which data is received from the wireless network currently is indicated to a user. An indication manner is diversified and intuitive and a problem that a speed at which data is received from a network cannot be indicated in full screen in the existing technology can be overcome.
Referring to
The detection module 301 is configured to detect a data downloading speed when a currently running application receives data from a wireless network and renders the data on a user interface of the currently running application.
The processing module 302 is configured to obtain, according to the detected data downloading speed, a speed indicator corresponding to the data downloading speed, so as to update the user interface of the currently running application.
The display module 303 is configured to update the user interface of the currently running application in accordance with the speed indicator corresponding to the data downloading speed, so that a user learns of the data downloading speed according to the update user interface.
Further, referring to
a search unit 3021, configured to obtain an indication pattern corresponding to the data downloading speed according to a correspondence between the data downloading speed and the indication pattern; and
a generation unit 3022, configured to add the obtained indication pattern to the user interface, so as to obtain a speed indicator corresponding to the data downloading speed.
Further, referring to
a first generation subunit 30221, configured to set a background of the user interface with the obtained display background, so as to obtain the speed indicator corresponding to the data downloading speed, when the obtained indication pattern is a display background;
a second generation subunit 30222, configured to set a theme of the user interface to the obtained display theme, so as to obtain the speed indicator corresponding to the data downloading speed, when the obtained indication pattern is a display theme; and
a third generation subunit 30223, configured to set a skin of the user interface to the obtained display skin, so as to obtain the speed indicator corresponding to the data downloading speed, when the obtained indication pattern is the display skin.
Further, referring to
an application switch module 304, configured to acquire, from the wireless network, application content that is suitable for the data downloading speed after receiving an application switch request from a user of the mobile device.
During specific implementation, in this embodiment, the mobile device shown in
a wireless connection module, configured to establish, before the mobile device acquires application content from the wireless network by means of a currently-running application, a communications connection with the wireless network.
According to the foregoing technical solution, a mobile device updates, according to a detected data downloading speed when data is received from a wireless network, a current user interface, and includes a speed indicator corresponding to the data downloading speed in the user interface, so that a speed at which data is received from the wireless network currently is indicated to a user. An indication manner is diversified and intuitive and a problem that a speed at which data is received from a network cannot be indicated in full screen in the existing technology can be overcome.
It should be noted that when the mobile device provided in the foregoing embodiments indicates a network speed, the foregoing division of functional modules is only used as an example for description. In practical applications, the foregoing functions may be allocated to be accomplished by different functional modules according to needs, that is, the internal structure of the mobile device is divided into different functional modules to accomplish all or some of the functions described above. In addition, the mobile device for indicating a network speed provided in the foregoing embodiments share the same concept with the embodiments of the network speed indication method, and reference may be made to the method embodiments for the specific implementation process of the apparatus, which is no longer elaborated herein.
The sequence numbers of the foregoing embodiments of the present disclosure are merely for description, and do not imply the preference among the embodiments.
In the embodiments of the present invention, the mobile device according to the embodiment of the present invention can be constructed and the network speed indication method according to the embodiment of the present invention can be implemented by running a computer program (the computer program includes program code) capable of implementing the network speed indication method according to the embodiment of the present invention, where the computer program is run in a general computer device, for example, a computer, and includes processing elements and non-transitory computer-readable storage medium such as a central processing unit (CPU), a random access memory (RAM), and a read-only memory (ROM). The computer program may be recorded in, for example, a computer readable recording medium and may be loaded, by the computer readable recording medium, and run in the foregoing computing device.
The foregoing descriptions are merely preferred embodiments of the present disclosure, but are not intended to limit the present disclosure. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure shall fall within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210398029.0 | Oct 2012 | CN | national |
This application is a continuation application of PCT Patent Application No. PCT/CN2013/079147, entitled “NETWORK SPEED INDICATION METHOD AND MOBILE DEVICE” (also translated as “METHOD FOR PROMPTING NETWORK SPEED AND MOBILE DEVICE”), filed on Jul. 10, 2013, which claims priority to Chinese Patent Application No. 201210398029.0, entitled “NETWORK SPEED INDICATION METHOD AND MOBILE DEVICE” filed on Oct. 18, 2012, which is incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2013/079147 | Jul 2013 | US |
Child | 14679633 | US |