CN101789915A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN101789915A
CN101789915A CN200910045834A CN200910045834A CN101789915A CN 101789915 A CN101789915 A CN 101789915A CN 200910045834 A CN200910045834 A CN 200910045834A CN 200910045834 A CN200910045834 A CN 200910045834A CN 101789915 A CN101789915 A CN 101789915A
Authority
CN
China
Prior art keywords
data
transmission
data wire
transmitting terminal
wire
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
CN200910045834A
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.)
Inventec Appliances Shanghai Corp
Original Assignee
Inventec Appliances Shanghai 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 Inventec Appliances Shanghai Corp filed Critical Inventec Appliances Shanghai Corp
Priority to CN200910045834A priority Critical patent/CN101789915A/en
Publication of CN101789915A publication Critical patent/CN101789915A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses a data transmission method and a data transmission device for providing a serial and parallel combination transmission mode between a transmitting end and a receiving end. A plurality of control lines and a plurality of data lines are connected between the transmitting end and the receiving end, and the data lines can be increased based on a primary serial structure. The method comprises the following steps: packing data to be transmitted into a plurality of data packets according to the data lines and the data transmission mode at the transmitting end and distributing the data packets onto the plurality of data lines respectively; transmitting the plurality of data packets through the plurality of data lines respectively, wherein the data lines transmit the data packets in a serial mode; and receiving a plurality of data blocks at the receiving end respectively and recovering the data blocks into original data.

Description

Data transmission method and device
Technical field
The present invention relates to transfer of data, relate in particular to a kind of data transmission method and device.
Background technology
In the baseband transmission, there are serial and parallel two kinds of transmission meanss at present.The parallel transmission mode is meant that everybody (bit) of data transmits simultaneously, is characterized in that transmission speed is fast, but when transmission range is far away, figure place again for a long time, caused communication line complexity and cost to improve.The serial transmission mode is meant that more than ground orders of data transmit, and is characterized in that communication line is simple, as long as a pair of transmission line just can be realized two-way communication, thereby greatly reduces cost, be specially adapted to telecommunication, but transfer rate is slower.
Summary of the invention
For this reason, the invention provides a kind of data transmission method and device that combines serial and parallel transmission mode, speeding up data transmission speed makes that slow this bottleneck of transfer of data is solved.
The present invention proposes a kind of data transmission method, in order between a transmitting terminal and a receiving terminal, to transmit data, be connected with a plurality of control lines and a plurality of data wire between this transmitting terminal and this receiving terminal, this data transmission method may further comprise the steps: according to data wire and data transfer mode data to be transmitted is packaged as a plurality of packets at transmitting terminal, and is assigned to a plurality of data wires respectively; Transmit described a plurality of packet respectively by a plurality of data wires, wherein each data wire uses the serial mode transmission; And receive described a plurality of data block respectively, and restore and be initial data at receiving terminal.
In above-mentioned method, a plurality of allocation of packets are comprised to described a plurality of data wires: with a plurality of allocation of packets in the buffer structure of each data wire.Wherein, described buffer structure comprises chained list or internal memory.
In above-mentioned method, also be included as the whether busy flag bit of each data wire configuration one expression data wire, and distribute described packet according to data wire is whether busy at described transmitting terminal.
In above-mentioned method, be to receive described a plurality of packet according to predefined procedure at above-mentioned receiving terminal.
In above-mentioned method, also comprise: by the transmission parameter of the described a plurality of data wires of the unified control of described a plurality of control lines.Wherein, the transmission parameter of a plurality of data wires comprises: synchronously whether the direction of transmission, packet, speed, calibration is redundant and data transfer mode.
In addition, the invention provides a kind of data transmission device, comprise a transmitting terminal, a receiving terminal and be located at this transmitting terminal and this receiving terminal between a plurality of control lines and a plurality of data wire, wherein transmitting terminal is packaged as a plurality of packets according to data wire and data transfer mode with data to be transmitted, and is assigned to a plurality of data wires respectively; A plurality of data wires are in order to transmit described a plurality of packet respectively, and wherein each data wire uses the serial mode transmission; Receiving terminal is in order to receiving described a plurality of data block respectively, and restores and be initial data.
Therefore, data transmission method of the present invention and device can solve the speed bottle-neck of transmission data, overcome the limited shortcoming of serial transmission mode wall scroll data wire transmission, also overcome to occur easily in the parallel transmission mode that transfer of data is made mistakes and the weakness that causes retransmitting.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated, wherein:
Fig. 1 illustrates data transmission device schematic diagram according to an embodiment of the invention.
Fig. 2 illustrates data transmission method flow chart according to an embodiment of the invention.
Fig. 3 illustrates transmitting terminal flow chart according to an embodiment of the invention.
Embodiment
Basic design of the present invention is to combine with serial the transmission means in the baseband transmission is parallel, realizes another transmission means.On hardware structure, the present invention increases by one or more data transmission link on the basis of serial transmission line, and for other constant (promptly the transmission on the pin basis of invariable of circuit in the past, add one or more transmission data pin, and increase can be controlled the control format of multichannel data line transmission), with the common identical hardware performance or on the original basis used of original data wire, can realize different transmission meanss at different data transmission links, this function and hardware that just needs controller and equipment to have multiple transmission means is realized.
The data transmission device of one embodiment of the invention as shown in Figure 1, it includes master controller 10, transmission equipment 20, a plurality of control line 13_1~13_n and a plurality of data wire 14_1~14_n, n=1 wherein, 2,3 ....In one embodiment, for example be master slave relation between master controller 10 and the transmission equipment 20, control by master controller 10, transmission equipment 20 is initiated to connect, disconnect, wake operations such as hang-up up.A plurality of control line 13_1~13_n can be the control line that the conventional serial circuit is possessed, and among a plurality of data wire 14_1~14_n, and being increases on the basis of 1 data wire of conventional serial circuit.For newly-increased data wire, identical with original data wire structure, have same hardware characteristics, give different functions and characteristic then, realize the serial transmission of multichannel.Data wire 14_1~14_n can make it unitized by formulating corresponding protocol and standard.
For the data format of transmission, master controller 10 can be packed distributed lines, and the size that can stipulate transmission package, speed, direction or the like by the corresponding data type that the formulation data structure provides.Comprise the data that to transmit in the data structure that provides, and further these structures are realized with chained list or other modes (as internal memory), form a buffer structure, in the time will realizing transmitting, as long as data field is just transferred out and can realize.
A plurality of control line 13_1~13_n are responsible for these data wires 14_1~14_n is carried out the configuration of transmission parameter, comprise whether direction, packet, the speed of data wire transmission is synchronous, calibrate redundancy, data transfer mode or the like.Wherein, transmission means can be intersected (if master controller support).According to the difference of transmission means, can be equipped with different transfer clock CLK.Then can use flexibly for control line, in another embodiment, also can realize, be provided with, realize above-mentioned configuration by register to data wire without control line.
Master controller can support the characteristics of data transmission capabilities to provide corresponding data transmission according to equipment, applies in a flexible way.Obtain the relevant information of transmission equipment 20 according to control line 13_1~13_n, master controller 10 just can be made different data transfer modes at device characteristics.Judged whether that at first transmission equipment chains, sent the facility information that the corresponding protocol request obtains the master controller demand then, and judge.Comprising the data format that transmission equipment 20 is supported, maximum rate, device hardware performance, and the form etc. of bag during transmission.
When transfer of data, every data wire 14_1~14_n carries out transfer of data with serial mode, and every data wire can transmit data simultaneously, form parallel mode, has so just realized 2 in path or many s' string and transmission means.In an embodiment of the present invention, data wire 14_1~14_n transmits with flexible way, does not need between the data wire to carry out to be independent of each other between the data wire, and can to transmit data concurrently synchronously.
Correct for avoiding occurring High-frequency Interference between the serial transmission line, can on hardware, taking some measures.For example land used surrounds data wire (being equivalent to shielding) and avoids the phase mutual interference, guarantees between the data wire isolated mutually.
Describe transfer of data flow process of the present invention below with reference to Fig. 1-Fig. 3, wherein suppose master controller 10 as transmitting terminal, transmission equipment 20 is as receiving terminal.
Step S1 at the master controller 10 as transmitting terminal, is one by one tables of data with packing data waiting for transmission, and is assigned to a plurality of data wire 14_1~14_n.Detailed process is described below as shown in Figure 3:
Master controller 10 detects whether obtain data source (step S11), if have, then in step S12 according to data circuit and the transmission data mode, be packet pack (for example packet header, packet format, bag size etc.), wherein, corresponding data types can be determined, and the transmission rate of data wire etc. also can be determined.In an embodiment of the present invention, can unify customization to the form of multichannel data line, obtain a recognized standard for the master controller distribute data, also can be according to the different form of feature request customization of different bus transfer datas.
Afterwards, be cached to respectively in the buffer structure (for example chained list or internal memory) that disposes for each data wire in the master controller 10 in step S13 packet, data wire comes in data read to transmit earlier again.
In one embodiment, can be the whether busy flag bit of data wire setting,, treat to carry out again after this data wire has transmitted by the time transmission next time if it is busy to run into certain bar data wire.This mode can also suitably be revised according to different bus transmission data characteristics.
Afterwards, carry out the distribution of data to be transmitted according to line feature in step S14.After treating that respective data lines can transmit data, send agreement request information, after transmission equipment 20 is confirmed, just can carry out transfer of data S15 to transmission equipment 20.
Step S2, the packet that is assigned to each buffer structure can transmit through a plurality of data wire 14_1~14_n respectively, and wherein each data wire 14_1~14_n can use the serial mode transmission.In the process of transmission, the transmission parameter of these data wires of the unified control of a plurality of control line 13_1~13_n, for example the direction of data wire transmission, packet, speed whether synchronously, redundant, data transfer mode of calibration or the like.
Step S3 can carry out different differentiations at different transmission meanss after transmission equipment 20 receives packet, corresponding packet is placed in the corresponding buffer memory of having distributed, and recovery is initial data.Equipment can receive with predetermined order when the data that receive from many data wires, integrates according to the data that receive then, obtains final data.
Otherwise if be transmitting terminal with equipment, master controller is a receiving terminal, and data transmission procedure also is the same, no longer launches to describe at this.
In transmission course, cause data wrong for transmission delay, can adopt error correcting technique, read corresponding error correction data by equipment, make corresponding processing.If in official hour, do not receive corresponding data, then be shown and abandon, equipment is made corresponding actions (can be retransmit or abandon etc.).
The advantage applies of the transmission means of the foregoing description exists, and as on same the road a plurality of tracks being arranged, the car on each track transmits with certain speed separately, mutually noninterfere.This method neither resembles road of serial transmission mode and has only a track, and the data that also do not resemble a plurality of tracks of parallel transmission mode must be consistent, if not to the need data re-transmission or abandon.Multidata line of the present invention forms the not only more flexible but also difficult generation data transmission fault of multiplexing, and extensibility is strong.
Therefore, data transmission method of the present invention and device can solve the speed bottle-neck of transmission data, overcome the limited shortcoming of serial transmission mode wall scroll data wire transmission, also overcome to occur easily in the parallel transmission mode that transfer of data is made mistakes and the weakness that causes retransmitting.
Though the present invention discloses as above with preferred embodiment; right its is not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little modification and perfect, so protection scope of the present invention is when with being as the criterion that claims were defined.

Claims (8)

1. a data transmission method in order to transmit data between a transmitting terminal and a receiving terminal, is connected with a plurality of control lines and a plurality of data wire between this transmitting terminal and this receiving terminal, and described data transmission method may further comprise the steps:
According to data wire and data transfer mode data to be transmitted is packaged as a plurality of packets at described transmitting terminal, and is assigned to a plurality of data wires respectively;
Transmit described a plurality of packet respectively by described a plurality of data wires, wherein each data wire uses the serial mode transmission;
Receive described a plurality of data block respectively at described receiving terminal, and recovery is initial data.
2. the method for claim 1 is characterized in that, a plurality of allocation of packets are comprised to described a plurality of data wires: with a plurality of allocation of packets in the buffer structure of each data wire.
3. method as claimed in claim 2 is characterized in that described buffer structure comprises chained list or internal memory.
4. whether busy the method for claim 1 is characterized in that, also be included as each data wire configuration one expression data wire flag bit, and distributes described packet at described transmitting terminal according to data wire is whether busy.
5. the method for claim 1 is characterized in that, is to receive described a plurality of packet according to predefined procedure at described receiving terminal.
6. the method for claim 1 is characterized in that, also comprises: by the transmission parameter of the described a plurality of data wires of the unified control of described a plurality of control lines.
7. method as claimed in claim 6 is characterized in that, the transmission parameter of described a plurality of data wires comprises: synchronously whether the direction of transmission, packet, speed, calibration is redundant and data transfer mode.
8. data transmission device, comprise a transmitting terminal, a receiving terminal and be located at this transmitting terminal and this receiving terminal between a plurality of control lines and a plurality of data wire, wherein:
Described transmitting terminal is packaged as a plurality of packets according to data wire and data transfer mode with data to be transmitted, and is assigned to a plurality of data wires respectively;
Described a plurality of data wire is in order to transmit described a plurality of packet respectively, and wherein each data wire uses the serial mode transmission;
Described receiving terminal is in order to receiving described a plurality of data block respectively, and restores and be initial data.
CN200910045834A 2009-01-23 2009-01-23 Data transmission method and device Pending CN101789915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910045834A CN101789915A (en) 2009-01-23 2009-01-23 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910045834A CN101789915A (en) 2009-01-23 2009-01-23 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN101789915A true CN101789915A (en) 2010-07-28

Family

ID=42532975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910045834A Pending CN101789915A (en) 2009-01-23 2009-01-23 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN101789915A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945061A (en) * 2010-09-06 2011-01-12 北京国科环宇空间技术有限公司 High-speed baseband data transmission method and system based on field-programmable gate array
CN102073297A (en) * 2011-01-12 2011-05-25 广州蓄能水电厂 Large-scale data transmission method between programmable controllers of different types
CN104702371A (en) * 2015-01-14 2015-06-10 赵树乔 Dual-link data transmission method based on network reliable transmission protocol
CN109597788A (en) * 2018-12-11 2019-04-09 广东浪潮大数据研究有限公司 A kind of High Speed Serial device, correlation technique and relevant apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428971A (en) * 2001-12-27 2003-07-09 北京润光泰力科技发展有限公司 Method using multiplex channel to implement transmission of one line of network data
CN1836414A (en) * 2003-08-11 2006-09-20 皇家飞利浦电子股份有限公司 Auto realignment of multiple serial byte-lanes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428971A (en) * 2001-12-27 2003-07-09 北京润光泰力科技发展有限公司 Method using multiplex channel to implement transmission of one line of network data
CN1836414A (en) * 2003-08-11 2006-09-20 皇家飞利浦电子股份有限公司 Auto realignment of multiple serial byte-lanes

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945061A (en) * 2010-09-06 2011-01-12 北京国科环宇空间技术有限公司 High-speed baseband data transmission method and system based on field-programmable gate array
CN102073297A (en) * 2011-01-12 2011-05-25 广州蓄能水电厂 Large-scale data transmission method between programmable controllers of different types
CN104702371A (en) * 2015-01-14 2015-06-10 赵树乔 Dual-link data transmission method based on network reliable transmission protocol
CN104702371B (en) * 2015-01-14 2017-09-19 赵树乔 Dual link data transmission method based on network reliable transport protocol
CN109597788A (en) * 2018-12-11 2019-04-09 广东浪潮大数据研究有限公司 A kind of High Speed Serial device, correlation technique and relevant apparatus
CN109597788B (en) * 2018-12-11 2023-02-28 广东浪潮大数据研究有限公司 High-speed serial port device, related method and related device

Similar Documents

Publication Publication Date Title
CN102497429B (en) Multi-redundancy processing method for train-ground data transmission in rail transit
CN111512603A (en) Data transmission method and first equipment
CN101986594B (en) Method and device for realizing communication between single boards
CN102160341A (en) Unified multi-transport medium connector architecture
US9672182B2 (en) High-speed serial ring
US8462733B2 (en) Method and system for transferring a communication session between data sources
CN109905205B (en) Data sending method, data receiving method, data sending equipment, data receiving equipment, data transmission method and data transmission system
CN111770428B (en) Monitoring method of wireless equipment
CN109327286A (en) Communication means and system based on optical fiber
US9503309B2 (en) Ethernet communication system and method based on MMC/SD interface
US20140052863A1 (en) Node Address Allocation
CN101789915A (en) Data transmission method and device
CN100499666C (en) System and method for inter connecting SP14 equipment and PCI Express equipment
CN108551425A (en) Data transmission system, method based on Industrial Ethernet and communication equipment
CN104618007B (en) A kind of synchronous satellite Transmission Control Protocol segmentation connection optimization method
CN104506280B (en) A kind of reliable data transmission method based on time division multiple access access Spatial distributions network
CN105847101A (en) Data transmission method based on vehicle bus
CN102006173A (en) Method and device for expanding Ethernet interface
CN104780065A (en) Hot spare method and system for TCP (transmission control protocol)
CN116414752A (en) Data transmission method, device, equipment and medium
EP2660726A1 (en) Method and device for emulating a bus system
CN102638589A (en) Determining method of corresponding connection relation of channels, as well as related connecting ends and system
CN102388594A (en) Method, device and system for data transmission
CN107995315A (en) Synchronous method, device, storage medium and the computer equipment of business board-to-board information
CN102546112B (en) Data packaging method and device

Legal Events

Date Code Title Description
C06 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: 20100728