CN107341125A - Data transmission method and system and usb controller - Google Patents

Data transmission method and system and usb controller Download PDF

Info

Publication number
CN107341125A
CN107341125A CN201710577645.5A CN201710577645A CN107341125A CN 107341125 A CN107341125 A CN 107341125A CN 201710577645 A CN201710577645 A CN 201710577645A CN 107341125 A CN107341125 A CN 107341125A
Authority
CN
China
Prior art keywords
transmission
usb
data
packet
packets
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
CN201710577645.5A
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.)
Shenzhen City Hua Hu Technology Co Ltd
Original Assignee
Shenzhen City Hua Hu Technology 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 Shenzhen City Hua Hu Technology Co Ltd filed Critical Shenzhen City Hua Hu Technology Co Ltd
Priority to CN201710577645.5A priority Critical patent/CN107341125A/en
Publication of CN107341125A publication Critical patent/CN107341125A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The embodiment of the invention discloses a kind of data transmission method and system and USB controller.Present invention method includes:Data to be transmitted is divided at least two packets;By on the queues packets to each USB transmission mouth, each USB transmission mouth corresponds to a usb data plate;The packet is passed through into the corresponding USB transmission port transmission to each usb data plate;After the packet end of transmission on each usb data plate, the packet is reassembled as target data.

Description

Data transmission method and system and USB controller
Technical field
The present embodiments relate to the communications field, more particularly to data transmission method and system and USB controller.
Background technology
With the development of science and technology, data transmission bauds problem is increasingly paid attention to, and industry has risen many novel high speeds Transmission means, such as bluetooth, USB3.0, gigabit ethernet and optical fiber, but the problem of due to time and technology, now main flow Computer architecture interface or data transmission interface USB2.0.
Because data transmission interface USB2.0 has limited transmission speed, single face transmission can only achieve its transmission speed pole Limit.
But this is not met by the demand of people and enterprise development, and emerging transmission means is not yet popularized, so urgently Need a kind of method that existing mainstream technology can be utilized to improve transmission speed.
The content of the invention
The embodiments of the invention provide a kind of data transmission method and system and USB controller, it is possible to increase usb data Transmission rate.
The embodiments of the invention provide a kind of data transmission method, specifically include:
Data to be transmitted is first divided at least two packets, then by some queues packets to each USB transmission On mouth, each corresponding usb data plate of the USB transmission mouth;Then the packet is passed through into the corresponding USB transmission Port transmission is to each usb data plate, after the packet end of transmission on each usb data plate, by the data Package-restructuring is target data.
Alternatively, when some queues packets to each USB transmission mouth, the first transmission channel is opened, starts to transmit data Wrap, packet transmission situation in now USB controller detection first passage:If non-end of transmission, opening the second transmission channel, With the remaining packet of first passage simultaneous transmission.
Alternatively, when some queues packets to each USB transmission mouth, open the first transmission channel and the second transmission is logical Road, the first transmission channel and the second transmission channel carry out packet transmission simultaneously.
The embodiment of the present invention additionally provides a kind of multichannel USB board data transmission system, including:
USB controller and splitter wherein USB controller include:
Split cells, arrangement units, transmission unit and recomposition unit;
Split cells, arrangement units, detection unit and recomposition unit
It is at least two packets that split cells, which is used to split data to be transmitted,;
Arrangement units are used to arrange some packets to each USB transmission mouth;
Transmission unit is used to packet passing through corresponding USB transmission port transmission to each usb data plate;
Recomposition unit is used for after the packet end of transmission on each usb data plate is confirmed, by some numbers of end of transmission It is target data according to package-restructuring.
Alternatively, the splitter You Liangge branches in multichannel USB board data transmission system.
The embodiment of the present invention additionally provides a kind of USB controller, specifically includes:
Split cells, arrangement units, detection unit and recomposition unit
It is at least two packets that split cells, which is used to split data to be transmitted,;
Arrangement units are used to arrange some packets to each USB transmission mouth;
Transmission unit is used to packet passing through corresponding USB transmission port transmission to each usb data plate;
Recomposition unit is used for after the packet end of transmission on each usb data plate is confirmed, by some numbers of end of transmission It is target data according to package-restructuring.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
Data to be transmitted is divided at least two packets, then by some queues packets to each USB transmission mouth On, each corresponding usb data plate of the USB transmission mouth;Then the packet is passed through into the corresponding USB transmission mouth Each usb data plate is transferred to, such data just become channel transmission from single channel transmission, when each USB numbers After the packet end of transmission on plate, the packet is reassembled as target data.This method is very big to be improved The transmission speed of data.
Brief description of the drawings
Fig. 1 is data transmission method flow chart of the embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of data transmission method and system and USB controller.
Referring to Fig. 1, specific embodiment includes:
101st, data to be transmitted is divided at least two packets;
First, controller is needed to get data waiting for transmission, and data waiting for transmission are then divided at least two data Bag, the mode of division can have it is a variety of, decile also can, not decile also can, in general, how many USB transmission mouth, just division Obtain how many individual packets.
102nd, by the queues packets to each USB transmission mouth;
Due to there is multiple USB transmission mouths, so controller can arrange the packet after division respectively to different USB Transmit on mouth, each corresponding usb data plate of the USB transmission mouth.
103rd, the packet is passed through into the corresponding USB transmission port transmission to each usb data plate;
Packet is arranged to different USB transmission mouths, then these packets can be passed through into USB transmission port transmission To usb data plate.
Specifically, the first transmission channel can be opened, start to transmit the packet;
USB controller detects the packet transmission situation in the first passage, if non-end of transmission, opens second Transmission channel, and the remaining packet of first passage simultaneous transmission.
When some queues packets to each USB transmission mouth, open the first transmission channel and the second transmission is logical Road, first transmission channel and second transmission channel carry out the packet transmission simultaneously.
104th, after the packet end of transmission on each usb data plate, the packet is reassembled as target Data.
After all packet all end of transmissions, then packet can be recombinated to obtain target data.
The present embodiment also provides USB controller, including:
Split cells, arrangement units, transmission unit and recomposition unit;
It is at least two packets that the split cells, which is used to split data to be transmitted,;
The arrangement units are used to arrange some packets to each USB transmission mouth;
The transmission unit is used to the packet passing through the corresponding USB transmission port transmission to each USB numbers According to plate;
The recomposition unit is used to after the packet end of transmission on each usb data plate is confirmed, to transmit Some packets finished are reassembled as target data.
The present embodiment also provides multichannel USB board data transmission system, including:
USB controller and splitter;
The USB controller includes:
Split cells, arrangement units, transmission unit and recomposition unit;
It is at least two packets that the split cells, which is used to split data to be transmitted,;
The arrangement units are used to arrange some packets to each USB transmission mouth;
The transmission unit is used to the packet passing through the corresponding USB transmission port transmission to each USB numbers According to plate;
The recomposition unit is used to after the packet end of transmission on each usb data plate is confirmed, to transmit Some packets finished are reassembled as target data.
Splitter You Liangge branches.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (6)

  1. A kind of 1. multichannel USB board data transmission method, it is characterised in that including:
    Data to be transmitted is divided at least two packets;
    By on the queues packets to each USB transmission mouth, each USB transmission mouth corresponds to a usb data plate;
    The packet is passed through into the corresponding USB transmission port transmission to each usb data plate;
    After the packet end of transmission on each usb data plate, the packet is reassembled as target data.
  2. 2. multichannel USB board data transmission method according to claim 1, it is characterised in that described by the packet Included by the corresponding USB transmission port transmission to each usb data plate:
    The first transmission channel is opened, starts to transmit the packet;
    USB controller detects the packet transmission situation in the first passage, if non-end of transmission, opens the second transmission Passage, and the remaining packet of first passage simultaneous transmission.
  3. 3. multichannel USB board data transmission method according to claim 1, it is characterised in that
    It is described also to include the packet to each usb data plate by the corresponding USB transmission port transmission:
    When some queues packets to each USB transmission mouth, the first transmission channel and the second transmission channel, institute are opened State the first transmission channel and second transmission channel while carry out the packet transmission.
  4. A kind of 4. USB controller, it is characterised in that including:
    Split cells, arrangement units, transmission unit and recomposition unit;
    It is at least two packets that the split cells, which is used to split data to be transmitted,;
    The arrangement units are used to arrange some packets to each USB transmission mouth;
    The transmission unit is used to the packet passing through the corresponding USB transmission port transmission to each usb data plate;
    The recomposition unit is used for after the packet end of transmission on each usb data plate is confirmed, by end of transmission Some packets be reassembled as target data.
  5. A kind of 5. multichannel USB board data transmission system, it is characterised in that including:
    USB controller and splitter
    The USB controller includes:
    Split cells, arrangement units, transmission unit and recomposition unit;
    It is at least two packets that the split cells, which is used to split data to be transmitted,;
    The arrangement units are used to arrange some packets to each USB transmission mouth;
    The transmission unit is used to the packet passing through the corresponding USB transmission port transmission to each usb data plate;
    The recomposition unit is used for after the packet end of transmission on each usb data plate is confirmed, by end of transmission Some packets be reassembled as target data.
  6. 6. multichannel USB board data transmission system according to claim 5, it is characterised in that the splitter has two Branch.
CN201710577645.5A 2017-07-15 2017-07-15 Data transmission method and system and usb controller Pending CN107341125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710577645.5A CN107341125A (en) 2017-07-15 2017-07-15 Data transmission method and system and usb controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710577645.5A CN107341125A (en) 2017-07-15 2017-07-15 Data transmission method and system and usb controller

Publications (1)

Publication Number Publication Date
CN107341125A true CN107341125A (en) 2017-11-10

Family

ID=60218838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710577645.5A Pending CN107341125A (en) 2017-07-15 2017-07-15 Data transmission method and system and usb controller

Country Status (1)

Country Link
CN (1) CN107341125A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527716A (en) * 2020-12-18 2021-03-19 深圳市度申科技有限公司 Data transmission method, acquisition card and system based on USB 3.0 wire

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063399A (en) * 2011-01-10 2011-05-18 深圳市润天智图像技术有限公司 Multichannel data transmission method, system andequipment
CN102137027A (en) * 2011-05-03 2011-07-27 厦门市美亚柏科信息股份有限公司 Reliable data transmission method and device thereof
CN103019987A (en) * 2013-01-10 2013-04-03 厦门市美亚柏科信息股份有限公司 Method and system for transmitting data on basis of USB (universal serial bus) interfaces

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063399A (en) * 2011-01-10 2011-05-18 深圳市润天智图像技术有限公司 Multichannel data transmission method, system andequipment
CN102137027A (en) * 2011-05-03 2011-07-27 厦门市美亚柏科信息股份有限公司 Reliable data transmission method and device thereof
CN103019987A (en) * 2013-01-10 2013-04-03 厦门市美亚柏科信息股份有限公司 Method and system for transmitting data on basis of USB (universal serial bus) interfaces

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527716A (en) * 2020-12-18 2021-03-19 深圳市度申科技有限公司 Data transmission method, acquisition card and system based on USB 3.0 wire
CN112527716B (en) * 2020-12-18 2024-01-30 深圳市度申科技有限公司 Data transmission method, acquisition card and system based on USB3.0 wire

Similar Documents

Publication Publication Date Title
AU2011223511B2 (en) System and method for multiple concurrent virtual networks
CN104935641B (en) A kind of method and apparatus for accelerating file transmission
US9077452B2 (en) QSFP+ to SFP+ form-factor adapter with signal conditioning
CN104734998B (en) A kind of network equipment and information transferring method
CN103516632B (en) Methods and apparatus for providing services in a distributed switch
CN101095308B (en) Communication device for packet exchange of system packet interface of queue cascade and logic mark
CN105162491B (en) The control method of antenna and its transmitting radio frequency signal
CN106207687A (en) The conversion method of data-interface and device
CN108885601A (en) The more host end point reflector hubs of USB
CN103716297B (en) Method for realizing the multi-chip module with high-speed interface
CN106998347A (en) The apparatus and method of server virtualization network share
US9807036B2 (en) Apparatus and method for encoding MDIO into SGMII transmissions
CN110290227A (en) Dynamic allocation method, system and the storage medium of IC bus address
CN111083580B (en) Method and device for protecting Ethernet link in optical transmission network
CN107341125A (en) Data transmission method and system and usb controller
CN103748845A (en) Packet sending and receiving method, device and system
CN103490904A (en) Ethernet electrical interface compatibility conversion device, control method and device
CN108023743A (en) The auto-negotiation method and equipment of a kind of port
CN104904176B (en) Data distributing method and data aggregation method and relevant apparatus
CN106253011A (en) The conversion equipment of data-interface
CN107168903A (en) A kind of non-volatile memory medium
EP2660726A1 (en) Method and device for emulating a bus system
CN101202632A (en) System and method for data transmission of dual controller system and method of communication path selection
CN107643938A (en) Data transmission method, device and storage medium
CN108667706A (en) The adjustable Ethernet serial server of serial ports quantity dynamic and its data transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171110