CN105549734A - Key triggering method and device - Google Patents
Key triggering method and device Download PDFInfo
- Publication number
- CN105549734A CN105549734A CN201510900964.6A CN201510900964A CN105549734A CN 105549734 A CN105549734 A CN 105549734A CN 201510900964 A CN201510900964 A CN 201510900964A CN 105549734 A CN105549734 A CN 105549734A
- Authority
- CN
- China
- Prior art keywords
- button
- wearable device
- data
- light intensity
- trigger
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0421—Digitisers, 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)
- Push-Button Switches (AREA)
Abstract
The invention discloses a key triggering method, which comprises the following steps: acquiring distance data and light intensity data detected at a key touch area in real time; and when the distance data and the light intensity data are detected to be smaller than a preset threshold value, sending a key trigger signal to the wearable device, and enabling the wearable device to process according to the key trigger signal. Correspondingly, the invention also discloses a key triggering device. By adopting the embodiment of the invention, the accuracy of key triggering can be improved.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of button triggering method and device.
Background technology
In the wearable device of prior art, be generally realize the operation of user to wearable device by inserting physical button.But, if use common physical button, gap between button and the main body of wearable device can cause the waterproof ability of wearable device poor, and then cause keypress function to lose efficacy, and, the pressing height of physical button, mechanical height have certain requirement, and the structure space causing it to take is larger.In addition, existing wearable device also has capacitance key.But due to the inherent characteristic of capacitive sensing, after capacitance key meets water, surface wettability, easily causes the maloperation of button.
Summary of the invention
The embodiment of the present invention proposes a kind of button triggering method and device, can improve the accuracy that button triggers.
The embodiment of the present invention provides a kind of button triggering method, comprising:
The range data that Real-time Obtaining detects at button touch area place and light intensity data;
When described range data being detected and described light intensity data is all less than default threshold value, sending button trigger pip to wearable device, described wearable device is processed according to described button trigger pip.
Further, the range data that described Real-time Obtaining detects and light intensity data, specifically comprise:
The range data that Real-time Obtaining range sensor detects and the light intensity data that light sensor detects; Described range sensor and described light sensor are sealed in the button touch area place in described wearable device, and described button touch area is transparent region.
Further, described when described range data being detected and described light intensity data is all less than default threshold value, send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip, specifically comprises:
Detect described range data and whether be less than default distance threshold;
If be less than default distance threshold, then detect described light intensity data and whether be less than default Intensity threshold;
If be less than default Intensity threshold, then send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip.
Preferably, described button trigger pip is shooting trigger signals;
Described when described range data being detected and described light intensity data is all less than default threshold value, send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip, specifically comprises:
When described range data being detected and described light intensity data is all less than default threshold value, start timing;
When the duration of timing reaches default time threshold, send shooting trigger signals to described wearable device, make described wearable device start shooting according to described shooting trigger signals.
Preferably, described wearable device is intelligent glasses, and described button touch area is arranged in the temple of described intelligent glasses; Described button touch area is made up of transparent mulch film, and the material of described transparent mulch film is glass or plastics.
Accordingly, the embodiment of the present invention also provides a kind of key trigger equipment, comprising:
Data acquisition module, the range data detected at button touch area place for Real-time Obtaining and light intensity data; And,
Button trigger module, for when described range data being detected and described light intensity data is all less than default threshold value, sending button trigger pip to wearable device, described wearable device is processed according to described button trigger pip.
Further, the light intensity data that detects of the range data that detects specifically for Real-time Obtaining range sensor of described data acquisition module and light sensor; Described range sensor and described light sensor are sealed in the button touch area place in described wearable device, and described button touch area is transparent region.
Further, described button trigger module specifically comprises:
Whether distance detecting unit, be less than default distance threshold for detecting described range data;
Light-intensity test unit, for judge described distance detecting unit as when being, detect described light intensity data and whether be less than default Intensity threshold; And,
Button trigger element, for judging that described light-intensity test unit is as when being, sending button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip.
Preferably, described button trigger pip is shooting trigger signals;
Described button trigger module specifically comprises:
Timing unit, for when described range data being detected and described light intensity data is all less than default threshold value, starts timing; And,
Trigger element, for when the duration of timing reaches default time threshold, sends shooting trigger signals to described wearable device, makes described wearable device start shooting according to described shooting trigger signals.
Preferably, described wearable device is intelligent glasses, and described button touch area is arranged in the temple of described intelligent glasses; Described button touch area is made up of transparent mulch film, and the material of described transparent mulch film is glass or plastics.
Implement the embodiment of the present invention, there is following beneficial effect:
The button triggering method that the embodiment of the present invention provides and device, can the range data at button touch area place and light intensity data be detected and be judged, when judging that range data and light intensity data are all less than default threshold value, trigger key trigger pip, realizing keypress function, without the need to being triggered by physical button, reducing volumetric spaces shared by button, and avoid button chance water malfunctioning, improve the accuracy that button triggers.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of button triggering method provided by the invention;
Fig. 2 is the schematic flow sheet of an embodiment of step S2 in button triggering method provided by the invention;
Fig. 3 is the structural representation of an embodiment of Intelligent worn device in button triggering method provided by the invention;
Fig. 4 is the structural representation of an embodiment of key trigger equipment provided by the invention;
Fig. 5 is the structural representation of an embodiment of button trigger module in key trigger equipment provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, the schematic flow sheet of an embodiment of button triggering method provided by the invention, comprising:
The range data that S1, Real-time Obtaining detect at button touch area place and light intensity data;
S2, when described range data being detected and described light intensity data is all less than default threshold value, sending button trigger pip to wearable device, described wearable device is processed according to described button trigger pip.
It should be noted that, in the wearable device course of work, in real time the range data at button touch area place and light intensity data are detected.If detect, range data and light intensity data are all less, are namely less than default threshold value, show that user has carried out pressing operation to button touch area, generate button trigger pip, make wearable device according to this button trigger pip turnover process.
Concrete, the range data that described Real-time Obtaining detects at button touch area place and light intensity data, specifically comprise:
The range data that Real-time Obtaining range sensor detects and the light intensity data that light sensor detects; Described range sensor and described light sensor are sealed in the button touch area place in described wearable device, and described button touch area is transparent region.
It should be noted that, user is on wearing after wearable device, and the button touch area on wearable device does not have object to stop under normal circumstances, and it is distant that range sensor detects, the light intensity that light sensor detects is larger.When user's finger touch is in button touch area, the close together that range sensor detects, range data is less than default threshold value, the light intensity that light sensor detects is less, light intensity data is less than default threshold value, then show that user has carried out pressing operation to case touch area, generate button trigger pip, make wearable device according to this button trigger pip turnover process.Wherein, range sensor and light sensor are sealed in the button touch area of wearable device, and button touch area is transparent region, thus ensure the normal work of range sensor and light sensor.Adopt range sensor and light sensor to detect simultaneously, not simple service range sensor or light sensor detect, thus prevent the erroneous judgement that the button touch area on wearable device is stopped by other objects or enters the situations such as dark surrounds and bring.
Further, as shown in Figure 2, described when described range data being detected and described light intensity data is all less than default threshold value, send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip, specifically comprises:
S21, detect described range data and whether be less than default distance threshold; If so, then step S22 is performed; If not, then the data that continue to adjust the distance detect;
S22, detect described light intensity data and whether be less than default Intensity threshold; If so, then step S23 is performed; If not, then continue to detect light intensity data;
S23, send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip.
It should be noted that, the data detected are sent to the main control module in wearable device by range sensor and optical sensor, and main control module detects respectively to the range data received and light intensity data.When detecting that range data is less than default distance threshold, and light intensity data is when being less than default Intensity threshold, judge that user is carrying out button touch operation, trigger the keypress function of wearable device, generation button trigger pip controls wearable device and processes accordingly.
In one preferably embodiment, described button trigger pip is shooting trigger signals;
Described when described range data being detected and described light intensity data is all less than default threshold value, send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip, specifically comprises:
When described range data being detected and described light intensity data is all less than default threshold value, start timing;
When the duration of timing reaches default time threshold, send shooting trigger signals to described wearable device, make described wearable device start shooting according to described shooting trigger signals.
It should be noted that, user, by triggering different button trigger pips at the different operating of button touch area, carries out different process to control wearable device.In the present embodiment, when detecting that user touches in button touch area, namely when described range data being detected and described light intensity data is all less than default threshold value, start timing.When the duration that user touches reaches the duration triggering shooting trigger signals, namely when the duration of timing reaches default time threshold, trigger shooting trigger signals and send to wearable device, thus making wearable device open camera, to take.
Preferably, described wearable device is intelligent glasses, and described button touch area is arranged in the temple of described intelligent glasses; Described button touch area is made up of transparent mulch film, and the material of described transparent mulch film is glass or plastics.
Preferably, as shown in Figure 3, described wearable device is intelligent glasses 5.Described range sensor and described light sensor are sealed in the temple 3 of described intelligent glasses.
The button triggering method that the embodiment of the present invention provides, the range data that can detect button touch area place and light intensity data detect and judge, when judging that range data and light intensity data are all less than default threshold value, trigger key trigger pip, realizing keypress function, without the need to being triggered by physical button, reducing volumetric spaces shared by button, and avoid button chance water malfunctioning, improve the accuracy that button triggers.
Accordingly, the present invention also provides a kind of key trigger equipment, can realize all flow processs of the button triggering method in above-described embodiment.
See Fig. 4, be the structural representation of an embodiment of key trigger equipment provided by the invention, comprise:
Data acquisition module 1, the range data detected at button touch area place for Real-time Obtaining and light intensity data; And,
Button trigger module 2, for when described range data being detected and described light intensity data is less than default threshold value respectively, sending button trigger pip to wearable device, described wearable device is processed according to described button trigger pip.
Further, the light intensity data that detects of the range data that detects specifically for Real-time Obtaining range sensor of described data acquisition module and light sensor; Described range sensor and described light sensor are sealed in the button touch area place in described wearable device, and described button touch area is transparent region.
Further, as shown in Figure 5, described button trigger module 2 specifically comprises:
Whether distance detecting unit 21, be less than default distance threshold for detecting described range data;
Light-intensity test unit 22, for judge described distance detecting unit as when being, detect described light intensity data and whether be less than default Intensity threshold; And,
Button trigger element 23, for judging that described light-intensity test unit is as when being, sending button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip.
Preferably, described button trigger pip is shooting trigger signals;
Described button trigger module specifically comprises:
Timing unit, for when described range data being detected and described light intensity data is all less than default threshold value, starts timing; And,
Trigger element, for when the duration of timing reaches default time threshold, sends shooting trigger signals to described wearable device, makes described wearable device start shooting according to described shooting trigger signals.
Preferably, described wearable device is intelligent glasses, and described button touch area is arranged in the temple of described intelligent glasses; Described button touch area is made up of transparent mulch film, and the material of described transparent mulch film is glass or plastics.
The key trigger equipment that the embodiment of the present invention provides, the range data that can detect button touch area place and light intensity data detect and judge, when judging that range data and light intensity data are all less than default threshold value, trigger key trigger pip, realizing keypress function, without the need to being triggered by physical button, reducing volumetric spaces shared by button, and avoid button chance water malfunctioning, improve the accuracy that button triggers.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.
Claims (10)
1. a button triggering method, is characterized in that, comprising:
The range data that Real-time Obtaining detects at button touch area place and light intensity data;
When described range data being detected and described light intensity data is all less than default threshold value, sending button trigger pip to wearable device, described wearable device is processed according to described button trigger pip.
2. button triggering method as claimed in claim 1, it is characterized in that, the range data that described Real-time Obtaining detects at button touch area place and light intensity data, specifically comprise:
The range data that Real-time Obtaining range sensor detects and the light intensity data that light sensor detects; Described range sensor and described light sensor are sealed in the button touch area place in described wearable device, and described button touch area is transparent region.
3. button triggering method as claimed in claim 1 or 2, it is characterized in that, described when described range data being detected and described light intensity data is all less than default threshold value, button trigger pip is sent to described wearable device, described wearable device is processed according to described button trigger pip, specifically comprises:
Detect described range data and whether be less than default distance threshold;
If be less than default distance threshold, then detect described light intensity data and whether be less than default Intensity threshold;
If be less than default Intensity threshold, then send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip.
4. button triggering method as claimed in claim 1 or 2, it is characterized in that, described button trigger pip is shooting trigger signals;
Described when described range data being detected and described light intensity data is all less than default threshold value, send button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip, specifically comprises:
When described range data being detected and described light intensity data is all less than default threshold value, start timing;
When the duration of timing reaches default time threshold, send shooting trigger signals to described wearable device, make described wearable device start shooting according to described shooting trigger signals.
5. button triggering method as claimed in claim 1, it is characterized in that, described wearable device is intelligent glasses, and described button touch area is arranged in the temple of described intelligent glasses; Described button touch area is made up of transparent mulch film, and the material of described transparent mulch film is glass or plastics.
6. a key trigger equipment, is characterized in that, comprising:
Data acquisition module, the range data detected at button touch area place for Real-time Obtaining and light intensity data; And,
Button trigger module, for when described range data being detected and described light intensity data is all less than default threshold value, sending button trigger pip to wearable device, described wearable device is processed according to described button trigger pip.
7. button triggering method as claimed in claim 6, is characterized in that, the range data that described data acquisition module detects specifically for Real-time Obtaining range sensor and the light intensity data that light sensor detects; Described range sensor and described light sensor are sealed in the button touch area place in described wearable device, and described button touch area is transparent region.
8. key trigger equipment as claimed in claims 6 or 7, it is characterized in that, described button trigger module specifically comprises:
Whether distance detecting unit, be less than default distance threshold for detecting described range data;
Light-intensity test unit, for judge described distance detecting unit as when being, detect described light intensity data and whether be less than default Intensity threshold; And,
Button trigger element, for judging that described light-intensity test unit is as when being, sending button trigger pip to described wearable device, described wearable device is processed according to described button trigger pip.
9. key trigger equipment as claimed in claims 6 or 7, it is characterized in that, described button trigger pip is shooting trigger signals;
Described button trigger module specifically comprises:
Timing unit, for when described range data being detected and described light intensity data is all less than default threshold value, starts timing; And,
Trigger element, for when the duration of timing reaches default time threshold, sends shooting trigger signals to described wearable device, makes described wearable device start shooting according to described shooting trigger signals.
10. key trigger equipment as claimed in claim 6, it is characterized in that, described wearable device is intelligent glasses, and described button touch area is arranged in the temple of described intelligent glasses; Described button touch area is made up of transparent mulch film, and the material of described transparent mulch film is glass or plastics.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510900964.6A CN105549734B (en) | 2015-12-08 | 2015-12-08 | Key triggering method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510900964.6A CN105549734B (en) | 2015-12-08 | 2015-12-08 | Key triggering method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105549734A true CN105549734A (en) | 2016-05-04 |
| CN105549734B CN105549734B (en) | 2018-10-16 |
Family
ID=55828959
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510900964.6A Active CN105549734B (en) | 2015-12-08 | 2015-12-08 | Key triggering method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105549734B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107219959A (en) * | 2017-06-26 | 2017-09-29 | 三星电子(中国)研发中心 | Input control method and equipment for Intelligent worn device |
| CN108804007A (en) * | 2018-05-24 | 2018-11-13 | 网易(杭州)网络有限公司 | Image-pickup method, device, storage medium and electronic equipment |
| CN115149937A (en) * | 2022-06-24 | 2022-10-04 | 睿云联(厦门)网络通讯技术有限公司 | Key triggering determination method based on infrared distance sensor, terminal and medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6408187B1 (en) * | 1999-05-14 | 2002-06-18 | Sun Microsystems, Inc. | Method and apparatus for determining the behavior of a communications device based upon environmental conditions |
| CN102843469A (en) * | 2012-08-16 | 2012-12-26 | 广东欧珀移动通信有限公司 | Method for setting threshold of infrared proximity sensor and mobile terminal |
| CN103379225A (en) * | 2013-05-30 | 2013-10-30 | 上海斐讯数据通信技术有限公司 | Mobile terminal |
| CN103902854A (en) * | 2014-03-18 | 2014-07-02 | 深圳创维数字技术股份有限公司 | Method and terminal for preventing misoperation |
| CN104898839A (en) * | 2015-05-26 | 2015-09-09 | 努比亚技术有限公司 | Terminal device and control method thereof |
-
2015
- 2015-12-08 CN CN201510900964.6A patent/CN105549734B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6408187B1 (en) * | 1999-05-14 | 2002-06-18 | Sun Microsystems, Inc. | Method and apparatus for determining the behavior of a communications device based upon environmental conditions |
| CN102843469A (en) * | 2012-08-16 | 2012-12-26 | 广东欧珀移动通信有限公司 | Method for setting threshold of infrared proximity sensor and mobile terminal |
| CN103379225A (en) * | 2013-05-30 | 2013-10-30 | 上海斐讯数据通信技术有限公司 | Mobile terminal |
| CN103902854A (en) * | 2014-03-18 | 2014-07-02 | 深圳创维数字技术股份有限公司 | Method and terminal for preventing misoperation |
| CN104898839A (en) * | 2015-05-26 | 2015-09-09 | 努比亚技术有限公司 | Terminal device and control method thereof |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107219959A (en) * | 2017-06-26 | 2017-09-29 | 三星电子(中国)研发中心 | Input control method and equipment for Intelligent worn device |
| CN107219959B (en) * | 2017-06-26 | 2021-03-19 | 三星电子(中国)研发中心 | Input control method and device for smart wearable device |
| CN108804007A (en) * | 2018-05-24 | 2018-11-13 | 网易(杭州)网络有限公司 | Image-pickup method, device, storage medium and electronic equipment |
| CN115149937A (en) * | 2022-06-24 | 2022-10-04 | 睿云联(厦门)网络通讯技术有限公司 | Key triggering determination method based on infrared distance sensor, terminal and medium |
| CN115149937B (en) * | 2022-06-24 | 2025-04-22 | 睿云联(厦门)网络通讯技术有限公司 | Key trigger determination method, terminal and medium based on infrared distance sensor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105549734B (en) | 2018-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106462685B (en) | Wearable electronic device and method for protecting same | |
| CN103401961B (en) | A kind of method and system automatically lighting mobile phone screen | |
| CN105301949B (en) | Method and system for detecting wearing state of smart watch and smart watch | |
| CN103049159B (en) | Method for preventing water drop false triggering of capacitive touch screen | |
| CN109407871B (en) | A method and device for identifying water immersion status, electronic equipment | |
| CN105025159A (en) | Proximity sensor adjustment method and device | |
| CN104618565A (en) | Anti-misoperation electronic device and method | |
| CN104423859A (en) | Touch screen unlocking method and system and electronic device | |
| CN104731490B (en) | screen control method and device | |
| CN104238671B (en) | Method for realizing waterproof protection of wearable device and wearable device | |
| CN104182145B (en) | A kind of method for preventing misoperation of touch screen, device and mobile device | |
| US11604538B2 (en) | Electric field touchscreen | |
| CN102326133A (en) | Be used to make that equipment gets into system, the method and apparatus of activity pattern | |
| WO2009143046A3 (en) | Payment terminal stylus with touch screen contact detection | |
| CN105630227A (en) | Sensitivity adjustment method and system for touch screen | |
| CN105549734A (en) | Key triggering method and device | |
| US20210356913A1 (en) | Electronic device and computer-readable non-transitory recording medium | |
| CN103017909A (en) | Device and method for measuring temperature and mobile communication equipment equipped with device | |
| CN104217181B (en) | Intelligent waterproof method and system for mobile handheld device | |
| CN105446473A (en) | Screen control system and method | |
| CN105426091A (en) | Method and terminal for controlling black screen gesture processing | |
| WO2013167067A3 (en) | Method, device and touch screen terminal for processing incoming calls when driving | |
| CN106131334A (en) | Method and device for controlling screen state of mobile terminal | |
| JP5736551B1 (en) | Electronic device and control method | |
| WO2018167423A3 (en) | Pressure button for a touch sensitive surface, physical interface and protection element using same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |