CN101840344B - USB (Universal Serial Bus) device and method for automatically opening same on computer - Google Patents

USB (Universal Serial Bus) device and method for automatically opening same on computer Download PDF

Info

Publication number
CN101840344B
CN101840344B CN2010101667033A CN201010166703A CN101840344B CN 101840344 B CN101840344 B CN 101840344B CN 2010101667033 A CN2010101667033 A CN 2010101667033A CN 201010166703 A CN201010166703 A CN 201010166703A CN 101840344 B CN101840344 B CN 101840344B
Authority
CN
China
Prior art keywords
computing machine
usb device
memory function
key
usb
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
CN2010101667033A
Other languages
Chinese (zh)
Other versions
CN101840344A (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.)
State Grid Tianjin Electric Power Co Ltd
Original Assignee
State Grid Tianjin Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Tianjin Electric Power Co Ltd filed Critical State Grid Tianjin Electric Power Co Ltd
Priority to CN2010101667033A priority Critical patent/CN101840344B/en
Publication of CN101840344A publication Critical patent/CN101840344A/en
Application granted granted Critical
Publication of CN101840344B publication Critical patent/CN101840344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides a method for automatically opening a USB (Universal Serial Bus) device having storage function on a computer. A Windows operating system runs on the computer. The method comprises the following steps that: (102) the first character of the volume label of the USB device is predefined as a special character; (104) after being connected to the computer, the USB device declares that the USB device is a compound device comprising a keyboard device and a storage device to the computer; (106) the keyboard device sends a Windows+E composite key command to the computer to open the explorer of the computer; (108) the keyboard device sends the first character of the volume label to the computer so that the computer selects the storage device of the USB device; and (110) the keyboard device sends an opening command to the computer to open the storage device of the USB device. Through the scheme, the method for automatically opening the USB device on the computer and the USB device can be realized.

Description

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.

Claims (14)

1. a method of automatically opening on computers the USB device that possesses memory function, move Windows operating system arranged on described computing machine, it is characterized in that, comprising:
Step 102, the initial character of the label of the memory device of the described USB device of predefine is special character;
Step 104, described USB device, after being connected to described computing machine, states that to described computing machine described USB device is equipment complex, described equipment complex comprises keyboard equipment and described 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 of described USB device;
Step 110, described keyboard equipment sends and opens order to described computing machine, opens the described memory device of described USB device, on the described USB device that possesses memory function, is provided with flip flop equipment, and described method also comprises:
Step 103, the user uses flip flop equipment, triggers successively described step 106, described step 108, described step 110.
2. method according to claim 1, is characterized in that, described special character comprises :@, #, %, & , *, minus sign ,+,=, | ,~.
3. method according to claim 1, is characterized in that, in described step 110, describedly opens order and comprise: "enter" key" or Ctrl+Enter Macintosh.
4. according to the method in any one of claims 1 to 3, it is characterized in that, described memory device comprises USB flash disk, portable hard drive or CD.
5. method according to claim 1, it is characterized in that, 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 to trigger successively described step 106, described step 108, described step 110.
6. method according to claim 5, is characterized in that, described control chip detects the generation of described key-press event with polling mode.
7. method according to claim 5, is characterized in that, additional interrupts signal on described key-press event, and described control chip detects described key-press event by described look-at-me.
8. a USB device that possesses memory function of automatically opening on computers, move Windows operating system arranged on described computing machine, it is characterized in that, comprising:
Communication module, connect 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;
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.
9. the USB device that possesses memory function according to claim 8, is characterized in that, described special character comprises :@, #, %, & , *, minus sign ,+,=, | ,~.
10. the USB device that possesses memory function according to claim 8, is characterized in that, describedly opens order and comprise: "enter" key" or Ctrl+Enter Macintosh.
11. according to Claim 8 to 10, the described USB device that possesses memory function of any one, is characterized in that, described memory device comprises USB flash disk, portable hard drive or CD.
12. possess the USB device of memory function according to claim 8, it is characterized in that, 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.
13. possess the USB device of memory function according to claim 12, it is characterized in that, described control chip detects the generation of described key-press event with polling mode.
14. possess the USB device of memory function according to claim 12, it is characterized in that, on described key-press event, be attached with look-at-me, described control chip detects described key-press event by described look-at-me.
CN2010101667033A 2010-04-30 2010-04-30 USB (Universal Serial Bus) device and method for automatically opening same on computer Active CN101840344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101667033A CN101840344B (en) 2010-04-30 2010-04-30 USB (Universal Serial Bus) device and method for automatically opening same on computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101667033A CN101840344B (en) 2010-04-30 2010-04-30 USB (Universal Serial Bus) device and method for automatically opening same on computer

Publications (2)

Publication Number Publication Date
CN101840344A CN101840344A (en) 2010-09-22
CN101840344B true CN101840344B (en) 2013-12-11

Family

ID=42743730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101667033A Active CN101840344B (en) 2010-04-30 2010-04-30 USB (Universal Serial Bus) device and method for automatically opening same on computer

Country Status (1)

Country Link
CN (1) CN101840344B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202502753U (en) * 2012-03-01 2012-10-24 深圳趋势数码科技有限公司 Information publish USB flash drive
CN103577231A (en) * 2013-10-31 2014-02-12 南京熊猫电子股份有限公司 Method for judging host operating system through USB embedded device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2456220Y (en) * 2000-11-27 2001-10-24 英群企业股份有限公司 Keyboard with device for reading out/recording card
CN1542589A (en) * 2003-04-30 2004-11-03 庄儒桂 Multifunctional keyboard
CN1787670A (en) * 2004-12-06 2006-06-14 吴克 Cellphone with USB interface and method for reading information based on USB interface
CN1801055A (en) * 2005-12-25 2006-07-12 罗蒙明 Chinese phonetic input method for mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2456220Y (en) * 2000-11-27 2001-10-24 英群企业股份有限公司 Keyboard with device for reading out/recording card
CN1542589A (en) * 2003-04-30 2004-11-03 庄儒桂 Multifunctional keyboard
CN1787670A (en) * 2004-12-06 2006-06-14 吴克 Cellphone with USB interface and method for reading information based on USB interface
CN1801055A (en) * 2005-12-25 2006-07-12 罗蒙明 Chinese phonetic input method for mobile phone

Also Published As

Publication number Publication date
CN101840344A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
EP2288102A1 (en) Method and system for wireless data communicatiopn in data processing system with a USB interface
CN106712179B (en) Method and device for realizing reverse charging
CN104915306B (en) A kind of data manipulation control method and equipment manager
CN105630726A (en) Two-channel mobile terminal for reusing USB (Universal Serial Bus) port
CN104766206A (en) NFC payment method and device based on mobile terminal
CN103108413A (en) Internet of Things terminal equipment and business processing method thereof
CN102609657A (en) Login method and device for user identified by radio frequency
CN102325203A (en) Mobile terminal and communication device thereof
CN101772761A (en) Electronic device interface control system
CN107422838A (en) A kind of Wearable, solution lock control system and solution lock control method
EP2442259A1 (en) Smart card capable of being used for infrared communication
CN101840344B (en) USB (Universal Serial Bus) device and method for automatically opening same on computer
CN102968325A (en) USB (Universal Serial Bus) equipment and method and device for automatically initializing same
CN1367438B (en) Semiconductor storage method for supporting several interfaces and device
CN100447700C (en) Multi-function portable device for electronic processors
WO2016065821A1 (en) Multifunctional portable data card and data transmission method
CN1975701B (en) Master machine driving external equipment method and system
CN202059431U (en) Intelligent integral terminal based on triple play
CN104035900A (en) Method and device for sharing input device of PC (personal computer) with Android device
CN202422765U (en) Memory card data erasing device
CN102204199A (en) Bit inversion for communication interface
CN101311914A (en) Electronic device and peripheral device matching system and its matching method
CN101094464A (en) Device and method for handset to manage files in U disk
CN204189089U (en) A kind of server
CN102750231A (en) Method and apparatus for controlling access of a secure digital memory card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: STATE GRID TIANJIN ELECTRIC POWER COMPANY

Free format text: FORMER OWNER: BEIJING ESI TECHNOLOGY CO., LTD.

Effective date: 20131104

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100085 HAIDIAN, BEIJING TO: 300010 HEBEI, TIANJIN

TA01 Transfer of patent application right

Effective date of registration: 20131104

Address after: 300010 Tianjin City, Hebei District five Street No. 39

Applicant after: State Grid Tianjin Electric Power Company

Address before: 100085 Beijing city Haidian District Xueqing Road No. 9 Ebizal building A807

Applicant before: Beijing ESL Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant