CN108512616B - Signal intensity display method, mobile terminal and computer readable storage medium - Google Patents

Signal intensity display method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108512616B
CN108512616B CN201810345984.5A CN201810345984A CN108512616B CN 108512616 B CN108512616 B CN 108512616B CN 201810345984 A CN201810345984 A CN 201810345984A CN 108512616 B CN108512616 B CN 108512616B
Authority
CN
China
Prior art keywords
current
signal strength
parameter
signal
target
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
CN201810345984.5A
Other languages
Chinese (zh)
Other versions
CN108512616A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810345984.5A priority Critical patent/CN108512616B/en
Publication of CN108512616A publication Critical patent/CN108512616A/en
Application granted granted Critical
Publication of CN108512616B publication Critical patent/CN108512616B/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
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/336Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]

Abstract

The invention discloses a signal intensity display method, a mobile terminal and a computer readable storage medium, wherein the signal intensity display method comprises the following steps: acquiring a current signal strength parameter and a current signal-to-noise ratio parameter; determining the type of a current network system, and determining a target algorithm according to the type of the current network system and the current signal strength parameter; substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter; and displaying a signal icon corresponding to the current target signal intensity value. By the invention, the current signal strength parameter and the current signal-to-noise ratio parameter are combined, so that the display of the current signal strength can truly and effectively reflect the actual communication quality.

Description

Signal intensity display method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a signal strength display method, a mobile terminal, and a computer-readable storage medium.
Background
Currently, the mobile signal strength of the terminal is displayed based on the magnitude of the signal reception power. When the signal reception power of the terminal is large, the displayed mobile signal is strong, and when the signal reception power of the terminal is small, the displayed mobile signal is weak. However, in some scenarios, for example, when the interference signal is strong, even if the displayed mobile signal is strong, the situation that the web page is opened slowly and the telephone call quality is poor may occur, that is, the technical problem that the mobile signal strength display cannot truly and effectively reflect the actual communication quality occurs.
Disclosure of Invention
The invention mainly aims to provide a signal strength display method, a mobile terminal and a computer readable storage medium, aiming at solving the technical problem that the mobile signal strength display is not matched with the actual communication quality in the prior art.
In order to achieve the above object, the present invention provides a signal intensity display method, including:
acquiring a current signal strength parameter and a current signal-to-noise ratio parameter;
determining the type of a current network system, and determining a target algorithm according to the type of the current network system and the current signal strength parameter;
substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter;
and displaying a signal icon corresponding to the current target signal intensity value.
Optionally, the determining the current network type and the determining the target algorithm according to the current network type and the current signal strength parameter include:
determining the type of a current network system, and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the type of the current network system;
and if the current signal intensity parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm.
Optionally, if the current signal strength parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm includes:
and if the current signal intensity parameter is larger than a preset threshold value, acquiring a target algorithm corresponding to the current network type.
Optionally, the determining the current network type and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the current network type includes:
and if the current signal intensity parameter is less than or equal to the preset threshold corresponding to the current network type, the value of the current target signal intensity value is zero.
Optionally, the displaying the signal icon corresponding to the current target signal strength value includes:
determining a target interval in which the current target signal strength value is located;
and displaying the signal icon corresponding to the target interval.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: a memory, a processor and a signal strength display program stored on the memory and executable on the processor, the signal strength display program when executed by the processor implementing the steps of the signal strength display method as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a signal strength display program which, when executed by a processor, realizes the steps of the signal strength display method as described above.
In the invention, a current signal strength parameter and a current signal-to-noise ratio parameter are obtained; determining the type of a current network system, and determining a target algorithm according to the type of the current network system and the current signal strength parameter; substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter; and displaying a signal icon corresponding to the current target signal intensity value. According to the invention, a target algorithm is determined based on the current network type and the current signal strength parameter, the current signal strength parameter and the current signal-to-noise ratio parameter are substituted into the target algorithm, and the current signal strength is obtained through calculation, so that the signal icon corresponding to the current signal strength is displayed, and the actual communication quality can be truly and effectively reflected by the display of the current signal icon.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a signal strength display method according to a first embodiment of the present invention;
fig. 3 is a scene diagram illustrating a signal strength display method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
In the embodiment of the present invention, the signal strength display method is applied to a mobile terminal, and the terminal can be implemented in various forms. For example, the mobile terminal involved in the present invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), and the like.
While a tablet computer will be described in the following description as an example, those skilled in the art will appreciate that the configuration according to the embodiment of the present invention can be applied to other types of mobile terminals, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved 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 for applications of recognizing the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured at the terminal, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 109 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 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the home page display terminal. Processor 110 may include one or more processing units; preferably, the processor 110 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 the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
As shown in fig. 1, the memory 109, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a signal strength display program, and the processor 110 may be configured to call the signal strength display program stored in the memory 109 and perform the following steps:
acquiring a current signal strength parameter and a current signal-to-noise ratio parameter;
determining the type of a current network system, and determining a target algorithm according to the type of the current network system and the current signal strength parameter;
substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter;
and displaying a signal icon corresponding to the current target signal intensity value.
Further, the processor 110 may be configured to call the signal strength display program stored in the memory 109, and further perform the following steps:
determining the type of a current network system, and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the type of the current network system;
and if the current signal intensity parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm.
Further, the processor 110 may be configured to call the signal strength display program stored in the memory 109, and further perform the following steps:
and if the current signal intensity parameter is larger than a preset threshold value, acquiring a target algorithm corresponding to the current network type.
Further, the processor 110 may be configured to call the signal strength display program stored in the memory 109, and further perform the following steps:
and if the current signal intensity parameter is less than or equal to the preset threshold corresponding to the current network type, the value of the current target signal intensity value is zero.
Further, the processor 110 may be configured to call the signal strength display program stored in the memory 109, and further perform the following steps:
determining a target interval in which the current target signal strength value is located;
and displaying the signal icon corresponding to the target interval.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the signal strength display method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a signal strength display method according to a first embodiment of the present invention.
In one embodiment, the signal strength display method comprises the following steps:
step S10, acquiring current signal strength parameters and current signal-to-noise ratio parameters;
in this embodiment, the current signal strength parameter includes: RSRP, RSCP, RSSI, etc. Here, RSRP (Reference Signal Receiving Power) is one of the key parameters that can represent the wireless Signal strength in the LTE network and the physical layer measurement requirement, and is the average value of the received Signal Power on all REs (resource elements) that carry Reference signals within a certain symbol. Rscp (received Signal Code power) translates to received Signal Code power (colloquially referred to as level value). The symbol refers to a certain signal code power received on a physical channel such as a DPCH, a PRACH, or a PUSCH. Rssi (received Signal Strength indication), optional part of the radio transmission layer, to determine the link quality and whether to increase the broadcast transmission Strength.
In this embodiment, the current snr parameter includes: SINR, Signal to Interference plus Noise Ratio (Signal to Interference plus Noise Ratio) refers to the Ratio of the strength of the received desired Signal to the strength of the received interfering Signal (Noise and Interference). Generally, the larger the signal-to-noise ratio, the smaller the noise mixed in the signal, the higher the signal quality, and vice versa.
In this embodiment, the current signal strength parameter and the current signal-to-noise ratio parameter are extracted from the network injection information of the terminal (e.g., a mobile phone).
In an optional embodiment of the signal strength display method of the present invention, when the mobile terminal is in a 5G or LTE network system, the current signal strength parameter RSRP and the current signal-to-noise ratio parameter SINR are extracted from the network injection information.
In another optional embodiment of the signal strength display method of the present invention, when the mobile terminal is in a WCDMA network system, the current signal strength parameter RSCP and the current signal-to-noise ratio parameter SINR are extracted from the network injection information.
In another optional embodiment of the signal strength display method of the present invention, when the mobile terminal is in a CSM, CDMA or WIFI network system, the current signal strength parameter RSSI and the current signal to noise ratio parameter SINR are extracted from the network injection information.
Step S20, determining the current network type, and determining a target algorithm according to the current network type and the current signal strength parameter;
step S30, substituting the current signal strength parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal strength value, wherein the current target signal strength value is positively correlated with the current signal-to-noise ratio parameter;
in this embodiment, the current target signal strength value S is obtained by substituting the current signal strength parameter X and the current signal-to-noise ratio parameter Y into a preset formula. Wherein, the target signal strength value S is positively correlated with the current signal-to-noise ratio parameter SINR. In an optional embodiment of the signal strength display method of the present invention, the preset formula is:
when C + X is less than or equal to b, S is 0;
when the sum of C + X is larger than b,
Figure BDA0001629920220000091
wherein, b is a constant and can take a value of 20; c is a constant, and the value of C is set according to the type of the network system where the mobile terminal is located, which is not limited herein. For example, when the current signal strength parameter X is RSRP, in real life, the RSRP value is generally: 0> RSRP > -140, so the C value can be 140; when the current signal intensity parameter X is RSCP, the RSCP value is generally: 0> RSRP > -120, so the C value may take 120.
In an alternative embodiment of the signal strength display method of the present invention, referring to fig. 3, fig. 3 is a schematic view of a scene of an embodiment of the signal strength display method of the present invention.
In this embodiment, if the mobile terminal is in a 5G or LTE network system, an interference source G1 exists in an environment where the mobile terminal is located, and due to the existence of the interference source G1, the mobile terminal obtains a value Y of a current signal-to-noise ratio parameter SINR from the network injection information (in real life, an SINR range is generally greater than or equal to 30 and greater than or equal to SINR greater than or equal to-3), and obtains a value X of a current signal strength parameter RSRP. C in the preset formula takes a value of 140 at the moment, if b takes a value of 20, whether X > -120 is established or not is judged at first, if yes, the numerical value of the current signal-to-noise ratio parameter SINR and the numerical value of the current signal strength parameter RSRP are substituted into the preset formula, and the current target signal strength value S is obtained through calculation; if X > -120 does not hold, i.e. X is less than or equal to-120, then the current target signal strength value S is defined as zero.
In this embodiment, if the mobile terminal is in the WCDMA network system, and there is an interference source G1 in the environment where the mobile terminal is located, because of the existence of the interference source G1, the mobile terminal obtains the value of the current signal-to-noise ratio parameter SINR from the network injection information as Y, and obtains the value of the current signal strength parameter RSCP as X. C in the preset formula takes a value of 120 at the moment, if b takes a value of 20, whether X > -100 is established or not is judged at first, if yes, the numerical value of the current signal-to-noise ratio parameter SINR and the numerical value of the current signal strength parameter RSCP are substituted into the preset formula, and the current target signal strength value S is obtained through calculation; if X > -100 does not hold, i.e. X is less than or equal to-100, then the current target signal strength value S is defined as zero.
And step S40, displaying a signal icon corresponding to the current target signal strength value.
In this embodiment, the signal icons can be divided into five types, i.e., signal icon 1: the signal grid is 0; signal icon 2: 1, signal grid; signal icon 3: 2, signal grids are obtained; signal icon 4: the signal grids are 3; signal icon 5: the signal is divided into 4 grids. When the current target signal strength value S is equal to 0, displaying a signal icon 1; when the current target signal intensity value 1 is greater than or equal to S and greater than 0, a signal icon 2 is displayed; when the current target signal intensity value 2 is larger than or equal to S and larger than 1, a signal icon 3 is displayed; when the current target signal intensity value 3 is larger than or equal to S and larger than 2, a signal icon 4 is displayed; when the current target signal strength value S > 3, the signal icon 5 is displayed.
In the embodiment, a current signal strength parameter and a current signal-to-noise ratio parameter are obtained; determining the type of a current network system, and determining a target algorithm according to the type of the current network system and the current signal strength parameter; substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter; and displaying a signal icon corresponding to the current target signal intensity value. According to the embodiment, the target algorithm is determined based on the current network type and the current signal strength parameter, the current signal strength parameter and the current signal-to-noise ratio parameter are substituted into the target algorithm, and the current signal strength is obtained through calculation, so that the signal icon corresponding to the current signal strength is displayed, and the actual communication quality can be truly and effectively reflected by the display of the current signal icon.
Further, in an embodiment of the signal strength displaying method of the present invention, the step S20 includes:
determining the type of a current network system, and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the type of the current network system;
and if the current signal intensity parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm.
In this embodiment, the mobile terminal may be in different network types, and the network types may include: 5G, LTE, WCDMA, GSM, CDMA, WIFI. In different network systems, the parameters representing the signal strength are different, for example, when the mobile terminal is in a 5G or LTE network system, the obtained current signal strength parameter is RSRP, and a preset threshold corresponding to the 5G or LTE network system is set to-120. Namely, whether RSRP > -120 is established or not is judged, and if so, an algorithm corresponding to the current network standard is obtained. For example, the algorithm 1 corresponding to the 5G or LTE network system is:
Figure BDA0001629920220000111
and substituting the current signal strength parameter RSRP and the current signal-to-noise ratio parameter SINR into the algorithm 1 to calculate the current target signal strength value. In algorithm 1, RSRP > -120 holds true, and S is positively correlated with SINR as S is larger as SINR is larger.
When the mobile terminal is in a WCDMA network system, the acquired current signal strength parameter is RSCP, and a preset threshold corresponding to the WCDMA network system is set to be-100. Namely, judging whether RSCP > -100 is established, if so, acquiring an algorithm corresponding to the current network type. For example, the algorithm 2 corresponding to the WCDMA network system is:
Figure BDA0001629920220000112
and substituting the current signal strength parameter RSCP and the current signal-to-noise ratio parameter SINR into the algorithm 1 to calculate the current target signal strength value. In algorithm 1, RSCP > -100 holds, and S is positively correlated with SINR, as the SINR value increases, the value of S increases.
In this embodiment, when the current signal strength parameter is greater than the preset value, the current target signal strength value is calculated through a preset algorithm, and the current target signal strength value is positively correlated with the current signal-to-noise ratio parameter SINR, that is, the larger the SINR value, the larger the current target signal strength value, so that the display of the current signal strength can truly and effectively reflect the actual communication quality.
Further, in an embodiment of the signal strength display method of the present invention, if the current signal strength parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm includes:
and if the current signal intensity parameter is larger than a preset threshold value, acquiring a target algorithm corresponding to the current network type.
In this embodiment, when the mobile terminal is in different network systems, the parameters representing the signal strength are different. For example, if the mobile terminal is in a 5G or LTE network system, and the value of the obtained current signal strength parameter RSRP is generally 0> RSRP > -140, the target algorithm is:
Figure BDA0001629920220000121
if the mobile terminal is in a WCDMA network system, the value of the acquired current signal strength parameter RSCP is generally 0> RSCP > -120, the target algorithm is as follows:
Figure BDA0001629920220000122
according to different network systems and different value ranges of the current signal strength parameters, the target algorithm corresponding to each network system is set, so that the signal strength display method can be used in existing mobile communication and future 5G, and can also be used in a WIFI network environment.
Further, in an embodiment of the signal strength display method of the present invention, after determining the current network type and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the current network type, the method includes:
and if the current signal intensity parameter is less than or equal to the preset threshold corresponding to the current network type, the value of the current target signal intensity value is zero.
In this embodiment, when the current signal strength parameter is less than or equal to the preset threshold corresponding to the current network type, which indicates that the signal received by the current terminal is weak, the value of the current target signal strength is directly defined as zero.
Further, in an embodiment of the signal strength displaying method of the present invention, the step S40 includes:
determining a target interval in which the current target signal strength value is located;
and displaying the signal icon corresponding to the target interval.
In this embodiment, a plurality of intervals are set, and each interval corresponds to a signal icon. For example, the signal icons are divided into five types, signal icon 1: the signal grid is 0; signal icon 2: 1, signal grid; signal icon 3: 2, signal grids are obtained; signal icon 4: the signal grids are 3; signal icon 5: the signal is divided into 4 grids. When the current target signal strength value S is equal to 0, displaying a signal icon 1; when the current target signal intensity value 1 is greater than or equal to S and greater than 0, a signal icon 2 is displayed; when the current target signal intensity value 2 is larger than or equal to S and larger than 1, a signal icon 3 is displayed; when the current target signal intensity value 3 is larger than or equal to S and larger than 2, a signal icon 4 is displayed; when the current target signal strength value S > 3, the signal icon 5 is displayed. When the current target signal strength value is 2.8, the signal icon 4 is displayed.
According to the embodiment, the current target signal strength value is comprehensively determined by the current signal strength parameter and the current signal-to-noise ratio parameter, so that the signal icon corresponding to the current target signal strength value is displayed, and the actual communication quality can be truly and effectively reflected by the display of the current signal strength.
In addition, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: a memory, a processor and a signal strength display program stored on the memory and executable on the processor, the signal strength display program when executed by the processor implementing the steps of the signal strength display method as described above.
The specific embodiment of the mobile terminal of the present invention is basically the same as the embodiments of the signal strength display method described above, and details are not described herein.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a signal strength display program is stored, and when the signal strength display program is executed by a processor, the steps of the signal strength display method described above are implemented.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the signal strength display method described above, and will not be described herein again.
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 system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., 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.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A signal strength display method, characterized in that the signal strength display method comprises:
acquiring a current signal strength parameter and a current signal-to-noise ratio parameter;
determining a current network type, and determining a target algorithm according to the current network type and a current signal strength parameter, wherein the network type comprises 5G, LTE, WCDMA, GSM, CDMA and WIFI;
substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter;
displaying a signal icon corresponding to the current target signal intensity value;
the determining the current network type and the target algorithm according to the current network type and the current signal strength parameter comprise:
determining the type of a current network system, and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the type of the current network system;
and if the current signal strength parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm, wherein the current signal-to-noise ratio parameter comprises SINR.
2. The signal strength display method of claim 1, wherein if the current signal strength parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm comprises:
and if the current signal intensity parameter is larger than a preset threshold value, acquiring a target algorithm corresponding to the current network type.
3. The signal strength display method of claim 1, wherein the determining the current network type, and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the current network type comprises:
and if the current signal intensity parameter is less than or equal to the preset threshold corresponding to the current network type, the value of the current target signal intensity value is zero.
4. The signal strength display method of claim 1, wherein the displaying the signal icon corresponding to the current target signal strength value comprises:
determining a target interval in which the current target signal strength value is located;
and displaying the signal icon corresponding to the target interval.
5. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor, and a signal strength display program stored on the memory and executable on the processor, the signal strength display program when executed by the processor implementing the steps of:
acquiring a current signal strength parameter and a current signal-to-noise ratio parameter;
determining a current network type, and determining a target algorithm according to the current network type and a current signal strength parameter, wherein the network type comprises 5G, LTE, WCDMA, GSM, CDMA and WIFI;
substituting the current signal intensity parameter and the current signal-to-noise ratio parameter into the target algorithm to obtain a current target signal intensity value, wherein the current target signal intensity value is positively correlated with the current signal-to-noise ratio parameter;
displaying a signal icon corresponding to the current target signal intensity value;
wherein the signal strength display program when executed by the processor further implements the steps of:
determining the type of a current network system, and detecting whether the current signal strength parameter is greater than a preset threshold corresponding to the type of the current network system;
and if the current signal strength parameter is greater than a preset threshold corresponding to the current network type, determining a target algorithm, wherein the current signal-to-noise ratio parameter comprises SINR.
6. The mobile terminal of claim 5, wherein the signal strength display program, when executed by the processor, further performs the steps of:
and if the current signal intensity parameter is larger than a preset threshold value, acquiring a target algorithm corresponding to the current network type.
7. The mobile terminal according to claim 5, wherein the signal strength display program, when executed by the processor, further implements the steps of the signal strength display method according to claim 3 or 4.
8. A computer-readable storage medium, having stored thereon a signal strength display program which, when executed by a processor, implements the steps of the signal strength display method according to any one of claims 1 to 4.
CN201810345984.5A 2018-04-16 2018-04-16 Signal intensity display method, mobile terminal and computer readable storage medium Active CN108512616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810345984.5A CN108512616B (en) 2018-04-16 2018-04-16 Signal intensity display method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810345984.5A CN108512616B (en) 2018-04-16 2018-04-16 Signal intensity display method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108512616A CN108512616A (en) 2018-09-07
CN108512616B true CN108512616B (en) 2021-10-29

Family

ID=63382637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810345984.5A Active CN108512616B (en) 2018-04-16 2018-04-16 Signal intensity display method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108512616B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587342A (en) * 2018-12-24 2019-04-05 深圳市万普拉斯科技有限公司 Modification method, device and the mobile terminal of signal strength
CN110677867B (en) * 2019-10-09 2022-07-15 中国联合网络通信集团有限公司 Signal intensity display method and signal intensity display system
CN116055620B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Network signal display method, terminal equipment, chip and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620171A (en) * 2003-11-22 2005-05-25 乐金电子(中国)研究开发中心有限公司 Method for displaying signal-free state of portable terminal apparatus
CN1700749A (en) * 2005-06-09 2005-11-23 海信集团有限公司 Intelligent identification method of TV signal intensity
CN201804047U (en) * 2010-06-25 2011-04-20 上海铁大电信设备有限公司 Signal strength testing device for wireless dispatchers supervision system
CN105577903A (en) * 2015-03-24 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Signal display method and mobile terminal
CN106686702A (en) * 2016-11-29 2017-05-17 努比亚技术有限公司 Network connection processing method and terminal
CN106850990A (en) * 2017-02-09 2017-06-13 广东欧珀移动通信有限公司 Display screen condition control method and device
CN107465428A (en) * 2017-08-30 2017-12-12 努比亚技术有限公司 Antenna handover trigger control method, communication terminal and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6721549B2 (en) * 1999-12-29 2004-04-13 Samsung Electronics Co., Ltd. Low-noise amplifier for a mobile communication terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620171A (en) * 2003-11-22 2005-05-25 乐金电子(中国)研究开发中心有限公司 Method for displaying signal-free state of portable terminal apparatus
CN1700749A (en) * 2005-06-09 2005-11-23 海信集团有限公司 Intelligent identification method of TV signal intensity
CN201804047U (en) * 2010-06-25 2011-04-20 上海铁大电信设备有限公司 Signal strength testing device for wireless dispatchers supervision system
CN105577903A (en) * 2015-03-24 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Signal display method and mobile terminal
CN106686702A (en) * 2016-11-29 2017-05-17 努比亚技术有限公司 Network connection processing method and terminal
CN106850990A (en) * 2017-02-09 2017-06-13 广东欧珀移动通信有限公司 Display screen condition control method and device
CN107465428A (en) * 2017-08-30 2017-12-12 努比亚技术有限公司 Antenna handover trigger control method, communication terminal and computer-readable recording medium

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109067418B (en) Antenna control method and mobile terminal
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN107886321B (en) Payment method and mobile terminal
CN109831585B (en) Operation parameter adjusting method and mobile terminal
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN110399000B (en) Mobile terminal and temperature control method thereof
CN107832032B (en) Screen locking display method and mobile terminal
CN109739300B (en) Antenna control method and terminal
CN109195191B (en) Cell reselection control method and terminal
CN108512616B (en) Signal intensity display method, mobile terminal and computer readable storage medium
CN108226880B (en) Method and device for preventing interference in ultrasonic distance detection and storage medium
US20220110036A1 (en) Random access method and terminal
CN109041190B (en) Power control method and terminal
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN108307075B (en) Incoming call processing method and mobile terminal
KR102481349B1 (en) Power headroom reporting method and terminal device
CN113286335A (en) Frequency point switching method and device, storage medium and access point
CN110740265B (en) Image processing method and terminal equipment
CN109286414B (en) Antenna determination method and terminal
CN111278114B (en) Power control method, terminal equipment and network side equipment
CN109450508B (en) Antenna determination method and device and mobile terminal
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN111800833A (en) Communication processing method, device, equipment and medium
CN110912284B (en) Wireless charging control method and wireless charging assembly
CN111356096B (en) Information sending method and electronic equipment

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