CN103631741A - Usb control device and control method thereof - Google Patents

Usb control device and control method thereof Download PDF

Info

Publication number
CN103631741A
CN103631741A CN201210306193.4A CN201210306193A CN103631741A CN 103631741 A CN103631741 A CN 103631741A CN 201210306193 A CN201210306193 A CN 201210306193A CN 103631741 A CN103631741 A CN 103631741A
Authority
CN
China
Prior art keywords
usb
package
data
transmission interface
cbw
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.)
Pending
Application number
CN201210306193.4A
Other languages
Chinese (zh)
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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201210306193.4A priority Critical patent/CN103631741A/en
Priority to TW101143009A priority patent/TW201409242A/en
Publication of CN103631741A publication Critical patent/CN103631741A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a USB control device and a control method thereof. The USB control device is used for being in communication with a USB host and a storage device, and comprises a USB transmission interface, a pre-store device and a controller which is coupled with the USB transmission interface and the pre-store device. The USB transmission interface receives a first CBW packet and a second CBW packet in sequence from the USB host. The controller stores pre-store data of the storage device to the pre-store device in advance in the period after the USB transmission interface receives the first CBW packet and before the USB transmission interface receives the second CBW packet, and the controller transmits the pre-store data which are pre-stored in the pre-store device to the USB host through the USB transmission interface after the USB transmission interface receives the second CBW packet. According to the USB control device and the control method thereof, the transmission speed of the USB device under the BOT protocol can be substantially improved, and is not limited by the USB device and the structure of the USB host.

Description

USB control device and control method thereof
Technical field
The present invention relates to a kind of USB control device and control method thereof.More specifically, the present invention relates to a kind of USB control device and control method thereof that can read in advance.
Background technology
USB (universal serial bus) (Universal Serial Bus, USB) is a kind of technical protocol that connects the IO interface of computer and external unit, and maximum characteristic is to support hot plug and plug and play.When external unit inserts computer, computer can be written into the needed driver of external unit voluntarily, therefore also want convenient more than conventional transmission interfaces such as LPT port, RS232, PS/2, PCI, ISA in use, thereby be widely used in PC and external peripherals.
Along with the demand of people for high transmission speed, the transmission speed of USB 2.0 agreements is not applied and is used.According to the standard of USB 2.0 agreements, the transmission speed theoretical value of USB interface edge is only 60MB/s, the main cause that this transmission speed that is USB 2.0 agreements cannot effectively promote.Along with scientific and technological progress, the transmission speed of USB 3.0 agreements is also increasing.According to the standard of USB 3.0 agreements, the transmission speed theoretical value of USB interface edge can reach 500MB/s, therefore be different from USB 2.0 agreements, the bottleneck of the transmission speed of USB 3.0 agreements no longer falls within USB interface edge, but falls within USB device itself.
BOT agreement (Bulk-Only Transport) is the various standards while formulating USB device transmission data.Particularly, must be according to CBW(Command Block Warp during BOT agreement regulation transmission data) package, transmission data, CSW(Command Status Warp) order of package processes, wherein CBW package is sent to USB device by usb host, in order to the order that provides USB device to read or write, and CSW package is sent to usb host by USB device, reply transmission state to usb host after being used to transmit data.
According to the standard of BOT agreement, CBW package and CSW package processing stage, usb host and USB device be cannot for transmission data carry out any processing.Therefore,, under USB 3.0 agreements, in order to promote whole transmission speed, traditional method only can focus on that shortening USB device processes CBW package and the time of replying CSW package, or shortens usb host and process CSW package and the time that sends CBW package.Yet said method is quite limited to the framework of USB device and usb host itself, historical facts or anecdotes matter effect limited.
In view of this, how effectively to promote the transmission speed of the USB device under BOT agreement, really for affiliated field, need the problem of solution badly.
Summary of the invention
For problems of the prior art, the object of the present invention is to provide a kind of USB control device, this USB control device is in order to link up with a usb host and a memory storage, and this USB control device comprises the controller that a USB transmission interface, a pre-storage and are coupled to this USB transmission interface and this pre-storage.This USB transmission interface sequentially receives one the one CBW(Command Block Warp in order to this usb host certainly) package and one the 2nd CBW package.This controller receives a CBW package to during receiving the 2nd CBW package in this USB transmission interface, one pre-deposit data of pre-stored this memory storage is to this pre-storage, and receive after the 2nd CBW package in this USB transmission interface, this pre-deposit data that is stored in this pre-storage by this USB transmission interface transmission is to this usb host.
The present invention also provides a kind of control method, for a USB control device.This USB control device is in order to link up with a usb host and a memory storage, and this USB control device comprises the controller that a USB transmission interface, a pre-storage and are coupled to this USB transmission interface and this pre-storage.This control method comprises the following step:
(a) make this USB transmission interface, this usb host sequentially receives one the one CBW package and one the 2nd CBW package certainly;
(b) make this controller, in this USB transmission interface, receive a CBW package to during receiving the 2nd CBW package, a pre-deposit data of pre-stored this memory storage is to this pre-storage; And
(c) make this controller, in this USB transmission interface, receive after the 2nd CBW package, this pre-deposit data that is stored in this pre-storage by this USB transmission interface transmission is to this usb host.
Beneficial effect of the present invention is, in sum, USB control device provided by the invention and control method thereof, during USB transmission interface reception the one CBW package to the two CBW packages, in advance the pre-deposit data that is stored in memory storage is stored to pre-storage, and directly the pre-deposit data of pre-storage is sent to usb host after receiving the 2nd CBW package.Therefore, USB control device provided by the invention and control method thereof, even in CBW stage and CSW stage, sustainable transmission data that read still, the standard because of BOT agreement does not stop processing transmission data, therefore can significantly promote the transmission speed of the USB device under BOT agreement, and not be limited to the framework of USB device and usb host itself.
After the embodiment of consulting accompanying drawing and describing subsequently, person of ordinary skill in the field just can understand technological means of the present invention and implement aspect.
Accompanying drawing explanation
Fig. 1 is the structural representation of the USB control device 1 of the first embodiment of the present invention;
Fig. 2 is that the signal of the first embodiment of the present invention transmits schematic diagram; And
Fig. 3 is the process flow diagram of the control method of the second embodiment of the present invention.
Wherein, description of reference numerals is as follows:
1:USB control device
11:USB transmission interface
13: pre-storage
15: controller
20: the CBW packages
22: the two CBW packages
24: the first data
26: pre-deposit data
28: the CSW packages
3:USB main frame
5: memory storage
60: the very first time is interval
62: the second time intervals
64: the three time intervals
Embodiment
Content of the present invention will be explained by following examples, but embodiments of the invention not must can be implemented in any specific environment, application or mode described in following examples in order to limit the present invention.Therefore, the explanation of following examples is only to explain the present invention, but not in order to limit the present invention.In following examples and accompanying drawing, omitted and do not illustrated with the non-directly related element of the present invention, and be illustrated in dimension scale between each element in accompanying drawing only for ease of understanding, but not in order to be restricted to actual enforcement ratio.
The first embodiment of the present invention is to set forth a kind of USB control device.The explanation of relevant the present embodiment refers to Fig. 1 and Fig. 2, and wherein Fig. 1 is the structural representation of a kind of USB control device 1 provided by the invention, and the signal that Fig. 2 is the first embodiment of the present invention transmits schematic diagram.As shown in Figure 2, USB control device 1 is in order to link up with a usb host 3 and a memory storage 5.USB control device 1 can comprise USB transmission interface 11, an one pre-storage 13 and one and the controller 15 that couples of USB transmission interface 11 and pre-storage 13, and USB control device 1 can be coupled to usb host 3 by USB transmission interface 11.
The classification of memory storage 5 does not affect the scope that the present invention protects, for example, can be SD(Secure Digital), SDHC(Secure Digital High Capacity), CF(Compact Flash), MS (Memory Stick), MS PRO (Duo), M2(Memory Stick Micro) or known various classifications of the technical staff in the technical field of the invention.In addition, USB control device 1 can not be coupled to different classes of memory storage 5 by corresponding transmission interface (being illustrated in figure), for example, can be card reader interface, SATA(Serial Advanced Technology Attachment) interface or the known various transmission interfaces of the technical staff in the technical field of the invention.The classification of above-mentioned memory storage 5 with transmission interface corresponding in USB control device 1 only for exemplifying, but not in order to limit the present invention.
USB control device 1 itself has one first transmission speed, and memory storage 5 itself also has one second transmission speed, and with one the 3rd transmission speed, transmits between USB transmission interface 11 and usb host 3.USB control device can be arranged in chip, and this first transmission speed can be determined by deviser.In the present embodiment, can comprise but not limit is only following setting: this first transmission speed is greater than this second transmission speed, and this first transmission speed is identical with the 3rd transmission speed.
Standard according to BOT agreement to USB device, the USB control device 1 of the present embodiment, usb host 3 and memory storage 5 carry out data transmission according to the order of CBW package, transmission data, CSW package equally.As shown in Figure 2, when first data 24 that usb host 3 wishs are stored by USB control device 1 read storage device 5, usb host 3 will transmit one the one CBW package 20 to USB control device 1, and first data 24 of memory storage 5 being stored by CBW package 20 indication USB control device 1 are sent to usb host 3.
When USB control device 1 receives after a CBW package 20 from usb host 3 by USB control interface 11, controller 15 will be in a very first time interval 60, analyze and process a CBW package 20, and according to the indicated content of a CBW package 20, the first data 24 that memory storage 5 is stored are stored to pre-storage 13.Pre-storage 13 can be a static RAM (Static Random Access Memory, SRAM), but not in order to limit the present invention.
During very first time interval 60 is essentially USB transmission interface 11 and receives CBW package 20 to USB transmission interfaces 11 and start to transmit the first data 24.After the very first time interval 60 finishes, when the first data 24 have been ready to be transferred to usb host 3, controller 15 will be by USB transmission interface 11 transmission the first data 24 to usb host 3.In other embodiment, in very first time interval 60, the first data 24 that controller 15 can be stored by pre-storage 13 store storage devices 5, and after finishing in the very first time interval 60, first data 24 of directly memory storage 5 being stored, transfer to usb host 3 by USB transmission interface 11.
At USB control interface 11, transmit the first data 24 to usb host 3, the controller 15 of USB control device 1 will be in one second time interval 62, prepare and set up one the one CSW package 28, wherein a CSW package 28 can comprise transmission state and other transmission informations of the first data 24, mainly in order to reply usb host 3.Be different from traditional USB device, in the second time interval 62, the controller 15 of USB control device 1, the pre-deposit data 26 that more memory storage 5 can be stored is pre-stored to pre-storage 13, by pre-stored advantage, improves whole transmission performance.
During the second time interval 62 is essentially USB transmission interface 11 end transmission the first data 24 to USB transmission interfaces 11 transmission the one CSW packages 28.After the second time interval 62 finishes, when a CSW package 28 has been ready to be transferred into usb host 3, controller 15 will be by USB transmission interface 11 transmission the one CSW packages 28 to usb host 3.
After usb host 3 receives a CSW package 28, in one the 3rd time interval 64, usb host 3 is by analysis and process a CSW package 28, and prepare and set up one the 2nd CBW package 22, during wherein the 3rd time interval 64 is essentially usb host 3 and processes CSW packages 28 to usb host 3 and prepare the 2nd CBW packages 22.Be different from traditional USB device, in the second time interval 62 and the 3rd time interval 64, the controller 15 of USB control device 1, the pre-deposit data 26 that more memory storage 5 can be stored is pre-stored to pre-storage 13, by pre-stored advantage, improve whole transmission performance.
The start address of pre-deposit data 26 can be determined by various ways, for example, can adopt the mode of sequential addressing.In the present embodiment, the controller 15 of USB control device 1 can extract the end address of the first data 24 from a CBW package 20, and sets the start address that this end address is pre-deposit data 26.The start address of the first data 24 that the end address of the first data 24 can comprise in a CBW package 20 and data transmission length are added and draw.For example, the start address of supposing the first data 24 is 4, and data transmission length is 64, and the controller 15 of USB control device 1 is used as use 68 start address of pre-deposit data 26.The mode of said sequence addressing meets the addressing custom of file system, can have very high success rate prediction.
After the 3rd time interval 64 finishes, the 2nd CBW package 22 has been ready to be transferred into USB control device 1, and usb host 3 will transmit the 2nd CBW package 22 to USB control device 1.When USB control device 1 passes through USB control interface 11 after usb host 3 receives the 2nd CBW packages 22, the 2nd CBW package 22 be analyzed and be processed to controller 15 will, in next very first time interval 60.
Controller 15 can further judge whether the pre-stored pre-deposit data 26 of pre-storage 13 will be transferred to usb host 3.As aforementioned, the controller 15 of USB control device 1 can extract the end address of the first data 24 from a CBW package 20, and sets the start address that this end address is pre-deposit data 26.Now, if the start address coupling of indicated data transfer address and pre-deposit data 26 in the 2nd CBW package 22, controller 15 transfers to usb host 3 by USB transmission interface 11 by the pre-stored pre-deposit data 26 of pre-storage 13.
If data transmission start address indicated in the 2nd CBW package 22 is not mated with the start address of pre-deposit data 26, controller 15 can not transfer to usb host 3 by the pre-stored pre-deposit data 26 of pre-storage 13, and stop reading pre-deposit data 26 to pre-storage 13 in memory storage 5, and empty the pre-deposit data 26 prestoring in pre-storage 13, then get back to common transfer process (being the transfer process of BOT agreement institute standard).
Because the partial data of pre-deposit data 26 is in the second previous time interval 62 and in the 3rd time interval 64, pre-stored to pre-storage 13, therefore in next very first time interval 60 of this after USB control interface 11 is received the 2nd CBW package 22, storing pre-deposit data 26 to time of pre-storage is shortened effectively, and overall transfer speed is promoted.Be limited in the memory capacity of pre-storage 13 and the second time interval 62 and the time span of the 3rd time interval 64, pre-deposit data 26 may not can in the second time interval 62 and the 3rd time interval 64, just prestore to pre-storage 13 completely; And the data that do not prestored to pre-storage 13 will, in this next very first time interval 60, read in pre-storage 13 from memory storage 5 faithfully.
In the very first time interval 60 first, the pre-deposit data 26 that the controller 15 of USB control device 1 possibly cannot be stored memory storage 5 is pre-stored to pre-storage 13; But after each interval 60 very first time in, the second time interval 62 in and in the 3rd time interval 64, pre-deposit data 26(or other data that the controller 15 of USB control device 1 is all optionally stored memory storage 5) in pre-stored storage 13 extremely in advance.In other words, the controller 15 of USB control device 1, can be according to different performance judgements, it is at least one time interval wherein within the very first time interval 60, in the second time interval 62 and in the 3rd time interval 64, or in above-mentioned whole time interval, the pre-deposit data 26 that memory storage 5 is stored is pre-stored to pre-storage 13.
Selectively, the controller 15 of USB control device 1 can be after receiving a CBW package 20, and according to a CBW package 20, judging whether need to be pre-stored to pre-storage 13 by the pre-deposit data 26 of memory storage 5.For example, because of BOT protocol specification the maximum amount of data that at every turn reads from memory storage 5 of usb host 3 be a particular value, the 64KB of form (Windows) operating system institute standard for example, therefore controller 15 can extract a data transmission length of the first data 24 in a CBW package 20, and when this data transmission length is greater than 64KB, assert that the total amount of data of wanting to read from memory storage 5 is not or not first data 24, using the pre-storage 13 of judgement needs the pre-deposit data 26 of pre-stored memory storage 5 to pre-storage 13.
The second embodiment of the present invention is to set forth a kind of control method for a USB control device.The explanation of relevant the present embodiment refers to Fig. 3, and Fig. 3 is the process flow diagram of a kind of control method for a USB control device provided by the invention.USB control device described in the present embodiment can be the USB control device 1 of the first embodiment.Therefore, the USB control device described in the present embodiment can be in order to link up with a usb host and a memory storage, and can comprise the controller that a USB transmission interface, a pre-storage and are coupled to this USB transmission interface and this pre-storage.
As shown in Figure 3, in step S31, make this USB transmission interface, this usb host sequentially receives one the one CBW package and one the 2nd CBW package certainly.In step S32, make this controller, in this USB transmission interface, receive a CBW package to during receiving the 2nd CBW package, a pre-deposit data of pre-stored this memory storage is to this pre-storage.In step S33, make this controller, in this USB transmission interface, receive after the 2nd CBW package, this pre-deposit data that is stored in this pre-storage by this USB transmission interface transmission is to this usb host.
In other embodiment, above-mentioned control method also comprises the following step: in step S34, make this controller, according to a CBW package, one first data of transmitting this memory storage by this USB transmission interface are to this usb host; And in step S35, make this controller, certainly in a CBW package, extract a data transmission length of these the first data, and judge that according to this data transmission length this pre-storage needs this pre-deposit data of pre-stored this memory storage to this pre-storage.
In other embodiment, above-mentioned control method also comprises the following step: in step S36, make this controller, in this USB transmission interface, transmit these first data to this usb host, also by this USB transmission interface, transmit one the one CSW package to this usb host.
In other embodiment, step S32 also comprises step S321, make this controller, interval in a very first time, one second time interval and one the 3rd time interval at least one time interval wherein, this pre-deposit data of pre-stored this memory storage is to this pre-storage, during wherein this very first time interval starts to transmit these first data for this USB transmission interface receives a CBW package to this USB transmission interface, during this second time interval transmits a CSW package for this USB transmission interface finishes to transmit these first data to this USB transmission interface, the 3rd time interval is for during this usb host processes a CSW package to this usb host and prepare the 2nd CBW package.
In other embodiment, step S32 also comprises step S322, make this controller, interval in a very first time, one second time interval and one the 3rd time interval, this pre-deposit data of all pre-stored this memory storage is to this pre-storage, during wherein this very first time interval starts to transmit these first data for this USB transmission interface receives a CBW package to this USB transmission interface, during this second time interval transmits a CSW package for this USB transmission interface finishes to transmit these first data to this USB transmission interface, the 3rd time interval is for during this usb host processes a CSW package to this usb host and prepare the 2nd CBW package.
In other embodiment, above-mentioned control method also comprises the following step: in step S37, make this controller, a CBW package extracts an end address of these the first data certainly, and sets the start address that this end address is this pre-deposit data; And in step S38, make this controller, after judging that a data transfer address of the 2nd CBW package and this start address of this pre-deposit data are mated, this pre-deposit data that transmits this pre-storage by this USB transmission interface is to this usb host.
The number order of above steps is not in order to limit the implementation step of control method of the present invention, and the order of the implementation step of control method of the present invention corresponds in fact the content described in the first embodiment.Except above-mentioned steps, the control method of the present embodiment also can be carried out the described all operations of the first embodiment and possess corresponding all functions, and the control method that person of ordinary skill in the field can the be directly acquainted with the present embodiment how disclosure based on the first embodiment is carried out these operations and possesses these functions, in this, repeats no more.
In sum, USB control device provided by the invention and control method thereof, during USB transmission interface reception the one CBW package to the two CBW packages, in advance the pre-deposit data that is stored in memory storage is stored to pre-storage, and directly the pre-deposit data of pre-storage is sent to usb host after receiving the 2nd CBW package.Therefore, USB control device provided by the invention and control method thereof, even in CBW stage and CSW stage, sustainable transmission data that read still, the standard because of BOT agreement does not stop processing transmission data, therefore can significantly promote the transmission speed of the USB device under BOT agreement, and not be limited to the framework of USB device and usb host itself.
The content that above-described embodiment is set forth is only implemented aspect in order to exemplify part of the present invention, and explains technical characterictic of the present invention, not in order to limit essence protection category of the present invention.Therefore, any the art person of being familiar with can unlabored change or the arrangement of identity property all belong to the scope that the present invention advocates, and the scope of the present invention is as the criterion with claim.

Claims (16)

1. a USB control device, in order to link up with a usb host and a memory storage, this USB control device comprises:
One USB transmission interface, sequentially receives one the one CBW package and one the 2nd CBW package in order to this usb host certainly;
One pre-storage; And
One controller, is coupled to this USB transmission interface and this pre-storage, in order to carry out following operation:
In this USB transmission interface, receive a CBW package to during receiving the 2nd CBW package, a pre-deposit data of pre-stored this memory storage is to this pre-storage; And
In this USB transmission interface, receive after the 2nd CBW package, by this USB transmission interface, this pre-deposit data that transmission is stored in this pre-storage is to this usb host.
2. USB control device as claimed in claim 1, wherein this controller is more carried out following operation:
According to a CBW package, one first data of transmitting this memory storage by this USB transmission interface are to this usb host; And
From a CBW package, extract a data transmission length of these the first data, and judge that according to this data transmission length this pre-storage needs this pre-deposit data of pre-stored this memory storage to this pre-storage.
3. USB control device as claimed in claim 2, wherein this controller transmits these first data to this usb host in this USB transmission interface, also by this USB transmission interface transmission one the one CSW package to this usb host.
4. USB control device as claimed in claim 3, wherein this controller is interval in a very first time, one second time interval and one the 3rd time interval at least one time interval wherein, this pre-deposit data of pre-stored this memory storage is to this pre-storage, during this very first time interval starts to transmit these first data for this USB transmission interface receives a CBW package to this USB transmission interface, during this second time interval transmits a CSW package for this USB transmission interface finishes to transmit these first data to this USB transmission interface, the 3rd time interval is for during this usb host processes a CSW package to this usb host and prepare the 2nd CBW package.
5. USB control device as claimed in claim 3, wherein this controller is interval in a very first time, one second time interval and one the 3rd time interval, this pre-deposit data of all pre-stored this memory storage is to this pre-storage, during this very first time interval starts to transmit these first data for this USB transmission interface receives a CBW package to this USB transmission interface, during this second time interval transmits a CSW package for this USB transmission interface finishes to transmit these first data to this USB transmission interface, the 3rd time interval is for during this usb host processes a CSW package to this usb host and prepare the 2nd CBW package.
6. USB control device as claimed in claim 2, wherein this controller also extracts an end address of these the first data from a CBW package, and set this end address for a start address of this pre-deposit data, and after this controller judges that the data transfer address in the 2nd CBW package mates with this start address of this pre-deposit data, this pre-deposit data that is stored in this pre-storage by this USB transmission interface transmission is to this usb host.
7. USB control device as claimed in claim 1, wherein this USB control device has one first transmission speed, and this memory storage has one second transmission speed, and this first transmission speed is greater than this second transmission speed.
8. USB control device as claimed in claim 7, wherein transmits with one the 3rd transmission speed between this USB transmission interface and this usb host, and this first transmission speed is identical with the 3rd transmission speed.
9. a control method, for a USB control device, this USB control device is in order to link up with a usb host and a memory storage, this USB control device comprises the controller that a USB transmission interface, a pre-storage and are coupled to this USB transmission interface and this pre-storage, and this control method comprises the following step:
Make this USB transmission interface, this usb host sequentially receives one the one CBW package and one the 2nd CBW package certainly;
Make this controller, in this USB transmission interface, receive a CBW package to during receiving the 2nd CBW package, a pre-deposit data of pre-stored this memory storage is to this pre-storage; And
Make this controller, in this USB transmission interface, receive after the 2nd CBW package, by this USB transmission interface, this pre-deposit data that transmission is stored in this pre-storage is to this usb host.
10. control method as claimed in claim 9, also comprises the following step:
Make this controller, according to a CBW package, one first data of transmitting this memory storage by this USB transmission interface are to this usb host; And
Make this controller, certainly in a CBW package, extract a data transmission length of these the first data, and judge that according to this data transmission length this pre-storage needs this pre-deposit data of pre-stored this memory storage to this pre-storage.
11. control methods as claimed in claim 10, also comprise the following step:
Make this controller, in this USB transmission interface, transmit these first data to this usb host, also by this USB transmission interface, transmit one the one CSW package to this usb host.
12. control methods as claimed in claim 11, wherein in this pre-deposit data of pre-stored this memory storage to the step of this pre-storage, also comprise the following step:
Make this controller, interval in a very first time, one second time interval and one the 3rd time interval at least one time interval wherein, this pre-deposit data of pre-stored this memory storage is to this pre-storage, during wherein this very first time interval starts to transmit these first data for this USB transmission interface receives a CBW package to this USB transmission interface, during this second time interval transmits a CSW package for this USB transmission interface finishes to transmit these first data to this USB transmission interface, the 3rd time interval is for during this usb host processes a CSW package to this usb host and prepare the 2nd CBW package.
13. control methods as claimed in claim 11, wherein in this pre-deposit data of pre-stored this memory storage to the step of this pre-storage, also comprise the following step:
Make this controller, interval in a very first time, one second time interval and one the 3rd time interval, this pre-deposit data of all pre-stored this memory storage is to this pre-storage, during wherein this very first time interval starts to transmit these first data for this USB transmission interface receives a CBW package to this USB transmission interface, during this second time interval transmits a CSW package for this USB transmission interface finishes to transmit these first data to this USB transmission interface, the 3rd time interval is for during this usb host processes a CSW package to this usb host and prepare the 2nd CBW package.
14. control methods as claimed in claim 10, also comprise the following step:
Make this controller, a CBW package extracts an end address of these the first data certainly, and sets the start address that this end address is this pre-deposit data; And
Make this controller, after judging that a data transfer address of the 2nd CBW package and this start address of this pre-deposit data are mated, this pre-deposit data that transmits this pre-storage by this USB transmission interface is to this usb host.
15. control methods as claimed in claim 9, wherein this USB control device has one first transmission speed, and this memory storage has one second transmission speed, and this first transmission speed is greater than this second transmission speed.
16. control methods as claimed in claim 15, wherein transmit with one the 3rd transmission speed between this USB transmission interface and this usb host, and this first transmission speed is identical with the 3rd transmission speed.
CN201210306193.4A 2012-08-23 2012-08-23 Usb control device and control method thereof Pending CN103631741A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210306193.4A CN103631741A (en) 2012-08-23 2012-08-23 Usb control device and control method thereof
TW101143009A TW201409242A (en) 2012-08-23 2012-11-19 USB control apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210306193.4A CN103631741A (en) 2012-08-23 2012-08-23 Usb control device and control method thereof

Publications (1)

Publication Number Publication Date
CN103631741A true CN103631741A (en) 2014-03-12

Family

ID=50212822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210306193.4A Pending CN103631741A (en) 2012-08-23 2012-08-23 Usb control device and control method thereof

Country Status (2)

Country Link
CN (1) CN103631741A (en)
TW (1) TW201409242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407151A (en) * 2016-09-05 2017-02-15 华为技术有限公司 Information processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303685A (en) * 2007-05-09 2008-11-12 瑞昱半导体股份有限公司 Method for improving read-write data speed of all-purpose sequence bus storage equipment
US20080282016A1 (en) * 2007-05-10 2008-11-13 Liao Chun-Ting Method for expediting data access of universal serial bus stoarage device
CN101963947A (en) * 2010-09-30 2011-02-02 威盛电子股份有限公司 Universal serial bus transmission transaction translator and transmission method in large amount
US20110125481A1 (en) * 2009-11-20 2011-05-26 Chih Ching Chien Apparatus and method for simulating function of multimedia device
CN102567234A (en) * 2011-12-26 2012-07-11 北京握奇数据***有限公司 Method for performing data processing through USB interface device and USB interface device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303685A (en) * 2007-05-09 2008-11-12 瑞昱半导体股份有限公司 Method for improving read-write data speed of all-purpose sequence bus storage equipment
US20080282016A1 (en) * 2007-05-10 2008-11-13 Liao Chun-Ting Method for expediting data access of universal serial bus stoarage device
US20110125481A1 (en) * 2009-11-20 2011-05-26 Chih Ching Chien Apparatus and method for simulating function of multimedia device
CN101963947A (en) * 2010-09-30 2011-02-02 威盛电子股份有限公司 Universal serial bus transmission transaction translator and transmission method in large amount
TW201214133A (en) * 2010-09-30 2012-04-01 Via Tech Inc USB transaction translator and a bulk transaction method
CN102567234A (en) * 2011-12-26 2012-07-11 北京握奇数据***有限公司 Method for performing data processing through USB interface device and USB interface device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407151A (en) * 2016-09-05 2017-02-15 华为技术有限公司 Information processing method and device
WO2018040622A1 (en) * 2016-09-05 2018-03-08 华为技术有限公司 Method and apparatus for information processing

Also Published As

Publication number Publication date
TW201409242A (en) 2014-03-01

Similar Documents

Publication Publication Date Title
CN106775434B (en) A kind of implementation method, terminal, server and the system of NVMe networking storage
US8595392B2 (en) USB device controller and power control method thereof
CN102841870B (en) General direct memory access (DMA) structure based on high-speed serial bus and pre-read method
US8190206B2 (en) Dual channel smart card data storage
CN102841871B (en) Pipeline read-write method of direct memory access (DMA) structure based on high-speed serial bus
CN103530268A (en) Universal serial bus transaction translator and micro-frame synchronization method
CN106951388A (en) A kind of DMA data transfer method and system based on PCIe
CN103218337B (en) Based on wishbone bus realize main and master and slave with from the SOC (system on a chip) communicated and method
CN102244579A (en) Network interface card and method for receiving network data
CN104320317B (en) A kind of transfer approach and device of ethernet physical layer chip status
CN111931442B (en) FPGA embedded FLASH controller and electronic device
CN101266584A (en) Universal serial bus host controller and its control method
US20090327533A1 (en) Concatenating Secure Digital Input Output (SDIO) Interface
CN106294225A (en) A kind of method for reading data, opposite equip. and controller
US20110276730A1 (en) Packet based data transfer system and method for host-slave interface
CN107710179B (en) Multiple access single SDIO interface with multiple SDIO units
CN101877666A (en) Method and device for receiving multi-application program message based on zero copy mode
CN101963947A (en) Universal serial bus transmission transaction translator and transmission method in large amount
CN105786736A (en) Method, chip and device for multi-chip cascading
CN116225992A (en) NVMe verification platform and method supporting virtualized simulation equipment
CN101937413A (en) Communication method of I2C bus
CN113852533B (en) Multi-channel data communication system and method and electronic equipment
US7610415B2 (en) System and method for processing data streams
US20150074293A1 (en) Information processing system, storage device and controlling method of storage device
CN103631741A (en) Usb control device and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140312