CN106095714A - The storage device of USB data transmission and electronic equipment - Google Patents
The storage device of USB data transmission and electronic equipment Download PDFInfo
- Publication number
- CN106095714A CN106095714A CN201610407474.7A CN201610407474A CN106095714A CN 106095714 A CN106095714 A CN 106095714A CN 201610407474 A CN201610407474 A CN 201610407474A CN 106095714 A CN106095714 A CN 106095714A
- Authority
- CN
- China
- Prior art keywords
- memory element
- data
- higher level
- data transmission
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4295—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using an embedded synchronisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/18—Handling requests for interconnection or transfer for access to memory bus based on priority control
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The present invention is provided to storage device and the electronic equipment of USB data transmission, the described storage device for USB data transmission includes at least one higher level's memory element and connects multiple subordinates memory element of described higher level's memory element;Described higher level's memory element, for depositing the data of all transport-types;The plurality of subordinate memory element includes: at least one synchrodata memory element and multiple non-synchronous data memory element;Described synchrodata memory element, for depositing the data of the synchronous transfer type from described higher level's memory element;Described non-synchronous data memory element, for depositing the data of the non-synchronous transmissions type from described higher level's memory element, the data making synchronous transfer type can individually store to realize the purpose to its high efficiency of transmission, and use multi-level memory cell framework to compare one-level memory cell architecture and decrease resource consumption, well solve problem of the prior art.
Description
Technical field
The present invention relates to USB technical field, particularly relate to the storage device for USB data transmission and electronic equipment.
Background technology
USB (Universal Serial Bus USB (universal serial bus)) the nearly more than ten years have become as the interconnection of most popular high speed
Technology, this technology makes original complicated and diversified computer external interface become standard, unified, plug and play.
When different equipment uses USB interface when, according to the characteristic of equipment self, its requirement transmitting data is also
It is different.Usb protocol (such as USB2.0, USB3.0 and USB3.1 etc.) four kinds of data transmission of support:
1) transmission (Control Transfers) is controlled: control transmission by controlling pipeline at application software and Device
Control end points between carry out, controlling the data of transmission in transmitting procedure has form to define, and USB device or main frame can bases
Form definition resolves the data implication obtained.
2) bulk transfer (Bulk Transfers): bulk transfer is a kind of one-way transmission reliably, but postpones not protect
Card, it utilizes utilizable bandwidth to complete transmission, the transmission that applicable data volume is bigger as far as possible.
3) interrupt transmission (Interrupt Transfers): interrupt the transmission means that transmission is a kind of poll, be a kind of single
To transmission, HOST is inquired about by fixing interval centering broken ends of fractured bone point, if there being data transmission maybe can receive data, returns
Return data or send data.
4) synchronous transfer (Isochronous Transfers): synchronous transfer is a kind of real-time, insecure transmission,
Do not support mistake retransmission mechanism.
Above-mentioned every kind of transport-type, due to the difference of transmission means, may correspond to different application scenarios, such as, commonly uses
Mouse-keyboard, it belongs to interruption transmission, needs computer to be spaced at a fixed time and carry out data transmission with it.This transmission number
Relatively small but of a relatively high to time requirement according to amount.
Further, in these four data transmission, synchronous transfer (Isochronous Transfers) is to the time, real
Time property requires the highest (photographic head that such as we are frequently used), next to that interrupt transmission (such as mouse-keyboard), is finally to criticize
Amount transmission and control transmission;Therefore, when accessing various different equipment under computer USB port, how to ensure the time, real
Time property requires high high priority data transmission and will not is that our USB design needs to solve by the transmission blocking of other types data
One big problem;For newer USB3.1 standard agreement, its data demand can carry out real-time Transmission, during to transmission
Between require the highest.
In order to realize this purpose, in order to ensure that synchronous transfer (Isochronous transfers) can be the most real-time
Transmitting and do not hindered by the transmission of other types data, simplest method for designing is exactly for each data transmission channel (PIPE)
Prepare a set of independent data storage to store data, give synchronous transfer passage limit priority simultaneously, so reach each
Data channel individual transmission;Concrete, a USB3.1 port at most can connect 254 electronic equipments, and each electronic equipment is
There are 31 data transmission channels, then a port of USB3.1 needs at most to support the individual different numbers of 7874 (254*31) simultaneously more
Transmitting according to the data of type, such structure design can consume very many resources.
Summary of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide the storage for USB data transmission
Device and electronic equipment, for reaching to ensure the purpose of USB synchronous transfer real-time in the case of consuming less resource.
For achieving the above object and other relevant purposes, the present invention provides a kind of storage device for USB data transmission,
Including: at least one higher level's memory element and multiple subordinates memory element of connecting described higher level's memory element;Described higher level stores
Unit, for depositing the data of all transport-types;The plurality of subordinate memory element includes: at least one synchrodata storage is single
First and multiple non-synchronous data memory element;Described synchrodata memory element, is used for depositing from described higher level's memory element
The data of synchronous transfer type;Described non-synchronous data memory element, non-for deposit from described higher level's memory element
The data of synchronous transfer type.
In one embodiment of the invention, the priority that described synchrodata Src StUnit carries out data transmission is higher than non-
Synchrodata memory element.
In one embodiment of the invention, the standard agreement that described USB data transmission is followed include USB2.0, USB3.0 or
USB3.1。
In one embodiment of the invention, described non-synchronous transmissions type includes: control transport-type, bulk transfer type
And interruption transport-type.
In one embodiment of the invention, described higher level's memory element and subordinate's memory element are real by FIFO memory
Existing.
In one embodiment of the invention, described higher level's memory element and subordinate's memory element are by place electronic equipment
Internal memory realizes.
For achieving the above object and other relevant purposes, the present invention provides a kind of electronic equipment, including described for USB
The storage device of data transmission.
In one embodiment of the invention, described electronic equipment is usb host equipment, comprising: connect described memorizer
Usb host controller.
In one embodiment of the invention, USB-OTG function supported by described electronic equipment.
In sum, the present invention is provided to storage device and the electronic equipment of USB data transmission, described for USB number
Include at least one higher level's memory element according to the storage device of transmission and connect multiple subordinates storage list of described higher level's memory element
Unit;Described higher level's memory element, for depositing the data of all transport-types;The plurality of subordinate memory element includes: at least
One synchrodata memory element and multiple non-synchronous data memory element;Described synchrodata memory element, be used for depositing from
The data of the synchronous transfer type of described higher level's memory element;Described non-synchronous data memory element, is used for depositing from described
The data of the non-synchronous transmissions type of higher level's memory element so that the data of synchronous transfer type can individually store to realize it
The purpose of high efficiency of transmission, and use multi-level memory cell framework to compare one-level memory cell architecture to decrease resource consumption, good
Solve problem of the prior art well.
Accompanying drawing explanation
Fig. 1 is shown as the functional module signal of the present invention storage device for USB data transmission in an embodiment
Figure.
Fig. 2 to Fig. 3 is shown as present invention functional module of the electronic equipment of application memory device in multiple embodiments and shows
It is intended to.
Element numbers explanation
100 storage devices
101 higher level's memory element
102 non-synchronous data memory element
103 synchrodata memory element
200 main process equipments
201 from equipment
202 storage devices
300 main process equipments
301 USB interconnecting devicies
302 from equipment
303 storage devices
Detailed description of the invention
Below by way of specific instantiation, embodiments of the present invention being described, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also be by the most different concrete realities
The mode of executing is carried out or applies, the every details in this specification can also based on different viewpoints and application, without departing from
Various modification or change is carried out under the spirit of the present invention.It should be noted that, in the case of not conflicting, following example and enforcement
Feature in example can be mutually combined.
It should be noted that the diagram provided in following example illustrates the basic structure of the present invention the most in a schematic way
Think, the most graphic in component count, shape and size time only display with relevant assembly in the present invention rather than is implemented according to reality
Drawing, during its actual enforcement, the kenel of each assembly, quantity and ratio can be a kind of random change, and its assembly layout kenel is also
It is likely more complexity.
Technical scheme, be applied to USB (universal serial bus) (USB) data transmission technical field, usb protocol (as
USB2.0, USB3.0 and USB3.1 etc.) four kinds of data transmission (or less than four kinds) of support: 1) control transmission (Control
Transfers): control transmission and carry out between the control end points of application software and Device by controlling pipeline, transmission is controlled
During the data of transmission have form define, USB device or main frame can resolve the data implication of acquisition according to form definition;
2) bulk transfer (Bulk Transfers): bulk transfer is a kind of one-way transmission reliably, but postpones there is no guarantee that, it is as far as possible
Utilizable bandwidth is utilized to complete transmission, the transmission that applicable data volume is bigger;3) transmission (Interrupt is interrupted
Transfers): interrupting the transmission means that transmission is a kind of poll, be a kind of unidirectional transmission, HOST is right by fixing interval
Interrupt endpoint is inquired about, if there being data transmission maybe can receive data, returning data or sending data;4) synchronous transfer
(Isochronous Transfers): synchronous transfer is a kind of real-time, insecure transmission, does not support mistake retransmission mechanism.
To this end, present invention firstly provides the storage device for USB data transmission, it is to ensure described synchronous transfer effect
Also can reduce design resource consumption in the case of rate, reduce cost.
As it is shown in figure 1, the described storage device 100 for USB data transmission, including: at least one higher level's memory element
101 and multiple subordinates memory element;Described higher level's memory element 101 and subordinate's memory element can be by a memorizer
In different storage zone realize, it is also possible to being realized by different memorizer, described memorizer is preferably FIFO
(FIFO) memorizer, it is also possible to be the memorizer of other form, such as random access memory ram etc..
Described higher level's memory element 101, is shown as one in the present embodiment, but it also can be multiple rather than to be illustrated as
Limit;It is for storing the data of all transport-types, the most described control transport-type, bulk transfer type, interruption transport-type
And the various data of synchronous transfer type.
And each described subordinate memory element, with described higher level's memory element 101 many-one be connected, comprising: extremely
A few synchrodata memory element 103 and multiple non-synchronous data memory element 102.
Described synchrodata memory element 103, for depositing the synchronous transfer type from described higher level's memory element 101
Data.In the present embodiment, its can only one of which, be equivalent to prepare a set of by aforementioned for each data transmission channel (PIPE)
The data storage corresponding to synchronous data transmission passage being previously mentioned in the scheme of independent data storage is integrated, when
So, its quantity also can be changed according to the actual requirements, not so limited.
Described non-synchronous data memory element 102, for depositing the non-synchronous transmissions from described higher level's memory element 101
The data of type, described non-synchronous transmissions type the most such as controls transport-type, bulk transfer type and interrupts transport-type;Its
In, the quantity of described non-synchronous data memory element 102 can with aforementioned for each data transmission channel (PIPE) prepare a set of solely
The quantity for each transmission channel of non-synchronous data transmission being previously mentioned in the scheme of vertical data storage is identical and one by one
Correspondence, certainly, this is one of preferred embodiment, and its data can be changed according to real resource and being actually needed, the most non-with
The present embodiment is limited.
View of the foregoing, it will be seen that it is real by the structure of above-mentioned synchrodata memory element 103 and non-synchronous data memory element 102
Show the purpose saving resource.
Preferably, the priority that described synchrodata memory element 103 carries out data transmission stores higher than non-synchronous data
Unit 102, say, that the data in synchrodata memory element 103 can send with the fastest speed, and not by non-same
Step transmission data influence, thus reach the requirement of real-time Transmission, it is ensured that the efficiency of USB synchronous transfer;Sent there is a need to
The data gone out firstly there are in higher level's memory element.
As shown in Figures 2 and 3, show the described storage device 202, the 303 different embodiments at the electronic equipment applied,
Described electronic equipment can possess USB interface.
It is directly connected to from setting as in figure 2 it is shown, described electronic equipment can be main process equipment 200 (USB Host Device)
Standby (Slave Device);For example, described main process equipment 200 is PC, described from equipment 201 then can for example, USB shooting
First-class have usb host controller from equipment, main process equipment 200, and it can control main process equipment 200 with described from equipment 201
Between USB data transmission, from equipment 201 have multiple by data transmission pipe (PIPE) connect main process equipment 200 end points
(Endpoint), described end points correspondence transport-type difference also has difference, such as, the end points of corresponding control transmission, corresponding batch
The end points transmitted, the corresponding end points interrupting transmission and the end points of corresponding synchronous transfer, i.e. may be notified that master from equipment 201 during enumerating
The information of the supported transport-type of those end points of machine equipment 200;When carrying out data transmission, corresponding described USB is from equipment 202
The end points of multiple different pieces of information transport-types, main process equipment 200 can be preferential according to the time requirement of synchronous transfer type of endpoint
Data in the synchrodata memory element of transmission storage device 202, then transmit non-by the requirement of non-synchronous transmissions type of endpoint
Data in synchrodata memory element.
Concrete, the data that be there is a need to send can be firstly there are the higher level of storage device 202 by main process equipment 200
In memory element, if higher level's memory element has data, can be taken off and judge whether data are intended to be sent to synchronous transfer end
(i.e. these data need synchronous transfer to point, and this can determine whether that the terminal point information that packet contains understands, such as by read data packet middle-end
The information in some territory can be known), if it is, place data into the synchrodata memory element of subordinate, otherwise it is put into subordinate
Non-synchronous data memory element.
In an embodiment, described electronic equipment also can have OTG (On-The-Go) function, can be from equipment or main frame
Switch between equipment identities.
Again as it is shown on figure 3, described electronic equipment is the main process equipment 300 with described storage device 303, implement with Fig. 2
The Main Differences of example is, main process equipment 300 connects multiple stage from equipment 302 by USB interconnecting device 301, and described USB transfers
Equipment 301 for example, usb hub (Hub) or USB adapter, line etc.;In the present embodiment, each end points is distributed in each from setting
Standby 302, main process equipment 300 can be according in the time requirement prioritised transmission synchrodata memory element of synchronous transfer type of endpoint
Data, then transmit the data in non-synchronous data memory element by the requirement of non-synchronous transmissions type of endpoint.
In sum, the present invention is provided to storage device and the electronic equipment of USB data transmission, described for USB number
Include at least one higher level's memory element according to the storage device of transmission and connect multiple subordinates storage list of described higher level's memory element
Unit;Described higher level's memory element, for depositing the data of all transport-types;The plurality of subordinate memory element includes: at least
One synchrodata memory element and multiple non-synchronous data memory element;Described synchrodata memory element, be used for depositing from
The data of the synchronous transfer type of described higher level's memory element;Described non-synchronous data memory element, is used for depositing from described
The data of the non-synchronous transmissions type of higher level's memory element so that the data of synchronous transfer type can individually store to realize it
The purpose of high efficiency of transmission, and use multi-level memory cell framework to compare one-level memory cell architecture to decrease resource consumption, good
Solve problem of the prior art well.
The principle of above-described embodiment only illustrative present invention and effect thereof, not for limiting the present invention.Any ripe
Above-described embodiment all can be modified under the spirit and the scope of the present invention or change by the personage knowing this technology.Cause
This, have usually intellectual such as complete with institute under technological thought without departing from disclosed spirit in art
All equivalences become are modified or change, and must be contained by the claim of the present invention.
Claims (9)
1. the storage device for USB data transmission, it is characterised in that including:
At least one higher level's memory element and connect multiple subordinates memory element of described higher level's memory element;
Described higher level's memory element, for depositing the data of all transport-types;
The plurality of subordinate memory element includes: at least one synchrodata memory element and multiple non-synchronous data memory element;
Described synchrodata memory element, for depositing the data of the synchronous transfer type from described higher level's memory element;Described non-
Synchrodata memory element, for depositing the data of the non-synchronous transmissions type from described higher level's memory element.
Storage device for USB data transmission the most according to claim 1, it is characterised in that described synchrodata source
The priority that memory element carries out data transmission is higher than non-synchronous data memory element.
Storage device for USB data transmission the most according to claim 1, it is characterised in that described USB data transmission
The standard agreement followed includes USB2.0, USB3.0 or USB3.1.
Storage device for USB data transmission the most according to claim 1, it is characterised in that described non-synchronous transmissions
Type includes: controls transport-type, bulk transfer type and interrupts transport-type.
Storage device for USB data transmission the most according to claim 1, it is characterised in that described higher level stores list
Unit and subordinate's memory element are realized by FIFO memory.
Storage device for USB data transmission the most according to claim 1, it is characterised in that described higher level stores list
Unit and subordinate's memory element are realized by the internal memory of its place electronic equipment.
7. an electronic equipment, it is characterised in that include as according to any one of claim 1 to 6 for USB data transmission
Storage device.
Electronic equipment the most according to claim 7, it is characterised in that described electronic equipment is usb host equipment, its bag
Include: connect the usb host controller of described memorizer.
Electronic equipment the most according to claim 7, it is characterised in that USB-OTG function supported by described electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610407474.7A CN106095714A (en) | 2016-06-08 | 2016-06-08 | The storage device of USB data transmission and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610407474.7A CN106095714A (en) | 2016-06-08 | 2016-06-08 | The storage device of USB data transmission and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106095714A true CN106095714A (en) | 2016-11-09 |
Family
ID=57228661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610407474.7A Pending CN106095714A (en) | 2016-06-08 | 2016-06-08 | The storage device of USB data transmission and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095714A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090601A (en) * | 2019-12-07 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Multifunctional USB control method, system, terminal and storage medium based on BMC chip |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1102171A2 (en) * | 1999-11-22 | 2001-05-23 | Texas Instruments Incorporated | Universal serial bus network peripheral device |
CN1988701A (en) * | 2006-11-05 | 2007-06-27 | 青岛海信移动通信技术股份有限公司 | Multifunctional mobile phone based on general USB chip and its realizing method |
US20110047303A1 (en) * | 2009-08-20 | 2011-02-24 | Renesas Electronics Corporation | Data transfer control device and data transfer control method |
-
2016
- 2016-06-08 CN CN201610407474.7A patent/CN106095714A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1102171A2 (en) * | 1999-11-22 | 2001-05-23 | Texas Instruments Incorporated | Universal serial bus network peripheral device |
CN1988701A (en) * | 2006-11-05 | 2007-06-27 | 青岛海信移动通信技术股份有限公司 | Multifunctional mobile phone based on general USB chip and its realizing method |
US20110047303A1 (en) * | 2009-08-20 | 2011-02-24 | Renesas Electronics Corporation | Data transfer control device and data transfer control method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090601A (en) * | 2019-12-07 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Multifunctional USB control method, system, terminal and storage medium based on BMC chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9952986B2 (en) | Power delivery and data transmission using PCIe protocol via USB type-C port | |
EP2862290B1 (en) | Multiple protocol tunneling using time division operations | |
US8407367B2 (en) | Unified connector architecture | |
US7249209B2 (en) | System and method for dynamically allocating inter integrated circuits addresses to multiple slaves | |
US10261930B2 (en) | System, device and method for transmitting signals between different communication interfaces | |
US20070180181A1 (en) | USB interface provided with host/device function and its control method | |
US9043528B2 (en) | Bridge between a peripheral component interconnect express interface and a universal serial bus 3.0 device | |
CN104156333A (en) | FPGA-based UART multi-interface extension system and method | |
US20140119463A1 (en) | Scalable Multifunction Serial Link Interface | |
EP1625506B1 (en) | Usb host controller with memory for transfer descriptors | |
US10002090B2 (en) | Method for improving the performance of synchronous serial interfaces | |
CN106095714A (en) | The storage device of USB data transmission and electronic equipment | |
EP1759297B1 (en) | Interrupt scheme for bus controller | |
CN100462952C (en) | Interface configurable universal series bus controller | |
CN105468098A (en) | Mainboard of industrial personal computer | |
KR20060010383A (en) | Controll system have main controller and peripheral controller, metnod for bus connection | |
US20070143519A1 (en) | Bus controller for transferring data | |
CN116048893B (en) | Method for testing optical fiber bus interface and related equipment | |
KR100778476B1 (en) | Communication interface converting apparatus and method thereof | |
KR100460994B1 (en) | High-bandwidth I/O device with direct memory access and method thereof | |
TW202320526A (en) | Power-conscious input/output (i/o) buffer allocation | |
CN103262059B (en) | Realize the equipment and the component using the equipment of multiple connections of computer unit | |
KR20230016816A (en) | Interface method for transmitting and receiving data between functional blocks in system-on-chip and system-on-chip using the same | |
CN105140746A (en) | Slot expansion device | |
CN115270669A (en) | Bus design generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |