CN110753154A - Control method and device of mobile terminal, electronic equipment and storage medium - Google Patents

Control method and device of mobile terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN110753154A
CN110753154A CN201910864047.5A CN201910864047A CN110753154A CN 110753154 A CN110753154 A CN 110753154A CN 201910864047 A CN201910864047 A CN 201910864047A CN 110753154 A CN110753154 A CN 110753154A
Authority
CN
China
Prior art keywords
mobile terminal
touch prevention
detected
false touch
screen
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.)
Pending
Application number
CN201910864047.5A
Other languages
Chinese (zh)
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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201910864047.5A priority Critical patent/CN110753154A/en
Publication of CN110753154A publication Critical patent/CN110753154A/en
Pending legal-status Critical Current

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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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

Abstract

The present application relates to the field of mobile intelligent terminals, and in particular, to a method and an apparatus for controlling a mobile terminal, an electronic device, and a storage medium. The method in one embodiment comprises: when a screen of the mobile terminal is bright, acquiring environmental brightness data and posture detection data detected by the mobile terminal; when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction. The method and the device control the awakening of the false touch prevention mode in consideration of three aspects of reduction of the ambient light brightness, the gesture detection result of the mobile terminal and the distance between the mobile terminal and the shielding object, and improve the false touch prevention effect of the mobile terminal.

Description

Control method and device of mobile terminal, electronic equipment and storage medium
Technical Field
The present application relates to the field of mobile intelligent terminals, and in particular, to a method and an apparatus for controlling a mobile terminal, an electronic device, and a storage medium.
Background
With the development of science and technology, mobile intelligent terminals such as smart phones and tablets are widely applied to the lives of people, and the lives of people are greatly facilitated. Generally speaking, the mobile intelligent terminal is provided with a touch screen, and man-machine interaction can be carried out through the touch screen.
The traditional false touch prevention function is mainly realized by a distance sensor arranged above the mobile phone, for example, when a call is made, the mobile phone is close to the face, the screen of the mobile phone is automatically turned off, and the touch function is turned off; and when the mobile phone leaves the face, the touch screen restarts the touch and display functions. However, the traditional false touch prevention method has the problem of poor false touch prevention effect.
Disclosure of Invention
In view of the above, it is desirable to provide a method and an apparatus for controlling a mobile terminal, an electronic device, and a storage medium, which can improve a false touch prevention effect.
A method of controlling a mobile terminal, the method comprising:
when a screen of the mobile terminal is bright, acquiring environmental brightness data and gesture detection data detected by the mobile terminal;
when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter;
and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
In one embodiment, the method further comprises:
when the screen of the mobile terminal is turned off, detecting the distance change between the mobile terminal and an external shelter;
and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
In one embodiment, the preset trigger pose is inverted, the method further comprising:
acquiring the direction of the gravity acceleration through a gravity acceleration sensor;
when the included angle between the gravity acceleration direction and a preset coordinate axis is smaller than a preset value, obtaining that the posture detection result is inverted;
and when the included angle between the gravity acceleration direction and the preset coordinate axis is larger than or equal to a preset value, obtaining that the posture detection result is non-inverted.
In one embodiment, the method further comprises:
and when the gesture detection result is non-inverted, generating a false touch prevention closing instruction.
In one embodiment, after detecting the distance change between the mobile terminal and the external shelter, the method further includes:
and generating a false touch prevention closing instruction when the mobile terminal is detected to be far away from the external shelter.
In one embodiment, after the generating the false touch prevention wake-up instruction, the method further includes:
and responding the mistaken touch prevention awakening instruction, and closing the black screen gesture function and the fingerprint identification function.
A control apparatus of a mobile terminal, the apparatus comprising:
the bright screen processing module is used for acquiring the ambient brightness data and the gesture detection data detected by the mobile terminal when the screen of the mobile terminal is bright;
the distance detection module is used for detecting the distance change between the mobile terminal and an external shelter when the environment light brightness is reduced and the gesture detection result is a preset trigger gesture;
and the false touch prevention awakening module is used for generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
An electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when a screen of the mobile terminal is bright, acquiring environmental brightness data and gesture detection data detected by the mobile terminal;
when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter;
and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when a screen of the mobile terminal is bright, acquiring environmental brightness data and gesture detection data detected by the mobile terminal;
when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter;
and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
According to the control method, the control device, the electronic equipment and the storage medium of the mobile terminal, when a screen of the mobile terminal is bright, the ambient brightness data and the gesture detection data detected by the mobile terminal are obtained, when the ambient brightness is reduced and the gesture detection result is the preset trigger gesture, the distance change between the mobile terminal and an external shielding object is detected, when the mobile terminal is detected to be close to the external shielding object, a false touch prevention awakening instruction is generated, so that the mobile terminal does not respond to touch operation, the false touch prevention function is triggered and awakened in consideration of the three aspects of reduction of the ambient brightness, the gesture detection result of the mobile terminal and the distance between the gesture detection result of the mobile terminal and the shielding object, and the false touch prevention effect of the mobile terminal is improved.
Drawings
FIG. 1 is a diagram illustrating an internal structure of a mobile terminal according to an embodiment;
fig. 2 is a flowchart illustrating a control method of a mobile terminal according to an embodiment;
FIG. 3 is a flowchart illustrating an attitude detection result obtaining step of the mobile terminal according to an embodiment;
fig. 4 is a flowchart illustrating a control method of a mobile terminal according to another embodiment;
fig. 5 is a block diagram showing a control apparatus of the mobile terminal according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, a mobile terminal is provided, the internal structure of which is shown in fig. 1. The terminal includes a processor, a memory, and a display screen connected by a system bus. Wherein the processor is configured to provide computational and control capabilities. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The computer program is executed by a processor to implement a control method of a mobile terminal. The display of the terminal may be a touch display, such as a capacitive screen or an electronic screen.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is only a block diagram of a portion of the architecture associated with the subject application and does not constitute a limitation on the terminals to which the subject application applies, and that a particular mobile terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, as shown in fig. 2, a method for controlling a mobile terminal is provided, which is described by taking the application of the method to the mobile terminal in fig. 1 as an example, and includes the following steps:
step 202, when the screen of the mobile terminal is bright, the ambient brightness data and the gesture detection data detected by the mobile terminal are acquired.
Specifically, the state of the screen can be obtained by obtaining a screen brightness parameter, where the screen brightness parameter is used to represent the current state of the screen, and specifically includes a screen-on state and a screen-off state. When the screen of the mobile terminal is bright, generating an ambient brightness acquisition instruction and a gesture detection instruction, and receiving acquired ambient brightness data and a gesture detection result in real time, so as to acquire the ambient brightness data and the gesture detection data detected by the mobile terminal. The ambient brightness acquisition instruction is used for acquiring ambient brightness data of the mobile terminal, for example, the ambient brightness data of the mobile terminal can be acquired through a light sensor arranged on the mobile terminal. The gesture detection instruction is used for obtaining a gesture detection result of the mobile terminal, wherein the gesture detection result of the mobile terminal comprises that the mobile terminal is in an inverted state and a non-inverted state, and the preset trigger gesture specifically means that the gesture detection result of the mobile terminal is in the inverted state, for example, in a scene that the mobile terminal is put into a pocket, the inverted gesture of the mobile terminal appears.
And 204, detecting the distance change between the mobile terminal and an external shelter when the environment light brightness is reduced and the gesture detection result is the preset trigger gesture.
In a scene that the mobile terminal is placed in the pocket, the change process of the ambient light brightness is changed from large to small, and when the ambient light brightness at the current moment is smaller than the ambient light brightness at the previous moment, the ambient light brightness where the mobile terminal is located is darkened. And identifying the action of putting the mobile terminal into the pocket by the user according to the ambient light brightness and the gesture detection result of the mobile terminal. When the action that a user puts the mobile terminal into a pocket is detected, a proximity sensor of the mobile terminal is controlled to be started so as to detect the change of the distance between the mobile terminal and an external shelter.
And step 206, generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to an external shelter.
The distance between the mobile terminal and the external shelter can be detected through a proximity sensor of the mobile terminal, and the proximity sensor comprises an infrared emitting end and an infrared receiving end. Under normal conditions, for example, under the condition that the mobile phone is not shielded, the infrared receiving end cannot receive any infrared light, and the acquired real-time data of the proximity sensor is 0 at this time. When the shielding object is closer to the mobile phone, the more infrared light can be received by the infrared receiving end, and the more real-time data of the proximity sensor is acquired at the moment. Therefore, the real-time data of the infrared proximity sensor represents how much infrared light can be received by the infrared receiving end, namely the real-time data can be used for representing the distance between the shielding object and the infrared proximity sensor.
Whether the state characterized by the proximity sensor is a close state or a far state can be determined from real-time data from the proximity sensor. When the real-time data of the proximity sensor is larger than or equal to a set proximity threshold, judging that the mobile terminal is close to an external shelter; and when the real-time data of the proximity sensor is smaller than the set far-away threshold, judging that the mobile terminal is far away from the external shelter. For example, the real-time data interval of the proximity sensor is [0, 1024], the proximity threshold of the proximity state is set to 600, and the distance threshold of the distance state is set to 400. When the shielding object approaches the mobile phone from far to near, judging that the shielding object is in an approaching state when the real-time data of the proximity sensor exceeds 600; on the contrary, when the shielding object is far away from the mobile phone, the shielding object is judged to be in a far-away state when the real-time data of the proximity sensor is less than 400.
According to the control method of the mobile terminal, when the screen of the mobile terminal is bright, the ambient brightness data and the gesture detection data detected by the mobile terminal are obtained, when the ambient brightness is reduced and the gesture detection result is the preset trigger gesture, the distance change between the mobile terminal and the external shielding object is detected, when the mobile terminal is detected to be close to the external shielding object, the false touch prevention awakening instruction is generated, so that the mobile terminal does not respond to touch operation, the false touch prevention function is triggered and awakened in consideration of the three aspects of the ambient brightness reduction, the gesture detection result of the mobile terminal and the distance between the gesture detection result of the mobile terminal and the shielding object, and the false touch prevention effect of the mobile terminal is improved.
In one embodiment, the control method of the mobile terminal further includes: when the screen of the mobile terminal is turned off, detecting the change of the distance between the mobile terminal and an external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction. When the screen of the mobile terminal is detected to be turned off, the proximity sensing function is started, the distance change between the mobile terminal and the external shielding object is detected, and when the external shielding object is detected to be changed from a far state to a close state based on the proximity sensing function within a preset time, namely when the mobile terminal is detected to be close to the external shielding object, a false touch prevention awakening instruction is generated. Therefore, whether the mobile terminal is put into the pocket in a bright screen state or in a screen off state, the mistaken touch prevention mode can be started when the action of putting the mobile terminal into the pocket by a user is detected.
In one embodiment, as shown in fig. 3, the preset trigger posture is inverted, and the control method of the mobile terminal includes: step 302, acquiring a gravity acceleration direction through a gravity acceleration sensor; 304, when the included angle between the gravity acceleration direction and a preset coordinate axis is smaller than a preset value, obtaining that the posture detection result is inverted; and step 306, when the included angle between the gravity acceleration direction and the preset coordinate axis is larger than or equal to the preset value, obtaining that the gesture detection result of the mobile terminal is non-inverted. Whether an included angle between the gravity acceleration direction of the gravity acceleration sensor and a preset coordinate axis of the mobile terminal reaches a preset threshold value of handstand of the mobile terminal or not is judged, and for example, an included angle between the mobile phone and the vertical direction is smaller than 40 degrees.
In one embodiment, the control method of the mobile terminal further includes: and when the gesture detection result is non-inverted, generating a false touch prevention closing instruction, and entering a false touch prevention closing mode when detecting that the triggering condition of the false touch prevention mode awakening is not met so as to ensure the normal use of the mobile terminal. The starting of the false touch prevention function simultaneously meets two conditions of detecting the action of putting the mobile terminal into the pocket by the user and detecting the change from the far state to the close state based on the proximity sensing function, otherwise, the false touch prevention function is closed, so that the accuracy of the control of the false touch prevention function can be improved. And when the brightness of the environment where the mobile terminal is located is detected to be dark, and the gesture detection result of the mobile terminal is inverted, representing and detecting the action of putting the mobile terminal into a pocket by the user.
In one embodiment, after detecting the distance change between the mobile terminal and the external shelter, the method further comprises: and generating a false touch prevention closing instruction when the mobile terminal is detected to be far away from the external shelter. And when detecting that the trigger condition of the false touch prevention mode awakening is not met, generating a false touch prevention closing instruction to ensure the normal use of the mobile terminal. The starting of the false touch prevention function simultaneously meets two conditions of detecting the action of putting the mobile terminal into the pocket by the user and detecting the change from the far state to the close state based on the proximity sensing function, otherwise, the false touch prevention function is closed, so that the accuracy of the control of the false touch prevention function can be improved. And when the brightness of the environment where the mobile terminal is located is detected to be dark, and the gesture detection result of the mobile terminal is inverted, representing and detecting the action of putting the mobile terminal into a pocket by the user.
In one embodiment, after the generation of the false touch prevention wake-up instruction, the method further includes: and responding to the mistaken touch prevention awakening instruction, and closing the black screen gesture function and the fingerprint identification function. And starting a false touch prevention mode of the mobile terminal through the false touch prevention awakening instruction, wherein the false touch prevention mode can be a black screen gesture closing function and a fingerprint identification function.
In one embodiment, a method for controlling a mobile terminal, as shown in fig. 4, includes the following steps: step 411, when the screen of the mobile terminal is bright, acquiring the ambient brightness data and the gesture detection data detected by the mobile terminal; step 413, when the ambient light brightness is detected to be reduced and the gesture detection result is a preset trigger gesture, detecting the distance change between the mobile terminal and an external shelter; step 415, when the mobile terminal is detected to be close to an external shelter, generating a false touch prevention awakening instruction; step 421, when the screen of the mobile terminal is turned off, detecting the distance change between the mobile terminal and the external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction. Therefore, whether the mobile terminal is put into the pocket in a screen-on state or in a screen-off state, the mistaken touch prevention mode is started when the action of putting the mobile terminal into the pocket by a user is detected and the action is changed from a far state to a close state; in addition, power consumption can be reduced.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a control apparatus of a mobile terminal, including: a bright screen processing module 502, a distance detection module 504 and a false touch prevention wake-up module 506. And the bright screen processing module is used for acquiring the ambient brightness data and the gesture detection data detected by the mobile terminal when the screen of the mobile terminal is bright. And the distance detection module is used for detecting the distance change between the mobile terminal and the external shielding object when the environment light brightness is reduced and the gesture detection result is the preset trigger gesture. And the false touch prevention awakening module is used for generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
In one embodiment, the device for preventing false touch of the mobile terminal further includes a screen-off processing module, which is configured to detect a change in a distance between the mobile terminal and an external shielding object when a screen of the mobile terminal is screen-off, and generate a false touch-proof wake-up instruction when the mobile terminal is detected to be close to the external shielding object.
In one embodiment, the false touch prevention device of the mobile terminal further comprises an information receiving module, configured to obtain a gravitational acceleration direction of the mobile terminal through a gravitational acceleration sensor; when the included angle between the gravity acceleration direction and a preset coordinate axis of the mobile terminal is smaller than a preset value, the obtained posture detection result is inverted; and when the included angle between the gravity acceleration direction and the preset coordinate axis of the mobile terminal is larger than or equal to the preset value, obtaining that the posture detection result is non-inverted.
In one embodiment, the false touch prevention device of the mobile terminal further comprises a first false touch prevention closing module for generating a false touch prevention closing instruction when the posture detection result is non-inverted.
In one embodiment, the false touch prevention device of the mobile terminal further includes a second false touch prevention closing module, configured to generate a false touch prevention closing instruction when it is detected that the mobile terminal is away from the external barrier.
In one embodiment, the false touch prevention device of the mobile terminal further comprises a false touch prevention execution module, which is used for responding to the false touch prevention wake-up instruction and closing the black screen gesture function and the fingerprint identification function.
For specific limitations of the control device of the mobile terminal, reference may be made to the above limitations of the control method of the mobile terminal, which are not described herein again. The respective modules in the control device of the mobile terminal may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: when a screen of the mobile terminal is bright, acquiring environmental brightness data and posture detection data detected by the mobile terminal; when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: when the screen of the mobile terminal is turned off, detecting the change of the distance between the mobile terminal and an external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring the direction of the gravity acceleration through a gravity acceleration sensor; when the included angle between the gravity acceleration direction and a preset coordinate axis is smaller than a preset value, the obtained posture detection result is inverted; and when the included angle between the gravity acceleration direction and the preset coordinate axis is larger than or equal to the preset value, obtaining that the posture detection result is non-inverted.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: and when the gesture detection result is non-inverted, generating a false touch prevention closing instruction.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: and generating a false touch prevention closing instruction when the mobile terminal is detected to be far away from the external shelter.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: and responding to the mistaken touch prevention awakening instruction, and closing the black screen gesture function and the fingerprint identification function.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: when a screen of the mobile terminal is bright, acquiring environmental brightness data and posture detection data detected by the mobile terminal; when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: when the screen of the mobile terminal is turned off, detecting the change of the distance between the mobile terminal and an external shelter; and when the mobile terminal is detected to be close to the external shelter, generating a false touch prevention awakening instruction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring the direction of the gravity acceleration through a gravity acceleration sensor; when the included angle between the gravity acceleration direction and a preset coordinate axis is smaller than a preset value, the obtained posture detection result is inverted; and when the included angle between the gravity acceleration direction and the preset coordinate axis is larger than or equal to the preset value, obtaining that the posture detection result is non-inverted.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: and when the gesture detection result is non-inverted, generating a false touch prevention closing instruction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: and generating a false touch prevention closing instruction when the mobile terminal is detected to be far away from the external shelter.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: and responding to the mistaken touch prevention awakening instruction, and closing the black screen gesture function and the fingerprint identification function.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of controlling a mobile terminal, the method comprising:
when a screen of the mobile terminal is bright, acquiring environmental brightness data and gesture detection data detected by the mobile terminal;
when the situation that the brightness of the environment is reduced and the gesture detection result is a preset trigger gesture is detected, detecting the distance change between the mobile terminal and an external shelter;
and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
2. The method of claim 1, further comprising:
when the screen of the mobile terminal is turned off, detecting the distance change between the mobile terminal and an external shelter;
and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
3. The method of claim 1, wherein the preset trigger pose is inverted, further comprising:
acquiring the direction of the gravity acceleration through a gravity acceleration sensor;
when the included angle between the gravity acceleration direction and a preset coordinate axis is smaller than a preset value, obtaining that the posture detection result is inverted;
and when the included angle between the gravity acceleration direction and the preset coordinate axis is larger than or equal to a preset value, obtaining that the posture detection result is non-inverted.
4. The method of claim 3, further comprising:
and when the gesture detection result is non-inverted, generating a false touch prevention closing instruction.
5. The method according to claim 1, wherein after detecting the distance change between the mobile terminal and the external shelter, the method further comprises:
and generating a false touch prevention closing instruction when the mobile terminal is detected to be far away from the external shelter.
6. The method of claim 1, wherein after the generating the anti-false-touch wake-up instruction, further comprising:
and responding the mistaken touch prevention awakening instruction, and closing the black screen gesture function and the fingerprint identification function.
7. A control apparatus of a mobile terminal, the apparatus comprising:
the bright screen processing module is used for acquiring the ambient brightness data and the gesture detection data detected by the mobile terminal when the screen of the mobile terminal is bright;
the distance detection module is used for detecting the distance change between the mobile terminal and an external shelter when the environment light brightness is reduced and the gesture detection result is a preset trigger gesture;
and the false touch prevention awakening module is used for generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shelter.
8. The apparatus of claim 7, further comprising:
and the screen-off processing module is used for detecting the distance change between the mobile terminal and an external shielding object when the screen of the mobile terminal is screen-off, and generating a false touch prevention awakening instruction when the mobile terminal is detected to be close to the external shielding object.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910864047.5A 2019-09-12 2019-09-12 Control method and device of mobile terminal, electronic equipment and storage medium Pending CN110753154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910864047.5A CN110753154A (en) 2019-09-12 2019-09-12 Control method and device of mobile terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910864047.5A CN110753154A (en) 2019-09-12 2019-09-12 Control method and device of mobile terminal, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110753154A true CN110753154A (en) 2020-02-04

Family

ID=69276379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910864047.5A Pending CN110753154A (en) 2019-09-12 2019-09-12 Control method and device of mobile terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110753154A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518150A (en) * 2020-03-26 2021-10-19 荣耀终端有限公司 Display method of terminal equipment and terminal equipment
CN114125144A (en) * 2020-08-26 2022-03-01 华为技术有限公司 Method and terminal for preventing accidental touch
CN114666446A (en) * 2020-12-22 2022-06-24 北京达佳互联信息技术有限公司 Information prompting method and device
CN114791508A (en) * 2021-01-26 2022-07-26 深圳市万普拉斯科技有限公司 Wind speed measuring method and device, computer equipment and storage medium
WO2023098208A1 (en) * 2021-12-01 2023-06-08 荣耀终端有限公司 Method and device for preventing mistaken touch

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917130A (en) * 2012-10-17 2013-02-06 广东欧珀移动通信有限公司 Method and system for preventing mis-operation of touch-screen intelligent mobile phone
CN103117044A (en) * 2013-01-07 2013-05-22 华为终端有限公司 Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal
CN104158958A (en) * 2014-07-28 2014-11-19 中山大学 Anti-misoperation method for intelligent terminal equipment
CN106201296A (en) * 2015-04-30 2016-12-07 小米科技有限责任公司 Realize the method and device of false-touch prevention
CN106550126A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 The control device and method of mobile terminal and its screen intensity
CN106797416A (en) * 2016-10-31 2017-05-31 北京小米移动软件有限公司 Screen control method and device
CN107707729A (en) * 2017-07-26 2018-02-16 努比亚技术有限公司 A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium
US20180052562A1 (en) * 2016-08-18 2018-02-22 Microsoft Technology Licensing, Llc Touch detection using feature-vector dictionary
CN107786743A (en) * 2017-10-27 2018-03-09 北京小米移动软件有限公司 Prevent the method and device of terminal false touch
CN108540643A (en) * 2018-03-05 2018-09-14 广东小天才科技有限公司 A kind of screen control method of mobile device, device, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917130A (en) * 2012-10-17 2013-02-06 广东欧珀移动通信有限公司 Method and system for preventing mis-operation of touch-screen intelligent mobile phone
CN103117044A (en) * 2013-01-07 2013-05-22 华为终端有限公司 Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal
CN104158958A (en) * 2014-07-28 2014-11-19 中山大学 Anti-misoperation method for intelligent terminal equipment
CN106201296A (en) * 2015-04-30 2016-12-07 小米科技有限责任公司 Realize the method and device of false-touch prevention
US20180052562A1 (en) * 2016-08-18 2018-02-22 Microsoft Technology Licensing, Llc Touch detection using feature-vector dictionary
CN106550126A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 The control device and method of mobile terminal and its screen intensity
CN106797416A (en) * 2016-10-31 2017-05-31 北京小米移动软件有限公司 Screen control method and device
CN107707729A (en) * 2017-07-26 2018-02-16 努比亚技术有限公司 A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium
CN107786743A (en) * 2017-10-27 2018-03-09 北京小米移动软件有限公司 Prevent the method and device of terminal false touch
CN108540643A (en) * 2018-03-05 2018-09-14 广东小天才科技有限公司 A kind of screen control method of mobile device, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518150A (en) * 2020-03-26 2021-10-19 荣耀终端有限公司 Display method of terminal equipment and terminal equipment
CN114125144A (en) * 2020-08-26 2022-03-01 华为技术有限公司 Method and terminal for preventing accidental touch
CN114666446A (en) * 2020-12-22 2022-06-24 北京达佳互联信息技术有限公司 Information prompting method and device
CN114791508A (en) * 2021-01-26 2022-07-26 深圳市万普拉斯科技有限公司 Wind speed measuring method and device, computer equipment and storage medium
WO2023098208A1 (en) * 2021-12-01 2023-06-08 荣耀终端有限公司 Method and device for preventing mistaken touch

Similar Documents

Publication Publication Date Title
CN110753154A (en) Control method and device of mobile terminal, electronic equipment and storage medium
US11080434B2 (en) Protecting content on a display device from a field-of-view of a person or device
US10102738B2 (en) Portable security device
KR101598771B1 (en) Method and apparatus for authenticating biometric by using face recognizing
CN105446612A (en) Terminal control method and terminal
CN108596092B (en) Gesture recognition method, device, equipment and storage medium
CN108960163B (en) Gesture recognition method, device, equipment and storage medium
CN110830644B (en) Display screen control method and device, electronic equipment and storage medium
US10235548B2 (en) Method for setting fingerprint sensor interrupt threshold, apparatus, and terminal device
CN112882625B (en) Element pickup method, element pickup device, computer equipment and storage medium
CN107395871B (en) Method and device for opening application, storage medium and terminal
CN102999155A (en) Electronic terminal, touch control method and display screen backlight control method
CN104133615B (en) A kind of processing method of terminal screen lock interface
CN108759892B (en) Sensor calibration method, electronic device and computer-readable storage medium
CN110579076B (en) Intelligent refrigerator reminding method and device, medium, control equipment and refrigerator
CN109068002B (en) Mobile terminal shutdown control method and device, mobile terminal and storage medium
CN113488002B (en) Abnormal screen brightness adjusting method and device, electronic equipment and medium
CN108984024B (en) Touch operation method and device, storage medium and electronic equipment
CN111010544A (en) Power distribution room monitoring method and device, computer equipment and storage medium
CN109582268A (en) A kind of display panel control method, device and system
WO2022057093A1 (en) Wearable device and screen wake-up method therefor, and readable storage medium
CN104898949A (en) Automatic screen turn-on method and wearable electron device
CN113282220A (en) False touch prevention method, method for determining false touch prevention area and mobile terminal
CN110944084A (en) Single-hand mode control method, terminal and computer storage medium
CN111797391A (en) High-risk process processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204