CN108512615B - Signal intensity display method and mobile terminal - Google Patents

Signal intensity display method and mobile terminal Download PDF

Info

Publication number
CN108512615B
CN108512615B CN201810319719.XA CN201810319719A CN108512615B CN 108512615 B CN108512615 B CN 108512615B CN 201810319719 A CN201810319719 A CN 201810319719A CN 108512615 B CN108512615 B CN 108512615B
Authority
CN
China
Prior art keywords
signal
reference value
signal strength
display reference
value
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.)
Active
Application number
CN201810319719.XA
Other languages
Chinese (zh)
Other versions
CN108512615A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810319719.XA priority Critical patent/CN108512615B/en
Publication of CN108512615A publication Critical patent/CN108512615A/en
Application granted granted Critical
Publication of CN108512615B publication Critical patent/CN108512615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a signal intensity display method and a mobile terminal, and relates to the technical field of mobile terminals. The signal intensity display method is applied to a mobile terminal and comprises the following steps: measuring signal strength of a target network; according to the historical measurement results of the signal intensity, smoothing the signal intensity, and determining the display reference value of the signal intensity, wherein the historical measurement results at least comprise the measurement results of the last two times; and acquiring the number of signal grids according to the updated display reference value and displaying the signal grids on the mobile terminal. In the embodiment of the invention, the measured signal intensity of the target network is displayed after being smoothed, so that the display of the signal lattice number can be prevented from jumping, the stability of the display of the signal lattice number is ensured, a user can clearly know the network state, and the use experience of the user is improved.

Description

Signal intensity display method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a signal intensity display method and a mobile terminal.
Background
With the development of science and technology, mobile terminals have become indispensable electronic products in people's lives, and the use of mobile terminals by users is directly influenced by the networking state of the mobile terminals.
Due to the change of a network environment, the situation that a signal lattice jumps often occurs in a mobile terminal, which brings unstable network experience to a user, but in the field of communication specialties, the fluctuation of the signal intensity in a certain range does not affect the normal calling and surfing of the user, but the user is not a professional, the fluctuation of the signal intensity is not clear, and the illusion that the communication of the user is possibly affected is caused when the display of the signal intensity jumps suddenly.
Disclosure of Invention
The embodiment of the invention provides a signal strength display method and a mobile terminal, and aims to solve the problems that the user misjudges the network state and the user experience is influenced in the conventional signal strength display mode.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a signal strength display method applied to a mobile terminal, including:
measuring signal strength of a target network;
according to the historical measurement results of the signal intensity, smoothing the signal intensity, and determining the display reference value of the signal intensity, wherein the historical measurement results at least comprise the measurement results of the last two times;
and acquiring the number of signal grids according to the updated display reference value and displaying the signal grids on the mobile terminal.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the measuring module is used for measuring the signal intensity of the target network;
the determining module is used for performing smoothing processing on the signal strength according to historical measurement results of the signal strength to determine a display reference value of the signal strength, wherein the historical measurement results at least comprise the measurement results of the last two times;
and the display module is used for acquiring the signal lattice number according to the updated display reference value and displaying the signal lattice number on the mobile terminal.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the signal strength display method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the signal strength display method described above.
In the embodiment of the invention, the measured signal intensity of the target network is displayed after being smoothed, so that the display of the signal lattice number can be prevented from jumping, the stability of the display of the signal lattice number is ensured, a user can clearly know the network state, and the use experience of the user is improved.
Drawings
FIG. 1 is a flow chart of a signal strength display method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a second block diagram of a mobile terminal according to an embodiment of the invention;
fig. 4 is a third block diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a signal strength display method applied to a mobile terminal, including:
step 101, measuring the signal intensity of a target network;
it should be noted that the target Network may be a mobile Network, such as L TE (L ong Term Evolution, long Term Evolution, lte) Network, 5G (5th Generation, fifth Generation) Network, etc., or a wireless Network, such as W L AN (Wakeon L oral Area Network, wake-up lan), where the Signal strength generally refers to RSRP (Reference Signal Receiving Power) measured by the mobile terminal, and the Signal strength is expressed by the RSRP size.
102, smoothing the signal intensity according to the historical measurement result of the signal intensity, and determining a display reference value of the signal intensity;
it should be noted that the historical measurement results at least include the last two measurement results; in order to avoid the display of the signal strength from jumping, when the signal strength is displayed, smoothing processing is firstly carried out on the measured signal strength according to the measurement results of the signal strength for multiple times, and the smoothing processing is used for preventing the signal lattice number from jumping and ensuring that the signal strength cannot jump when being displayed.
And 103, acquiring the number of signal grids according to the updated display reference value and displaying the signal grids on the mobile terminal.
The signal intensity through smoothing processing is displayed in the signal lattice number, so that the user can clearly observe the intensity of the signal intensity, and the use experience of the user is improved.
It should be noted that, when the step 102 is implemented specifically, the following two manners may be adopted, and the step 102 is specifically described below with respect to two different implementations, respectively.
The first method and the specific implementation process of step 102 are as follows:
s11, calculating an absolute value of a target difference value, wherein the target difference value is a difference value between a latest first measurement result of the signal intensity and the display reference value obtained by latest updating;
it should be noted that, in this implementation, the mobile terminal updates the display reference value at a preset period, for example, the mobile terminal updates the display reference value every 5 seconds, before the update, the signal strength (i.e., the first measurement result) obtained by the last measurement needs to be obtained first, and when the first measurement result is obtained, an operation needs to be performed according to the first measurement result and the display reference value (i.e., the display reference value obtained by the previous update) obtained by the last update to obtain an absolute value of a difference between the first measurement result and the display reference value, which is used to determine whether the signal strength has hopped or not.
S12, when the absolute value is larger than or equal to a preset value, determining that the signal strength has one jump, counting the jump times of the signal strength, and keeping the display reference value unchanged when the jump times do not reach a preset threshold, so as to obtain the updated display reference value;
it should be noted that the number of transitions refers to the number of consecutive transitions.
In this step, by comparing the absolute value in S11 with the preset value, if the absolute value is greater than or equal to the preset value, it is proved that the signal strength has one jump, and the number of consecutive jumps (i.e., the number of consecutive jumps) is counted, and if the number of consecutive jumps does not reach the preset threshold (i.e., the number of consecutive jumps is less than the preset threshold), the updated display reference value of this time is the same as the updated display reference value of the last time, i.e., the mobile terminal continues to use the updated display reference value of the last time.
And S13, when the absolute value is smaller than the preset value, calculating to obtain the average value of the signal intensity according to the historical measurement result, and obtaining the updated display reference value.
In this step, by comparing the absolute value in S11 with a preset value, if the absolute value is smaller than the preset value, it is proved that the signal strength has not jumped, the display reference value is updated, specifically, the update mode of the display reference value is: and calculating the average value of the latest first measurement result of the signal intensity and the preset number of display reference values before the current update, and taking the average value as the display reference value of the current update.
It should be noted that, in this way, by counting the number of consecutive times of signal strength jump, when the number of consecutive times of signal strength jump of the terminal does not exceed the preset threshold, the display reference value is not updated, so that the situation that signal display jumps due to occasional signal strength change can be avoided.
For example, when the eighth display reference value is updated, the signal strength obtained by the last measurement and the display reference values of the previous 4 times before the eighth time (i.e., the display reference values obtained by the fourth, fifth, sixth, and seventh updates) are respectively obtained, and the average of these 5 values is calculated, so as to obtain the display reference value updated for the eighth time.
Further, step 102, further includes:
and when the jumping frequency reaches a preset threshold, calculating to obtain an average value of the signal intensity according to the historical measurement result, obtaining the updated display reference value, and clearing the jumping frequency.
It should be noted that, when the number of consecutive transitions reaches a preset threshold (that is, the number of consecutive transitions is greater than or equal to the preset threshold), indicating that the signal strength has changed significantly, the display reference value needs to be updated at this time, specifically, the update mode of the display reference value is as follows: and calculating the average value of the latest first measurement result of the signal intensity and the preset number of display reference values before the current update, and taking the average value as the display reference value of the current update.
For example, when the number of consecutive transitions has exceeded 5 times, when updating the eleventh display reference value, the signal strength measured last time and the display reference values of the previous 5 times before the eleventh time (i.e., the display reference values updated sixth time, seventh time, eighth time, ninth time and tenth time) are respectively obtained, and the average of these 6 values is calculated, thereby obtaining the eleventh updated display reference value.
In the first mode, when the signal strength changes too much (for example, from-91 dbm to-98 dbm), the mobile terminal still obtains the previous signal strength (-91dbm), and when the change amplitude is large for a period of time (for example, for 1 minute to 91dbm), the mobile terminal obtains the previous N-times average value (including this time); when network environments are neglected, the method can filter out the signal strength with larger change, so that the fluctuation of the signal strength tends to be smooth.
The second way, the specific implementation process of step 102 is:
s21, obtaining the duration of the currently displayed signal grid number;
it should be noted that, after each change of the signal lattice number, the duration of the signal lattice number needs to be counted.
S22, determining the total number of the measurement results in the historical measurement results for the current update according to the duration, wherein the total number is negatively related to the duration;
specifically, the total number is obtained in the following manner:
if the duration is greater than or equal to a preset time threshold, the total quantity of the current time is equal to the total quantity-K of the previous time;
if the duration is less than a preset time threshold, the total quantity of the current time is equal to the total quantity of the previous time + K;
wherein, the total number of K is less than or equal to 16K at this time, the total number of K is less than or equal to 16K at the previous time, and K is a positive integer.
Further, the preset time threshold is obtained in the following manner:
according to the formula: acquiring a preset time threshold value p × N;
wherein p is a preset reference value, N is the total number of previous times, and p and N are positive integers.
And S23, calculating the average value of the signal intensity according to the total number to obtain the updated display reference value.
Specifically, when the signal strength is updated according to the total number, the latest first measurement result of the signal strength and the total number of-1 display reference values before the current update are respectively obtained, and the average value of the display reference values is obtained to obtain the display reference value of the current update.
It should be noted that, the second mode is an adaptive anti-jump and anti-sliding processing mode, and the total number of the measurement results in the historical measurement results for the current update is equivalent to the size of the sliding window. When the sliding window is enlarged, the number of samples is increased, and the jump amplitude is weakened due to the increase of the number of samples; when the sliding window is reduced, the number of samples is reduced, the signal intensity tends to the current actual value due to the reduction of the number of samples, and the signal intensity can be reflected in real time; the realization mode can dynamically adjust the size of the sliding window according to the actual network condition, and realizes the purposes of stabilizing the real-time display signal of the network and reducing the jump amplitude of the fluctuation network.
It should be further noted that, the specific implementation manner of step 103 is:
mapping the updated display reference value to a signal lattice number according to an array a ═ a1, a2, a3, a4, a5, …, aM ], wherein a1< a2< a3< a4< a5< … < aM, wherein M is a positive integer greater than or equal to 1.
Specifically, when the display reference value is less than a1, the signal lattice number is 0 (i.e., no signal strength is displayed on the signal lattice number); when the display reference value is greater than or equal to a1 and less than a2, the number of signal lattices is 1; when the display reference value is greater than or equal to a2 and less than a3, the number of signal lattices is 2; and so on to map the display reference value to the number of signal bins.
It should be noted that, by performing smoothing processing on the measured signal strength of the target network and then displaying the smoothed signal strength, the embodiment of the present invention can avoid the display of the signal grid from jumping, so as to ensure the stability of the display of the signal grid, enable a user to clearly know the network state, and improve the user experience of the user.
As shown in fig. 2 to fig. 5, an embodiment of the present invention further provides a mobile terminal, including:
a measuring module 201, configured to measure signal strength of a target network;
a determining module 202, configured to perform smoothing processing on the signal strength according to a historical measurement result of the signal strength, and determine a display reference value of the signal strength, where the historical measurement result at least includes the measurement results of the last two times;
and the display module 203 is configured to obtain the number of signal lattices according to the updated display reference value and display the number of signal lattices on the mobile terminal.
Optionally, the determining module 202 includes:
a calculating unit 2021, configured to calculate an absolute value of a target difference value, where the target difference value is a difference value between a latest first measurement result of the signal strength and the display reference value obtained by the latest update;
a first determining unit 2022, configured to determine that the signal strength has one jump when the absolute value is greater than or equal to a preset value, count the number of jumps of the signal strength, and keep the display reference value unchanged when the number of jumps does not reach a preset threshold, so as to obtain the updated display reference value;
the second determining unit 2023 is configured to, when the absolute value is smaller than the preset value, calculate an average value of the signal strength according to the historical measurement result, and obtain the updated display reference value this time.
Further, the determining module 202 further includes:
a third determining unit 2024, configured to calculate an average value of the signal strength according to the historical measurement result when the number of transitions reaches a preset threshold, obtain the updated display reference value, and zero-clear the number of transitions.
Optionally, the determining module 202 includes:
an acquisition unit 2025 configured to acquire a duration of the currently displayed signal format number;
a fourth determining unit 2026, configured to determine, according to the duration, a total number of measurement results in the historical measurement results for the current update, where the total number is negatively correlated with the duration;
a fifth determining unit 2027, configured to calculate an average value of the signal strengths according to the total number, so as to obtain the updated display reference value.
Specifically, the fourth determining unit 2026 is configured to:
if the duration is greater than or equal to a preset time threshold, the total quantity of the current time is equal to the total quantity-K of the previous time;
if the duration is less than a preset time threshold, the total quantity of the current time is equal to the total quantity of the previous time + K;
wherein, the total number of K is less than or equal to 16K at this time, the total number of K is less than or equal to 16K at the previous time, and K is a positive integer.
Further, the preset time threshold is obtained in the following manner:
according to the formula: acquiring a preset time threshold value p × N;
wherein p is a preset reference value, N is the total number of previous times, and p and N are positive integers.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 1, and is not described herein again in order to avoid repetition. The mobile terminal of the embodiment of the invention can avoid the display of the signal lattice number from jumping by performing smoothing processing on the measured signal intensity of the target network and then displaying, thereby ensuring the stability of the display of the signal lattice number, leading a user to know the network state clearly and improving the use experience of the user.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing an embodiment of the present invention.
The mobile terminal 60 includes but is not limited to: radio unit 610, network module 620, audio output unit 630, input unit 640, sensor 650, display unit 660, user input unit 670, interface unit 680, memory 690, processor 611, and power supply 612. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 611 is configured to measure a signal strength of the target network; according to the historical measurement results of the signal intensity, smoothing the signal intensity, and determining the display reference value of the signal intensity, wherein the historical measurement results at least comprise the measurement results of the last two times; and acquiring the number of signal grids according to the updated display reference value and displaying the signal grids on the mobile terminal.
The mobile terminal of the embodiment of the invention can avoid the display of the signal lattice number from jumping by performing smoothing processing on the measured signal intensity of the target network and then displaying, thereby ensuring the stability of the display of the signal lattice number, leading a user to know the network state clearly and improving the use experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 610 may be configured to receive and transmit signals during a message transmission and reception process or a call process, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 611; in addition, the uplink data is transmitted to the base station. In general, radio unit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 610 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 620, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 630 may convert audio data received by the radio frequency unit 610 or the network module 620 or stored in the memory 690 into an audio signal and output as sound. Also, the audio output unit 630 may also provide audio output related to a specific function performed by the mobile terminal 60 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 630 includes a speaker, a buzzer, a receiver, and the like.
The input unit 640 is used to receive an audio or video signal. The input Unit 640 may include a Graphics Processing Unit (GPU) 641 and a microphone 642, and the Graphics processor 641 processes image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 660. The image frames processed by the graphic processor 641 may be stored in the memory 690 (or other storage medium) or transmitted via the radio frequency unit 610 or the network module 620. The microphone 642 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 610 in case of a phone call mode.
The mobile terminal 60 also includes at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 661 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 661 and/or a backlight when the mobile terminal 60 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensor 650 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The Display unit 66 may include a Display panel 661, and the Display panel 661 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light Emitting Diode (O L ED), or the like.
The user input unit 670 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 670 includes a touch panel 671 and other input devices 672. The touch panel 671, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 671 (e.g., operations by a user on or near the touch panel 671 using a finger, a stylus, or any other suitable object or attachment). The touch panel 671 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 611, and receives and executes commands sent from the processor 611. In addition, the touch panel 671 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 671, the user input unit 67 may also include other input devices 672. In particular, the other input devices 672 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 671 may be overlaid on the display panel 661, and when the touch panel 671 detects a touch operation on or near the touch panel 671, the touch panel 671 transmits to the processor 611 to determine the type of the touch event, and then the processor 611 provides a corresponding visual output on the display panel 661 according to the type of the touch event. Although the touch panel 671 and the display panel 661 are shown as two separate components in fig. 6 to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 671 and the display panel 661 can be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 680 is an interface through which an external device is connected to the mobile terminal 60. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 680 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 60 or may be used to transmit data between the mobile terminal 60 and external devices.
The memory 690 may be used to store software programs as well as various data. The memory 690 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 690 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 611 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 690 and calling data stored in the memory 690, thereby monitoring the mobile terminal as a whole. Processor 611 may include one or more processing units; preferably, the processor 611 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 611.
The mobile terminal 60 may further include a power supply 612 (e.g., a battery) for supplying power to various components, and preferably, the power supply 612 may be logically connected to the processor 611 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the mobile terminal 60 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 611, a memory 690, and a computer program stored in the memory 690 and capable of running on the processor 611, where the computer program, when executed by the processor 611, implements each process of the embodiment of the signal strength display method applied to the mobile terminal side, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the signal strength display method applied to the mobile terminal side, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 will 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 in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (7)

1. A signal strength display method is applied to a mobile terminal and is characterized by comprising the following steps:
measuring signal strength of a target network;
according to the historical measurement results of the signal intensity, smoothing the signal intensity, and determining the display reference value of the signal intensity, wherein the historical measurement results at least comprise the measurement results of the last two times;
acquiring the number of signal grids according to the updated display reference value and displaying the signal grids on the mobile terminal;
according to the historical measurement result of the signal intensity, smoothing the signal intensity, and determining the display reference value of the signal intensity, wherein the step comprises the following steps:
calculating an absolute value of a target difference value, wherein the target difference value is a difference value between a latest first measurement result of the signal intensity and the display reference value obtained by latest updating;
when the absolute value is larger than or equal to a preset value, determining that the signal strength has one jump, counting the jump times of the signal strength, and keeping the display reference value unchanged when the jump times do not reach a preset threshold to obtain the updated display reference value;
when the absolute value is smaller than the preset value, calculating to obtain an average value of the signal intensity according to the historical measurement result, and obtaining the updated display reference value;
the step of smoothing the signal strength according to the historical measurement result of the signal strength and determining the display reference value of the signal strength further comprises:
and when the jumping frequency reaches a preset threshold, calculating to obtain an average value of the signal intensity according to the historical measurement result, obtaining the updated display reference value, and clearing the jumping frequency.
2. The signal strength display method according to claim 1, wherein the step of smoothing the signal strength according to the historical measurement result of the signal strength and determining the display reference value of the signal strength comprises:
acquiring the duration of the number of currently displayed signal grids;
determining the total number of the measurement results in the historical measurement results for the current update according to the duration, wherein the total number is inversely related to the duration;
and calculating to obtain the average value of the signal intensity according to the total number, and obtaining the updated display reference value.
3. The signal strength display method according to claim 2, wherein the step of determining the total number of the measurements in the historical measurements for the current update according to the duration comprises:
if the duration is greater than or equal to a preset time threshold, the total quantity of the current time is equal to the total quantity-K of the previous time;
if the duration is less than a preset time threshold, the total quantity of the current time is equal to the total quantity of the previous time + K;
wherein, the total number of K is less than or equal to 16K at this time, the total number of K is less than or equal to 16K at the previous time, and K is a positive integer.
4. The signal strength display method according to claim 3, wherein the preset time threshold is obtained by:
according to the formula: acquiring a preset time threshold value p × N;
wherein p is a preset reference value, N is the total number of previous times, and p and N are positive integers.
5. A mobile terminal, comprising:
the measuring module is used for measuring the signal intensity of the target network;
the determining module is used for performing smoothing processing on the signal strength according to historical measurement results of the signal strength to determine a display reference value of the signal strength, wherein the historical measurement results at least comprise the measurement results of the last two times;
the display module is used for acquiring the number of signal lattices according to the updated display reference value and displaying the signal lattices on the mobile terminal;
the determining module includes:
a calculating unit, configured to calculate an absolute value of a target difference, where the target difference is a difference between a latest first measurement result of the signal strength and the display reference value obtained through latest update;
a first determining unit, configured to determine that the signal strength has one jump when the absolute value is greater than or equal to a preset value, count the number of jumps of the signal strength, and keep the display reference value unchanged when the number of jumps does not reach a preset threshold, so as to obtain the updated display reference value;
the second determining unit is used for calculating the average value of the signal intensity according to the historical measurement result when the absolute value is smaller than the preset value, so as to obtain the updated display reference value;
and the third determining unit is used for calculating to obtain the average value of the signal strength according to the historical measurement result when the jumping frequency reaches a preset threshold, obtaining the updated display reference value, and clearing the jumping frequency.
6. The mobile terminal of claim 5, wherein the determining module comprises:
an acquisition unit configured to acquire a duration of a currently displayed signal lattice number;
a fourth determining unit, configured to determine, according to the duration, a total number of measurement results in the historical measurement results for the current update, where the total number is negatively related to the duration;
and the fifth determining unit is used for calculating the average value of the signal intensity according to the total number to obtain the updated display reference value.
7. The mobile terminal according to claim 6, wherein the fourth determining unit is configured to:
if the duration is greater than or equal to a preset time threshold, the total quantity of the current time is equal to the total quantity-K of the previous time;
if the duration is less than a preset time threshold, the total quantity of the current time is equal to the total quantity of the previous time + K;
wherein, the total number of K is less than or equal to 16K at this time, the total number of K is less than or equal to 16K at the previous time, and K is a positive integer.
CN201810319719.XA 2018-04-11 2018-04-11 Signal intensity display method and mobile terminal Active CN108512615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810319719.XA CN108512615B (en) 2018-04-11 2018-04-11 Signal intensity display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810319719.XA CN108512615B (en) 2018-04-11 2018-04-11 Signal intensity display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108512615A CN108512615A (en) 2018-09-07
CN108512615B true CN108512615B (en) 2020-07-17

Family

ID=63381452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810319719.XA Active CN108512615B (en) 2018-04-11 2018-04-11 Signal intensity display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108512615B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756922A (en) * 2019-03-05 2019-05-14 南京迅测科技有限公司 The method being modified for indoor LTE wireless signal distribution tests data
CN110958352B (en) * 2019-11-28 2021-04-09 Tcl移动通信科技(宁波)有限公司 Network signal display method, device, storage medium and mobile terminal
CN116055621B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Network signal display method, terminal equipment, chip and storage medium
CN116055620B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Network signal display method, terminal equipment, chip and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592199A (en) * 2014-10-20 2016-05-18 深圳富泰宏精密工业有限公司 System and method for optimizing signal strength indicator of mobile phone
CN105634793A (en) * 2015-09-25 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Network information processing method and c
CN107277259A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Signal adjusting method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2372404B (en) * 2001-02-16 2003-04-09 Ericsson Telefon Ab L M Telecommunications system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592199A (en) * 2014-10-20 2016-05-18 深圳富泰宏精密工业有限公司 System and method for optimizing signal strength indicator of mobile phone
CN105634793A (en) * 2015-09-25 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Network information processing method and c
CN107277259A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Signal adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN108512615A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN109905907B (en) Network searching method and mobile terminal
CN108512615B (en) Signal intensity display method and mobile terminal
CN108600546B (en) Environment light detection method and mobile terminal
CN108362304B (en) Data processing method and mobile terminal
CN109032445B (en) Screen display control method and terminal equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109739394B (en) SAR value processing method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN109343693B (en) Brightness adjusting method and terminal equipment
CN108600089B (en) Expression image display method and terminal equipment
CN107734172B (en) Information display method and mobile terminal
CN109995862B (en) Resource scheduling method and terminal
CN109739300B (en) Antenna control method and terminal
CN108984145B (en) Brightness adjusting method and electronic equipment
CN110609648A (en) Application program control method and terminal
CN107784298B (en) Identification method and device
CN108492837B (en) Method, device and storage medium for detecting audio burst white noise
CN108270853B (en) Message processing method and mobile terminal
CN107749306B (en) Vibration optimization method and mobile terminal
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN108650041B (en) Signal quality display method and mobile terminal
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN111142618A (en) Method for detecting folding angle and electronic equipment
CN108345421B (en) Icon display method and mobile terminal
CN108388400B (en) Operation processing method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant