The present disclosure relates to a terminal device having an interface showing network information, and a method for generating the interface.
Networks play an important role in our daily life. Network traffic and network speed are key terms for measuring network status. Usually, a user can get information about the network traffic and speed by clicking an icon generated by software.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The processing unit 20 includes an obtaining module 21, a generating module 22 and a display control module 23.
The obtaining module 21 obtains real-time signal strength of the network connecting the terminal device 100 and the server, real-time upload information and real-time download information between the terminal device 100 and the server. In at least one embodiment, the signal strength of the network includes upload speed and download speed. The upload information includes size and detail information of uploaded data, and size and detail information of data to be uploaded. In addition, the download information includes size and detail information of downloaded data, and size and detail information of data to be downloaded.
The generating module 22 generates an interface 1 for showing the network information according to the real-time obtained information obtained by the obtaining module 21. The interface includes a network status display region 11, an upload status display region 12 and a download status display region 13. In the embodiment, the generated interface 1 occupies the whole display region 31 of the display unit 30. The network status display region 11 is for showing the signal strength of the network according to the obtained signal strength of the network. The upload status display region 12 is for showing the upload information according to the obtained upload information. The download status display region 13 is for showing the download information according to the obtained download information.
The network status display region 11 includes a first sub-display region 111 for showing the upload speed of the network and a second sub-display region 112 for showing the download speed of the network. The size of the network status display region 11 is related to the signal strength of the network. For example, when the signal strength of the network is less than 2 megabytes (M), the size of the network status display region 11 occupies 10 percent of the size of the interface 1. When the signal strength of the network is between 2M and 3M, the size of the network status display region 11 occupies 20 percent of the size of the interface 1, when the signal strength of the network is more than 3M, the size of the network status display region 11 occupies 50 percent of the size of the interface 1. The size of the first sub-display region 111 is related to the upload speed of the network, and the size of the second sub-display region 112 is related to the download speed of the network. The ratio of the size of the first sub-display region 111 to the size of the second sub-display region 112 is proportional to the ratio of upload speed to download speed. When the upload speed is equal to the download speed, the size of the first sub-display region 111 is equal to the size of the second sub-display region 112. When the upload speed is faster than the download speed, the size of the first sub-display region 111 is larger than the size of the download speed interface 112.
The upload status display region 12 includes a third sub-display region 121 for showing the uploaded data and a forth sub-display region 122 for showing the data to be uploaded. For example, in
The download status display region 13 includes a fifth sub-display region 131 for showing the downloaded data and a sixth sub-display region 132 for showing the data to be downloaded. The ratio of the size of the fifth sub-display region 131 to the size of the sixth sub-display region 132 is proportional to the ratio of the size of the downloaded data to the size of the data to be downloaded.
The display control module 23 controls the display unit 30 to display and update the generated interface 1 in real time. In at least one embodiment, the display control module 23 controls to display the generated network status display region 11, the upload status display region 12, and the download status display region 13 side-by-side, the network status display region 11 is located between the upload status display region 12 and the download interface 13.
In another embodiment, the terminal device 100 also includes a storage unit 50. The storage unit 50 stores a relationship table recording a relationship between a number of display colors and display regions, such as illustrated in
The display control module 23 controls the display unit 30 to display each display region with a color according to the stored relationship table.
In an alternative embodiment, the relationship table stored in the storage unit 50 further records a relationship between a number of display colors and the size of the data indicated by each display region. In at least one embodiment, during a upload process, if only less than 20 percent of data has been uploaded and more than 80 percent of data remains waiting for uploading, the display color of the third sub-display region 131 is light blue, if more than 50 percent of data has been uploaded; the display color of the third sub-display region 131 is dark green. The display control module 23 controls the display unit 30 to display and update the interface 1 in real time with the colors in the regions 121 and 122 changing during a data upload process, and display and update the interface in real time with the colors in the regions 131 and 132 changing during a data download process according to the transmitted information indicated by each display region and the relationship table.
The terminal device 100 includes an input unit 40 and an interaction module 24. The input unit 40 generates an interactive command to view the detail information of a sub-display region in response to an input operation of a user. The interaction module 24 identifies the particular sub-display region where the input operation is exerted, retrieves the detail information associated with the particular sub-display region and controls the display unit 30 to display the obtained detail information.
In block 301, the obtaining module 21 obtains real-time signal strength of network connecting the terminal device 100 and the server, real-time upload information and real-time download information between the terminal device 100 and the server in real-time.
In at least one embodiment, the signal strength of the network includes upload speed and download speed, the upload information includes amount and detail information of uploaded data, and amount and detail information of data to be uploaded; the download information includes amount and detail information of downloaded data, and amount and detail information of data to be uploaded.
In block 302, the generating module 22 generates the interface 1 according to the real-time obtained information obtained by the obtaining module 21.
The interface includes a network status display region 11, an upload status display region 12 and a download status display region 13. The network status display region 11 is for showing the signal strength of the network. The upload status display region 12 is for showing the upload information and the download status display region 13 showing the download information. The network status display region 11 includes a first sub-display region 111 and a second sub-display region 112. The first sub-display region 111 is for showing the upload speed of the network and the second sub-display region 112 is for showing the download speed of the network. The upload status display region 12 includes a third sub-display region 121 and a forth sub-display region 122. The third sub-display region 121 is for showing the uploaded data and the forth sub-display region 122 is for showing the data to be uploaded. The download icon 13 includes a fifth sub-display region 131 and a sixth sub-display region 132. The fifth sub-display region 131 is for showing the downloaded data and the sixth sub-display region 132 is for showing the data to be downloaded.
In block 303, the display control module 23 controls the display unit 30 to display and update the generated interface 1 in real time.
In at least one embodiment, the display control module 23 controls the display unit 30 to display the generated network status display region 11, the upload status display region 12, and the download status display region 13 side-by-side. In an alternative embodiment, the network status display region 11 is located between the upload status display region 12 and the download interface 13.
In another embodiment, the display control module 23 controls the display unit 30 to display and update each display region with a color according to the stored relationship table recoding the relationships between a number of display colors and sub-display regions. The display control module 23 controls the display unit 30 to display and update interface 1 in real time with colors according to the transmitted information indicating by each sub-display region and the relationship table recording a relationship between a number of display colors and the size of data indicating by the sub-display region.
In block 402, the input unit 40 generates an interactive command to viewing the detail information of a sub-display region in response to an input operation of a user.
In block 402, the interacting module 24 identifies the particular sub-display region where the input operation is exerted on, retrieves the detail information associated with the particular sub-display region and controls the display unit 30 to display the obtained detail information.
The interface displays the network information including signal strength of the network, the uploading information and downloading information and can interact with a user to make the user get the detailed information of the interface, which is user friendly.
Although the present disclosure has been described with reference to certain embodiments, persons having ordinary skill in the art may make various modifications and changes without departing from the scope of the disclosure. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
2013101632818 | May 2013 | CN | national |