CN109451079A - A kind of cloud USB flash disk and its storage method and storage system - Google Patents
A kind of cloud USB flash disk and its storage method and storage system Download PDFInfo
- Publication number
- CN109451079A CN109451079A CN201910027109.7A CN201910027109A CN109451079A CN 109451079 A CN109451079 A CN 109451079A CN 201910027109 A CN201910027109 A CN 201910027109A CN 109451079 A CN109451079 A CN 109451079A
- Authority
- CN
- China
- Prior art keywords
- module
- flash disk
- usb flash
- cloud
- user
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004891 communication Methods 0.000 claims abstract description 7
- 238000009434 installation Methods 0.000 claims abstract description 3
- 238000007726 management method Methods 0.000 claims description 33
- 238000012795 verification Methods 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 13
- 238000012546 transfer Methods 0.000 claims description 13
- 238000005457 optimization Methods 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 238000013144 data compression Methods 0.000 claims description 4
- 238000013500 data storage Methods 0.000 claims description 4
- 238000003780 insertion Methods 0.000 claims description 4
- 230000037431 insertion Effects 0.000 claims description 4
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 claims description 3
- 230000006855 networking Effects 0.000 claims description 3
- 238000007906 compression Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 244000089409 Erythrina poeppigiana Species 0.000 description 1
- 235000009776 Rathbunia alamosensis Nutrition 0.000 description 1
- 244000062793 Sorghum vulgare Species 0.000 description 1
- 241000700605 Viruses Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 235000019713 millet Nutrition 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000010792 warming Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/077—Constructional details, e.g. mounting of circuits in the carrier
- G06K19/0772—Physical layout of the record carrier
- G06K19/07732—Physical layout of the record carrier the record carrier having a housing or construction similar to well-known portable memory devices, such as SD cards, USB or memory sticks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/109—Integrated on microchip, e.g. switch-on-chip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of cloud USB flash disk and its storage system and storage method, which includes shell and Matching installation in the 5G module of the interior of shell, buffer, USB plug, antenna, soc module and flash module;The input terminal of the 5G module is electrically connected the output end of the buffer, and output end is electrically connected the antenna and passes through the antenna and external storage servers connecting communication;The input terminal of the buffer is electrically connected the USB plug and matches connection with the USB jack of external smart terminal by the USB plug;Soc module one end is electrically connected the 5G module, and the other end is electrically connected the buffer;The flash module is also electrically connected with the soc module.The present invention can make data more centrally stored, improve utilization rate and the service life of storage hardware, more convenient to use, safe and efficient compared to conventional USB flash drive.
Description
Technical field
The present invention relates to embedded and communication fields, and in particular to a kind of cloud USB flash disk and its storage method and storage system.
Background technique
With the continuous development of cloud storage technology, many IT circles giants release the different services based on cloud storage one after another.
Google Drive:Google Drive service has local client version, also has socket version, the latter
It is similar to the interface Google Docs.It can be released for Google Apps client, mix special domain name.In addition, Google can also
Api interface is provided to third party, people is allowed to deposit content from other programs to Google Drive.
ICloud cloud service: it is an integrated cloud service product, contains cloud computing, and cloud is searched for, and cloud storage etc. is more
Kind integration function.ICloud platform can be by the server of personal information storage to apple, by connecting wireless network, these letters
Breath meeting automatic push are in each equipment into user hand.
Dropbox: the file synchronization on internet is realized by cloud computing, user can store and shared file and file
Folder.
User can be lost any file into specified folder, then will be synchronized to by Dropbox client
In other other computers equipped with Dropbox client of cloud and the user.
One Drive: it is integrated with Microsoft Office Web external member well, Hotmail and other
Microsoft Live service.Web interface is very intuitive, and the super large network hard disc of 25G, Ke Yisui have been provided free for each user
When accessing file everywhere, can also be added in Shared Folders or update file, completely support exterior chain.
Store-service Cloud Drive on the free line that Amazon Cloud Drive:Amazon is released, registration can obtain
5GB network storage space, transmitting file, MP3, picture, video etc. in support.
In addition, there are also Box, iDrive Sync, Mozy, SugarSync, Ubuntu etc..
Also positive accelerated warming, major IT service provider release various cloud storage services to domestic cloud storage industry one after another.Domestic
Dropbox service development is flourishing, Baidu, thin cloud (Tencent), love cloud (bold and unconstrained scholar), fast disk (Kingsoft) 115, fast disk, Dbank (Huawei),
The substantially expansion business of the Dropbox enterprises such as micro- disk (Sina), 360, magnificence, cruel disk, JBOX.
Although the profit of this business of cloud storage and few at present is come from long-range angle, this will be future
Popular trend.The development trend of the following cloud storage will carry out mainly or angularly from safety, portability and data access
Development.
Have at present many conventional USB flash drive manufacturers all have begun attempt cloud storage business be also exactly by hardware in conjunction with software
Following prospect is seen, such as:
(1) the carry-on WiFi USB flash disk version of millet: built-in USB flash disk, data can pass through the wireless company of being copied to of carry-on WiFi APP in USB flash disk
Mobile phone, computer, the plate of upper carry-on WiFi, supports more people's simultaneous transmissions and can play film, music online;Supporting simultaneously will
The data sharing in the mobile phone, computer, plate of WiFi is connected into USB flash disk.
(2) 360 carry-on WiFi USB flash disks: it is bundled with the cloud disk of 360 carry-on WiFi account numbers, but since 360 cloud disk individual's clouds take
Withdrawing for business, does not continue to develop.
However, maximum transmission bandwidth 10.0Gbps of traditional USB flash disk using USB+ storage FLAS mode USB3.1, and it is practical
In also by storage particles effect, traditional USB flash disk transmission speed often only has 100M/S or so;Meanwhile for existing Dropbox,
Too rely on the end PC, inconvenient to use, starting slow (must first start PC), the limited network bandwidth with PC of transmission speed;Again
For person for existing cloud USB flash disk, what is used is still " USB flash disk " and adds PC software situation dependent on PC.
Summary of the invention
The problem of for above-mentioned background technique, can make data more centrally stored, mention the invention proposes a kind of
The utilization rate of high storage hardware and service life, a kind of more convenient to use compared to conventional USB flash drive, safe and efficient cloud USB flash disk and its storage
System and storage method.
Technical scheme is as follows:
Above-mentioned cloud USB flash disk is inserted including shell and Matching installation in the 5G module of the interior of shell, buffer, USB
Head, antenna, soc module and flash module;The input terminal of the 5G module is electrically connected the output end of the buffer, output end
It is electrically connected the antenna and by the antenna and external storage servers connecting communication;The input terminal of the buffer is electrically connected
The USB plug simultaneously matches connection with the USB jack of external smart terminal by the USB plug;Soc module one end electricity
The 5G module is connected, the other end is electrically connected the buffer;The flash module is also electrically connected with the soc module.
A kind of cloud USB flash disk storage system, based on embedded Linux system and including driving layer unit, kernel layer unit and being
System layer unit;
The driving layer unit includes virtual USB disk drive module, flash drive module and 5G drive module;The virtual U
Dish driving module is for making the cloud USB flash disk storage system externally show as storage equipment characteristic attribute by usb plug;It is described
Flash drive module is used to that the cloud USB flash disk storage system to be made to obtain the ability for reading flash;The 5G drive module is for being
The cloud USB flash disk storage system provides 5G networking ability;
The system layer unit includes that subscription authentication module, event handling nucleus module, data processing module and data pass
Defeated optimization submodule;The subscription authentication module verifies user information for reading user information in flash, hardware id information
Whether modified, if not modified, storage server is sent to by the 5G module of cloud USB flash disk and verifies account validity;It is described
Event handling nucleus module is used to receive and generate a series of event of logic associations;The data processing module includes data
Compression module and condition code generation module;The data compressing module is for entering the cloud to the USB plug by cloud USB flash disk
The incoming data flow of USB flash disk storage system carries out data compression, reduces size of data and reduces the 5G module transfer pressure of cloud USB flash disk
Power;Described document information generation module is used to calculate by by the condition code of the 5G module transfer data of cloud USB flash disk, connects for verifying
The integrality of data is sent in sending and receiving;The data transfer optimization submodule is used for when sending greater number file, optimization transmission team
Column, and provide multithreading for transmission and support.
The cloud USB flash disk storage system, in which: the flash drive module is particularly used for reading the flash mould of cloud USB flash disk
Stored in block it is encrypted after user account information.
The cloud USB flash disk storage system, in which: the 5G drive module is that the cloud USB flash disk storage system and cloud communicate
Channel, data that user copies into, read data, be all to reach cloud via the 5G drive module to the modification of data.
A kind of cloud USB flash disk storage method is that the USB jack of cloud USB flash disk insertion computer is made the activation starting of cloud USB flash disk storage system
And generation system starts event, after the event handling nucleus module of system layer unit receives event in cloud USB flash disk storage system, adjusts
The account of user's binding of flash module internal cryptographic is read with the subscription authentication module of system layer unit in cloud USB flash disk storage system
Family information generates requests verification event, and the event handling nucleus module of system layer unit receives request in cloud USB flash disk storage system
After verifying event, calls the 5G module of cloud USB flash disk and storage server to communicate, recall system layer unit in cloud USB flash disk storage system
Subscription authentication module verification account validity, after account validity is verified, system layer unit in cloud USB flash disk storage system
Event handling nucleus module driven in cloud USB flash disk storage system layer unit 5G drive module support under to storage server send out
Drag the file information request for taking family out, storage server receives drag the file information request for taking family after send request receive
The file information event, then issues the file information, and the 5G module of cloud USB flash disk receives the request from storage server and receives file
Request is simultaneously received the event handling core that the file information event is delivered to system layer unit in cloud USB flash disk storage system by message event
Module, after event handling nucleus module receives request reception the file information event, the 5G module for passing through cloud USB flash disk receives file
Virtual USB disk starting is called to be mapped to local after information, and virtual USB disk is driven through usb agreement and externally shows as usb storage and sets
It is standby;
When copied files in user's Xiang Yun USB flash disk, the virtual USB disk drive module of layer unit is driven in cloud USB flash disk storage system
Data can be received by the USB plug of cloud USB flash disk is simultaneously emitted by data processing event request, system layer in cloud USB flash disk storage system
The USB plug that the event handling nucleus module of unit calls virtual USB disk to be driven through cloud USB flash disk reads the file that user copies,
The file that user is copied by the data compressing module of system layer unit in cloud USB flash disk storage system and condition code generation module into
Row compression and condition code generate data transfer request after calculating, the event handling core of system layer unit in cloud USB flash disk storage system
Module calls the 5G module of cloud USB flash disk to send user information, file and the file information to storage service after receiving data transfer request
Device, the service end system of storage server are verified after having received data, are completed after verifying according to user information file hanging
It is connected to the remote data storage library that storage server corresponds to user.
The cloud USB flash disk storage method, in which: storing process medium cloud USB flash disk is there is no the file data for storing user, and only one
The file data of the equipment of a connection user and storage server, user reaches storage by the USB plug and 5G module of cloud USB flash disk
Server and the 5G module arrival user for passing through cloud USB flash disk from storage server.
The cloud USB flash disk storage method, in which: the service end system of the storage server includes server-side event handling core
Core module, memory management module, user authority management module, user data repository, user account repository, network interface and
Administrator interface;
The memory management module is management to user file and abstract for managing the user data repository,
The ability of read-write repository is provided for event handling core;
The user authority management module is come for receiving to when the request of cloud USB flash disk, requests progress Authority Verification to this,
Judge whether this request has corresponding execution permission, then generates corresponding event to event handling core if any corresponding execution permission
The heart is ignored if without corresponding execution permission;
By the file structure of the account All Files tissue of user, each user has a corresponding user data storage
Library;File is logically that each user data repository is privately owned between each user data repository, in object
Identical file only a data in the storage server, have only given the storage for possessing the user of this part of data in reason
Library access limit only removes his index and permission when user deletes this file;
The user account repository store the account information of each user and the operating right that possesses including account and
The validity information of account;
The network interface is the channel of the service end system access internet of the storage server;Cloud USB flash disk data are logical
It crosses after 5G module enters internet, the service end system of the storage server is entered by the network interface;
The administrator interface is used to provide modification user right information for the server-side event handling nucleus module
Ability.
The cloud USB flash disk storage method, wherein the workflow of the service end system of the storage server are as follows: cloud USB flash disk opens
It can send to drag after dynamic and take request, drag and request is taken to reach the server-side event handling nucleus module by the network interface, by
The server-side event handling nucleus module calls the user authority management module verification, and this drags the legitimacy for taking request, tests
After card passes through, the file that the server-side event handling nucleus module calls the memory management module to read corresponding account is believed
Breath, and corresponding cloud USB flash disk is sent back to by the network interface;
When cloud USB flash disk sends file storage request, file storage request reaches the server-side thing by the network interface
Part processing core module calls described this file of user authority management module verification by the server-side event handling nucleus module
The legitimacy of request is stored, after being verified, the server-side event handling nucleus module continues to file data, and calls
The memory management module is written to the storage server, while adding the file information to the corresponding repository of user;
When cloud USB flash disk sends file read request, file read request reaches the server-side thing by the network interface
Part processing core module calls described this file of user authority management module verification by the server-side event handling nucleus module
The legitimacy of read requests, after being verified, the server-side event handling nucleus module calls the memory management module
It reads respective file information and corresponding cloud USB flash disk is sent to by the network interface;
When dilatation is lost or carried out to user's USB flash disk or volume reduction operates, by the server-side event handling nucleus module
The administrator interface is called to modify corresponding user right information.
The utility model has the advantages that
Present invention incorporates Information Security, the convenience of the convenience of the USB flash disk of conventional belt storage FLASH and cloud USB flash disk;Disappear
The step of in addition to traditional cloud disk to the dependence (this system is linked into cloud by internal 5G module) of the end pc network and Account Logon, together
When also avoid conventional USB flash drive memory space it is too small, without elasticity, upgrading USB flash disk space cost is big (only to be bought one bigger again
USB flash disk), the leakages of data, USB flash disk virus wooden horse infect after USB flash disk is lost;For traditional cloud disk, client downloads is killed, have used
Name in an account book such as logs at the cumbersome step, and allowing user and cloud, " distance is " closer.
Present invention produces by USB3.1 host side, arriving the end USB with data flow, then to 5G module to the data flow of cloud disk
Traditional data flow is substituted, by USB3.1 host side, arrives the end usb, then the route to flah storage.
Compared to traditional technology, main advantages of the present invention are as follows:
(1) with network storage substitution local flash storage, space utilisation is improved, USB3.1 to the number of USB flash disk flash
It is changed to USB3.1 according to flow direction, arrives 5G module, then arrive the data flow of cloud;
(2) under the support of onboard mobile network's module, files through network is transferred to cloud disk;
(3) it under to usb protocal analysis basis, rewrites usb under linux and drives, realize virtual USB disk;
(4) usb virtual technology is utilized, one infinitely great movement of simulation is stored in whole right under virtual USB driving is supported
A USB flash disk characteristic is shown as outside, and external interface is a USB plug;
(5) compression ratio classification carried out to the file for copying into virtual USB disk, the file high to compression ratio compress after with 4G or
5G network carries out being transferred to cloud storage, improves transmission speed;
(6) each cloud USB flash disk has a unique ID, unbinds when losing USB flash disk for user to cloud USB flash disk, finds cloud USB flash disk
People just loses the access authority to data on cloud;
(7) the data resource access permission in its corresponding cloud each USB flash disk ID, ensure that the security isolation of data.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of cloud USB flash disk of the present invention;
Fig. 2 is the structural block diagram of cloud USB flash disk storage system of the present invention;
Fig. 3 is the structure principle chart of the service end system of storage server in the storage method of cloud USB flash disk of the present invention.
Specific embodiment
As shown in Figure 1, cloud USB flash disk of the present invention, including shell 1 and the 5G module 2 being mounted on inside shell 1, buffer 3,
USB plug 4, antenna 5, soc module 6 and flash module 7.
The 5G module 2 input terminal electrical connection buffer 3 output end, output end electrically connected antenna 4 and by antenna 4 with
8 connecting communication of external storage servers.
The input terminal electrical connection USB plug 4 of the buffer 3 and the USB jack for passing through USB plug 4 and external smart terminal
Matching connection.
6 one end of soc module is electrically connected 5G module 2, and the other end is electrically connected buffer 3;Wherein, which has mating
Software systems (built-in Linux of customization).
The flash module 7 is also electrically connected with soc module 6.
As shown in Fig. 2, cloud USB flash disk storage system of the present invention, based on embedded Linux system and including driving layer unit 10,
Kernel layer unit 20 and system layer unit 30.
The driving layer unit 10 connects kernel layer unit 20, and predominantly kernel layer unit 20 provides the ability of driving hardware;
The driving layer unit 10 includes virtual USB disk drive module 101, flash drive module 102 and 5G drive module 103;Wherein, should
Virtual USB disk drive module 101 is the core of cloud USB flash disk storage system of the present invention, for inserting cloud storage system of the present invention by usb
First 4 externally show as storage equipment characteristic attribute;The flash drive module 102 is for obtaining cloud USB flash disk storage system of the present invention
Read flash ability, be particularly used for read flash module 7 in store it is encrypted after user account information;The 5G drives
Dynamic model block 103 is used to provide 5G networking ability for cloud USB flash disk storage system of the present invention, is cloud USB flash disk storage system of the present invention and cloud
The channel of end communication, data that user copies into, read data, be all to reach cloud via 5G drive module 103 to the modification of data
End.
The kernel layer unit 20 connects system layer unit 30;Wherein, which is to driving layer unit 10
It is abstract, allow system layer unit 30 (hardware) under to have a unified visual angle;Such as the flash drive module of driving layer unit 10
102 provide the ability of driving flash for kernel layer unit 20, it is abstracted as MTD (Memory by kernel layer unit 20
Technology Device), flash being read and write for system layer unit 30, unified interface being provided, system layer unit 30 is read and write
Flash is just not necessarily to the hardware details of the specific flash of relationship, read-write sequence, the read-write letter that need to only call kernel layer unit 20 to provide
Number is just.
The system layer unit 30 includes subscription authentication module 301, event handling nucleus module 302, data processing module
303, data compressing module 304, condition code generation module 305 and data transfer optimization submodule 306.
The subscription authentication module 301 is for reading user information in flash, hardware id information, and whether verifying user information
It is modified, storage server 8 is sent by 5G module 2 if not modified and verifies account validity.
The event handling nucleus module 302 is used to receive and generate a series of event of logic associations, such as system insertion
Event core after computer electrifying startup.
The data processing module 303 contains data compressing module 304 and condition code generation module 305.
The data compressing module 304 is used to enter the incoming data flow progress data pressure of system to by USB plug 4
Contracting reduces size of data and reduces 5G module 2 and transmits pressure.
This feature code generation module 305, which is used to calculate, the condition code of data is transmitted by 5G module 2, connects for verifying
The integrality of data is sent in sending and receiving.
The data transfer optimization submodule 306 is used for when sending greater number file, optimization transmission queue (file transmission
Sequentially), and multithreading is provided for transmission to support.
As shown in figure 3, the service end system of storage server 8 includes server-side thing in the storage method of cloud USB flash disk of the present invention
Part processing core module 81, memory management module 82, user authority management module 83, user data repository 84, user account
Repository 85, network interface 86 and administrator interface 87.
The memory management module 82 is management to user file and abstract for managing user data repository 84, is
Event handling core provides the ability of read-write repository.
The user authority management module 83 be used for received client (cloud USB flash disk) request when, to this request into
Row Authority Verification (account information that the request that cloud USB flash disk is sent to storage server 8 can carry user's binding), judges that this is requested
Whether there is corresponding execution permission, then generates corresponding event to event handling core, such as without correspondence if any corresponding execution permission
Execution permission then ignore.
By the file structure of the account All Files tissue of user, each user has a corresponding user data storage
Library 84;File is logically that each user data repository 84 is privately owned between each user data repository 84, but in object
Identical file only a data in storage server 8 in reason (8 utilization rate of storage server and service life are improved with this)
The repository access limit for possessing the user of this part of data has only been given, his index is only removed when user deletes this file
And permission.
The user account repository 85 stores the account information of each user, the operating right and account possessed including account
The validity information at family.
The network interface 86 is the channel of the service end system access internet of storage server 8;Cloud USB flash disk data pass through 5G
After module 2 enters internet, the service end system of storage server 8 is entered by network interface 86.
The administrator interface 87 is used to provide the energy of modification user right information for server-side event handling nucleus module 81
Power.
The workflow of the service end system of the storage server 8:
It can send to drag after the starting of cloud USB flash disk and take request, drag and request is taken to reach server-side event handling core by network interface 86
Core module 81 calls user authority management module 83 by server-side event handling nucleus module 81, verifies the legitimacy of this request
Property, after being verified, the file that server-side event handling nucleus module 81 calls memory management module 82 to read corresponding account is believed
Breath, and corresponding cloud USB flash disk is sent back to by network interface 86.
When cloud USB flash disk sends file storage request, file storage request reaches server-side event handling by network interface 86
Nucleus module 81 calls user authority management module 83 to verify the storage request of this file by server-side event handling nucleus module 81
Legitimacy, after being verified, server-side event handling nucleus module 81 continues to file data, and calls storage management
Module 82 is written to storage server 8, while adding the file information corresponding repository of user into user data repository 84.
When cloud USB flash disk sends file read request, file read request reaches server-side event handling by network interface 86
Nucleus module 81 calls user authority management module 83 to verify this file read request by server-side event handling nucleus module 81
Legitimacy, after being verified, by server-side event handling nucleus module 81 call memory management module 82 read respective file
Information is simultaneously sent to corresponding cloud USB flash disk by network interface 86.
When dilatation is lost or carried out to user's USB flash disk or volume reduction operates, adjusted by server-side event handling nucleus module 81
Corresponding user right information is modified with administrator interface 87.
The storage method of cloud USB flash disk of the present invention, based on above-mentioned cloud USB flash disk of the present invention and cloud USB flash disk storage system of the present invention, tool
Body process is as follows:
By the USB jack of cloud USB flash disk insertion computer, make cloud USB flash disk storage system activation starting and generation system starting event, cloud
After the event handling nucleus module 302 of system layer unit 30 receives event in USB flash disk storage system, cloud USB flash disk storage system is called
The subscription authentication module 301 of middle system layer unit 30 is read in the case where the flash module 7 of cloud USB flash disk is supported to be added inside flash module 7
The account information of close user's binding is generated and is asked (character string made of User ID and hardware ID operation does not include user password)
Verifying event is sought, the event handling nucleus module 302 of system layer unit 30 receives requests verification event in cloud USB flash disk storage system
Afterwards, the 5G module 2 and storage server 8 for calling cloud USB flash disk communicate, and recall the use of system layer unit 30 in cloud USB flash disk storage system
Family authentication module 301 verifies the validity of account, after account validity is verified, system layer unit in cloud USB flash disk storage system
30 event handling nucleus module 302 drive the 5G drive module 103 of layer unit 10 to support in cloud USB flash disk storage system under to depositing
The file information request for taking family is dragged in the storage sending of server 8, storage server 8 receives drag and take the file information request at family after
It sends request and receives the file information event, then issue the file information, the 5G module 2 of cloud USB flash disk is received from storage server 8
Request receive the file information event and request receive the file information event be delivered to system layer unit in cloud USB flash disk storage system
30 event handling nucleus module 302 leads to after event handling nucleus module 302 receives request reception the file information event
The starting of virtual USB disk drive module 101 is called to be mapped to local, and virtual U after crossing the reception the file information of 5G module 2 of cloud USB flash disk
Dish driving module 101 externally shows as usb by usb agreement and stores equipment;When user into cloud USB flash disk of the present invention copied files
When, drive the virtual USB disk drive module 101 of layer unit 10 that can receive by the USB plug 4 of cloud USB flash disk in cloud USB flash disk storage system
Data are simultaneously emitted by data processing event request, the event handling nucleus module 302 of system layer unit 30 in cloud USB flash disk storage system
It calls virtual USB disk drive module 101 to read the file of user's copy by the USB plug 4 of cloud USB flash disk, system is stored by cloud USB flash disk
The file that the data compressing module 304 of system layer unit 30 and condition code generation module 305 copy user in system (includes file
Tree and file attribute information do not include file data) it carries out generating data transfer request, cloud USB flash disk after compression is calculated with condition code
The event handling nucleus module 302 of system layer unit 30 calls the 5G module 2 of cloud USB flash disk to send use after receiving request in storage system
To storage server 8, the service end system of storage server 8 has been received after data to reception for family information, file and the file information
User information, file and the file information verified, file is articulated to according to user information by storage service after completing verification
The user data repository 84 of the corresponding user of device 8;Storing process medium cloud USB flash disk is there is no the file data for storing user, and only one
The file data of the equipment of a connection user and storage server 8, user is reached by the USB plug 4 and 5G module 2 of cloud USB flash disk
Storage server 8 and the arrival user of 5G module 2 for passing through cloud USB flash disk from storage server 8.
The present invention can make data more centrally stored, improve utilization rate and the service life of storage hardware, use compared to conventional USB flash drive
It is more convenient, safe and efficient.
Claims (8)
1. a kind of cloud USB flash disk, it is characterised in that: including shell and Matching installation the 5G module of the interior of shell, buffer,
USB plug, antenna, soc module and flash module;
The input terminal of the 5G module is electrically connected the output end of the buffer, and output end is electrically connected the antenna and by described
Antenna and external storage servers connecting communication;
The input terminal of the buffer is electrically connected the USB plug and is inserted by the USB plug and the USB of external smart terminal
Mouth matching connection;
Soc module one end is electrically connected the 5G module, and the other end is electrically connected the buffer;
The flash module is also electrically connected with the soc module.
2. a kind of cloud USB flash disk storage system, it is characterised in that: the cloud USB flash disk storage system be based on embedded Linux system and including
Drive layer unit, kernel layer unit and system layer unit;
The driving layer unit includes virtual USB disk drive module, flash drive module and 5G drive module;The virtual USB disk is driven
Dynamic model block is for making the cloud USB flash disk storage system externally show as storage equipment characteristic attribute by usb plug;The flash
Drive module is used to that the cloud USB flash disk storage system to be made to obtain the ability for reading flash;The 5G drive module is used to be the cloud
USB flash disk storage system provides 5G networking ability;
The system layer unit includes that subscription authentication module, event handling nucleus module, data processing module and data transmission are excellent
Beggar's module;The subscription authentication module is for reading user information in flash, hardware id information, and whether verifying user information
It is modified, if not modified, storage server is sent to by the 5G module of cloud USB flash disk and verifies account validity;The event
Processing core module is used to receive and generate a series of event of logic associations;The data processing module includes data compression
Module and condition code generation module;The data compressing module is for entering the cloud USB flash disk to the USB plug by cloud USB flash disk
The incoming data flow of storage system carries out data compression, reduces size of data and reduces the 5G module transfer pressure of cloud USB flash disk;Institute
Condition code generation module is stated for calculating by the condition code of the 5G module transfer data of cloud USB flash disk, receives, send for verification
The integrality of data;The data transfer optimization submodule is used for when sending greater number file, optimization transmission queue, and is
Transmission provides multithreading and supports.
3. cloud USB flash disk storage system as claimed in claim 2, it is characterised in that: the flash drive module is particularly used for reading
Take stored in the flash module of cloud USB flash disk it is encrypted after user account information.
4. cloud USB flash disk storage system as claimed in claim 2, it is characterised in that: the 5G drive module is the cloud USB flash disk storage
The channel of system and cloud communication, data that user copies into, read data, be all to drive mould via the 5G to the modification of data
Block reaches cloud.
5. a kind of cloud USB flash disk storage method, it is characterised in that: by the USB jack of cloud USB flash disk insertion computer, swash cloud USB flash disk storage system
Starting living and generation system start event, and the event handling nucleus module of system layer unit receives thing in cloud USB flash disk storage system
After part, the user for calling the subscription authentication module of system layer unit in cloud USB flash disk storage system to read flash module internal cryptographic is tied up
Fixed account information generates requests verification event, and the event handling nucleus module of system layer unit receives in cloud USB flash disk storage system
To after requests verification event, calls the 5G module of cloud USB flash disk and storage server to communicate, recall system in cloud USB flash disk storage system
The validity of the subscription authentication module verification account of layer unit, after account validity is verified, system in cloud USB flash disk storage system
The event handling nucleus module of layer unit takes under driving the 5G drive module of layer unit to support in cloud USB flash disk storage system to storage
The file information request for taking family is dragged in business device sending, storage server receives drag the file information request for taking family after send and ask
It asks and receives the file information event, then issue the file information, the 5G module of cloud USB flash disk receives the request from storage server and connects
Message in-coming part message event is simultaneously delivered to request reception the file information event in cloud USB flash disk storage system at the event of system layer unit
Nucleus module is managed, after event handling nucleus module receives request reception the file information event, is connect by the 5G module of cloud USB flash disk
Virtual USB disk starting is called to be mapped to local after receiving the file information, and virtual USB disk is driven through usb agreement and externally shows as usb
Store equipment;
When copied files in user's Xiang Yun USB flash disk, drive the virtual USB disk drive module of layer unit that can lead in cloud USB flash disk storage system
The USB plug for crossing cloud USB flash disk receives data and is simultaneously emitted by data processing event request, system layer unit in cloud USB flash disk storage system
Event handling nucleus module call virtual USB disk be driven through cloud USB flash disk USB plug read user copy file, pass through
The file that the data compressing module of system layer unit and condition code generation module copy user in cloud USB flash disk storage system is pressed
Contracting and condition code generate data transfer request after calculating, the event handling nucleus module of system layer unit in cloud USB flash disk storage system
It calls the 5G module of cloud USB flash disk to send user information, file and the file information to storage server after receiving data transfer request, deposits
The service end system of storage server is verified after having received data, is completed to be articulated to file according to user information after verifying and be deposited
Storage server corresponds to the remote data storage library of user.
6. cloud USB flash disk storage method as claimed in claim 5, it is characterised in that: there is no the texts for storing user for storing process medium cloud USB flash disk
Number of packages evidence, the only equipment of a connection user and storage server, the file data of user by the USB plug of cloud USB flash disk and
5G module reaches storage server and reaches user from storage server by the 5G module of cloud USB flash disk.
7. cloud USB flash disk storage method as claimed in claim 5, it is characterised in that: the service end system of the storage server includes clothes
Business end event handling nucleus module, memory management module, user authority management module, user data repository, user account are deposited
Storage cavern, network interface and administrator interface;
The memory management module is management to user file and abstract for managing the user data repository, is thing
Part processing core provides the ability of read-write repository;
The user authority management module is come for receiving to when the request of cloud USB flash disk, requests progress Authority Verification, judgement to this
Whether this request has corresponding execution permission, then generates corresponding event to event handling core if any corresponding execution permission,
Ignore if without corresponding execution permission;
By the file structure of the account All Files tissue of user, each user has a corresponding user data repository;
File is logically that each user data repository is privately owned between each user data repository, physically
Identical file only a data in the storage server, have only given the repository for possessing the user of this part of data to read
Write permission only removes his index and permission when user deletes this file;
The operating right and account that the user account repository stores the account information of each user and possesses including account
Validity information;
The network interface is the channel of the service end system access internet of the storage server;Cloud USB flash disk data pass through 5G
After module enters internet, the service end system of the storage server is entered by the network interface;
The administrator interface is used to provide the ability of modification user right information for the server-side event handling nucleus module.
8. cloud USB flash disk storage method as claimed in claim 5, which is characterized in that the work of the service end system of the storage server
Process are as follows:
It can send to drag after the starting of cloud USB flash disk and take request, drag and request is taken to reach the server-side event handling by the network interface
Nucleus module, calling the user authority management module verification by the server-side event handling nucleus module, this drags and takes request
Legitimacy, after being verified, the server-side event handling nucleus module calls the memory management module to read corresponding account
The file information at family, and corresponding cloud USB flash disk is sent back to by the network interface;
When cloud USB flash disk sends file storage request, file storage request is reached at the server-side event by the network interface
Nucleus module is managed, calls described this file of user authority management module verification to store by the server-side event handling nucleus module
The legitimacy of request, after being verified, the server-side event handling nucleus module continues to file data, and described in calling
Memory management module is written to the storage server, while adding the file information to the corresponding repository of user;
When cloud USB flash disk sends file read request, file read request is reached at the server-side event by the network interface
Nucleus module is managed, calls described this file of user authority management module verification to read by the server-side event handling nucleus module
The legitimacy of request, after being verified, the server-side event handling nucleus module calls the memory management module to read
Respective file information is simultaneously sent to corresponding cloud USB flash disk by the network interface;
When dilatation is lost or carried out to user's USB flash disk or volume reduction operates, called by the server-side event handling nucleus module
The administrator interface modifies corresponding user right information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910027109.7A CN109451079B (en) | 2019-01-11 | 2019-01-11 | Cloud USB flash disk and storage method and storage system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910027109.7A CN109451079B (en) | 2019-01-11 | 2019-01-11 | Cloud USB flash disk and storage method and storage system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109451079A true CN109451079A (en) | 2019-03-08 |
CN109451079B CN109451079B (en) | 2022-05-24 |
Family
ID=65544165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910027109.7A Expired - Fee Related CN109451079B (en) | 2019-01-11 | 2019-01-11 | Cloud USB flash disk and storage method and storage system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109451079B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543454A (en) * | 2019-09-03 | 2019-12-06 | 电子科技大学成都学院 | Mobile virtual NFCU disc based on OpenStack and using method |
CN111565210A (en) * | 2019-12-05 | 2020-08-21 | 广州纪光新媒体***有限公司 | Culture construction processing terminal supporting content import of cloud disk and mobile storage device |
CN111736777A (en) * | 2020-06-28 | 2020-10-02 | 天津联想协同科技有限公司 | Method and device for realizing virtual disk |
CN112528285A (en) * | 2020-12-18 | 2021-03-19 | 南方电网电力科技股份有限公司 | Security protection method and device for cloud computing platform, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201780792U (en) * | 2010-09-20 | 2011-03-30 | 谢坦 | Self-starting multi-functional safety universal serial bus (USB) flash drive based on Linux kernel |
CN103984664A (en) * | 2014-05-30 | 2014-08-13 | 小米科技有限责任公司 | Cloud space access method, device and system |
CN204440908U (en) * | 2015-03-04 | 2015-07-01 | 周伟源 | The private cloud USB flash disk of intelligence WIFI |
CN106022157A (en) * | 2015-05-04 | 2016-10-12 | 深圳市魔力信息技术有限公司 | Cloud and local secure storage method and device |
CN106101188A (en) * | 2016-05-30 | 2016-11-09 | 宁德市众威网络科技有限公司 | A kind of data processing method of network cloud USB flash disk |
-
2019
- 2019-01-11 CN CN201910027109.7A patent/CN109451079B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201780792U (en) * | 2010-09-20 | 2011-03-30 | 谢坦 | Self-starting multi-functional safety universal serial bus (USB) flash drive based on Linux kernel |
CN103984664A (en) * | 2014-05-30 | 2014-08-13 | 小米科技有限责任公司 | Cloud space access method, device and system |
CN204440908U (en) * | 2015-03-04 | 2015-07-01 | 周伟源 | The private cloud USB flash disk of intelligence WIFI |
CN106022157A (en) * | 2015-05-04 | 2016-10-12 | 深圳市魔力信息技术有限公司 | Cloud and local secure storage method and device |
CN106101188A (en) * | 2016-05-30 | 2016-11-09 | 宁德市众威网络科技有限公司 | A kind of data processing method of network cloud USB flash disk |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543454A (en) * | 2019-09-03 | 2019-12-06 | 电子科技大学成都学院 | Mobile virtual NFCU disc based on OpenStack and using method |
CN111565210A (en) * | 2019-12-05 | 2020-08-21 | 广州纪光新媒体***有限公司 | Culture construction processing terminal supporting content import of cloud disk and mobile storage device |
CN111736777A (en) * | 2020-06-28 | 2020-10-02 | 天津联想协同科技有限公司 | Method and device for realizing virtual disk |
CN112528285A (en) * | 2020-12-18 | 2021-03-19 | 南方电网电力科技股份有限公司 | Security protection method and device for cloud computing platform, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109451079B (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109451079A (en) | A kind of cloud USB flash disk and its storage method and storage system | |
CN111274268B (en) | Internet of things data transmission method and device, medium and electronic equipment | |
CN106104514B (en) | Accelerate method, system and the medium of the object in access object repository | |
CN104995895B (en) | Compatible extensions unload token size | |
TWI301021B (en) | File distribution and access system and method for file management | |
CN110168492A (en) | The consistent file system semantics stored using cloud object | |
US10965732B2 (en) | Streaming zip | |
KR101533427B1 (en) | Mobile storage device providing mass virtual storage space and providing method thereof | |
KR100589541B1 (en) | Electrical transmission system in secret environment between virtual disks and Electrical transmission method thereof | |
CN103986776B (en) | A kind of router and the method for down loading based on router | |
CN103731489B (en) | A kind of date storage method, system and equipment | |
TW200400444A (en) | System and method for accessing different types of back end data stores | |
CN103064637A (en) | Network disk cache synchronizing method and system | |
CN111368330B (en) | Ethernet intelligent contract auditing system and method based on block chain | |
CN103067479A (en) | Network disk synchronized method and system based on file coldness and hotness | |
CN102427476A (en) | Wireless cloud storage module | |
KR102163930B1 (en) | Distributed compile system implementing blockchain rewards | |
CN102497426A (en) | Wireless cloud storage card | |
CN110008186A (en) | For file management method, device, terminal and the medium of more ftp data sources | |
CN113923259A (en) | Data processing method and system | |
CN109635558A (en) | Access control method, device and system | |
KR102253238B1 (en) | Method of verifying to distributed compiling | |
CN109324997A (en) | A kind of digital right guard method and device based on block chain | |
CN110298165A (en) | Have secure access to method, apparatus and the authentication proxy of shared drive | |
KR102168428B1 (en) | Computer program, contents download management server and method for downloading contents |
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 | ||
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: 20220524 |