CN102843469A - Method for setting threshold of infrared proximity sensor and mobile terminal - Google Patents

Method for setting threshold of infrared proximity sensor and mobile terminal Download PDF

Info

Publication number
CN102843469A
CN102843469A CN2012102927408A CN201210292740A CN102843469A CN 102843469 A CN102843469 A CN 102843469A CN 2012102927408 A CN2012102927408 A CN 2012102927408A CN 201210292740 A CN201210292740 A CN 201210292740A CN 102843469 A CN102843469 A CN 102843469A
Authority
CN
China
Prior art keywords
threshold value
light intensity
intensity level
infrared light
proximity transducer
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
CN2012102927408A
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.)
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 CN2012102927408A priority Critical patent/CN102843469A/en
Publication of CN102843469A publication Critical patent/CN102843469A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for setting a threshold of an infrared proximity sensor and a mobile terminal. The method comprises the following steps of: detecting whether a starting up operation exists; if the starting up operation exists, obtaining an infrared light intensity value sensed by the infrared proximity sensor; and setting a proximity threshold and an away threshold of the infrared proximity sensor according to the infrared light intensity. The method for setting the threshold of the infrared proximity sensor, provided by the invention, can be used for setting the corresponding threshold according to the change of a mobile terminal screen, thus the accuracy of the threshold is improved.

Description

A kind of method and portable terminal that infrared ray proximity transducer threshold value is set
Technical field
The invention belongs to infrared ray proximity transducer field, relate in particular to a kind of method and portable terminal that infrared ray proximity transducer threshold value is set.
Background technology
The capacitance touch screen smart mobile phone causes misoperation for preventing face's contact touch-screen, thereby adopts the infrared ray proximity transducer to respond to when conversation.The infrared ray proximity transducer is made up of infrared LED lamp and infrared light photosensitive sensor, infrared LED emission infrared light; As object near the time, a part of infrared light is reflexed to infrared light transducer[sensor by barrier, infrared light transducer[sensor induces the infrared light intensity level; After infrared light intensity value reaches certain intensity, mobile phone think have this moment object near, in when conversation screen is extinguished; Touch-screen is forbidden the response external action at this moment, causes misoperation because of face contacts with touch-screen when avoiding conversing.
In the whole infrared proximity transducer course of work, need two parameters, near threshold values with away from threshold values, the infrared light intensity that arrives when infrared light sensors greater than near threshold values the time, think have object near, screen extinguishes, touch-screen is forbidden the response external action.The infrared light intensity that arrives when infrared light sensors less than near threshold value the time, think object away from, LCD lights, touch-screen can regular event.
Particular distance is proofreaied and correct machine at present general producer all is placed on mobile phone with the ash card dispatching from the factory before above, reads the infrared light intensity level of infrared light transducer[sensor at this moment, and with this intensity level as benchmark to every machine setting approaching/away from threshold value.
Above-mentioned way is owing to calibrate every machine before need dispatching from the factory; Increased workload and complexity greatly, and because approaching/away from the threshold value preceding setting of dispatching from the factory, changed as some users paste some diaphragms and protect mobile phones if some take place mobile phone; Can cause no object behind the pad pasting near the time the infrared light intensity level preset greater than dispatching from the factory near threshold value; Blank screen when causing conversing, touch-screen can not be operated, and brings puzzlement to the user.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method and portable terminal that infrared ray proximity transducer threshold value is set, and is intended to solve before infrared ray proximity transducer threshold value is dispatched from the factory complicacy is set and the screen change of portable terminal own causes the not generation of high phenomenon of threshold value accuracy.
The embodiment of the invention is achieved in that a kind of method that infrared ray proximity transducer threshold value is set, and uses a portable terminal, and this method may further comprise the steps:
Detect whether a start operation is arranged;
When a start operation is arranged, obtain the infrared light intensity level that the infrared ray proximity transducer senses; And
According to this infrared light intensity level reaching away from threshold value near threshold value of infrared ray proximity transducer is set.
Another purpose of the embodiment of the invention is to provide a kind of portable terminal that infrared ray proximity transducer threshold value is set; It is provided with an infrared ray proximity transducer; This infrared ray proximity transducer is used for sensing infrared light intensity level, and this portable terminal that infrared ray proximity transducer threshold value is set includes:
The start detection module is used for detecting whether a start operation is arranged;
Acquisition module is used for when a start operation is arranged, obtaining the infrared light intensity level that the infrared ray proximity transducer senses; And
Module is set, is used for reaching away from threshold value near threshold value of infrared ray proximity transducer being set according to this infrared light intensity level.
In embodiments of the present invention; The infrared light intensity level of the infrared ray proximity transducer that method and the portable terminal that infrared ray proximity transducer threshold value is set sensed during through start be provided with corresponding approaching/away from threshold value; Can corresponding threshold repeatedly be set according to the variation of mobile terminal screen thus, improve the accuracy of threshold value.
Description of drawings
The method flow diagram that infrared ray proximity transducer threshold value is set that Fig. 1 embodiment of the invention provides.
Fig. 2 is the hardware structure diagram of the portable terminal that infrared ray proximity transducer threshold value is set that provides of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As one embodiment of the present of invention, Fig. 1 shows the method flow diagram that infrared ray proximity transducer threshold value is set that the embodiment of the invention provides, and this method is applied to a portable terminal, and it comprises that specifically step is:
Step S601 detects whether a start operation is arranged.
Step S602 when a start operation is arranged, obtains the infrared light intensity level that the infrared ray proximity transducer senses.
Step S603 is provided with reaching away from threshold value near threshold value of infrared ray proximity transducer according to this infrared light intensity level.
Further, whether this method is further comprising the steps of: detecting has a telephone operation; When telephone operation is arranged, obtain the intensity level that the infrared ray proximity transducer senses; Whether the infrared light intensity level that detection gets access to is greater than near threshold value; And at the infrared light intensity level that gets access to greater than near threshold value the time, the touch-screen of locking portable terminal
Further, this method is further comprising the steps of: when the infrared light intensity level that gets access to is not more than near threshold value, detect the infrared light intensity level get access to whether less than away from threshold value; And at the infrared light intensity level that gets access to less than away from threshold value the time, the touch-screen of release portable terminal.
Further, this method is further comprising the steps of: away from threshold value and between near threshold value the time, do not do any operation at the infrared light intensity level that gets access to.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk, CD etc.
Fig. 2 is the hardware structure diagram of the portable terminal 100 that infrared ray proximity transducer threshold value is set that provides of the embodiment of the invention.In embodiments of the present invention, this portable terminal 100 is provided with an infrared ray proximity transducer 10.Infrared light intensity level when this infrared ray proximity transducer 10 is used for object sensing near portable terminal 100.This portable terminal 100 includes a start detection module 21, an acquisition module 22 and is provided with module 23.
This start detection module 21 is used for detecting whether a start operation is arranged.This acquisition module 22 is used for when a start operation is arranged, obtaining the infrared light intensity level that infrared ray proximity transducer 10 senses.This is provided with module 23 and is used for according to this infrared light intensity level reaching away from threshold value near threshold value of infrared ray proximity transducer 10 being set.
Further, this portable terminal 100 also includes conversation detection module 24, a threshold test module 25 and an Executive Module 26.This conversation detection module 24 is used for detecting whether a telephone operation is arranged.This acquisition module 22 is used for when telephone operation is arranged, and obtains the infrared light intensity level that infrared ray proximity transducer 10 senses.This threshold test module 25 is used to detect the infrared light intensity level that gets access to whether greater than near threshold value.This Executive Module 26 is used at the infrared light intensity level that gets access to greater than near threshold value the time, the touch-screen 30 of locking portable terminal 100.
Further, this threshold test module 25 also is used for when the infrared light intensity level that gets access to is not more than near threshold value, detects the infrared light intensity level get access to whether less than away from threshold value.This Executive Module 26 is used at the infrared light intensity level that gets access to less than away from threshold value the time, the touch-screen 30 of release portable terminal 100.In this execution mode, this Executive Module 26 also is used at the infrared light intensity level that gets access to not doing any operation away from threshold value and between near threshold value the time.
For example, when starting shooting, portable terminal 100 begins to read the infrared light intensity level X of infrared ray proximity transducer 10 at every turn, and being provided with near threshold values is X+N; Away from threshold values is X+M, and N>M wherein is when conversation; The infra-red intensity value>X+M, then lock touch-screen 30, touch-screen 30 can not be operated; When infrared ray intensity X+N, then the release touch-screen 30, touch-screen 30 can be operated.
Method and the portable terminal that infrared ray proximity transducer threshold value is set of the present invention; The infrared light intensity level of the infrared ray proximity transducer that the time is sensed through each start be provided with corresponding approaching/away from threshold value; Can corresponding threshold be set according to the variation of mobile terminal screen thus, improve the accuracy of threshold value, thereby can avoid variation because of mobile terminal screen; Cause the threshold value accuracy lower, and produce the misoperation problem.The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the method that infrared ray proximity transducer threshold value is set is used a portable terminal, it is characterized in that: this method may further comprise the steps:
Detect whether a start operation is arranged;
When a start operation is arranged, obtain the infrared light intensity level that the infrared ray proximity transducer senses; And
According to this infrared light intensity level reaching away from threshold value near threshold value of infrared ray proximity transducer is set.
2. the method that the infrared ray proximity transducer is set as claimed in claim 1 is characterized in that: be provided with according to this infrared light intensity level the infrared ray proximity transducer near threshold value and away from threshold step after, this method is further comprising the steps of:
Whether detect has a telephone operation;
When telephone operation is arranged, obtain the infrared light intensity level that the infrared ray proximity transducer senses;
Whether the infrared light intensity level that detection gets access to is greater than near threshold value; And
At the infrared light intensity level that gets access to greater than near threshold value the time, the touch-screen of locking portable terminal.
3. the method that the infrared ray proximity transducer is set as claimed in claim 2 is characterized in that: whether greater than after near threshold step, this method is further comprising the steps of at infrared light intensity level that detection gets access to:
When the infrared light intensity level that gets access to is not more than near threshold value, detect the infrared light intensity level get access to whether less than away from threshold value; And
At the infrared light intensity level that gets access to less than away from threshold value the time, the touch-screen of release portable terminal.
4. the method that the infrared ray proximity transducer is set as claimed in claim 3 is characterized in that: whether less than after away from threshold step, this method is further comprising the steps of at infrared light intensity level that detection gets access to:
And between the time, do not do any operation at the infrared light intensity level that gets access near threshold value away from threshold value.
5. portable terminal that infrared ray proximity transducer threshold value is set; It is provided with an infrared ray proximity transducer; This infrared ray proximity transducer is used for sensing infrared light intensity level, it is characterized in that: this portable terminal that infrared ray proximity transducer threshold value is set includes:
The start detection module is used for detecting whether a start operation is arranged;
Acquisition module is used for when a start operation is arranged, obtaining the infrared light intensity level that the infrared ray proximity transducer senses; And
Module is set, is used for reaching away from threshold value near threshold value of infrared ray proximity transducer being set according to this infrared light intensity level.
6. the portable terminal that infrared ray proximity transducer threshold value is set as claimed in claim 5 is characterized in that: this portable terminal that infrared ray proximity transducer threshold value is set also includes:
The conversation detection module is used for detecting whether a telephone operation is arranged;
This acquisition module is used for when telephone operation is arranged, and obtains the infrared light intensity level that the infrared ray proximity transducer senses;
The threshold test module is used to detect the infrared light intensity level that gets access to whether greater than near threshold value; And
Executive Module is used at the infrared light intensity level that gets access to greater than near threshold value the time touch-screen of locking portable terminal.
7. the portable terminal that infrared ray proximity transducer threshold value is set as claimed in claim 6; It is characterized in that: this threshold test module also is used for when the infrared light intensity level that gets access to is not more than near threshold value, detects the infrared light intensity level get access to whether less than away from threshold value; And this Executive Module is used at the infrared light intensity level that gets access to less than away from threshold value the time touch-screen of release portable terminal.
8. the portable terminal that infrared ray proximity transducer threshold value is set as claimed in claim 7 is characterized in that: this Executive Module also is used at the infrared light intensity level that gets access to not doing any operation away from threshold value and between near threshold value the time.
CN2012102927408A 2012-08-16 2012-08-16 Method for setting threshold of infrared proximity sensor and mobile terminal Pending CN102843469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102927408A CN102843469A (en) 2012-08-16 2012-08-16 Method for setting threshold of infrared proximity sensor and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102927408A CN102843469A (en) 2012-08-16 2012-08-16 Method for setting threshold of infrared proximity sensor and mobile terminal

Publications (1)

Publication Number Publication Date
CN102843469A true CN102843469A (en) 2012-12-26

Family

ID=47370519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102927408A Pending CN102843469A (en) 2012-08-16 2012-08-16 Method for setting threshold of infrared proximity sensor and mobile terminal

Country Status (1)

Country Link
CN (1) CN102843469A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197357A (en) * 2013-02-26 2013-07-10 深圳市中兴移动通信有限公司 Infrared proximity detector self-calibration method and device
CN103516901A (en) * 2013-09-18 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep of mobile intelligent device
CN103945068A (en) * 2014-04-29 2014-07-23 深圳市欧珀通信软件有限公司 Method for setting approach threshold value of mobile terminal and mobile terminal
CN104407399A (en) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 Method for calibrating proximity sensor in portable terminal
CN105357375A (en) * 2015-10-15 2016-02-24 Tcl移动通信科技(宁波)有限公司 Method for stabilizing distance of proximity sensor in mobile terminal, and mobile terminal
CN105549734A (en) * 2015-12-08 2016-05-04 广州视源电子科技股份有限公司 Key trigger method and apparatus
CN105915717A (en) * 2016-05-26 2016-08-31 广东欧珀移动通信有限公司 Screen on-off control method, screen on-off control device and mobile terminal
CN105959461A (en) * 2016-04-14 2016-09-21 广东欧珀移动通信有限公司 Screen sensing control method, screen sensing control device and terminal equipment
CN105991835A (en) * 2015-03-05 2016-10-05 宏达国际电子股份有限公司 Mobile device and proximity detection method
CN106131334A (en) * 2016-07-11 2016-11-16 广东欧珀移动通信有限公司 Control the method and device of mobile terminal screen state
CN106443639A (en) * 2016-09-26 2017-02-22 深圳市金立通信设备有限公司 Distance calibration method and terminal
CN107703892A (en) * 2017-09-12 2018-02-16 广东美的制冷设备有限公司 The control method and device of home appliance
CN107782280A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of detection method and mobile terminal
CN107782411A (en) * 2016-08-25 2018-03-09 联阳半导体股份有限公司 Liquid level detector and liquid level detection method
CN108401060A (en) * 2017-02-07 2018-08-14 蔡伟英 A kind of mobile terminal locks screen automatically method and system
WO2018176405A1 (en) * 2017-03-31 2018-10-04 深圳市柔宇科技有限公司 Method and apparatus for controlling display screen
CN108923865A (en) * 2018-07-06 2018-11-30 Oppo(重庆)智能科技有限公司 Calibration method, device, mobile terminal and the storage medium of infrared distance sensor
CN110809877A (en) * 2017-10-10 2020-02-18 深圳市欢太科技有限公司 Threshold setting method and related product
CN113112650A (en) * 2021-04-14 2021-07-13 深圳市康凯铭科技有限公司 Bluetooth intelligent lock system and use method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN102411451A (en) * 2011-11-23 2012-04-11 中兴通讯股份有限公司 Method and device for processing signals for touch screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN102411451A (en) * 2011-11-23 2012-04-11 中兴通讯股份有限公司 Method and device for processing signals for touch screen

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197357A (en) * 2013-02-26 2013-07-10 深圳市中兴移动通信有限公司 Infrared proximity detector self-calibration method and device
CN103516901A (en) * 2013-09-18 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep of mobile intelligent device
CN103945068A (en) * 2014-04-29 2014-07-23 深圳市欧珀通信软件有限公司 Method for setting approach threshold value of mobile terminal and mobile terminal
CN103945068B (en) * 2014-04-29 2015-09-09 深圳市欧珀通信软件有限公司 A kind of method to set up close to threshold value of mobile terminal and mobile terminal
CN104407399B (en) * 2014-12-02 2017-01-04 三星半导体(中国)研究开发有限公司 For the method at portable terminal alignment proximity transducer
CN104407399A (en) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 Method for calibrating proximity sensor in portable terminal
CN105991835A (en) * 2015-03-05 2016-10-05 宏达国际电子股份有限公司 Mobile device and proximity detection method
CN105357375A (en) * 2015-10-15 2016-02-24 Tcl移动通信科技(宁波)有限公司 Method for stabilizing distance of proximity sensor in mobile terminal, and mobile terminal
CN105549734B (en) * 2015-12-08 2018-10-16 广州视源电子科技股份有限公司 A kind of button triggering method and device
CN105549734A (en) * 2015-12-08 2016-05-04 广州视源电子科技股份有限公司 Key trigger method and apparatus
CN105959461A (en) * 2016-04-14 2016-09-21 广东欧珀移动通信有限公司 Screen sensing control method, screen sensing control device and terminal equipment
CN105959461B (en) * 2016-04-14 2020-01-17 Oppo广东移动通信有限公司 Screen induction control method and device and terminal equipment
CN105915717A (en) * 2016-05-26 2016-08-31 广东欧珀移动通信有限公司 Screen on-off control method, screen on-off control device and mobile terminal
CN106131334B (en) * 2016-07-11 2019-12-10 Oppo广东移动通信有限公司 Method and device for controlling screen state of mobile terminal
CN106131334A (en) * 2016-07-11 2016-11-16 广东欧珀移动通信有限公司 Control the method and device of mobile terminal screen state
CN107782411A (en) * 2016-08-25 2018-03-09 联阳半导体股份有限公司 Liquid level detector and liquid level detection method
CN106443639B (en) * 2016-09-26 2019-05-17 深圳市金立通信设备有限公司 A kind of range calibration method and terminal
CN106443639A (en) * 2016-09-26 2017-02-22 深圳市金立通信设备有限公司 Distance calibration method and terminal
CN108401060A (en) * 2017-02-07 2018-08-14 蔡伟英 A kind of mobile terminal locks screen automatically method and system
WO2018176405A1 (en) * 2017-03-31 2018-10-04 深圳市柔宇科技有限公司 Method and apparatus for controlling display screen
US10809957B2 (en) 2017-03-31 2020-10-20 Shenzhen Royole Technologies Co., Ltd. Control method and apparatus for display screen
CN107703892A (en) * 2017-09-12 2018-02-16 广东美的制冷设备有限公司 The control method and device of home appliance
CN110809877A (en) * 2017-10-10 2020-02-18 深圳市欢太科技有限公司 Threshold setting method and related product
CN110809877B (en) * 2017-10-10 2021-06-11 深圳市欢太科技有限公司 Threshold setting method, mobile terminal and computer storage medium
CN107782280A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of detection method and mobile terminal
CN108923865A (en) * 2018-07-06 2018-11-30 Oppo(重庆)智能科技有限公司 Calibration method, device, mobile terminal and the storage medium of infrared distance sensor
CN108923865B (en) * 2018-07-06 2021-06-11 Oppo(重庆)智能科技有限公司 Calibration method and device of infrared distance sensor, mobile terminal and storage medium
CN113112650A (en) * 2021-04-14 2021-07-13 深圳市康凯铭科技有限公司 Bluetooth intelligent lock system and use method thereof
CN113112650B (en) * 2021-04-14 2022-10-25 广东欧比特科技有限公司 Bluetooth intelligent lock system and use method thereof

Similar Documents

Publication Publication Date Title
CN102843469A (en) Method for setting threshold of infrared proximity sensor and mobile terminal
CN102883061A (en) Method and system for controlling working state of touch screen of mobile terminal
JP5960926B2 (en) Electronic device, battery protection method, facility, program, and recording medium
US20170076079A1 (en) Terminal device based on fingerprint identification, and method and system for logging into terminal device in standby state
US10853437B2 (en) Method and apparatus for invoking application programming interface
US20180203568A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
CN106453829B (en) A kind of falling height detection method and device
EP2840462A1 (en) Method and apparatus for saving battery of portable terminal
CN104683598A (en) Proximity sensor threshold adjusting method and device and intelligent device
CN106646440B (en) A kind of falling height detection method and device
CN104252356A (en) Interface generating method and system
CN109558804B (en) Fingerprint acquisition method and related product
CN103823626B (en) Method and device for regulating display contents and electronic equipment
CN104572046B (en) A kind of storehouse restoring method and computer system
US9974026B2 (en) Terminal control method and terminal
CN104516474A (en) Information processing method and electronic device
CN104731490A (en) Screen control method and screen control device
CN106341713A (en) Multimedia synchronous play method, apparatus and system, and terminal
CN103458109B (en) Reminding method of unread information or missed calls of mobile terminal and mobile terminal
CN104461367A (en) Image display method and device of front camera of terminal
CN104166646A (en) Method and device for inputting uniform resource locator
CN202565358U (en) System for realizing page turning of ebook based on pressure sensing
CN103631502A (en) Display content adjusting method and device and electronic equipment
CN104598032A (en) Screen control method and device
CN110209415A (en) Firmware method for refreshing, device and storage medium

Legal Events

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

Application publication date: 20121226

RJ01 Rejection of invention patent application after publication