

技术领域technical field
本发明涉及一种藉由判断环境状态以防止错误输入的方法及实施此方法的系统。The invention relates to a method for preventing wrong input by judging the state of the environment and a system for implementing the method.
背景技术Background technique
在一般的电子装置上,均设有控制此电子装置的输入装置,例如移动电话上的键盘、光盘播放机上的控制面板以及个人数字助理上的触控板。然而由于电子装置的可移动性提高,造成在移动电子装置时误触输入装置的机率也提高,进而造成对电子装置的不当操作。Common electronic devices are equipped with input devices for controlling the electronic devices, such as keyboards on mobile phones, control panels on CD players, and touch pads on personal digital assistants. However, due to the increased mobility of the electronic device, the probability of accidentally touching the input device when the electronic device is moved is also increased, thereby resulting in improper operation of the electronic device.
目前一般的解决方式为在输入装置外加设保护外盖,或内建一输入锁定装置。以保护外盖而言,约有半数移动电话及个人数字助理均设有保护外盖。加设保护外盖的好处在于保护周全,然而往往造成整体的体积增加。且在使用电子装置时亦造成不便。The current general solution is to add a protective cover outside the input device, or to build an input locking device. In terms of protective covers, about half of mobile phones and PDAs have protective covers. The advantage of adding a protective cover is comprehensive protection, but it often results in an increase in the overall volume. And it also causes inconvenience when using the electronic device.
内建的锁定装置通常是设定于固件内。藉由使用者以特定的功能键向电子装置下达锁定命令。此时电子装置的处理器即拒绝执行部分由输入装置输入的要求讯号。移动电话的键盘锁即是此类锁定装置的代表。Built-in locking devices are usually set in firmware. The user issues a locking command to the electronic device with a specific function key. At this time, the processor of the electronic device refuses to execute part of the request signal input by the input device. Keypad locks for mobile phones are examples of such locking devices.
发明内容Contents of the invention
本发明的主要目的是提供一种防止错误输入的方法,供配合电子装置使用,可藉由检测外在光源状态以进行写保护设定。The main purpose of the present invention is to provide a method for preventing erroneous input, which is used in conjunction with electronic devices, and can be set for write protection by detecting the state of an external light source.
本发明的另一目的是提供一种防止错误输入的方法,可设定处于特定光源状态下一定时间后,自动进行写保护设定。Another object of the present invention is to provide a method for preventing erroneous input, which can be set to automatically perform write protection setting after a certain period of time under the state of a specific light source.
本发明的另一目的是提供一种防止错误输入的方法,供配合电子装置使用,可藉由检测外在光源状态以进行写保护设定。Another object of the present invention is to provide a method for preventing erroneous input, which is used in conjunction with an electronic device, and can perform write protection setting by detecting the state of an external light source.
本发明的系统包含光感应组件、处理器及输入装置。光感应组件及输入装置分别电连接处理器。光感应组件可因应外部光源以产生一光源状态,且光源状态可随着外部光源的变化而改变。处理器根据光源状态选择性拒绝执行部分输入装置传送至处理器的请求讯号。The system of the present invention includes a light sensing component, a processor and an input device. The light sensing component and the input device are respectively electrically connected to the processor. The light sensing component can generate a light source state in response to the external light source, and the light source state can change as the external light source changes. The processor selectively refuses to execute the request signal sent to the processor by some input devices according to the state of the light source.
本发明的方法包含(a)藉由处理器检测该光感应组件的光源状态;(b)根据光源状态,判断环境状态为正常环境状态或特定环境状态;以及(c)当判断环境状态为特定环境状态时,处理器拒绝执行部分输入装置传送至处理器的请求讯号。The method of the present invention includes (a) detecting the state of the light source of the light sensing component by a processor; (b) judging whether the environment state is a normal environment state or a specific environment state according to the state of the light source; and (c) when judging that the environment state is a specific environment state In the environmental state, the processor refuses to execute the request signal sent to the processor by some input devices.
附图说明Description of drawings
图1为本发明系统的实施例方块图;Fig. 1 is the embodiment block diagram of system of the present invention;
图2a为本发明方法的实施例流程图;Fig. 2 a is the flow chart of the embodiment of the method of the present invention;
图2b为本发明方法的另一实施例流程图;Fig. 2b is another embodiment flowchart of the method of the present invention;
图3a为本发明系统的另一实施例方块图;以及Figure 3a is a block diagram of another embodiment of the system of the present invention; and
图3b为本发明方法的另一实施例流程图。Fig. 3b is a flowchart of another embodiment of the method of the present invention.
附图标号符号说明Explanation of reference signs and symbols
100电子装置 110光感应组件100
130处理器 131检测讯号130
133向应讯号 150输入装置133
151请求讯号 310计时装置151
330计数装置330 counting device
具体实施方式Detailed ways
本发明提供一种藉由判断环境状态以防止错误输入的方法及实施此方法的系统,供与电子装置配合使用。在较佳实施例中,此处所述的环境状态是指环境的光源状态的明暗。上述电子装置的较佳实施例为移动电话,然而在其它实施例中亦可为个人数字助理(Personal Digital Assistant,PDA)、光盘播放机(CD Player)、数字相机或其它具有输入装置的电子装置。The invention provides a method for preventing wrong input by judging the environment state and a system for implementing the method, which are used in cooperation with electronic devices. In a preferred embodiment, the environmental state mentioned here refers to the brightness and darkness of the light source state of the environment. The preferred embodiment of the above-mentioned electronic device is a mobile phone, but in other embodiments it can also be a personal digital assistant (Personal Digital Assistant, PDA), a compact disc player (CD Player), a digital camera or other electronic devices with input devices .
图1所示为本发明的系统方块图。如图1所示,本发明的系统包含光感应组件110、处理器130及输入装置150。以图1所示的实施例而言,本发明的系统是装设于电子装置100内。光感应组件110及输入装置150分别电连接处理器130。光感应组件110可因应外部光源以产生一光源状态,且光源状态可随着外部光源的变化而改变。以此一实施例而言,光源状态随着外部光源亮度的变化而改变。然而在其它实施例中,光源状态亦可随着外部光源颜色组成的变化而改变。Fig. 1 shows the system block diagram of the present invention. As shown in FIG. 1 , the system of the present invention includes a
在较佳实施例中,光感应组件110包含光敏电阻。然而在其它实施例中,光感应组件110亦可包含光电耦合组件(CCD)或其它类似组件。此外,输入装置150的较佳实施例包含键盘。然而在其它实施例中,输入装置150包含声音输入装置、触控面板或其它具有输入功能的装置。In a preferred embodiment, the
图2a所示为本发明方法实施例的流程图。步骤21包含藉由处理器130检测光感应组件110的光源状态。以较佳实施例而言,处理器130发出一检测讯号131至光感应组件110,并接收自光感应组件110回传的响应讯号133,如图1所示。由于光感应组件110在不同光源状态时回传的讯号133不同,故处理器130可根据光感应回传的讯号133判断不同的光源状态。Fig. 2a is a flowchart of an embodiment of the method of the present invention. Step 21 includes detecting the state of the light source of the
步骤23包含根据光源状态,判断环境状态为正常环境状态或特定环境状态。在此一实施例中,正常环境状态所处的环境光源其亮度大于特定环境状态所处的环境光源。然而在其它实施例中,此一关系亦可相反。Step 23 includes judging whether the environment state is a normal environment state or a specific environment state according to the state of the light source. In this embodiment, the brightness of the ambient light source in the normal ambient state is greater than that of the ambient light source in the specific ambient state. However, in other embodiments, this relationship can also be reversed.
步骤25包含当判断环境状态为特定环境状态时,处理器130拒绝执行部分输入装置150传送至处理器130的至少一个请求讯号151。上述的至少一个请求讯号151包含非使用者预期的输入请求讯号,例如无意间压迫到键盘以输入的数据。换言之,步骤25为一锁住输入装置150的步骤,以防止错误的输入操作。必须注意的是,在较佳实施例中,处理器130仍可执行部分输入装置150传送至处理器130的至少一个请求讯号151,例如解除锁定输入装置150功能的请求讯号151。然而在其它实施例中,处理器130亦可拒绝执行全部输入装置150传送至处理器130的请求讯号151。Step 25 includes when it is determined that the environmental state is a specific environmental state, the
图2b为本发明方法的另一实施例流程图。与图2a所示实施例相较,此一实施例的步骤23进一步包含步骤231,当处理器130检测光源状态为第一光源状态时,判断环境状态为正常环境状态。以及步骤233,当处理器130检测光源状态为第二光源状态时,则判断环境状态为特定环境状态。以此一实施例而言,第一光源状态因应第一外部光源而产生,第二光源状态因应第二外部光源而产生。其中第一外部光源的亮度大于第二外部光源的亮度。Fig. 2b is a flowchart of another embodiment of the method of the present invention. Compared with the embodiment shown in FIG. 2 a , step 23 of this embodiment further includes step 231 , when the
图3a所示为本发明系统的另一实施例方块图。如图3a所示,处理器130进一步包含计时装置310及计数装置330。其中计数装置330具有一计数值。以实施例而言,计时装置310及计数装置330分别以固件形式储存于处理器130内。然而在其它实施例中,计时装置310与计数装置330亦可为与处理器电连接的硬件。Fig. 3a is a block diagram of another embodiment of the system of the present invention. As shown in FIG. 3 a , the
图3b所示为本发明方法的另一实施例流程图,供与图3a所示的系统配合使用。如图3b所示,步骤21进一步包含步骤211、步骤213及步骤215。步骤211为启动计时装置310计算一时间间隔。此处所述的时间间隔为预设的一时段,且可依实际需要调整其长短。步骤213为当该时间间隔终了时,藉由处理器130检测光感应组件110的光源状态。步骤215为当检测光源状态为第一光源状态时,重置并启动计时装置310以计算时间间隔。换言之,在此实施例中,若光源状态持续维持在第一光源状态下,步骤215进行完成后返回步骤211,使处理器130每隔一时间间隔即检测光感应组件110一次。只有当检测到第二光源状态时才会进入不同的步骤。要注意的是,上述的时间间隔的较佳实施例为每一次检测时均维持不变。然而在其它实施例中,每次检测所隔的时间间隔长度亦可成一函数关系或一不规则关系。Fig. 3b is a flowchart of another embodiment of the method of the present invention, which is used in cooperation with the system shown in Fig. 3a. As shown in FIG. 3 b , step 21 further includes step 211 , step 213 and step 215 . Step 211 calculates a time interval for starting the
如图3b所示,步骤23进一步包含步骤235、步骤237、步骤238及步骤239。步骤235为当处理器130检测光源状态为第二光源状态时,计数值增加一特定值。以较佳实施例而言,此一特定值设定为1。步骤237为当计数值大于或等于默认值时,处理器130判断环境状态为特定环境状态。默认值的设定是根据使用者的需求,并参考上述时间间隔所设定。As shown in FIG. 3 b , step 23 further includes step 235 , step 237 , step 238 and step 239 . In step 235, when the
步骤238为当处理器130检测光源状态为第一光源状态时,重置计数值。以较佳实施例而言,重置计数值为0。步骤239为当计数值小于默认值时,重置并启动计时装置310计算时间间隔。换言之,当计数值小于默认值时,返回步骤211。Step 238 is to reset the count value when the
藉由以上较佳具体实施例的详述,是希望能更加清楚描述本发明的特征与精神,而上述所披露的较佳具体实施例并非对本发明的范畴的限制。相反地,上述的说明以及各种改变及均等性的安排均为本发明所欲受到保护的范畴。因此,本发明的权利要求的范畴应该根据上述的说明作最宽广的解释,并涵盖所有可能均等的改变以及具均等性的安排。Through the detailed description of the preferred embodiments above, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the preferred embodiments disclosed above are not intended to limit the scope of the present invention. On the contrary, the above descriptions and arrangements of various changes and equivalents are all within the scope of protection of the present invention. Therefore, the scope of the claims of the present invention should be interpreted in the broadest way based on the above description, and cover all possible equivalent changes and equivalent arrangements.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 03156653CN1596015A (en) | 2003-09-08 | 2003-09-08 | Method and system for preventing error input by judging environment state |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 03156653CN1596015A (en) | 2003-09-08 | 2003-09-08 | Method and system for preventing error input by judging environment state |
| Publication Number | Publication Date |
|---|---|
| CN1596015Atrue CN1596015A (en) | 2005-03-16 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 03156653PendingCN1596015A (en) | 2003-09-08 | 2003-09-08 | Method and system for preventing error input by judging environment state |
| Country | Link |
|---|---|
| CN (1) | CN1596015A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101937307A (en)* | 2010-07-26 | 2011-01-05 | 深圳桑菲消费通信有限公司 | Method for automatically locking mobile phone keypad or touch screen by utilizing photosensitive device |
| CN102495691A (en)* | 2011-10-04 | 2012-06-13 | 友达光电股份有限公司 | touch point sensing method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101937307A (en)* | 2010-07-26 | 2011-01-05 | 深圳桑菲消费通信有限公司 | Method for automatically locking mobile phone keypad or touch screen by utilizing photosensitive device |
| CN102495691A (en)* | 2011-10-04 | 2012-06-13 | 友达光电股份有限公司 | touch point sensing method |
| CN102495691B (en)* | 2011-10-04 | 2014-03-26 | 友达光电股份有限公司 | touch point sensing method |
| Publication | Publication Date | Title |
|---|---|---|
| CN100350368C (en) | How to lock the touch screen | |
| US8013842B2 (en) | Method for gesture detection on a capacitive touchpad | |
| KR101012305B1 (en) | Operation method of touch input device and portable terminal using same | |
| CN101488063B (en) | Electronic device control method and control system thereof | |
| US20070165005A1 (en) | Method for multiple objects detection on a capacitive touchpad | |
| US20100321286A1 (en) | Motion sensitive input control | |
| US8108000B2 (en) | Electronic device and method of controlling the electronic device | |
| US7804490B2 (en) | Method for multiple gesture detection and verification on a touchpad | |
| KR20090022924A (en) | Mobile terminal and how to perform its function | |
| KR20110007237A (en) | Portable terminal and control method therefor | |
| WO2010026493A1 (en) | Multi-touch control for touch-sensitive display | |
| CN106919824B (en) | Fingerprint unlocking control method and device and computer equipment | |
| CN101907959A (en) | Touch electronics with swipe controls | |
| CN101825964B (en) | Portable electronic device and method for preventing touch panel thereof from being touched by mistake | |
| US7710404B2 (en) | Method for gesture detection on a touchpad | |
| TWI490739B (en) | Induction control system and method of portable device | |
| CN1968304A (en) | An electronic device that operates based on the results of sensing light | |
| US20060290679A1 (en) | Method for detecting overlapped function area on a touchpad | |
| CN105824562A (en) | Touch control method and touch control system | |
| CN1596015A (en) | Method and system for preventing error input by judging environment state | |
| CN1801631A (en) | a portable device | |
| CN108628535A (en) | task management method, device, storage medium and electronic device | |
| US20110300901A1 (en) | Intelligent Input Handling | |
| US7982717B2 (en) | Method for gesture detection on a touchpad | |
| US20070126708A1 (en) | Method for gesture detection on a touch control bar with button and scroll bar functions |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |