CN1549094A - USB interface mobile storage - Google Patents
USB interface mobile storage Download PDFInfo
- Publication number
- CN1549094A CN1549094A CNA031362745A CN03136274A CN1549094A CN 1549094 A CN1549094 A CN 1549094A CN A031362745 A CNA031362745 A CN A031362745A CN 03136274 A CN03136274 A CN 03136274A CN 1549094 A CN1549094 A CN 1549094A
- Authority
- CN
- China
- Prior art keywords
- usb interface
- electronic installation
- storage device
- detecting unit
- 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.)
- Granted
Links
Images
Abstract
The movable USB interface memory device has one USB interface unit for connecting to electronic device, one USB controller for controlling the read/write of the memory unit to write in data from the electronic deice to the memory unit or to read out data from the memory unit to the electronic device, and one detection unit connected to the USB interface unit for detecting whether the electronic device is in system unit mode or device mode to set the USB controller to execute one device mode drive program or one system mode drive program.
Description
Technical field
The invention relates to a kind of storage device, refer to that especially a kind of USB interface moves storage device.
Background technology
Along with the prosperity of scientific and technological industry, (for example: PDA, digital camera, notebook computer etc.) outward appearance is more and more littler, and its numerical data processing capacity is more and more stronger for portable apparatus.Usually, (for example: the access data is except seeing through the networking data transmission PDA) or between the computer apparatus at portable apparatus, existingly nearly all come the store digital data and can see through thumb to stamp one's foot and insert an electronic installation in addition, to carry out the data transmission with storage card or mobile storage device (for example thumb is stamped one's foot).
It is to utilize USB interface as transmission interface that existing thumb is stamped one's foot, in addition, digital camera with storing memory generally also provides USB interface, and can link to each other with computer apparatus and the digital image data of being deposited in the storing memory is stored in the memory storage of computer apparatus.And the USB interface that thumb is stamped one's foot and digital camera adopted at present is to be redefined for device pattern (devicemode), for example then be set at host mode (host mode) for USB interface that electronic installation adopted such as PC or PDA, this will make the not enough elasticity of use of USB interface, for example: thumb is stamped one's foot and is the device pattern, therefore digital camera also is the device pattern, causes digital camera can't use the thumb access data of stamping one's foot.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of USB interface to move storage device, can make mobile storage device can be set at host mode or device pattern.
For reaching above-mentioned purpose, USB interface of the present invention moves storage device and mainly comprises: a usb interface unit is for being connected with an electronic installation; One memory cell is for storing data; One USB controller is the read-write of this memory cell of control, so that data can be by electronic installation write store unit, or reads data to electronic installation by memory cell; An and detecting unit, be connected in usb interface unit, in order to detection. electronics is host mode or device pattern, and when electronic installation is host mode, set the USB controller and carry out a device mode activated program, and when electronic installation is the device pattern, sets the USB controller and carry out a host mode driver.
Described USB interface moves storage device, wherein, this detecting unit is on this usb interface unit connects during an electronic installation, promptly see through USB interface and send an equipment requirements signal to this electronic installation, as in the time of presetting, not receiving response, detecting unit judges that promptly this electronic installation is a host mode, otherwise judges that this electronic installation is the device pattern.
Described USB interface moves storage device, and wherein, this detecting unit is when the D of this USB interface ten pins transfer noble potential to by electronegative potential, learns that this usb interface unit connects upward this electronic installation.
Described USB interface moves storage device, wherein, this detecting unit during an electronic installation, is to start this USB controller earlier to carry out this host mode driver on this usb interface unit connects, and sends this equipment requirements signal to this electronic installation to see through USB interface.
Described USB interface moves storage device, wherein, this detecting unit is on this usb interface unit connects during an electronic installation, promptly starting a timer picks up counting, end and do not receive the equipment requirements signal that sends by this electronic installation as timing, detecting unit judges that promptly this electronic installation is the device pattern, otherwise judges that this electronic installation is a host mode.
Described USB interface moves storage device, and wherein, this detecting unit is when the D+ of this USB interface pin transfers noble potential to by electronegative potential, learns that this usb interface unit connects upward this electronic installation.
Described USB interface moves storage device, and wherein, this detecting unit during an electronic installation, is to start this USB controller earlier to carry out this device mode activated program, to wait for this equipment requirements signal of reception on this usb interface unit connects.
Described USB interface moves storage device, and wherein, this memory cell is made of non-volatility memorizer.
Described USB interface moves storage device, and wherein, this non-volatility memorizer is a flash memory.
Described USB interface moves storage device, and wherein, this electronic installation is to be a digital camera.
Described USB interface moves storage device, and wherein, this electronic installation is to be a computer apparatus.
Description of drawings
Fig. 1 is the functional block diagram that USB interface of the present invention moves storage device;
Fig. 2 is in order to judge that the electronic installation that connects mobile storage device of the present invention is a kind of judgement flow process of host mode or device pattern;
Fig. 3 is in order to judge that the electronic installation that connects mobile storage device of the present invention is the another kind judgement flow process of host mode or device pattern.
Embodiment
Relevant USB interface of the present invention moves the storage device preferred embodiment, please be with reference to the functional block diagram of Fig. 1 demonstration, it shows that this mobile storage device 1 mainly is made up of main members such as usb interface unit 2, memory cell 3, USB controller 4, detecting unit 5 and timers 6.
Aforesaid usb interface unit 2 is in order to connect an electronic installation 7, and in present embodiment, electronic installation 7 can be a digital camera or a computer apparatus.Wherein, usb interface unit 2 is to can be a USB connector.Memory cell 3 is in order to the store digital data, and in present embodiment, memory cell 3 is preferably a non-volatility memorizer, for example is a flash memory.USB controller 4 is connected with memory cell 3 and detecting unit 5 respectively, 5 of detecting units are connected with usb interface unit 2, for USB controller 4 are read-writes in order to control store unit 3 so that by memory cell 3 read data to electronic installation 7 or with data by electronic installation 7 write store unit 3.
5 of detecting units are host mode in order to judge that this electronic installation 7 is host mode or device pattern to have worked as electronic installation, and detecting unit 5 is set USB controllers 4 and carried out a device mode activated program.And when electronic installation when being the device pattern, 5 of detecting units are set USB controller 4 and are carried out a host mode and drive formula.
Fig. 3 shows the process flow diagram of second kind of decision procedure, at first, detecting unit 5 can be when usb interface unit 2 Connects Power sub-device 7 (step S301), start USB controller 4 actuating unit mode activated programs (step S302), and start a timer 6 that is connected with detecting unit 5 pick up counting (step S303), if timing ends, detecting unit 5 is not received equipment requirements signal (the step S304 that is sent by electronic installation 7 yet, 305), then detecting unit 5 judges that electronic installation 7 is the device pattern, then detecting unit 5 notice USB controllers 4 are carried out host mode driver (step S306), so that mobile storage device 1 changes to a host mode, if before timing ends, detecting unit 5 is received the equipment requirements signal that is sent by electronic installation 7, then detecting unit 5 judges that electronic installation 7 is a host mode, and then mobile storage device 1 still is a device pattern.
By above explanation as can be known, the present invention utilizes a usb interface unit to be connected with an electronic installation, and seeing through a detecting unit, to come detection. electronics be host mode or device pattern, when electronic installation is host mode, detecting unit is set the USB controller and is carried out a device mode activated program, and when electronic installation is the device pattern, detecting unit is set the USB controller and is carried out host mode driving formula, so that mobile storage device can be set at host mode or device pattern, and can make the use of USB interface not be subjected to any restriction.
The foregoing description only is to give an example for convenience of description, and the interest field that the present invention advocated should be as the criterion so that claim is described certainly, but not only limits to the foregoing description.
Claims (11)
1, a kind of USB interface moves storage device, it is characterized in that, comprising:
One usb interface unit is for being connected with an electronic installation;
One memory cell is for storing data;
One USB controller is the read-write of control to this memory cell, so that data can write this memory cell by this electronic installation, or reads data to this electronic installation by this memory cell; And
One detecting unit, be connected in this usb interface unit, in order to detect this electronic installation is host mode or device pattern, and when this electronic installation is host mode, set this USB controller and carry out a device mode activated program, and when this electronic installation is the device pattern, sets this USB controller and carry out a host mode driver.
2, USB interface as claimed in claim 1 moves storage device, it is characterized in that, wherein, this detecting unit is on this usb interface unit connects during an electronic installation, promptly see through USB interface and send an equipment requirements signal to this electronic installation, as do not receive response in the time of presetting, detecting unit judges that promptly this electronic installation is a host mode, otherwise judges that this electronic installation is the device pattern.
3, USB interface as claimed in claim 2 moves storage device, it is characterized in that, wherein, this detecting unit is when the D of this USB interface ten pins transfer noble potential to by electronegative potential, learns that this usb interface unit connects upward this electronic installation.
4, USB interface as claimed in claim 2 moves storage device, it is characterized in that, wherein, this detecting unit is on this usb interface unit connects during an electronic installation, be to start this USB controller earlier to carry out this host mode driver, send this equipment requirements signal to this electronic installation to see through USB interface.
5, USB interface as claimed in claim 1 moves storage device, it is characterized in that, wherein, this detecting unit is on this usb interface unit connects during an electronic installation, promptly starting a timer picks up counting, end and do not receive that the equipment requirements signal that is sent by this electronic installation, detecting unit judge that promptly this electronic installation is the device pattern as timing, otherwise judge that this electronic installation is a host mode.
6, USB interface as claimed in claim 5 moves storage device, it is characterized in that, wherein, this detecting unit is when the D+ of this USB interface pin transfers noble potential to by electronegative potential, learns that this usb interface unit connects upward this electronic installation.
7, USB interface as claimed in claim 5 moves storage device, it is characterized in that wherein, this detecting unit is on this usb interface unit connects during an electronic installation, be to start this USB controller earlier to carry out this device mode activated program, receive this equipment requirements signal to wait for.
8, USB interface as claimed in claim 1 moves storage device, it is characterized in that, wherein, this memory cell is made of non-volatility memorizer.
9, USB interface as claimed in claim 1 moves storage device, it is characterized in that, wherein, this non-volatility memorizer is a flash memory.
10, USB interface as claimed in claim 1 moves storage device, it is characterized in that, wherein, this electronic installation is to be a digital camera.
11, USB interface as claimed in claim 1 moves storage device, it is characterized in that, wherein, this electronic installation is to be a computer apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03136274 CN1276331C (en) | 2003-05-15 | 2003-05-15 | USB interface mobile storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03136274 CN1276331C (en) | 2003-05-15 | 2003-05-15 | USB interface mobile storage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1549094A true CN1549094A (en) | 2004-11-24 |
CN1276331C CN1276331C (en) | 2006-09-20 |
Family
ID=34323280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03136274 Expired - Fee Related CN1276331C (en) | 2003-05-15 | 2003-05-15 | USB interface mobile storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1276331C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100357921C (en) * | 2004-12-31 | 2007-12-26 | 联想(北京)有限公司 | Method for controlling automatic running program in USB memory and USB memory thereof |
CN100462943C (en) * | 2007-03-16 | 2009-02-18 | 北京天天宽广网络科技有限公司 | General series bus interface mobile memory method and its device |
WO2012075655A1 (en) * | 2010-12-06 | 2012-06-14 | 无敌科技(西安)有限公司 | Electronic device which can automatically resume interrupted transmission and method thereof |
CN103139031A (en) * | 2011-12-02 | 2013-06-05 | 亚旭电子科技(江苏)有限公司 | Universal serial bus (USB) front-arrangement judging circuit |
CN104021101A (en) * | 2014-05-09 | 2014-09-03 | 深圳市汇川控制技术有限公司 | USB interface system and implementation method based on LPC1768 platform |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727421B (en) * | 2008-10-24 | 2011-12-07 | 中芯国际集成电路制造(上海)有限公司 | USB storage equipment and interface circuit thereof |
-
2003
- 2003-05-15 CN CN 03136274 patent/CN1276331C/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100357921C (en) * | 2004-12-31 | 2007-12-26 | 联想(北京)有限公司 | Method for controlling automatic running program in USB memory and USB memory thereof |
CN100462943C (en) * | 2007-03-16 | 2009-02-18 | 北京天天宽广网络科技有限公司 | General series bus interface mobile memory method and its device |
WO2012075655A1 (en) * | 2010-12-06 | 2012-06-14 | 无敌科技(西安)有限公司 | Electronic device which can automatically resume interrupted transmission and method thereof |
CN103139031A (en) * | 2011-12-02 | 2013-06-05 | 亚旭电子科技(江苏)有限公司 | Universal serial bus (USB) front-arrangement judging circuit |
CN104021101A (en) * | 2014-05-09 | 2014-09-03 | 深圳市汇川控制技术有限公司 | USB interface system and implementation method based on LPC1768 platform |
Also Published As
Publication number | Publication date |
---|---|
CN1276331C (en) | 2006-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1245677C (en) | Access rapid storage card method and device | |
US6363437B1 (en) | Plug and play I2C slave | |
CN1092361C (en) | Method for replacing program in portable information terminal equipment | |
CN1276331C (en) | USB interface mobile storage | |
CN1757021A (en) | Device management method and device management system | |
CN1317846C (en) | Method of realizing internal external network physical partition and its device | |
CN1960276A (en) | Remote control system and method | |
CN1262911C (en) | Display device | |
US6877058B2 (en) | Information processing unit having a slot, information processing method for an information processing unit, and program that controls an information processing unit | |
CN1801831A (en) | Method for increasing handset starting response speed | |
CN1186721C (en) | Method for detecting host controller transmission rate for USB device | |
CN1318276A (en) | Method for controlling sequential machine processes | |
CN1752952A (en) | Installation method of driving program built in hardware device | |
CN2618224Y (en) | Memory disc with radio data receiving transmitting function | |
CN2567657Y (en) | Multifunction memory card | |
CN1420661A (en) | Controller | |
CN1494345A (en) | Tracking monitoring system of mobile communication equipment | |
CN1786931A (en) | Apparatus and method for access of fast flash memory cord | |
CN210324158U (en) | Ink screen reading equipment | |
CN201742450U (en) | Mobile phone with A-type USB port | |
CN2569222Y (en) | Signal transmission device | |
CN1459723A (en) | Double interface switchover device of storage card | |
CN2575754Y (en) | Mouse with radiating device | |
CN2867774Y (en) | Mobile phone | |
CN2590060Y (en) | Storing table |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060920 Termination date: 20150515 |
|
EXPY | Termination of patent right or utility model |