M393115 五、新型說明: 【新型所屬之技術領域】 本創作係有關一種門禁卡裝置,特別是一種具有高信賴度 資料處理之門禁卡裝置。 & 【先前技術】 由於科技進步及對安全管理的重視,目前公司、廠房或居 家通常以門禁卡機進行人員控管,甚至可做為人員考勤之用。 上述門禁卡機置放於人員出入口,提供感應卡、輸入密 碼、指紋辨識、人臉辨識等方式,辨識人員身分而控管出入人 員。門禁卡機往往需搭配主機使用,主機可儲存人員進出資料 或作為考勤依據。門禁卡機與主機之連接方式可以有線或無線 方式,尤其以無線方式連接更具有系統設置容易之優點。然, 無線通訊訊號有時不穩定,當門禁卡機與主機之通訊不穩時, 刷卡資料容易遺失’而無法正痛開啟門鎖,或者,遺漏記錄該 筆進出資料,而造成考勤資料遺漏。 又’門禁卡機往往僅能同時處理一筆刷卡資科,當一筆刷 卡資料尚未上傳,而緊接著讀取到第二筆刷卡資料時,原先第 一筆刷卡資料將會遺失。 再者,不同程序間容易造成干擾,當處理門禁管制時無法 同時控制門鎖,或,上傳刷卡資料時無法同時讀取門禁卡資 料。甚者,雜訊或電源干擾會造成門禁卡機當機,而無法正常 運行’甚至造成刷卡資料遺失。 3 【新型内容】 的在於提出一高信賴度資料處 定及多程序間互相影響,並可 有鑑於此’本創作之主要目 理門禁卡襄置,可克服通訊不穩 復原不正常當機。 一種具有高信賴度資料處理門禁卡裝置,用以根據感應卡 片開啟門鎖,其中感應卡片包含辨識訊息,門禁卡裝置包含: 感應卡模組,用以讀_應卡片之辨識訊息;儲存模組,用以 儲翻m訊息;⑽控解元,__⑽;中央鋪單元, 運行坦圈絲式’肋控概應卡觀、儲械組及門鎖控 制單元’並於迴圈主程式最末端發出清除訊號;及計數單元, 電連接中央控噼元,若於溢赠_絲峨,則歸零 計數’若於計魅位時仍未收到清除訊號,則重置中央控制單 元。 有關本創作之較佳實施例及其功效,茲配合圖示說明如 後。 【實施方式】 以下舉出具體實施例以詳細說明本創作之内容,並以圖示 作為辅助說明。說明中提及之符號係參照圖示符號。 請參照第1圖所示,係為本創作第一實施例之方塊圖。本 創作實施例之門禁卡裝置可根據感應卡片6開啟門鎖7,其中 感應卡片6包含辨識訊息。門禁卡裝置包含感應卡模組丨、儲 存模組2、門鎖控制單元3、中央控制單元4及計數單元5。 M393115 感應卡模組1用以讀取感應卡片6之辨識訊息。儲存模組2用 以儲存感射馳i 之觸訊息。⑽㈣單元3用以控 制門鎖7。中央控制單元4電連接感應卡模組卜儲存模組^ 門鎖控制單70 3及計數單元5。中央控制單元4運行一迴圈主 耘式用以控制感應卡模組!、儲存模组2及門鎖控制單元3, 並於迴@絲細un RGbin)最末猶岭㈣號4卜計數單 το 5電連射央㈣單元4,若於計龜猶㈣清除訊號 41 ’則歸零計數;若於雜溢辦仍未㈣清除峨41,則 發出重置訊號51至中央控制單元4,以重置中央控制單元*。 於此’當中央控制單元4跑入無限迴圈或因不正常程序而 發生錯誤,啦法舰絲喊41至計數單元5,致使計數 單元5溢位。因此,計數單元5於溢位時重置中央控制單元4, 而恢復程序運作。健存模組2更可儲存感應卡資料,用以比對 讀取之辨識訊息是否為可通行之身分。 本創作實施例之門禁卡裝置更可包含輸出模組及輸入模 組。輸出模組用以顯示讀卡狀態,輸入模組用以設定門禁卡裝 置或輸入密碼。於此,輸出模組可為液晶螢幕、顯示燈或揚聲 器。液晶螢幕可顯示感應時間、感應卡片6之辨識訊息及感應 結果等訊息;顯示燈可反應讀取狀態或顯示警告;揚聲器可反 應讀取狀態或發出警示聲音。輸入模組可為鍵盤或按鈕。鍵盤 可用以輸入密碼或設定’按鈕可作為手動開關或接收外部訊號 (如門位或鎖位偵測)。 5 M393115 化Γ質上’中央控制單元4可為單晶片或嵌入式控制器,中 元4較佳地可於絲式的最末猶送清除訊號41, 4丨麵树朗料恤清除訊號 因右球U發生異常,但_賊肛讀零計 疋5,則無法將中央控制單元4重置。 請參照第2圖所示,係為本創 創作實施例之門禁卡裝置如第〃 ^之塊圖。本 實施例所述’進一步包含诵却 果組8,連接外部之主機9,用以傳送 主=:驗賴識訊息後,門鎖7。於此,主;^^辨 識訊息及其感應時間做成人員考勤記錄。 據辨 在本實施财’儲铜組2健地可包含二第—記 21及第二記憶單元22。於诵心' 每舆錢9連結中斷時, 間。第-^^22賴針A6之觸喊及感應時 通U=rr應辨觀,1爾烟庫,於 ::模:與主機9連結帽時,暫時 制早Μ進行驗證。於驗證_訊息後, =控 ^鎖控制單幻開朗鎖7。域,料財〗 鎖。此外,更可於it訊模組8與主機 進仃開 ㈣傳送暫存於第-記憶單元21之辨復後,通訊模組 機9,使人胃考勤細磉訊〜及感應時間至主 料庫可僅m存特定之部分感應卡然,感應卡資 特定感應卡片開鎖。 於通訊中斷時,僅允許 M393115 於此,第一記憶單元21之容量低於第二記憶單元22,第 一記憶單元21之讀寫次數高於第二記憶單元22。舉例而言, 第一記憶單元21可為電子可擦拭記憶體(EEPROM),第二記 憶單元22可為快閃記憶體(HashROM),但本創作並非以此 為限。第一記憶單元21於寫入辨識訊息時,一同暫存依據辨 識訊息計算之檢查碼’用以檢查儲存於第一記憶單元21之辨 識訊息的正確性。二第一記憶單元21交互備份辨識訊息及檢 查碼,可確保辨識訊息的正確性。 在本實施例中,中央控制單元4以分時多工方式控制感應 卡模組1及通訊模組8,可避免感應及通訊程序互相干擾。此 外,當一筆辨識訊息尚未上傳,而緊接著讀取到第二筆辨識訊 息時,可先暫存讀取之多筆辨識訊息,再一同上傳至主機9 , 且主機9僅需回覆最後-筆辨識訊息,輸出模组則顯示最後一 筆辨識訊息。 綜上所述’本創作所提出之具有高信賴度資料處理門禁卡 裝置’確實可避免因通訊不良或其他程序而遺失辨識訊息,亦 可於通訊不良時,維持門禁管制功能。 雖然本創作的麟内容已經峨佳實關揭露如上,然其 並非用以限定本創作,任何熟習此技藝者,在獨離本創作之 精神所作些許之更動與潤飾,皆應涵蓋於本創作的料内,因 此本創叙傾範岭概社_請專概贿 【圖式簡單說明】 為竿 7 M393115 第1圖為本創作第一實施例之方塊圖。 第2圖為本創作第二實施例之方塊圖。 【主要元件符號說明】 1 :感應卡模組 2:儲存模組 21 :第一記憶單元 22 :第二記憶單元 3:門鎖控制單元 4:中央控制單元 41 :清除訊號 5:計數單元 51 :重置訊號 6:感應卡片 7 :門鎖 9 :主機 8:通訊模組M393115 V. New description: [New technical field] This creation is related to an access card device, especially an access card device with high reliability data processing. & [Prior Art] Due to the advancement of science and technology and the importance of safety management, the company, factory or home is usually controlled by the access control card machine, and can even be used for personnel attendance. The above-mentioned access card machine is placed at the entrance and exit of the personnel, and provides a method such as a proximity card, input password, fingerprint identification, face recognition, etc., to identify the person and control the entry and exit personnel. The access card machine often needs to be used with the host. The host can store personnel access data or as a basis for attendance. The connection between the access card machine and the host computer can be wired or wireless, especially in a wireless manner, which has the advantage of easy system setting. However, the wireless communication signal is sometimes unstable. When the communication between the access control card and the host computer is unstable, the card information is easily lost, and the door lock cannot be opened, or the entry and exit of the pen is missed, and the attendance data is omitted. In addition, the access control card machine can only process one credit card at the same time. When a card data has not been uploaded yet, and then the second card data is read, the original first card data will be lost. Furthermore, it is easy to cause interference between different programs. When the access control is processed, the door lock cannot be controlled at the same time, or the access card data cannot be read at the same time when the card data is uploaded. In other words, noise or power interference can cause the access card to crash and not function properly~ even causing the card data to be lost. 3 [New content] It is to propose a high-reliability data processing and multi-program interaction, and in view of this, the main objective of the creation of the access control card, can overcome the instability of communication and restore the abnormality. A high-reliability data processing access card device for opening a door lock according to an inductive card, wherein the sensing card includes an identification message, the access card device comprises: a sensing card module for reading an identification message of the card; and a storage module For storing the m message; (10) controlling the element, __(10); the central paving unit, running the barn wire type 'ribbed control card view, the storage unit and the door lock control unit' and issuing at the end of the loop main program Clear the signal; and the counting unit, electrically connected to the central control unit, if the overflow _ silk, then return to zero count 'If the clear signal is not received when the charm position, then reset the central control unit. The preferred embodiment of the present invention and its effects are described below in conjunction with the illustrations. [Embodiment] Hereinafter, specific examples will be described in detail to explain the contents of the present invention, and are illustrated by the accompanying drawings. The symbols mentioned in the description are referred to the pictograms. Please refer to FIG. 1 , which is a block diagram of the first embodiment of the creation. The access card device of the present embodiment can open the door lock 7 according to the sensing card 6, wherein the sensing card 6 contains an identification message. The access card device includes a proximity card module, a storage module 2, a door lock control unit 3, a central control unit 4, and a counting unit 5. The M393115 proximity card module 1 is used to read the identification message of the sensing card 6. The storage module 2 is used to store the touch information of the sensor. (10) (4) Unit 3 is used to control the door lock 7. The central control unit 4 is electrically connected to the induction card module, the storage module, the door lock control unit 70 3 and the counting unit 5. The central control unit 4 runs a loop master to control the proximity card module! , storage module 2 and door lock control unit 3, and back to @丝细un RGbin) the last Jade (four) number 4 b count single το 5 electric connection to the central (four) unit 4, if the count turtle (four) clear signal 41 ' Then, the count is zero; if the 溢41 is not cleared (4), the reset signal 51 is sent to the central control unit 4 to reset the central control unit*. Here, when the central control unit 4 runs into an infinite loop or an error occurs due to an abnormal procedure, the French ship shouts 41 to the counting unit 5, causing the counting unit 5 to overflow. Therefore, the counting unit 5 resets the central control unit 4 at the time of overflow, and the recovery program operates. The health module 2 can further store the sensor card data for comparing whether the read identification message is a passable identity. The access card device of the present embodiment may further include an output module and an input module. The output module is used to display the card reading status, and the input module is used to set the access card device or input a password. Here, the output module can be a liquid crystal screen, a display light or a speaker. The LCD screen can display the sensing time, the identification message of the sensing card 6 and the sensing result; the indicator light can reflect the reading status or display the warning; the speaker can respond to the reading status or sound a warning sound. The input module can be a keyboard or a button. The keyboard can be used to enter a password or set the 'button' to be used as a manual switch or to receive external signals (such as door position or lock position detection). 5 M393115 Γ 上 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' If the right ball U is abnormal, but the _ thief reads zero, the central control unit 4 cannot be reset. Please refer to FIG. 2, which is a block diagram of the access control card device of the present invention. The embodiment described in the present embodiment further includes a group 8 connected to the external host 9 for transmitting the main =: acknowledgment message, the door lock 7. Here, the main; ^^ identification message and its sensing time make a person attendance record. It is discernible that in the present implementation, the copper storage group 2 can include a second-page 21 and a second memory unit 22. Yu Yuxin's every time the 9th link is interrupted, between. The first ^^^22 赖 A6's screaming and sensing when passing U=rr should be observed, 1 arsenal, in the :: modulo: when the cap is connected with the main unit 9, the system is temporarily verified. After verifying the _ message, the = control lock controls the single magical lock 7. Domain, wealth〗 Lock. In addition, the IT module 8 and the host can be opened (4) after being temporarily stored in the first memory unit 21, the communication module machine 9 is enabled to make the patient's stomach attendance and the induction time to the main material. The library can only store a certain part of the sensor card, and the sensor card can be unlocked by a specific sensor card. When the communication is interrupted, only M393115 is allowed, and the capacity of the first memory unit 21 is lower than that of the second memory unit 22, and the number of reading and writing of the first memory unit 21 is higher than that of the second memory unit 22. For example, the first memory unit 21 can be an electronically erasable memory (EEPROM), and the second memory unit 22 can be a flash memory (HashROM), but the present invention is not limited thereto. When the identification message is written, the first memory unit 21 temporarily stores the check code ‘ calculated based on the identification message to check the correctness of the identification message stored in the first memory unit 21. The first memory unit 21 interactively backs up the identification message and the check code to ensure the correctness of the identification message. In this embodiment, the central control unit 4 controls the inductive card module 1 and the communication module 8 in a time division multiplexing manner to avoid mutual interference between the sensing and communication programs. In addition, when an identification message has not been uploaded yet, and then the second identification message is read, the plurality of identification messages read may be temporarily stored and uploaded to the host 9 together, and the host 9 only needs to reply to the last-pen. To identify the message, the output module displays the last identification message. In summary, the "high-reliability data processing access control card device proposed by the author" can avoid the loss of identification information due to poor communication or other procedures, and can also maintain the access control function when communication is poor. Although the content of this creation has been exposed as above, it is not intended to limit the creation. Anyone who is familiar with this skill, and some changes and refinements in the spirit of this creation should be covered by this creation. In the material, therefore, this is a block diagram of the first embodiment of the creation of the creation of the first embodiment of the creation of the creation of the first embodiment of the present invention. Figure 2 is a block diagram of the second embodiment of the creation. [Main component symbol description] 1 : Proximity card module 2: Storage module 21: First memory unit 22: Second memory unit 3: Door lock control unit 4: Central control unit 41: Clear signal 5: Counting unit 51: Reset signal 6: sensor card 7: door lock 9: host 8: communication module