CN109254689B - Proximity detection method and device - Google Patents

Proximity detection method and device Download PDF

Info

Publication number
CN109254689B
CN109254689B CN201811124423.9A CN201811124423A CN109254689B CN 109254689 B CN109254689 B CN 109254689B CN 201811124423 A CN201811124423 A CN 201811124423A CN 109254689 B CN109254689 B CN 109254689B
Authority
CN
China
Prior art keywords
self
application
detection
data
contained
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
CN201811124423.9A
Other languages
Chinese (zh)
Other versions
CN109254689A (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 CN201811124423.9A priority Critical patent/CN109254689B/en
Publication of CN109254689A publication Critical patent/CN109254689A/en
Application granted granted Critical
Publication of CN109254689B publication Critical patent/CN109254689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a proximity detection method and a proximity detection device, wherein the method comprises the following steps: detecting an application database according to a preset suspension function, and acquiring a self-contained detection parameter corresponding to the current application of the terminal equipment; acquiring self-capacitance data of a touch screen of the terminal equipment according to the self-capacitance detection parameters; and if the proximity state is determined according to the self-contained data, performing corresponding operation according to a control instruction corresponding to the current application. Therefore, the self-capacitance detection parameters of the collected self-capacitance data are adapted according to the current application of the terminal equipment, and the reasonable utilization and allocation of resources are realized while the accuracy of determining the detection event is ensured.

Description

Proximity detection method and device
Technical Field
The present application relates to the field of terminal device control technologies, and in particular, to a proximity detection method and apparatus.
Background
With the progress of the manufacturing technology of the terminal device, the terminal device may implement a proximity event recognition function based on the proximity sensor, for example, to avoid false triggering of the touch screen, recognize the distance from an external object to the touch screen based on the proximity sensor, and perform false triggering processing when the distance is short.
However, in the related art, the infrared sensor detects the proximity event when the touch screen is on, which may cause screen flicking of the touch screen and require a hole to be formed in the touch screen, and on the other hand, when the infrared sensor detects the proximity event, the infrared light is easily absorbed by a black object, which may result in low detection accuracy.
Content of application
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
An embodiment of a first aspect of the present application provides a proximity detection method, including the following steps: detecting an application database according to a preset suspension function, and acquiring a self-contained detection parameter corresponding to the current application of the terminal equipment; acquiring self-capacitance data of the touch screen of the terminal equipment according to the self-capacitance detection parameters; and if the self-contained data is determined to be in the close state, performing corresponding operation according to a control instruction corresponding to the current application.
The embodiment of the second aspect of the application provides a proximity detection device, which comprises an acquisition module, a detection module and a detection module, wherein the acquisition module is used for detecting an application database according to a preset suspension function and acquiring self-contained detection parameters corresponding to the current application of terminal equipment; the acquisition module is used for acquiring the self-capacitance data of the touch screen of the terminal equipment according to the self-capacitance detection parameters; and the processing module is used for carrying out corresponding operation according to the control instruction corresponding to the current application when the proximity state is determined according to the self-contained data.
An embodiment of a third aspect of the present application provides a terminal device, 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 proximity detection method according to the foregoing embodiment of the first aspect.
An embodiment of a fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the proximity detection method according to the embodiment of the first aspect.
The technical scheme provided by the application at least comprises the following beneficial effects:
the method comprises the steps of detecting an application database according to a preset suspension function, obtaining self-contained detection parameters corresponding to current application of the terminal equipment, collecting self-contained data of a touch screen of the terminal equipment according to the self-contained detection parameters, and performing corresponding operation according to a control instruction corresponding to the current application if the touch screen is determined to be in a close state according to the self-contained data. Therefore, the self-capacitance detection parameters of the collected self-capacitance data are adapted according to the current application of the terminal equipment, and the reasonable utilization and allocation of resources are realized while the accuracy of determining the detection event is ensured.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a proximity detection method according to one embodiment of the present application;
FIG. 2 is a schematic diagram of an application scenario of a proximity detection method according to an embodiment of the present application;
FIG. 3 is a schematic plan view of a terminal device according to some embodiments of the present application;
FIG. 4 is a schematic cross-sectional view of a terminal device according to some embodiments of the present application;
FIG. 5 is another schematic cross-sectional view of a terminal device according to some embodiments of the present application; and
fig. 6 is a schematic structural diagram of a proximity detection apparatus according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
As mentioned in the background, the terminal device uses an infrared sensor disposed in an opening of the screen to detect a proximity event, however, this approach has significant drawbacks in terms of recognition accuracy and current touch screen opening.
In order to solve the technical problems, the application provides a proximity sensor based on touch screen registration as virtual, and a detection mode of a proximity event is realized by reading capacitance data of the touch screen.
The touch screen in the embodiment of the application is a capacitive screen which is self-integrated, self-capacitance data and mutual capacitance data on the touch screen can be detected, and the judgment of the proximity event is accurately performed based on the combination of the self-capacitance data and the mutual capacitance data. The method comprises the steps of acquiring self-contained data, judging whether the self-contained data is close to a certain condition, and acquiring self-contained detection parameters of the self-contained data according to the self-contained detection parameters of the self-contained data.
A proximity detection method and apparatus of an embodiment of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a proximity detection method according to one embodiment of the present application, as shown in fig. 1, the method including:
step 101, detecting an application database according to a preset suspension function, and acquiring a self-contained detection parameter corresponding to a current application of a terminal device.
It should be understood that, in the actual implementation process, the applications currently running on the terminal device have different requirements on the detection sensitivity of the proximity event, for example, a game application based on proximity sensing (for example, once proximity is detected, light color change is performed to create a magic color effect) may have the highest requirement on the detection sensitivity of the proximity event, an application with a higher risk of false touch based on a phone, etc., an application with a higher requirement on the detection sensitivity of the proximity event, an application with a lower risk of false touch based on a WeChat, etc., and a detection sensitivity requirement on the proximity event may be lower, etc., so in the embodiment of the present application, in order to meet different requirements of different applications on the detection sensitivity of the proximity event, a suspension function detection application database is constructed in advance according to a large amount of experimental data, and includes a corresponding relationship between the application and a self-contained detection parameter representing the detection sensitivity of the proximity event, and detecting the application database according to the preset suspension function, so as to obtain the self-contained detection parameters corresponding to the current application of the terminal equipment.
It should be noted that, in different application scenarios, the self-contained detection parameters are different, and examples are described as follows:
example one:
in this example, the self-contained detection parameters include scan time or scan frequency.
Specifically, the floating function detection application database stores the scanning time of the self-contained data or the corresponding relationship between the scanning frequency and the application identifier, where the application identifier includes querying the floating function detection application database according to the application identifier of the current application of the terminal device, and acquiring the scanning time or the scanning frequency of the self-contained data corresponding to the current application. For example, the scanning time for acquiring the self-contained data corresponding to the calling application is 16ms, or the scanning frame rate for acquiring the self-contained data corresponding to the calling application is 180 HZ.
Example two:
in this example, the self-contained detection parameter includes a self-contained data frame number.
Specifically, the floating function detection application database stores a corresponding relationship between the self-contained data frame number and an application identifier, wherein the application identifier comprises the self-contained data frame number corresponding to the current application obtained by querying the floating function detection application database according to the application identifier of the current application of the terminal device. For example, the number of frames of the self-contained data corresponding to the calling application is acquired as 16 frames, and the sensitivity of detection is improved by increasing the number of frames of the self-contained data by keeping the scanning time constant.
And step 102, acquiring self-contained data of the touch screen of the terminal equipment according to the self-contained detection parameters.
It should be emphasized that, in the embodiment of the present application, considering that the mutual capacitance data is stable but the detection distance is short, the self-capacitance data can identify a proximity event in a large range, for example, the proximity event in a range of 1.4 centimeters, and thus, the self-capacitance data of the touch screen of the terminal device is collected according to the self-capacitance detection parameters, so as to facilitate the detection of the proximity event according to the self-capacitance data.
Of course, in one embodiment of the present application, in consideration of the relatively stable mutual capacitance data, the mutual capacitance data is scanned and acquired in a period close to the data scanning period and in the non-self-capacitance data scanning time, therefore, by increasing the proportion of self-content data in one scanning period and keeping the scanning time of mutual-content data, the accuracy of detecting the approach event is improved, but also ensures the stability of the acquisition of the proximity data and the accuracy of the reporting point, for example, as shown in figure 2, when a period close to the data scanning period is 66ms, and the current application is a telephony application, compared with the mode of directly adopting 58ms mutual capacity data scanning and 8ms self capacity data scanning, the scanning duration of the self-content data is increased to 16ms, the scanning duration of the mutual-content data is reduced to 50ms, therefore, the accuracy of the detection of the approach event is improved, and the stability of the acquisition of the approach data is ensured.
And 103, if the proximity state is determined according to the self-contained data, performing corresponding operation according to a control instruction corresponding to the current application.
Specifically, if the self-capacitance data is determined to be in the proximity state, for example, a difference value between the self-capacitance data and the reference self-capacitance data is smaller than a preset threshold, it indicates that an external object is close to the touch screen, which may cause a false touch and affect the operation of the current application, so that a corresponding operation is performed according to a control instruction corresponding to the current application.
In an embodiment of the application, an application list of a first application is preset, where the first application corresponds to an application that needs to detect that a proximity event is proximity and avoids mistakenly touching and controlling a touch screen of a terminal device to be turned off, and when the current application is the first application, for example, when the first application is detected to be a phone application according to an application identifier, the touch screen of the terminal device is controlled to be turned off according to a screen turning-off instruction.
In an embodiment of the application, an application list of a first application is preset, where the first application corresponds to an application that needs to detect that a proximity event is proximity and avoids mistakenly touching and controlling a touch screen of a terminal device to be turned off, and when the current application is the first application, for example, when the first application is detected to be a phone application according to an application identifier, the touch screen of the terminal device is controlled to be turned off according to a screen turning-off instruction.
In an embodiment of the application, an application list of a second application is preset, where the second application corresponds to an application that needs to switch a playback mode to an earpiece playback mode when a proximity event needs to be detected as proximity, in order to protect user privacy, and the like, and when the current application is the second application, for example, when the second application is detected as a phone application according to an application identifier, the current application is controlled to be switched from the speaker playback mode to the earpiece playback mode according to a playback mode switching instruction.
In order to make the structure of the terminal device in the embodiments of the present application more clearly understood by those skilled in the art, the following describes the structure of the terminal device in some possible examples with reference to specific examples, and the following description refers to:
referring to fig. 3 to fig. 5, a terminal device 100 is provided in the present embodiment. The terminal device 100 comprises a touch screen 103 (target hardware element), a proximity sensor element 16, a light sensor 5 and a processor 23, the touch screen 103 comprises a display layer 13, the display layer 13 comprises a display area 1311, the proximity sensor element 16 is arranged below the display area 1311, thereby reducing the open hole of the terminal device, and the proximity sensor element 16 is used for emitting infrared light and receiving infrared light reflected by an object to detect the distance of the object to the terminal device 100.
The embodiment of the present application takes the terminal device 100 as a mobile phone as an example for application. The mobile phone can prevent misoperation of a user and is beneficial to saving the electric quantity of the mobile phone by arranging the proximity sensor element 16 to determine the distance between the mobile phone and the obstacle and making corresponding adjustment. When the user is answering or making a call and brings the mobile phone close to the head, the proximity sensor element 16 generates detection information by counting the time when the transmitter emits infrared light and the receiver receives reflected infrared light, and the processor 23 turns off the display layer 13 according to the detection information. When the mobile phone is far away from the head, the processor 23 turns on the display layer 13 again according to the detection information fed back by the proximity sensor element 16.
In some embodiments, the display layer 13 comprises an OLED display layer.
Specifically, the OLED display layer has good light transmittance and can better transmit visible light and infrared light. Thus, the OLED display layer may exhibit content effects without affecting the emission and reception of infrared light by the proximity sensor elements 16. The display layer 13 may also be a Micro LED display layer, which also has good transmittance to visible light and infrared light. Of course, these display layers are merely exemplary and embodiments of the present application are not limited thereto. In addition, the display layer 13 may be disposed on the case 20. In this example, the detection of the proximity event is not performed by an infrared proximity sensor, but only one structure of the terminal device applicable to the embodiment of the present application is applied in this example
Referring to fig. 5, in some embodiments, the touch display screen 103 further includes a light-transmissive cover 11 and a touch layer 12. The light-transmitting cover plate 11 is arranged on the touch layer 12, the touch layer 12 is arranged on the display layer 13, the upper surface 131 of the display layer 13 faces the touch layer 12, and the light transmittance of the light-transmitting cover plate 11 and the touch layer 12 to visible light and infrared light is greater than 90%.
Specifically, the touch layer 12 is mainly used for receiving a user input signal and transmitting the user input signal to the circuit board for data processing, so as to obtain a specific position where the user touches the touch layer 12. It should be noted that the touch layer 12 is disposed On the display layer 13, which means that the touch layer 12 is In contact with the display layer 13, for example, In-Cell or On-Cell bonding technology can be used to bond the touch layer 12 and the display layer 13, which can effectively reduce the weight of the display layer 13 and the overall thickness of the display layer 13. The touch layer 12 being disposed on the display layer 13 may also mean that the touch layer 12 is disposed above the display layer 13 and spaced apart from the display layer 13.
In addition, the transparent cover plate 11 is disposed on the touch layer 12, so that the touch layer 12 and the internal structure thereof can be effectively protected, and the touch layer 12 and the display layer 13 are prevented from being damaged by external force. The light transmittance of the light-transmitting cover plate 11 and the light transmittance of the touch layer 12 to visible light and infrared light are both greater than 90%, which is not only beneficial for the display layer 13 to better show the content effect, but also beneficial for the proximity sensor element 16 arranged below the display layer 13 to stably emit and receive infrared light, and ensures the normal operation of the proximity sensor element 16.
In the embodiment of the present application, the touch layer 12 is composed of a capacitive plate, so in the implementation of the present application, the touch screen 103 may also be registered as a virtual sensor element, and when the screen is in a bright screen state, a proximity event is determined by a weak variation of a capacitance detected by the touch layer 12, where an electrode array included in the capacitive plate may implement detection of self-capacitance data and may also implement detection of mutual capacitance data.
To sum up, the approach detection method according to the embodiment of the present application obtains the self-contained detection parameters corresponding to the current application of the terminal device according to the preset suspension function detection application database, collects the self-contained data of the touch screen of the terminal device according to the self-contained detection parameters, and further performs corresponding operations according to the control instruction corresponding to the current application if the approach state is determined according to the self-contained data. Therefore, the self-capacitance detection parameters of the collected self-capacitance data are adapted according to the current application of the terminal equipment, and the reasonable utilization and allocation of resources are realized while the accuracy of determining the detection event is ensured.
In order to implement the above embodiments, the present application further provides a proximity detection apparatus, and fig. 6 is a schematic structural diagram of the proximity detection apparatus according to an embodiment of the present application, and as shown in fig. 6, the proximity detection apparatus includes: an acquisition module 1000, an acquisition module 2000, and a processing module 3000.
The obtaining module 1000 is configured to obtain a self-contained detection parameter corresponding to a current application of the terminal device according to a preset suspension function detection application database.
And the acquisition module 2000 is configured to acquire the self-contained data of the touch screen of the terminal device according to the self-contained detection parameters.
And the processing module 3000 is configured to perform corresponding operations according to the control instruction corresponding to the current application when the proximity state is determined according to the self-contained data.
In an embodiment of the present application, the obtaining module 1000 is specifically configured to query a suspension function detection application database according to an application identifier of a current application of a terminal device, and obtain a scanning time or a scanning frequency of self-contained data corresponding to the current application.
To sum up, the proximity detection device according to the embodiment of the present application obtains the self-capacitance detection parameters corresponding to the current application of the terminal device according to the preset suspension function detection application database, collects the self-capacitance data of the touch screen of the terminal device according to the self-capacitance detection parameters, and then performs corresponding operations according to the control instruction corresponding to the current application if the proximity state is determined according to the self-capacitance data. Therefore, the self-capacitance detection parameters of the collected self-capacitance data are adapted according to the current application of the terminal equipment, and the reasonable utilization and allocation of resources are realized while the accuracy of determining the detection event is ensured.
In order to implement the foregoing embodiment, the present application further provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, implement the proximity detection method as described in the previous embodiments.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the proximity detection method as proposed by the foregoing embodiments of the present application.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this application, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this application can be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this application, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (8)

1. A proximity detection method, comprising the steps of:
detecting an application database according to a preset suspension function, and acquiring a self-contained detection parameter corresponding to the current application of the terminal equipment;
acquiring self-capacitance data of the touch screen of the terminal equipment according to the self-capacitance detection parameters, wherein the self-capacitance detection parameters comprise self-capacitance data frame numbers;
acquiring mutual capacitance data of the touch screen of the terminal equipment in non-self-capacitance data scanning time in a proximity data scanning period so as to improve the detection sensitivity by increasing the number of self-capacitance data frames;
and if the self-contained data is determined to be in the close state, performing corresponding operation according to a control instruction corresponding to the current application.
2. The method of claim 1, wherein when the self-contained detection parameters include the self-contained data scan time, further comprising:
and acquiring mutual capacitance data of the touch screen of the terminal equipment in non-self-capacitance data scanning time in a proximity data scanning period, so as to improve the detection sensitivity by increasing the scanning time of the self-capacitance data in the proximity data scanning period and correspondingly reducing the scanning time of the mutual capacitance data.
3. The method of claim 1, wherein the obtaining self-contained detection parameters corresponding to a current application of the terminal device according to a preset suspension function detection application database comprises:
and inquiring the suspension function detection application database according to the application identifier of the current application of the terminal equipment, and acquiring the number of self-contained data frames in a preset time length corresponding to the current application.
4. The method of claim 1, wherein when the current application is a first application, performing corresponding operations according to a control instruction corresponding to the current application comprises:
and controlling the touch screen of the terminal equipment to be turned off according to the screen turning-off instruction.
5. The method of claim 1, wherein when the current application is a second application, performing corresponding operations according to a control instruction corresponding to the current application comprises:
and controlling the current application to be switched from a loudspeaker playing mode to a receiver playing mode according to the playing mode switching instruction.
6. A proximity detection device, comprising:
the acquisition module is used for detecting the application database according to a preset suspension function and acquiring self-contained detection parameters corresponding to the current application of the terminal equipment;
the acquisition module is used for acquiring self-contained data of the touch screen of the terminal equipment according to the self-contained detection parameters, and the self-contained detection parameters comprise self-contained data frame numbers; and
acquiring mutual capacitance data of the touch screen of the terminal equipment in non-self-capacitance data scanning time in a proximity data scanning period so as to improve the detection sensitivity by increasing the number of self-capacitance data frames;
and the processing module is used for carrying out corresponding operation according to the control instruction corresponding to the current application when the proximity state is determined according to the self-contained data.
7. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the proximity detection method according to any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the proximity detection method according to any one of claims 1 to 5.
CN201811124423.9A 2018-09-26 2018-09-26 Proximity detection method and device Active CN109254689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811124423.9A CN109254689B (en) 2018-09-26 2018-09-26 Proximity detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811124423.9A CN109254689B (en) 2018-09-26 2018-09-26 Proximity detection method and device

Publications (2)

Publication Number Publication Date
CN109254689A CN109254689A (en) 2019-01-22
CN109254689B true CN109254689B (en) 2022-02-18

Family

ID=65047045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811124423.9A Active CN109254689B (en) 2018-09-26 2018-09-26 Proximity detection method and device

Country Status (1)

Country Link
CN (1) CN109254689B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3726349A1 (en) 2019-03-04 2020-10-21 Shenzhen Goodix Technology Co., Ltd. Methods and devices for suspension state determination and suspension compensation of touch screen
CN112445361B (en) * 2019-09-02 2023-03-28 Oppo(重庆)智能科技有限公司 Touch screen resetting method, touch screen and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833389A (en) * 2011-06-15 2012-12-19 比亚迪股份有限公司 Mobile terminal and energy conservation method therefor
CN104375682A (en) * 2013-08-16 2015-02-25 奇景光电股份有限公司 Touch panel implementing short-range detection and using method of touch panel
CN106062686A (en) * 2014-03-05 2016-10-26 三星电子株式会社 Method and apparatus for detecting user input in an electronic device
CN107066090A (en) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 The method and mobile terminal of a kind of control fingerprint recognition module
CN107783694A (en) * 2017-09-20 2018-03-09 努比亚技术有限公司 A kind of sensitivity of touch screen adjusting method, terminal and computer-readable recording medium
CN108334228A (en) * 2018-01-30 2018-07-27 厦门天马微电子有限公司 Touch screen and its driving method, touch device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9851834B2 (en) * 2013-09-10 2017-12-26 Alsentis, Llc Time domain differential techniques to characterize various stimuli
CN107301005B (en) * 2016-04-14 2020-04-07 中强光电股份有限公司 Method for determining touch position and touch projection system using same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833389A (en) * 2011-06-15 2012-12-19 比亚迪股份有限公司 Mobile terminal and energy conservation method therefor
CN104375682A (en) * 2013-08-16 2015-02-25 奇景光电股份有限公司 Touch panel implementing short-range detection and using method of touch panel
CN106062686A (en) * 2014-03-05 2016-10-26 三星电子株式会社 Method and apparatus for detecting user input in an electronic device
CN107066090A (en) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 The method and mobile terminal of a kind of control fingerprint recognition module
CN107783694A (en) * 2017-09-20 2018-03-09 努比亚技术有限公司 A kind of sensitivity of touch screen adjusting method, terminal and computer-readable recording medium
CN108334228A (en) * 2018-01-30 2018-07-27 厦门天马微电子有限公司 Touch screen and its driving method, touch device

Also Published As

Publication number Publication date
CN109254689A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN109144224B (en) Power consumption optimization method and device for touch screen
CN107943345B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN109271019B (en) Proximity event detection element switching control method and apparatus
CN108881645B (en) Screen control method and device for mobile phone call
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
WO2018145555A1 (en) Display screen state control method and apparatus, storage medium, and electronic device
EP2288981A1 (en) Touch button false activation suppression
US11941910B2 (en) User interface display method of terminal, and terminal
CN107463290B (en) Response control method and device for touch operation, storage medium and mobile terminal
CN109254689B (en) Proximity detection method and device
US20170060301A1 (en) Method and apparatus for setting sensing threshold for a touch screen
CN109194833B (en) Screen control method and device for mobile phone call
US9594407B2 (en) Electronic device and coordinate detection method
CN110309752B (en) Ultrasonic processing method, ultrasonic processing apparatus, storage medium, and electronic device
CN105765508B (en) Terminal, terminal control mechanism and method
KR101952342B1 (en) Off-center sensor target region
CN109002339A (en) touch operation method, device, storage medium and electronic equipment
CN109254684A (en) Touchscreen events report method and its device, terminal device, storage medium
EP3832446A1 (en) Method and device for fingerprint acquisition, and touchpad
CN109388286B (en) Proximity state judgment method and device
CN109254656B (en) Proximity detection method and device
US9417782B2 (en) Portable terminal, input control program, and input control method
KR101678390B1 (en) Apparatus and method for driving of communication terminal
CN106775308B (en) proximity sensor switching method and device and terminal
CN109271061B (en) Screen flicker processing method and device

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