CN109491600B - Portable storage device control method based on cloud storage - Google Patents

Portable storage device control method based on cloud storage Download PDF

Info

Publication number
CN109491600B
CN109491600B CN201811264552.8A CN201811264552A CN109491600B CN 109491600 B CN109491600 B CN 109491600B CN 201811264552 A CN201811264552 A CN 201811264552A CN 109491600 B CN109491600 B CN 109491600B
Authority
CN
China
Prior art keywords
storage
module
cloud
data
file
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
CN201811264552.8A
Other languages
Chinese (zh)
Other versions
CN109491600A (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.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi 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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201811264552.8A priority Critical patent/CN109491600B/en
Publication of CN109491600A publication Critical patent/CN109491600A/en
Application granted granted Critical
Publication of CN109491600B publication Critical patent/CN109491600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a portable storage device control method based on cloud storage, which at least comprises the following steps: step S1: configuring the device as a portable memory and/or a network memory according to the configuration instructions; step S2: when the device is configured as a portable memory, the central processing unit acquires a storage control instruction of the terminal host to control the storage module to store data and execute a preset storage strategy to access the cloud for uploading or downloading; step S3: when the device is configured as a network memory, the central processing unit acquires a storage control instruction of the cloud storage server to control the storage module to store data.

Description

Portable storage device control method based on cloud storage
Technical Field
The invention relates to the technical field of cloud storage, in particular to a portable storage device control method based on cloud storage.
Background
The explosive growth of data in the information age has led to a dramatic increase in storage requirements. The personal external storage mainly comprises mobile storage and emerging cloud storage. The mobile storage refers to a traditional equipment terminal, a U disk, a mobile hard disk and the like, the cloud storage is that local information is backed up to a cloud server, and a user can access the server through different terminal host equipment to obtain the information. The mobile storage device has limited storage capacity, and once damaged or lost, data is not recoverable, which causes great trouble to users. The cloud storage is limited by the performance and bandwidth of the device, the access speed is not satisfactory, and the cloud storage cannot thoroughly solve the problems of data security and reliability in a short period, so that the development and application of the cloud storage are limited.
Mobile storage and cloud storage are two different types of storage modes, which have advantages and disadvantages, and therefore, how to realize the advantage complementation of the two types of storage modes is necessary. At present, research and application related to the technology are few, the existing technical scheme depends on a third-party application program, cross-platform and cross-system application cannot be realized, and a user is usually required to install an additional driver; and the problems of complex implementation mode, incomplete file management function and the like exist, and convenient and efficient storage experience cannot be provided for users.
Therefore, it is necessary to provide a technical solution to solve the technical problems of the prior art.
Disclosure of Invention
In view of the above, it is necessary to provide a cloud storage-based portable storage device control method, where a portable storage device can be directly connected to a cloud storage server, so as to support a drive-free and cross-platform and cross-system application, and can be used as a common portable storage device, and can automatically backup a local storage file to a cloud storage, thereby breaking through the limitation of the use capacity of the existing storage device, and implementing efficient and convenient management of storage contents on the basis of diversified file management policies. Further, the present invention can be used as a network sharing device or a small NAS device.
In order to overcome the technical defects in the prior art, the technical scheme of the invention is as follows:
a portable storage device control method based on cloud storage at least comprises the following steps:
step S1: configuring the device as a portable memory and/or a network memory according to the configuration instructions;
step S2: when the device is configured as a portable memory, the central processing unit acquires a storage control instruction of the terminal host to control the storage module to store data and execute a preset storage strategy to access the cloud for uploading or downloading;
step S3: when the device is configured as a network memory, the central processing unit acquires a storage control instruction of the cloud storage server to control the storage module to store data.
As a preferred technical solution, the device at least comprises an interface module, a power supply module, a central processing unit, a storage module, a file management module and a network sharing module, wherein,
the power supply module at least comprises a battery and a power supply management module and is used for supplying power to the equipment;
the interface module is connected with the terminal host, the power supply module and the central processing unit and is used for realizing data transmission between the central processing unit and the terminal host;
the storage module is used for storing data;
the network sharing module is used for accessing a cloud storage server;
the file management module is used for managing data storage of the local and cloud storage servers;
the central processing unit is connected with the interface module, the power supply module, the storage module, the file management module and the network sharing module and is used for acquiring a storage control instruction and controlling data storage of the storage module according to the storage control instruction or carrying out cloud uploading or downloading operation on stored data.
As a preferred technical solution, in step S2, the central processing unit executes a preset storage policy to access the cloud for uploading or downloading when it is idle; the method comprises the steps that the difference between a local storage device and a cloud storage server can be continuously monitored in the interval of processing a terminal host transmission instruction, whether a user performs addition, deletion and modification operations on a file is analyzed through a directory manager, and if the file performs corresponding operations, a preset storage strategy is executed to access a cloud terminal to perform uploading or downloading operations.
As a preferred technical scheme, the catalog manager at least sets a backup catalog, an upload catalog, a download catalog and a common catalog and executes different storage strategies for the read-write operation of the catalogs; the normal directory is only used for local storage; the backup catalog is used for storing the files in the catalog in the storage module and uploading the files to the cloud storage server as data backup; the uploading directory is used for uploading files under the directory to a cloud storage server for storage without occupying the storage space of the storage module; the download directory is used for downloading files from the cloud storage server to the directory and storing the files in the storage module.
As a preferred technical scheme, a file management module is arranged in a central processing unit, the file management module is at least provided with a local file list, a remote file list and a directory manager, and the directory manager is used for managing the mapping relation of data between local storage and cloud storage; the local file list and the remote file list are used for displaying an information list of a user storage file so as to facilitate user operation; the local file list is used for displaying file information stored in the storage module, and the remote file list is used for displaying file information stored in the cloud storage server.
As a preferred technical scheme, the method further comprises the step of monitoring the storage information of the storage module and automatically starting the data uploading operation when the storage information exceeds a preset threshold value.
As a preferred technical solution, the storage module is provided with at least a first storage unit and a second storage unit, and when the device is configured as a portable storage, the first storage unit is used for local data storage; when the device is configured as a network storage, the device is converted into a small NAS device, and the capacity of the device is the capacity of the second storage unit, which is used for shared data storage.
As a preferred technical solution, the device may also be configured as a network sharing device through a configuration module.
As a preferred technical solution, the device can be configured as a portable memory and a network memory at the same time, and the central processor sets an execution priority to preferentially process a storage instruction from the terminal host.
As a preferred technical solution, in step S1, the configuration module or the central controller is preset with a configuration trigger program to obtain the configuration command.
Compared with the prior art, the network sharing module and the driver thereof are built in the storage device, so that the cloud storage server can be directly accessed, the application of drive-free and cross-platform and cross-system is supported, the network sharing module can be used as a common portable memory, local storage files can be automatically backed up to the cloud storage, the limitation of the use capacity of the existing storage device is broken through, and the efficient and convenient management of the storage contents is realized on the basis of diversified file management strategies. Further, the present invention can be used as a network sharing device or a small NAS device.
Drawings
Fig. 1 is a system block diagram of a portable storage device based on cloud storage according to the present invention.
Fig. 2 is a connection block diagram of the portable storage device based on cloud storage according to the present invention.
Fig. 3 is a schematic block diagram of a portable storage device based on cloud storage according to the present invention.
Fig. 4 is a schematic block diagram of another embodiment of the present invention.
FIG. 5 is a schematic block diagram of a file management module of the present invention.
FIG. 6 is a flow chart of a preferred file management policy of the present invention.
Fig. 7 is a flowchart illustrating a cloud storage-based portable storage device control method according to the present invention.
The following specific embodiments will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
The technical solution provided by the present invention will be further explained with reference to the accompanying drawings.
Referring to fig. 7, a flow chart of the control method of the portable storage device based on cloud storage according to the present invention is shown, which at least includes the following steps:
step S1: configuring the device as a portable memory and/or a network memory according to the configuration instructions;
step S2: when the device is configured as a portable memory, the central processing unit acquires a storage control instruction of the terminal host to control the storage module to store data and execute a preset storage strategy to access the cloud for uploading or downloading;
step S3: when the device is configured as a network memory, the central processing unit acquires a storage control instruction of the cloud storage server to control the storage module to store data.
In step S1, obtaining a configuration instruction through a configuration module or a configuration trigger program preset in the central controller, preferably, the configuration module is a key or other input device for a user to input the configuration instruction to configure the device; or when the central processing unit detects that the power supply is provided with the stable voltage, the configuration triggering program automatically configures the device into the network memory.
In step S2, the central processing unit executes a preset storage policy to access the cloud for uploading or downloading when it is idle; preferably, in the interval of processing the terminal host transmission instruction, the similarities and differences between the local storage device and the cloud storage server are continuously monitored, whether the user performs addition, deletion and modification operations on the file is analyzed through the directory manager, and if the file performs corresponding operations, the preset storage strategy is executed to access the cloud for uploading or downloading. Furthermore, the catalog manager at least sets a backup catalog, an upload catalog, a download catalog and a common catalog, and executes different storage strategies for the read-write operation of the catalogs, which can be defined by users, thereby realizing diversified file management strategies. The normal directory is only used for local storage; the backup catalog is used for storing the files in the catalog in the storage module and uploading the files to the cloud storage server as data backup; the uploading directory is used for uploading files under the directory to a cloud storage server for storage without occupying the storage space of the storage module; the download directory is used for downloading files from the cloud storage server to the directory and storing the files in the storage module.
In a preferred embodiment, a file management module is arranged in the central processing unit, the file management module is at least provided with a local file list, a remote file list and a directory manager, and both the local and remote files have a file list which records file information, paths and MD5 stored in the local and cloud storage servers respectively; the catalog manager is used for managing the mapping relation of data between the local storage and the cloud storage; the local file list and the remote file list are used for displaying an information list of a user storage file so as to facilitate user operation; the local file list is used for displaying file information stored in the storage module, and the remote file list is used for displaying file information stored in the cloud storage server.
In a preferred embodiment, the central processing unit further monitors the storage information of the storage module and automatically starts data uploading operation when the storage information exceeds a preset threshold; and the data uploading operation is to upload the related storage data in the storage module to a cloud storage server according to a preset strategy.
In a preferred embodiment, the data is uploaded to the cloud storage server after the encryption and decryption operations of the data are performed.
In step S3, when the device is configured as a network storage, the cloud storage server controls storage control of the device as a shared storage device accessing the cloud. In a preferred embodiment, the storage module is provided with at least a first storage unit and a second storage unit, the first storage unit being used for local data storage when the device is configured as a portable memory; when the device is configured as a network storage, the device is converted into a small NAS device, and the capacity of the device is the capacity of the second storage unit, which is used for shared data storage. The first storage unit and the second storage unit are arranged, so that when the portable storage or the network storage is used, the storage data can be independent from each other, and the use of a user is not influenced.
Furthermore, the device can be configured as a network sharing device through a configuration module, that is, the central processor is set to be in a mode of allocating network resources, and is converted into a network protocol which can be received by other devices through a specified network protocol, so that the device can be used as a 'hot spot'. For example: and the 4G network is converted into Wifi for the terminal host equipment or other unrelated equipment to use.
Further, the device can be configured as a portable memory and a network memory at the same time, an execution priority is set in the central processing unit, the storage instruction from the terminal host is processed preferentially, and the terminal host device is preferred, namely, the portable memory function is guaranteed preferentially.
Referring to fig. 1, a system block diagram of a portable storage device based on cloud storage according to the present invention is shown, where the storage device performs data storage operation through a data bus or a general interface access terminal host, and meanwhile, the storage device can directly access a cloud storage server through a network. The device can be in the form of a universal mobile storage device such as but not limited to a U disk, a mobile hard disk and the like, and the terminal host device can be in the form of a PC, a mobile phone, a tablet device and the like.
As shown in fig. 2, any one cloud storage server may correspond to a plurality of devices proposed by the present invention, and the devices share independent cloud storage spaces. The only matched password (equivalent to a U shield at the cloud end) is arranged in each device, and when the devices are connected to the cloud end, the cloud storage server firstly conducts password verification and then opens the access channel of the corresponding cloud storage space, so that the user privacy is greatly protected.
Referring to fig. 3, a schematic block diagram of a portable storage device based on cloud storage according to the present invention is shown, which at least includes an interface module, a power module, a central processing unit, a storage module, a file management module, and a network sharing module, wherein,
the power supply module at least comprises a battery and a power supply management module and is used for supplying power to the equipment; a power interface is also arranged and used for connecting with an external stable power supply, and in a preferred embodiment, when the central processing unit detects that the power is supplied by stable voltage, the configuration trigger program automatically configures the device into a network memory; furthermore, the power module adopts a rechargeable battery, and the device is charged simultaneously when being connected to the terminal host.
The interface module is connected with the terminal host, the power supply module and the central processing unit and is used for realizing data transmission between the central processing unit and the terminal host; such as a USB interface commonly used in the art.
The storage module is used for storing data; the method also can be used for storing the effective data read and written by the user on the terminal host and uploading, downloading and caching the cloud storage data, and universal storage equipment such as eMMC, flash, SD and SATA cards can be adopted.
The network sharing module is used for accessing the cloud storage server, and comprises but not limited to a Wifi (wireless fidelity), a wired network interface and a 4G (third generation) network module, so that the equipment and the cloud storage server can directly communicate.
The file management module is used for managing data storage of the local and cloud storage servers; in a preferred embodiment, the file management module is built in the central processing unit and is implemented by software.
The central processing unit is a control center, is internally provided with control drivers of all the modules, simultaneously monitors the operation of all the modules and can timely process abnormal conditions. The cloud storage device is connected with the interface module, the power supply module, the storage module, the file management module and the network sharing module, and is used for acquiring a storage control instruction and controlling data storage of the storage module or carrying out cloud uploading or downloading operation on the stored data according to the storage control instruction. The central processing unit is connected to the cloud storage server through the network sharing module to achieve uploading or downloading of data.
In the above technical solution, the storage control instruction obtained by the central processing unit can be obtained at least by the following means: analyzing a control command generated by a user on the storage operation of the equipment, automatically generated when a preset trigger condition is reached in the execution process of the equipment or sent by a cloud storage server; therefore, various storage controls can be realized to meet the use requirements of users.
By adopting the technical scheme, for the terminal host, the equipment is a portable memory and has no difference with the USB flash disk in the prior art; however, since the device is provided with a network sharing module and can access the cloud storage server to share the storage space, the capacity of the device can be regarded as infinite for the terminal host.
In the invention, the central processing unit is connected with the host equipment and the cloud storage server, in a preferred embodiment, the execution priority is set in the central processing unit, the storage instruction from the terminal host is processed preferentially, and the terminal host equipment is preferred, namely, the portable storage function is preferentially ensured. Meanwhile, when the central processing unit is idle, the cloud storage server is accessed to execute corresponding storage operation.
Meanwhile, due to the built-in power module, the cloud storage server can be accessed to execute corresponding storage operation when the terminal equipment is not connected.
Referring to fig. 4, which is a schematic block diagram illustrating another embodiment of the present invention, the device further includes a data encryption/decryption unit, where the data encryption/decryption unit is connected to the central processing unit, and is configured to perform an encryption/decryption operation on data and store the data in the cloud storage server. Therefore, the data security stored in the cloud storage server is greatly improved.
Further, the device is further provided with a configuration module, and the configuration module is configured to configure the device as a portable Storage or a Network Storage, that is, a Network Attached Storage (NAS): a device having a data storage function connected to a network is also referred to as a "network storage". Preferably, the configuration module may employ a key module or other input device. Wherein the storage module is provided with at least a first storage unit and a second storage unit, and when the device is configured as a portable memory, the first storage unit is used for local data storage; when the device is configured as a network storage, the device is converted into a small NAS device, and the capacity of the device is the capacity of the second storage unit, which is used for shared data storage. The first storage unit and the second storage unit are arranged, so that when the portable storage or the network storage is used, the storage data can be independent from each other, and the use of a user is not influenced.
Furthermore, the device can be configured as a network sharing device through a configuration module, that is, the central processor is set to be in a mode of allocating network resources, and is converted into a network protocol which can be received by other devices through a specified network protocol, so that the device can be used as a 'hot spot'. For example: and the 4G network is converted into Wifi for the terminal host equipment or other unrelated equipment to use.
Referring to fig. 5, which is a schematic block diagram of a file management module in the present invention, the file management module at least has a local file list, a remote file list and a directory manager, where both the local and remote files have a file list, and the file information, path and MD5 stored in the local and cloud storage servers are respectively recorded; the catalog manager is used for managing the mapping relation of data between the local storage and the cloud storage; the local file list and the remote file list are used for displaying an information list of a user storage file so as to facilitate user operation; the local file list is used for displaying file information stored in the storage module, and the remote file list is used for displaying file information stored in the cloud storage server.
The detailed process of executing the storage operation according to a preferred embodiment of the present invention is described in detail below, and referring to fig. 6, a flow chart of a preferred file management policy of the present invention is shown. The processor can continuously monitor the similarities and differences between the local storage device and the cloud storage server when processing the interval of the terminal host transmission instruction, and the directory manager analyzes whether the user performs addition, deletion and modification operations on the file. The catalog manager at least sets a backup catalog, an upload catalog, a download catalog and a common catalog, executes different storage strategies for the read-write operation of the catalogs, and can be defined by users, thereby realizing diversified file management strategies. The normal directory is only used for local storage; the backup catalog is used for storing the files in the catalog in the storage module and uploading the files to the cloud storage server as data backup; the uploading directory is used for uploading files under the directory to a cloud storage server for storage without occupying the storage space of the storage module; the download directory is used for downloading files from the cloud storage server to the directory and storing the files in the storage module.
And (3) backing up a catalog: a directory located in the local file system. If the user performs file adding operation under the directory, the local file list is updated, the directory manager analyzes the difference corresponding to the remote file list, and then the directory manager automatically uploads the file to the cloud storage server through the network sharing module. Accordingly, if a delete operation is performed, the cloud storage server also puts the file into the recycle bin. Namely, the files in the backup directory are consistent with the files in the corresponding partition of the cloud storage server. Under the directory, the files occupy the storage space: local x1+ remote x 1.
And (4) uploading a catalog: a directory located in the local file system. When the user adds the file to the directory, the directory manager detects that the local file list information is updated, and automatically transmits the added file to the cloud storage server for storage. After the storage is successful, the files in the uploaded directory still exist, the size of the files is changed to 0, the files do not occupy the local storage space, and the data is only stored in the server side. Therefore, the user cannot modify or delete the remote file corresponding to the server side in the uploading directory. Under the directory, the files occupy the storage space: local x0+ remote x 1.
Downloading a catalog: a directory located in the local file system. When the user copies one copy of the empty file in the uploading directory into the downloading directory, the directory manager automatically downloads the file from the cloud storage server into the local downloading directory, and the content of the server side is still reserved. Under the directory, the files occupy the storage space: local x1+ remote x 1.
General catalogs: the catalog manager will not monitor it, and only serves as local storage, independent of the cloud storage server. Under the directory, the files occupy the storage space: local x1+ remote x 0.
In a preferred embodiment, the file management module is further provided with a storage capacity monitoring unit and a data uploading unit, wherein the storage capacity monitoring unit is used for monitoring the storage information of the storage module and starting the data uploading unit when the storage information exceeds a preset threshold; the data backup unit is used for uploading the related storage data in the storage module to a cloud storage server according to a preset strategy. When the storage space of the storage module is expired, some data which is not important or accessed for a long time can be automatically uploaded to the cloud storage server, so that the device is equivalent to an infinite storage space for the user.
As a preferable control strategy, when the storage information capacity exceeds a preset threshold, the data backup unit sorts the files according to the file access time, and transmits the least frequently accessed data to the cloud storage server.
The above description of the embodiments is only intended to facilitate the understanding of the method of the invention and its core idea. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A portable storage device control method based on cloud storage is characterized by at least comprising the following steps:
step S1: configuring the device as a portable memory and/or a network memory according to the configuration instructions;
step S2: when the device is configured as a portable memory, the central processing unit acquires a storage control instruction of the terminal host to control the storage module to store data and execute a preset storage strategy to access the cloud for uploading or downloading;
step S3: when the device is configured as a network memory, the central processing unit acquires a storage control instruction of the cloud storage server to control the storage module to store data;
the device at least comprises an interface module, a power supply module, a central processing unit, a storage module, a file management module and a network sharing module, wherein,
the power supply module at least comprises a battery and a power supply management module and is used for supplying power to the equipment;
the interface module is connected with the terminal host, the power supply module and the central processing unit and is used for realizing data transmission between the central processing unit and the terminal host;
the storage module is used for storing data;
the network sharing module is used for accessing a cloud storage server;
the file management module is used for managing data storage of the local and cloud storage servers;
the central processing unit is connected with the interface module, the power supply module, the storage module, the file management module and the network sharing module and is used for acquiring a storage control instruction and controlling data storage of the storage module according to the storage control instruction or carrying out cloud uploading or downloading operation on stored data;
in step S2, the central processing unit executes a preset storage policy to access the cloud for uploading or downloading when it is idle; in the interval of processing the transmission instruction of the terminal host, the similarities and differences between the local storage device and the cloud storage server are continuously monitored, whether the user performs addition, deletion and modification operations on the file is analyzed through the directory manager, and if the file performs corresponding operations, a preset storage strategy is executed to access the cloud for uploading or downloading;
the catalog manager at least sets a backup catalog, an upload catalog, a download catalog and a common catalog and executes different storage strategies for the read-write operation of the catalogs; the normal directory is only used for local storage; the backup catalog is used for storing the files in the catalog in the storage module and uploading the files to the cloud storage server as data backup; the uploading directory is used for uploading files under the directory to a cloud storage server for storage without occupying the storage space of the storage module; the download directory is used for downloading files from the cloud storage server to the directory and storing the files in the storage module;
the method comprises the steps that a file management module is arranged in a central processing unit, the file management module at least comprises a local file list, a remote file list and a directory manager, and the directory manager is used for managing the mapping relation of data between local storage and cloud storage; the local file list and the remote file list are used for displaying an information list of a user storage file so as to facilitate user operation; the local file list is used for displaying file information stored in the storage module, and the remote file list is used for displaying file information stored in the cloud storage server.
2. The cloud storage based portable storage device control method of claim 1, further comprising the step of monitoring storage information of the storage module and automatically initiating a data upload operation when it exceeds a preset threshold.
3. The cloud storage based portable storage device control method according to claim 1, wherein the storage module is provided with at least a first storage unit and a second storage unit, and when the device is configured as a portable storage, the first storage unit is used for local data storage; when the device is configured as a network storage, the device is converted into a small NAS device, and the capacity of the device is the capacity of the second storage unit, which is used for shared data storage.
4. The cloud storage based portable storage device control method of claim 1, wherein the device is further configurable as a network sharing device through a configuration module.
5. The cloud storage based portable storage device control method of claim 1, wherein the device is configured as a portable storage and a network storage at the same time, and the central processor sets an execution priority to preferentially process the storage command from the terminal host.
6. The cloud storage based portable storage device control method of claim 1, wherein in step S1, the configuration command is obtained through a configuration module or a preset configuration trigger program in a central controller.
CN201811264552.8A 2018-10-29 2018-10-29 Portable storage device control method based on cloud storage Active CN109491600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811264552.8A CN109491600B (en) 2018-10-29 2018-10-29 Portable storage device control method based on cloud storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811264552.8A CN109491600B (en) 2018-10-29 2018-10-29 Portable storage device control method based on cloud storage

Publications (2)

Publication Number Publication Date
CN109491600A CN109491600A (en) 2019-03-19
CN109491600B true CN109491600B (en) 2022-03-01

Family

ID=65691773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811264552.8A Active CN109491600B (en) 2018-10-29 2018-10-29 Portable storage device control method based on cloud storage

Country Status (1)

Country Link
CN (1) CN109491600B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202044A (en) * 2011-02-25 2011-09-28 北京兴宇中科科技开发股份有限公司 Portable cloud storage method and device
CN202009402U (en) * 2010-12-23 2011-10-12 中科方德软件有限公司 Portable storage device and system supporting cloud storage
CN103309772A (en) * 2013-07-02 2013-09-18 曙光信息产业(北京)有限公司 Database file backup method and system based on cloud storage
CN103401902A (en) * 2013-07-18 2013-11-20 深圳先进技术研究院 Portable cloud storage system and method
CN103581220A (en) * 2012-07-24 2014-02-12 深圳市中兴移动通信有限公司 Portable cloud storage device
CN103975312A (en) * 2011-03-29 2014-08-06 亚马逊技术股份有限公司 Local storage linked to networked storage system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202009402U (en) * 2010-12-23 2011-10-12 中科方德软件有限公司 Portable storage device and system supporting cloud storage
CN102202044A (en) * 2011-02-25 2011-09-28 北京兴宇中科科技开发股份有限公司 Portable cloud storage method and device
CN103975312A (en) * 2011-03-29 2014-08-06 亚马逊技术股份有限公司 Local storage linked to networked storage system
CN103581220A (en) * 2012-07-24 2014-02-12 深圳市中兴移动通信有限公司 Portable cloud storage device
CN103309772A (en) * 2013-07-02 2013-09-18 曙光信息产业(北京)有限公司 Database file backup method and system based on cloud storage
CN103401902A (en) * 2013-07-18 2013-11-20 深圳先进技术研究院 Portable cloud storage system and method

Also Published As

Publication number Publication date
CN109491600A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109327526B (en) Portable storage device based on cloud storage
US7890716B2 (en) Method of managing time-based differential snapshot
US7415588B2 (en) Electronic device with an automatic backup function
CN104737135B (en) The information processing terminal and synchronisation control means
US20120233126A1 (en) Portable device and backup method thereof
WO2017206754A1 (en) Storage method and storage device for distributed file system
US20130124674A1 (en) Computer system and data migration method
US20150212902A1 (en) Network attached storage device with automatically configured distributed file system and fast access from local computer client
US9454495B2 (en) Memory system capable of prohibiting access to application software and system software
CN101686165A (en) Chip device and method of accessing network shared files by using same
US20070022218A1 (en) Network-attached storage device having a connection to a local user device
EP1688922A2 (en) Method and system of erasing a data pool residing over multiple data storage drives
US9098451B1 (en) Shingled repair set for writing data
KR101975634B1 (en) Digital memory imaging system and method
CN109491600B (en) Portable storage device control method based on cloud storage
JP2002140213A (en) Information managing device and method, information managing system, and computer-readable recording medium with program to be installed in information managing device recorded thereon
US9800658B2 (en) Servers and methods for controlling a server
CN100474259C (en) Intelligent auto-archiving method and system
US10097636B1 (en) Data storage device docking station
CN108874308B (en) Method and apparatus for improving input and output consistency of solid state drives
US9626376B1 (en) Local area network distributed storage
US8200936B2 (en) Systems and methods for recording information to a memory card
CN109117304B (en) File backup method, system and device
CN114610679A (en) Storage device, data storage method thereof and cloud storage system
US8407369B2 (en) Digitally shredding on removable drives

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant