1301237 七、指定代表圖: ㈠本案指定代表圖為:第二圖。 (一)本代表圖之元件符號簡單說明: 21 :輸入單元; 22 :延遲單元; • 2 3 ·邏輯單元; 24 :處理器;以及 25 :電源供應單元。 八本案若有化學式時,請揭丨最能顯示發明特徵的化學式: 九、發明說明: 【發明所屬之技術領域】 本發明係為—種快閃記憶體之保護模組及其關機方法, ==使用處理^讀寫快閃記憶體之電子裝置中’特別是 ^情及延遲單7來避免資料流失及因當機而無法關機 【先前技術】 圖’係為習知技藝之個人數位助理裝置之關機方 ^步’程圖。首先,由使用者執行關機動作(步驟_,係 由處理$直接發出關機通知至電源供應單元;由電祕申 ^供應電源至個人數位助理裝置(步驟110:),藉此個人二位 衣置停止卫作狀態;完成個人數位助理裝置之關機動作(步驟 1301237 120) 般而έ,若個人數位助理裝置之處理器發生者捲採, 應單元仍會繼續供電,使個人數位助理裝置i 而無法關機。此外,當使用者強行使個人數位助理詈:狀 應單f立即停止供應電源予處麵^ 4體進行資料讀寫動作,容易造成快閃記憶體之資料流失 ^ ^又°十種快閃έ己憶體之保護模組及其關機古、、 失助理裝置在關機時發生快閃記憶體之資料* 態而無法完成^發生當機狀況使個人數位助理裝置處於停‘ 【發明内容】 組及工::=,^目用::^-種快閃記憶體之保護模 。=免快_憶體於關機過程中流 AS- p U篮之冤子裝置,此保護模袓句冬古鈐 入早疋、延遲單元以及紐 mi2^有輸 ,動作時,發出通知信號至處理器I延元 止後傳送第-關機信號至邏輯^之項,作,並於讀寫動作停 邏輯單元。當邏機時間後。,,第二關機信號至 驅使電子裝置完成關機動作。弟_#錢第二關機信號,即 1301237 更進員技術特徵及所達成之功效有 為辅佐之侧目關圖式以 【實施方式】 記憶及圖;=:依/發明較佳實施例之-種㈣ 參照符號力!^關機方法,其中相_元件將以相同的 請參閱第二圖,係為本發明之一 之示意圖,此保護模組適用於呈有理體之保護模組 子裝置。本發明之保護模組係;:閃記憶體之電 子裝置之處理器已停止對快 護模組包括有置之關_作。此保 元23。 延遲單元22以及—邏輯單 遲單子裝置之處理11 24及延 遲單元22及處機時’發出通知信號至延 及令處理器24停:使延遲單元22開始計數, 作。處理器24停止4動:°己,體26與週邊元件之讀寫動 邏輯單元23。 項寫動作後’將傳送一第一關機信號至 邏輯單元23電性連接,於接收通知 此淮秆叶數動柞 23。此延遲早元22可包含震盪器,笋1301237 VII. Designated representative map: (1) The representative representative of the case is: the second picture. (1) A brief description of the component symbols of this representative diagram: 21: input unit; 22: delay unit; • 2 3 • logic unit; 24: processor; and 25: power supply unit. If there are chemical formulas in the eight cases, please disclose the chemical formula that best shows the characteristics of the invention: IX. Description of the invention: [Technical field of the invention] The present invention is a protection module for a flash memory and a shutdown method thereof, = Use the processing ^ read and write flash memory electronic device 'in particular, love and delay single 7 to avoid data loss and can not be shut down due to crash [previous technology] Figure ' is a personal digital assistant device Shutdown method ^ step map. First, the user performs a shutdown action (step _, the process directly sends a shutdown notification to the power supply unit; the power supply is supplied to the personal digital assistant device (step 110:)), thereby taking the personal two-position Stopping the state of the guard; completing the shutdown action of the personal digital assistant device (step 1301237 120). If the processor of the personal digital assistant device is logged, the unit will continue to supply power, so that the personal digital assistant device i cannot In addition, when the user enforces the personal digital assistant 詈: the form should immediately stop the supply of power to the surface of the body ^ 4 body for data read and write actions, easily lead to the loss of flash memory data ^ ^ and ° ten kinds of fast The protection module of the flash memory has been shut down, and the data of the flash memory is turned off when the assistant device is turned off. The state cannot be completed. ^The occurrence of the crash condition causes the personal digital assistant device to stop. [Invention content] Group and work::=,^目用::^- Kind of flash memory protection mode. = Free fast _ memory in the shutdown process flow AS- p U basket scorpion device, this protection model 冬句冬古Break into the early days The delay unit and the neo-mi2^ have a loss. When the action is sent, a notification signal is sent to the processor 1 to transmit the first-off signal to the logic ^, and the logical unit is stopped during the read/write operation. After the second shutdown signal to drive the electronic device to complete the shutdown action. Brother _# money second shutdown signal, that is, 1301237, the technical characteristics of the further entry and the achieved effects are assisted by the side view mode [Embodiment] Memory and diagram; =: according to the preferred embodiment of the invention - (4) reference symbol force! ^ shutdown method, wherein the phase_component will be the same, please refer to the second diagram, which is a schematic diagram of one of the inventions, this protection The module is suitable for the protection device sub-device of the physic body. The protection module of the invention is: the processor of the electronic device of the flash memory has stopped to have a function of the fast protection module. 23. The delay unit 22 and the processing of the logic single late single device 11 24 and the delay unit 22 and the machine when the device sends a notification signal to the delay to cause the processor 24 to stop: the delay unit 22 starts counting, and the processor 24 stops. 4 moves: ° own, body 26 and surrounding The component reads and writes the logic unit 23. After the item write operation, a first shutdown signal is transmitted to the logic unit 23 to electrically connect, and the notification is notified to the Huai stalk leaf number 23. This delay early element 22 may include an oscillator. Bamboo shoot
分鐘至°5分鐘之間上述之預設關機時間是需要可設定於I 1301237 邏輯單元23,係分別與處理器24及延遲覃 連接’用於接收第〆關機信號或第二關機^ =性 二,,即可使電源供應單元25停=本電= ° 23 )根據對輸入縞仏旒之邏輯判斷以產生 ,判斷為接收第一關機信號.或第二關機信二:::上 成關機動作之輸出結果。 I產生可元 凊麥閱第三圖,係為本發明之關機方 + 本發明之_方法提供―_記㈣資 7 ::程圖。根據 ^ : ?r; 仏通知信號至處理器及延遲單元(步 ϋ γ百先,提 進行關機之彳_1± ’通知信號為操作端 記憶體及周邊元件=寫:通itf吏處理器開始停止對快閃 應模組停止供輸谢=====源供 之精;者。任何未脫離本發明 之申請專難财。 修改或變更’均應包含於後附 1301237 【圖式簡單說明】 第一圖係為習知技藝之個人數位助理裝置之關機方法之步驟流程圖; 第二圖係為本發明之一種快閃記憶體之保護模組之示意圖;以及 第三圖係為本發明之一種關機方法之步驟流程圖。 【主要元件符號說明】 100〜120 :步驟流程; 21 :輸入单元; 22 :延遲單元; 23 :邏輯單元; 24 :處理器; 25 :電源供應單元;以及 300〜330 :步驟流程。The preset shutdown time between minutes and °5 minutes is required to be set to I 1301237 logic unit 23, which is connected to the processor 24 and the delay 分别 respectively for receiving the third shutdown signal or the second shutdown ^ = sex two , the power supply unit 25 can be stopped = the local power = ° 23) according to the logic of the input 缟仏旒 to generate, determine to receive the first shutdown signal. Or the second shutdown letter two::: on the shutdown action Output the result. The third figure of the invention is the same as that of the invention. The method of the present invention provides the _ method (4) capital: According to ^ : ?r; 仏 notification signal to the processor and delay unit (step γ 百 先, first to shut down 彳 _1 ± ' notification signal for the operating terminal memory and peripheral components = write: through the itf 吏 processor start Stop the flashing module to stop the supply and return ===== source for the fine; any. The application is not difficult to leave the application of the invention. Modifications or changes 'all should be included in the attached 1301237 [Simplified description The first figure is a flow chart of the steps of the shutdown method of the personal digital assistant device of the prior art; the second figure is a schematic diagram of the protection module of the flash memory of the present invention; and the third figure is the invention Step flow chart of a shutdown method. [Main component symbol description] 100~120: step flow; 21: input unit; 22: delay unit; 23: logic unit; 24: processor; 25: power supply unit; ~330: Step flow.