CN106911848B - Method for outputting prompt message and terminal equipment - Google Patents

Method for outputting prompt message and terminal equipment Download PDF

Info

Publication number
CN106911848B
CN106911848B CN201710095018.8A CN201710095018A CN106911848B CN 106911848 B CN106911848 B CN 106911848B CN 201710095018 A CN201710095018 A CN 201710095018A CN 106911848 B CN106911848 B CN 106911848B
Authority
CN
China
Prior art keywords
terminal equipment
wifi antenna
user
screen mode
wifi
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
CN201710095018.8A
Other languages
Chinese (zh)
Other versions
CN106911848A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710095018.8A priority Critical patent/CN106911848B/en
Publication of CN106911848A publication Critical patent/CN106911848A/en
Application granted granted Critical
Publication of CN106911848B publication Critical patent/CN106911848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The embodiment of the invention relates to the technical field of terminals, and discloses a method for outputting a prompt message and terminal equipment. Wherein, the method comprises the following steps: monitoring whether the terminal equipment is switched from a vertical screen mode to a horizontal screen mode; if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with a wireless fidelity (WiFi) network; and if the terminal equipment is connected with a WiFi network, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment. By implementing the embodiment of the invention, the signal intensity of the WiFi antenna can be prevented from being reduced due to the fact that a user holds the position of the WiFi antenna of the terminal equipment.

Description

Method for outputting prompt message and terminal equipment
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method for outputting a prompt message and a terminal device.
Background
With the rapid development of terminal technology, terminal equipment is increasingly light and thin, an antenna for receiving and transmitting signals is also developed from an external antenna to an internal antenna, and the volume of the antenna is also continuously reduced; on the other hand, the signal transceiving efficiency of the antenna is continuously improved, and the antenna aims to provide high-speed and stable network communication experience for users.
However, there are many factors that affect the signal reception of the terminal device antenna, such as the isolation in the environment, the housing material of the terminal device, the shape of the antenna, the shielding of the antenna by the head and hands, and so on. Taking a WiFi (Wireless Fidelity) antenna as an example, in the case of head-hand occlusion, the signal strength is reduced by more than 10dBm compared with the case of no occlusion.
The deterioration of the received signal strength of the WiFi antenna can seriously affect the user experience, so how to reduce adverse factors and improve the WiFi signal strength of the terminal equipment becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a method for outputting a prompt message, which can prevent the signal intensity of a WiFi antenna from being reduced due to the fact that a user holds the position of the WiFi antenna of a terminal device.
The first aspect of the embodiment of the invention discloses a method for outputting a prompt message, which comprises the following steps:
monitoring whether the terminal equipment is switched from a vertical screen mode to a horizontal screen mode;
if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with a wireless fidelity (WiFi) network;
and if the terminal equipment is connected with a WiFi network, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an optional implementation manner, after outputting the first prompt message to prompt the user to avoid holding the WiFi antenna position of the terminal device, the method further includes:
outputting a second prompting message to determine whether a user knows the WiFi antenna location;
if the user does not know the WiFi antenna position, an animation demonstration is output to inform the user of the WiFi antenna position.
As an optional implementation, after outputting an animation demonstration to inform the user of the WiFi antenna position, the method further comprises:
outputting a third prompt message to enable a user to select whether to display the WiFi antenna position on a display interface;
and if the user selects to display the position of the WiFi antenna on the display interface, the position of the WiFi antenna is identified on the display interface by using a transparent icon.
As an optional implementation manner, if the terminal device is connected to a WiFi network, the method further includes:
acquiring first signal intensity after the terminal equipment is switched to the horizontal screen mode;
acquiring a second signal intensity before the terminal equipment is switched to the horizontal screen mode, wherein the second signal intensity is stored in a history record;
the outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device includes:
and if the difference value of the second signal strength minus the first signal strength is greater than a preset signal attenuation threshold value, outputting the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an optional implementation manner, if the terminal device is connected to a WiFi network, the method further includes:
detecting whether the position of a WiFi antenna of the terminal equipment is shielded or not through an infrared sensor;
the outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device includes:
and if the WiFi antenna position of the terminal equipment is blocked, outputting the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an optional implementation manner, if the terminal device is connected to a WiFi network, the method further includes:
calculating the average signal intensity of the terminal equipment in the horizontal screen mode;
the outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device includes:
and if the average signal intensity is smaller than a preset signal intensity threshold value, outputting the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
A second aspect of the embodiments of the present invention discloses a terminal device, including:
the monitoring unit is used for monitoring whether the terminal equipment is switched from the vertical screen mode to the horizontal screen mode;
the determining unit is used for determining whether the terminal equipment is connected with a wireless fidelity WiFi network or not if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode;
and the first output unit is used for outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment if the terminal equipment is connected with the WiFi network.
As an optional implementation manner, the terminal device further includes:
a second output unit, configured to output a second prompt message to determine whether a user knows the WiFi antenna location;
and the third output unit is used for outputting animation demonstration to inform the user of the position of the WiFi antenna if the user does not know the position of the WiFi antenna.
As an optional implementation manner, the terminal device further includes:
a fourth output unit, configured to output a third prompt message to enable a user to select whether to display the WiFi antenna position on a display interface;
and the identification unit is used for identifying the position of the WiFi antenna on the display interface by utilizing a transparent icon if the user selects to display the position of the WiFi antenna on the display interface.
As an optional implementation manner, if the terminal device is connected to a WiFi network, the terminal device further includes:
the first obtaining unit is used for obtaining first signal intensity after the terminal equipment is switched to the horizontal screen mode;
the second acquisition unit is used for acquiring second signal intensity before the terminal equipment is switched to the horizontal screen mode, wherein the second signal intensity is stored in a history record;
the first output unit is specifically configured to output the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device if the difference between the second signal strength and the first signal strength is greater than a preset signal attenuation threshold.
As an optional implementation manner, if the terminal device is connected to a WiFi network, the terminal device further includes:
the detection unit is used for detecting whether the position of the WiFi antenna of the terminal equipment is shielded or not through an infrared sensor;
the first output unit is specifically configured to output the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device if the WiFi antenna position of the terminal device is blocked.
As an optional implementation manner, if the terminal device is connected to a WiFi network, the terminal device further includes:
the computing unit is used for computing the average signal intensity of the terminal equipment in the horizontal screen mode;
the first output unit is specifically configured to output the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device if the average signal strength is smaller than a preset signal strength threshold.
A third aspect of the embodiments of the present invention discloses a terminal device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the method according to the first aspect.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, whether the terminal equipment is switched from the vertical screen mode to the horizontal screen mode is monitored; if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with a wireless fidelity (WiFi) network; and if the terminal equipment is connected with a WiFi network, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment. By implementing the embodiment of the invention, the signal intensity of the WiFi antenna can be prevented from being reduced due to the fact that a user holds the position of the WiFi antenna of the terminal equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a method for outputting a prompt message according to an embodiment of the present invention;
fig. 2A is a schematic flowchart of another method for outputting a prompt message according to an embodiment of the present invention;
FIG. 2B is a schematic diagram of a display interface including a WiFi antenna location identifier;
fig. 3 is a schematic structural diagram of a terminal device 300 according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another terminal device 400 disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a physical apparatus of a terminal device 500 according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another entity apparatus of a terminal device 600 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. 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.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, or apparatus.
The embodiment of the invention provides a method for outputting a prompt message, which can prevent the signal intensity of a WiFi antenna from being reduced due to the fact that a user holds the position of the WiFi antenna of a terminal device. The following are detailed below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for outputting a prompt message according to an embodiment of the present invention. The method for outputting the prompt message shown in fig. 1 may include the following steps:
101. and monitoring whether the terminal equipment is switched from the vertical screen mode to the horizontal screen mode.
In the embodiment of the present invention, the terminal device may be a smart phone, a smart watch, a palm computer, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), or the like, and the following description of the embodiment of the present invention will not be repeated.
In the embodiment of the invention, when the video is played, the game is played and the like, the terminal equipment needs to be switched from the vertical screen mode to the horizontal screen mode. For example, when a user needs to play a game on the terminal device by two-hand operation, the terminal device is switched from the portrait mode to the landscape mode, and two hands hold two ends of the terminal device to fix the terminal device.
Since the WiFi antenna of the terminal equipment is usually configured at the upper part of the terminal equipment, when the terminal equipment is in a vertical screen mode, a user holds the lower part of the terminal equipment by hand, and therefore the WiFi antenna cannot be shielded; in the landscape mode, the user is likely to hold both ends of the terminal device at the same time, thereby shielding the WiFi antenna.
However, since the transmitting power of the router providing the WiFi signal is limited, it is impossible to provide a larger transmitting power as a cell base station, so that the requirement for the receiving efficiency of the WiFi antenna is higher, and under the condition of hand-held shielding, the receiving power of the WiFi antenna may be reduced by 10-15 dBm or more, which will seriously affect the signal strength of WiFi.
102. And if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with the wireless fidelity WiFi network.
Based on the characteristic that the receiving efficiency of the WiFi antenna is sensitive, the occurrence of the WiFi antenna position where the user holds the terminal device should be avoided. Therefore, when the terminal device is switched from the vertical screen mode to the horizontal screen mode and the terminal device is currently connected to the WiFi network, it is determined that the user is likely to hold the WiFi antenna position of the terminal device, and the user should be reminded to avoid holding the WiFi antenna position by outputting a prompt message and the like.
103. And if the terminal equipment is connected with the WiFi network, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an alternative implementation, the terminal device may output a dialog box on the display interface to prompt the user to avoid holding the WiFi antenna position of the terminal device. In addition, the terminal device may prompt through effects such as a prompt tone and vibration.
Therefore, by implementing the method described in fig. 1, when the terminal device is connected to the WiFi network and switched to the landscape state, the prompt message is output to prompt the user to avoid holding the position of the WiFi antenna, so that the situation that the WiFi antenna is shielded to reduce the receiving efficiency is avoided, and the WiFi signal strength of the terminal device is improved.
Referring to fig. 2A, fig. 2A is a schematic flowchart illustrating another method for outputting a prompt message according to an embodiment of the present invention. As shown in fig. 2A, the method may include the steps of:
201. and monitoring whether the terminal equipment is switched from the vertical screen mode to the horizontal screen mode.
Since the WiFi antenna of the terminal equipment is usually configured at the upper part of the terminal equipment, when the terminal equipment is in a vertical screen mode, a user holds the lower part of the terminal equipment by hand, and therefore the WiFi antenna cannot be shielded; in the landscape mode, the user is likely to hold both ends of the terminal device at the same time, thereby shielding the WiFi antenna.
202. And if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with the wireless fidelity WiFi network.
203. And if the terminal equipment is connected with the WiFi network, acquiring the first signal intensity after the terminal equipment is switched to the transverse screen mode.
When the terminal equipment is connected with the WiFi network and is switched from the vertical screen mode to the horizontal screen mode, whether the signal intensity of the terminal equipment is greatly changed before the terminal equipment is switched to the horizontal screen mode or after the terminal equipment is switched to the horizontal screen mode is further judged, and if the signal intensity of the terminal equipment is greatly changed, the WiFi antenna of the terminal equipment is judged to be shielded by the hand of the user.
As an optional implementation manner, when the terminal device monitors that the terminal device is switched to the landscape mode, the terminal device acquires the current signal intensity as the first signal intensity.
204. And acquiring a second signal strength before the terminal equipment is switched to the horizontal screen mode, wherein the second signal strength is stored in the history.
As an optional implementation manner, the terminal device detects the mode (horizontal screen mode or vertical screen mode) and the signal strength of the terminal device at the current time at preset time intervals, and stores the monitored signal strength value and the mode corresponding to the monitored signal strength value into the history.
And after the terminal equipment is switched to the horizontal screen mode, the terminal equipment inquires the historical record, and acquires the signal intensity value monitored for the last time before the terminal equipment is switched to the horizontal screen mode as the second signal intensity.
205. And if the difference value of the second signal strength minus the first signal strength is greater than a preset signal attenuation threshold value, outputting a first prompt message to prompt a user to avoid holding the position of the WiFi antenna of the terminal equipment.
In the embodiment of the invention, the attenuation value of the signal strength after the terminal equipment is switched to the horizontal screen mode is determined by calculating the difference value between the second signal strength and the first signal strength. If the attenuation value of the signal intensity is larger than the preset signal attenuation threshold value, the WiFi antenna position of the terminal equipment held by the user is judged, so that a prompt message can be output to prompt the user, and the WiFi antenna position of the terminal equipment is prevented from being held.
As an optional implementation manner, the terminal device may further directly detect whether the WiFi antenna position of the terminal device is blocked through a sensor, where the optional sensor includes an infrared sensor, an ultrasonic sensor, a pressure sensor, and the like.
For example, the terminal device detects whether the WiFi antenna position of the terminal device is shielded through an infrared sensor; and if the WiFi antenna position of the terminal equipment is blocked, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
In addition, a signal intensity threshold value can be set, the signal intensity of the terminal device after being switched to the horizontal screen mode is continuously recorded, the average signal intensity in the horizontal screen mode is calculated, and if the average signal intensity is smaller than the signal intensity threshold value, the first prompt message is output to prompt a user to avoid holding the position of the WiFi antenna of the terminal device.
206. And outputting a second prompt message to determine whether the user knows the position of the WiFi antenna.
Since the positions of the WiFi antennas may be different in different manufacturers and different models of terminal devices, the user may not know the positions of the WiFi antennas on the terminal devices. Therefore, a dialog box can be output to enable the user to select whether to know the position of the WiFi antenna, and if the user does not know the position of the WiFi antenna, the user can be informed of the position of the WiFi antenna through a demonstration animation or a transparent mark.
207. And if the user does not know the position of the WiFi antenna, outputting animation demonstration to inform the user of the position of the WiFi antenna.
For example, the terminal device may output a demonstration animation to inform the user of the WiFi antenna position, in the demonstration animation, the shape of the antenna is identified by thickening the edge, and then the position of the antenna is indicated by an arrow.
208. And outputting a third prompt message to enable the user to select whether to display the WiFi antenna position on a display interface.
209. And if the user selects to display the WiFi antenna position on the display interface, identifying the WiFi antenna position on the display interface by using a transparent icon.
As shown in fig. 2B, fig. 2B is a schematic diagram of a display interface including WiFi antenna location identifiers; the WiFi antenna location can be identified on the display screen by a transparent icon, assuming that the WiFi antenna is near the top edge of the screen. Because the icon is transparent, the normal content displayed on the screen can not be checked by the user, the position of the WiFi antenna of the user can be reminded constantly, and the shielding of the WiFi antenna by holding the WiFi antenna by hand is avoided.
Therefore, by implementing the method described in fig. 2A, when the terminal device is connected to the WiFi network and switched to the landscape state, the prompt message is output to prompt the user to avoid holding the position of the WiFi antenna, so that the situation that the WiFi antenna is shielded to reduce the receiving efficiency is avoided, and the WiFi signal strength of the terminal device is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a terminal device 300 according to an embodiment of the present invention. As shown in fig. 3, the terminal device may include:
and the monitoring unit 301 is configured to monitor whether the terminal device is switched from the vertical screen mode to the horizontal screen mode.
A determining unit 302, configured to determine whether the terminal device is connected to the WiFi network if the terminal device is switched from the vertical screen mode to the horizontal screen mode.
Since the WiFi antenna of the terminal equipment is usually configured at the upper part of the terminal equipment, when the terminal equipment is in a vertical screen mode, a user holds the lower part of the terminal equipment by hand, and therefore the WiFi antenna cannot be shielded; in the landscape mode, the user is likely to hold both ends of the terminal device at the same time, thereby shielding the WiFi antenna.
However, since the transmitting power of the router providing the WiFi signal is limited, it is impossible to provide a larger transmitting power as a cell base station, so that the requirement for the receiving efficiency of the WiFi antenna is higher, and under the condition of hand-held shielding, the receiving power of the WiFi antenna may be reduced by 10-15 dBm or more, which will seriously affect the signal strength of WiFi.
The first output unit 303 is configured to output a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device if the terminal device is connected to the WiFi network.
As an alternative embodiment, the first output unit 303 may prompt the user to avoid holding the WiFi antenna position of the terminal device by outputting a dialog box on the display interface. In addition, the terminal device may prompt through effects such as a prompt tone and vibration.
Therefore, in the terminal device described in fig. 3, when the terminal device is connected to the WiFi network and switched to the landscape state, the prompt message may be output to prompt the user to avoid holding the position of the WiFi antenna, so as to avoid the reduction of the receiving efficiency due to the shielding of the WiFi antenna, thereby improving the WiFi signal strength of the terminal device.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another terminal device 400 according to an embodiment of the present invention. Wherein, the terminal device shown in fig. 4 is obtained by optimizing the terminal device shown in fig. 3, and compared with the terminal device shown in fig. 3, the terminal device shown in fig. 4 further includes:
a second output unit 304, configured to output a second prompt message to determine whether the user knows the WiFi antenna location.
Since the positions of the WiFi antennas may be different in different manufacturers and different models of terminal devices, the user may not know the positions of the WiFi antennas on the terminal devices. Therefore, the second output unit 304 may output a dialog box to enable the user to select whether to know the WiFi antenna position, and if the user does not know the WiFi antenna position, the user may be informed of the WiFi antenna position by means of a demonstration animation or a transparent mark.
A third output unit 305, configured to output an animation demonstration to inform the user of the WiFi antenna position if the user does not know the WiFi antenna position.
A fourth output unit 306, configured to output the third prompt message to enable the user to select whether to display the WiFi antenna position on the display interface.
An identifying unit 307, configured to identify the WiFi antenna position on the display interface by using a transparent icon if the user selects to display the WiFi antenna position on the display interface.
Assuming that the WiFi antenna is near the upper edge of the screen, the identification unit 307 may identify the WiFi antenna position on the display screen through a transparent icon. Because the icon is transparent, the normal content displayed on the screen can not be checked by the user, the position of the WiFi antenna of the user can be reminded constantly, and the shielding of the WiFi antenna by holding the WiFi antenna by hand is avoided.
A first obtaining unit 308, configured to obtain a first signal strength after the terminal device switches to the landscape mode.
A second obtaining unit 309, configured to obtain a second signal strength before the terminal device switches to the landscape mode, where the second signal strength is stored in the history.
The first output unit 303 is specifically configured to output the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal device if the difference between the second signal strength and the first signal strength is greater than a preset signal attenuation threshold.
Therefore, in the terminal device described in fig. 4, when the terminal device is connected to the WiFi network and switched to the landscape state, the prompt message may be output to prompt the user to avoid holding the position of the WiFi antenna, so as to avoid the reduction of the receiving efficiency due to the shielding of the WiFi antenna, thereby improving the WiFi signal strength of the terminal device.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device 500 according to an embodiment of the present invention. As shown in fig. 5, the terminal device 500 includes: a processor 501 and a memory 502; wherein the memory 502 can be used for the cache required by the processor 501 to execute data processing, and can also be used for providing a storage space for data called by the processor 501 to execute data processing and obtained result data.
In the embodiment of the present invention, the processor 501 calls the program code stored in the memory 502 to perform the following operations:
monitoring whether the terminal equipment is switched from a vertical screen mode to a horizontal screen mode;
if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with a wireless fidelity (WiFi) network;
and if the terminal equipment is connected with the WiFi network, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an alternative embodiment, the processor 501, by calling the program code stored in the memory 502, is further configured to perform the following operations:
detecting whether the position of a WiFi antenna of the terminal equipment is shielded or not through an infrared sensor;
the outputting of the first prompt message to prompt the user to avoid holding the WiFi antenna position of the terminal device specifically includes:
and if the WiFi antenna position of the terminal equipment is blocked, outputting the first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an alternative embodiment, the processor 501, by calling the program code stored in the memory 502, is further configured to perform the following operations:
calculating the average signal intensity of the terminal equipment in the transverse screen mode;
the outputting of the first prompt message to prompt the user to avoid holding the WiFi antenna position of the terminal device specifically includes:
and if the average signal intensity is smaller than a preset signal intensity threshold value, outputting the first prompt message to prompt a user to avoid holding the position of the WiFi antenna of the terminal equipment.
Therefore, in the terminal device described in fig. 5, when the terminal device is connected to the WiFi network and switched to the landscape state, the prompt message may be output to prompt the user to avoid holding the position of the WiFi antenna, so as to avoid the reduction of the receiving efficiency due to the shielding of the WiFi antenna, thereby improving the WiFi signal strength of the terminal device.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another terminal device 600 according to an embodiment of the present invention. As shown in fig. 6, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technique are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal digital assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 6, the handset includes: a Radio Frequency (RF) circuit 601, a memory 602, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi) module 607, a processor 608, and a power supply 609. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and 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 phone in detail with reference to fig. 6:
the RF circuit 601 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 608; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage 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 602 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 input unit 603 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 603 may include a touch panel 6031 and other input devices 6032. The touch panel 6031, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 6031 (e.g., operations of a user on or near the touch panel 6031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 6031 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 608, and can receive and execute commands sent by the processor 608. In addition, the touch panel 6031 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 603 may include other input devices 6032 in addition to the touch panel 6031. In particular, other input devices 6032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 604 may include a display panel 6041, and the display panel 6041 may be configured by using a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 6031 can cover the display panel 6041, and when the touch panel 6031 detects a touch operation on or near the touch panel 6031, the touch operation can be transmitted to the processor 608 to determine the type of the touch event, and then the processor 608 can provide a corresponding visual output on the display panel 6041 according to the type of the touch event. Although in fig. 6, the touch panel 6031 and the display panel 6041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 6031 and the display panel 6041 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 6041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 6041 and/or the backlight when the mobile phone 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), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 606, speaker 6061, and microphone 6062 may provide an audio interface between the user and the handset. The audio circuit 606 may transmit the electrical signal converted from the received audio data to the speaker 6061, and convert the electrical signal into a sound signal by the speaker 6061 and output the sound signal; on the other hand, the microphone 6062 converts a collected sound signal into an electric signal, receives the electric signal by the audio circuit 606, converts the electric signal into audio data, and outputs the audio data to the processor 608 for processing, and then transmits the audio data to, for example, another cellular phone via the RF circuit 601, or outputs the audio data to the memory 602 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the mobile phone. Alternatively, processor 608 may include one or more processing units; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The handset also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flows of the steps may be implemented based on the structure of the terminal device. Where both the application layer and the operating system kernel can be viewed as components of the abstract structure of processor 608.
In an embodiment of the present invention, the processor 608 calls the program code stored in the memory 602 to perform the following operations:
monitoring whether the terminal equipment is switched from a vertical screen mode to a horizontal screen mode;
if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with a wireless fidelity (WiFi) network;
and if the terminal equipment is connected with the WiFi network, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
As an alternative embodiment, the processor 608, by calling the program code stored in the memory 602, is further configured to:
outputting a second prompt message to determine whether the user knows the position of the WiFi antenna;
and if the user does not know the position of the WiFi antenna, outputting animation demonstration to inform the user of the position of the WiFi antenna.
As an alternative embodiment, the processor 608, by calling the program code stored in the memory 602, is further configured to:
outputting a third prompt message to enable a user to select whether to display the position of the WiFi antenna on a display interface;
and if the user selects to display the WiFi antenna position on the display interface, identifying the WiFi antenna position on the display interface by using a transparent icon.
As an alternative embodiment, the processor 608, by calling the program code stored in the memory 602, is further configured to:
acquiring first signal intensity after the terminal equipment is switched to the transverse screen mode;
acquiring a second signal intensity before the terminal equipment stored in the history record is switched to the horizontal screen mode;
the outputting of the first prompt message to prompt the user to avoid holding the WiFi antenna position of the terminal device specifically includes:
and if the difference value of the second signal strength minus the first signal strength is greater than a preset signal attenuation threshold value, outputting the first prompt message to prompt a user to avoid holding the position of the WiFi antenna of the terminal equipment.
Therefore, in the terminal device described in fig. 6, when the terminal device is connected to the WiFi network and switched to the landscape state, the prompt message may be output to prompt the user to avoid holding the position of the WiFi antenna, so as to avoid the reduction of the receiving efficiency due to the shielding of the WiFi antenna, thereby improving the WiFi signal strength of the terminal device.
It should be noted that, in the terminal device embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the above method embodiments may be implemented by related hardware, and the corresponding program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A method of outputting a hint message, comprising:
monitoring whether the terminal equipment is switched from a vertical screen mode to a horizontal screen mode;
if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode, determining whether the terminal equipment is connected with a wireless fidelity (WiFi) network;
if the terminal equipment is connected with a WiFi network, acquiring first signal intensity after the terminal equipment is switched to the cross screen mode; acquiring a second signal intensity before the terminal equipment is switched to the horizontal screen mode, wherein the second signal intensity is stored in a history record; and if the difference value of the second signal strength minus the first signal strength is greater than a preset signal attenuation threshold value, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
2. The method of claim 1, wherein after outputting the first prompting message to prompt the user to avoid holding the WiFi antenna location of the terminal device, the method further comprises:
outputting a second prompting message to determine whether a user knows the WiFi antenna location;
if the user does not know the WiFi antenna position, an animation demonstration is output to inform the user of the WiFi antenna position.
3. The method of claim 2, wherein after outputting the animated presentation to inform a user of the WiFi antenna location, the method further comprises:
outputting a third prompt message to enable a user to select whether to display the WiFi antenna position on a display interface;
and if the user selects to display the position of the WiFi antenna on the display interface, the position of the WiFi antenna is identified on the display interface by using a transparent icon.
4. A terminal device, comprising:
the monitoring unit is used for monitoring whether the terminal equipment is switched from the vertical screen mode to the horizontal screen mode;
the determining unit is used for determining whether the terminal equipment is connected with a wireless fidelity WiFi network or not if the terminal equipment is switched from the vertical screen mode to the horizontal screen mode;
the first output unit is used for acquiring first signal intensity after the terminal equipment is switched to the horizontal screen mode; acquiring a second signal intensity before the terminal equipment is switched to the horizontal screen mode, wherein the second signal intensity is stored in a history record; and if the difference value of the second signal strength minus the first signal strength is greater than a preset signal attenuation threshold value, outputting a first prompt message to prompt a user to avoid holding the WiFi antenna position of the terminal equipment.
5. The terminal device according to claim 4, wherein the terminal device further comprises:
a second output unit, configured to output a second prompt message to determine whether a user knows the WiFi antenna location;
and the third output unit is used for outputting animation demonstration to inform the user of the position of the WiFi antenna if the user does not know the position of the WiFi antenna.
6. The terminal device according to claim 5, wherein the terminal device further comprises: a fourth output unit, configured to output a third prompt message to enable a user to select whether to display the WiFi antenna position on a display interface;
and the identification unit is used for identifying the position of the WiFi antenna on the display interface by utilizing a transparent icon if the user selects to display the position of the WiFi antenna on the display interface.
7. A terminal device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the method of any one of claims 1 to 3.
CN201710095018.8A 2017-02-21 2017-02-21 Method for outputting prompt message and terminal equipment Active CN106911848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710095018.8A CN106911848B (en) 2017-02-21 2017-02-21 Method for outputting prompt message and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710095018.8A CN106911848B (en) 2017-02-21 2017-02-21 Method for outputting prompt message and terminal equipment

Publications (2)

Publication Number Publication Date
CN106911848A CN106911848A (en) 2017-06-30
CN106911848B true CN106911848B (en) 2020-03-31

Family

ID=59208031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710095018.8A Active CN106911848B (en) 2017-02-21 2017-02-21 Method for outputting prompt message and terminal equipment

Country Status (1)

Country Link
CN (1) CN106911848B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734614B (en) * 2017-10-19 2021-05-21 努比亚技术有限公司 Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN107911534B (en) * 2017-10-27 2020-03-27 Oppo广东移动通信有限公司 Information processing method and device, mobile terminal and computer readable storage medium
CN107947825B (en) * 2017-11-23 2020-09-22 Oppo广东移动通信有限公司 Antenna selection circuit and mobile terminal
CN108958484A (en) * 2018-06-29 2018-12-07 努比亚技术有限公司 A kind of control method for screen display, terminal and computer readable storage medium
CN108989567B (en) * 2018-08-02 2021-03-02 Oppo广东移动通信有限公司 Information reminding method, storage medium and electronic equipment
CN111381763B (en) * 2018-12-29 2021-07-30 中兴通讯股份有限公司 Touch position adjusting method and device, storage medium and electronic device
CN116114240A (en) * 2021-01-28 2023-05-12 华为技术有限公司 Antenna shielding alarm method, communication chip and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015065571A (en) * 2013-09-25 2015-04-09 シャープ株式会社 Radio communication apparatus and program
CN104683540A (en) * 2013-11-26 2015-06-03 深圳市金立通信设备有限公司 Method and terminal for improving signal quality of communication terminal
CN105959464A (en) * 2016-04-22 2016-09-21 广东欧珀移动通信有限公司 Method and device for prompting signal intensity of terminal
CN106160894A (en) * 2016-07-22 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of signal intensity reminding method, device and terminal unit
CN106385474A (en) * 2016-10-31 2017-02-08 努比亚技术有限公司 Terminal antenna switching device and terminal antenna switching method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015065571A (en) * 2013-09-25 2015-04-09 シャープ株式会社 Radio communication apparatus and program
CN104683540A (en) * 2013-11-26 2015-06-03 深圳市金立通信设备有限公司 Method and terminal for improving signal quality of communication terminal
CN105959464A (en) * 2016-04-22 2016-09-21 广东欧珀移动通信有限公司 Method and device for prompting signal intensity of terminal
CN106160894A (en) * 2016-07-22 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of signal intensity reminding method, device and terminal unit
CN106385474A (en) * 2016-10-31 2017-02-08 努比亚技术有限公司 Terminal antenna switching device and terminal antenna switching method

Also Published As

Publication number Publication date
CN106911848A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN104852885B (en) Method, device and system for verifying verification code
CN106850978B (en) Application program control method and related equipment
CN107193664B (en) Message display method and device and mobile terminal
US10657347B2 (en) Method for capturing fingerprint and associated products
CN106445596B (en) Method and device for managing setting items
CN106371964B (en) Method and device for prompting message
CN108834132B (en) Data transmission method and equipment and related medium product
CN108668328B (en) Network switching method and mobile terminal
CN105653220B (en) Screen data display method and device in remote control
CN103489303A (en) Remote control method and device
CN108966296A (en) Signal prompt method, mobile terminal and computer readable storage medium
CN108469968A (en) A kind of applied program processing method and mobile terminal
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN107949021A (en) Switch the method and terminal device of receives link in terminal device
CN106936516A (en) Display screen dispaly state control method, storage medium and terminal
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN110277097B (en) Data processing method and related equipment
CN111372003A (en) Camera switching method and device and terminal
CN105159655B (en) Behavior event playing method and device
CN108304709B (en) Face unlocking method and related product
CN103079047B (en) A kind of method of parameter adjustment and terminal
CN110865743A (en) Task management method and terminal equipment
CN110908586A (en) Keyboard display method and device and terminal equipment
CN111355991B (en) Video playing method and device, storage medium 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant