CN110691168A - Screen control method and device of mobile terminal and storage medium - Google Patents

Screen control method and device of mobile terminal and storage medium Download PDF

Info

Publication number
CN110691168A
CN110691168A CN201910913536.5A CN201910913536A CN110691168A CN 110691168 A CN110691168 A CN 110691168A CN 201910913536 A CN201910913536 A CN 201910913536A CN 110691168 A CN110691168 A CN 110691168A
Authority
CN
China
Prior art keywords
mobile terminal
preset
screen
angle
detecting whether
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.)
Granted
Application number
CN201910913536.5A
Other languages
Chinese (zh)
Other versions
CN110691168B (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.)
JRD Communication Shenzhen Ltd
Jiekai Communications Shenzhen Co Ltd
Original Assignee
Jiekai Communications Shenzhen 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 Jiekai Communications Shenzhen Co Ltd filed Critical Jiekai Communications Shenzhen Co Ltd
Priority to CN201910913536.5A priority Critical patent/CN110691168B/en
Publication of CN110691168A publication Critical patent/CN110691168A/en
Application granted granted Critical
Publication of CN110691168B publication Critical patent/CN110691168B/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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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 application discloses a screen control method and device of a mobile terminal and a storage medium. The method comprises the following steps: when the mobile terminal establishes a call connection, detecting whether a preset induction area of the mobile terminal is in a contact state; if the preset induction area is not in a contact state, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition; if the first preset condition is met, the screen of the mobile terminal is controlled to be extinguished, so that the power consumption of the mobile terminal is effectively reduced, and the probability of mistaken touch of a user on the display screen of the mobile terminal in the conversation process is reduced.

Description

Screen control method and device of mobile terminal and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a screen of a mobile terminal, and a storage medium.
Background
With the development of the full-screen of the mobile terminal, the power consumption of the mobile terminal is also sharply increased. In the prior art, in order to reduce the power consumption of a mobile terminal, when a user uses the mobile terminal for a call, a sensor in the mobile terminal detects the distance between the user and a face of the user, and if the user detects that the face of the user is attached to the mobile terminal, a screen of the mobile terminal is triggered to be turned off.
However, many users do not attach the mobile terminal to the face during actual communication, which results in that the screen of the mobile terminal cannot be triggered to be turned off, the mobile terminal is still in a bright screen state, power consumption is still high, and in addition, the probability of mistaken touch of the user on the display screen of the mobile terminal in the communication process can be improved.
Disclosure of Invention
The embodiment of the application provides a screen control method and device of a mobile terminal and a storage medium, which can effectively reduce the power consumption of the mobile terminal and reduce the probability of mistaken touch of a user on a display screen of the mobile terminal in the conversation process.
The embodiment of the application provides a screen control method of a mobile terminal, which comprises the following steps:
when the mobile terminal establishes a call connection, detecting whether a preset induction area of the mobile terminal is in a contact state;
if the preset induction area is not in a contact state, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition;
and if the first preset condition is met, controlling the screen of the mobile terminal to be turned off.
An embodiment of the present application further provides a screen control device of a mobile terminal, including:
the first detection module is used for detecting whether a preset induction area of the mobile terminal is in a contact state or not when the mobile terminal establishes a call connection;
the second detection module is used for detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition or not when the preset induction area is not in a contact state; and the number of the first and second groups,
and the control module is used for controlling the screen of the mobile terminal to be extinguished when the first preset condition is met.
The embodiment of the application also provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the screen control method of any one of the mobile terminals.
The screen control method, the screen control device and the storage medium of the mobile terminal can establish call connection at the mobile terminal, detect the operation state and the posture information of the mobile terminal when a preset induction area of the mobile terminal is not in a contact state, and control the screen of the mobile terminal to be turned off when the operation state and the posture information of the mobile terminal meet a first preset condition, so that the power consumption of the mobile terminal is saved to the maximum extent, and meanwhile, the false touch probability of a user on a display screen of the mobile terminal in the call process is reduced.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a screen control method of a mobile terminal according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of a screen control method of a mobile terminal according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a screen control device of a mobile terminal according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and 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 application.
A screen control method of a mobile terminal includes: when the mobile terminal establishes a call connection, detecting whether a preset induction area of the mobile terminal is in a contact state; if the preset induction area is not in a contact state, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition; and if the first preset condition is met, controlling the screen of the mobile terminal to be turned off.
As shown in fig. 1, fig. 1 is a schematic flowchart of a screen control method of a mobile terminal provided in an embodiment of the present application, and a specific flow of the screen control method of the mobile terminal may be as follows:
101. and when the mobile terminal establishes call connection, detecting whether a preset induction area of the mobile terminal is in a contact state.
In this embodiment, the mobile terminal may adopt a Capacitive Touch screen (CTP), and the preset sensing area of the mobile terminal may be a partial area where a human face is easily contacted with the mobile terminal in a call process, for example, an upper half area of the mobile terminal. After the mobile terminal establishes a call connection, the mobile terminal is in a bright screen state, the CTP can simulate the work of a distance Sensor (P-Sensor), namely after the mobile terminal enters a call interface, the sensitivity of a touch layer (TP) of the CTP is increased, and a sensing condition is set, such as a preset threshold value, when a hand or a face contacts the preset sensing area of the touch layer in a large area, the variation generated by the capacitance of the preset sensing area reaches the preset threshold value, a proximity event can be reported by the drive of the touch layer, so that the preset sensing area of the mobile terminal is judged to be in a contact state, when the hand or the face leaves the preset sensing area, the variation generated by the capacitance of the preset sensing area does not reach the preset threshold value, a far-away event is reported by the drive of the touch layer, and the preset sensing area of the mobile terminal is judged.
102. And if the preset induction area is not in a contact state, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition.
In this embodiment, the operation state of the mobile terminal may include that the mobile terminal has an operation or that the mobile terminal has no operation, and the posture information of the mobile terminal may include an angle between the mobile terminal and a horizontal plane or an angle between the mobile terminal and a vertical plane. The first preset condition can respectively limit the operation state and the posture information of the mobile terminal, so that when the operation state and the posture information of the mobile terminal both meet the limit condition, the operation state and the posture information of the mobile terminal are judged to meet the first preset condition, otherwise, the operation state and the posture information of the mobile terminal are judged to not meet the first preset condition.
Specifically, the detecting whether the operation state and the posture information of the mobile terminal satisfy a first preset condition in step 102 includes:
detecting whether the inclination angle of the mobile terminal is larger than a first preset angle or not;
if the inclination angle is larger than the first preset angle, detecting whether the operation state of the mobile terminal in a preset time length is no operation or not, if so, judging that the first preset condition is met, and if not, judging that the first preset condition is not met;
and if the inclination angle is smaller than the first preset angle, judging that the first preset condition is not met.
It should be noted that, in this embodiment, the first preset condition is that the inclination angle is greater than the first preset angle, and the operation state within the preset time duration is no operation. The first preset angle may be 45 °, and the preset time duration may be 8 s.
The method comprises the steps that conversation connection is established at the mobile terminal, and when a preset induction area of the mobile terminal is not in a contact state, real-time detection is conducted on the operation state and the posture information of the mobile terminal, wherein the posture information mainly comprises an inclination angle, the inclination angle is an included angle between the mobile terminal and a horizontal plane, and the included angle is 0-90 degrees. If the inclination angle of the mobile terminal is detected to be larger than a first preset angle, whether the operation state of the mobile terminal is no operation is detected, if yes, timing is started, if the preset time is timed, the operation state of the mobile terminal is no operation in the timing process, and the inclination angle of the mobile terminal is still larger than the first preset angle, it is indicated that the user is still in attentive conversation, the operation state and the posture information of the mobile terminal do not need to be processed by the mobile terminal, the operation state and the posture information of the mobile terminal meet the first preset condition, otherwise, the operation state and the posture information of the mobile terminal possibly need to be processed by the mobile terminal in the conversation process, and the operation state and the posture information of the mobile terminal do not meet the first preset condition.
103. And if the first preset condition is met, controlling the screen of the mobile terminal to be turned off.
In this embodiment, when the mobile terminal establishes a call connection, the mobile terminal is in a bright screen state, and then the mobile terminal is controlled to keep the bright screen state or turn off the screen according to the contact state of the preset induction area of the mobile terminal, the operation state of the mobile terminal and the posture information. When the preset induction area of the mobile terminal is not in a contact state and the operation state and the posture information of the mobile terminal meet a first preset condition, the screen of the mobile terminal is controlled to be turned off.
It can be understood that when the contact state of the preset sensing area of the mobile terminal, the operation state of the mobile terminal and the posture information are in other states, the screen of the mobile terminal can be controlled to be turned off. In addition, after the screen of the mobile terminal is extinguished, if the contact state of the preset sensing area of the mobile terminal, the operation state of the mobile terminal and the posture information change, the screen of the mobile terminal can be lightened.
Further, the method further comprises:
and in the period that the screen of the mobile terminal is extinguished, if the inclination angle of the mobile terminal is detected to be smaller than the first preset angle or the power supply starting operation is detected, lightening the screen of the mobile terminal.
In this embodiment, when the preset sensing area of the mobile terminal is not in a contact state, and the operating state and the posture information of the mobile terminal satisfy the first preset condition, the screen of the mobile terminal is turned off, and during the turning-off period, the tilt angle of the mobile terminal is detected in real time, if the tilt angle of the mobile terminal is detected to be smaller than the first preset angle, the user may need to use the mobile terminal to handle other things in the conversation process, and light the screen of the mobile terminal, or, the power supply starting operation is detected in real time, and if the power supply starting operation of the user on the mobile terminal is detected, it is indicated that the user needs to be in a bright screen state and light the screen of the mobile terminal. The mobile terminal is provided with a power supply starting button, and after a user clicks the power supply starting button, the mobile terminal can detect power supply starting operation and responds to the power supply starting operation to light a screen of the mobile terminal.
In one embodiment, the method further comprises:
when the preset induction area of the mobile terminal is detected to be in a contact state, detecting whether the inclination angle of the mobile terminal is larger than a second preset angle;
and if so, controlling the screen of the mobile terminal to be turned off.
In this embodiment, the preset sensing area of the mobile terminal is in a contact state, the inclination angle of the mobile terminal is detected in real time, if the inclination angle is greater than a second preset angle, it is indicated that the user pastes the mobile terminal on the face to perform a call, and the screen of the mobile terminal is controlled to be turned off, and if the inclination angle is less than the second preset angle, it is indicated that the user may mistakenly touch the preset sensing area of the mobile terminal, and the screen of the mobile terminal is kept in a lighting state. Wherein the second preset angle may be 45 °.
Further, the method further comprises:
during the screen extinguishing period of the mobile terminal, if the preset induction area of the mobile terminal is detected to be converted from the contact state to the non-contact state, whether the inclination angle of the mobile terminal meets a second preset condition is detected;
if so, keeping the screen of the mobile terminal off;
and if not, lightening the screen of the mobile terminal.
In this embodiment, when the preset sensing area of the mobile terminal is in a contact state and the inclination angle of the mobile terminal is greater than a second preset angle, the screen of the mobile terminal is turned off, and during the turning-off period, the preset sensing area of the mobile terminal is detected in real time, if it is detected that the preset sensing area of the mobile terminal is converted from the contact state to a non-contact state, the inclination angle of the mobile terminal is detected, if the inclination angle satisfies the second preset condition, it indicates that the user carelessly leaves the mobile terminal away from the face of the user during a call, the user is still engaged in a call, at this time, the screen of the mobile terminal is still turned off, if the inclination angle does not satisfy the second preset condition, it indicates that the user takes the mobile terminal away, the user may need to use the mobile terminal to handle other things, such as hanging up a call, and at this time, the.
Further, the detecting whether the inclination angle of the mobile terminal meets a second preset condition specifically includes:
detecting whether the inclination angle of the mobile terminal is larger than a third preset angle or not;
if the inclination angle is larger than the third preset angle, detecting whether the inclination angle change value of the mobile terminal is smaller than a preset angle change value when the contact state of the preset induction area is converted into the non-contact state, if so, judging that the second preset condition is met, and if not, judging that the second preset condition is not met;
and if the inclination angle is smaller than the third preset angle, judging that the second preset condition is not met.
It should be noted that the second preset condition may be that the inclination angle is greater than the third preset angle, and the inclination angle variation value is smaller than the preset angle variation value. Wherein the third preset angle may be 70 °, and the preset angle variation value may be 20 °.
According to the screen control method of the mobile terminal, the call connection can be established at the mobile terminal, and when the preset induction area of the mobile terminal is not in the contact state, the operation state and the posture information of the mobile terminal are detected, and when the operation state and the posture information of the mobile terminal meet the first preset condition, the screen of the mobile terminal is controlled to be turned off, so that the power consumption of the mobile terminal is saved to the maximum extent, and meanwhile, the false touch probability of a user on the display screen of the mobile terminal in the call process is reduced.
As shown in fig. 2, fig. 2 is another schematic flow chart of the screen control method of the mobile terminal provided in the embodiment of the present application, and the specific flow may be as follows:
201. and monitoring the call connection state of the mobile terminal.
Adding call connection state monitoring on a framework layer of the mobile terminal, monitoring the call connection state by the framework layer when the mobile terminal makes a call or has a call incoming, if the call connection is established, if the call is connected, the call connection state is changed into OffHook, and if the call connection is disconnected, if the call is hung up, the call connection state is changed into Idle.
202. And when the call connection is established, the automatic screen-off function without operation for 8s and the screen-on and screen-off function of the sensor are started.
The no-operation 8s automatic screen-off function is based on the sleep operation of the mobile terminal, when the call connection state is OffHook, a screen _ off _ timeout value in a system database is read and stored in a mCustomeSleepTime, and the screen _ off _ timeout value is reset to 8000 ms. In addition, a PARTIAL dormancy LOCK of PARTIAL _ WAKE _ LOCK is applied to ensure that the mPowerManager.wakeUp WAKE-up system can be called to light the screen when the mobile terminal meets the screen lighting condition.
Meanwhile, when the call connection state is OffHook, registering a TYPE-ACCELEROMETER TYPE gravity sensor to monitor an event, rewriting an onsensor changed method of SensorEventListener, calculating the inclination angle (the angle between the mobile terminal and the horizontal plane) of the current mobile terminal according to the acceleration values of the x, y and z axes of the current mobile terminal, and comparing the angle change once every 100 ms.
203. Detecting whether a preset induction area of the mobile terminal is in a contact state, if not, executing step 204, and if so, executing step 207.
The method comprises the steps of detecting whether a preset induction area of the mobile terminal is in a contact state or not, namely detecting whether the mobile terminal is attached to the face of a user or not. For two conditions that the mobile terminal is tightly attached to the face of a user and is not tightly attached to the face of the user, two schemes are respectively adopted to control the on-off of the screen of the mobile terminal.
204. And detecting whether the mobile terminal is not operated for 8s, if so, executing the step 205, otherwise, returning to the step 203.
And detecting that the mobile terminal is not operated within 8s, if so, indicating that the user does not use the mobile terminal in the conversation process, and if not, indicating that the user still uses the mobile terminal in the conversation process.
205. And (5) screen extinguishing of the mobile terminal.
206. And responding to the power starting operation or the inclination angle of the mobile terminal is less than 45 degrees, lighting up the screen of the mobile terminal, and returning to the step 203.
When the user needs to use the mobile terminal during the screen of the mobile terminal is extinguished, the power supply starting operation is carried out on the mobile terminal, the mobile terminal responds to the power supply starting operation to light the screen, or the user moves the mobile terminal to a lying state to light the screen, so that the user can use the mobile terminal.
It should be noted that, in the screen turn-off situation, the screen of the mobile terminal can be turned on only by the power starting operation of the user and the inclination angle of the mobile terminal being smaller than 45 °.
207. And detecting whether the inclination angle of the mobile terminal is smaller than 45 degrees, if so, executing step 208, and if not, executing step 209.
208. The mobile terminal is on screen and returns to step 203.
209. And (5) screen extinguishing of the mobile terminal.
210. Detecting whether a preset sensing area of the mobile terminal is converted from a contact state to a non-contact state, if so, executing step 211, and if not, executing step 209.
The preset induction area of the mobile terminal is converted from a contact state to a non-contact state, which indicates that the mobile terminal leaves the face of the user, namely, the mobile terminal is not attached to the face of the user.
211. And detecting whether the tilt angle of the mobile terminal is larger than 70 degrees and the change value of the tilt angle is smaller than 20 degrees, if so, executing step 209, and if not, executing step 208.
The inclination angle change value can be a change value of an inclination angle detected every 100ms, and the inclination angle is between 0 and 90 degrees.
212. And when the call connection is disconnected, the no-operation 8s automatic screen-off function and the sensor screen-on and screen-off function are turned off.
The step of turning off the no-operation 8s automatic screen-off function refers to resetting the value saved in the mCustomeSleepTime to the database screen _ off _ timeout, restoring the value of screen _ off _ timeout in the system database, and applying for releasing the PARTIAL sleep LOCK of PARTIAL _ WAKE _ LOCK. The function of turning off the sensor on/off screen means that the gravity sensor is registered to monitor an event and the gravity sensor resource is released.
This embodiment combines no operation 8s automatic screen function and the bright screen function of going out of inductor, controls the mobile terminal bright screen of going out, effectively improves mobile terminal's bright screen effect of going out, saves mobile terminal's power consumption, and avoids user's mistake touching.
According to the method described in the above embodiments, the present embodiment will be further described from the perspective of a screen control device of a mobile terminal, which may be integrated in the mobile terminal, which may include a mobile phone, a tablet computer, and the like.
Referring to fig. 3, fig. 3 specifically describes a screen control device of a mobile terminal provided in an embodiment of the present application, where the screen control device of the mobile terminal may include: a first detection module 10, a second detection module 20, and a control module 30, wherein:
(1) first detection module 10
The first detection module 10 is configured to detect whether a preset sensing area of the mobile terminal is in a contact state when the mobile terminal establishes a call connection.
(2) Second detection module 20
The second detecting module 20 is configured to detect whether the operation state and the posture information of the mobile terminal satisfy a first preset condition when the preset sensing area is not in the contact state.
(3) Control module 30
And the control module 30 is configured to control the screen of the mobile terminal to be turned off when the first preset condition is met.
In some embodiments of the invention, the attitude information comprises an angle of inclination;
the second detection module 20 specifically includes:
the first detection unit is used for detecting whether the inclination angle of the mobile terminal is larger than a first preset angle or not;
the second detection unit is used for detecting whether the operation state of the mobile terminal in a preset time length is no operation or not when the inclination angle is larger than the first preset angle, if so, judging that the first preset condition is met, and if not, judging that the first preset condition is not met;
and the judging unit is used for judging that the first preset condition is not met when the inclination angle is smaller than the first preset angle.
In some embodiments of the invention, the apparatus further comprises:
and the lighting module is used for lighting the screen of the mobile terminal when the screen of the mobile terminal is extinguished and if the inclination angle of the mobile terminal is detected to be smaller than the first preset angle or the power supply starting operation of the mobile terminal is detected.
According to the screen control device of the mobile terminal, conversation connection can be established at the mobile terminal, when the preset induction area of the mobile terminal is not in a contact state, the operation state and the posture information of the mobile terminal are detected, and when the operation state and the posture information of the mobile terminal meet a first preset condition, the screen of the mobile terminal is controlled to be turned off, so that the power consumption of the mobile terminal is saved to the maximum extent, and meanwhile, the false touch probability of a user on the display screen of the mobile terminal in the conversation process is reduced.
In addition, the embodiment of the application further provides a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer and other devices. As shown in fig. 4, the mobile terminal 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the mobile terminal 400, 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 loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the mobile terminal.
In this embodiment, the processor 401 in the mobile terminal 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
when the mobile terminal establishes a call connection, detecting whether a preset induction area of the mobile terminal is in a contact state;
if not, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition or not;
and if so, controlling the screen of the mobile terminal to be turned off.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. The mobile terminal 300 may include components such as RF circuitry 310, memory 320 including one or more computer-readable storage media, input unit 330, display unit 340, sensors 350, audio circuitry 360, speaker 361, microphone 362, transmission module 370, a processor 380 including one or more processing cores, and a power supply 390. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means 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 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 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 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 5, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The mobile terminal 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the 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 may be further configured on the mobile terminal 300, detailed descriptions thereof are omitted.
An audio circuit 360, a speaker 361, and a microphone 362, the microphone 362 providing an audio interface between a user and the mobile terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.
The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 5 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 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 processor 380.
The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when the mobile terminal establishes a call connection, detecting whether a preset induction area of the mobile terminal is in a contact state;
if not, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition or not;
and if so, controlling the screen of the mobile terminal to be turned off.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the screen control methods of the mobile terminal provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the screen control methods of the mobile terminal provided by the embodiments of the present invention, the beneficial effects that can be achieved by any of the screen control methods of the mobile terminal provided by the embodiments of the present invention can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. A screen control method of a mobile terminal is characterized by comprising the following steps:
when the mobile terminal establishes a call connection, detecting whether a preset induction area of the mobile terminal is in a contact state;
if the preset induction area is not in a contact state, detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition;
and if the first preset condition is met, controlling the screen of the mobile terminal to be turned off.
2. The screen control method of a mobile terminal according to claim 1, wherein the posture information includes a tilt angle;
the detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition specifically comprises:
detecting whether the inclination angle of the mobile terminal is larger than a first preset angle or not;
if the inclination angle is larger than the first preset angle, detecting whether the operation state of the mobile terminal in a preset time length is no operation or not, if so, judging that the first preset condition is met, and if not, judging that the first preset condition is not met;
and if the inclination angle is smaller than the first preset angle, judging that the first preset condition is not met.
3. The screen control method of a mobile terminal according to claim 2, wherein the method further comprises:
and in the period that the screen of the mobile terminal is extinguished, if the inclination angle of the mobile terminal is detected to be smaller than the first preset angle or the power supply starting operation is detected, lightening the screen of the mobile terminal.
4. The screen control method of a mobile terminal according to claim 1, wherein the method further comprises:
when the preset induction area of the mobile terminal is detected to be in a contact state, detecting whether the inclination angle of the mobile terminal is larger than a second preset angle;
and if so, controlling the screen of the mobile terminal to be turned off.
5. The screen control method of a mobile terminal according to claim 4, wherein the method further comprises:
during the screen extinguishing period of the mobile terminal, if the preset induction area of the mobile terminal is detected to be converted from the contact state to the non-contact state, whether the inclination angle of the mobile terminal meets a second preset condition is detected;
if so, keeping the screen of the mobile terminal off;
and if not, lightening the screen of the mobile terminal.
6. The screen control method of the mobile terminal according to claim 5, wherein the detecting whether the tilt angle of the mobile terminal meets a second preset condition specifically comprises:
detecting whether the inclination angle of the mobile terminal is larger than a third preset angle or not;
if the inclination angle is larger than the third preset angle, detecting whether the inclination angle change value of the mobile terminal is smaller than a preset angle change value when the contact state of the preset induction area is converted into the non-contact state, if so, judging that the second preset condition is met, and if not, judging that the second preset condition is not met;
and if the inclination angle is smaller than the third preset angle, judging that the second preset condition is not met.
7. A screen control apparatus of a mobile terminal, comprising:
the first detection module is used for detecting whether a preset induction area of the mobile terminal is in a contact state or not when the mobile terminal establishes a call connection;
the second detection module is used for detecting whether the operation state and the posture information of the mobile terminal meet a first preset condition or not when the preset induction area is not in a contact state; and the number of the first and second groups,
and the control module is used for controlling the screen of the mobile terminal to be extinguished when the first preset condition is met.
8. The screen control device of the mobile terminal according to claim 7, wherein the posture information includes a tilt angle;
the second detection module specifically includes:
the first detection unit is used for detecting whether the inclination angle of the mobile terminal is larger than a first preset angle or not;
the second detection unit is used for detecting whether the operation state of the mobile terminal in a preset time length is no operation or not when the inclination angle is larger than the first preset angle, if so, judging that the first preset condition is met, and if not, judging that the first preset condition is not met;
and the judging unit is used for judging that the first preset condition is not met when the inclination angle is smaller than the first preset angle.
9. The screen control apparatus of a mobile terminal according to claim 8, wherein the apparatus further comprises:
and the lighting module is used for lighting the screen of the mobile terminal when the screen of the mobile terminal is extinguished and if the inclination angle of the mobile terminal is detected to be smaller than the first preset angle or the power supply starting operation of the mobile terminal is detected.
10. A computer-readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the screen control method of a mobile terminal according to any one of claims 1 to 6.
CN201910913536.5A 2019-09-25 2019-09-25 Screen control method and device of mobile terminal and storage medium Active CN110691168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910913536.5A CN110691168B (en) 2019-09-25 2019-09-25 Screen control method and device of mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910913536.5A CN110691168B (en) 2019-09-25 2019-09-25 Screen control method and device of mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110691168A true CN110691168A (en) 2020-01-14
CN110691168B CN110691168B (en) 2022-01-04

Family

ID=69110114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910913536.5A Active CN110691168B (en) 2019-09-25 2019-09-25 Screen control method and device of mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110691168B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113253858A (en) * 2020-02-13 2021-08-13 北京小米移动软件有限公司 Control method and device of touch screen, mobile terminal and storage medium
CN114449097A (en) * 2022-01-19 2022-05-06 惠州Tcl移动通信有限公司 Screen-off method, device, communication equipment and computer readable storage medium
CN115529576A (en) * 2022-01-13 2022-12-27 荣耀终端有限公司 Collision connection method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685696A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 Method and device for controlling terminal screen during call and terminal
US20140179365A1 (en) * 2007-11-27 2014-06-26 Htc Corporation Handheld electronic device and method and computer-readable medium for controlling the same
CN104243646A (en) * 2014-10-14 2014-12-24 希姆通信息技术(上海)有限公司 Screen locking method for mobile terminal and mobile terminal
CN106101453A (en) * 2016-08-19 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of method controlling screen and terminal
CN106817497A (en) * 2017-03-31 2017-06-09 努比亚技术有限公司 A kind of screen processing method and mobile terminal
CN107040658A (en) * 2017-04-12 2017-08-11 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for controlling screen
CN107896272A (en) * 2017-08-11 2018-04-10 广东欧珀移动通信有限公司 A kind of call control method and device
CN108777748A (en) * 2018-09-14 2018-11-09 李业科 A kind of call based on mobile phone attitudes vibration sensing is gone out screen mode
CN109194833A (en) * 2018-09-26 2019-01-11 Oppo广东移动通信有限公司 The screen control method and device of mobile phone communication
CN109257505A (en) * 2018-11-07 2019-01-22 维沃移动通信有限公司 A kind of screen control method and mobile terminal
CN109710142A (en) * 2017-10-25 2019-05-03 华为技术有限公司 A kind of method and terminal for controlling terminal screen light on and off

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140179365A1 (en) * 2007-11-27 2014-06-26 Htc Corporation Handheld electronic device and method and computer-readable medium for controlling the same
CN103685696A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 Method and device for controlling terminal screen during call and terminal
CN104243646A (en) * 2014-10-14 2014-12-24 希姆通信息技术(上海)有限公司 Screen locking method for mobile terminal and mobile terminal
CN106101453A (en) * 2016-08-19 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of method controlling screen and terminal
CN106817497A (en) * 2017-03-31 2017-06-09 努比亚技术有限公司 A kind of screen processing method and mobile terminal
CN107040658A (en) * 2017-04-12 2017-08-11 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for controlling screen
CN107896272A (en) * 2017-08-11 2018-04-10 广东欧珀移动通信有限公司 A kind of call control method and device
CN109710142A (en) * 2017-10-25 2019-05-03 华为技术有限公司 A kind of method and terminal for controlling terminal screen light on and off
CN108777748A (en) * 2018-09-14 2018-11-09 李业科 A kind of call based on mobile phone attitudes vibration sensing is gone out screen mode
CN109194833A (en) * 2018-09-26 2019-01-11 Oppo广东移动通信有限公司 The screen control method and device of mobile phone communication
CN109257505A (en) * 2018-11-07 2019-01-22 维沃移动通信有限公司 A kind of screen control method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113253858A (en) * 2020-02-13 2021-08-13 北京小米移动软件有限公司 Control method and device of touch screen, mobile terminal and storage medium
CN115529576A (en) * 2022-01-13 2022-12-27 荣耀终端有限公司 Collision connection method and device
CN115529576B (en) * 2022-01-13 2023-07-25 荣耀终端有限公司 Collision connection method and device
CN114449097A (en) * 2022-01-19 2022-05-06 惠州Tcl移动通信有限公司 Screen-off method, device, communication equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110691168B (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN109067418B (en) Antenna control method and mobile terminal
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN111443803B (en) Mode switching method and device, storage medium and mobile terminal
CN111596793B (en) Anti-misoperation method and system, storage medium and terminal equipment
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN110851014B (en) Touch recognition method and device, storage medium and terminal equipment
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN108287755B (en) Application program control method and mobile terminal
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111399944A (en) Application function starting method and device, storage medium and mobile terminal
CN111131614A (en) Method and system for preventing mistaken call answering of terminal equipment, storage medium and terminal equipment
CN111355991A (en) Video playing method and device, storage medium and mobile terminal
CN111163223A (en) Flash lamp control method and device, storage medium and terminal equipment
CN111078428A (en) Remote control method and device, storage medium and terminal equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN111026486B (en) Application sorting method, application sorting device and computer readable storage medium
CN109995441B (en) Communication information processing method, device and storage medium
CN112532791B (en) Unlocking method and device of mobile terminal, 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
GR01 Patent grant
GR01 Patent grant