CN103841263A - Distance sensor scheme achieved based on CTP - Google Patents

Distance sensor scheme achieved based on CTP Download PDF

Info

Publication number
CN103841263A
CN103841263A CN201410054410.4A CN201410054410A CN103841263A CN 103841263 A CN103841263 A CN 103841263A CN 201410054410 A CN201410054410 A CN 201410054410A CN 103841263 A CN103841263 A CN 103841263A
Authority
CN
China
Prior art keywords
ctp
enter
executed
face
lcd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410054410.4A
Other languages
Chinese (zh)
Inventor
赵进
王玉路
杜旭
彭广溢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai lucky Communication Technology Co., Ltd.
Original Assignee
Shanghai Chinapalms Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chinapalms Communication Technology Co Ltd filed Critical Shanghai Chinapalms Communication Technology Co Ltd
Priority to CN201410054410.4A priority Critical patent/CN103841263A/en
Publication of CN103841263A publication Critical patent/CN103841263A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a distance sensor scheme achieved based on a CTP. The distance sensor scheme is characterized by comprising the following the steps that A, the CTP is initialized; B, two input devices are established for a TP and a PS respectively; C, a PS control node is established; D, the CTP is in the touch mode; E, whether a call comes in or not is judged, if yes, the step F is executed, and if not, the step D is executed; F, whether the CTP is in the PS working state or not is judged, if yes, the step H is executed, and if not, the step D is executed; H, whether the CTP is close to or away from the face is judged, if the CTP is close to the face, an LCD is in the dark state, and if the CTP is away from the face, the LCD is awakened; G, communication is finished, and the step D is executed again. A novel software control system is provided, the CTP can achieve practicability of man-machine interaction between a user and a mobile phone terminal and can also simulate the distance sensing function during phone communication, and the cost of the whole mobile phone is reduced.

Description

A kind of range sensor scheme realizing based on CTP
Technical field
The present invention relates to a kind of based on CTP(capacitance touch screen) the range sensor scheme that realizes.
Background technology
Current, smart mobile phone all adopts CTP touch-screen to be used as man-machine inputting equipment, and for avoiding in communication process because facial contact CTP causes false triggering problem, design is to increase the problem that range sensor is evaded false triggering conventionally.Generally, design is to use digital Distance sensor chip, and the method can more effectively be evaded the problem of CTP false triggering, and shortcoming is that mainboard needs the extra chips that increases, and chip selection is RPR400, and design cost increases by 0.3 dollar; In addition, this scheme also requires very high to structure seal, need to rationally open loophole with a black gum cover and CTP and evade range sensor transmitting-receiving optical crosstalk and cause malfunctioning problem, generally, the cost of gum cover is 0.02 dollar, and CTP opens 0.15 dollar of loophole cost.The complete machine cost increase that uses traditional range sensor scheme to introduce is 0.47 dollar.At some, for the very responsive low order complete machine scheme of cost, the cost that traditional range sensor scheme increases is very large to complete machine cost impact, so, as why not increased design cost, also can realize range sensor scheme.
Summary of the invention
The object of the present invention is to provide a kind of range sensor scheme realizing based on CTP touch-screen, substituted traditional infrared apart from inductive scheme, reduced mobile phone overall design cost.
To achieve these goals, technical scheme of the present invention is as follows: a kind of range sensor scheme realizing based on CTP touch-screen, is characterized in that this scheme comprises the following steps: A, CTP initialization; B, two input equipments of establishment, respectively for TP and PS; C, establishment PS control node; D, CTP enter touch mode; E, judged whether incoming call or call out, if enter F, enter if not D; F, judge whether CTP enters PS operating conditions, enter in this way H, as otherwise D; H, judge TCP be approach or leave face, as approach face LCD enter the screen state that goes out, as leave face change wake up LCD; G, end of conversation, enter D.
The variation of method for designing based on CTP capacitance herein, in communication process, by the pattern recognition CTP that determined whether facial contact, realizes the function of simulated range transducer with this.Specifically, under normal conditions, user is in the time of operation CTP, and just one or several is pointed, and scope is less, can think the contact event of a small size; And in communication process, human face and CTP contact area are very large, it is a large-area contact event.Because of the difference of two kinds of contact events, the variation of the CTP capacitance of initiation has larger difference, by this method, CTP is switched to different mode of operation (touch mode of operation and distance perspective and answer mode of operation).
On software, after removing range sensor equipment, in Android systems soft ware, just lack the control logic that distance perspective is answered, therefore, CTP equipment is invented to two virtual input devices (linux input equipment), guarantee that two virtual units all normally work, and do not occur phase mutual interference.The design's method provides a kind of software control system of novelty, allows CTP can meet the practicality of user and mobile phone terminal man-machine interaction, again can be in the time making a phone call simulated range inducing function, reduced the complete machine cost of mobile phone.
Accompanying drawing explanation
Fig. 1 is the flow chart of the specific embodiment of the invention.
Embodiment
Remarks: for convenience of style of writing, below range sensor-Proximity Sensor be abbreviated as PS, touch-screen-Touch Panel is abbreviated as TP.
The design's method, based on Android system, needs to change kernel(kernel) drive and HAL(hardware abstraction layer).
Following according to flow chart, method for designing is described further.
First 3 work in the middle of Kernel, have been needed
1, CTP starts initialization, complete power on, the action such as RST;
2,, in CTP facility registration, register two input equipment, respectively for TP and PS simultaneously;
3, be that PS equipment creates one and controls node, call for HAL, be used for opening, closing PS.
After Kernel phased mission completes, HAL can start the work that adapter state switches.Each user's start, TP starts to enter normal touch mode of operation.In use procedure, if any incoming call or call, HAL layer can call PS and control node, starts to allow the work of PS virtual unit, and then whether CTP enters PS operating conditions (for example loud speaker call mode, PS just can not be activated) according to condition judgment.
As entered PS operating conditions, human face is as close CTP, and LCD enters the screen state that goes out, and reduces power consumption; When people's ear leaves CTP, LCD can be waken up, normal display frame.So repeatedly, until end of conversation, CTP exits PS operating conditions, comes back to touch mode of operation.
By Kernel, the cooperation in two stages of HAL, whole virtual unit just can normally be worked.Due to method simple practical, this design is suitable for most CTP on Vehicles Collected from Market.

Claims (1)

1. the range sensor scheme realizing based on CTP touch-screen, is characterized in that this scheme comprises the following steps: A, CTP initialization; B, two input equipments of establishment, respectively for TP and PS; C, establishment PS control node; D, CTP enter touch mode; E, judged whether incoming call or call out, if enter F, enter if not D; F, judge whether CTP enters PS operating conditions, enter in this way H, as otherwise D; H, judge TCP be approach or leave face, as approach face LCD enter the screen state that goes out, as leave face change wake up LCD; G, end of conversation, enter D.
CN201410054410.4A 2014-02-18 2014-02-18 Distance sensor scheme achieved based on CTP Pending CN103841263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410054410.4A CN103841263A (en) 2014-02-18 2014-02-18 Distance sensor scheme achieved based on CTP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410054410.4A CN103841263A (en) 2014-02-18 2014-02-18 Distance sensor scheme achieved based on CTP

Publications (1)

Publication Number Publication Date
CN103841263A true CN103841263A (en) 2014-06-04

Family

ID=50804377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410054410.4A Pending CN103841263A (en) 2014-02-18 2014-02-18 Distance sensor scheme achieved based on CTP

Country Status (1)

Country Link
CN (1) CN103841263A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965509A (en) * 2018-06-15 2018-12-07 Oppo广东移动通信有限公司 Electronic equipment, screen control method and Related product
CN111104012A (en) * 2019-12-12 2020-05-05 惠州Tcl移动通信有限公司 Distance measuring method and device, storage medium and terminal equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442134A (en) * 2013-08-19 2013-12-11 惠州Tcl移动通信有限公司 Method and system for achieving switch function of touch screen of mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442134A (en) * 2013-08-19 2013-12-11 惠州Tcl移动通信有限公司 Method and system for achieving switch function of touch screen of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965509A (en) * 2018-06-15 2018-12-07 Oppo广东移动通信有限公司 Electronic equipment, screen control method and Related product
CN108965509B (en) * 2018-06-15 2020-07-17 Oppo广东移动通信有限公司 Electronic equipment, screen control method and related product
CN111104012A (en) * 2019-12-12 2020-05-05 惠州Tcl移动通信有限公司 Distance measuring method and device, storage medium and terminal equipment
CN111104012B (en) * 2019-12-12 2021-06-15 惠州Tcl移动通信有限公司 Distance measuring method and device, storage medium and terminal equipment
WO2021114478A1 (en) * 2019-12-12 2021-06-17 惠州Tcl移动通信有限公司 Ranging method and apparatus thereof, storage medium, and terminal device
US11914813B2 (en) 2019-12-12 2024-02-27 Huizhou Tcl Mobile Communication Co., Ltd Ranging method and apparatus thereof, storage medium, and terminal device

Similar Documents

Publication Publication Date Title
CN209248472U (en) A kind of control system of vehicular touch screen
CN104683598B (en) Proximity transducer threshold value adjusting method, device and smart machine
JP2022522455A (en) Photoelectric fingerprint identification device, terminal and fingerprint identification method
CN106991387A (en) A kind of full frame fingerprint collecting method and mobile terminal
CN106775423A (en) A kind of mobile terminal peripheral input device and mobile terminal
CN103347134B (en) A kind of control system and control method based on mobile terminal key
CN105739700B (en) A kind of method and device for opening notice
CN104503699B (en) A kind of contactless space gesture intelligent lock system and its operating method
CN105279477A (en) Electronic device having fingerprint sensing function and call method of application program thereof
CN106203034B (en) A kind of unlocked by fingerprint method and terminal
CN106127000B (en) A kind of unlocked by fingerprint method and terminal
CN106856539A (en) A kind of information processing method and electronic equipment
CN204810331U (en) Cell -phone pressure touch devices
CN103838577A (en) Breaking news processing method and terminal
CN104090633A (en) Mobile device protective cover and method for enabling touch screen mobile device to be in dormant state
CN109144454A (en) double-sided screen display control method and related product
CN110780769A (en) Control method, control device, wearable device and medium
CN107357425A (en) A kind of touch-control feedback device, electronic equipment and touch-control feedback method
CN106022074B (en) A kind of unlocked by fingerprint method and terminal
CN108616650B (en) Dust removal method and mobile terminal
CN109686352A (en) Protective device and exchange method for radio equipment
CN103841263A (en) Distance sensor scheme achieved based on CTP
CN104079284A (en) Key module based on piezoresistive sensor and control method of key module
CN107168566A (en) Operator schema control method, device and terminal electronic device
WO2010014143A3 (en) Mobile banking architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160810

Address after: 201302, room 5, No. 5388, Lane 208, Dongda Road, Nanhui new town, Shanghai, Pudong New Area, -7

Applicant after: Shanghai lucky Communication Technology Co., Ltd.

Address before: Zuchongzhi road in Pudong New Area Zhangjiang hi tech park Shanghai 201203 Lane 1505, No. 80 building 12 layer 2

Applicant before: SHANGHAI CHINAPALMS COMMUNICATION TECHNOLOGY CO., LTD.

RJ01 Rejection of invention patent application after publication

Application publication date: 20140604

RJ01 Rejection of invention patent application after publication