CN103685566A - Mobile-terminal-oriented cloud storage achievement method - Google Patents

Mobile-terminal-oriented cloud storage achievement method Download PDF

Info

Publication number
CN103685566A
CN103685566A CN201310746195.XA CN201310746195A CN103685566A CN 103685566 A CN103685566 A CN 103685566A CN 201310746195 A CN201310746195 A CN 201310746195A CN 103685566 A CN103685566 A CN 103685566A
Authority
CN
China
Prior art keywords
file
mobile terminal
cloud storage
storage system
equipment
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.)
Pending
Application number
CN201310746195.XA
Other languages
Chinese (zh)
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.)
TIANJIN MARSTOR TECHNOLOGY Co Ltd
Original Assignee
TIANJIN MARSTOR TECHNOLOGY Co Ltd
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 TIANJIN MARSTOR TECHNOLOGY Co Ltd filed Critical TIANJIN MARSTOR TECHNOLOGY Co Ltd
Priority to CN201310746195.XA priority Critical patent/CN103685566A/en
Priority to CN201410070514.4A priority patent/CN103795806A/en
Publication of CN103685566A publication Critical patent/CN103685566A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a mobile-terminal-oriented cloud storage achievement method which is characterized by including the following steps that: 1 files are built on a cloud storage system, and the cloud storage system is connected with a loop device; 2 a mobile terminal access the cloud storage system in a block device assess mode or a file access mode. The mobile-terminal-oriented cloud storage achievement method is reasonable in design, a normal file is virtually made into a block device for use through the loop device, and all the files of the mobile terminal are placed in a virtual block device container by aid of the virtual block device technique. Therefore, exponential growth of the file quantity is avoided, separation of files of different mobile terminals is achieved, and performance of the cloud storage system is improved. Meanwhile, due to block-level reading and updating, the network flows of users is reduced and the access efficiency of the users is improved.

Description

A kind of cloud Realization of Storing of facing moving terminal
Technical field
The invention belongs to mobile terminal stores technical field, especially a kind of cloud Realization of Storing of facing moving terminal.
Background technology
Along with the extensive popularization of 3G and WIFI business, mobile Internet has started to be penetrated into the every field in society and life, and terminal applies also presents explosive growth, and mobile terminal becomes new application platform gradually.Be accompanied by the development of mobile Internet, user requires more and more higher to the memory space of terminal, then, the limited bottleneck of mobile terminal resource is restricting the development of terminal storage space all the time, the iPAD of the Apple product of take is example, and the built-in storage providing at present only has at most 128GB.
Along with the appearance of cloud memory technology, for solving terminal storage bottleneck, provide a kind of feasible scheme.Cloud storage refers to and utilizes the powerful calculating of cloud computing and storage capacity to weaken the processing demands of application to terminal equipment.The application and development pattern of this " cloud+end ", can solve terminal storage resource bottleneck.Existing cloud memory module major embodiment is " cloud dish ", there is following problem: (1) user is directly put into file in cloud storage, because mobile terminal data is huge, causes cloud storage file quantity to be exponential growth, As time goes on, reduced the performance of cloud storage system; (2) user can only be take file and read as unit, when user has only changed in file less data, also needs whole file again to upload to cloud, has reduced storage efficiency.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of reasonable in design, access efficiency is high, the cloud Realization of Storing of fireballing facing moving terminal.
The present invention solves existing technical problem and takes following technical scheme to realize:
A cloud Realization of Storing for facing moving terminal, comprises the following steps:
Step 1, on cloud storage system, set up file and be connected with loop equipment;
Step 2, mobile terminal are by block device access mode or file access mode access cloud storage system.
And the concrete steps of described step 1 are:
(1) on cloud storage system, create an ordinary file;
(2) this ordinary file is connected on loop equipment;
(3) loop equipment is formatd.
And described step 2 mobile terminal by the concrete steps of block device access mode access cloud storage system is:
(1) mobile terminal connects this loop equipment by wireless network;
(2) Loop device loads is under the catalogue of mobile terminal appointment;
(3) under assigned catalogue, create a file;
(4) by the editing machine of mobile terminal, realize creating the access of file;
(5) piece level mode file reads and upgrades.
And, described step (5) piece level mode file read and renewal comprises the following steps:
1. mobile terminal connects corresponding dummy block will equipment in block device mode;
2. mobile terminal reads corresponding document specified data block in dummy block will equipment in internal memory;
3. mobile terminal is write the partial data piece of renewal in internal memory, and the memory block that mark is corresponding is dirty data piece;
4. mobile terminal writes dirty data piece in dummy block will equipment.
And the concrete steps that described step 2 mobile terminal is accessed cloud storage system by file access mode are:
(1) HTTP file server is connected on this loop equipment by network;
(2) Loop device loads is under the catalogue of the appointment of HTTP file server;
(3) by the HTTP uploading tools of mobile terminal, under HTTP file server assigned catalogue, upload a file;
(4) by the browser of mobile terminal, realize the access to upload file.
Advantage of the present invention and good effect are:
1, the present invention uses the virtual block device (being similar to hard disk) that becomes of ordinary file by loop equipment, by adopting dummy block will equipment and technology, the All Files of a mobile terminal is all put in a dummy block will equipment container, both avoid the exponential growth of quantity of documents, realized again the isolation of file between mobile terminal.
2, patent of the present invention creates the file system (as EXT4, HFS etc.) of supporting large file according to user's actual needs, and for example Android platform is supported maximum 16TB(16*1024GB) file; IOS platform is supported maximum 1EB(1024*1024*1024) file read-write.
3, the present invention supports the specified portions of user's file reading from cloud storage system and only by the data back cloud storage system of change, has reduced user network flow, has improved user's access efficiency.
4, the present invention is reasonable in design, usings " dummy block will equipment " as user file storage container, has avoided the exponential growth of quantity of documents, has improved the performance of cloud storage system; Meanwhile, provide piece level read and upgrade, reduced user network flow, improved user's access efficiency.
Accompanying drawing explanation
Fig. 1 is processing method principle schematic of the present invention;
Fig. 2 is two kinds of mode schematic diagrames of mobile terminal accessing cloud storage system of the present invention.
Fig. 3 is the visioning procedure figure of cloud storage system end file;
Fig. 4 is that mobile terminal passes through the flow chart that block device mode is accessed cloud storage system;
Fig. 5 is reading of piece level mode file and upgrades process chart;
Fig. 6 is that mobile terminal is accessed the flow chart of cloud storage system by file mode.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described.
A kind of cloud Realization of Storing of facing moving terminal, as shown in Figure 1, by loop equipment, the virtual block device (being similar to hard disk) that becomes of ordinary file is used, by adopting dummy block will equipment and technology, the All Files of a mobile terminal is all put in a dummy block will equipment container.Described loop equipment is a virtual device interface in mobile terminal document system, for shielding the direct access of user to physical file.Mobile terminal loads dummy block will equipment, and is regarded as local hard drive, when file reading, can be from cloud storage system reading section data block; And change is during file, first the data of change write to the internal memory of mobile terminal and be labeled as dirty data piece, then only dirty data piece is passed back in cloud storage system.
Mobile terminal accessing cloud storage system can be adopted in two ways, and as shown in Figure 2, a kind of mode is that the mode that mobile terminal passes through block device is accessed cloud storage system, and another kind of mode is that mobile terminal is accessed cloud storage system by file access mode.Specifically comprise the following steps:
The foundation of step 1, cloud storage system end file
As shown in Figure 3, the method for building up of cloud storage system end file comprises the following steps:
(1) on cloud storage system, create an ordinary file: dd user1.data
(2) this ordinary file is connected on loop equipment: losetup/dev/loop0user1.data
(3) loop equipment is formatd to fdisk/dev/loop0
Step 2, mobile terminal are by block device access mode or file access mode access cloud storage system.
Mobile terminal accessing cloud storage system can be adopted in two ways:
As shown in Figure 4, mobile terminal comprises following processing procedure by block device access mode access cloud storage system:
(1) mobile terminal connects this loop equipment by wireless network;
(2) Loop device loads arrives mount – t vfat/dev/loop0/home/data under the catalogue of mobile terminal appointment;
(3) under assigned catalogue, create a file touch test.txt/home/data;
(4) by the editing machine of mobile terminal, realize creating the access of file;
(5) the reading and upgrade of piece level mode file, as shown in Figure 5, concrete grammar is as follows:
1. mobile terminal connects corresponding dummy block will equipment in block device mode;
2. mobile terminal reads corresponding document specified data block in dummy block will equipment in internal memory;
3. mobile terminal is write the partial data piece of renewal in internal memory, and the memory block that mark is corresponding is dirty data piece;
4. mobile terminal writes dirty data piece in dummy block will equipment.
As shown in Figure 6, mobile terminal is accessed cloud storage system by file access mode and is comprised following processing procedure:
(1) HTTP file server is connected on this loop equipment by network;
(2) Loop device loads is to mount – t vfat/dev/loop0/home/user2/data under the catalogue of the appointment of HTTP file server;
(3) by the HTTP uploading tools of mobile terminal, under HTTP file server assigned catalogue, upload a file;
(4) by the browser of mobile terminal, realize the access to upload file.
It is emphasized that; embodiment of the present invention is illustrative; rather than determinate; therefore the present invention includes and be not limited to the embodiment described in embodiment; every other execution modes that drawn by those skilled in the art's technical scheme according to the present invention, belong to the scope of protection of the invention equally.

Claims (5)

1. a cloud Realization of Storing for facing moving terminal, is characterized in that comprising the following steps:
Step 1, on cloud storage system, set up file and be connected with loop equipment;
Step 2, mobile terminal are by block device access mode or file access mode access cloud storage system.
2. the cloud Realization of Storing of a kind of facing moving terminal according to claim 1, is characterized in that: the concrete steps of described step 1 are:
(1) on cloud storage system, create an ordinary file;
(2) this ordinary file is connected on loop equipment;
(3) loop equipment is formatd.
3. the cloud Realization of Storing of a kind of facing moving terminal according to claim 1, is characterized in that: described step 2 mobile terminal by the concrete steps of block device access mode access cloud storage system is:
(1) mobile terminal connects this loop equipment by wireless network;
(2) Loop device loads is under the catalogue of mobile terminal appointment;
(3) under assigned catalogue, create a file;
(4) by the editing machine of mobile terminal, realize creating the access of file;
(5) piece level mode file reads and upgrades.
4. the cloud Realization of Storing of a kind of facing moving terminal according to claim 3, is characterized in that: described step (5) piece level mode file read and renewal comprises the following steps:
1. mobile terminal connects corresponding dummy block will equipment in block device mode;
2. mobile terminal reads corresponding document specified data block in dummy block will equipment in internal memory;
3. mobile terminal is write the partial data piece of renewal in internal memory, and the memory block that mark is corresponding is dirty data piece;
4. mobile terminal writes dirty data piece in dummy block will equipment.
5. the cloud Realization of Storing of a kind of facing moving terminal according to claim 1, is characterized in that: the concrete steps that described step 2 mobile terminal is accessed cloud storage system by file access mode are:
(1) HTTP file server is connected on this loop equipment by network;
(2) Loop device loads is under the catalogue of the appointment of HTTP file server;
(3) by the HTTP uploading tools of mobile terminal, under HTTP file server assigned catalogue, upload a file;
(4) by the browser of mobile terminal, realize the access to upload file.
CN201310746195.XA 2013-12-25 2013-12-25 Mobile-terminal-oriented cloud storage achievement method Pending CN103685566A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310746195.XA CN103685566A (en) 2013-12-25 2013-12-25 Mobile-terminal-oriented cloud storage achievement method
CN201410070514.4A CN103795806A (en) 2013-12-25 2014-02-28 Method for achieving cloud storage for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310746195.XA CN103685566A (en) 2013-12-25 2013-12-25 Mobile-terminal-oriented cloud storage achievement method

Publications (1)

Publication Number Publication Date
CN103685566A true CN103685566A (en) 2014-03-26

Family

ID=50321840

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310746195.XA Pending CN103685566A (en) 2013-12-25 2013-12-25 Mobile-terminal-oriented cloud storage achievement method
CN201410070514.4A Pending CN103795806A (en) 2013-12-25 2014-02-28 Method for achieving cloud storage for mobile terminal

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201410070514.4A Pending CN103795806A (en) 2013-12-25 2014-02-28 Method for achieving cloud storage for mobile terminal

Country Status (1)

Country Link
CN (2) CN103685566A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106024038A (en) * 2016-06-02 2016-10-12 深圳市爱思拓信息存储技术有限公司 Electromagnetic, optical, and cloud integrated optical disc mass safe storage array database

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156393B (en) * 2014-07-09 2018-03-20 深圳市中博科创信息技术有限公司 Create the method and distributed file system of Virtual Block Device
CN104462224A (en) * 2014-11-12 2015-03-25 成都卫士通信息产业股份有限公司 Cloud disc file online editing method
CN110471613B (en) * 2018-05-09 2021-01-12 杭州海康威视系统技术有限公司 Data storage method, data reading method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873700B2 (en) * 2002-08-09 2011-01-18 Netapp, Inc. Multi-protocol storage appliance that provides integrated support for file and block access protocols
GB2440561B (en) * 2006-07-28 2011-03-30 Hewlett Packard Development Co Data storage system
CN202856789U (en) * 2012-08-17 2013-04-03 广州中长康达信息技术有限公司 Data resource storage system integrating NAS and SAN
CN103118073B (en) * 2013-01-08 2015-07-22 华中科技大学 Virtual machine data persistence storage system and method in cloud environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106024038A (en) * 2016-06-02 2016-10-12 深圳市爱思拓信息存储技术有限公司 Electromagnetic, optical, and cloud integrated optical disc mass safe storage array database
CN106024038B (en) * 2016-06-02 2018-10-30 深圳市爱思拓信息存储技术有限公司 Electromagnetism Shekinah integral optical disk magnanimity secure storage array library

Also Published As

Publication number Publication date
CN103795806A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
KR20120093608A (en) Method for managing file system in host and devices using the method
CN101876904A (en) Mobile terminal, and method and device for outputting running state of application programs
CN102981990A (en) Data transmission method and device of terminal equipment with Androild platform
CN103067480A (en) Synchronized method and system of network disk
CN104104711A (en) Reading history processing method and device
CN103699595A (en) Method and device for webpage caching of terminal browser and terminal
CN103685566A (en) Mobile-terminal-oriented cloud storage achievement method
CN104657435A (en) Storage management method for application data and network management system
CN103269374A (en) Method, device and equipment for recording synchronization
CN103067479A (en) Network disk synchronized method and system based on file coldness and hotness
CN103729067A (en) Cloud mouse and keyboard implementation device and method
CN103513956B (en) A kind of method of processor processes data and device
WO2015027902A1 (en) Method, computing device, and computer program product for storing file index
CN202230483U (en) Electronic card exchanging device based on near field communication (NFC)
CN103049403B (en) Method for communication between embedded terminal device and cell phone
CN103123651A (en) Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN102769642A (en) Mobile cloud memory system and implementation method of mobile cloud memory
CN106302634A (en) A kind of data migration method and system
US20190266258A1 (en) In-application support for topological changes to files during remote synchronization
CN103744911A (en) Video file scanning method and electronic device
CN104423784A (en) Page displaying method and page displaying device
WO2014163852A1 (en) Grouping files for optimized file operations
KR101899970B1 (en) Mobile terminal and cloud server for mobile cloud computing environment and method of mobile cloud computing using the same
EP4130971A1 (en) Systems, methods, and apparatus for the management of device local memory
CN106161750B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication