CN109195213B - Mobile terminal screen control method, mobile terminal and computer readable storage medium - Google Patents

Mobile terminal screen control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109195213B
CN109195213B CN201811415225.8A CN201811415225A CN109195213B CN 109195213 B CN109195213 B CN 109195213B CN 201811415225 A CN201811415225 A CN 201811415225A CN 109195213 B CN109195213 B CN 109195213B
Authority
CN
China
Prior art keywords
mobile terminal
screen display
display requirement
screen
distance
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
CN201811415225.8A
Other languages
Chinese (zh)
Other versions
CN109195213A (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 CN201811415225.8A priority Critical patent/CN109195213B/en
Publication of CN109195213A publication Critical patent/CN109195213A/en
Application granted granted Critical
Publication of CN109195213B publication Critical patent/CN109195213B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a mobile terminal screen control method, a mobile terminal and a computer readable storage medium, and relates to the technical field of communication. The method comprises the following steps: when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not; if the mobile terminal has a screen display requirement, keeping the screen of the mobile terminal in a bright screen state; and if the mobile terminal has no screen display requirement, controlling the screen of the mobile terminal to be turned off. The embodiment of the invention can save the energy consumption of the mobile terminal and improve the user experience.

Description

Mobile terminal screen control method, mobile terminal and computer readable storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a mobile terminal screen control method, a mobile terminal and a computer readable storage medium.
Background
At present, when the smart phone is in a conversation mode, when the smart phone is close to the head of a user, the distance sensor arranged in the smart phone detects that the distance between the smart phone and the head of the user is smaller than a preset threshold value, the smart phone can automatically turn off the screen, when the conversation is completed, the smart phone is far away from the head, and when the distance sensor detects that the distance between the smart phone and the head of the user is larger than the preset threshold value, the smart phone can automatically turn on the screen, so that the user operation can be facilitated, and the electric quantity can be saved. However, if the sound amplifying mode is started in the communication process of the smart phone, the smart phone keeps the screen bright in the communication process, in fact, when the smart phone is in sound amplifying communication, the interface is not effectively used for displaying information under the condition of no operation, and if the screen bright always causes electric quantity waste, so that the user experience is reduced.
Disclosure of Invention
Accordingly, an object of the embodiments of the present invention is to provide a mobile terminal screen control method, a mobile terminal, and a computer readable storage medium, so as to solve the problem that when the mobile phone performs public address communication, the interface is not effectively displaying information under the no-operation condition, and if the screen is always on, the electric quantity is wasted, and the user experience is reduced.
The technical scheme adopted by the embodiment of the invention for solving the technical problems is as follows:
according to an aspect of an embodiment of the present invention, there is provided a mobile terminal screen control method, including:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; and if the screen display requirement does not exist, controlling the mobile terminal to stop the screen.
On the basis of the above technical solution, the detecting whether the mobile terminal has a screen display requirement includes:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement.
On the basis of the above technical solution, if the shielding object is not detected or the distance is greater than or equal to a preset threshold, the mobile terminal further includes, after having a screen display requirement:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
On the basis of the above technical solution, if the face image exists in the image, the method further includes:
comparing the face image with a pre-stored face image of the mobile terminal user, and identifying whether the face image is the user;
if the user himself, the mobile terminal has a screen display requirement;
if the user is not himself, the mobile terminal has no screen display requirement.
According to another aspect of an embodiment of the present invention, there is provided a mobile terminal including a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; and if the screen display requirement does not exist, controlling the mobile terminal to stop the screen.
On the basis of the technical scheme, the mobile terminal further comprises a distance sensor, and when the computer program is executed by the processor, the following steps are realized:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement.
On the basis of the technical scheme, the mobile terminal further comprises a front-end camera, and when the computer program is executed by the processor, the following steps are realized:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
According to still another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, for use in a mobile terminal, having stored thereon a computer program which, when executed by a processor, performs the steps of:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; and if the screen display requirement does not exist, controlling the mobile terminal to stop the screen.
On the basis of the technical scheme, when the computer program is executed by a processor, the following steps are realized:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement.
On the basis of the technical scheme, when the computer program is executed by the processor, the following steps are realized:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
According to the mobile terminal screen control method, the mobile terminal and the computer readable storage medium, when the mobile terminal enters the sound amplifying communication state, whether the mobile terminal has a screen display requirement is detected, when the mobile terminal has the screen display requirement, the screen of the mobile terminal is kept in a bright screen state, and when the mobile terminal does not have the screen display requirement, the screen of the mobile terminal is controlled to be turned off, so that the energy consumption of the mobile terminal can be saved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
fig. 3 is a schematic implementation flow chart of a mobile terminal screen control method according to a first embodiment of the present invention;
fig. 4 is a schematic flow chart of a mobile terminal screen control method according to a second embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
Mobile terminals may be implemented in a variety of forms. For example, mobile terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and stationary mobile terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type mobile terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the 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 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 GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change 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 talk 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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (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 graphics 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 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone 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 the audio signal.
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 and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
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 (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 to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, 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 touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the 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 azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. 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, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (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 an external device 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 an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, 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 running 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 mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily 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 source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through 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 herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the mobile terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
Example 1
Fig. 3 is a schematic flowchart of a specific implementation of a mobile terminal screen control method according to an embodiment of the present invention, where an execution body of the method is a mobile terminal in the embodiment of the present invention. Referring to fig. 3, the method for controlling a screen of a mobile terminal provided in this embodiment may include the following steps:
step S301, when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement; if there is a screen display requirement, the process proceeds to step S302; otherwise, if there is no screen display requirement, the process proceeds to step S303.
Step S302, the mobile terminal screen is kept in a bright screen state.
And step S303, controlling the mobile terminal screen to be turned off.
When the mobile terminal detects a sound amplifying function starting instruction input by a user in a communication state, the mobile terminal is triggered to start the distance sensor, and whether screen display requirements exist is judged according to data measured by the distance sensor. Specifically, the detecting whether the mobile terminal has a screen display requirement includes:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement.
In this embodiment, if a shielding object is provided in front of the mobile terminal and the distance between the shielding object and the mobile terminal screen is smaller than a preset threshold, it is indicated that the user head is very close to the mobile terminal screen or the mobile terminal screen is placed downward on the shielding object, which indicates that the user does not need to view screen information, so the mobile terminal has no screen display requirement, and at the moment, the mobile terminal screen is controlled to be turned off, so that the energy consumption of the mobile terminal can be saved; otherwise, if no shielding object exists in front of the mobile terminal, or the distance between the mobile terminal and the shielding object is greater than or equal to a preset threshold value, the mobile terminal is not close to the head of the user at the moment, the mobile terminal is not placed downwards, and the user may need to view screen information, so that the mobile terminal has screen display requirements, and the mobile terminal is kept in a bright screen state at the moment, so that user experience can be improved.
As can be seen from the above, in the mobile terminal screen control method provided by the embodiment, when the mobile terminal enters the public address communication state, whether the mobile terminal has a screen display requirement is detected, when the mobile terminal has the screen display requirement, the mobile terminal screen is kept in a bright screen state, and when the mobile terminal does not have the screen display requirement, the mobile terminal screen is controlled to be turned off, so that the energy consumption of the mobile terminal can be saved, and the user experience is improved.
Example two
Fig. 4 is a schematic implementation flow chart of a mobile terminal screen control method according to a second embodiment of the present invention, where an execution body of the method is a mobile terminal according to the embodiment of the present invention. Referring to fig. 4, the method for controlling a screen of a mobile terminal provided in this embodiment may include the following steps:
step S401, when the mobile terminal enters a sound amplifying communication state, starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor; if a shielding object exists in front of the mobile terminal, the step S402 is entered; if no obstruction exists in front of the mobile terminal, the process goes to step S403.
Step S402, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not; if the distance is smaller than the preset threshold, the mobile terminal is indicated to have no screen display requirement, and the step S405 is skipped; if the distance is greater than or equal to the preset threshold, the process proceeds to step S403.
Step S403, controlling the front camera of the mobile terminal to collect an image in front of the mobile terminal, recognizing the image, judging whether a face image exists in the image, if so, the mobile terminal has a screen display requirement, and entering step S404 at the moment; if no face image exists in the images, the mobile terminal does not have a screen display requirement, and the step S405 is skipped.
And step S404, keeping the screen of the mobile terminal in a bright screen state.
And step S405, controlling the mobile terminal screen to be turned off.
In this embodiment, when the mobile terminal detects that there is no shielding object in front or the distance between the mobile terminal and the shielding object is greater than or equal to a preset threshold, further controlling a front camera of the mobile terminal to collect an image in front of the mobile terminal, performing face recognition on the collected image, when recognizing that a face exists in the image, indicating that a user faces a screen of the mobile terminal, and needing to view screen information, so as to keep the mobile terminal in a bright screen state, and when recognizing that there is no face in the image, indicating that the user does not face the screen of the mobile terminal, and not viewing screen information, so as to control screen deactivation of the screen of the mobile terminal. Compared with the previous embodiment, the method for judging whether the mobile terminal has the screen display requirement is more reliable, and the reliability of the screen control method of the mobile terminal is further improved.
Preferably, in this embodiment, after the face image is included in the image, the method further includes:
comparing the face image with a pre-stored face image of the mobile terminal user, and identifying whether the face image is the user;
if the user himself, the mobile terminal has a screen display requirement;
if the user is not himself, the mobile terminal has no screen display requirement.
In this embodiment, when a face is identified in the image, whether the face is the user of the mobile terminal is further determined, and the screen is kept bright only when the face is identified as the user, and when the face image is identified as not the user, the screen of the mobile terminal is controlled to be turned off, so that the reliability of the screen control method of the mobile terminal can be further improved, and the safety of the mobile terminal is improved.
As can be seen from the above, the mobile terminal screen control method provided by the embodiment can also save energy consumption of the mobile terminal and improve user experience; and, compared with the previous embodiment, the reliability of the mobile terminal screen control method is further improved due to the fact that face recognition is added when whether the mobile terminal has the screen display requirement or not is detected.
Example III
An embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program when executed by the processor implements the steps of:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; and if the screen display requirement does not exist, controlling the mobile terminal to stop the screen.
Optionally, the mobile terminal further comprises a distance sensor, and the computer program when executed by the processor implements the steps of:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement.
Optionally, the mobile terminal further includes a front-end camera, and when the computer program is executed by the processor, the following steps are implemented:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
Optionally, when the computer program is executed by the processor, the following steps are implemented:
after recognizing that a face image exists in the image, comparing the face image with a pre-stored face image of the mobile terminal user, and recognizing whether the face image is the user;
if the user himself, the mobile terminal has a screen display requirement;
if the user is not himself, the mobile terminal has no screen display requirement.
The mobile terminal in the embodiment of the present invention belongs to the same concept as the methods in the first and second embodiments, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the mobile terminal embodiment, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods disclosed in the present embodiments may be implemented as software, firmware, hardware, and suitable combinations thereof.
Example IV
A fourth embodiment of the present invention provides a computer readable storage medium, applied to a mobile terminal, on which a computer program is stored, the computer program implementing the following steps when executed by a processor:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; and if the screen display requirement does not exist, controlling the mobile terminal to stop the screen.
Optionally, when the computer program is executed by a processor, the following steps are implemented:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement.
Optionally, when the computer program is executed by the processor, the following steps are implemented:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
Optionally, when the computer program is executed by the processor, the following steps are implemented:
after recognizing that a face image exists in the image, comparing the face image with a pre-stored face image of the mobile terminal user, and recognizing whether the face image is the user;
if the user himself, the mobile terminal has a screen display requirement;
if the user is not himself, the mobile terminal has no screen display requirement.
The computer readable storage medium of the embodiment of the present invention belongs to the same concept as the methods of the first to second embodiments, and the specific implementation process is detailed in the corresponding method embodiment, and the technical features of the method embodiment are correspondingly applicable to the computer readable storage medium embodiment, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods disclosed in the present embodiments may be implemented as software, firmware, hardware, and suitable combinations thereof.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a mobile terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (4)

1. A mobile terminal screen control method, comprising:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; if the screen display requirement does not exist, controlling the mobile terminal screen to be turned off;
the detecting whether the mobile terminal has a screen display requirement comprises the following steps:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold, the mobile terminal further includes:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
2. The method for controlling a screen of a mobile terminal according to claim 1, wherein if there is a face image in the image, further comprising:
comparing the face image with a pre-stored face image of the mobile terminal user, and identifying whether the face image is the user;
if the user himself, the mobile terminal has a screen display requirement;
if the user is not himself, the mobile terminal has no screen display requirement.
3. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor performing the steps of:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; if the screen display requirement does not exist, controlling the mobile terminal screen to be turned off;
the mobile terminal further comprises a distance sensor, and the computer program, when executed by the processor, implements the steps of:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement;
the mobile terminal further comprises a front-end camera, and when the computer program is executed by the processor, the following steps are realized after the mobile terminal has a screen display requirement if no shielding object is detected or the distance is greater than or equal to a preset threshold value:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
4. A computer readable storage medium for use in a mobile terminal, the storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
when the mobile terminal enters a sound amplifying communication state, detecting whether the mobile terminal has a screen display requirement or not;
if the screen display requirement exists, keeping the mobile terminal screen in a bright screen state; if the screen display requirement does not exist, controlling the mobile terminal screen to be turned off;
the computer program, when executed by a processor, performs the steps of:
starting a distance sensor arranged on the mobile terminal, and detecting whether a shielding object exists in front of the mobile terminal through the distance sensor;
if a shielding object is arranged in front of the mobile terminal, measuring the distance between the mobile terminal and the shielding object through the distance sensor, and judging whether the distance is smaller than a preset threshold value or not;
if the distance is smaller than a preset threshold, the mobile terminal has no screen display requirement;
if no shielding object is detected or the distance is greater than or equal to a preset threshold value, the mobile terminal has a screen display requirement;
when the computer program is executed by the processor, the following steps are further implemented after the mobile terminal has a screen display requirement if no occlusion is detected or the distance is greater than or equal to a preset threshold value:
controlling the front camera of the mobile terminal to acquire an image in front of the mobile terminal;
performing face recognition on the image, and judging whether a face image exists in the image;
if the image has a face image, the mobile terminal has a screen display requirement;
if no face image exists in the images, the mobile terminal has no screen display requirement.
CN201811415225.8A 2018-11-26 2018-11-26 Mobile terminal screen control method, mobile terminal and computer readable storage medium Active CN109195213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811415225.8A CN109195213B (en) 2018-11-26 2018-11-26 Mobile terminal screen control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811415225.8A CN109195213B (en) 2018-11-26 2018-11-26 Mobile terminal screen control method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109195213A CN109195213A (en) 2019-01-11
CN109195213B true CN109195213B (en) 2023-06-30

Family

ID=64938014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811415225.8A Active CN109195213B (en) 2018-11-26 2018-11-26 Mobile terminal screen control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109195213B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737324A (en) * 2019-10-25 2020-01-31 Oppo(重庆)智能科技有限公司 Method for adjusting automatic screen-off time and related product
CN113012656A (en) * 2019-12-20 2021-06-22 佛山市云米电器科技有限公司 Display screen control method, intelligent household appliance and storage medium
CN113596248B (en) * 2020-04-30 2022-11-11 华为技术有限公司 Display screen control method and device
CN114125143B (en) * 2020-08-31 2023-04-07 华为技术有限公司 Voice interaction method and electronic equipment
CN114125148B (en) * 2022-01-11 2022-06-24 荣耀终端有限公司 Control method of electronic equipment operation mode, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015184810A1 (en) * 2014-11-18 2015-12-10 中兴通讯股份有限公司 Method and device for adjusting screen display
CN107092352A (en) * 2017-03-27 2017-08-25 深圳市金立通信设备有限公司 A kind of screen control method answered based on distance perspective and terminal
CN107124513A (en) * 2017-05-04 2017-09-01 努比亚技术有限公司 Breath screen method, mobile terminal and computer-readable recording medium under talking state
CN107231479A (en) * 2017-06-05 2017-10-03 努比亚技术有限公司 Call control method, mobile terminal and computer-readable recording medium
WO2017219563A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Terminal energy saving method and apparatus thereof
CN107896272A (en) * 2017-08-11 2018-04-10 广东欧珀移动通信有限公司 A kind of call control method and device
CN108572717A (en) * 2018-04-11 2018-09-25 Oppo广东移动通信有限公司 Control method, apparatus, mobile terminal and the storage medium of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015184810A1 (en) * 2014-11-18 2015-12-10 中兴通讯股份有限公司 Method and device for adjusting screen display
WO2017219563A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Terminal energy saving method and apparatus thereof
CN107092352A (en) * 2017-03-27 2017-08-25 深圳市金立通信设备有限公司 A kind of screen control method answered based on distance perspective and terminal
CN107124513A (en) * 2017-05-04 2017-09-01 努比亚技术有限公司 Breath screen method, mobile terminal and computer-readable recording medium under talking state
CN107231479A (en) * 2017-06-05 2017-10-03 努比亚技术有限公司 Call control method, mobile terminal and computer-readable recording medium
CN107896272A (en) * 2017-08-11 2018-04-10 广东欧珀移动通信有限公司 A kind of call control method and device
CN108572717A (en) * 2018-04-11 2018-09-25 Oppo广东移动通信有限公司 Control method, apparatus, mobile terminal and the storage medium of mobile terminal

Also Published As

Publication number Publication date
CN109195213A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN110087287B (en) Control method and device for terminal network searching, mobile terminal and storage medium
CN108512625B (en) Anti-interference method for camera, mobile terminal and storage medium
CN108184023B (en) Screen state control method, mobile terminal and computer readable storage medium
CN109144705B (en) Application management method, mobile terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN107861663B (en) Method and device for displaying dockbar under comprehensive screen
CN110275794B (en) Screen display method of terminal, and computer-readable storage medium
CN112637410B (en) Method, terminal and storage medium for displaying message notification
CN109584897B (en) Video noise reduction method, mobile terminal and computer readable storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN110069167B (en) Touch point cleaning method, mobile terminal and computer readable storage medium
CN109545120B (en) Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN109890072B (en) Terminal power saving control method and device, mobile terminal and readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN109445945B (en) Memory allocation method of application program, mobile terminal, server and storage medium
CN108579081B (en) Event processing method, device and computer storage medium based on game
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN107517487B (en) Call control method and mobile terminal
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN109711850B (en) Secure payment method, device and computer readable storage medium

Legal Events

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