CN114338912A - Icon display method and device, terminal equipment and storage medium - Google Patents

Icon display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN114338912A
CN114338912A CN202111491264.8A CN202111491264A CN114338912A CN 114338912 A CN114338912 A CN 114338912A CN 202111491264 A CN202111491264 A CN 202111491264A CN 114338912 A CN114338912 A CN 114338912A
Authority
CN
China
Prior art keywords
frequency band
communication
display
area
communication frequency
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.)
Pending
Application number
CN202111491264.8A
Other languages
Chinese (zh)
Inventor
郎松平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Douku Software Technology Co Ltd
Original Assignee
Hangzhou Douku Software Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Douku Software Technology Co Ltd filed Critical Hangzhou Douku Software Technology Co Ltd
Priority to CN202111491264.8A priority Critical patent/CN114338912A/en
Publication of CN114338912A publication Critical patent/CN114338912A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an icon display method, an icon display device, terminal equipment and a storage medium, which are applied to the terminal equipment supporting a plurality of different communication frequency bands. Determining display content corresponding to each communication frequency band according to network parameters of each communication frequency band, and determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band. And displaying the display contents of all the frequency band display areas on the screen based on the display positions of the frequency band display areas of the designated icons on the screen of the terminal equipment. According to the method and the device, the display content of each frequency band is determined according to the network parameters of each communication frequency band, the same designated icon is divided into a plurality of frequency band display areas according to the communication frequency bands, the display content of all the frequency bands is displayed on a screen of the terminal equipment according to the position of each frequency band display area, and more various network connection information can be displayed on the terminal equipment at the same time.

Description

Icon display method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an icon display method and apparatus, a terminal device, and a storage medium.
Background
With the rapid development of communication technology, more and more terminal devices can simultaneously support two, three, or even multiple networks, and at this time, how to display the connection information of these networks on the terminal devices to users has become an increasingly urgent need.
Disclosure of Invention
In view of the above problems, the present application provides an icon display method, an icon display apparatus, a terminal device, and a storage medium, which can solve the above problems.
In a first aspect, an embodiment of the present application provides an icon display method, which is applied to a terminal device, where the terminal device supports using multiple different communication frequency bands, and the method includes: acquiring network parameters of each communication frequency band; determining display content corresponding to each communication frequency band according to the network parameters of each communication frequency band; determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band; and displaying the display contents of all the frequency band display areas on the screen based on the display positions of the frequency band display areas of the designated icons on the screen of the terminal equipment.
In a second aspect, an embodiment of the present application provides an icon display apparatus, which is applied to a terminal device, where the terminal device supports using a plurality of different communication frequency bands, and the apparatus includes: the device comprises a parameter acquisition module, a content determination module, an area division module and a content display module. The parameter acquisition module is used for acquiring network parameters of each communication frequency band; the content determining module is used for determining display content corresponding to each communication frequency band according to the network parameters of each communication frequency band; the area division module is used for determining a frequency band display area of each communication frequency band in a designated icon, the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band; and the content display module is used for displaying the display contents of all the frequency band display areas on the screen of the terminal equipment based on the display positions of the frequency band display areas of the designated icons on the screen.
In a third aspect, an embodiment of the present application provides a terminal device, including: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the above-described method.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
In a fifth aspect, the present application provides a computer program product containing instructions, which is characterized in that the instructions are stored in the computer program product, and when the instructions are run on a computer, the instructions cause the computer to implement the above method.
It can be seen that the present application provides an icon display method, an icon display apparatus, a terminal device, and a storage medium, and the present application may be applied to a terminal device that supports the use of a plurality of different communication frequency bands. The method comprises the steps of firstly obtaining network parameters of each communication frequency band, determining display contents corresponding to each communication frequency band according to the network parameters, and then determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band. And finally, displaying the display contents of all the frequency band display areas on the screen of the terminal equipment based on the display positions of the frequency band display areas of the designated icons on the screen. According to the method and the terminal device, the display content of each frequency band is determined according to the network parameters of each communication frequency band on the terminal device, the same designated icon is divided into a plurality of frequency band display areas according to the communication frequency bands, and finally the display content of all the frequency bands is displayed on the screen of the terminal device according to the positions of the frequency band display areas, so that more various network connection information can be displayed on the terminal device simultaneously.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application environment of an icon display method according to an embodiment of the present application;
fig. 2 is a screen schematic diagram of a terminal device provided in an embodiment of the present application;
fig. 3 is a schematic screen diagram of a terminal device according to another embodiment of the present application;
fig. 4 is a flowchart illustrating an icon display method according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating an icon display method according to another embodiment of the present application;
fig. 6 is a schematic diagram illustrating display contents of communication bands according to another embodiment of the present application;
fig. 7 is a schematic diagram illustrating a status bar of a terminal device according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating a method for displaying icons according to another embodiment of the present application;
fig. 9 is a schematic diagram illustrating a display content of a communication frequency band determined based on signal strength according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a display content of a communication frequency band determined based on signal strength according to another embodiment of the present application;
FIG. 11 is a flowchart illustrating an icon display method according to yet another embodiment of the present application;
fig. 12 is a schematic diagram illustrating display contents of two communication bands according to an embodiment of the present application;
fig. 13 is a flowchart illustrating an icon display method for two communication bands according to an embodiment of the present application;
fig. 14 is a schematic diagram illustrating display contents of three communication bands according to another embodiment of the present application;
fig. 15 is a flowchart illustrating an icon display method for three communication bands according to another embodiment of the present application;
fig. 16 is a schematic diagram illustrating display contents of two communication bands according to still another embodiment of the present application;
fig. 17 is a schematic diagram illustrating display contents of three communication bands according to still another embodiment of the present application;
fig. 18 is a schematic diagram illustrating display contents of three communication bands according to still another embodiment of the present application;
FIG. 19 is a block diagram of an icon display apparatus according to an embodiment of the present application;
fig. 20 is a block diagram illustrating a terminal device according to an embodiment of the present application;
fig. 21 is a block diagram illustrating a structure of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
With the rapid development of communication technology, more and more terminal devices can simultaneously support two, three or even multiple types of networks. For example, a 4G network and a 5G network are simultaneously supported in a mobile communication network, or a 2.4GHz/5GHz dual band or a 2.4GHz/5GHz/6GHz triple band is simultaneously supported in a WiFi (Wireless local area network) network, and so on. In a terminal device supporting a single network, network connection information can be clearly shown to a user by using a single network icon. However, as the technology evolves, when a terminal device supports multiple types of networks at the same time, how to show connection information of the networks to a user on the terminal device has become an increasingly urgent need.
In order to solve the above problems, after careful study, the inventors of the present application found that, in a terminal device supporting use of multiple different communication bands, display contents of each band can be determined according to network parameters of each communication band, a same designated icon is divided into multiple band display areas according to the communication bands, and finally, the display contents of all bands are displayed on a screen of the terminal device according to positions of the band display areas, so that more various network connection information can be simultaneously displayed on the terminal device.
In order to better understand an icon display method, an icon display apparatus, a terminal device, and a storage medium provided in the embodiments of the present application, an application environment suitable for the embodiments of the present application is described below.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment of an icon display method according to an embodiment of the present application. For example, the icon display method, the icon display apparatus, the terminal device and the storage medium provided in the embodiments of the present application may be applied to a terminal device, and the terminal device may support using a plurality of different communication frequency bands. The plurality of different communication bands may be 2 or more than 2 different communication bands, for example, the terminal device may support using 3 different communication bands, and so on.
Taking the terminal device 120 shown in fig. 1 as an example, the terminal device 120 may simultaneously support two communication frequency bands, i.e., a frequency band 1 and a frequency band 2, and establish two communication channels with the network device 110 through the two communication frequency bands, so that data may be transmitted through the network device 110 and the terminal device 120 through the two communication channels. Network device 110 may be connected to terminal device 120 via a network. Alternatively, the network device 110 may be a wireless router, for example, capable of simultaneously transmitting 2.4GHz/5GHz dual-band signals, and the network device 110 may also be a communication base station, for example, capable of simultaneously supporting a 4G network and a 5G network. In some embodiments, the terminal device may be, for example, a smartphone, tablet, desktop, laptop, or the like.
Optionally, the terminal device may establish a communication channel with the same network device through multiple communication frequency bands, or may establish a communication channel with different network devices through multiple communication frequency bands, which is not limited in this embodiment of the present application.
It should be understood that network device 110 and terminal device 120 in fig. 1 are merely illustrative. There may be any number of network devices and terminal devices, as desired for implementation. Illustratively, the network device may be a single network device such as a base station and a wireless router, or may be a communication system formed by networking a plurality of network devices. It can be understood that the embodiment of the present application may also allow multiple terminal devices to access the network device simultaneously.
In an embodiment of the present application, the terminal device may display current network connection information on a screen. The screen of the terminal device may be a screen integrated with the terminal device or a screen externally connected to the terminal device, and the display mode of the externally connected screen may include a screen connected by wire or wirelessly, for example, a corresponding picture is displayed in a projection area by projection or the like. The screen may include an LCD, a Light Emitting Diode (LED) Display, a Three Dimensional (3D) Display, a Plasma Display Panel (PDP), or the like, and further, the screen may have a full-screen, a curved-surface screen, a special-shaped screen, a folding screen, or other screen forms. The terminal device can display the current network connection information in a status bar of the screen. As shown in fig. 2, a general WIFI icon may be displayed in the status bar, indicating that WIFI and so on are currently connected.
Besides, the screen of the terminal device may also be a floating display screen, as shown in fig. 3, different from the physical display screen, the floating display screen does not depend on an electronic display device, and may directly project an image in the air, for example, a picture may be displayed in a manner of holographic imaging or the like.
The above application environments are only examples for facilitating understanding, and it is to be understood that the embodiments of the present application are not limited to the above application environments.
The icon display method, apparatus, terminal device and storage medium provided by the embodiments of the present application will be described in detail by specific embodiments.
Please refer to fig. 4, which illustrates a flowchart of an icon display method according to an embodiment of the present application. The icon display method may specifically include the steps of:
step S410: and acquiring the network parameters of each communication frequency band.
In embodiments of the present application, a terminal device may support the simultaneous use of multiple different types of networks. Illustratively, different types of networks may be distinguished by the frequency band in which the transmitted network signal is located. That is, the terminal device can discriminate the type of the network by identifying the communication band of the network signal. For example, a WiFi network can be divided into 2.4GHz, 5GHz, and 6GHz according to different communication bands, where the communication band of the 2.4GHz network is 2.4GHz, the communication band of the 5GHz network is 5GHz, and the communication band of the 6GHz network is 6GHz, and if a terminal device acquires an unfamiliar WiFi signal, it can determine which network of the 2.4GHz, 5GHz, or 6GHz the WiFi signal belongs to by identifying which frequency band the frequency of the WiFi signal is in.
Optionally, the communication frequency band supporting the connection at the terminal device is related to the performance of the terminal device. When the terminal device detects a network signal of a communication frequency band supported by the device, a communication channel can be established with the network signal, and after the communication channel is established, the terminal device can transmit data through the communication channel. It can be understood that if the terminal device does not support a certain communication frequency band, a communication channel cannot be established with the network signal of the communication frequency band.
In the embodiment of the present application, the network parameter of each communication frequency band may be a parameter reflecting network characteristics of each communication frequency band, and may include various types, such as a use state (whether to establish a communication channel, etc.), a use duration, a transmission rate, whether to connect to the internet, and the like, of each communication frequency band. Optionally, the terminal device may scan each communication frequency band at preset intervals, so as to obtain the network parameter of each communication frequency band.
Step S420: and determining the display content corresponding to each communication frequency band according to the network parameters of each communication frequency band.
In the embodiment of the present application, the display contents of the respective communication bands may be displayed on the screen of the terminal device. It can be understood that, due to different network parameters of each communication frequency band, the corresponding display contents are different. Therefore, in some embodiments, after the network parameters of each communication frequency band are acquired, the display content corresponding to each communication frequency band may be determined according to the network parameters of each communication frequency band, so that a user may obtain the current network connection information of the corresponding communication frequency band by observing the display content of each communication frequency band, thereby better distinguishing different communication frequency bands.
Optionally, when determining the display content corresponding to each communication frequency band according to the network parameters, since the network parameters may include multiple types, such as a use state, a use duration, a transmission rate, whether to connect to the internet, and the like of the communication frequency band, correspondingly, the display content may use display parameters, such as patterns, a display area, text content, and an overlay prompt icon, to distinguish the types of different network parameters, that is, each display parameter of the display content may correspond to one type of the network parameter. For example, the pattern of the display content may be determined according to the usage state of the communication band, the display area of the display content may be determined according to the usage duration of the communication band, the text content of the display content may be determined according to the transmission rate of the communication band, or the prompt icon on which the text content of the display content is superimposed may be determined according to whether the communication band is connected to the internet, or the like.
Step S430: and determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band.
It can be understood that if the display content of each communication frequency band corresponds to a single network icon, the screen of the terminal device will be more messy. Therefore, in the embodiment of the present application, one designated icon may be divided into a plurality of frequency band display areas according to the communication frequency bands, so that the display content of each communication frequency band may be displayed at the position of the corresponding frequency band display area. Optionally, since the frequency band display area of each communication frequency band is divided by the frequency band display area of one designated icon, combining the display content of each communication frequency band can become the display content of the designated icon. The designated icon is used for displaying the network connection information of the terminal equipment.
Step S440: and displaying the display contents of all the frequency band display areas on the screen based on the display positions of the frequency band display areas of the designated icons on the screen of the terminal equipment.
Optionally, each frequency band display area is divided by a frequency band display area of a designated icon, and each frequency band display area may correspond to a communication frequency band, so that the display content of each communication frequency band can be combined to be the display content of the designated icon.
It is to be understood that the preset display position of the designated icon on the screen of the terminal device is generally preset, and the preset display position may be a display position of the network connection information of the terminal device in the screen. In some exemplary embodiments, the preset display position may be set in the status bar as shown in fig. 7, and optionally, the rightmost position of the status bar displays a power icon, and the designation icon may be displayed at a left position adjacent to the power icon.
In some embodiments, after the area division is completed, each of the band display areas may correspond to one position in the designated icon. Therefore, alternatively, the display position of the display content of each frequency band display area on the designated icon may be determined according to the display position relationship between the frequency band display areas.
The display position relationship may be preset, and may be obtained according to the position of the frequency band display area corresponding to each communication frequency band in the designated icon, for example. The display position relationship may be a front-back relationship, an up-down relationship, or other preset position relationship between the frequency band display areas of the communication frequency bands.
Further, after the preset display position of the designated icon on the screen of the terminal device is determined, the display position of each frequency band display area on the screen of the terminal device can be determined according to the display position relationship and the preset display position.
Finally, after the display position of each frequency band display area on the screen of the terminal device is determined, the display contents of all the frequency band display areas can be displayed on the corresponding display positions on the screen.
The icon display method can be applied to terminal equipment, and the terminal equipment supports the use of a plurality of different communication frequency bands. The method comprises the steps of firstly obtaining network parameters of each communication frequency band, determining display contents corresponding to each communication frequency band according to the network parameters, and then determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band. And finally, displaying the display contents of all the frequency band display areas on the screen of the terminal equipment based on the display positions of the frequency band display areas of the designated icons on the screen. According to the method and the terminal device, the display content of each frequency band is determined according to the network parameters of each communication frequency band on the terminal device, the same designated icon is divided into a plurality of frequency band display areas according to the communication frequency bands, and finally the display content of all the frequency bands is displayed on the screen of the terminal device according to the positions of the frequency band display areas, so that the display content of different communication frequency bands can be displayed on different positions of the designated icon, the display of network connection information is simpler and clearer, different communication frequency bands can be distinguished more easily by a user while the screen display space is saved, and the display content of the communication frequency bands can be changed according to the change of the network parameters, so that more various network connection information can be displayed on the terminal device simultaneously.
Please refer to fig. 5, which illustrates a flowchart of an icon displaying method according to another embodiment of the present application. In some embodiments, the network parameters of the respective communication bands may include usage states of the communication bands, and the following steps may be adopted to determine display contents corresponding to each communication band according to the network parameters of each communication band. That is, the icon display method may include the steps of:
step S510: and acquiring the use state of each communication frequency band, wherein the use state comprises a first state and a second state, the communication frequency band in the first state is used for representing that the communication channel corresponding to the communication frequency band is established by the terminal equipment, and the communication frequency band in the second state is used for representing that the communication channel corresponding to the communication frequency band is not established by the terminal equipment.
In this embodiment, the first state and the second state may be used to represent the usage state of each communication band supported by the terminal device. The communication frequency band in the first state may indicate that the terminal device has established a communication channel corresponding to the communication frequency band, and the communication frequency band in the second state is used to represent that the terminal device has not established a communication channel corresponding to the communication frequency band.
It should be noted that network signals in the same communication frequency band may generate co-channel interference, which may cause data transmission loss, and therefore, in some exemplary embodiments, the same communication frequency band supported by the terminal device only allows one communication channel to be established at the same time, that is, the terminal device only can establish a connection with one network signal in the same frequency band.
For example, if the terminal device is a device supporting simultaneous connection of 2.4GHz and 5GHz networks, when detecting a signal a and a signal B in a 2.4GHz band, a signal C in a 5GHz band, and a signal D in a 6GHz band, the terminal device may establish a communication channel corresponding to the 2.4GHz band with any one of the signal a or the signal B, and may establish a communication channel corresponding to the 5GHz band with the signal C, but cannot establish the communication channel with the signal D.
Optionally, the terminal device may detect each communication frequency band supported by the device at preset intervals to determine the use state of each communication frequency band, so as to achieve the purpose of updating the network connection information in time.
Step S520: and determining first display content corresponding to each communication frequency band in the first state, and determining second display content corresponding to each communication frequency band in the second state, wherein the first display content corresponding to each communication frequency band in the first state is different from the second display content corresponding to each communication frequency band in the second state.
In an embodiment of the present application, the terminal device may display current network connection information on a screen. Since the terminal device supports a plurality of different communication bands, in some embodiments, the terminal device may display network connection information for each communication band on a screen.
Specifically, after the usage state of each communication band is acquired, the display content of each communication band may be determined according to the usage state of each communication band. Illustratively, the display contents change with the use state of the communication band, so that the display contents of each communication band can show the current use state of the communication band. It should be noted that, in order to distinguish the first state and the second state of each communication band, a first display content corresponding to the communication band in the first state and a second display content corresponding to the communication band in the second state may be respectively determined, where the display content corresponding to the communication band in each first state is different from the display content corresponding to the communication band in the second state.
In some embodiments, the different communication bands may be distinguished by changing the first display parameter, and may be represented by setting different shapes, colors, display positions, or image contents, for example. For example, if the terminal device is a device supporting simultaneous connection with a 2.4GHz/5GHz/6GHz network, the network connection information of the 2.4GHz network may be represented by a square icon, the network connection information of the 5GHz network may be represented by a circular icon, and the network connection information of the 6GHz network may be represented by a triangular icon; network connection information for a 2.4GHz network may also be displayed at a first location, a second location for a 5GHz network, a third location for a 6GHz network, and so on.
Further, the first state or the second state of the communication band may be distinguished by changing a second display parameter, wherein the first display parameter is different from the second display parameter. For example, different display positions may be used to distinguish different communication frequency bands, and then different colors may be used to distinguish first display content corresponding to the first state from second display content corresponding to the second state. For example, in the three communication bands of the terminal device supporting simultaneous connection of 2.4GHz/5GHz/6GHz networks, as shown in fig. 6, the upper sector area of the three sector areas facing fig. 6 may be used as a first position for displaying network connection information of the 2.4GHz band, the sector area adjacent to the first position in the clockwise direction of fig. 6 may be used as a second position for displaying network connection information of the 5GHz band, and the sector area adjacent to the second position in the clockwise direction of fig. 6 may be used as a third position for displaying network connection information of the 6GHz band. At this time, according to the usage states of the three communication frequency bands, it is detected that the 2.4GHz band and the 5GHz band are in the first state, and the 6GHz band is in the second state, and the sector areas at the first position and the second position may be displayed as black, and the sector area at the third position may be displayed as gray.
For the communication frequency bands of the established communication channels (i.e. the communication frequency bands in the first state), there is a difference in signal strength of each communication frequency band, and the difference in signal strength of the communication frequency bands will affect the network use experience of the user. Based on this, in other embodiments of the present application, the signal strength of each communication frequency band may also be obtained in the first state, and then the first display content corresponding to the communication frequency band in the first state may be determined according to the signal strength of each communication frequency band. For example, the pattern of the display area of the first display content corresponding to each communication band may be determined based on the signal strength of the communication band. For this part, reference may be made to the content of the corresponding step in the subsequent embodiments, which is not described herein again.
In summary, the icon display method provided in this embodiment may be applied to a terminal device, where the terminal device supports using a plurality of different communication frequency bands. Firstly, the use state of each communication frequency band is obtained, wherein the use state comprises a first state and a second state, the communication frequency band in the first state is used for representing that the communication channel corresponding to the communication frequency band is established by the terminal equipment, and the communication frequency band in the second state is used for representing that the communication channel corresponding to the communication frequency band is not established by the terminal equipment. And then, determining first display content corresponding to each communication frequency band in the first state, and determining second display content corresponding to each communication frequency band in the second state, wherein the first display content corresponding to each communication frequency band in the first state is different from the second display content corresponding to the communication frequency band in the second state. Then, based on the display area of each communication band, display content corresponding to each communication band is displayed on the screen of the terminal device. According to the method and the device, different contents are displayed on the terminal device in two states of established communication channels and not established communication channels of each communication frequency band, different communication frequency bands can be distinguished through display positions, and more various network connection information can be displayed on the terminal device at the same time.
In some embodiments, optionally, on the basis of the foregoing embodiments, the present application further provides an icon display method, please refer to fig. 8, which shows a flowchart of the icon display method provided in yet another embodiment of the present application. Specifically, the network parameter of each communication band may include a signal strength of the communication band, and thus, that is, the icon display method may include the steps of:
step S810: and acquiring the signal intensity of each communication frequency band.
In the embodiment of the present application, the signal strength of the communication frequency band may be displayed on the terminal device. The Signal Strength of a communication band generally refers to Received Signal Strength (RSSI), which refers to the Signal Strength of a location where a terminal device is located within a wireless network coverage, and is Effective Isotropic Radiated Power (EIRP), which is the Signal Strength when an antenna end of the network device is emitted, and is a value after a section of transmission path loss and obstacle attenuation.
It can be understood that the signal strength of the communication frequency band may affect the network quality, such as affecting the data transmission rate, the data loss rate, and the like, and further affecting the network usage experience of the user. Therefore, in the embodiment of the present application, when displaying content corresponding to a communication frequency band, the signal strength of each communication frequency band may be obtained first.
Since the terminal device does not establish a communication channel with the communication band in the second state, in some embodiments, only the signal strength of the communication band in the first state may be obtained.
Optionally, in other embodiments, the signal strength of the communication band in the second state may also be obtained, and then the communication bands in the first state and the second state may be sorted according to the signal strengths of the communication bands in the first state and the second state, so as to obtain the sorted communication bands. And then acquiring a communication frequency band selected by the user from the sequenced communication frequency bands in the second state, and establishing a communication channel with the communication frequency band, so that the use state of the communication frequency band is changed from the second state to the first state. Therefore, when the user experiences poor network use experience, the user can be guided to select the network again from the communication frequency band in the first state and the communication frequency band in the second state.
In some embodiments, the signal strength of each communication band in the first state may be acquired simultaneously when the usage state of each communication band is acquired. Illustratively, the terminal device may detect each communication band in the first state at intervals of a preset time.
Taking a WIFI network as an example, the terminal device in the WIFI network detects that there are two modes of active scanning and passive scanning for the signal intensity of the communication frequency band. After establishing a communication channel with a communication band, the terminal device may use a scanning function to complete scanning of signal strength, for example, after sending a Probe request frame, the terminal device may obtain the signal strength by detecting information included in a Probe Response frame responded by the network device. In some embodiments, the signal strength of a WIFI network is typically between-100 to 0dbm, wherein a closer value to 0 indicates a stronger signal strength.
Step S820: and determining the pattern of the communication frequency band corresponding to the display content based on the signal strength.
In some embodiments, the pattern of the display content of each communication band may vary as the signal strength varies. Illustratively, the area of the display content may be determined according to the signal strength, e.g., the stronger the signal strength, the larger the area of the display content, etc.; the graph of the display content may also be determined according to the signal strength, for example, the graph of the display content displayed as a digital pattern, wherein the number may represent the magnitude of the signal strength, for example, the signal strength value or the signal level of the signal strength, and the like.
In the embodiment of the present application, in the display area of the display content corresponding to the communication frequency band, the strength of the signal may be reflected by using the size of the area of the designated color area displaying the first color, that is, the area of the designated color area displaying the first color in the display content corresponding to the communication frequency band may be determined based on the signal intensity of each communication frequency band.
In some embodiments, the area of the designated color region corresponding to the signal intensity of each communication frequency band may be determined according to a preset area correspondence relationship. Optionally, the area of the designated color region corresponding to the lowest signal intensity is 0, that is, the first color is not displayed in the display region of the communication frequency band when the signal intensity is detected to be the lowest signal intensity; the area of the designated color area corresponding to the highest signal intensity is consistent with the area of the display area of the communication frequency band, namely the display area of the communication frequency band displays the first color when the signal intensity is detected to be the highest signal intensity; and when the signal intensity is between the lowest signal intensity and the highest signal intensity, determining the area of the designated color area corresponding to the signal intensity according to the ratio of the signal intensity to the display area.
Still take the WIFI network as an example, if the minimum signal strength of the WIFI network is-100 dbm, the maximum signal strength is 0dbm, and the area of the display area is S, for example, when the signal strength is-50 dbm, the area of the corresponding designated color area may be (RSSI/100+1) × S ═ 0.5S.
Further, for a terminal device supporting a plurality of different communication bands, the area of the designated display area corresponding to the signal strength of each communication band in the first state may be calculated respectively.
Optionally, the color of the area other than the designated color area in the display content corresponding to each communication frequency band may also be displayed as a second color, where the second color is different from the first color. That is to say, for each communication band, when the signal intensity of the communication band is less than the highest signal intensity, the second color may be used to fill the area other than the designated color area in the display area corresponding to the communication band, at this time, the display areas of the first color and the second color are combined to be the whole display area of the first display content, the display areas of the first color and the second color may form a visual contrast, so that the user can clearly know the signal intensity of the current communication band according to the display content of the communication band.
Alternatively, the communication band for the first state may determine, based on the signal strength, an area of a designated display region displayed as the first color within the display content corresponding to the communication band. Optionally, the color of the display area of the second display content corresponding to each communication frequency band may also be determined as the second color in the second state. Since the first color is different from the second color, when the area of the designated color region displayed as the first color in the display content of the communication band in the first state changes with the change of the signal intensity, the display region of the communication band in the second state is displayed as the second color, so that when the display content of each communication band is displayed according to the display region between each communication band, a user can recognize different communication bands and the current use state of each communication band by observing the display content displayed in each display region on a screen.
Alternatively, the first color may be black and the second color may be gray. For example, it is assumed that the terminal device supports simultaneous connection of a 2.4GHz/5GHz/6GHz network, where it is detected that the 2.4GHz band and the 5GHz band are in the first state, the 6GHz band is in the second state, and the signal strength of the 2.4GHz band is-40 dbm, and the signal strength of the 5GHz band is 0dbm (which is equivalent to that the terminal device receives all power transmitted by the network device, that is, there is no transmission path loss and obstacle attenuation), and accordingly, the display contents of the three bands 2.4GHz/5GHz/6GHz are as shown in fig. 9. The upper sector area in the three sector areas serves as a first position and is used for displaying display contents of a 2.4GHz frequency band, and the display contents of the 2.4GHz frequency band are specifically as follows: 60% of the display area of the 2.4GHz band is displayed in black, and the remaining 40% is displayed in gray. The sector area adjacent to the first position in the clockwise direction is used as a second position for displaying the display content of the 5GHz frequency band, and the display content of the 5GHz frequency band is specifically as follows: the display area of the 5GHz band is entirely displayed in black. The sector area adjacent to the second position in the clockwise direction is used as a third position for displaying display content of a 6GHz frequency band, and the display content of the 6GHz frequency band specifically comprises the following steps: the display areas of the 5GHz band are all shown in grey.
Alternatively, the first color and the second color may be determined according to the background color, as long as the first color and the second color are made different. For example, the first display content may be displayed in a status bar of the terminal device, and if a background color of the status bar is black, the first color may be set to white, and the second color may be gray.
In other embodiments, the signal intensity of each communication frequency band may be classified, and after the signal class to which each communication frequency band belongs is determined, the area of the designated color region of the first color displayed in the display content corresponding to each communication frequency band is determined according to the signal class, where the area of the designated color region may be in a positive correlation with the signal class, that is, the area is larger as the signal class is higher.
Optionally, in some exemplary embodiments, the signal strength of each communication band may be divided into 4 levels, correspondingly, the display area corresponding to each communication band may be divided into 4 areas, and after the signal level to which each communication band belongs is determined, the number of the areas displayed as the first color in the 4 areas may be determined according to the signal level to which each communication band belongs. Wherein a higher signal level may indicate a stronger signal. Further, the remaining area other than the area displayed as the first color among the 4 areas may be displayed as the second color. Further, for the display area corresponding to the communication band in the second state, all 4 areas divided within the display area may be displayed in the second color.
Illustratively, in the WIFI network, the signal strength of the WIFI network is generally between-100 dbm and 0dbm, 4 threshold ranges of the signal strength can be divided by three critical values of-85 dbm, -70dbm and-55 dbm, and each threshold range corresponds to one signal level. When the signal intensity is set to be-55-0 dbm, the signal level is 4, the number of the areas displaying the first color in the 4 areas is 4, and the signals are displayed as full-cell (4-cell) signals; when the signal intensity is set to be between-70 and-55 dbm, the signal level is 3, the number of the areas which display the first color in the 4 areas is 3, namely, the signals are displayed as 3 grids; when the signal intensity is set to be between-85 and-70 dbm, the signal level is the 2 nd level, the number of the areas which display the first color in the 4 areas is 2, namely 2 grids of signals are displayed; when the signal intensity is set to be between-100 and-85 dbm, the signal level is the 1 st level, and the number of the areas which are displayed as the first color in the 4 areas is 1, namely, the signals are displayed as 1 grid.
For example, it is assumed that the terminal device supports simultaneous connection of a 2.4GHz/5GHz/6GHz network, where it is detected that the 2.4GHz band and the 5GHz band are in the first state, the 6GHz band is in the second state, and the signal strength of the 2.4GHz band is-60 dbm, the signal strength of the 5GHz band is-40 dbm, and accordingly, the display contents of the three bands of 2.4GHz/5GHz/6GHz are as shown in fig. 10, the signal level of the 2.4GHz band is 3 th level, and is displayed as 3 grid signals, the signal level of the 5GHz band is 4 th level, and is displayed as 4 grid signals, and the 6GHz band is displayed as gray.
In this embodiment, the signal strength of the communication frequency band is identified by the display area of the first color, and the communication frequency band of the communication channel is identified by the second color, so that the user can directly identify the current use state of each communication frequency band by observing the display content of each communication frequency band displayed in each display area on the screen, and the network connection information displayed on the terminal device is more concise and clearer.
Optionally, in some embodiments of the present application, the network parameter of each communication frequency band may include a usage duration of the communication frequency band, and therefore, when determining the display content of the communication frequency band, the display area of the display content may be determined according to the usage duration of the communication frequency band used by a user. For example, the usage duration of each communication frequency band may be first obtained, where the usage duration may be calculated from the establishment of the communication channel of the communication frequency band until the communication is disconnected, and then the display area of the first display content of the corresponding communication frequency band may be determined according to the usage duration. Alternatively, the length of time of use may be positively correlated with the display area of the display content, i.e., the longer the length of time of use, the larger the display area. In some embodiments, the display area of the first display content of the same communication band in the first state may become larger as the usage time length increases. In addition, for different communication bands, the display area of the communication band with a long service time may be larger than that of the communication band with a short service time.
Optionally, the network parameter of each communication frequency band may further include a use frequency of the communication frequency band, and therefore, when determining the display content of the communication frequency band, the display area of the corresponding display content may also be determined according to the use frequency of the communication frequency band. For example, the use frequency of each communication band may be obtained first, where the use frequency may be obtained according to the number of times of establishing a communication channel for the corresponding communication band, and then the display area of the display content of the corresponding communication band may be determined according to the use frequency. Alternatively, the frequency of use may have a positive correlation with the display area of the display content, i.e., the higher the frequency of use, the larger the display area.
Please refer to fig. 11, which illustrates a flowchart of an icon displaying method according to yet another embodiment of the present application. In some embodiments, based on the foregoing method embodiment, the method specifically includes the following steps:
step S1110: the method comprises the steps that a preset number of circular rings surround a circular area to form a frequency band display area of an appointed icon, M extension lines are drawn at the center of the circular area to equally divide the frequency band display area of the appointed icon into M frequency band display areas, and each frequency band display area corresponds to one communication frequency band.
In some embodiments, if the number of the plurality of different communication bands supported by the terminal device is M, a preset number of rings may surround the circular area to form a band display area of the designated icon, then draw M extension lines at the center of the circular area to equally divide the band display area of the designated icon into M band display areas, and then make each band display area correspond to one communication band. Each band display area is to be used for displaying display contents of one communication band. At this time, each communication band can be identified by the relative position between the M band display areas.
It is understood that, after the band display areas M of the designated icon are equally divided, each band display area is composed of a 1/M circle at the center and a predetermined number of 1/M circles surrounding the 1/M circle.
Step S1120: and grading the signal intensity of each communication frequency band, and determining the signal grade of each communication frequency band, wherein the number of the signal grades is related to the preset number.
In the embodiment of the present application, the network parameter of each communication band may include signal strength, and therefore, when determining the display content of the communication band, the number of the circular rings displayed in the first color may be determined according to the signal strength of each communication band. Specifically, the signal strength of each communication band may be ranked. Wherein the number of signal levels may be related to a preset number. For example, if the preset number of the circles is 3, the 1/M circle at the center in each frequency band display area and 3 1/M circles may be used together to display the signal strength of the communication frequency band, and then the number of the signal levels may be 4.
In the present embodiment, the signal level of each communication band is determined according to the signal strength of each communication band. For example, in a WIFI network, the signal strength of the WIFI network is generally between-100 dbm and 0dbm, 4 threshold ranges of the signal strength can be divided by three critical values of-85 dbm, -70dbm and-55 dbm, and each threshold range corresponds to one signal level. Specifically, reference may be made to the process of performing rank division on the signal strength of the WIFI network in the foregoing embodiment, which is not described herein again.
Step S1130: and determining the number of circular rings displayed as the first color in the frequency band display area corresponding to each communication frequency band based on the signal grade.
In the embodiment of the application, after the signal level to which each communication frequency band belongs is determined, the number of circular rings displayed in the frequency band display area corresponding to each communication frequency band is determined based on the signal level. It will be appreciated that a higher signal level, a greater number of corresponding circles displayed as the first color, may indicate a stronger signal.
Wherein, the 1/M circle at the center in the frequency band display area corresponding to each communication frequency band can correspond to the first grade of the signal intensity, and the signal intensity is increased by one signal grade every time one circular ring is added. For example, if the preset number of the circles is 3 and the number of the signal levels is 4, when it is determined that the signal level of the communication band belongs to the 2 nd level according to the signal strength of the determined communication band, the 1/M circle and 1/M circle at the center in the band display area corresponding to the communication band may be displayed as the first color.
As shown in fig. 12, if the terminal device is a device supporting simultaneous connection with a 2.4GHz/5GHz network, the central circular area and the frequency band display area of the designated icon formed by the 3 circular rings surrounding the circular area may be halved to obtain an upper half area and a lower half area, and the upper half area and the lower half area may be preset to respectively correspond to any communication frequency band in the 2.4GHz/5GHz network, for example, the upper half area corresponds to a 5GHz frequency band, and the lower half area corresponds to a 2.4GHz frequency band. Optionally, the frequency band display area of the designated icon may be halved to obtain two left and right half areas.
When the network connection state of the terminal device is in a network connection state, after the display contents of the upper half area and the lower half area are determined according to the use states of the 2.4GHz/5GHz 2 communication frequency bands, the display contents of the upper half area and the lower half area can be displayed on a screen of the terminal device according to corresponding display areas (namely, the 2.4GHz is displayed in the upper half area and the 5GHz is displayed in the lower half area). Alternatively, the display contents of the upper half area and the lower half area may be combined to generate a designated icon and then displayed on the screen of the terminal device, and the processing flow may be as shown in fig. 13.
Firstly, detecting the use states of 2 communication frequency bands of 2.4GHz/5GHz, and when the use states change, if it is determined that no communication channel is established in any of the 2 communication frequency bands, hiding the display contents of the two communication frequency bands, specifically, if the display contents of the two communication frequency bands form a designated icon, not displaying the designated icon; if the communication channel is established in the 5GHz frequency band, determining the number of the circular rings displayed in the first color in the upper half area according to the signal intensity of the 5GHz frequency band; when a communication channel is established in the 2.4GHz frequency band, determining the number of circular rings with the first color displayed in the lower half area according to the signal intensity of the 2.4GHz frequency band; and when the upper half area and the lower half area simultaneously display the first color, the current terminal is in a double-hair state. That is, the user can determine the signal strengths of the two communication bands of 2.4GHz/5GHz, respectively, by the number of semicircular areas or 1/2 circles displayed as the first color in the upper and lower half regions and whether the second color is displayed. Wherein the first color may be black and the second color may be gray. For example, in fig. 12, the upper half area shows a semicircular area and 2 1/2 circles are black, one 1/2 circle is gray, it can be determined that the signal strength of the current 5GHz band is at level 3, and the signal strength may be between-70 and-55 dbm; the lower half area shows that the semicircular area and all 1/2 rings are black, so that the signal intensity of the current 2.4GHz frequency band can be determined to be in the 4 th level, and the signal intensity can be between-55 and 0 dbm. It can be determined that the signal strength of the current 2.4GHz band is stronger than the signal strength of the 5GHz band.
Similarly, for a terminal device simultaneously connected to a 2.4GHz/5GHz/6GHz network, as shown in fig. 14, a frequency band display area of a designated icon formed by a circular area at the center and 3 circular rings surrounding the circular area can be trisected to obtain a first area facing the upper part of fig. 14, corresponding to a 5GHz frequency band; a second region adjacent to the first region in the clockwise direction of fig. 14, corresponding to a 6GHz band; a third region, which is adjacent to the second region in the clockwise direction of fig. 6, corresponds to the 2.4GHz band. In the network connection state of the terminal device, after the display contents of the first area, the second area, and the third area are determined according to the usage states of the 2.4GHz/5GHz/6GHz3 communication bands, the display contents of the first area, the second area, and the third area may be displayed on the screen of the terminal device according to the relationship among the three areas, alternatively, the display contents of the first area, the second area, and the third area may be combined into a designated icon and then displayed on the screen of the terminal device, and the processing flow may be as shown in fig. 15.
Firstly, detecting the use states of 3 communication frequency bands of 2.4GHz/5GHz/6GHz, and when the use states change, if determining that no communication channel is established in any of the 3 communication frequency bands, hiding the display contents of the 3 communication frequency bands, specifically, if the display contents of the 3 communication frequency bands form an appointed icon, not displaying the appointed icon; if the communication channel is established in the 5GHz frequency band, determining the number of the circular rings displayed in the first color in the first area according to the signal intensity of the 5GHz frequency band; if the communication channel is established in the 6GHz frequency band, determining the number of the circular rings of the first color displayed in the second area according to the signal intensity of the 6GHz frequency band; if the communication channel is established in the 2.4GHz frequency band, determining the number of the circular rings displayed as the first color in the third area according to the signal intensity of the 2.4GHz frequency band; when any two of the first area, the second area and the third area simultaneously display the first color, the current terminal is in a double-shot state; and when the first color is displayed in the first area, the second area and the third area, the current terminal is in a three-shot state.
That is, the user can determine the signal strengths of the three communication bands of 2.4GHz/5GHz/6GHz, respectively, by the number of semicircular areas or 1/3 circular rings displayed as the first color in the first area, the second area, and the third area, and whether the second color is displayed. Wherein the first color may be black and the second color may be gray. For example, in FIG. 14, the first area shows 1/3 circles and all 1/3 circles are black, and it can be determined that the signal strength of the current 5GHz band is at the 4 th level, and the signal strength may be between-55 to 0 dbm; the second area displays 1/3 circles and 2 1/3 circles in black, one 1/3 circle in gray, and the signal intensity of the current 6GHz frequency band can be determined to be in the 3 rd level, and the signal intensity can be between-70 and-55 dbm; the third area shows 1/3 circles and 1 1/3 circles as black, and 2 1/3 circles as gray, and it can be determined that the signal intensity of the current 2.4GHz band is at level 2, and the signal intensity may be between-85 and-70 dbm. At this time, it can be determined that the signal strength of the current 5GHz band is strongest, the signal strength of the 6GHz band is general, and the signal strength of the 2.4GHz band is weakest.
In some embodiments, a preset number of semicircular rings may surround a semicircular area to form a frequency band display area of a designated icon, and the center of the semicircular area is used to draw M extension lines to equally divide the frequency band display area of the designated icon into M frequency band display areas, where each frequency band display area corresponds to one communication frequency band. Alternatively, the signal strength of each communication frequency band may be classified according to a preset number, and the signal grade to which each communication frequency band belongs may be determined. Further, the number of circles displayed in the first color in the frequency band display area corresponding to each communication frequency band may be determined based on the signal level. Alternatively, the preset number may be 3, and correspondingly, the number of signal levels may be 4. Likewise, a higher signal level, a greater number of corresponding circles displayed as the first color, may indicate a stronger signal. The sector area at the center in the frequency band display area corresponding to each communication frequency band may correspond to a first level of signal strength, and each increase of one circular ring indicates that the signal strength increases by one signal level.
Alternatively, as shown in fig. 16, for a terminal device that supports two communication bands simultaneously, the band display area of the designated icon, which is composed of the semicircular area and 3 semicircular areas surrounding the semicircular area, may be divided into a left half area and a right half area after being equally divided by 2, and the left half area and the right half area correspond to one communication band respectively. Further, the central sector may be made to have a first level of signal strength, with each partial increase in the circle indicating a signal level increase in signal strength.
Alternatively, for a terminal device that supports three communication bands simultaneously, as shown in fig. 17, after the frequency band display area of the designated icon, which is composed of the semicircular area and 3 semicircular areas surrounding the semicircular area, is divided into 3 equal divisions, the left area, the middle area, and the right area are divided into a left area, a middle area, and a right area, and the left area, the middle area, and the right area respectively correspond to one communication band. Similarly, the central sector may be assigned a first level of signal strength, with each partial increase in the circle indicating an increase in signal strength by one signal level.
Optionally, the different types of communication frequency bands supporting connection in the terminal device in this embodiment may be different frequency bands of a WIFI network, and may also be different frequency bands in a mobile communication network, for example, 3G, 4G, or 5G, and the like.
In some embodiments, there is a communication band not connected to the internet in the communication bands, and a prompt icon may be superimposed on a display area of the corresponding communication band. Wherein the prompt icon may be displayed as an exclamation mark icon or star mark, etc. As shown in fig. 18, in the terminal device simultaneously supporting three communication frequency bands, it is assumed that a left area corresponds to a 5GHZ frequency band, a middle area corresponds to a 6GHZ frequency band, and a right area corresponds to a 2.4GHZ frequency band, where the left area is displayed in gray to indicate that the 5GHZ frequency band is not connected, the 6GHZ frequency band corresponding to the middle area displays a 3 rd level of signal intensity, and the 2.4GHZ frequency band corresponding to the right area displays a 4 th level of signal intensity, but an exclamation mark icon is displayed on a display area of the right area in an overlapping manner to indicate that a network in the 2.4GHZ frequency band is not currently connected to the internet.
In summary, the icon display method provided in this embodiment may be applied to a terminal device, where the terminal device supports using a plurality of different communication frequency bands. This application can constitute the frequency band display area of appointed icon around circular region with a plurality of rings of predetermineeing quantity to circle center drawing M extension lines of circular region equally divide the frequency band display area of appointed icon into M frequency band display area, and every frequency band display area corresponds a communication frequency range. Then, the signal intensity of each communication frequency band is graded, the signal grade to which each communication frequency band belongs is determined, the number of the signal grades is related to the preset number, and then the number of the circular rings displayed as the first color in the frequency band display area corresponding to each communication frequency band is determined based on the signal grade. Then, the display area of each communication band is determined according to the relative relationship between the band display areas, and then the corresponding display content is displayed in the display area of each communication band (i.e., the corresponding band display area). Alternatively, all the display contents may be combined into a designated icon, and the designated icon may be displayed on the screen of the terminal device. According to the method and the terminal device, the number of the 1/M circles and the 1/M rings can be displayed as the first color to represent the signal intensity of the communication frequency bands, different communication frequency bands can be distinguished based on the relative relation between different display areas, network connection information of a plurality of frequency bands can be displayed on the screen of the terminal device more simply and clearly, and the screen space is saved. In addition, the relative position of the circular mark partition represents the frequency band information correspondingly connected, so that a user can distinguish the current network connection information more easily, the signal intensity of each frequency band is represented by a circular ring, and more various network information can be displayed for the user.
Referring to fig. 19, a block diagram of an icon display apparatus according to an embodiment of the present application is shown. Specifically, the apparatus may be applied to a terminal device, the terminal device supporting the use of a plurality of different communication frequency bands, and the apparatus includes: a parameter acquisition module 1910, a content determination module 1920, an area division module 1930, and a content display module 1940.
A parameter obtaining module 1910, configured to obtain a network parameter of each communication frequency band; a content determining module 1920, configured to determine, according to the network parameter of each communication frequency band, a display content corresponding to each communication frequency band; the area dividing module 1930 is configured to determine a frequency band display area of each communication frequency band in a designated icon, where the designated icon is divided into multiple frequency band display areas, and each frequency band display area corresponds to one communication frequency band; a content display module 1940, configured to display, on the screen of the terminal device, display contents of all the frequency band display areas based on display positions of the frequency band display areas of the designated icon on the screen.
Optionally, the network parameter in the foregoing embodiment may include a use state, and further, the use state includes a first state and a second state, where a communication band in the first state is used to characterize that the terminal device has established a communication channel corresponding to the communication band, and a communication band in the second state is used to characterize that the terminal device has not established a communication channel corresponding to the communication band. Still further, the content determining module 1920 may include: and the content determining submodule is used for determining first display content corresponding to each communication frequency band in the first state and determining second display content corresponding to each communication frequency band in the second state, and the first display content corresponding to each communication frequency band in the first state is different from the second display content corresponding to each communication frequency band in the second state.
In some embodiments, the network parameters in the foregoing embodiments may include signal strength, and therefore, the content determining module 1920 may include: and the pattern determining module is used for determining the pattern of the content corresponding to the communication frequency band based on the signal strength.
Further, in some embodiments, the pattern determining module may include: and the area determining module is used for determining the area of a designated color area in the display content corresponding to each communication frequency band based on the signal intensity, wherein the designated color area is used for displaying a first color.
Optionally, on the basis of the foregoing embodiment, the area determining module may further include: the grade division module is used for carrying out grade division on the signal intensity and determining the signal grade of each communication frequency band; and the area determining submodule is used for determining the area of the specified color region according to the signal level, wherein the area of the specified color region is in positive correlation with the signal level.
Optionally, on the basis of the foregoing embodiment, a color of an area other than the designated color area in the display content corresponding to each of the communication frequency bands is a second color, where the second color is different from the first color.
In some exemplary embodiments, the first color is black and the second color is gray.
In some embodiments, the apparatus may further comprise: the area determining module is used for forming a frequency band display area of the designated icon by surrounding the circular area with a preset number of circular rings, dividing the frequency band display area of the designated icon into M frequency band display areas equally by drawing M extension lines at the circle center of the circular area, and enabling each frequency band display area to correspond to one communication frequency band.
Optionally, the network parameter in the foregoing embodiment may include signal strength, and therefore, the content determining module 1920 may include: a level determining module, configured to perform level division on the signal strength of each communication frequency band, and determine a signal level to which each communication frequency band belongs, where the number of the signal levels is related to the preset number; and the number determining module is used for determining the number of circular rings displayed in a first color in the frequency band display area corresponding to each communication frequency band based on the signal grade.
In some embodiments, the network parameter in the foregoing embodiment may include a usage duration, and therefore, the content determining module 1920 may further include: and the display area determining module is used for determining the corresponding display area of the display content according to the using duration.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the modules/units/sub-units/components in the above-described apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 20, a block diagram of a terminal device according to an embodiment of the present application is shown. The terminal device in this embodiment may include one or more of the following components: a processor 2010, a memory 2020, and one or more application programs, wherein the one or more application programs may be stored in the memory 2020 and configured to be executed by the one or more processors 2010, the one or more application programs configured to perform the methods as described in the foregoing method embodiments.
Among them, the terminal device may be any of various types of computer system devices that are mobile, portable, and perform wireless communication. In particular, the terminal device may be a mobile phone or smart phone (e.g., iPhone (TM) based, Android (TM) based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), game Advance (TM), iPhone (TM)), a laptop, a PDA, a Portable internet device, a music player and a data storage device, other handheld devices and devices such as a smart watch, a smart band, an earphone, a pendant, etc., and other wearable devices (e.g., such as electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, or a Head Mounted Device (HMD)).
The end device may also be any of a number of end devices including, but not limited to, cellular phones, smart watches, smart bracelets, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controls, pagers, laptop computers, desktop computers, printers, netbooks, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the terminal device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). The terminal device may be, for example, a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device, if desired.
Processor 2010 may include one or more processing cores. The processor 2010, utilizing the various interfaces and connections throughout the terminal device, executes the various functions and processes data of the terminal device by executing or performing the instructions, applications, code sets or instruction sets stored in the memory 2020 and invoking the data stored in the memory 2020. Alternatively, the processor 2010 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 2010 may be integrated with one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is to be appreciated that the modem can be implemented by a single communication chip, rather than being integrated into the processor 2010.
The Memory 2020 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 2020 may be used to store instructions, applications, code sets or instruction sets. The memory 2020 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area can also store data (such as a phone book, audio and video data, chat log data) created by the terminal device in use and the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the processor 2010 and the memory 2020 of the terminal device described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 21, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 2100 has stored therein program code that can be called by a processor to execute the methods described in the above-described method embodiments.
The computer-readable storage medium 2100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 2100 includes a non-volatile computer-readable storage medium. The computer readable storage medium 2100 has storage space for program code 2110 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 2110 may be compressed, for example, in a suitable form. The computer-readable storage medium 2100 may be, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), an SSD, a charged Erasable Programmable Read-Only Memory (EEPROM), or a Flash Memory (Flash).
In some embodiments, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, SSD, Flash), and includes several instructions for enabling a terminal (such as a mobile phone, a computer, an air conditioner, or a network device) to execute the methods of the embodiments of the present application.
The application provides an icon display method, an icon display device, a terminal device and a storage medium. The method comprises the steps of firstly obtaining network parameters of each communication frequency band, determining display contents corresponding to each communication frequency band according to the network parameters, and then determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band. And finally, displaying the display contents of all the frequency band display areas on the screen of the terminal equipment based on the display positions of the frequency band display areas of the designated icons on the screen. According to the method and the terminal device, the display content of each frequency band is determined according to the network parameters of each communication frequency band on the terminal device, the same designated icon is divided into a plurality of frequency band display areas according to the communication frequency bands, and finally the display content of all the frequency bands is displayed on the screen of the terminal device according to the positions of the frequency band display areas, so that the display content of different communication frequency bands can be displayed on different positions of the designated icon, the display of network connection information is simpler and clearer, different communication frequency bands can be distinguished more easily by a user while the screen display space is saved, and the display content of the communication frequency bands can be changed according to the change of the network parameters, so that more various network connection information can be displayed on the terminal device simultaneously.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

1. An icon display method, applied to a terminal device, wherein the terminal device supports the use of a plurality of different communication frequency bands, the method comprising:
acquiring network parameters of each communication frequency band;
determining display content corresponding to each communication frequency band according to the network parameters of each communication frequency band;
determining a frequency band display area of each communication frequency band in a designated icon, wherein the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band;
and displaying the display contents of all the frequency band display areas on the screen based on the display positions of the frequency band display areas of the designated icons on the screen of the terminal equipment.
2. The method according to claim 1, wherein the network parameter includes a usage state, and the usage state includes a first state and a second state, a communication band in the first state is used to indicate that the terminal device has established a communication channel corresponding to the communication band, and a communication band in the second state is used to indicate that the terminal device has not established a communication channel corresponding to the communication band; the determining the display content corresponding to each communication frequency band according to the network parameter of each communication frequency band comprises:
and determining first display content corresponding to each communication frequency band in the first state, and determining second display content corresponding to each communication frequency band in the second state, wherein the first display content corresponding to each communication frequency band in the first state is different from the second display content corresponding to each communication frequency band in the second state.
3. The method of claim 1, wherein the network parameter includes a signal strength, and wherein the determining the display content corresponding to each of the communication bands according to the network parameter of each of the communication bands comprises:
and determining the pattern of the display content corresponding to the communication frequency band based on the signal strength.
4. The method of claim 3, wherein determining the pattern of the display content corresponding to the communication band based on the signal strength comprises:
and determining the area of a designated color area in the display content corresponding to each communication frequency band based on the signal intensity, wherein the designated color area is used for displaying a first color.
5. The method of claim 4, wherein the determining the area of the designated color region within the display content corresponding to each of the communication bands based on the signal strength comprises:
grading the signal intensity, and determining the signal grade of each communication frequency band;
determining the area of the designated color region according to the signal level, wherein the area of the designated color region has a positive correlation with the signal level.
6. The method according to claim 4, wherein the color of the area of the display content corresponding to each of the communication bands other than the designated color area is a second color, and the second color is different from the first color.
7. The method of claim 6, wherein the first color is black and the second color is gray.
8. The method according to any one of claims 1 to 7, wherein the number of the plurality of different communication bands is M, and the determining a band display area of each of the communication bands in a designated icon, the designated icon being divided into a plurality of band display areas, includes:
the method comprises the steps that a preset number of circular rings surround a circular area to form a frequency band display area of an appointed icon, M extension lines are drawn at the center of the circular area to equally divide the frequency band display area of the appointed icon into M frequency band display areas, and each frequency band display area corresponds to one communication frequency band.
9. The method of claim 8, wherein the network parameter includes a signal strength, and wherein the determining the display content corresponding to each of the communication bands according to the network parameter of each of the communication bands comprises:
grading the signal intensity of each communication frequency band, and determining the signal grade of each communication frequency band, wherein the number of the signal grades is related to the preset number;
and determining the number of circular rings displayed as the first color in the display content corresponding to each communication frequency band based on the signal level.
10. The method of claim 1, wherein the network parameter includes a usage duration, and wherein the determining the display content corresponding to each of the communication bands according to the network parameter of each of the communication bands includes:
and determining the display area of the corresponding display content according to the service life.
11. An icon display apparatus, applied to a terminal device supporting use of a plurality of different communication frequency bands, the apparatus comprising:
a parameter obtaining module, configured to obtain a network parameter of each communication frequency band;
the content determining module is used for determining display content corresponding to each communication frequency band according to the network parameters of each communication frequency band;
the area division module is used for determining a frequency band display area of each communication frequency band in a designated icon, the designated icon is divided into a plurality of frequency band display areas, and each frequency band display area corresponds to one communication frequency band;
and the content display module is used for displaying the display contents of all the frequency band display areas on the screen of the terminal equipment based on the display positions of the frequency band display areas of the designated icons on the screen.
12. A terminal device characterized by comprising a processor, a memory, the memory storing a computer program, the processor being configured to execute the icon display method according to any one of claims 1 to 10 by calling the computer program.
13. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method according to any one of claims 1 to 10.
14. A computer program product comprising instructions stored thereon, which, when run on a computer, cause the computer to carry out the method according to any one of claims 1 to 10.
CN202111491264.8A 2021-12-08 2021-12-08 Icon display method and device, terminal equipment and storage medium Pending CN114338912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111491264.8A CN114338912A (en) 2021-12-08 2021-12-08 Icon display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111491264.8A CN114338912A (en) 2021-12-08 2021-12-08 Icon display method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114338912A true CN114338912A (en) 2022-04-12

Family

ID=81051109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111491264.8A Pending CN114338912A (en) 2021-12-08 2021-12-08 Icon display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114338912A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941965A (en) * 2005-09-30 2007-04-04 乐金电子(中国)研究开发中心有限公司 Method for displaying signal intensity in multi-mode mobile phone
CN102508649A (en) * 2011-09-26 2012-06-20 鸿富锦精密工业(深圳)有限公司 Electronic device with function of automatically sequencing icons and sequencing method
CN105242825A (en) * 2015-09-09 2016-01-13 北京新美互通科技有限公司 Terminal control method and apparatus
CN109871174A (en) * 2019-01-28 2019-06-11 维沃移动通信有限公司 A kind of virtual key display methods and mobile terminal
CN110032310A (en) * 2019-04-16 2019-07-19 罗福来 A kind of application program image target display methods, device and equipment
CN110351741A (en) * 2018-04-04 2019-10-18 华为技术有限公司 Measurement method, display control method and equipment
CN110677867A (en) * 2019-10-09 2020-01-10 中国联合网络通信集团有限公司 Signal intensity display method and signal intensity display system
CN110750189A (en) * 2019-09-29 2020-02-04 维沃移动通信有限公司 Icon display method and device
CN111857476A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Display method and device and electronic equipment
CN112783330A (en) * 2021-03-16 2021-05-11 展讯通信(上海)有限公司 Electronic equipment operation method and device and electronic equipment
WO2021138849A1 (en) * 2020-01-08 2021-07-15 Oppo广东移动通信有限公司 Method and apparatus for resource allocation, and terminal and network device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941965A (en) * 2005-09-30 2007-04-04 乐金电子(中国)研究开发中心有限公司 Method for displaying signal intensity in multi-mode mobile phone
CN102508649A (en) * 2011-09-26 2012-06-20 鸿富锦精密工业(深圳)有限公司 Electronic device with function of automatically sequencing icons and sequencing method
CN105242825A (en) * 2015-09-09 2016-01-13 北京新美互通科技有限公司 Terminal control method and apparatus
CN110351741A (en) * 2018-04-04 2019-10-18 华为技术有限公司 Measurement method, display control method and equipment
CN109871174A (en) * 2019-01-28 2019-06-11 维沃移动通信有限公司 A kind of virtual key display methods and mobile terminal
CN110032310A (en) * 2019-04-16 2019-07-19 罗福来 A kind of application program image target display methods, device and equipment
CN110750189A (en) * 2019-09-29 2020-02-04 维沃移动通信有限公司 Icon display method and device
CN110677867A (en) * 2019-10-09 2020-01-10 中国联合网络通信集团有限公司 Signal intensity display method and signal intensity display system
WO2021138849A1 (en) * 2020-01-08 2021-07-15 Oppo广东移动通信有限公司 Method and apparatus for resource allocation, and terminal and network device
CN111857476A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Display method and device and electronic equipment
CN112783330A (en) * 2021-03-16 2021-05-11 展讯通信(上海)有限公司 Electronic equipment operation method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN103154876B (en) For method and apparatus based on importance information adapting content fragment
CN102548043B (en) Apparatus and method for searching access points in portable terminal
KR20130052751A (en) Terminal and method for arranging icon thereof
CN108683444B (en) Data transmission method and related product
EP1349351A2 (en) Apparatus and method for configuring and displaying user interface in mobile communication terminal
JP2007074730A (en) Method for connecting mobile communication terminal to its wireless data network
WO2021031793A1 (en) Wireless high-fidelity wi-fi connection control method and related product
CN109803429B (en) RRM (radio resource management) measurement control method of adjacent cell, mobile communication terminal and network side equipment
CN114466423B (en) Method and device for selecting network
JP7348397B2 (en) Uplink resource determination method, instruction method, terminal and network equipment
CN104604143A (en) Method and apparatus for reducing power consumption of simultaneous receivers in wireless communications device
CN113316206B (en) Cell reselection method, device, terminal equipment and storage medium
CN106488413A (en) Notification message based reminding method and mobile terminal
CN114079478B (en) Signal interference processing method and device, storage medium and electronic equipment
CN113727399B (en) Target cell determining method and device
CN114900205A (en) Adaptive frequency hopping method, device, storage medium and electronic equipment
CN114449243A (en) White balance method and terminal equipment
WO2024066479A1 (en) Device deployment method and apparatus, storage medium, and electronic device
CN114338912A (en) Icon display method and device, terminal equipment and storage medium
KR101863180B1 (en) Apparatus and method for dynamically determining communication link in communication system
CN107040985A (en) Radio frequency interference processing method, device, storage medium and terminal
CN108337715B (en) Wireless network connection method, device, terminal equipment and storage medium
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN114268379B (en) Wireless sensing method, terminal and computer storage medium
CN110971320A (en) Beam quality reporting method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination