200842689 九、發明說明: 【發明所屬之技術領域】 本發明係指一種儲存橋接哭乃廄 叙計+ 及應用此儲存橋接器的儲存奘署 ,、儲存方法,尤指一種藉由快閃記 ― 子衣置 資料及儲存該儲存單元之儲存資二以::早70,暫存所傳輸之 貝汛M提升資料傳輪可靠性夕辟 存橋接减顧·存橋接H _純置與 【先前技術】 隨著資訊的發達及電腦技術的進步,電腦系統的體積日漸縮 運用也日漸夕TG為了要擴充電腦系統的功能,適應各使用 者不同的需求,各式各樣的電腦系統外接裝置也就應運而生。舉 例來說,像是外接式硬碟或是可攜式儲存裝s,能擴充電腦系統 原本有限的記憶容量;外接式_機及辆燒錄機龍擴充電腦 系統的多媒體㈣存取功能,並提供大容量資料備份的能力;另 外還有1C智慧卡〈smartcard〉及外接式網路卡等等。然而,為了 使外接之儲存裝置能夠正常工作,基柄要求就是魏立起有效 的傳輸介面,以使主機系統能夠有效率地與各式各樣的儲存裝置 進行資料傳輸。目前已發展出許多產業標準的傳輸協定,例如·· 不同版本的通用序列匯流排〈Universal Serial Bus,USB〉規格、 IEEE1394 規格、eSATA〈External Serial ΑΤΑ〉規格等,在此情形 下,儲存I置與主機糸統間必須使用一種中介裝置〈可稱為儲存 橋接器〉’以 IDE 介面〈Integrated Device Electronics〉、SATA 介面 〈Serial ΑΤΑ〉或小型電腦系統介面〈Small Computer System 5 200842689 SCSI〉等與其储存裝置做連接,並與主機系統之間提供 傳輸介面,_使_裝統之間能進行正 吊的通矾與貧料傳輸。 ’ ί1 _先_術—系統ω之功能方塊圖。 二㈣匕3有一主早70 11及一儲存裝置15。主單元11為1腦 任何可赵欲儲存資料之·,例如數位相機等。儲存 =勺人馬接於主早疋11 ’用來接收並儲存來自主單元11之資料, 151 152 ° 151 二早:存單元152之間,用來提供-資料傳輸介 傳/主早7011與儲存橋接器⑸可依據一第一傳輸協定進行 =、’叹使儲存橋接器⑸觸存單元152可依據—第二 便0=專輸。因此,來自主單元11之資料,透過儲存橋接器15 !ϊ, 便可轉換錢無存單元152執行㈣傳輸的㈣。除此之外, =接_通常包含有―傳輸介面㈣單元153,其用來根據 傳^ 11之指令’控觸存咖151的運作並據峨行資料的 μ而,在這樣的架構下,當資料在傳輸時發生中斷,例如當— =於電齡機之外接式硬碟在·傳輪時,遭遇停電或被不正 :地移除’由於部分資料仍在資料格式轉換或仍在傳輸的過程 ,將導致所傳輸的資料會有遺失或損毁的情形發生。因此,如 何避免資料因傳輸的意外中_造成㈣料遺失與錯誤,便為現 6 200842689 % 今此領域很重要的一個課題。 【發明内容】 目的即在於提供一種 可提升資料傳輸可靠 因此,本發明之主要 性之儲存橋接器。200842689 IX. Description of the invention: [Technical field of the invention] The present invention refers to a storage bridge, crying, and storage, and a storage method for storing the storage bridge, and a storage method, especially by flashing. Clothing information and storage of the storage unit of the storage unit 2:: early 70, temporary storage of the transmission of the Bellow M to enhance the reliability of the data transmission, bridges, bridges, bridges, storage, bridges, H, _ pure and [prior technology] With the development of information and the advancement of computer technology, the volume of computer systems is gradually shrinking. In order to expand the functions of computer systems and adapt to the different needs of users, various computer system external devices should be shipped. Born. For example, an external hard disk or a portable storage device can expand the limited memory capacity of the computer system; the external device and the burner can expand the multimedia (four) access function of the computer system, and Provides the ability to back up large data files; there are also 1C smart card <smartcard> and external network card. However, in order for the external storage device to work properly, the base handle requirement is Wei Liqi's effective transmission interface, so that the host system can efficiently transmit data with various storage devices. At present, many industry standard transmission protocols have been developed, for example, different versions of the Universal Serial Bus (USB) specification, IEEE1394 specification, eSATA <External Serial ΑΤΑ> specifications, etc. In this case, the storage I is set. An intermediary device (which may be called a storage bridge) must be used with the host system to store with the IDE interface <Integrated Device Electronics>, SATA interface <Serial ΑΤΑ> or small computer system interface <Small Computer System 5 200842689 SCSI>. The device is connected and provides a transmission interface with the host system, so that the hang-up and the poor material can be transported between the installations. ’ ί1 _ first _ surgery — system ω functional block diagram. Two (four) 匕 3 has a main early 70 11 and a storage device 15. The main unit 11 is a brain that can store data, such as a digital camera. Storage = Spoon person is connected to the main early 11 ' used to receive and store the data from the main unit 11, 151 152 ° 151 2 early: between the storage unit 152, used to provide - data transmission / transmission early 7011 and storage The bridge (5) can be performed according to a first transmission agreement =, 'snap the storage bridge (5) the touch unit 152 can be based on - the second is 0 = dedicated. Therefore, the data from the main unit 11 can be converted to (4) by the (4) transmission through the storage bridge 15 ! In addition, the = interface _ usually contains a "transport interface (four) unit 153, which is used to control the operation of the café 151 according to the instruction of the transmission, and according to the μ of the data, under such a framework, When the data is interrupted during transmission, for example, when the external hard disk is connected to the wheel, the power failure or the fault is encountered: the ground is removed because the data is still being converted or still being transmitted. The process will result in loss or damage to the transmitted data. Therefore, how to avoid the loss of information and the errors caused by the transmission of the data is a very important topic in this field. SUMMARY OF THE INVENTION An object of the present invention is to provide a storage bridge which is capable of improving data transmission reliability and, therefore, the present invention.
本發明揭露—種可提料料傳射紐 一快閃記憶體暫存單元,用來於一主 存橋接包含有 元時,暫存該資料,並儲存該儲存之^=料至―館存單 記憶體暫存單元。 用來控制該快閃 *明另揭露-種可提升資料傳輸可靠性 有一接收端,_於—主系統 衣置、包含 存單元,用_該主系統之資統之資料,·, 。亥接“與猶存單元之間,用來提供該㈣_ =接於 ^料傳輸介面,其包含有,記存單二 存讀於存單元時,暫存該資料,麵^乂 之儲存資m傳輸介面控解元 Π轉早疋 存單元,用來控制雜閃記憶體暫存單元。…,讀、體暫 有·= 明勵-㈣她_娜爾方法,包含 、減透過一儲存橋接器儲存一資料至一儲存單元時, 7 200842689 藉f亥儲存橋接器之—_記憶體暫存單元暫存該資粗… 该資料至該儲存單元· 、科,並儲存 儲存單元之儲存資訊 __單心儲存該 【實施方式】 月m圖’第2圖為本發明—實施例儲存 - 圖。儲存褒置20包含有一接收端21、一儲存單元^ 20之示意 接器23。接收端21鯉垃於+抑 及一儲存橋 枓^ 接於—主早7^24,用來接收主單元2〇次 科。其中,主單元24可為-電腦主機或是其它可產生:=4之貧 例如數位相㈣數位攝影機等。儲存料 /之设備, 2料U存橋接n23_於接收端21與儲存單元 含有二早7與儲存單元22之—細#輸介面,其包 ;己产料二義體暫存早70 231及一傳輸介面控制單元232。快閃 新^ 231用來於主單元24健存資料於儲存單元22時, 曰子^ 並儲射轉單元22之儲存資訊。傳輸介面控制單元 元231於决閃義體暫存單元231,用來控制快閃記憶體暫存單 ^的運作,以及執行資料的傳輸。 口此抑在貝料傳輸時,本發明之儲存橋接器23可透過快閃記 ^二Γ存早Mi,先暫存所傳輸之資料,以避免資料因傳輪的意 1。斷’例如遭遇停電或被不正常地移除時,導致資料的遺失或 此外本發明之料橋接$ Μ $可齡㈣祕體暫存單 U3!儲存該儲存單元22之儲存資訊,例如儲存單元22之槽案 200842689 由 資料表或_資鱗,时當#料傳齡种 與修補遭破壞之儲存單元料表或刪訊等將未完建成 储存且毁損或遺失之資料麵儲存於贿單元仏另―方面,! 於儲存單元22之播案資料表或磁區資訊可能會有損壞的情形發 生’因此本發明可藉由儲存於快閃記憶體暫存單元231之備份之 槽案資料表或碰魏,线雜韻破壞讀存單元a的槽案 貧料表或碰資訊,林效減少轉發生的解,飾提昇儲存 裝置的可靠度。 一凊茶考第3〜5圖’第3圖為透過第2圖之儲存橋接器23提昇 貧料傳輸之可靠性_圖,第4圖及第5圖為對應於第3圖流程 之f料傳輸路徑示意圖。流程30係用於本發明之儲純置2〇,當 主単兀24 _存資料存單元22時〈步驟獅〉,透過傳輸^ _制單it 232的控制,先將資料暫存至快閃記憶體暫存單元231 中〈步驟31G〉;接著,再透過傳輸介祕制單元说,將資料儲 ,至儲存單元22可用祕1JL〈步驟32〇〉。同時,傳輸介面控制 早几232也會將儲存單元22的儲存資訊儲存至快閃記憶體暫存單 疋231〈步驟33〇〉,然後結束〈步驟34〇〉。另一方面,如果資料 傳,意外發生帽’例如遭遇停電雜不正魏移除時,導致儲 存單元22中儲存的資料與磁區資訊發生毀損或遺失。此時,傳輸 ^控制單元232便會根據儲存單元η毁損的狀況及暫存於^ :己體暫存單凡2;^中的資料,修復或還原儲存單元^及域其内 部儲存的資料。此外,值得注意的是,本發明之傳輸介面控制單 9 200842689 元232可以任何具相同功能之實體電路或勤體方式實現,並不影 2本發明之範圍。鼠,她之下,本發明之儲存橋接了提 =資:傳輸介面,使主單元與儲存橋接器可依據—第一傳輸協 =仃=輸,以及使儲存橋接器與儲存單元可依據—第二傳輸協 =仃傳輸之外,更可以料提升資料傳輸可織,進而延長儲 存衣置的使用壽命,並提昇其使用的效率。 ^上所述,本發明可提升聽傳輸可#性之财橋接器係藉由 t閃战贿存單元,暫存所傳輸之資料及儲存儲存單元之儲存 :二秋資湘傳輸的意外中斷,造料的遺失或錯誤。 的儲存單儲存1置可為-外接式儲存裝置’而儲存裝置中 早7L可為-硬碟或一光碟機等機械式儲存單元,藉由 =體作物細_,懒減罐式儲存單元 運作次數’以提高儲存裝置使用的壽命,進而提昇其使 以上所述僅為本發明之較佳實施例,凡 圍所做之解變化與修飾1蘭本㈣之涵蓋細相乾 【圖式簡單說明】 圖為騎技m舰方塊圖。 第2圖為本發明—儲存裝置之示意圖。 *回為相第2 w之儲存橋接雜昇資料雜之可靠性流程圖。 200842689 • 第4圖及第5圖為對應於第3圖流程之資料傳輸路徑示意圖。 【主要元件符號說明】 10 系統 11、24 主單元 15、20 儲存裝置 151、23 儲存橋接器 152、22 儲存單元 153 、 232 傳輸介面控制單元 21 接收端 231 快閃記憶體暫存單元 30 方法 300、310、320、330、340 步驟The invention discloses an extractable material-transmitting New Zealand flash memory temporary storage unit, which is used for temporarily storing the data when a main storage bridge includes a yuan, and storing the stored material to the library deposit receipt Memory temporary storage unit. It is used to control the flash. * It can also be used to improve the reliability of data transmission. There is a receiving end, _ in the main system, and the storage unit, using the information of the main system, ·,. The connection between the hex and the sacred unit is used to provide the (four) _ = connected to the material transmission interface, which includes, when the memory is stored in the storage unit, the data is temporarily stored, and the storage element is transmitted. Interface control unit Π Π 疋 , , , , , , , , , , , , , 。 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂 杂When a data is sent to a storage unit, 7 200842689 by means of a storage bridge of the _ _ memory temporary storage unit temporarily stores the stipulations... The data is stored in the storage unit, the section, and the storage unit of the storage unit __单Heart Storage [Embodiment] Month mFig. 2 is a storage-figure of the present invention - an embodiment. The storage device 20 includes a receiving end 21, a schematic connector 23 of a storage unit 20, and a receiving end 21 In addition to a storage bridge 枓 ^ connected to the main early 7 ^ 24, used to receive the main unit 2 sub-section. Among them, the main unit 24 can be - computer host or other can produce: = 4 poor, such as digital Phase (four) digital camera, etc. Storage material / equipment, 2 material U storage bridge n23_ at the receiving end 21 and the storage list Included in the early morning 7 and the storage unit 22 - the thin # interface, the package; the production material dioxin temporary storage 70 231 and a transmission interface control unit 232. Flash new ^ 231 for the main unit 24 When the data is stored in the unit 22, the storage unit 22 stores the information stored in the unit. The transmission interface control unit 231 is used in the flash memory temporary storage unit 231 to control the operation of the flash memory temporary storage unit. The transmission of the data is performed. In the case of the bait transmission, the storage bridge 23 of the present invention can temporarily store the transmitted data through the flash memory to prevent the data from being transmitted by the transmission wheel. If the power is interrupted or is not properly removed, the data is lost or the material of the present invention is bridged by $ 可 $ age (4) the secret temporary storage unit U3! The storage information of the storage unit 22 is stored, for example, the storage unit 22 The trough case 200842689 is stored in the bribe unit by the data sheet or _quantitative, when the material age and the repaired damaged storage unit list or the deletion, etc., the information that has not been completed and stored and damaged or lost is stored in the bribe unit. Aspect,! The broadcast data sheet of the storage unit 22 The magnetic zone information may be damaged. Therefore, the present invention can be used to store the buffer data table stored in the flash memory temporary storage unit 231 or to touch the Wei. The material table or touch information, the forest effect reduces the solution of the transfer, and the reliability of the storage device is improved. A tea test No. 3~5Fig. 3 shows the improvement of the poor material transmission through the storage bridge 23 of FIG. Reliability_图, Fig. 4 and Fig. 5 are schematic diagrams showing the transmission path of the f material corresponding to the flow of Fig. 3. The flow 30 is used for the storage of the present invention, and the main storage unit 24 At 22 o'clock <step lion>, the data is temporarily stored in the flash memory temporary storage unit 231 by the control of the transfer _ single 232 (step 31G); then, through the transmission secret unit, The data is stored, and the storage unit 22 can use the secret 1JL <Step 32〇>. At the same time, the transmission interface control 232 will also store the stored information of the storage unit 22 to the flash memory temporary storage unit 231 <Step 33 〇>, and then terminate <Step 34 〇>. On the other hand, if the data is transmitted, the accidental occurrence of the cap, for example, when the power failure is removed, causes the data stored in the storage unit 22 and the magnetic zone information to be damaged or lost. At this time, the transmission control unit 232 repairs or restores the data stored in the storage unit and the internal area according to the condition of the storage unit η and the data temporarily stored in the temporary storage unit. In addition, it is to be noted that the transmission interface control unit 9 200842689 232 of the present invention can be implemented in any physical circuit or in a physical manner having the same function, and does not affect the scope of the present invention. Under the mouse, the storage bridge of the present invention bridges the transfer interface, so that the main unit and the storage bridge can be based on the first transmission protocol, the storage bridge and the storage unit can be based on the first In addition to the transmission of the second transmission, it is expected that the data transmission can be woven, thereby prolonging the service life of the storage and improving the efficiency of its use. According to the above description, the present invention can improve the listening transmission. The bridge is stored by the t-flash bribery unit, temporarily storing the transmitted data and storing the storage unit: the accidental interruption of the transmission of the second Qixiang Xiang, Lost or wrong with the material. The storage unit can be stored as an external storage device, and the storage device can be a mechanical storage unit such as a hard disk or a CD player. The machine can be operated by a thin cropping unit. The number of times 'to improve the life of the storage device, and thus to enhance the above, is only a preferred embodiment of the present invention, and the solution changes made by the surrounding one are closely related to the modification of the modification 1 (4). 】 The picture shows the block diagram of the riding skill m ship. Figure 2 is a schematic view of the storage device of the present invention. *Return to the reliability flow chart of the storage bridge bridging data of the 2nd w. 200842689 • Figures 4 and 5 are schematic diagrams of data transmission paths corresponding to the process of Figure 3. [Main component symbol description] 10 System 11, 24 Main unit 15, 20 Storage device 151, 23 Storage bridge 152, 22 Storage unit 153, 232 Transmission interface control unit 21 Receiver 231 Flash memory temporary storage unit 30 Method 300 , 310, 320, 330, 340 steps
1111