The content of the invention
Based on this, it is necessary to provide a kind of data exchange conveniently and the mobile memory of data storage security.
A kind of mobile memory, including the USB interface control module that is connected with USB interface is connected with control module
Wi-Fi module that the flash memory that USB main control modules are connected for data storage with USB main control modules is connected with control module and
The connected memory module of control module and the power module being connected with control module;The USB main control modules are used to control to dodge
The access of interior data is deposited, the Wi-Fi module is used to realize radio communication with external equipment that it to be described that the power module is used for
Control module provides electric energy, the work of the control module control Wi-Fi module and control Wi-Fi module and USB interface and USB
Data exchange between main control module, the USB interface realizes the number to the flash memory by control module and USB main control modules
According to accessing operation, the Wi-Fi module is realized grasping the data access of the flash memory by control module and USB main control modules
Make, the memory module is used to store password;When external equipment is carried out by USB interface or Wi-Fi module to the data of flash memory
During accessing operation, control module judges that the password that the password that the USB interface or Wi-Fi module are transmitted is stored with memory module is
It is no consistent, allow USB to connect if the password that USB interface or Wi-Fi module are transmitted is consistent with the password that memory module is stored
Mouth or Wi-Fi module carry out data access operation to flash memory, otherwise forbid USB interface or Wi-Fi module to carry out data to flash memory
Accessing operation.
Wherein in one embodiment, the mobile memory also includes handover module, and the handover module is connected to institute
State between USB interface and control module, the handover module selects its in USB interface and Wi-Fi module by control module
In one carry out data exchange with the flash memory.
Wherein in one embodiment, the flash memory include without password authentification allow directly access common storage area with
Need the secret memory block that password authentification could be accessed.
Wherein in one embodiment, the flash memory includes the first flash memory and the second flash memory, and first flash memory is need not
Password authentification allows the common storage area for directly accessing, and second flash memory is the secret storage for needing password authentification to access
Area.
Wherein in one embodiment, the power module be rechargeable lithium ion batteries, the power module with it is described
USB interface is connected, and the USB interface charges for the power module.
Wherein in one embodiment, the handover module controls the connection of the power module and control module, works as institute
Handover module selection USB interface is stated when carrying out data exchange with the flash memory, the handover module disconnect the power module with
The connection of control module, when handover module selection Wi-Fi module carries out data exchange with the flash memory, the switching mould
Block connects the connection of the power module and control module.
Wherein in one embodiment, charging control circuit is connected between the USB interface and power module, it is described to fill
Electric control circuit control is supplied to the electric energy of power module from USB interface.
Wherein in one embodiment, the mobile memory also includes being connected for referring to power module and control module
Show the state indicator module of the mobile memory working condition.
Wherein in one embodiment, the state indicator module includes the LED being connected with power module and control module.
Wherein in one embodiment, the Wi-Fi module includes that Wi-Fi signal is launched and reception antenna.
Above-mentioned mobile memory includes USB interface, Wi-Fi module, processing module and memory module, so movement storage
The access that device both can carry out data by USB interface can also carry out the access of data by Wi-Fi module.So, the shifting
Dynamic memory has the convenient advantage of data exchange.In addition, processing module is used for judging the password and memory module of user input
Whether the password of middle storage is consistent, and user couple is just allowed when the password of user input is consistent with the password stored in memory module
Flash memory carries out data access operation.Therefore, the data of the mobile memory memory storage are difficult to be compromised away, safer.
Specific embodiment
Fig. 1 is refer to, one embodiment provides a kind of mobile memory 100.The mobile memory 100 includes USB interface
USB main control modules 120 and USB master controls that 110 control modules 140 being connected with usb 1 10 are connected with control module 140
Wi-Fi module 150 and control module that the flash memory 130 that module 120 is connected for data storage is connected with control module 140
140 connected memory modules 190 and the power module 180 being connected with control module 140.USB main control modules 120 are used to control
The access of data in flash memory 130, Wi-Fi module 150 is used to realize radio communication with external equipment that power module 180 to be for being
Control module 120 provides electric energy, and memory module 190 is used to store password, and control module 120 controls the work of Wi-Fi module 150
And control Wi-Fi module 150 and the data exchange between usb 1 10 and USB main control modules 120.When external equipment passes through
When usb 1 10 or Wi-Fi module 150 carry out accessing operation to the data of flash memory 130, control module 140 judges USB interface
110 or the password that transmits of Wi-Fi module 150 it is whether consistent with the password that memory module 190 is stored, if usb 1 10 or
The password that Wi-Fi module 150 is transmitted is consistent with the password that memory module 190 is stored then to allow usb 1 10 or Wi-Fi moulds
Block 150 carries out data access operation to flash memory 130, otherwise forbids usb 1 10 or Wi-Fi module 150 to carry out flash memory 130
Data access operation.
Wi-Fi module 150 herein includes that Wi-Fi signal is launched and reception antenna.The password that memory module 190 is stored
Password and Wi-Fi module 150 required for including accessing flash memory 130 are connected the password required for matching with external equipment.In addition,
Memory module 190 can also store the control module 140 of the mobile memory 100 needed for program.
The mobile memory 100 also includes handover module 160.Handover module 160 is connected to usb 1 10 and control mould
Between block 140.One of them in the selection usb 1 10 of handover module 160 and control module 140 and USB main control modules 120
It is connected.So, can ensure that the mobile memory 100 only has 10 pairs of sudden strains of a muscle of usb 1 when in use by the handover module 160
130 are deposited to conduct interviews or only Wi-Fi module 150 carries out data access to flash memory 130.Visited such that it is able to avoid the occurrence of data
Situations such as asking conflict occurs.
Because the mobile memory 100 had included usb 1 10 and Wi-Fi module 150, the so mobile memory 100 both
The access that data can be carried out by usb 1 10 can also carry out the access of data by Wi-Fi module 150.So, it is right
In only USB interface or the only external equipment of Wi-Fi functions, the mobile memory 100 can be realized entering line number with them
According to exchange.Therefore, the mobile memory has the convenient advantage of data exchange.
In addition, handover module 160 can also control the connection of power module 180 and control module 140.Work as handover module
When 160 selection usb 1s 10 and flash memories 130 carry out data exchange, the deenergization module 180 of handover module 160 and control module
140 connection;When the selection Wi-Fi module 150 of handover module 160 carries out data exchange with flash memory 130, handover module 160 connects
The connection of energization source module 180 and control module 140.So, when the selection usb 1 10 of handover module 160 enters with flash memory 130
During row data exchange, power module 180 avoids the need for providing electric energy for control module 140, but is connected by with usb 1 10
External equipment, such as computer be control module 140 provide electric energy.And work as the usb 1 10 of the mobile memory 100 not with electricity
When the external equipments such as brain are connected, control module 140 will not work, and the mobile memory 100 also just cannot be by Wi-Fi module
150 carry out data access operation.Only when the selection Wi-Fi module 150 of handover module 160 carries out data exchange with flash memory 130,
Power module 180 can just link together with control module 140, and power module 180 could be that control module 140 provides electric energy,
So that the mobile memory 100 can carry out data access operation by Wi-Fi module 150.So, handover module 160 is not
Only there is the function of the different data model storage of selection, also with the function of closing the mobile memory 100.
The power module 180 of the mobile memory 100 is rechargeable lithium ion batteries, power module 180 and USB interface
110 are connected.So, usb 1 10 can think that power module 180 charges.Connect between usb 1 10 and power module 180
Charging control circuit is connected to, charging control circuit control is supplied to the electric energy of power module 180 from usb 1 10.When power supply mould
During 180 charging complete of block, charging control circuit control usb 1 10 stops charging power module 180.
The mobile memory 100 also includes being connected with power module 180 and control module 140 for indicating the movement to store
The state indicator module 170 of the working condition of device 100.Power module 180 is used to be powered for state indicator module 170, control module
140 instruction states for being used for state of a control indicating module 170.State indicator module 170 herein include with power module 180 and
The connected LED of control module 140.The working condition of mobile memory 100 herein includes that the work of Wi-Fi module 150 is indicated
With the instruction of electricity stored by power module 180.When Wi-Fi module 150 works, corresponding LED in state indicator module 170
Can flash.When the not enough power supply of power module 180, corresponding LED can also flash in state indicator module 170.So, user
The working condition of the mobile memory 100 can be understood according to the indicative function of state indicator module 170.
The flash memory 130 of the mobile memory 100 is NAND-type flash memory.In addition, flash memory 130 includes being allowed without password authentification
The common storage area for directly accessing and the secret memory block for needing password authentification to access.Common storage area and secret memory block
The two parts that can be a flash memory 130 can also be two flash memories.Herein, flash memory 130 includes the first flash memory and the second flash memory,
First flash memory is the common storage area that directly access is allowed without password authentification, and the second flash memory could be accessed to need password authentification
Secret memory block.
Because flash memory 130 includes allowing the common storage area for directly accessing without password authentification and needs password authentification ability
The secret memory block of access.So, user when in use will be very convenient.For the data of some need for confidentiality, for example, lead to
News record, important documents etc, user can be deposited into secret memory block.For the data that some need not maintain secrecy, use
They can be stored in common storage area by family.The significant data of need for confidentiality can just be protected by this method,
Known by other people without easily being leaked.In addition, the internal memory of memory module 190 of the mobile memory 100 ought not be known
The user of the password of storage use the mobile memory 100 when, the mobile memory 100 except protect data effect in addition to, not
Excessive puzzlement can be brought to user.User still can use the mobile memory 100 as using traditional USB flash disk.Only
It is that user cannot carry out operating to secret memory block.So, the mobile memory 100 can not only protect stored number
According to being difficult to be compromised away, have the advantages that safe and reliable, additionally it is possible to convenient not know that the user of password uses, with user
Just advantage.
The working condition of the mobile memory 100 is explained below.
During using the mobile memory 100, user by according to it is actual using need selection using usb 1 10 with it is outer
Portion's equipment realizes data transfer or realizes data transfer using Wi-Fi transmission means and the external world.
Fig. 2 is refer to, when user's selection is carried out data transmission using usb 1 10 and external equipment, the movement is deposited
The usb 1 10 of reservoir 100 is directly connected with the USB interface of corresponding external equipment.External device herein is, for example, computer.
Now the selection usb 1 10 of handover module 160 carries out data exchange with flash memory 130.Then, the mobile memory 100 will be according to
Following steps are operated.
Step S110, sets the initial password of the mobile memory 100.When user takes the mobile memory for the first time
When 100, when also being dispatched from the factory with regard to the mobile memory 100, the inside of mobile memory 100 is simultaneously not provided with password.Now need user
Password setting is carried out to the mobile memory 100.Certainly, the mobile memory 100 can also set a password when dispatching from the factory,
User using it is preceding can to dispatching from the factory when the password that sets modify.Set password is stored in depositing in step S110
In storage module 190.Step S110 is carried out when the mobile memory 100 is inserted into computer by user for the first time, is passed through
After setting, avoid the need for carrying out password setting again during user's use afterwards.
Step S120, receives the access request of user.By the setting of initial password, user uses at this or later
During the mobile memory 100, the access request of user will directly be processed.
Step S130, the access request for judging user is accessing operation to be carried out to common storage area or to secret memory block
Carry out storage operation.Two regions, one will be divided into for storing the memory space of external data in the mobile memory 100 herein
Individual is to allow the common storage area that directly accesses without password authentification, and another is that the secret that need password authentification and could access is deposited
Storage area.User can so be facilitated carries out classified access to data.
Step S142, is to allow user to public if carrying out accessing operation to common storage area if the access request of user
Memory block performs accessing operation, otherwise into next step.If that is, the access request of user is that secret memory block is entered
Row storage operation, then carry out step S141.
Step S141, points out user input password.Due to being that secret memory block is conducted interviews, now in order to protect data
Safety, it is necessary to user input password is verified.
Step S150, judges that the password of user input is consistent with the password of the memory storage of mobile memory 100.
Step S160, when the password of user input is consistent with the password of the memory storage of mobile memory 100, points out user to be
It is no to need to change password.When the password of user input and the inconsistent password of the memory storage of mobile memory 100, return to step
S141, points out user input password.
Step S170, when user selects Modify password, the password for pointing out user input new, after the completion of user cipher modification
Using new password as the password of mobile memory 100.When user selects not Modify password, into next step, that is, walked
Rapid S180.
Step S180, it is allowed to which user carries out data access operation to the secret memory block of mobile memory 100.Now, use
The password of family input is consistent with the password of the memory storage of mobile memory 100, so, it is allowed to private of the user to mobile memory 100
Close memory block carries out data access operation.
When user's selection is carried out data transmission using Wi-Fi transmission means and external equipment, then need to change the movement
The state of the handover module 160 of memory 100.Usb 1 10 can be disconnected with control by the state for changing handover module 160
The connection of molding block 140, and power module 180 is connected with control module 140 simultaneously.So control module 140 will control Wi-
Fi modules 150 send signal.External equipment will be connected by Wi-Fi module 150 with the mobile memory 100.At this point it is possible to
The password used during the connection of setting Wi-Fi module 150 and external equipment, so as to ensure the safety of connection.So, outside sets
The standby access that just can realize to data in flash memory 130 by Wi-Fi module 150 and control module 140, so as to realize that data are deposited
Extract operation.External equipment herein can be mobile phone, panel computer with Wi-Fi functions etc..When external equipment and the movement
Memory 100 just can carry out data access operation by external equipment after getting up with Wi-Fi connection to the mobile memory 100
.Now, the mobile memory 100 carry out the step of password setting, data access work with password carried out by USB interface set
Put, it is identical the step of data access works.Here is omitted.
The mobile memory 100 needs first to carry out when user is conducted interviews mobile memory 100 by setting password
Then password authentification could access, and can so prevent the data in mobile memory 100 from being let out easily, so that moving
Data in dynamic memory 100 are safer.Further, since mobile memory 100 to have allowed without password authentification directly visiting
The common storage area asked and the secret memory block for needing password authentification to access, make the user for not knowing password also can also use
Mobile memory 100 carries out the accessing operation of data.The use of so mobile memory 100 is very convenient.
The mobile memory includes USB interface, Wi-Fi module, processing module and memory module, the so mobile memory
Both the access that data can have been carried out by USB interface can also carry out the access of data by Wi-Fi module.So, the movement
Memory has the convenient advantage of data exchange.In addition, processing module is used in the password and memory module for judge user input
Whether the password of storage is consistent, and user is just allowed when the password of user input is consistent with the password stored in memory module to dodging
Deposit into row data access operation.Therefore, the data of the mobile memory memory storage are difficult to be compromised away, safer.So,
The mobile memory has the advantages that data exchange conveniently and data storage security.
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Shield scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.