CN1308838C - Method of utilizing virtual equipment file system in expanding memory capacity of movable device - Google Patents
Method of utilizing virtual equipment file system in expanding memory capacity of movable device Download PDFInfo
- Publication number
- CN1308838C CN1308838C CNB021555087A CN02155508A CN1308838C CN 1308838 C CN1308838 C CN 1308838C CN B021555087 A CNB021555087 A CN B021555087A CN 02155508 A CN02155508 A CN 02155508A CN 1308838 C CN1308838 C CN 1308838C
- Authority
- CN
- China
- Prior art keywords
- file system
- mobile device
- virtual
- file
- memory capacity
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a method for expanding the storage capacity of mobile equipment by using a virtual equipment file system. The present invention needs to solve the problems of small storage medium capacity, high price, etc. existing in the existing mobile equipment. The present invention comprises the steps that a virtual equipment file system module is arranged on the mobile equipment, and an operation system of the mobile equipment is suspended; virtual storage space is provided for applications of the mobile equipment through the virtual equipment file system module, and reading/writing requests for the virtual storage space are transmitted to a remote server through networks; in the remote server, the reading/writing requests which are forwarded from the mobile equipment are converted into reading/writing requests for local storage equipment of the remote server, and reading/writing results are transferred to the mobile equipment through the networks. The present invention has the advantage of making the mobile equipment capable of using the low-priced large-capacity storage space of the remote server, etc. and is suitable for expanding the storage capacity of various kinds of mobile equipment.
Description
Technical field
The invention belongs to interconnection or transmission Request Processing technical field between the computer network storer, especially a kind of method of utilizing the virtual unit file system to expand mobile device memory capacity.
Background technology
Along with the progress of the computer technology and the communication technology, mobile device has more and more stronger processing power, and enters the Internet with various approach with very fast speed, and therefore, the use of various portable terminals more and more widely.Handling various information on mobile devices such as personal digital assistant, mobile phone, no longer has been unreachable dream such as see a film, listen to the music etc.
Mobile device is because its volume and portable requirement, used storage medium mostly is flash card, smart media card etc., memory capacity is mostly about tens, and the price height, and 64,000,000 flash card is wanted 200~300 yuan, the memory capacity of hard disk is big, carrying cost is low, and hard-disk capacity is many at tens more than the gigabit, and the hard disk price about 60 gigabits is also only about 600 yuan.Because the restriction of mobile device memory capacity, make mobile device when the multimedia messages of processing very large storage capacity, run into the difficulty of mobile device storage medium capacity limit, make the multi-medium data that mobile device can not be handled needs large storage capacity, thereby, also just can not on mobile device, move multimedia application.The existing technology that far-end server and mobile device are coupled together in the prior art, make mobile device can utilize the storage resources on the server, but this technical requirement mobile device can access network, and mobile device utilizes the performance of server stores capacity to be subjected to the influence of the network bandwidth.
Summary of the invention
In order to overcome above-mentioned deficiency, the purpose of this invention is to provide a kind of method of utilizing the virtual unit file system to expand mobile device memory capacity, make that mobile device can be as using local storage medium to use its memory capacity.
For finishing above-mentioned purpose, the technical scheme that the present invention takes is: the method that expands mobile device memory capacity with the virtual unit file system, be included in and set up a virtual unit file system module on the mobile device, and the operating system of hanging mobile device, provide a virtual storage space by the application of virtual unit file system module on mobile device, and a read-write requests to this virtual memory space sends to far-end server by network, on far-end server, the read-write requests that transfers from mobile device is converted into read-write requests to local memory device on the server, and the result of read-write is passed back the step of mobile device by network.
Whether the file of operating system file interface decision operation is positioned at Virtual File System, if then read-write requests is forwarded to the Virtual File System module; Equipment manager drives dynamic link libraries according to the record automatic loading device in the registration table, in the device drives dynamic link libraries, load holy what western language spare system drive, what western language spare system drive of sage is mounted on the equipment manager, equipment manager is sought carry virtual disk function in what western language spare system drive of sage, if find, equipment manager loads the file system manager module, and transmit holy what western language spare system drive information and give the file system manager module, the file system manager module is according to resulting information, comprise that file system name and file system drive filename, in what western language spare system drive of sage, call holy lotus western language spare system drive carry virtual disk function, in holy lotus western language spare system drive carry virtual disk function, the file system of calling in the file system driving registration drives registration function, registers all volumes; The Virtual File System module can be opened the file of operation, reading and writing, one or more operations of closing or setting a property; Other module of application program and operating system is to be packaged into message sends to far-end then by network server earlier to the operation of file; Message comprises or several contents of message number, session identification, action type, user name, password, operating parameter tabulation; Far-end server is also monitored, it comprises analyzes the message that receives, analyze the solicit operation that comprises in the message type, operation to as if which file, according to the operation that the result who analyzes carries out reading and writing, opens the file on the server, the result of operation is turned back to the step of mobile device by network.
The present invention has a significant effect, virtual unit file system of the present invention is not visited real local storage, but by the storage space on access to netwoks remote personal computer or the server, so just at local virtual a storage space, the memory capacity decision that the size of this storage space can be provided by personal computer or server fully is not subjected to other any restriction.Mobile device can use high capacity storage space cheap on the server, every operation is transparent to the application on mobile device user and the mobile device, can be articulated to the storage space on personal computer, server and the miscellaneous equipment on the mobile device pellucidly, it is the same to use the storage that just likes mobile device this locality, the imperceptible any difference of user, thereby the memory capacity that greatly expands various mobile devices.
Description of drawings
Fig. 1 is the system assumption diagram of system of the present invention;
Fig. 2 is the implementation procedure figure of the present invention on embedded Windows;
Fig. 3 is realization flow figure of the present invention.
The present invention is further detailed explanation for concrete and embodiment below in conjunction with accompanying drawing.
Embodiment
Consult Fig. 1, an abstract file system interface model generally all is provided in the modern operating system, make the developer can in system, add oneself the exploitation specific file system, such as, the Virtual File System interface that multi-user operating system and Windows provide has defined interface operable such as the opening of file, reading and writing.
Among the present invention, operating system provides a file system interface to upper layer application, by rewriting the realization of this interface, the input and output request to disk is originally sent on the REMOTE MACHINE by network, thereby utilized the storage on the REMOTE MACHINE, realized a virtual memory device.
Consult Fig. 2, the realization of the present invention on windows CE (embedded Windows) platform.What general user's application program was faced all is the operating system application programming interface function of standard, the perhaps further encapsulation of application programming interface, as microsoft foundation class storehouse, ATL etc., we can say that application programming interface is unique interface of application program.All concrete operations of system are hidden under the unified application programming interface, and a wherein important part is file and input-output operation, and major part will be given file system and be managed, and other follows unified interface too as Driver Development.
File system has many kinds, and common have CD media file system on FAT 16 (16 file allocation table file systems), FAT32 (32 file allocation table file systems), EXT2 (second generation extended file system) and the CD etc.The CD media file system provides the organizational form and the working specification of data and file, be not to have realized all files and input/output function, many functions of its inside all might be do-nothing functions, and real data input and output will give concrete equipment and driver is handled.
In embedded Windows, device drives is divided into the local device driving and stream interface drives.For file system, what face is so-called block device, is fit to the pattern with the stream interface driving, and this provides acquiescence owing to it by equipment manager and manages very easily, and standard masterplate and derivative function are provided.
Device drives and equipment manager, device drives are not to have only one deck yet, and concerning generalized case, device drives is divided two-layer up and down, and bottom directly in the face of hardware operation, is generally provided by the hardware vendor; High level be on this at the device drives of different operating system, different application and function, do not need to write a hardware driving, the block device on a upper strata drives just suitable, and the supposition underlying device is the disk storage card.
Equipment is by the equipment control management in the embedded Windows.Equipment manager is not present in the kernel, it is a dynamic link module, be responsible for the interoperability in other words of getting in touch between kernel and registration table and the driving, it can the loading and unloading device drives, to kernel device registration filename and device drives function, automatic search suitably drives and loads it when equipment inserts.
Finishing by registration table alternately between device drives and the equipment manager.When load module that operational outfit drives, in registration table, write relevant information, comprise driving filename, device file name, driver entrance function, file system or the like information that equipment manager can be managed automatically according to these information.
File system drives and file system driven management device.File system driving essence is one and can loads file system, is a dynamic link module.File system drives by the derivative function of realizing that some are fixing, finishes all functions of file system, and can call some functions of file system manager conversely, realizes mutual with it.
File system driven management device is contained among the dynamic link libraries file f sdmgr.dll equally.It can for example create file handle and search handle, Register Cancel volume, register-file system drive function etc. for mountable file system provides many services.Its most important function is the application program of application call can be become interface function to be mapped on the specific file system driving function.
The head that the name that file system drives, file system drive filename and file system driving derivative function must be consistent.For example the prototype file system drives is named as SanFSD.dll (holy lotus western language spare system drive dynamic link library), file system name SanFSD (holy lotus western language spare system drive), derivative function could guarantee like this that then for SanFSD_ReadFile () (holy lotus western language spare system drive dynamic link library read documentation function) etc. file system manager calls correctly.
The file system driving is called FSDMGR_RegisterVolume () (the volume registration function of file system driven management device) and can be registered a volume, be named as Sanjose (Sheng Hexi), on the first class catalogue of the equipment of embedded Windows a SanJose catalogue can appear at this moment, when this catalogue of application access, file system manager is judged the volume that this is a SanFSD (holy lotus western language spare system drive) file system, so the Windows application programming interface is mapped to file system to be driven on the interior function, such as application call FindFirstFile (searching the function interface of first file under the catalogue), then be mapped to SanFSD_FindFirstFile () (holy lotus western language spare system drive dynamic link library search first documentation function under the catalogue), call CreateFile () (creating the function interface of file), then be mapped to SanFSD_CreateFile () (function of the establishment file of holy lotus western language spare system drive dynamic link library).
System call flow process of the present invention is: two special derivative function: FSD_MountDisk (function interface of carry disk unit) and FSD_UnmountDisk (function interface of unloading disk unit) are arranged in the file system Driven Dynamic link library file.They are not called by file system driven management device, but equipment manager calls.In fact, their function body is SanFSD_MountDisk (function that carries disk unit that Sheng Hexi carry virtual unit file drives) and SanFSD_UnmountDisk (function of the unloading disk unit that Sheng Hexi carry virtual unit file drives), has just changed name when deriving.
Consult Fig. 3, at first, the file system interface standard-required that provides according to operating system, the present invention has realized a Virtual File System module, has realized the processing to the opening of file, reading and writing, one week of file or several operations such as close, set a property in this virtual file system module.
When other module of application program or operating system need be operated the file that is positioned on the Virtual File System, be invoked at the operation that the Virtual File System interface is realized, in the realization of these operations, the present invention is packaged into message to application program and other module of operating system to the operation of file, sends to the server of far-end by network.The content of message comprises: one or several contents such as message number, session identification, action type, user name, password, operating parameter tabulation.
Secondly, need on far-end server, set up a monitoring service program, the functional sequence of service oracle listener may further comprise the steps: the message that receives is analyzed, analyze the type of the solicit operation that comprises in the message, as reading and writing, open etc., operation to as if that file, and according to the result who analyzes, file on the server is carried out reading and writing, operation such as opens, and the result of operation is turned back to mobile device by network.
After system installed device drives, equipment manager can drive dynamic link libraries according to the record automatic loading device in the registration table, is Ramdisk.dll (memory disk map dynamic link libraries) in the prototype in the present invention.In ramdisk.dll, load file system and drive SanFSD.dll (holy what western language spare system drive), what western language spare system drive of sage is mounted on this equipment manager.At this moment, equipment manager has obtained holy what the western language spare system drive of file system name.Equipment manager can arrive and seek the function F SD_MountDisk (function of carry virtual disk among the SanFSD.dll then, be the another name of MyFSD_MountDisk), if found, equipment manager can load fsdmgr.dll (file system driven management device module), and transmits holy what western language spare system drive information and give the file system manager module.Next, the file system manager module can be according to resulting information, comprise that file system name SanFSD and file system drive filename SanFSD.dll, and in SanFSD.dll, call SanFSD_MountDisk (function of the carry disk unit that Sheng Hexi carry virtual unit file drives), in this function, all volumes must be registered, just call the function F SDMGR_RegisterVolume (the volume registration function in the file system driven management device) among the fsdmgr.dll (file system driven management device dynamic link libraries), this moment system in if the SanJose catalogue, file system drives and is successfully loaded, and succeeds in registration.
Claims (7)
1, expand the method for mobile device memory capacity with the virtual unit file system, it is characterized in that: it may further comprise the steps:
(1) on mobile device, sets up a virtual unit file system module, and hang the operating system of mobile device;
(2) provide a virtual storage space by the application of virtual unit file system module on mobile device, and the read-write requests to this virtual memory space is sent to far-end server by network;
(3) on far-end server, the read-write requests that transfers from mobile device is converted into read-write requests to local memory device on the server, and the result of read-write is passed back mobile device by network.
2, according to the said method that expands mobile device memory capacity with the virtual unit file system of claim 1, it is characterized in that: step (1) comprises also whether the file of operating system file interface decision operation is positioned at Virtual File System, if then read-write requests is forwarded to the step of Virtual File System module.
3, according to the said method with virtual unit file system expansion mobile device memory capacity of claim 1, it is characterized in that: step (1) further comprises the steps:
(1) equipment manager loads Sheng Hexi virtual unit file system automatically according to the record in the registration table and drives dynamic link libraries, and what western language spare system drive of sage is mounted on the equipment manager;
(2) equipment manager is sought carry virtual disk function in what western language spare system drive of sage, if find, equipment manager loads the file system manager module, and transmits holy what western language spare system drive information and give the file system manager module;
(3) the file system manager module comprises that according to resulting information file system name and file system drive filename, calls holy lotus western language spare system drive carry virtual disk function in what western language spare system drive of sage;
(4) in holy lotus western language spare system drive carry virtual disk function, the file system of calling in the file system driving registration drives registration function, registers all volumes.
4, expand the method for mobile device memory capacity according to claim 1 is said with the virtual unit file system, it is characterized in that: said Virtual File System module can be opened the file of operation, reading and writing, one or more operations of closing or setting a property.
5, according to the said method with virtual unit file system expansion mobile device memory capacity of claim 1, it is characterized in that: other module of application program and operating system is to be packaged into message sends to far-end then by network server earlier to the operation of file.
6, according to the said method with virtual unit file system expansion mobile device memory capacity of claim 5, it is characterized in that: said message comprises or several contents of message number, session identification, action type, user name, password, operating parameter tabulation.
7, according to the said method with virtual unit file system expansion mobile device memory capacity of claim 1, it is characterized in that: far-end server is also monitored, and it may further comprise the steps:
(1) message that receives is analyzed, analyze the solicit operation that comprises in the message type, operation to as if which file;
(2) according to the result who analyzes, the operation that the file on the server is carried out reading and writing, opens;
(3) result of operation is turned back to mobile device by network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021555087A CN1308838C (en) | 2002-12-09 | 2002-12-09 | Method of utilizing virtual equipment file system in expanding memory capacity of movable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021555087A CN1308838C (en) | 2002-12-09 | 2002-12-09 | Method of utilizing virtual equipment file system in expanding memory capacity of movable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1506840A CN1506840A (en) | 2004-06-23 |
CN1308838C true CN1308838C (en) | 2007-04-04 |
Family
ID=34235932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021555087A Expired - Fee Related CN1308838C (en) | 2002-12-09 | 2002-12-09 | Method of utilizing virtual equipment file system in expanding memory capacity of movable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1308838C (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202758B (en) * | 2006-12-14 | 2010-08-25 | 英业达股份有限公司 | Network virtual storage method of multiple clients |
CN102708063B (en) * | 2012-04-25 | 2016-02-24 | 北京天地云箱科技有限公司 | disk space management method and device |
US20140007189A1 (en) * | 2012-06-28 | 2014-01-02 | International Business Machines Corporation | Secure access to shared storage resources |
CN102880498B (en) * | 2012-09-13 | 2016-08-03 | 深圳市佳创软件有限公司 | The method of virtual SD card on the device of Android system |
CN103685426B (en) * | 2012-09-25 | 2017-11-03 | 联想(北京)有限公司 | Message processing device and information processing method |
KR101633770B1 (en) * | 2012-10-23 | 2016-06-27 | 후아웨이 디바이스 컴퍼니 리미티드 | Method and apparatus for expanding storage space |
CN103051687B (en) * | 2012-12-10 | 2016-05-25 | 浪潮(北京)电子信息产业有限公司 | A kind of system and method that applied business is deployed to cloud storage virtual machine |
CN104467892B (en) * | 2013-09-25 | 2017-05-24 | 成都鼎桥通信技术有限公司 | Data transmission control method of terminal equipment |
CN104866331B (en) * | 2014-02-25 | 2018-06-01 | 中国电信股份有限公司 | The method and apparatus of application is installed, called on mobile terminals |
CN105787014A (en) * | 2016-02-24 | 2016-07-20 | 吴江市创源电子有限公司 | Method for expanding storage space of mobile terminal |
CN110286995B (en) * | 2018-03-19 | 2022-02-25 | 北京兆易创新科技股份有限公司 | Data reading and writing method and device |
CN109711193B (en) * | 2018-12-24 | 2021-03-19 | 杭州达现科技有限公司 | Storage space sharing method and device |
CN110568996A (en) * | 2019-09-05 | 2019-12-13 | 蒋昊坤 | Local storage capacity expansion system based on device driver |
CN112860187B (en) * | 2021-02-09 | 2023-03-21 | 联想(北京)有限公司 | Access method and device of external storage equipment, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149736A (en) * | 1995-06-05 | 1997-05-14 | 北京航空航天大学 | Distributing storage sharing management method |
JP2000076152A (en) * | 1998-08-28 | 2000-03-14 | Toshiba Corp | Distributed file system, file sharing method in the system and storage medium for programming and recording the method |
CN1277367A (en) * | 1999-06-11 | 2000-12-20 | 鸿友科技股份有限公司 | Data storage expansion device applied to digital camera |
US6216197B1 (en) * | 1996-07-01 | 2001-04-10 | Sun Microsystems, Inc. | Method and apparatus for extending printer memory using a network file system |
WO2001059622A2 (en) * | 2000-02-08 | 2001-08-16 | Sony Corporation Of America | Method, system and devices for wireless data storage on a server and data retrieval |
JP2002342148A (en) * | 2001-05-11 | 2002-11-29 | Sony Corp | Server and method for providing virtual file system, file registering method, file registration program and program storage medium |
-
2002
- 2002-12-09 CN CNB021555087A patent/CN1308838C/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149736A (en) * | 1995-06-05 | 1997-05-14 | 北京航空航天大学 | Distributing storage sharing management method |
US6216197B1 (en) * | 1996-07-01 | 2001-04-10 | Sun Microsystems, Inc. | Method and apparatus for extending printer memory using a network file system |
JP2000076152A (en) * | 1998-08-28 | 2000-03-14 | Toshiba Corp | Distributed file system, file sharing method in the system and storage medium for programming and recording the method |
CN1277367A (en) * | 1999-06-11 | 2000-12-20 | 鸿友科技股份有限公司 | Data storage expansion device applied to digital camera |
WO2001059622A2 (en) * | 2000-02-08 | 2001-08-16 | Sony Corporation Of America | Method, system and devices for wireless data storage on a server and data retrieval |
JP2002342148A (en) * | 2001-05-11 | 2002-11-29 | Sony Corp | Server and method for providing virtual file system, file registering method, file registration program and program storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN1506840A (en) | 2004-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1308838C (en) | Method of utilizing virtual equipment file system in expanding memory capacity of movable device | |
CN110663019B (en) | File system for Shingled Magnetic Recording (SMR) | |
US8195868B2 (en) | Method and apparatus for smart memory pass-through communication | |
Kolodner et al. | A cloud environment for data-intensive storage services | |
US20120291133A1 (en) | Security compliant data storage management | |
US8943078B2 (en) | Methods and systems for simplifying object mapping | |
US7430513B2 (en) | Data storage management driven by business objectives | |
US11182346B2 (en) | File sharing among virtual containers with fast recovery and self-consistency | |
CN105227672B (en) | The method and system that data are stored and accessed | |
CN100476726C (en) | Resource limited equipment and data accessing method | |
CN102037456A (en) | Identification of memory cards by host | |
CN103617039B (en) | Method and device for accessing user space file system | |
CN103036952B (en) | A kind of enterprise-level isomery merges storage management system | |
US20200167183A1 (en) | Electronic apparatus and control method thereof | |
US20250077122A1 (en) | File system improvements for zoned storage device operations | |
CN110221867A (en) | Pulse I/O function cartoon letters drive system and method under a kind of XP system | |
CN110008004A (en) | A kind of power system computation analysis application virtualization method, apparatus and equipment | |
US7089392B2 (en) | Method, system, and program for allocating storage units to a data set | |
CN112698841B (en) | Android-oriented deep learning model unified deployment system, method, equipment and medium | |
CN109857519A (en) | The processing method and relevant apparatus of virtual disk | |
CN113760822A (en) | HDFS-based distributed intelligent campus file management system optimization method and device | |
CN111581165A (en) | Android application external memory quota monitoring tool and using method thereof | |
CN109918355A (en) | Realize the virtual metadata mapped system and method for the NAS based on object storage service | |
Linington | The virtual filestore concept | |
CN118445032B (en) | Service providing method, apparatus, electronic device, storage medium, and computer program product |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070404 Termination date: 20201209 |