CN106453960B - Method and system for accelerating response speed of proximity sensor of mobile terminal - Google Patents
Method and system for accelerating response speed of proximity sensor of mobile terminal Download PDFInfo
- Publication number
- CN106453960B CN106453960B CN201611081635.4A CN201611081635A CN106453960B CN 106453960 B CN106453960 B CN 106453960B CN 201611081635 A CN201611081635 A CN 201611081635A CN 106453960 B CN106453960 B CN 106453960B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- proximity sensor
- distance
- screen
- shielding object
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to the technical field of mobile terminals, and discloses a method and a system for accelerating the response speed of a proximity sensor of a mobile terminal, wherein the method comprises the steps of detecting the distance between the proximity sensor in the mobile terminal and a shelter; the mobile terminal compares the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; and when the difference value is not zero, sending a comparison signal to a central processing unit, and calling a screen control instruction by the central processing unit to control the screen of the mobile terminal to be turned off or on. According to the invention, the screen turn-off or turn-on of the mobile terminal is rapidly controlled by detecting the distance between the proximity sensor and the shielding object, so that the technology of the proximity sensor of the intelligent mobile terminal can be improved, and the development of the innovative technology of the intelligent mobile terminal is promoted.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a system for accelerating the response speed of a proximity sensor of a mobile terminal.
Background
The proximity sensor is a generic name of a sensor for detecting a proximity object without touching the object to be detected, instead of a contact detection method such as a limit switch. The detection method of the electric signal includes a method of detecting an eddy current generated in a metal body of the detection object by electromagnetic induction, a method of detecting a change in capacity of the electric signal by the approach of the detection object, and a method of using a sharp stone or a guide switch.
In the JIS (Japanese Industrial Standards), JIS Standards (JIS C8201-5-2 low-voltage switching device and control device, No. 5 control circuit device and switching element, and No. 2 proximity switch) were established from IEC60947-5-2 non-contact position detection switches. In the definition of JIS, a product that can detect the proximity of an object and the presence or absence of a nearby detection object in a sensor in a non-contact manner is generally called a "proximity switch", and is configured by an induction type, a capacitance type, an ultrasonic type, a photoelectric type, a magnetic type, or the like. In the technical guideline, an inductive proximity sensor for detecting the presence of a metal, a capacitive proximity sensor for detecting the presence of a metal or a non-metal object, and a switch using a direct-current magnetic field generated by a magnetic force are defined as "proximity sensors".
The proximity sensor has the following characteristics:
(1) since the detection can be performed in a non-contact manner, the detection object is not worn or damaged.
(2) Because the contactless output mode is adopted, the service life is prolonged (except for the magnetic type) by adopting semiconductor output, and the service life of the contact is not influenced.
(3) Unlike the optical detection method, the method is suitable for use in an environment of water, oil, or the like, and is hardly affected by stains on a detection target, oil, water, or the like. In addition, the product also comprises a Teflon shell type product and a product with good drug resistance.
(4) High-speed response can be achieved compared to a touch switch.
(5) Can correspond to a wide temperature range.
(6) Since the change in the physical property of the detection target is detected without being affected by the color of the detection object, the change is hardly affected by the surface color or the like.
(7) Unlike the contact type, the sensor is influenced by ambient temperature, ambient objects, and the like, including an induction type and a capacitance type, and the sensors are mutually influenced. Therefore, for the arrangement of the sensors, mutual interference needs to be considered. In addition, in the induction type, the influence of the surrounding metal needs to be considered, and in the capacitance type, the influence of the surrounding object needs to be considered.
Detection principle of the induction type proximity sensor: a method of detecting a magnetic loss due to an eddy current generated on a surface of a conductor by an influence of an external magnetic field, generating an alternating magnetic field in a detection coil, and detecting a change in impedance due to an eddy current generated in a metal body of a detection body.
The screen of the mobile terminal in the prior art cannot rapidly sense the distance between the shielding objects, so that the screen cannot be rapidly controlled to be turned off or turned on, and the use is inconvenient for a user.
Therefore, the prior art still needs to be improved and developed to address the above drawbacks.
Disclosure of Invention
In view of the defects of the prior art, an object of the present invention is to provide a method and a system for increasing the response speed of a proximity sensor of a mobile terminal, which can quickly control the screen of the mobile terminal to be turned off or turned on by detecting the distance between the proximity sensor and a shielding object, thereby improving the technology of the proximity sensor of the intelligent mobile terminal and promoting the development of the innovative technology of the intelligent mobile terminal.
The technical scheme of the invention is as follows:
a method for accelerating the response speed of a proximity sensor of a mobile terminal comprises the following steps:
step A: detecting the distance between a proximity sensor in the mobile terminal and a shelter;
and B: the mobile terminal compares the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on;
and C: calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on;
step D: and when the difference value is not zero, sending a comparison signal to a central processing unit, and calling a screen control instruction by the central processing unit to control the screen of the mobile terminal to be turned off or on.
Preferably, the method for increasing the response speed of the proximity sensor of the mobile terminal, wherein the step a specifically includes:
a1: the mobile terminal starts the function of detecting the shielding object by the proximity sensor;
a2: when the proximity sensor senses that an obstacle exists in front of the screen of the mobile terminal, the distance between the obstacle and the proximity sensor is detected.
Preferably, the method for increasing the response speed of the proximity sensor of the mobile terminal, wherein the step B specifically includes:
b1: the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off is L;
b2: when the detected distance between the proximity sensor and the shelter is L1 and the screen of the mobile terminal cannot be turned off, the distance is L1> L;
b3: when the detected distance between the proximity sensor and the barrier is L2, the screen of the mobile terminal is not lighted, and the distance L2< L.
Preferably, the method for increasing the response speed of the proximity sensor of the mobile terminal, wherein the step C specifically includes:
c1, when L1 is not equal to L, calculating the distance between the detected proximity sensor and the shielding object to be L1 and the distance between the detected proximity sensor and the shielding object to be L when the preset mobile terminal is turned off to obtain the difference value between L1 and L to be △ L1;
and C2, when the distances L2 and L are not equal, calculating the distance L2 between the detected proximity sensor and the shielding object and the distance L between the proximity sensor and the shielding object when the preset mobile terminal is turned off, and obtaining the difference value of L2 and L as △ L2.
Preferably, the method for increasing the response speed of the proximity sensor of the mobile terminal, wherein the step D specifically includes:
d1, when the difference value between L1 and L is △ L1 is obtained through calculation, a comparison signal 1 is sent to a central processing unit, the central processing unit is requested to control the screen of the mobile terminal to be turned off at a distance L1, the central processing unit calls a screen control instruction 1, and at an actual distance (L + △ L1), the response speed of a proximity sensor of the mobile terminal is accelerated, so that the screen enters a screen turn-off state;
d2, when the difference value between L2 and L is △ L2 is obtained through calculation, a comparison signal 2 is sent to a central processing unit, the central processing unit is requested to control the mobile terminal to be in a bright screen state at a distance L2, the central processing unit calls a screen control command 2, and at an actual distance (L- △ L2), the response speed of a proximity sensor of the mobile terminal is accelerated, so that the screen enters a bright screen state.
A system for increasing the response speed of a proximity sensor of a mobile terminal, wherein the system for increasing the response speed of the proximity sensor of the mobile terminal comprises:
the distance detection module is used for detecting the distance between a proximity sensor in the mobile terminal and a shelter;
the distance comparison module is used for comparing the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or turned on;
the distance calculation module is used for calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on;
and the screen control module is used for sending a comparison signal to the central processing unit when the difference value is not zero, and the central processing unit calls a screen control instruction to control the screen of the mobile terminal to be turned off or turned on.
Preferably, the system for increasing the response speed of the proximity sensor of the mobile terminal, wherein the distance detection module specifically includes:
the function starting unit is used for starting the function of detecting the shielding object by the proximity sensor in the mobile terminal;
and the sensing detection unit is used for detecting the distance between the obstacle and the proximity sensor when the proximity sensor senses that the obstacle exists in front of the screen of the mobile terminal.
Preferably, the system for increasing the response speed of the proximity sensor of the mobile terminal, wherein the distance comparison module specifically includes:
the preset unit is used for presetting that the distance between the proximity sensor and the shielding object is L when the mobile terminal is turned off;
a first comparing unit, configured to, when the detected distance between the proximity sensor and the blocking object is L1 and the screen of the mobile terminal is not turned off, determine that the distance is L1> L;
and the second comparison unit is used for judging that the screen of the mobile terminal cannot be lightened when the detected distance between the proximity sensor and the shielding object is L2, and the distance is L2< L.
Preferably, the system for increasing the response speed of the proximity sensor of the mobile terminal, wherein the distance calculation module specifically includes:
the first calculating unit is used for calculating the distance between the detected proximity sensor and the shielding object to be L1 when L1 is unequal to L and the distance between the detected proximity sensor and the shielding object to be L when the preset mobile terminal is turned off to obtain the difference value of L1 and L to be △ L1;
and the second calculating unit is used for calculating the distance between the detected proximity sensor and the shielding object to be L2 when L2 is not equal to L and the distance between the detected proximity sensor and the shielding object to be L when the preset mobile terminal is turned off to obtain the difference value of L2 and L to be △ L2.
Preferably, the system for accelerating the response speed of the proximity sensor of the mobile terminal, wherein the screen control module specifically includes:
the screen-off control unit is used for sending a comparison signal 1 to a central processing unit when the difference value between L1 and L is △ L1 through calculation, requesting the central processing unit to control the screen off of the mobile terminal at a distance of L1, calling a screen control instruction 1 by the central processing unit, and accelerating the response speed of a proximity sensor of the mobile terminal at an actual distance of (L + △ L1) to enable the screen to enter a screen-off state;
and the bright screen control unit is used for sending a comparison signal 2 to the central processing unit when the difference value between L2 and L is △ L2 through calculation, requesting the central processing unit to control the bright screen of the mobile terminal at a distance of L2, calling a screen control command 2 by the central processing unit, and accelerating the response speed of the proximity sensor of the mobile terminal at an actual distance of (L- △ L2) to enable the screen to enter a bright screen state.
The invention discloses a system method for accelerating the response speed of a proximity sensor of a mobile terminal, wherein the distance between the proximity sensor in the mobile terminal and a shelter is detected; the mobile terminal compares the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; and when the difference value is not zero, sending a comparison signal to a central processing unit, and calling a screen control instruction by the central processing unit to control the screen of the mobile terminal to be turned off or on. According to the invention, the screen turn-off or turn-on of the mobile terminal is rapidly controlled by detecting the distance between the proximity sensor and the shielding object, so that the technology of the proximity sensor of the intelligent mobile terminal can be improved, and the development of the innovative technology of the intelligent mobile terminal is promoted.
Drawings
Fig. 1 is a flow chart of a method for increasing the response speed of a proximity sensor of a mobile terminal according to a preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the system for increasing the response speed of a proximity sensor of a mobile terminal according to the present invention.
Detailed Description
The invention provides a method and a system for accelerating the response speed of a proximity sensor of a mobile terminal, and in order to make the purpose, technical scheme and advantages of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for increasing a response speed of a proximity sensor of a mobile terminal according to a preferred embodiment of the present invention.
The embodiment of the invention provides a method for accelerating the response speed of a proximity sensor of a mobile terminal, which comprises the following steps: step S100, detecting the distance between a proximity sensor in the mobile terminal and a shelter.
In the invention, when the distance between the proximity sensor of the mobile terminal and the shielding object is increased, the screen of the mobile terminal is rapidly turned off, namely, when the screen is turned off, the distance between the proximity sensor of the mobile terminal and the shielding object is increased.
When the distance between the proximity sensor of the mobile terminal and the shielding object is reduced, the screen of the mobile terminal is quickly lightened, namely, when the screen is lightened, the distance between the proximity sensor of the mobile terminal and the shielding object is reduced.
Further, the S100 specifically includes:
s110, the mobile terminal starts the function of detecting the shielding object by the proximity sensor;
and S120, when the proximity sensor senses that an obstacle exists in front of the screen of the mobile terminal, detecting the distance between the obstacle and the proximity sensor.
And step S200, comparing the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or turned on by the mobile terminal.
In the invention, the distance between the proximity sensor and the shielding object when the mobile terminal is turned off is preset to be L, and after the distance between the proximity sensor in the mobile terminal and the shielding object is detected, the distance L is compared with the distance between the detected proximity sensor and the shielding object.
Further, the S200 specifically includes:
s210, presetting that the distance between a proximity sensor and a shelter is L when the mobile terminal is turned off;
s220, when the detected distance between the proximity sensor and the shielding object is L1 and the screen of the mobile terminal cannot be turned off, the distance is L1> L;
and S230, when the detected distance between the proximity sensor and the shielding object is L2, the screen of the mobile terminal cannot be lightened, and the distance L2< L.
And step S300, calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or turned on.
In the invention, when the detected distance between the proximity sensor in the mobile terminal and the shielding object is not equal to the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off, the difference between the detected distance between the proximity sensor of the mobile terminal and the shielding object and the distance L is calculated.
Further, the S300 specifically includes:
s310, when the L1 is not equal to the L, calculating the distance between the detected proximity sensor and the shielding object to be L1 and the distance between the detected proximity sensor and the shielding object to be L when the preset mobile terminal is turned off, and obtaining the difference value between L1 and L to be △ L1;
and S320, when the L2 is not equal to the L, calculating the distance between the detected proximity sensor and the shielding object to be L2, and the distance between the detected proximity sensor and the shielding object to be L when the preset mobile terminal is turned off, and obtaining the difference value between L2 and L to be △ L2.
And S400, when the difference value is not zero, sending a comparison signal to a central processing unit, and calling a screen control instruction by the central processing unit to control the screen of the mobile terminal to be turned off or on.
In the invention, when the distance calculation unit calculates that the difference value between L1 and L is △ L1 and L1 is not equal to L, the distance comparison module sends a comparison signal 1 to a central processing unit to request the central processing unit to control the screen of the mobile terminal to be turned off at the distance L1, and the central processing unit calls a screen control instruction 1 to control the screen of the mobile terminal to enter a screen turning-off state;
the distance calculation unit calculates the difference value between L1 and L to be △ L1, the distance calculation unit sends a calculation signal 1 to the central processing unit, the central processing unit calls a distance positioning control instruction 1, the screen of the mobile terminal is controlled to be turned off at the actual distance (L + △ L1), and the response speed of the proximity sensor of the mobile terminal is accelerated so that the screen enters the screen turning-off state.
Here, when the distance calculating unit calculates the difference between the distances L1 and L to be △ L1, since the screen of the mobile terminal does not go out, it is necessary to increase the response speed of the screen of the mobile terminal going out.
When the distance between the proximity sensor and a shelter, which is detected by the distance detection module, is L2, the screen of the mobile terminal is not lightened, and the distance is L2< L;
when the distance calculation unit calculates that the difference value between L2 and L is △ L2 and L2 is not equal to L1, the distance comparison module sends a comparison signal 2 to a central processing unit to request the central processing unit to control the mobile terminal to be in a bright screen position at a distance L2, and the central processing unit calls a screen control instruction 2 to control the screen of the mobile terminal to enter a bright screen state;
the distance calculation unit calculates the difference value between L2 and L to be △ L2, the distance calculation unit sends a calculation signal 2 to the central processing unit, the central processing unit calls the distance positioning control command 2, the screen of the mobile terminal is controlled to be bright at the actual distance (L- △ L2), and the response speed of the proximity sensor of the mobile terminal is accelerated so that the screen enters a bright screen state.
Here, when the distance calculating unit calculates the difference between the distances L2 and L to be △ L2, since the screen of the mobile terminal does not light, it is necessary to increase the response speed of the lighting of the screen of the mobile terminal.
Further, the S400 specifically includes:
s410, when the difference value between L1 and L is △ L1 obtained through calculation, a comparison signal 1 is sent to a central processing unit to request the central processing unit to control the screen of the mobile terminal to be turned off at a distance of L1, the central processing unit calls a screen control instruction 1, and at an actual distance of (L + △ L1), the response speed of a proximity sensor of the mobile terminal is accelerated, so that the screen enters a screen turn-off state;
and S420, D2, when the difference value between L2 and L is △ L2 is obtained through calculation, a comparison signal 2 is sent to a central processing unit, the central processing unit is requested to control the mobile terminal to be in a bright screen state at a distance L2, the central processing unit calls a screen control instruction 2, and at an actual distance (L- △ L2), the response speed of a proximity sensor of the mobile terminal is accelerated, so that the screen enters a bright screen state.
Based on the above embodiments, the present invention further provides a system for increasing the response speed of a proximity sensor of a mobile terminal, please refer to fig. 2, and fig. 2 is a functional schematic block diagram of a preferred embodiment of the system for increasing the response speed of a proximity sensor of a mobile terminal according to the present invention.
As shown in fig. 2, a system for increasing a response speed of a proximity sensor of a mobile terminal according to an embodiment of the present invention includes:
a distance detection module 210 for detecting a distance between a proximity sensor in the mobile terminal and a blocking object; as described above.
The distance comparison module 220 is used for comparing the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; as described above.
A distance calculating module 230, configured to calculate a difference between the detected distance between the proximity sensor and the shielding object and a preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or turned on; as described above.
The screen control module 240 is configured to send a comparison signal to the central processing unit when the difference is not zero, and the central processing unit calls a screen control instruction to control the mobile terminal to turn off or turn on the screen; as described above.
The system for accelerating the response speed of the mobile terminal proximity sensor comprises a distance detection module and a distance detection module, wherein the distance detection module specifically comprises: the function starting unit is used for starting the function of detecting the shielding object by the proximity sensor in the mobile terminal; as described above.
The sensing detection unit is used for detecting the distance between an obstacle and the proximity sensor when the proximity sensor senses that the obstacle exists in front of the screen of the mobile terminal; as described above.
The system for accelerating the response speed of the mobile terminal proximity sensor comprises a distance comparison module and a distance comparison module, wherein the distance comparison module specifically comprises: the preset unit is used for presetting that the distance between the proximity sensor and the shielding object is L when the mobile terminal is turned off; as described above.
A first comparing unit, configured to, when the detected distance between the proximity sensor and the blocking object is L1 and the screen of the mobile terminal is not turned off, determine that the distance is L1> L; as described above.
A second comparing unit, configured to, when the detected distance between the proximity sensor and the obstruction is L2, turn on the screen of the mobile terminal, and the distance L2< L; as described above.
The system for accelerating the response speed of the proximity sensor of the mobile terminal comprises a distance calculation module and a distance calculation module, wherein the distance calculation module specifically comprises a first calculation unit, and the first calculation unit is used for calculating that the detected distance between the proximity sensor and the shielding object is L1 when L1 is unequal to L, and the distance between the proximity sensor and the shielding object is L when the mobile terminal is in a preset screen-off state, so that the difference value between L1 and L is △ L1, and is specifically as described above.
And the second calculating unit is used for calculating the detected distance between the proximity sensor and the shielding object to be L2 when L2 is not equal to L and the distance between the proximity sensor and the shielding object to be L when the preset mobile terminal is turned off to obtain the difference value of L2 and L to be △ L2, and is specifically as described above.
The system for accelerating the response speed of the proximity sensor of the mobile terminal comprises a screen-off control unit, a screen-off control unit and a screen-off control unit, wherein the screen-off control unit is used for sending a comparison signal 1 to a central processing unit when the difference value between L1 and L is △ L1 through calculation, requesting the central processing unit to control the screen of the mobile terminal to be off at a distance of L1, calling a screen control instruction 1 by the central processing unit, and accelerating the response speed of the proximity sensor of the mobile terminal to enable the screen to enter a screen-off state at an actual distance of (L + △ L1);
and the bright screen control unit is used for sending a comparison signal 2 to the central processing unit when the difference value between L2 and L is △ L2 through calculation, requesting the central processing unit to control the bright screen of the mobile terminal at a distance of L2, calling a screen control command 2 by the central processing unit, and accelerating the response speed of the proximity sensor of the mobile terminal at an actual distance of (L- △ L2) to enable the screen to enter a bright screen state.
In summary, the present invention discloses a system method for increasing the response speed of a proximity sensor of a mobile terminal, wherein the distance between the proximity sensor in the mobile terminal and a shelter is detected; the mobile terminal compares the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; and when the difference value is not zero, sending a comparison signal to a central processing unit, and calling a screen control instruction by the central processing unit to control the screen of the mobile terminal to be turned off or on. According to the invention, the screen turn-off or turn-on of the mobile terminal is rapidly controlled by detecting the distance between the proximity sensor and the shielding object, so that the technology of the proximity sensor of the intelligent mobile terminal can be improved, and the development of the innovative technology of the intelligent mobile terminal is promoted.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.
Claims (4)
1. A method for accelerating the response speed of a proximity sensor of a mobile terminal is characterized by comprising the following steps:
step A: detecting the distance between a proximity sensor in the mobile terminal and a shelter;
and B: the mobile terminal compares the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on;
and C: calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on;
step D: when the difference value is not zero, sending a comparison signal to a central processing unit, and calling a screen control instruction by the central processing unit to control the screen of the mobile terminal to be turned off or turned on;
the method comprises the steps of presetting a distance L between a proximity sensor and a shielding object when the mobile terminal is in screen-off, when the detected distance L1 between the proximity sensor and the shielding object is detected, the distance L1> L when the screen of the mobile terminal cannot be in screen-off, the difference value between L1 and L is △ L1, when the detected distance L2 between the proximity sensor and the shielding object is detected, the screen of the mobile terminal cannot be on, the distance L2< L, the difference value between L2 and L is △ L2, when the difference value △ L1 is not zero, the screen of the mobile terminal is controlled to be off at an actual distance (L + △ L1), the response speed of the proximity sensor of the mobile terminal is accelerated, so that the screen is in screen-off state, when the difference value △ L2 is not zero, the screen of the mobile terminal is controlled to be on at an actual distance (L- △ L2), and the response speed of the proximity sensor of the mobile terminal is accelerated, so that the screen is in bright state.
2. The method for increasing the response speed of the proximity sensor of the mobile terminal according to claim 1, wherein the step a specifically comprises:
a1: the mobile terminal starts the function of detecting the shielding object by the proximity sensor;
a2: when the proximity sensor senses that an obstacle exists in front of the screen of the mobile terminal, the distance between the obstacle and the proximity sensor is detected.
3. A system for accelerating the response speed of a proximity sensor of a mobile terminal is characterized by comprising the following components:
the distance detection module is used for detecting the distance between a proximity sensor in the mobile terminal and a shelter;
the distance comparison module is used for comparing the detected distance between the proximity sensor and the shielding object with the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or turned on;
the distance calculation module is used for calculating the difference value between the detected distance between the proximity sensor and the shielding object and the preset distance between the proximity sensor and the shielding object when the mobile terminal is turned off or on; the screen control module is used for sending a comparison signal to the central processing unit when the difference value is not zero, and the central processing unit calls a screen control instruction to control the screen of the mobile terminal to be turned off or on;
the method comprises the steps of presetting a distance L between a proximity sensor and a shielding object when a mobile terminal is in screen-off, when the detected distance L1 between the proximity sensor and the shielding object is detected, the distance L1> L when the screen of the mobile terminal cannot be in screen-off, the difference value between L1 and L is △ L1, when the detected distance L2 between the proximity sensor and the shielding object is detected, the screen of the mobile terminal cannot be in screen-off, the distance L2< L, and the difference value between L2 and L is △ L2, when the difference value is not zero, controlling the screen-off of the mobile terminal at the actual distance (L + △ L1) to accelerate the response speed of the proximity sensor of the mobile terminal to enable the screen to enter a screen-off state, and controlling the screen-on of the mobile terminal at the actual distance (L- △ L2) to accelerate the response speed of the proximity sensor of the mobile terminal to enable the screen to enter a screen-on state.
4. The system for accelerating the response speed of the proximity sensor of the mobile terminal according to claim 3, wherein the distance detection module specifically comprises:
the function starting unit is used for starting the function of detecting the shielding object by the proximity sensor in the mobile terminal;
and the sensing detection unit is used for detecting the distance between the obstacle and the proximity sensor when the proximity sensor senses that the obstacle exists in front of the screen of the mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611081635.4A CN106453960B (en) | 2016-11-30 | 2016-11-30 | Method and system for accelerating response speed of proximity sensor of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611081635.4A CN106453960B (en) | 2016-11-30 | 2016-11-30 | Method and system for accelerating response speed of proximity sensor of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453960A CN106453960A (en) | 2017-02-22 |
CN106453960B true CN106453960B (en) | 2020-05-08 |
Family
ID=58222565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611081635.4A Active CN106453960B (en) | 2016-11-30 | 2016-11-30 | Method and system for accelerating response speed of proximity sensor of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453960B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851013A (en) * | 2017-03-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | SOT state of termination determination methods, device and terminal |
CN109683670B (en) * | 2019-01-10 | 2021-12-28 | 京东方科技集团股份有限公司 | Display panel and display device |
CN112153217B (en) * | 2020-09-17 | 2022-06-10 | Oppo广东移动通信有限公司 | Terminal, screen state control method, computer device, and storage medium |
CN113132535B (en) * | 2021-04-23 | 2023-07-14 | 广州众恩数智技术有限公司 | Screen state control method and device, storage medium and mobile terminal |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102665008A (en) * | 2012-05-08 | 2012-09-12 | 广东欧珀移动通信有限公司 | Detecting algorithm for infrared proximity sensor of touch screen mobile phone |
CN102917124A (en) * | 2012-09-27 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method for dynamically adjusting threshold of distance sensor, and mobile terminal |
CN102984372A (en) * | 2012-11-21 | 2013-03-20 | 广东欧珀移动通信有限公司 | Method and device for extinguishing and lighting screen and mobile terminal |
CN103581394A (en) * | 2012-08-02 | 2014-02-12 | 希姆通信息技术(上海)有限公司 | Device and method for testing proximity sensor of mobile terminal |
CN105700679A (en) * | 2015-12-31 | 2016-06-22 | 华勤通讯技术有限公司 | Distance detection method, display screen control method and electronic equipment |
KR20160085470A (en) * | 2015-01-08 | 2016-07-18 | 임형열 | Cellular Phone Distance Notification System |
CN105808115A (en) * | 2014-12-31 | 2016-07-27 | 中兴通讯股份有限公司 | Control method and system of terminal, and terminal |
CN105959461A (en) * | 2016-04-14 | 2016-09-21 | 广东欧珀移动通信有限公司 | Screen sensing control method, screen sensing control device and terminal equipment |
CN106101453A (en) * | 2016-08-19 | 2016-11-09 | 青岛海信移动通信技术股份有限公司 | A kind of method controlling screen and terminal |
-
2016
- 2016-11-30 CN CN201611081635.4A patent/CN106453960B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102665008A (en) * | 2012-05-08 | 2012-09-12 | 广东欧珀移动通信有限公司 | Detecting algorithm for infrared proximity sensor of touch screen mobile phone |
CN103581394A (en) * | 2012-08-02 | 2014-02-12 | 希姆通信息技术(上海)有限公司 | Device and method for testing proximity sensor of mobile terminal |
CN102917124A (en) * | 2012-09-27 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method for dynamically adjusting threshold of distance sensor, and mobile terminal |
CN102984372A (en) * | 2012-11-21 | 2013-03-20 | 广东欧珀移动通信有限公司 | Method and device for extinguishing and lighting screen and mobile terminal |
CN105808115A (en) * | 2014-12-31 | 2016-07-27 | 中兴通讯股份有限公司 | Control method and system of terminal, and terminal |
KR20160085470A (en) * | 2015-01-08 | 2016-07-18 | 임형열 | Cellular Phone Distance Notification System |
CN105700679A (en) * | 2015-12-31 | 2016-06-22 | 华勤通讯技术有限公司 | Distance detection method, display screen control method and electronic equipment |
CN105959461A (en) * | 2016-04-14 | 2016-09-21 | 广东欧珀移动通信有限公司 | Screen sensing control method, screen sensing control device and terminal equipment |
CN106101453A (en) * | 2016-08-19 | 2016-11-09 | 青岛海信移动通信技术股份有限公司 | A kind of method controlling screen and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106453960A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453960B (en) | Method and system for accelerating response speed of proximity sensor of mobile terminal | |
CN102055836B (en) | Mobile terminal with action recognition function and action recognition method thereof | |
US10261612B2 (en) | Apparatus and method for recognizing proximity motion using sensors | |
US10088290B2 (en) | Apparatus and method for performing proximity detection according to capacitive sensing output and status output | |
US20160150399A1 (en) | Method for preventing call-up operation errors and system using the same | |
KR20150016568A (en) | Screen control method and terminal | |
US9362907B2 (en) | Method of dynamically adjusting threshold values and related electronic device | |
US9274589B2 (en) | Touch sensing system and method for providing proximity sensing function using touch screen panel | |
CN104035555A (en) | System, Information Processing Apparatus, And Information Processing Method | |
JP2018511892A (en) | Gesture control method, apparatus, terminal device, and storage medium | |
CN103869947A (en) | Method for controlling electronic device and electronic device | |
US11528028B2 (en) | Touch-based control device to detect touch input without blind spots | |
JP2014174617A (en) | Electronic apparatus and method of coordinate detection | |
CN112987948B (en) | Detection method and electronic equipment | |
JP2014010650A (en) | Information processing apparatus and control method of the same | |
CN107040657B (en) | Method and device for preventing touch screen from being triggered mistakenly | |
US9116575B2 (en) | Capacitance sensing circuit and power supplying apparatus utilizing the capacitance sensing circuit | |
CN104951076A (en) | Gesture direction recognition system and method | |
US9285918B2 (en) | Information processing apparatus including touch panel for detecting user operation | |
US10073564B2 (en) | Input device, control method of input device, and program | |
US9784834B2 (en) | Image sensing apparatus and operations using burst mode | |
JP6559030B2 (en) | Communication terminal device | |
KR102006782B1 (en) | Control method for display device of mobile device | |
TWI613567B (en) | Mobile device and proximity detection method | |
CN105931182B (en) | Image zooming method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230425 Address after: 030000 C701, Shanxi'an Taixin Science and Technology Industrial Park, No. 12, Dachang South Road, Tanghuai Industrial Park, Shanxi Transformation Comprehensive Reform Demonstration Zone, Taiyuan, Shanxi Patentee after: Shanxi Boteng Technology Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |