USB device reaches the method for this USB device of automatically opening on computers
Technical field
The present invention relates to the technology of automatically opening of USB device, in particular to mobile device, reach the method for this mobile device of automatically opening on computers.
Background technology
USB flash disk is present memory device commonly used, and most important function is data exchanging function.After the user inserts USB flash disk on computers, need the wait USB flash disk correctly to be identified by system, distribute to the corresponding drive of USB flash disk, the user just can open USB flash disk after clicking drive.
Because the recognition speed of USB flash disk is slower, and the USB flash disk of different quality on different computing machines, identify also can be consuming time different in size, brought a lot of inconvenience.
Therefore, there is the USB flash disk to opening fast, and can be fast and/or automatically open the demand of the new method of USB flash disk.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of method of automatically opening on computers the USB device that possesses memory function, on described computing machine, operation has Windows operating system, comprise: step 102, the initial character of label of memory device that predefine is described possesses the USB device of memory function is special character; Step 104, the described USB device that possesses memory function, after being connected to described computing machine, is equipment complex to the described USB device that possesses memory function of described computing machine statement, described equipment complex comprises keyboard equipment and memory device; Step 106, described keyboard equipment sends the order of Windows+E Macintosh to described computing machine, opens the explorer of described computing machine; Step 108, described keyboard equipment sends the initial character of described label to described computing machine, make described computing machine choose the described USB device that possesses memory function; Step 110, described keyboard equipment sends and opens order to described computing machine, opens the described described memory device that possesses the USB device of memory function.By this scheme, can shorten the time of opening the USB device that possesses memory function.
In technique scheme, preferably, described special character comprises :@, #, %, & , * ,-(minus sign) ,+,=, | ,~.
In technique scheme, preferably, in described step 110, describedly open order and comprise: "enter" key" or Ctrl+Enter Macintosh.
In technique scheme, preferably, the described USB device that possesses memory function is the USB memory device.
In technique scheme, preferably, on the described USB device that possesses memory function, be provided with flip flop equipment, described method also comprises: step 103, the user uses flip flop equipment, to trigger successively described step 106, described step 108, described step 110.By this scheme, can realize need to realizing automatically opening according to the user.
In technique scheme, preferably, described flip flop equipment comprises button and control chip, wherein, the described user generation key-press event that pushes button, described control chip is connected to described computing machine, according to described key-press event with to trigger successively described step 106, described step 108, described step 110.
In technique scheme, preferably, described control chip detects the generation of described key-press event with polling mode.
In technique scheme, preferably, additional interrupts signal on described key-press event, described control chip detects described key-press event by described look-at-me.
The present invention also provides a kind of USB device that possesses memory function of automatically opening on computers, and on described computing machine, operation has Windows operating system, and comprising: communication module connects described computing machine for the described USB device that possesses memory function; Declaration module, for being equipment complex to the described USB device that possesses memory function of described computing machine statement, described equipment complex comprises keyboard equipment and memory device, described memory device, for the file of stored user; Preserve module, the initial character of the label of the memory device of the keyboard sequence instruction sent to described computing machine for storage and the described USB device that possesses memory function, wherein, described keyboard sequence instruction comprises the order of Windows+E Macintosh and opens order, and the initial character of described label is predefined as special character; Sending module, send to described computing machine for the described keyboard sequence instruction that will be stored in described preservation module and the initial character of described label.By this scheme, can shorten the time of opening the USB device that possesses memory function.
In technique scheme, preferably, described special character comprises :@, #, %, & , * ,-(minus sign) ,+,=, | ,~.
In technique scheme, preferably, in described step 110, describedly open order and comprise: "enter" key" or Ctrl+Enter Macintosh.
In technique scheme, preferably, also comprise: trigger module, the user uses described trigger module to trigger described sending module, by being stored in described keyboard sequence instruction in described preservation module and the initial character of described label, sends to described computing machine.By this scheme, can realize need to realizing automatically opening according to the user.
In technique scheme, preferably, described trigger module comprises button and control chip, the described user generation key-press event that pushes button, described control chip connects described computing machine, take according to described key-press event that to trigger described declaration module be equipment complex to the described USB device that possesses memory function of described computing machine statement.
In technique scheme, preferably, described control chip detects the generation of described key-press event with polling mode.
In technique scheme, preferably, to state on key-press event and be attached with look-at-me, described control chip detects described key-press event by described look-at-me.
By technique scheme, can realize automatically opening on computers the method for the USB device that possesses memory function and the USB device that possesses memory function that can automatically open.
The accompanying drawing explanation
Fig. 1 is the process flow diagram of automatically opening on computers the method for the USB device that possesses memory function according to of the present invention;
Fig. 2 is the block diagram according to the USB device that possesses memory function of automatically opening on computers of the present invention; And
Fig. 3 take concrete USB flash disk to illustrate process flow diagram according to an embodiment of the invention as example.
Embodiment
Below will describe with reference to the accompanying drawings embodiments of the invention in detail.
Fig. 1 is the process flow diagram of automatically opening on computers the method for the USB device that possesses memory function according to of the present invention.
As shown in Figure 1, the invention provides a kind of method of automatically opening on computers the USB device that possesses memory function, on described computing machine, operation has Windows operating system, comprise: step 102, the initial character of label of memory device that predefine is described possesses the USB device of memory function is special character; Step 104, the described USB device that possesses memory function, after being connected to described computing machine, is equipment complex to the described USB device that possesses memory function of described computing machine statement, described equipment complex comprises keyboard equipment and memory device; Step 106, described keyboard equipment sends the order of Windows+E Macintosh to described computing machine, opens the explorer of described computing machine; Step 108, described keyboard equipment sends the initial character of described label to described computing machine, make described computing machine choose the described memory device that possesses the USB device of memory function; Step 110, described keyboard equipment sends and opens order to described computing machine, opens the described USB device that possesses memory function.By this scheme, can shorten the time of opening the USB device that possesses memory function.
In technique scheme, described special character comprises :@, #, %, & , * ,-(minus sign) ,+,=, | ,~.
In technique scheme, in described step 110, describedly open order and comprise: "enter" key" or Ctrl+Enter Macintosh.
In technique scheme, the described USB device that possesses memory function is the USB memory device.
In technique scheme, be provided with flip flop equipment on the described USB device that possesses memory function, described method also comprises: step 103, the user uses flip flop equipment, to trigger successively described step 106, described step 108, described step 110.By this scheme, can realize need to realizing automatically opening according to the user.
In technique scheme, described flip flop equipment comprises button and control chip, wherein, and the described user generation key-press event that pushes button, described control chip is connected to described computing machine, according to described key-press event to trigger successively described step 106, described step 108, described step 110.
In technique scheme, described control chip detects the generation of described key-press event with polling mode.
In technique scheme, additional interrupts signal on described key-press event, described control chip detects described key-press event by described look-at-me.
Fig. 2 is the block diagram according to the USB device that possesses memory function of automatically opening on computers of the present invention.
As shown in Figure 2, the present invention also provides a kind of USB device that possesses memory function 200 of automatically opening on computers, on described computing machine, operation has Windows operating system, comprising: communication module 202 connects described computing machine for the described USB device 200 that possesses memory function; Declaration module 204, for being equipment complex to the described USB device 200 that possesses memory function of described computing machine statement, described equipment complex comprises keyboard equipment and memory device 201; Preserve module 206, the initial character of the label of the memory device of the keyboard sequence instruction sent to described computing machine for storage and the described USB device 200 that possesses memory function, wherein, described keyboard sequence instruction comprises the order of Windows+E Macintosh and opens order, and the initial character of described label is predefined as special character; Sending module 208, send to described computing machine for the described keyboard sequence instruction that will be stored in described preservation module 206 and the initial character of described label.By this scheme, can shorten the time of opening the USB device that possesses memory function.
In technique scheme, described special character comprises :@, #, %, & , * ,-(minus sign) ,+,=, | ,~.
In technique scheme, describedly open order and comprise: "enter" key" or Ctrl+Enter Macintosh.
In technique scheme, the described USB device 200 that possesses memory function comprises the USB memory device.
In technique scheme, also comprise: trigger module, trigger for the user that described sending module 208 will be stored in the described keyboard sequence instruction of described preservation module 206 and the initial character of described label sends to described computing machine.By this scheme, can realize need to realizing automatically opening according to the user.
In technique scheme, described trigger module comprises button and control chip, the described user generation key-press event that pushes button, and described control chip connects described computing machine.
In technique scheme, described control chip detects the generation of described key-press event with polling mode.
In technique scheme, to state on key-press event and be attached with look-at-me, described control chip detects described key-press event by described look-at-me.
Pass through technique scheme, can realize automatically opening on computers the method for the USB device that possesses memory function and the USB device that possesses memory function that can automatically open, its advantage comprises: without the process of waiting for Windows system identification USB flash disk, because USB flash disk can be opened after having identified automatically; Open USB flash disk without manual, system will be opened inserted USB flash disk automatically; If a plurality of movable storage devices are arranged on subscriber set, it is to belong to the USB flash disk that just inserts computing machine that the user often is difficult to which drive of judgement, and the present invention can open the USB flash disk that just inserts computing machine automatically, to the user, has brought facility.
The concrete USB flash disk of below take illustrates embodiments of the invention as example, referring to Fig. 3:
Step 302, the label of predefine USB flash disk is " storage ";
Step 304, be connected to USB flash disk on computing machine;
Step 306, the USB flash disk statement is certainly as USB keyboard equipment and memory device;
Step 308, newly increase the driver F dish that a name is called " storage " in computing machine;
Step 310, keyboard equipment sends the order of Windows+E Macintosh, and computing machine is opened explorer;
Step 312, keyboard equipment sends the order of label initial character "-" key, chooses driver F dish;
Step 314, keyboard equipment sends Ctrl+ carriage return Macintosh, opens driver F dish.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.