CN109343066B - Control method and device of proximity sensor, storage medium and mobile terminal - Google Patents

Control method and device of proximity sensor, storage medium and mobile terminal Download PDF

Info

Publication number
CN109343066B
CN109343066B CN201811089882.8A CN201811089882A CN109343066B CN 109343066 B CN109343066 B CN 109343066B CN 201811089882 A CN201811089882 A CN 201811089882A CN 109343066 B CN109343066 B CN 109343066B
Authority
CN
China
Prior art keywords
mobile terminal
proximity sensor
threshold value
value
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811089882.8A
Other languages
Chinese (zh)
Other versions
CN109343066A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811089882.8A priority Critical patent/CN109343066B/en
Publication of CN109343066A publication Critical patent/CN109343066A/en
Application granted granted Critical
Publication of CN109343066B publication Critical patent/CN109343066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Electromagnetism (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Environmental & Geological Engineering (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a control method and device of a proximity sensor, a storage medium and a mobile terminal. The method comprises the following steps: acquiring attitude information of the mobile terminal; determining a corresponding target threshold value of the proximity sensor according to the attitude information; and controlling the proximity sensor to judge the approaching state or the departing state based on the target threshold value. By adopting the technical scheme, the threshold value of the proximity sensor for judging the proximity state or the far state can be adaptively determined according to the attitude information of the mobile terminal, so that the threshold value can be reasonably set, and the judgment accuracy of the proximity sensor is ensured.

Description

Control method and device of proximity sensor, storage medium and mobile terminal
Technical Field
The embodiment of the application relates to the technical field of mobile terminals, in particular to a control method and device of a proximity sensor, a storage medium and a mobile terminal.
Background
Currently, a proximity sensor has become a standard configuration of a mobile terminal, and various functions in the mobile terminal can be implemented using the proximity sensor.
The most common proximity sensors deployed in mobile terminals include optical proximity sensors. The optical proximity sensor emits light outwards, and then the distance between the object and the sensor is judged by measuring the intensity of the light reflected by the object.
However, the light contained in the environment may have a certain influence on the proximity value of the optical proximity sensor, so that the operating state of the optical proximity sensor is easily abnormal, and improvement is needed.
Disclosure of Invention
The embodiment of the application provides a control method and device of a proximity sensor, a storage medium and a mobile terminal, which can optimize a control scheme of the proximity sensor in the mobile terminal.
In a first aspect, an embodiment of the present application provides a method for controlling a proximity sensor, including:
acquiring attitude information of the mobile terminal;
determining a corresponding target threshold value of the proximity sensor according to the attitude information;
and controlling the proximity sensor to judge the approaching state or the departing state based on the target threshold value.
In a second aspect, an embodiment of the present application provides a control device for a proximity sensor, including:
the attitude information acquisition module is used for acquiring the attitude information of the mobile terminal;
the target threshold value determining module is used for determining a corresponding target threshold value of the proximity sensor according to the attitude information;
and the proximity sensor control module is used for controlling the proximity sensor to judge the proximity state or the far state based on the target threshold value.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a control method of a proximity sensor according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for controlling a proximity sensor according to the embodiment of the present application.
According to the control scheme of the proximity sensor, the attitude information of the mobile terminal is obtained, the corresponding target threshold value of the proximity sensor is determined according to the attitude information, and the proximity sensor is controlled to judge the proximity state or the far state based on the target threshold value. By adopting the technical scheme, the threshold value of the proximity sensor for judging the proximity state or the far state can be adaptively determined according to the attitude information of the mobile terminal, so that the threshold value can be reasonably set, and the judgment accuracy of the proximity sensor is ensured.
Drawings
Fig. 1 is a schematic flowchart of a control method of a proximity sensor according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another control method for a proximity sensor according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a control method for a proximity sensor according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a control device of a proximity sensor according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, the following first describes a proximity sensor. Currently, proximity sensors are widely used in various mobile terminals, and various functions, such as preventing misoperation caused by touching a screen with a face during a call, automatically adjusting backlight, and recognizing a screen-off gesture of the touch screen, are implemented by using the proximity sensors. A common proximity sensor includes an optical proximity sensor (also called an optical proximity sensor or a proximity optical sensor), which emits light outwards and then determines the distance between an object and the sensor by measuring the intensity of the light reflected by the object. Among them, an infrared proximity sensor (also called infrared proximity sensor) is one of the most widely used optical proximity sensors.
In the embodiment of the present application, the specific type of the optical proximity sensor is not limited, and for convenience of description, the infrared proximity sensor will be described below as an example, and in the following embodiment, the infrared proximity sensor is simply referred to as a proximity sensor. The infrared proximity sensor emits infrared rays outwards, then the distance between the object and the sensor is judged by measuring the intensity of the infrared rays reflected by the object, and the stronger the intensity of the received infrared rays is, the smaller the distance between the infrared proximity sensor and the object is. Within a certain measurement range, the infrared proximity sensor converts the measured infrared intensity into a measurement value in a direct proportional relationship with the infrared intensity, and the measurement value can be called a proximity (proximity) value. Generally, the proximity value may be an output value of an Analog-to-Digital Converter (ADC) in the infrared proximity sensor, which is referred to as an ADC value or an AD value. The larger the proximity value obtained by the infrared proximity sensor is, the smaller the distance between the infrared proximity sensor and the object is.
In order for the infrared proximity sensor to detect the approach or the departure of an object, a determination threshold value for determining the approach state or the departure state is generally set in advance. The decision threshold may include a near threshold, and may also include a near threshold and a far threshold. For example, if the determination threshold value only includes the approach threshold value, when the current approach value of the infrared proximity sensor is greater than the approach threshold value, it may be determined as an approach state; when the current approach value of the infrared proximity sensor is smaller than the approach threshold value, the far state can be determined. For example, if the determination threshold value includes a proximity threshold value and a distance threshold value, when the current proximity value of the infrared proximity sensor is greater than the proximity threshold value, it may be determined as a proximity state; when the current approach value of the infrared approach sensor is smaller than the away threshold value, the infrared approach sensor can be judged to be in an away state; and when the current approach value of the infrared approach sensor is between the far threshold value and the approach threshold value, keeping the state of the infrared approach sensor in the last judgment. Generally, under the condition that the use state of the user is basically unchanged, the approach value of the infrared proximity sensor may fluctuate within a small range, and in order to avoid frequent switching between the approach state and the distant state, the general determination threshold value includes both the approach threshold value and the distant threshold value. After the approaching or departing state is determined, the mobile terminal may be controlled to perform corresponding operations, such as turning off the screen in the approaching state and turning on the screen in the departing state during a call.
However, infrared light included in the environment may have a certain influence on the proximity value of the infrared proximity sensor, and after the infrared proximity sensor emits infrared light, the received infrared light includes not only infrared light reflected by an object but also infrared light existing in the environment, so that the obtained proximity value is larger than an actual value. Therefore, how to reasonably set the determination threshold value of the proximity sensor becomes a technical problem.
Fig. 1 is a flowchart illustrating a method for controlling a proximity sensor according to an embodiment of the present disclosure, where the method may be performed by a control apparatus of the proximity sensor, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, obtaining the posture information of the mobile terminal.
For example, the mobile terminal in the embodiment of the present application may include a mobile device equipped with a proximity sensor, such as a mobile phone and a tablet computer.
In general, in order to take into account the habit of holding the mobile terminal by the user, the proximity sensor is disposed at the top of the front of the mobile terminal, such as near the front camera, but of course, may be disposed near the lift camera (such as a periscopic camera).
In the daily use process of a user, a light source in the environment, such as light or sunlight, is generally positioned above the head of the user, so when the mobile terminal is in different postures, the received environment light condition may be different. For example, when the mobile terminal is in a flat position, more ambient light may be received; and when the mobile terminal is in an upright state, less ambient light may be received. Therefore, when the mobile terminal is in different postures, there may be a difference in the influence of the ambient light on the proximity sensor. In the embodiment of the application, the attitude information of the mobile terminal is acquired so as to more reasonably determine the threshold value of the proximity sensor for judging the proximity state or the far state in the subsequent steps.
For example, a mobile terminal may be provided with a plurality of motion sensors, such as an acceleration sensor, a gyroscope sensor, and a magnetometer. In the embodiment of the application, the attitude information of the mobile terminal can be acquired through one or more motion sensors integrated or externally arranged in the mobile terminal. Optionally, the gesture information may include an orientation of the mobile terminal, an angle between a front surface of the mobile terminal and a reference surface, an angle between each side of the mobile terminal and each coordinate axis of a reference coordinate system, a gesture category of which preset category the mobile terminal is in, and the like.
Optionally, the mobile terminal may obtain the posture information of the mobile terminal in real time, may also obtain the posture information of the mobile terminal at regular time, and may also obtain the posture information of the mobile terminal when receiving the posture information obtaining instruction. For example, when detecting that a preset gesture obtaining event is triggered, obtaining gesture information of the mobile terminal. The preset condition for triggering the gesture obtaining event is not limited in the embodiment of the present application. For example, when it is detected that the current environment meets a preset requirement, a preset gesture obtaining event is triggered; for another example, when the proximity sensor is detected to enter a working state, a preset posture acquisition event is triggered; as another example, upon detecting that a headset listening event is triggered, a preset gesture acquisition event is triggered, and so on.
And 102, determining a corresponding target threshold value of the proximity sensor according to the attitude information.
For example, threshold values corresponding to different posture information may be preset to obtain a corresponding relationship between the posture and the threshold value, the corresponding relationship is stored in the mobile terminal, and when the step is to be executed, the corresponding relationship is read, and the corresponding threshold value in the corresponding relationship is searched according to the current posture information to be used as the target threshold value. In order to simplify the corresponding relationship, the posture information can be classified, and each type of posture information corresponds to a threshold value respectively.
Optionally, in addition to using the attitude information as a reference factor for determining the target threshold of the proximity sensor, there may be other reference factors for determining the target threshold. For example, reference may also be made to the current environmental conditions, such as the light intensity value of the current environment. Illustratively, this step may include determining a corresponding target threshold value for the proximity sensor based on the pose information and a light intensity value for the current environment (which may be referred to herein as a third light intensity value to facilitate differentiation from other light intensity values that follow). The advantage of this is that the target threshold value can be determined more reasonably. In the embodiment of the present application, how to determine the target threshold value according to the two reference factors is not limited. For example, the light intensity value may be divided into a plurality of intervals, and each light intensity interval corresponds to a corresponding relationship between a set of postures and a threshold value. And acquiring a third light intensity value of the current environment, determining a corresponding relation between the corresponding gesture and the threshold value according to a light intensity interval to which the third light intensity value belongs, and inquiring the determined corresponding relation between the gesture and the threshold value according to the current gesture information to obtain the target threshold value.
And 103, controlling the proximity sensor to judge the proximity state or the distance state based on the target threshold value.
Illustratively, the target threshold value determined according to the attitude information is more consistent with the current test scene, and the influence of the ambient light on the approach value under different attitudes is fully considered, so that the approach sensor can more accurately judge the approach state or the away state, and the occurrence of misjudgment is prevented.
After the approaching or departing state is determined, the mobile terminal can be controlled to perform corresponding operations. For example, during a call, the screen is turned off in the close state and turned on in the distant state.
The control method of the proximity sensor, provided in the embodiment of the application, acquires gesture information of the mobile terminal, determines a corresponding target threshold value of the proximity sensor according to the gesture information, and controls the proximity sensor to determine a proximity state or a distant state based on the target threshold value. By adopting the technical scheme, the threshold value of the proximity sensor for judging the proximity state or the far state can be adaptively determined according to the attitude information of the mobile terminal, so that the threshold value can be reasonably set, and the judgment accuracy of the proximity sensor is ensured.
In some embodiments, before the obtaining the pose information of the mobile terminal, the method includes: acquiring a first light intensity value of the current environment; and when the first light intensity value is larger than a first preset light intensity threshold value, triggering to acquire the posture information of the mobile terminal. Generally, when ambient light around the mobile terminal is not strong, the influence on the approach value of the approach sensor is small, and when the attitude information is obtained, the work of the motion sensor may generate certain power consumption, so that when the first light intensity value of the current environment is detected to be larger than the first preset light intensity threshold value, the attitude information of the mobile terminal is obtained by triggering, and the power consumption of the mobile terminal is saved.
In some embodiments, said determining a corresponding target threshold value for a proximity sensor from said pose information comprises: when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be smaller than a first preset angle threshold value according to the attitude information, determining that a corresponding target threshold value of a proximity sensor is a first target threshold value; when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be larger than a second preset angle threshold according to the attitude information, determining that a corresponding target threshold of the proximity sensor is a second target threshold; the first preset angle threshold is smaller than the second preset angle threshold, and the first target threshold is larger than the second target threshold. The advantage of setting like this lies in, can rationally set up the threshold value of proximity sensor under the state of putting and erectting at the mobile terminal, prevents to take place misjudgement. When the included angle of the front face of the mobile terminal relative to the horizontal plane is small, the mobile terminal is basically in a horizontal state, a user may hold the mobile terminal to check the screen content, the horizontal state is not absolutely horizontal, because the user generally holds the mobile terminal, the screen is easy to watch, the user has small-amplitude inclination, and the proximity sensor has large receiving quantity of ambient light and is easily influenced by the ambient light, so that the corresponding target threshold value can be set to be larger, and the situation that the far state is judged to be the close state by mistake is prevented; when the included angle of the mobile terminal relative to the horizontal plane is large, the mobile terminal is basically in the vertical state, a user can stand the mobile terminal to answer a call, the vertical state is not absolutely vertical to the horizontal plane, because the user generally places the mobile terminal beside the ear, the mobile terminal can be inclined in a small range, the receiving quantity of the proximity sensor to the ambient light is small, and the mobile terminal is not easily influenced by the ambient light, so that the corresponding target threshold value can be set to be smaller, and the situation that the proximity state is judged to be the far-away state by mistake is prevented. In the embodiment of the present application, the first preset angle threshold and the second preset angle threshold are not specifically limited, and may be, for example, 40 degrees and 70 degrees, respectively. In the embodiment of the present application, the first target threshold value and the second target threshold value are not specifically limited, and may be set according to the specific configuration of the proximity sensor and other specific situations.
For example, in a strong light environment, such as an environment with sufficient sunlight, the infrared intensity is high, which may easily cause an abnormal operating state of the infrared proximity sensor device, and the proximity value may frequently jump, such as from a relatively small value to a large value in a short time and then jump back to a relatively small value, which may further cause a misjudgment of the proximity state of an external object, and a phenomenon that the screen is frequently switched between off and on may occur. If the infrared proximity sensor is affected by infrared rays in sunlight and the proximity value is frequently jumped, the screen is frequently switched between off and on, and normal operation of the user on the screen is seriously affected. To avoid the above problem, in a strong light environment, for example, when the first light intensity value is greater than the first preset light intensity threshold, the first target threshold is set to be larger, for example, to be closer to the maximum boundary of the range of measurement range, assuming that the maximum boundary value of the range of measurement range is 1023, the first target threshold may be close to the threshold of 900, and far from the threshold of 850.
For example, since the second target threshold is used in a case where the influence of ambient light is small, the minimum approach value measured when the ambient light is not blocked in a non-bright light environment (e.g., 500lux) may be determined as the second target threshold. The second target threshold value may be set by default before the mobile terminal leaves the factory, or may be automatically determined after the mobile terminal leaves the factory. For example, the mobile terminal detects a fourth light intensity value of the current environment each time it is powered on, measures the proximity value a plurality of times if the fourth light intensity value is smaller than a fourth preset light intensity threshold (e.g., 500lux), and determines the minimum measured proximity value as a second target threshold. Optionally, the mobile terminal is generally calibrated on a production line before leaving a factory to obtain a calibrated proximity value in a non-strong light environment, and if the measured minimum proximity value is smaller than the calibrated proximity value, the calibrated proximity value may be used as the second target threshold value. For example, the second target threshold may be 450 near the threshold and 350 away from the threshold.
In some embodiments, the obtaining the posture information of the mobile terminal includes: and when the receiver listening event is triggered, acquiring the attitude information of the mobile terminal. The advantage of this arrangement is that when the earphone listening event is triggered, it indicates that the user may have an action of placing the mobile terminal to the ear, and the gesture information of the mobile terminal needs to be identified so as to determine the corresponding target threshold value in time.
In some embodiments, the determining that the corresponding target threshold value of the proximity sensor is a second target threshold value comprises: determining that a corresponding target threshold value of the proximity sensor is a sum of a first preset threshold value and a preset superposition value, wherein the preset superposition value is related to the influence of oil stains generated by human skin on the proximity sensor. The advantage that sets up like this lies in, according to the predetermined threshold value and the predetermined superposition value that greasy dirt influence corresponds and confirm the second target threshold value, can fully consider when the user puts mobile terminal to the ear, the influence of greasy dirt that face or ear's skin produced to proximity sensor, and then more accurate definite target threshold value. The preset superposition value may be referred to as an oil contamination value, for example, the maximum variation amount may be determined as the oil contamination value by collecting variation amounts of the approach values of the plurality of mobile terminals relative to the case where there is no oil contamination under different oil contamination conditions. For example, the oil stain value may be 60. The first preset threshold value may be set by default before the mobile terminal leaves a factory, or may be automatically determined after the mobile terminal leaves the factory. For example, when the mobile terminal is started up each time, a second light intensity value of the current environment is obtained; and when the second light intensity value is smaller than a second preset light intensity threshold value, acquiring the current approach value of the proximity sensor as the first preset threshold value, wherein the second preset light intensity threshold value is smaller than or equal to the first preset light intensity threshold value. Optionally, acquiring the current proximity value of the proximity sensor as the first preset threshold value may include: and acquiring the current approach value of the approach sensor for multiple times, and taking the acquired minimum value as the first preset threshold value. Optionally, the mobile terminal is generally calibrated on a production line before leaving a factory to obtain a calibrated proximity value in a non-highlight environment, and if the obtained minimum current proximity value is smaller than the calibrated proximity value, the calibrated proximity value may be used as a first preset threshold value.
In some embodiments, it may further include: acquiring attribute information of a current user; and determining a corresponding preset superposition value according to the attribute information. The method has the advantages that due to the fact that the skin types and the like of different users are different, the oil outlet degrees are possibly different, the influence of oil stains on the approach value is possibly different, the preset superposition value can be determined in a more targeted mode, and the second target threshold value can be determined more accurately. For example, the attribute information of the user may include gender, age, occupation, skin type, and the like. The influence of the skin oil stains of the users corresponding to different user attribute information on the approach value of the approach sensor can be analyzed in advance in a big data mode, and then the corresponding preset superposition value is determined, so that the corresponding relation between the user attribute information and the preset superposition value is formed and stored in the mobile terminal or sent to the mobile terminal by the server. When the screen of the mobile terminal is unlocked, the identity of the user can be identified through information such as fingerprints, attribute information corresponding to the user with the current identity is further acquired, the corresponding relation between the user attribute information and a preset superposition value is inquired, and the corresponding preset superposition value is acquired. Furthermore, the oil-out condition of the skin of the user may be different in different days or different time periods, for example, in spring and summer or at noon, the skin is prone to oil-out, while in autumn and winter or in the morning and evening, the skin is not prone to oil-out, and for example, when the temperature is high, the skin is prone to oil-out, and when the temperature is low, the skin is not prone to oil-out. Thus, the preset superimposed value may be further determined in conjunction with, for example, weather, season, or time period. For example, attribute information of a current user, current weather information and a current time period are acquired, and a corresponding preset superposition value is determined according to the attribute information, the current weather information and the current time period.
Fig. 2 is a schematic flow chart of another control method for a proximity sensor according to an embodiment of the present disclosure, where the method includes the following steps:
step 201, obtaining a first light intensity value of the current environment.
For example, the ambient light may be detected by an ambient light sensor, and a current measurement value of the ambient light sensor is taken as a first light intensity value of the current environment; the ambient light may also be detected by a light receiver of the proximity sensor itself, taking an infrared proximity sensor as an example, a value of the measured infrared light intensity may be taken as the first preset light intensity.
Step 202, determining whether the first light intensity value is greater than a first preset light intensity threshold, if so, executing step 203; otherwise, step 202 is repeated.
For example, the corresponding first preset light intensity threshold may be determined according to an obtaining manner of the first light intensity value, and the corresponding first preset light intensity thresholds may be different for different proximity sensors due to differences in materials, manufacturing processes, measuring ranges, and the like. For example, in general, when the ambient light intensity value is greater than 3000lux (lux), the influence on the approach value is large, and it can be considered as a strong light environment, and 3000lux can be set as the first preset light intensity threshold.
Step 203, detecting whether an earphone listening event is triggered, if so, executing step 204; otherwise, step 203 is repeated.
For example, an incoming or outgoing telephone call may be detected, which may trigger a handset listening event; alternatively, a handset listening event may be triggered upon detecting that a sound is about to be played by the handset.
And step 204, acquiring the attitude information of the mobile terminal.
And step 205, determining the included angle of the front surface of the mobile terminal relative to the horizontal plane according to the posture information.
For example, the attitude information may be obtained by a three-axis acceleration sensor, and an included angle of the front surface of the mobile terminal with respect to the horizontal plane is calculated according to an output value of the three-axis acceleration sensor.
Step 206, judging whether the included angle is smaller than a first preset angle threshold value, if so, executing step 207; otherwise, step 208 is performed.
For example, the first preset angle threshold may be 40 degrees.
Step 207, determining that the corresponding target threshold value of the proximity sensor is the first target threshold value, and executing step 211.
Illustratively, when the included angle between the front side of the mobile terminal and the horizontal is less than 40 degrees, it is indicated that the mobile terminal is in a substantially horizontal state, a user may view or operate on a screen during a call, the approach value of the proximity sensor is greatly affected by strong light, and the target threshold value at this time is determined as a first larger target threshold value.
Step 208, judging whether the included angle is larger than a second preset angle threshold value, if so, executing step 209; otherwise, step 210 is performed.
For example, the second preset angle threshold may be 70 degrees.
Step 209, determining that the corresponding target threshold value of the proximity sensor is the second target threshold value, and executing step 211.
The first preset angle threshold is smaller than the second preset angle threshold, and the first target threshold is larger than the second target threshold.
For example, when the front of the mobile terminal is at an angle greater than 70 degrees with respect to the horizontal, which indicates that the mobile terminal is in a substantially vertical state, the user may hold the mobile terminal to the ear to answer the call, and at this time, even if the influence of the strong light environment on the proximity value of the proximity sensor is small, the target threshold value at this time may be determined as a second smaller target threshold value.
Step 210, determining that the corresponding target threshold value of the proximity sensor is a third target threshold value, and executing step 211.
Optionally, the third target threshold may be the same as the first target threshold or the same as the second target threshold, or may be a value between the first target threshold and the second target threshold. When the included angle is greater than or equal to 40 degrees and less than or equal to 70 degrees, the mobile terminal may be in the process of being lifted up or being put down, the approaching state or the departing state generally does not change, and determination may not be needed, and therefore, the target threshold value at this time may be the same as the first target threshold value or the second target threshold value, or may be a value between the first target threshold value and the second target threshold value, which is not specifically limited in the embodiment of the present application.
And step 211, controlling the proximity sensor to judge the proximity state or the distance state based on the target threshold value.
Illustratively, when the mobile terminal is determined to be in the close state, controlling the mobile terminal to be in a black screen state; and when the mobile terminal is determined to be in the far state, controlling the mobile terminal to be in a bright screen state.
According to the control method of the proximity sensor, when it is detected that ambient light is strong and a user is about to listen to sound through a receiver, the attitude information of the mobile terminal is obtained, the corresponding target threshold value is determined according to the included angle between the attitude information and the horizontal plane, and then the proximity sensor is controlled to judge the approaching state or the far state according to the target threshold value.
Fig. 3 is a schematic flowchart of a control method for a proximity sensor according to an embodiment of the present application, where as shown in fig. 3, the method includes:
step 301, after the mobile terminal is powered on, if the light intensity value a of the current environment is smaller than the preset light intensity threshold value a, obtaining a current proximity value of the proximity sensor as a preset threshold value M.
Illustratively, when the mobile terminal is started, the mobile terminal is basically in an unshielded state, and if the ambient light intensity is not high at the moment, the current approach value can be timely acquired and used as a preset threshold value for subsequent superposition with the preset superposition value.
Step 302, obtaining attribute information of the current user, determining a corresponding preset superposition value N according to the attribute information, and recording the sum of M and N as a second target threshold value.
Wherein, the N value can be used for representing the influence value of the oil stain generated on the face or ear skin of the current user on the approach value of the approach sensor. For example, in the case of no oil contamination interference, the approach value is 400, but under the oil contamination interference, the oil contamination may reflect part of the light back, so that the approach value is increased, for example, 460 may be reached, and in order to eliminate the oil contamination influence, the preset overlap value N may be added to the preset threshold value M to serve as the target threshold value in the standing state.
Step 303, judging whether the light intensity value B of the current environment is greater than a preset light intensity threshold value B, if so, executing step 304; otherwise, step 303 is repeated.
And step 304, when the earphone listening event is triggered, acquiring the posture information of the mobile terminal.
And 305, determining an included angle of the front surface of the mobile terminal relative to the horizontal plane according to the attitude information.
Step 306, judging the relation between the included angle and a first preset angle threshold value and a second angle threshold value, and executing step 307 when the included angle is smaller than the first preset angle threshold value; when the included angle is greater than the second preset angle threshold, step 308 is executed.
For example, when the included angle is greater than or equal to the first preset angle threshold and less than or equal to the second preset angle threshold, the current threshold of the proximity sensor may be used to determine the approaching state or the departing state, that is, the current threshold may not be changed.
Step 307, determining that the corresponding target threshold value of the proximity sensor is the first target threshold value, and executing step 309.
Step 308, determining that the corresponding target threshold value of the proximity sensor is the second target threshold value, and executing step 309.
And 309, controlling the proximity sensor to judge the approaching state or the departing state based on the target threshold value.
The control method of the proximity sensor, provided by the embodiment of the application, comprises the steps of determining a preset threshold value when a mobile terminal is started, determining a preset superposition value influenced by oil stains according to user attribute information, taking the sum of the preset threshold value and the preset superposition value as a corresponding target threshold value when the mobile terminal is in an upright posture, further considering the influence of the oil stains on human skin on the proximity value on the basis of considering the influence of the posture of the mobile terminal on the proximity value, further reasonably determining the threshold value of the proximity sensor, and accurately judging the proximity state and the far-away state.
Fig. 4 is a block diagram of a control apparatus for a proximity sensor according to an embodiment of the present disclosure, which may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may control the proximity sensor by executing a control method for the proximity sensor. As shown in fig. 4, the apparatus includes:
a posture information obtaining module 401, configured to obtain posture information of the mobile terminal;
a target threshold value determining module 402, configured to determine a corresponding target threshold value of the proximity sensor according to the attitude information;
a proximity sensor control module 403, configured to control the proximity sensor to determine a proximity state or a distance state based on the target threshold value.
The control device for the proximity sensor, provided in the embodiment of the application, acquires gesture information of the mobile terminal, determines a corresponding target threshold value of the proximity sensor according to the gesture information, and controls the proximity sensor to determine a proximity state or a distant state based on the target threshold value. By adopting the technical scheme, the threshold value of the proximity sensor for judging the proximity state or the far state can be adaptively determined according to the attitude information of the mobile terminal, so that the threshold value can be reasonably set, and the judgment accuracy of the proximity sensor is ensured.
Optionally, the apparatus further comprises:
the first light intensity obtaining module is used for obtaining a first light intensity value of the current environment before the attitude information of the mobile terminal is obtained;
and the gesture obtaining triggering module is used for triggering and obtaining the gesture information of the mobile terminal when the first light intensity value is greater than a first preset light intensity threshold value.
Optionally, the determining a corresponding target threshold value of the proximity sensor according to the posture information includes:
when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be smaller than a first preset angle threshold value according to the attitude information, determining that a corresponding target threshold value of a proximity sensor is a first target threshold value;
when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be larger than a second preset angle threshold according to the attitude information, determining that a corresponding target threshold of the proximity sensor is a second target threshold;
the first preset angle threshold is smaller than the second preset angle threshold, and the first target threshold is larger than the second target threshold.
Optionally, the obtaining the posture information of the mobile terminal includes:
and when the receiver listening event is triggered, acquiring the attitude information of the mobile terminal.
Optionally, the determining that the corresponding target threshold value of the proximity sensor is the second target threshold value includes:
determining a corresponding target threshold value of a proximity sensor as a sum of a first preset threshold value and a preset overlap value, wherein the preset overlap value is related to the influence of oil stains generated by human skin on the proximity sensor.
Optionally, the apparatus further comprises:
the attribute information acquisition module is used for acquiring the attribute information of the current user;
and the superposition value determining module is used for determining a corresponding preset superposition value according to the attribute information.
Optionally, the apparatus further comprises:
the second light intensity acquisition module is used for acquiring a second light intensity value of the current environment;
and the first threshold value determining module is used for acquiring the current approach value of the proximity sensor as the first preset threshold value when the second light intensity value is smaller than a second preset light intensity threshold value, wherein the second preset light intensity threshold value is smaller than or equal to the first preset light intensity threshold value.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method of controlling a proximity sensor, the method including:
acquiring attitude information of the mobile terminal;
determining a corresponding target threshold value of the proximity sensor according to the attitude information;
and controlling the proximity sensor to judge the approaching state or the departing state based on the target threshold value.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the control operation of the proximity sensor described above, and may also perform related operations in the control method of the proximity sensor provided in any embodiment of the present application.
The embodiment of the application provides a mobile terminal, and the control device of the proximity sensor provided by the embodiment of the application can be integrated in the mobile terminal. Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 500 may include: the proximity sensor control system comprises a memory 501, a processor 502 and a computer program stored on the memory and executable on the processor, wherein the processor 502 implements the control method of the proximity sensor according to the embodiment of the present application when executing the computer program.
The mobile terminal provided by the embodiment of the application can adaptively determine the threshold value of the proximity sensor for judging the proximity state or the far state according to the attitude information of the mobile terminal, so that the threshold value can be reasonably set, and the judgment accuracy of the proximity sensor is ensured.
Fig. 6 is a schematic structural diagram of another mobile terminal provided in an embodiment of the present application, where the mobile terminal may include: a housing (not shown), a memory 601, a Central Processing Unit (CPU) 602 (also called a processor, hereinafter referred to as CPU), a proximity sensor (not shown), an acceleration sensor (not shown), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU602 and the memory 601 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 601 is used for storing executable program codes; the CPU602 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 601 to implement the steps of:
acquiring attitude information of the mobile terminal;
determining a corresponding target threshold value of the proximity sensor according to the attitude information;
and controlling the proximity sensor to judge the approaching state or the departing state based on the target threshold value.
The mobile terminal further includes: peripheral interface 603, RF (Radio Frequency) circuitry 605, audio circuitry 606, speakers 611, power management chip 608, input/output (I/O) subsystem 609, other input/control devices 610, touch screen 612, other input/control devices 610, and external port 604, which communicate via one or more communication buses or signal lines 607.
It should be understood that the illustrated mobile terminal 600 is merely one example of a mobile terminal and that the mobile terminal 600 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes the mobile terminal for proximity sensor control provided in this embodiment in detail, and the mobile terminal is exemplified by a mobile phone.
A memory 601, the memory 601 being accessible by the CPU602, the peripheral interface 603, and the like, the memory 601 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 603, said peripheral interface 603 may connect input and output peripherals of the device to the CPU602 and the memory 601.
An I/O subsystem 609, the I/O subsystem 609 may connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610, to the peripheral interface 603. The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610. Where one or more input controllers 6092 receive electrical signals from or transmit electrical signals to other input/control devices 610, the other input/control devices 610 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 6092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 612, which touch screen 612 is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or transmits electrical signals to the touch screen 612. The touch screen 612 detects a contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 612 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 605 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 605 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603, convert the audio data into an electric signal, and transmit the electric signal to the speaker 611.
The speaker 611 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 605 into sound and play the sound to the user.
And a power management chip 608 for supplying power and managing power to the hardware connected to the CPU602, the I/O subsystem, and the peripheral interface.
The control device, the storage medium and the mobile terminal of the proximity sensor provided in the above embodiments may execute the control method of the proximity sensor provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a control method of a proximity sensor provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (9)

1. A method of controlling a proximity sensor, comprising:
acquiring attitude information of the mobile terminal; the gesture information comprises the orientation of the mobile terminal, an included angle of the front face of the mobile terminal relative to a reference surface, an included angle of each side of the mobile terminal relative to each coordinate axis of a reference coordinate system, and gesture categories of the mobile terminal belonging to preset categories;
determining a corresponding target threshold value of a proximity sensor according to the attitude information, including:
when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be smaller than a first preset angle threshold value according to the attitude information, determining that a corresponding target threshold value of a proximity sensor is a first target threshold value;
when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be larger than a second preset angle threshold according to the attitude information, determining that a corresponding target threshold of the proximity sensor is a second target threshold;
the first preset angle threshold is smaller than the second preset angle threshold, and the first target threshold is larger than the second target threshold;
and controlling the proximity sensor to judge the approaching state or the departing state based on the target threshold value.
2. The method according to claim 1, wherein before the obtaining the attitude information of the mobile terminal, the method comprises:
acquiring a first light intensity value of the current environment;
and when the first light intensity value is larger than a first preset light intensity threshold value, triggering to acquire the posture information of the mobile terminal.
3. The method according to claim 1, wherein the obtaining the posture information of the mobile terminal comprises:
and when the receiver listening event is triggered, acquiring the attitude information of the mobile terminal.
4. The method of claim 1, wherein determining that the corresponding target threshold value for the proximity sensor is a second target threshold value comprises:
determining a corresponding target threshold value of a proximity sensor as a sum of a first preset threshold value and a preset overlap value, wherein the preset overlap value is related to the influence of oil stains generated by human skin on the proximity sensor.
5. The method of claim 4, further comprising:
acquiring attribute information of a current user;
and determining a corresponding preset superposition value according to the attribute information.
6. The method of claim 4, further comprising:
acquiring a second light intensity value of the current environment;
and when the second light intensity value is smaller than a second preset light intensity threshold value, acquiring the current approach value of the proximity sensor as the first preset threshold value, wherein the second preset light intensity threshold value is smaller than or equal to the first preset light intensity threshold value.
7. A control device for a proximity sensor, comprising:
the attitude information acquisition module is used for acquiring the attitude information of the mobile terminal; the gesture information comprises the orientation of the mobile terminal, an included angle of the front face of the mobile terminal relative to a reference surface, an included angle of each side of the mobile terminal relative to each coordinate axis of a reference coordinate system, and gesture categories of the mobile terminal belonging to preset categories;
a target threshold value determination module, configured to determine a corresponding target threshold value of the proximity sensor according to the posture information, including: when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be smaller than a first preset angle threshold value according to the attitude information, determining that a corresponding target threshold value of a proximity sensor is a first target threshold value;
when the included angle of the front face of the mobile terminal relative to the horizontal plane is determined to be larger than a second preset angle threshold according to the attitude information, determining that a corresponding target threshold of the proximity sensor is a second target threshold;
the first preset angle threshold is smaller than the second preset angle threshold, and the first target threshold is larger than the second target threshold;
and the proximity sensor control module is used for controlling the proximity sensor to judge the proximity state or the far state based on the target threshold value.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of controlling a proximity sensor according to any one of claims 1-6.
9. A mobile terminal, characterized in that it comprises a memory, a processor and a computer program stored on the memory and executable on the processor, said processor implementing the control method of a proximity sensor according to any of claims 1-6 when executing said computer program.
CN201811089882.8A 2018-09-18 2018-09-18 Control method and device of proximity sensor, storage medium and mobile terminal Active CN109343066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811089882.8A CN109343066B (en) 2018-09-18 2018-09-18 Control method and device of proximity sensor, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811089882.8A CN109343066B (en) 2018-09-18 2018-09-18 Control method and device of proximity sensor, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN109343066A CN109343066A (en) 2019-02-15
CN109343066B true CN109343066B (en) 2020-07-21

Family

ID=65305589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811089882.8A Active CN109343066B (en) 2018-09-18 2018-09-18 Control method and device of proximity sensor, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN109343066B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112277878A (en) * 2019-07-11 2021-01-29 魏立江 Keyless entry system
CN110321879B (en) * 2019-08-20 2020-06-05 成都数据天空科技有限公司 Proximity judgment method, device, equipment and storage medium
CN111182115B (en) * 2019-12-27 2022-06-10 荣耀终端有限公司 Method and device for detecting abnormity of proximity sensor and mobile terminal
CN111366939B (en) * 2020-02-20 2022-07-15 Oppo(重庆)智能科技有限公司 Calibration method and device of distance sensor, terminal and storage medium
CN111965603B (en) * 2020-07-12 2024-07-23 北京瑞蒙特科技有限公司 Aerosol radar control method and device for railway transportation means

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683598B (en) * 2015-03-25 2017-06-09 广东欧珀移动通信有限公司 Proximity transducer threshold value adjusting method, device and smart machine
CN104935737A (en) * 2015-05-25 2015-09-23 上海卓易科技股份有限公司 Method and equipment for realizing screen on-off in call process
CN106094055B (en) * 2016-06-21 2018-07-03 广东欧珀移动通信有限公司 The calibration method and terminal of a kind of proximity sensor
WO2018000229A1 (en) * 2016-06-29 2018-01-04 宋英楠 Mobile phone and working mode switching control method therefor
CN105939427B (en) * 2016-07-06 2019-08-02 Oppo广东移动通信有限公司 A kind of control method of infrared proximity transducer, device and mobile terminal
CN108076210A (en) * 2016-11-11 2018-05-25 中兴通讯股份有限公司 The screen backlight control system and method for smart machine
CN106791108B (en) * 2016-12-22 2020-03-10 Oppo广东移动通信有限公司 Threshold updating method and device of proximity sensor and terminal
CN106940633B (en) * 2017-03-06 2019-09-13 Oppo广东移动通信有限公司 Display screen condition control method and device
CN107219515A (en) * 2017-05-25 2017-09-29 深圳市金立通信设备有限公司 The parameter calibrating method and terminal of a kind of range sensor
CN107483712A (en) * 2017-06-27 2017-12-15 捷开通讯(深圳)有限公司 Mobile terminal and its control method, storage device
CN107943345B (en) * 2017-11-22 2020-10-02 Oppo广东移动通信有限公司 Method and device for calibrating proximity sensor, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109343066A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN109343066B (en) Control method and device of proximity sensor, storage medium and mobile terminal
CN107943345B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
US10761642B2 (en) Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
US11868604B2 (en) Display processing method and apparatus
US11849399B2 (en) Method for reducing power consumption of terminal, and terminal
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN107422915B (en) Response control mehtod, device, storage medium and the terminal of touch screen
CN108510963B (en) Screen brightness adjusting method and device, storage medium and intelligent terminal
US11812323B2 (en) Method and apparatus for triggering terminal behavior based on environmental and terminal status parameters
CN107463290B (en) Response control method and device for touch operation, storage medium and mobile terminal
EP3435211B1 (en) Method and appartus for responding to touch operation, storage medium and terminal
CN107527048B (en) Fingerprint identification method and device, storage medium and mobile terminal
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CN107390931B (en) Response control method and device for touch operation, storage medium and mobile terminal
CN106502819A (en) A kind of based on the control method of proximity transducer, device and mobile terminal
CN111083288B (en) Screen control method and device, terminal equipment and storage medium
CN106598521B (en) Screen state control method and device of mobile terminal and mobile terminal
US11429191B2 (en) Input method and smart terminal device
CN112162329B (en) Proximity sensing detection method and device, storage medium and electronic equipment
CN109061662B (en) Infrared detection method and device, computer equipment and storage medium
CN117641120A (en) Rotation control method, system, equipment and medium of cradle head camera equipment
CN109375855A (en) The SOT state of termination determines method, apparatus, terminal device and storage medium

Legal Events

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