1307031 九、發明說明: 【發明所屬之技術領域】 —本發明係關於一種密碼控制裝置及其密碼控制方法,特別係一種具有 密碼控制功能的輸入裝置及其密碼控制方法。 〃 【先前技術】 隨著社會進人資訊化,電腦已成為人們生活中不可或缺的產品。而輸 入裝^為提供人與電腦之間操作介面的主要卫具之―,使得電腦的輸入 更加簡單、方便。電腦的輸入裝置有多種,如滑鼠、執跡球、手寫筆、操1307031 IX. Description of the Invention: [Technical Field] The present invention relates to a password control apparatus and a password control method thereof, and more particularly to an input apparatus having a password control function and a password control method thereof. 〃 [Prior Art] With the introduction of social information, computers have become an indispensable product in people's lives. The input device is the main aid for providing the interface between the user and the computer, making the input of the computer simpler and more convenient. There are many kinds of input devices for computers, such as mouse, obedience ball, stylus, and exercise.
作杆及其他輸人裝置’其中,滑鼠是經常制的輸人裝置,其在功能設計 上曰新月異,從有線滑鼠到無線滑鼠,從機械到光學甚至到紅外線等等, 使得使用者能解受着顧絲的便概。輯鼠的發展變化中可看出 輸入裝置不斷的發展。 另外’為了迎合使用者方便攜帶的要求,逐漸出現了將輸人裝置及可 搞式存儲設備結合在-起的具有資料存错魏的輸人裝置,例如在滑鼠中 加有可存儲資料的存儲單元,該滑鼠既可用作執行游標移動控制等功能, =可用作存鮮械行資料雜魏。伽者攜轉赫料元的輸入裝 置’當欲職輸人裝置崎料時,只需將該輸人裝置接人任意—台電腦, 便可熟練地操作自帶的滑鼠快速地讀取所需資料。 然而’對於該輸入褒置内的資料,有些屬於有價值的資料,有些屬於 保㈣資料,有些則屬於個人私„料,使用者通常不想讓這些資料外泄, ^此當使用者闕電腦時必娜㈣當_護方法,以確健輸入裝置内 的育料不會輕易遭受其他人動用。 【發明内容】 -兮:鑒=匕’ ΐ必要提供一種輸入裝置,通過操作該輸入裝置可直接 儲單元’使其他人無法操作該存儲單元,必須利用輸 裝置的輸人鍵輸人正麵密猶,才能解除對該存儲單元的鎖定,使其 =桑作有效。另外,通過操作該輸人裝置還可直接更改密碼,降低密碼 被破解的紐。藉由該密碼㈣舰可防止其他人任意關存儲單元, 到保護該輸入裝置中資料的目的。 1307031 還有必要提供-種麟輸人裝置的密碼控制方法,通過 鎖定該輸人裝置的存儲單元,使其他人無法操作該存儲單元, 入裝置的輸人鍵輸人正麵密碼後,才能解除對贿儲單元 = 恢復操作有效。另外,通過操作該輸4置還可直接更改㈣,降低= 易被破解的赚。“該密碼_魏可防止其他人任意訪問 達到保護該輸入裝置中資料的目的。 所述輸入裝置’包括-座標輸出電路用於輸出移動座標、Rods and other input devices' Among them, the mouse is a frequent input device, which is designed to change with each passing, from wired mouse to wireless mouse, from mechanical to optical to infrared, etc. The user can understand the details of Gu Si. The development of the mouse can be seen in the continuous development of input devices. In addition, in order to cater to the user's convenient carrying requirements, there has gradually emerged an input device that combines input devices and portable storage devices with data storage errors, such as adding storable data to the mouse. The storage unit can be used as a function to perform cursor movement control, and can be used as a storage device. When the singer carries the input device of the Heyuan element, when the operator inputs the device, he only needs to connect the input device to any computer, and then he can skillfully operate the built-in mouse to quickly read the device. Need information. However, 'for the information in the input device, some are valuable information, some are protected (4) materials, and some are private materials. Users usually do not want to let these materials leak out. ^When users use computers Bina (4) When the method is used to ensure that the feed in the input device is not easily used by others. [Invention] -兮:鉴=匕' ΐ It is necessary to provide an input device that can be directly operated by operating the input device. The storage unit 'so that other people can not operate the storage unit, must use the input button of the transmission device to input the front of the user, in order to unlock the storage unit, so that it is effective. In addition, by operating the input The device can also directly change the password and reduce the password to be cracked. With the password (4), the ship can prevent others from arbitrarily closing the storage unit to protect the data in the input device. 1307031 It is also necessary to provide a type of input device The password control method, by locking the storage unit of the input device, so that others cannot operate the storage unit, and after inputting the input key of the device into the front password, Can be released from the bribe storage unit = recovery operation. In addition, by operating the input 4 can also be directly changed (four), lower = easy to be cracked earned. "The password _ Wei can prevent others from arbitrarily accessing to protect the input device The purpose of the information. The input device 'includes a coordinate output circuit for outputting a moving coordinate,
控制電路麟魏按鍵/雜操健生減的操作總、複練續、$ 儲單元及-微控制器》其中輸入鍵用於輸入訊號,其可為數位鍵、字 或為數位鍵與字母_組合;存儲單元用於存儲資料;微控制器包括一穷 碼比對模減-解賴組,密碼輯池接絲自輸人賴駄訊號,ς 輸入訊號與-預定额-致Bf產生—解鎖峨轉鎖餘,解鎖模也根^ 該解鎖訊麟除鱗儲單元的歡;徽·射祕触麟送所 動座標、操作訊號至電腦系統。 所述用於輸入裝置的密碼控制方法,其包括以下步驟:(a)提供—具 有雄碼控制功月t»的輸入裝置,該輸入裝置包括一座標輸出電路用於輸出移 動座標、一按鍵/滾輪控制電路用於響應按鍵/滾輪操作產生相應的操作訊 號、複數輸入鍵用於產生輸入訊號、一存健單元及一微控制器,其中輸入 鍵可為數位鍵、字母鍵、或為數位鍵與字母鍵組合,微控制器包括一密碼 比對模組及一解鎖模組,(b)當接收輸入訊號為輸入鍵產生的輸入訊號," 且判斷該輸入訊號與預定密碼一致時,密碼比對模組產生一解鎖訊號;(c) 解鎖模組解除對存儲單元的鎖定,使得外接的電腦系統可訪問該存儲單 元,及(d)當接收輸入訊號為所述座標輸出電路輸出的移動座標或按鍵^ 滚輪控制電路響應按鍵/滾輪彳呆作產生相應的操作訊號時,接收並傳送所述 移動座標、操作訊號至外接的電腦系統。 相較于現有技術,該輸入裝置及其密碼控制方法,使用者需通過操作 該輸入裝置的輸入鍵輸入正確的密碼後,才能解除對該存儲單元的鎖定, 使其恢復操作有效,並可進行密碼更改,從而藉由該密碼控制功能可防止 其他人任意訪問存儲單元,達到保護該輸入裝置中資料的目的β 1307031 【實施方式】 如第一圖所示,係為一實施方式中輸入裝置實現其内部資料保護的硬 體架構圖。在本實施方式中’為便於描述,該輸入裝置採用滑鼠但並不 局限於此,其可為其他類型輸入裝置,例如軌跡球、手寫筆、操作杆等其 他輸入裝置。該滑鼠11包括一連接介面110、一存儲單元lu、一壓力感測 器112、一微控制器u3、一鎖定單元114、複數輸入鍵115、一座標輸出電 路116、一按鍵/滾輪控制電路117及一顯示屏118。 幻 連接介面110用於連接該滑鼠11於一電腦系統1〇,該連接介面ιι〇可 為一 USB介面或為一 PS/2介面❶輸入鍵Π5可為數位鍵、字母鍵、或為數 • 位鍵與字母鍵的組合,用於產生輸入訊號。該輸入鍵115還包括—密碼設 定鍵,用於供使用者更改密碼。座標輸出電路116躲輸㈣鼠的^動^ 標至微控制器113,微控制器113利用該連接介面110將該座標輸出電路116 輸入的資料傳送至電腦系統1〇。按鍵/滾輪控制電路117用於控制滑鼠U 中的按鍵及滾輪’並輸出按鍵及滾輪相應的操作訊號(如:左、中、右按 鍵訊號,滾動訊號)至微控制器113,微控制器113同樣利用該連接介面11〇 將該操作訊號傳送至電腦系統1〇。顯示屏118可在密碼操作過程中顯示密 碼相關資訊,例如當輸入的密碼不正確時提示密碼錯誤資訊,當更改密碼 時提示輸入新密碼資訊等。存儲單元m,用於存儲資料。壓力感測器112 位於該滑鼠11的底部,當滑鼠u處於正常放置狀態(如:平放)時,該 • 壓力感測器112可因所受壓力產生壓力感應訊號;反之,當滑ail處於非 正常放置狀態(如:側放或反放)時,該壓力感測器112因未受到壓力而 未產生壓力感應訊號。微控制器113即時掃描該壓力感測器112產生的壓 力感應訊號,持續一預定時間内未掃描到壓力感應訊號時產生一鎖定訊號 於鎖定單元114。鎖定單元114接收並根據該鎖定訊號鎖定存儲單元ηι, 從而使其他人無法訪問該存儲單元1;L1内資料,達到保護該存儲單元m 内資料目的。 微控制器113還包括一密碼比對模組113〇及一解鎖模組113p密碼比 對模組1130接收來自輸入鍵115的輸入訊號:當輸入的訊號包括一密碼設 定訊號即表明使用者欲更改密碼時,更改密碼為該密碼設定訊號後續的輸 1307031 入訊號;當輸入的訊號未包括密碼設定訊號即表明當前輸入的訊號為密碼 訊號時,比對該輸入訊號與一預定密碼,當該輸入訊號與預定密碼一致時, 產生一解鎖訊號至解鎖模組1131。解鎖模組1131根據該解鎖訊號,解除對 存儲單元111的鎖定’恢復對存儲單元的訪問操作。因此,藉由該密碼控 制功能既可降低密碼一成不變易被破解的風險又可防止其他人任意訪問存 儲單元,達到保護該輸入裝置中資料的目的。 如第二圖所示,係為一實施方式中利用第一圖的硬體架構圖執行資料 鎖定的解鎖及更改的密碼控制方法流程圖。首先,微控制器113接收來自 輸入鍵115產生的輸入訊號(步驟S20)。微控制器113判斷當前輸入訊號 Φ 中是否包含密碼設定鍵對應的密碼設定訊號(步驊sn)。 如果當前輸入訊號中未包含密碼設定訊號,即表明該輸入訊號為密碼 訊號,岔碼比對模組1130比對該輸入訊號與一預定密碼,判斷該輸入訊號 是否與預定密碼一致(步驟S22)。如果該輸入訊號與預定密碼一致,密碼 比對模組1130產生一解鎖訊號至解鎖模組ιΐ31(步驟S23)。解鎖模組1131 根據解鎖訊號解除對存儲單元111的鎖定(步驟S24)。如果該輸入訊號與 預定密碼不一致,顯示密碼錯誤資訊於顯示屏118 (步驟S25)。密碼接收 模組重新接收新的輸入訊號,並返回執行步驟S22 (步驟S26)。 如果當前輸入訊號中包含密碼設定訊號,即表明使用者欲更改密碼, 密碼比對模組1130更改密碼為該密碼設定訊號後續的輸入訊號(步驟 • S27)。 另外’當輸入訊號為所述座標輸出電路116輸出的移動座標或按鍵/滾 輪控制電路117響應按鍵/滾輪操作產生相應的操作訊號時,微控制器n3 接收並傳送所述移動座標、操作訊號至外接的電腦系統1〇。 综上所述,以上所述僅為本發明之較佳實施方式而已,且已達廣泛之 使用功效’凡其他未脫離本發明所揭示之精神下所完成之均等變化或修 飾’均應包含在下述之申請專利範圍内。 【圖式簡單說明】 第一圖係為一實施方式中輸入裝置實現其内部資料保護的硬體架構 1307031 第二圖係為一實施方式中利用第一圖中的硬體架構圖執行資料鎖定的 解鎖及密碼更改的密碼控制方法流程圖。 【主要元件符號說明】 電腦系統 10 滑鼠 11 連接介面 110 存儲單元 111 壓力感測器 112 微控制器 113 密碼比對模組 1130 解鎖模組 1131 鎖定單元 114 輸入鍵 115 座標輸出電路 116 輸入鍵/滚輪控制電路 117 顯示屏 118Control circuit Lin Wei button / miscellaneous operation minus total operation, re-examination, storage unit and - microcontroller" where the input key is used to input signals, which can be digital keys, words or combinations of digits and letters The storage unit is used for storing data; the microcontroller includes a poor code comparison mode subtraction-dissolving group, the cryptographic pool is connected to the input signal, and the input signal and the predetermined amount-to-Bf are generated-unlocked. Turn the lock, the unlocking mode is also root ^ The unlocking of the newsletter of the Xunlin descaling storage unit; the emblem, the shooting secret, the touch of the coordinates, the operation signal to the computer system. The password control method for an input device includes the following steps: (a) providing an input device having a male code control power t», the input device including a standard output circuit for outputting a moving coordinate, a button/ The wheel control circuit is configured to generate a corresponding operation signal in response to the button/wheel operation, the plurality of input keys are used to generate an input signal, a storage unit and a microcontroller, wherein the input key can be a digital key, a letter key, or a digital key In combination with the letter key, the microcontroller includes a password matching module and an unlocking module, and (b) when receiving the input signal generated by the input key, " and determining that the input signal is consistent with the predetermined password, the password The comparison module generates an unlock signal; (c) the unlocking module releases the locking of the storage unit so that the external computer system can access the storage unit, and (d) receives the input signal as the movement of the coordinate output circuit output The coordinate or button ^ roller control circuit responds to the button/wheel to generate the corresponding operation signal, receives and transmits the moving coordinate and operation signal to External computer system. Compared with the prior art, the input device and the password control method thereof, the user needs to input the correct password by operating the input key of the input device, and then unlock the storage unit, so that the recovery operation is effective and can be performed. The password is changed, so that the password control function can prevent other people from arbitrarily accessing the storage unit to protect the data in the input device. β1307031 [Embodiment] As shown in the first figure, the input device is implemented in an embodiment. A hardware architecture diagram of its internal data protection. In the present embodiment, the input device employs a mouse for convenience of description, but is not limited thereto, and may be other types of input devices such as a trackball, a stylus, an operating lever, and the like. The mouse 11 includes a connection interface 110, a storage unit lu, a pressure sensor 112, a microcontroller u3, a locking unit 114, a plurality of input keys 115, a standard output circuit 116, and a button/wheel control circuit. 117 and a display 118. The magic connection interface 110 is used to connect the mouse 11 to a computer system, the connection interface ιι〇 can be a USB interface or a PS/2 interface ❶ input key Π 5 can be a digital key, a letter key, or a number A combination of a bit key and a letter key for generating an input signal. The enter key 115 also includes a password setting button for the user to change the password. The coordinate output circuit 116 conceals (4) the mouse's control signal to the microcontroller 113, and the microcontroller 113 transmits the data input by the coordinate output circuit 116 to the computer system 1 by using the connection interface 110. The button/wheel control circuit 117 is used to control the buttons and the scroll wheel in the mouse U and output corresponding operation signals (such as left, middle and right button signals, scroll signals) of the button and the wheel to the microcontroller 113, the microcontroller 113 also uses the connection interface 11 to transmit the operation signal to the computer system 1 . The display 118 can display password related information during the password operation, for example, when the input password is incorrect, the password error information is prompted, and when the password is changed, the new password information is prompted. The storage unit m is used for storing data. The pressure sensor 112 is located at the bottom of the mouse 11. When the mouse u is in a normal placement state (e.g., flat), the pressure sensor 112 can generate a pressure sensing signal due to the pressure; When the ail is in an abnormally placed state (eg, side or reverse), the pressure sensor 112 does not generate a pressure sensing signal because it is not under pressure. The microcontroller 113 immediately scans the pressure sensing signal generated by the pressure sensor 112 to generate a locking signal to the locking unit 114 when the pressure sensing signal is not scanned for a predetermined period of time. The locking unit 114 receives and locks the storage unit ηι according to the locking signal, so that others cannot access the storage unit 1; the data in the L1 reaches the purpose of protecting the data in the storage unit m. The microcontroller 113 further includes a password comparison module 113 and an unlock module 113p. The password comparison module 1130 receives an input signal from the input key 115: when the input signal includes a password setting signal, the user wants to change. When the password is changed, the password is changed to the 1307031 input signal after the password setting signal; when the input signal does not include the password setting signal, it indicates that the currently input signal is a password signal, compared to the input signal and a predetermined password, when the input When the signal is consistent with the predetermined password, an unlock signal is generated to the unlocking module 1131. The unlocking module 1131 releases the lock on the storage unit 111 based on the unlocking signal to resume the access operation to the storage unit. Therefore, the password control function can reduce the risk that the password can be easily cracked and prevent others from arbitrarily accessing the storage unit, thereby achieving the purpose of protecting the data in the input device. As shown in the second figure, it is a flowchart of a password control method for performing unlocking and changing of data lock using the hardware architecture diagram of the first figure in an embodiment. First, the microcontroller 113 receives the input signal generated from the input key 115 (step S20). The microcontroller 113 determines whether the current input signal Φ includes a password setting signal (step sn) corresponding to the password setting key. If the password input signal is not included in the current input signal, it indicates that the input signal is a password signal, and the weight comparison module 1130 determines whether the input signal matches the predetermined password by comparing the input signal with a predetermined password (step S22). . If the input signal matches the predetermined password, the password comparison module 1130 generates an unlock signal to the unlocking module ι 31 (step S23). The unlocking module 1131 unlocks the storage unit 111 according to the unlocking signal (step S24). If the input signal does not match the predetermined password, the password error message is displayed on the display screen 118 (step S25). The password receiving module re-receives the new input signal and returns to step S22 (step S26). If the password input signal is included in the current input signal, the user wants to change the password, and the password comparison module 1130 changes the password to the subsequent input signal of the password setting signal (step S27). In addition, when the input coordinate is the moving coordinate or the button/wheel control circuit 117 outputted by the coordinate output circuit 116 generates a corresponding operation signal in response to the button/wheel operation, the microcontroller n3 receives and transmits the moving coordinate and the operation signal to The external computer system is 1〇. In the above, the above description is only for the preferred embodiment of the present invention, and has been used for a wide range of functions. Any other equivalent changes or modifications that are not made without departing from the spirit of the present invention should be included. Within the scope of the patent application. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a hardware architecture 1307031 in which an input device implements internal data protection in an embodiment. The second figure is an embodiment in which data locking is performed by using the hardware architecture diagram in the first figure. Flowchart for password control methods for unlocking and password changes. [Description of main component symbols] Computer system 10 Mouse 11 Connection interface 110 Storage unit 111 Pressure sensor 112 Microcontroller 113 Password comparison module 1130 Unlocking module 1131 Locking unit 114 Input key 115 Coordinate output circuit 116 Input key / Roller control circuit 117 display 118