CN103077249B - There is FAT system and using method thereof that two are loaded main body - Google Patents

There is FAT system and using method thereof that two are loaded main body Download PDF

Info

Publication number
CN103077249B
CN103077249B CN201310033158.4A CN201310033158A CN103077249B CN 103077249 B CN103077249 B CN 103077249B CN 201310033158 A CN201310033158 A CN 201310033158A CN 103077249 B CN103077249 B CN 103077249B
Authority
CN
China
Prior art keywords
main body
fat
loading main
loading
physics
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310033158.4A
Other languages
Chinese (zh)
Other versions
CN103077249A (en
Inventor
尹首一
刘雷波
董渊
邓仰东
魏少军
彭进展
宋继强
王大伟
邓育贤
陈新中
乔长福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN201310033158.4A priority Critical patent/CN103077249B/en
Publication of CN103077249A publication Critical patent/CN103077249A/en
Application granted granted Critical
Publication of CN103077249B publication Critical patent/CN103077249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention proposes a kind of FAT system and the using method thereof with two loading main bodys, and wherein this system comprises: the first loading main body, and the first loading main body comprises the first FAT file system; And the 2nd loading main body being connected with the first loading main body, the 2nd loading main body comprises: from engine, and the first loading main body is connected with from engine by transmission sector read write command; 2nd FAT file system; Physics FAT subregion, physics FAT subregion is connected with the 2nd FAT file subsystem with from engine; With shared FAT module, sharing FAT module and be connected with the 2nd FAT file subsystem with from engine, shared FAT module is loaded main body and the 2nd for examination and controlling first and is loaded main body to the access of physics FAT subregion. The present invention so that FAT can be accessed by two loading main bodys simultaneously, can have simple advantage.

Description

There is FAT system and using method thereof that two are loaded main body
Technical field
The present invention relates to file system technology field, in particular to a kind of, there is FAT system and the using method thereof that two are loaded main body.
Background technology
FAT(FileAllocationTable, file configuration table) it is a general file system, it is widely used in portable storage. Portable memory apparatus is formatted as FAT subregion usually, and hangs load on the main frame equipment running FAT file system. FAT specially designs for single user access, so FAT subregion can not be loaded by two FAT file system simultaneously. But, along with the trend adding intelligent function in portable memory apparatus. With Wireless USB (UniversalSerialBUS, general serial bus) storer and Eye-FiSD(SecureDigitalMemoryCard, safe digital card) block for example, this Wireless USB storer or Eye-FiSD card can by the file transfer being stored therein to other equipment even cloud store, this means that the system run in intelligent storage equipment must access FAT subregion, and namely by intelligence equipment loading, this FAT subregion of another aspect needs to be displayed in main frame equipment FAT subregion needs. Namely FAT subregion needs to be loaded by main frame equipment. Therefore, how to design and use the FAT systems with two loading main bodys to be the problem urgently studied.
Summary of the invention
The present invention one of is intended to solve the problems of the technologies described above at least to a certain extent or at least provides a kind of useful business to select. For this reason, first object of the present invention is to propose a kind of FAT system with two loading main bodys, and this system can so that FAT can be accessed by two loading main bodys simultaneously. 2nd object of the present invention is to propose the using method of a kind of FAT system with two loading main bodys.
In order to realize above-mentioned purpose, two the FAT systems loading main body that have according to embodiments of the present invention comprise: the first loading main body, and described first loading main body comprises the first FAT file system; And the 2nd loading main body being connected with described first loading main body, described 2nd loading main body comprises: from engine, and described first loading main body is connected from engine with described by transmission sector read write command; 2nd FAT file system; Physics FAT subregion, described physics FAT subregion is connected with described 2nd FAT file subsystem from engine with described; With shared FAT module, described shared FAT module is connected with described 2nd FAT file subsystem from engine with described, and described shared FAT module is used for the first loading main body and the described 2nd described in examination and controlling and loads main body to the access of described physics FAT subregion.
In one embodiment of the invention, described first loading main body is main frame, and described 2nd loading main body is intelligence equipment.
In one embodiment of the invention, described physics FAT subregion is all carried out read/write operation by described first loading main body and described 2nd loading main body.
The FAT system with two loading main bodys according to embodiments of the present invention, it is possible to make FAT can be loaded main bodys by two and access simultaneously, there is the simple advantage of structure.
The using method of the FAT system with two loading main bodys according to embodiments of the present invention, what this FAT system was that the present invention proposes a kind of has the FAT system that two are loaded main bodys, comprises the following steps: described first loading main body is by sending sector read write command and be connected from engine, described represent described first from engine and load physics FAT subregion described in principal access; Described physics FAT subregion is directly accessed by the 2nd FAT file system with described 2nd loading theme, wherein, when described physics FAT subregion is carried out reading according to operation by the first loading main body and/or the 2nd loading main body, described shared FAT module not conduct; When described physics FAT subregion is carried out data writing operation by the first loading main body or the 2nd loading main body, described shared FAT module monitors write data operate, while the first loading main body or the 2nd loading main body write data, lock the 2nd loading main body or the access of the first loading main body, and capturing after data writing operation writes back, trigger the 2nd loading main body or the first loading main body hangs the described physics FAT subregion of load again.
The using method of the FAT system with two loading main bodys according to embodiments of the present invention, it is possible to make FAT can be loaded main bodys by two and access simultaneously, there is advantage simple to operate.
The additional aspect of the present invention and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by the practice of the present invention.
Accompanying drawing explanation
Of the present invention and/or additional aspect and advantage will become obviously and from the following description of the accompanying drawings of embodiments it should be readily understood that wherein:
Fig. 1 is the structure iron of the FAT system with two loading main bodys according to embodiments of the present invention;
Fig. 2 is the schema of the using method with the FAT system that two are loaded main body according to embodiments of the present invention.
Embodiment
Being described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish. It is exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and limitation of the present invention can not be interpreted as. On the contrary, embodiments of the invention comprise all changes within the scope of the spirit and intension falling into attached claim book, amendment and etc. jljl.
In describing the invention, it is to be understood that term " first ", " the 2nd " etc. are only for describing object, and can not be interpreted as instruction or hint relative importance. In describing the invention, it is necessary to explanation, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, such as, it is possible to be fixedly connected with, it is also possible to be removably connect, or connect integratedly; Can be mechanically connected, it is also possible to be electrical connection; Can be directly be connected, it is also possible to be indirectly connected by intermediary. For the ordinary skill in the art, it is possible to particular case understands above-mentioned term concrete implication in the present invention. In addition, in describing the invention, unless otherwise explanation, the implication of " multiple " is two or more.
As shown in Figure 1, for having two structure iron loading the FAT system of main body according to an embodiment of the invention. This has two FAT systems loading main body and comprises: the first loading main body 100 and the 2nd loading main body 200, first are loaded main body 100 and be connected with the 2nd loading main body 200. Wherein, first loading main body 100 comprise first FAT file system the 110, two load main body 200 comprise from engine 210, the 2nd FAT file system 220, physics FAT subregion 230 and shared FAT module 240. Specifically, by sending, sector read write command is connected the first loading main body 100 with from engine 210. Physics FAT subregion 230 is connected with the 2nd FAT file system 220 with from engine 210. Sharing FAT module 240 to be connected with the 2nd FAT file system 220 with from engine 210, this shared FAT module 240 is loaded main body 100 and the 2nd for examination and controlling first and is loaded main body 200 to the access of physics FAT subregion 230.
In one embodiment of the invention, the first loading main body 100 is main frame, and the 2nd loading main body 200 is intelligence equipment. Specifically, main frame can have file system for notebook computer, desktop computer or panel computer etc., it is possible to loads the main frame of FAT file system, or even cloud storing device. Intelligence equipment can be the intelligent equipment that smart mobile phone, panel computer etc. have file system.
In one embodiment of the invention, physics FAT subregion 230 is all carried out read/write operation by the first loading main body 100 and the 2nd loading main body 200. It should be noted that, this situation is the most complicated, except this situation, also there are another three kinds of slightly simple situations: the first loading main body 100 and the 2nd loading main body 200 are read-only by a. physics FAT subregion 230. In this case, FAT module 240 not conduct is shared. B. physics FAT subregion 230 to first loading main body 100 be read-only, to the 2nd loading main body 200 can write. In this case, share FAT module 240 for what examination and controlling the 2nd loaded main body 200 and write access, and complete after data write back in the 2nd loading main body 200, trigger the first loading main body 100 and again hangs loading and manage FAT subregion 230. C. physics FAT subregion 230 to first loading main body 100 be can write, to the 2nd loading main body 200 be read-only. In this case, share FAT module 240 and write access for examination and controlling from the first loading main body 100, and capturing after the first loading main body 100 data write back, trigger the 2nd loading main body 200 and again hangs loading and manage FAT subregion 230.
Owing to FAT file system is widely used in consumption electronic product, communications electronics product and handheld device, the embodiment of the present invention can be applied in these electronic products, with timer two main bodys, there is the simple advantage of structure, facilitate user to increase the experience of product.
As shown in Figure 2, the schema for according to embodiments of the present invention a kind of with the using method of the FAT system that two are loaded main bodys, the method comprise the steps: the step S1: the first loading main body by send sector read write command with being connected from engine, represent the first loading principal access physics FAT subregion from engine. Physics FAT subregion is directly accessed by the 2nd FAT file system with the step S2: the two loading main body.
Wherein, when described physics FAT subregion is carried out reading according to operation by the first loading main body and/or the 2nd loading main body, described shared FAT module not conduct; When described physics FAT subregion is carried out data writing operation by the first loading main body or the 2nd loading main body, described shared FAT module monitors write data operate, while the first loading main body or the 2nd loading main body write data, lock the 2nd loading main body or the access of the first loading main body, and capturing after data writing operation writes back, trigger the 2nd loading main body or the first loading main body hangs the described physics FAT subregion of load again.
It should be noted that, while a certain loading main body carries out data writing operation, share the access that FAT module locks another and loads main body, therefore there is not the first loading main body 100 and the 2nd and load the situation that physics FAT subregion 230 is carried out data writing operation by main body 200 simultaneously.
Owing to FAT file system is widely used in consumption electronic product, communications electronics product and handheld device, the embodiment of the present invention can be applied in these electronic products, has advantage easy and simple to handle, facilitates user to increase the experience of product.
Describe and can be understood in schema or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the performed instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carrying out n-back test, this should be understood by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the performed instruction for realizing logic function can be considered as, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as based on system for computer, the system comprising treater or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or use in conjunction with these instruction execution systems, device or equipment. With regard to this specification sheets, " computer-readable medium " can be any can comprise, store, communicate, propagate or transmission program for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment. The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or dodge speed storer), fiber device, and portable optic disk read-only storage (CDROM). In addition, computer-readable medium is it is even possible that be paper or other the suitable media that can print described program thereon, because can such as by paper or other media be carried out optical scanning, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, then store it in computer memory.
It is to be understood that each several part of the present invention can realize with hardware, software, firmware or their combination. In the above-described embodiment, multiple step or method can realize with the software stored in memory and perform by suitable instruction execution system or firmware. Such as, if realized with hardware, the same with in another enforcement mode, can realize with the arbitrary item in following technology well known in the art or their combination: the discrete logic with the logic gates for data signal being realized logic function, there is the application specific integrated circuit of suitable combinational logic gating circuit, programmable gate array (PGA), field-programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to is that the independent physics of each unit exists, it is also possible to two or more unit are integrated in a module. Above-mentioned integrated module both can adopt the form of hardware to realize, it is also possible to adopts the form of software function module to realize. If described integrated module realize using the form of software function module and as independent production marketing or when using, it is also possible to be stored in a computer read/write memory medium.
The above-mentioned storage media mentioned can be read-only storage, disk or CD etc.
In the description of this specification sheets, at least one embodiment that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to be contained in the present invention in conjunction with concrete feature, structure, material or feature that this embodiment or example describe or example. In this manual, the schematic representation of above-mentioned term is not necessarily referred to identical embodiment or example. And, the concrete feature of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although it has been shown and described that embodiments of the invention, it will be understood by those skilled in the art that: these embodiments can be carried out multiple change, amendment, replacement and modification when not departing from principle and the objective of the present invention, the scope of the present invention by claim and etc. jljl limit.

Claims (3)

1. one kind has the FAT system that two are loaded main body, it is characterised in that, comprising:
First loading main body, described first loading main body comprises the first FAT file system; With
With the 2nd loading main body that described first loading main body is connected, described 2nd loading main body comprises:
From engine, by sending, sector read write command is connected from engine described first loading main body with described;
2nd FAT file system;
Physics FAT subregion, described physics FAT subregion is connected with described 2nd FAT file system from engine with described; With
Share FAT module, described shared FAT module is connected with described 2nd FAT file system from engine with described, described shared FAT module is used for the first loading main body and the described 2nd described in examination and controlling and loads main body to the access of described physics FAT subregion, wherein, described physics FAT subregion is all carried out read/write operation by described first loading main body and described 2nd loading main body, wherein, if described first loading main body and described 2nd loading main body are read-only by described physics FAT subregion, then described shared FAT module not conduct; If described physics FAT subregion to described first loading main body be read-only, to described 2nd loading main body can write, what then described shared FAT module was used for the 2nd loading main body described in examination and controlling writes access, and complete to trigger described first loading main body and again hang the described physics FAT subregion of load after data write back in described 2nd loading main body; If described physics FAT subregion to described first loading main body be can write, to described 2nd loading main body be read-only, then described shared FAT module be used for examination and controlling from described first loading main body write access, and after capturing described first loading body data writes back, trigger described 2nd loading main body and again hang the described physics FAT subregion of load.
2. there is FAT system that two are loaded main body as claimed in claim 1, it is characterised in that, described first loading main body is main frame, and described 2nd loading main body is intelligence equipment.
3. one kind has two using method loading the FAT system of main body, it is characterised in that, described FAT system is the FAT system with two loading main bodys described in the arbitrary item of claim 1-2, comprises the following steps:
Described first loading main body is by sending sector read write command and be connected from engine, described represent described first from engine and load physics FAT subregion described in principal access; With
Described 2nd loading main body directly accesses described physics FAT subregion by the 2nd FAT file system,
Wherein, when described physics FAT subregion is carried out reading according to operation by the first loading main body and/or the 2nd loading main body, described shared FAT module not conduct;
When described physics FAT subregion is carried out data writing operation by the first loading main body or the 2nd loading main body, described shared FAT module monitors write data operate, while the first loading main body or the 2nd loading main body write data, lock the 2nd loading main body or the access of the first loading main body, and capturing after data writing operation writes back, trigger the 2nd loading main body or the first loading main body hangs the described physics FAT subregion of load again.
CN201310033158.4A 2013-01-28 2013-01-28 There is FAT system and using method thereof that two are loaded main body Active CN103077249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310033158.4A CN103077249B (en) 2013-01-28 2013-01-28 There is FAT system and using method thereof that two are loaded main body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310033158.4A CN103077249B (en) 2013-01-28 2013-01-28 There is FAT system and using method thereof that two are loaded main body

Publications (2)

Publication Number Publication Date
CN103077249A CN103077249A (en) 2013-05-01
CN103077249B true CN103077249B (en) 2016-06-01

Family

ID=48153779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310033158.4A Active CN103077249B (en) 2013-01-28 2013-01-28 There is FAT system and using method thereof that two are loaded main body

Country Status (1)

Country Link
CN (1) CN103077249B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069147B (en) * 2020-11-16 2021-01-29 湖南源科创新科技有限公司 FAT sharing system and sharing method for multi-host FAT file system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929505A (en) * 2006-09-25 2007-03-14 深圳市杰特电信控股有限公司 Mobile phone with independent moving hard disk
CN101339565A (en) * 2007-07-05 2009-01-07 捷讯研究有限公司 File sharing with a hostile system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070088770A1 (en) * 2005-10-14 2007-04-19 Ming-Tsung Chiang Structure for re-arranging file allocation index by memory block

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929505A (en) * 2006-09-25 2007-03-14 深圳市杰特电信控股有限公司 Mobile phone with independent moving hard disk
CN101339565A (en) * 2007-07-05 2009-01-07 捷讯研究有限公司 File sharing with a hostile system

Also Published As

Publication number Publication date
CN103077249A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN103186671B (en) For searching method, the search system and mobile terminal of mobile terminal
CN102831069B (en) Internal memory processing method, memory management equipment
TW200511029A (en) File management method and data processing device
CN107463627A (en) A kind of picture loading method and terminal
CN102609218B (en) Method for implementing parallel-flash translation layer and parallel-flash translation layer system
WO2014084863A1 (en) Application equivalence map for synchronized positioning of application icons across device platforms
CN104063495A (en) Form extension method and form extension device
CN103064792A (en) Method and device for writing data
CN110069219A (en) A kind of date storage method, system and electronic equipment and storage medium
CN106055274A (en) Data storage method, data reading method and electronic device
WO2016058560A1 (en) External acceleration method based on serving end and external buffer system for computing device, and device implementing said method
CN104461384B (en) A kind of method for writing data and storage device
CN101438262B (en) Apparatus and method of securely moving security data
CN103077249B (en) There is FAT system and using method thereof that two are loaded main body
DE112013000409T5 (en) System and method for achieving reduced energy consumption associated with thermal processing
US8381112B2 (en) Data management tool
CN108932112A (en) A kind of data read-write method of solid granulates, device, equipment and medium
CN105868121B (en) A kind of information processing method and electronic equipment
CN107264442A (en) Wireless automobile intelligence DAS (Driver Assistant System)
CN102236610A (en) Mobile storage equipment and method and intrusion prevention system
CN109885345A (en) A kind of date storage method, SD storage card and electronic equipment and storage medium
CN104461754A (en) EMMC (embedded multimedia card) monitoring method and device
CN102902464B (en) A kind of unlock method of mobile terminal and device
CN202110539U (en) Multifunctional portable copy device
CN105260143A (en) Disk data transmission method and device in dual control disk array

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant