CN110519333A - The method and device of data transmission - Google Patents
The method and device of data transmission Download PDFInfo
- Publication number
- CN110519333A CN110519333A CN201910703027.XA CN201910703027A CN110519333A CN 110519333 A CN110519333 A CN 110519333A CN 201910703027 A CN201910703027 A CN 201910703027A CN 110519333 A CN110519333 A CN 110519333A
- Authority
- CN
- China
- Prior art keywords
- data
- transmitted
- buffer zone
- transmission
- mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9063—Intermediate storage in different physical parts of a node or terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application provides a kind of methods of data transmission, comprising: obtains data to be transmitted and its mark transmitted by sender;Wherein, the data to be transmitted with same mark belongs to the same transmission transaction;A buffer zone is determined from transmission channel, and the data to be transmitted is buffered in the buffer zone;It wherein, include multiple buffer zones in the transmission channel, the data to be transmitted of different identification is stored in different buffer zones;The data to be transmitted being buffered in the buffer zone is transferred to recipient;Wherein, the transmission of the data to be transmitted of different identification is independent of one another;The data to be transmitted of like-identified is successively transmitted according to the sequencing of caching.Thus under the premise of guaranteeing the data to be transmitted order transfer of the same mark, the transmission of different data is independent of one another, so that the normal transmission of other data will not be influenced when the transmission of some data occurs abnormal.
Description
Technical field
The present invention relates to technical field of data transmission, in particular to a kind of method and device of data transmission.
Background technique
Increasingly prominent with server admin importance, major server factory commercial city is correspondingly in respective hardware
Enhanced on platform server can management characteristic, and functionally continually strengthen.And intelligent platform management interface specification
The birth very good solution of (Intelligent Platform Management Interface, IPMI) server is reliable
The problem of management.The core of IPMI is baseboard management controller (Baseboard Management Controller, BMC).
In the bus used by BMC, all reading data, which all pass through, reads data channel transfer, and all data of writing are led to
Write data channel transmission is crossed, thus transmission while realizing reading data and write data.Since transport protocol is to the number transmitted every time
Exist according to size and limit, so a transmission transaction will usually be divided into multiple data and be transmitted.Therefore, in a logical transport way
It is middle can the multiple and different transmission transactions of simultaneous transmission data, be not to be passed after all data for first transferring a transmission transaction again
The data of another defeated transmission transaction, wherein the data of different transmission transactions can be distinguished by identifying in transmission process.
Since all data are all optionally transmitted by a transmission channel, so when some in transmission channel
Exception has occurred in the transmission of transmission transaction, such as when recipient can not normally receive data, will result in entire transmission channel
Obstruction, to influence the transmission of the data of other transmission transactions.
Summary of the invention
Based on above-mentioned the deficiencies in the prior art, the present invention provides a kind of method and devices of data transmission, to solve
Some data are all optionally transmitted by a transmission channel, so will result in when transmission abnormality occur in a data
The problem of entire transmission channel blocks, influences the transmission of other data.
To achieve the goals above, the present invention provides following technical schemes:
One aspect of the present invention provides a kind of method of data transmission, comprising:
Obtain data to be transmitted and its mark transmitted by sender;Wherein, with the number to be transmitted of same mark
According to belonging to the same transmission transaction;
A buffer zone is determined from transmission channel, and the data to be transmitted is buffered in the buffer zone
In;It wherein, include multiple buffer zones in the transmission channel, the data to be transmitted of different identification is stored in different buffer areas
In domain;
The data to be transmitted being buffered in the buffer zone is transferred to recipient;Wherein, different identification to
The transmission for transmitting data is independent of one another;The data to be transmitted of like-identified is successively transmitted according to the sequencing of caching.
Optionally, described to determine a buffer zone from transmission channel in the method that above-mentioned data are transmitted, and
It to be transmitted is buffered in described in the buffer zone, comprising:
Determine buffer zone corresponding with the mark of the data to be transmitted from the transmission channel, and will it is described to
Data buffer storage is transmitted into the buffer zone;
Wherein, each buffer zone is only used for caching the data to be transmitted of corresponding mark.
Optionally, in the method that above-mentioned data are transmitted, it is described will be buffered in it is described to be passed in the buffer zone
Transmission of data is transferred to recipient, comprising:
The data to be transmitted with like-identified that will be cached in the buffer zone, according to the successive suitable of caching
Sequence is successively transferred to the recipient.
Optionally, described to determine a buffer zone from transmission channel in the method that above-mentioned data are transmitted, and
The data to be transmitted is buffered in the buffer zone, comprising:
Any one buffer zone being in idle condition is determined from multiple buffer zones in the transmission channel;
The data to be transmitted is cached in the buffer zone, and is according to the cache location of the data to be transmitted
The data to be transmitted configuration address mark;
The data to be transmitted for meeting first condition is directed toward to the address mark of the data to be transmitted;Wherein, described
First condition is in the data to be transmitted for having like-identified with the data to be transmitted, and caching sequence is only to be transmitted prior to described
The data to be transmitted of data.
Optionally, in the method that above-mentioned data are transmitted, it is described will be buffered in it is described to be passed in the buffer zone
Transmission of data is transferred to recipient, comprising:
After meeting the data to be transmitted of first condition described in the transmission buffer zone, meet first according to described
The mark of address pointed by the buffer zone of part, and the data to be transmitted is transmitted to recipient.
Another aspect of the present invention provides a kind of device of data transmission, comprising:
Acquiring unit, for obtaining data to be transmitted transmitted by sender and its mark;Wherein, with same mark
The data to be transmitted belongs to the same transmission transaction;
Determination unit is buffered in for determining a buffer zone from transmission channel, and by the data to be transmitted
In the buffer zone;It wherein, include multiple buffer zones in the transmission channel, the data to be transmitted of different identification is stored in
In different buffer zones;
Transmission unit, for the data to be transmitted being buffered in the buffer zone to be transferred to recipient;Wherein,
It is independent of one another when the transmission of the data to be transmitted of different identification;The data to be transmitted of like-identified according to the sequencing of caching according to
It is secondary to be transmitted.
Optionally, in the device that above-mentioned data are transmitted, the determination unit executes described determining from transmission channel
A buffer zone out, and when the data to be transmitted is buffered in the buffer zone, it is used for:
Determine buffer zone corresponding with the mark of the data to be transmitted from the transmission channel, and will it is described to
Data buffer storage is transmitted into the buffer zone;
Wherein, each buffer zone is only used for caching the data to be transmitted of corresponding mark.
Optionally, in the device that above-mentioned data are transmitted, the transmission unit execution is described will to be buffered in the caching
When the data to be transmitted in region is transferred to recipient, it is used for:
The data to be transmitted with like-identified that will be cached in the buffer zone, according to the successive suitable of caching
Sequence is successively transferred to the recipient.
Optionally, in the device that above-mentioned data are transmitted, the determination unit executes described determining from transmission channel
A buffer zone out, and when the data to be transmitted is buffered in the buffer zone, it is used for:
Any one buffer zone being in idle condition is determined from multiple buffer zones in the transmission channel;
The data to be transmitted is cached in the buffer zone, and is according to the cache location of the data to be transmitted
The data to be transmitted configuration address mark;
The data to be transmitted for meeting first condition is directed toward to the address mark of the data to be transmitted;Wherein, described
First condition is in the data to be transmitted for having like-identified with the data to be transmitted, and caching sequence is only to be transmitted prior to described
The data to be transmitted of data.
Optionally, in the device that above-mentioned data are transmitted, the transmission unit execution is described will to be buffered in the caching
When the data to be transmitted in region is transferred to recipient, it is used for:
After meeting the data to be transmitted of first condition described in the transmission buffer zone, meet first according to described
The mark of address pointed by the buffer zone of part, and the data to be transmitted is transmitted to recipient.
The method and device of a kind of data transmission provided by the invention, by the way that multiple buffer areas are arranged in transmission channel
The data to be transmitted of different identification is cached to different buffer areas when receiving the data to be transmitted of sender's transmission by domain
In domain, the data to be transmitted cached is then transferred to recipient respectively from buffer zone again.Also, different identification to
It is independent of each other to recipient that data, which are transmitted, from caching area transmissions, and the data to be transmitted of same mark is then according to caching
Sequencing is successively transmitted.Thus under the premise of guaranteeing the data to be transmitted order transfer of the same mark, it will be different
Data transmission it is independent of one another so that other data will not be influenced when the transmission of some data occurs abnormal
Normal transmission.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of the method for data transmission provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides a kind of data transmission method flow diagram;
Fig. 3 be another embodiment of the present invention provides a kind of data to be transmitted caching mode schematic diagram;
Fig. 4 be another embodiment of the present invention provides a kind of data transmission method flow diagram;
Fig. 5 is the schematic diagram of the mode of another data to be transmitted caching provided in an embodiment of the present invention;
Fig. 6 be another embodiment of the present invention provides a kind of data transmission method structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In this application, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion,
So that the process, method, article or equipment for including a series of elements not only includes those elements, but also including not having
The other element being expressly recited, or further include for elements inherent to such a process, method, article, or device.Do not having
There is the element limited in the case where more limiting by sentence "including a ...", it is not excluded that in the mistake including the element
There is also other identical elements in journey, method, article or equipment.
The embodiment of the invention provides a kind of methods of data transmission, as shown in Figure 1, comprising:
S101, data to be transmitted and its mark transmitted by sender are obtained.
Wherein, the data to be transmitted with same mark belongs to the same transmission transaction.It is also understood that same mark
Data to be transmitted belong to the same big data or same file.So in the embodiment of the present invention, data to be transmitted is
Sub-fraction composition data in the big data of transmission transaction.
It should be noted that baseboard management controller (Baseboard Management Controller, BMC) is usual
(Advanced eXtensible Interface, the AXI) bus used carries out the transmission of data.5 are defined in AXI bus
A independent transmission channel: data channel, write address channel, write data channel, write response channel are read in read address channel.Respectively
It is used for transmission and reads the address of data, the address read data, write data, writes data, write response signal, it is a large amount of can quickly transmit
Data.Address, the size of data of the address and write response signal of writing data for reading data are smaller, usually will not all deposit cash
The case where blocking, thus present invention is generally directed to be the address transmission read in data channel and write data channel.
Due to the characteristic of AXI bus protocol, so the size for the data transmitted each time all no more than 4KB, so logical
The data to be transmitted that the data of a normal transmission transaction need to be divided under multiple comparisons is transmitted.In order to accelerate the biography of data
It is defeated, all data to be transmitted of transmission transaction all can't just be transmitted next biography after transmission in a transmission channel
The data to be transmitted of defeated affairs, but the data to be transmitted of different transmission transactions is transmitted simultaneously.And pass through different identification
To mark different numbers to be transmitted to distinguish the data of different transmission transactions.So also being needed while obtaining data to be transmitted
Obtain mark to be transmitted.
S102, a buffer zone is determined from transmission channel, and data to be transmitted is buffered in buffer zone.
It wherein, include multiple buffer zones in transmission channel, the data to be transmitted of different identification is stored in different cachings
In region.
It should be noted that data to be transmitted is transferred to by corresponding transmission channel from sender and is connect in AXI bus
Debit is not one to need finally to get to connect by multiple buffer memory devices among the transmission of data to be transmitted
Debit.So, it is believed that it in a transmission channel include multiple buffer memory devices.But in the same buffer memory device,
There is no divide buffer zone.In a buffer memory device, as long as guaranteeing the data to be transmitted of same mark, the orderly transmission of energy
To next buffer memory device.It is set so being all optionally buffered in caching relatively for the data to be transmitted of different marks
In standby.Therefore, there is transmission abnormality and is just easy to influence the to be transmitted of other identifier in the data to be transmitted identified when some one
The normal transmission of data.
The embodiment of the present invention has divided different buffer zones, will be to be transmitted with can be by the mark based on data to be transmitted
Data carry out orderly caching, and can transmit the data to be transmitted of different identification is independent.Specifically, being sent out in sender
Out when a data to be transmitted, a buffer zone will be determined from multiple buffer zones.Wherein, the buffer area determined
There is also the memories that can cache data to be transmitted in domain.Then, data to be transmitted is cached in determined buffer zone,
Data to be transmitted is transferred to recipient from buffer zone again.
S103, the data to be transmitted being buffered in the buffer zone is transferred to recipient.
Wherein, the transmission of the data to be transmitted of different identification is independent of one another.The data to be transmitted of like-identified is according to caching
Sequencing successively transmitted.
Due to, multiple buffer zones have been divided, the data to be transmitted of different identification is buffered in different buffers, and
Buffer zone is independently from each other, it is possible to data to be transmitted are transferred to recipient from buffer zone respectively, realized not
With the individual transmission of the data to be transmitted of mark.But for the data to be transmitted of same mark, it is necessary to orderly pass
It is defeated, with allow recipient it is orderly receive data to be transmitted, so as to correctly be built into the data to be transmitted of same mark
The big data of one completion.
Also, due to be when determining that reception can normally receive data to be transmitted, could be by data to be transmitted from caching
Area transmissions are to method of reseptance, if so recipient's transmission exception, can not receive data to be transmitted, then data to be transmitted
It is only to block its buffer zone cached, and other buffer zones and unaffected.So that in the biography of some data
When output is existing abnormal, the normal transmission of other data will not be influenced.
The method of data transmission provided in an embodiment of the present invention, by the way that multiple buffer zones, In are arranged in transmission channel
When receiving the data to be transmitted of sender's transmission, the data to be transmitted of different identification is cached in different buffer zones,
Then the data to be transmitted cached is transferred to recipient respectively from buffer zone again.Also, different identification is to be transmitted
Data are independent of each other to recipient from caching area transmissions, and the data to be transmitted of same mark is then according to the successive of caching
Sequence is successively transmitted.Thus under the premise of guaranteeing the data to be transmitted order transfer of the same mark, by different numbers
According to transmission it is independent of one another.So that other data will not be being influenced just when the transmission of some data occurs abnormal
Often transmission.
Another embodiment of the present invention provides a kind of methods of data transmission, as shown in Figure 2, comprising:
S201, data to be transmitted and its mark transmitted by sender are obtained.
Wherein, the data to be transmitted with same mark belongs to the same transmission transaction.
It should be noted that the specific implementation process of this step can be accordingly with reference to the step in above method embodiment
S101, details are not described herein again.
S202, buffer zone corresponding with the mark of the data to be transmitted is determined from transmission channel, and will be to be passed
Transmission of data is cached in buffer zone.
Wherein, each buffer zone is only used for caching the data to be transmitted of corresponding mark.
That is, in embodiments of the present invention, buffer zone is divided according to the mark of data to be transmitted.Difference mark
The data to be transmitted of knowledge is only capable of being buffered in and identify in corresponding buffer zone with it.
Optionally, as shown in figure 3, a mark corresponds to a buffer zone, and the buffer zone can cache simultaneously
The data to be transmitted of multiple corresponding marks.It is of course also possible to regard the corresponding multiple small buffer zones of a mark as, and
And multiple small buffer zones join end to end, and collectively constitute a big buffer zone.Also, a buffer zone is only used for delaying
The data to be transmitted for depositing a mark, to be more convenient for transmitting the order transfer of the data to be transmitted of same mark.
Specifically, being determined from multiple buffer zones in transmission channel after receiving data to be transmitted and its mark
Buffer zone corresponding with the mark of data to be transmitted out, and data to be transmitted is cached in the buffer zone.Wherein, same
The transmission of the data to be transmitted of mark must be orderly, so as to receive data to be transmitted can be reverted to it is one complete big
Data.So optionally, the data to be transmitted of same mark, according to the sequencing of caching, is arranged successively in buffer zone
It is buffered in buffer zone, the data to be transmitted of same mark to be successively transferred to recipient.If in transmission channel, not
Include buffer zone corresponding to the mark, then distribute certain memory, creates buffer zone corresponding with the mark, and
Data to be transmitted is buffered in created region.
It should be noted that when the memory of the buffer zone corresponding to a certain mark has all been occupied full, because of buffer area
Domain can not cache the data to be transmitted of the mark again, so sender is can not to handle the data to be transmitted transmission of the mark
, so not will cause the obstructing problem in transmission process.
S203, the data to be transmitted with like-identified that will be cached in buffer zone, the sequencing of foundation caching, according to
It is secondary to be transferred to recipient.
Since in the transport protocol of AXI bus, the transmission of the data to be transmitted of different identification can be unordered.But
What the data to be transmitted of same mark must be ordered into.So being transferred to from buffer zone by the data to be transmitted of same mark
When recipient, the sequencing according to data to be transmitted caching is needed to be transmitted, to guarantee the data to be transmitted of same mark
It is ordered into.The data to be transmitted more first cached also more first will be transferred to recipient from buffer zone.Specifically, same
The data to be transmitted of mark is arranged successively and is buffered in buffer zone, as long as so according to row according to the tandem of caching
The sequence of caching is arranged according to transmission data to be transmitted, just realizes the order transfer of the data to be transmitted of same mark.
The method of data transmission provided in an embodiment of the present invention, by the way that the mark with data to be transmitted is arranged in transmission channel
Know corresponding buffer zone, when receiving the data to be transmitted of sender's transmission, data to be transmitted is cached to it and identifies institute
In corresponding buffer zone, the data to be transmitted cached is successively then transferred to recipient from buffer zone again.Also,
The data to be transmitted of different identification from caching area transmissions is independent of each other, and the data to be transmitted of same mark to recipient
Then successively transmitted according to the sequencing of caching.To before the data to be transmitted order transfer for guaranteeing the same mark
It puts, the transmission of different data is independent of one another.So that will not be influenced when the transmission of some data occurs abnormal
To the normal transmission of other data.
The embodiment of the invention provides a kind of methods of data transmission, as shown in Figure 4, comprising:
S401, data to be transmitted and its mark transmitted by sender are obtained.
Wherein, the data to be transmitted with same mark belongs to the same transmission transaction.
It should be noted that the specific implementation process of this step can be accordingly with reference to the step in above method embodiment
S101, details are not described herein again.
S402, any one buffer area being in idle condition is determined from multiple buffer zones in transmission channel
Domain.
Wherein, idle state refers in buffer zone there is also memory cache data or uncached has data.Also
It is to say, is no longer the buffer zone fixed by the mark configuration of data to be transmitted in embodiments of the present invention.Each buffer area
Domain can cache the data to be transmitted of any one mark.So as to effectively utilize all buffer zones, memory is avoided
Waste.
S403, data to be transmitted is cached in buffer zone, and is to be transmitted according to the cache location of data to be transmitted
Data configuration address mark.
Since in embodiments of the present invention, data to be transmitted can be cached in any one buffer zone.So together
One the different of mark can be buffered in different buffer zones to data cached.And in order to realize the number to be transmitted of same mark
According to being transmitted by the sequencing of caching, to guarantee the order transfer of the data to be transmitted of same mark.So the present invention
Embodiment has used for reference the principle of storage of linked list.It is cached in buffer zone by data to be transmitted, and slow according to data to be transmitted
The specific address location deposited is that data to be transmitted configures a unique address mark, with same based on realizing with address mark
The order transfer of the data to be transmitted of mark.
S404, the address that the data to be transmitted for meeting first condition is directed toward data to be transmitted is identified.
Wherein, first condition be with data to be transmitted have like-identified data to be transmitted in, caching sequence only prior to
The data to be transmitted of data to be transmitted.
Specifically, being cached to buffer zone in the data to be transmitted for receiving this, and after configuration address mark.It will be upper
It once caches, and there is the data to be transmitted of like-identified with data to be transmitted, be directed toward the data to be transmitted of this caching
Address mark.Specifically, can be by configuring a pointer for data to be transmitted, last caching is realized by pointer
Data to be transmitted is directed toward the address mark of the data to be transmitted of this caching.The data to be transmitted of this same caching will be directed toward
The address of the data to be transmitted with same mark cached next time identifies.I.e. as shown in figure 5, the embodiment of the present invention, passes through
Address mark and pointer, the sequencing by the data to be transmitted of same mark according to caching are connected with each other.
S405, after meeting the data to be transmitted of first condition in transmission buffer region, according to meeting the slow of first condition
The mark of address pointed by region is deposited, and data to be transmitted is transmitted to recipient.
That is, the transmission of the data to be transmitted for same mark, after transferring a data to be transmitted, it will
Determine that the address mark that the data to be transmitted of completion transmission is directed toward, corresponding data to be transmitted are transmitted.I.e. according to
The address mark and pointer for transmitting data are directed toward, and the data to be transmitted of same mark is transmitted.Due to the number to be transmitted of same mark
According to being connected with each other according to the sequencing cached, so passing through the transmission mode of this step, same mark is also just realized
The order transfer of data to be transmitted.
The method of a kind of data transmission provided in an embodiment of the present invention, by the way that multiple buffer areas are arranged in transmission channel
The data to be transmitted of different identification is cached to different buffer areas when receiving the data to be transmitted of sender's transmission by domain
In domain, and identified for data to be transmitted configuration address.It is realized from buffer zone by address mark by the to be passed of same mark
Transmission of data is transferred to recipient in an orderly manner.Also, the data to be transmitted of different identification is that recipient from caching area transmissions
This is independent, thus under the premise of guaranteeing the data to be transmitted order transfer of the same mark, by the transmission of different data
Independently of one another, so that the normal transmission of other data will not be influenced when the transmission of some data occurs abnormal.
The embodiment of the invention provides a kind of devices of data transmission, as shown in Figure 6, comprising:
Acquiring unit 601, for obtaining data to be transmitted transmitted by sender and its mark.
Wherein, the data to be transmitted with same mark belongs to the same transmission transaction.
It should be noted that the specific work process of acquiring unit 601 can be accordingly with reference in above method embodiment
Step S101, details are not described herein again.
Determination unit 602 is cached for determining a buffer zone from transmission channel, and by the data to be transmitted
In the buffer zone.
It wherein, include multiple buffer zones in the transmission channel, the data to be transmitted of different identification is stored in different
In buffer zone.
It should be noted that the specific work process of determination unit 602 can be accordingly with reference in above method embodiment
Step S102, details are not described herein again.
Transmission unit 603, for the data to be transmitted being buffered in the buffer zone to be transferred to recipient.
Wherein, independent of one another when the transmission of the data to be transmitted of different identification.The data to be transmitted of like-identified is according to slow
The sequencing deposited successively is transmitted.
It should be noted that the specific work process of transmission unit 603 can be accordingly with reference in above method embodiment
Step S103, details are not described herein again.
The method and device of a kind of data transmission provided by the invention, by the way that multiple buffer areas are arranged in transmission channel
Domain, when receiving unit 601 receives the data to be transmitted of sender's transmission, determination unit 602 is by the to be transmitted of different identification
Data buffer storage is then to be passed by what is cached respectively from buffer zone by transmission unit 603 again into different buffer zones
Transmission of data is transferred to recipient.Also, the data to be transmitted of different identification is independent of one another to recipient from caching area transmissions
, and the data to be transmitted of same mark is then successively transmitted according to the sequencing of caching.To guarantee the same mark
It is under the premise of the data to be transmitted order transfer of knowledge, the transmission of different data is independent of one another, so that in some data
Transmission when occurring abnormal, the normal transmission of other data will not be influenced.
Optionally, in another embodiment of the present invention, determination unit execution is described to determine that one is delayed from transmission channel
When depositing region, and the data to be transmitted being buffered in the buffer zone, it is used for:
Determine buffer zone corresponding with the mark of the data to be transmitted from the transmission channel, and will it is described to
Data buffer storage is transmitted into the buffer zone.
Wherein, each buffer zone is only used for caching the data to be transmitted of corresponding mark.
It needs, specific work process of the determination unit when executing above-mentioned function can refer to the above method accordingly
Step S202 in embodiment, details are not described herein again.
Optionally, in another embodiment of the present invention, transmission unit executes the institute that will be buffered in the buffer zone
When stating data to be transmitted and being transferred to recipient, it is used for:
The data to be transmitted with like-identified that will be cached in the buffer zone, according to the successive suitable of caching
Sequence is successively transferred to the recipient.
It needs, specific work process of the transmission unit when executing above-mentioned function can refer to the above method accordingly
Step S203 in embodiment, details are not described herein again.
Optionally, in another embodiment of the present invention, determination unit execution is described to determine a caching from transmission channel
Region, and when the data to be transmitted is buffered in the buffer zone, it is used for:
Any one buffer zone being in idle condition is determined from multiple buffer zones in the transmission channel.
The data to be transmitted is cached in the buffer zone, and is according to the cache location of the data to be transmitted
The data to be transmitted configuration address mark.
The data to be transmitted for meeting first condition is directed toward to the address mark of the data to be transmitted.
Wherein, the first condition is to cache suitable in the data to be transmitted for having like-identified with the data to be transmitted
Sequence is only prior to the data to be transmitted of the data to be transmitted.
It needs, specific work process of the said units in the embodiment of the present invention when executing above-mentioned function can phase
Step S402~the S404 in reference above method embodiment answered, details are not described herein again.
Optionally, in another embodiment of the present invention, transmission unit executes described will be buffered in the buffer zone
When the data to be transmitted is transferred to recipient, it is used for:
After meeting the data to be transmitted of first condition described in the transmission buffer zone, meet first according to described
The mark of address pointed by the buffer zone of part, and the data to be transmitted is transmitted to recipient.
It needs, specific work process of the transmission unit when executing above-mentioned function can refer to the above method accordingly
Step S405 in embodiment, details are not described herein again.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of method of data transmission characterized by comprising
Obtain data to be transmitted and its mark transmitted by sender;Wherein, with the data to be transmitted category of same mark
In the same transmission transaction;
A buffer zone is determined from transmission channel, and the data to be transmitted is buffered in the buffer zone;Its
In, it include multiple buffer zones in the transmission channel, the data to be transmitted of different identification is stored in different buffer zones;
The data to be transmitted being buffered in the buffer zone is transferred to recipient;Wherein, different identification is to be transmitted
The transmission of data is independent of one another;The data to be transmitted of like-identified is successively transmitted according to the sequencing of caching.
2. the method according to claim 1, wherein described determine a buffer zone from transmission channel,
And the data to be transmitted is buffered in the buffer zone, comprising:
Buffer zone corresponding with the mark of the data to be transmitted is determined from the transmission channel, and will be described to be transmitted
Data buffer storage is into the buffer zone;
Wherein, each buffer zone is only used for caching the data to be transmitted of corresponding mark.
3. according to the method described in claim 2, it is characterized in that, it is described will be buffered in it is described to be passed in the buffer zone
Transmission of data is transferred to recipient, comprising:
The data to be transmitted with like-identified that will be cached in the buffer zone, the sequencing of foundation caching, according to
It is secondary to be transferred to the recipient.
4. the method according to claim 1, wherein described determine a buffer zone from transmission channel,
And the data to be transmitted is buffered in the buffer zone, comprising:
Any one buffer zone being in idle condition is determined from multiple buffer zones in the transmission channel;
The data to be transmitted is cached in the buffer zone, and is described according to the cache location of the data to be transmitted
Data to be transmitted configuration address mark;
The data to be transmitted for meeting first condition is directed toward to the address mark of the data to be transmitted;Wherein, described first
Condition is in the data to be transmitted for having like-identified with the data to be transmitted, and caching sequence is only prior to the data to be transmitted
Data to be transmitted.
5. according to the method described in claim 4, it is characterized in that, it is described will be buffered in it is described to be passed in the buffer zone
Transmission of data is transferred to recipient, comprising:
After transmit and meet the data to be transmitted of first condition described in the buffer zone, according to the first condition that meets
The mark of address pointed by buffer zone, and the data to be transmitted is transmitted to recipient.
6. a kind of device of data transmission characterized by comprising
Acquiring unit, for obtaining data to be transmitted transmitted by sender and its mark;Wherein, described with same mark
Data to be transmitted belongs to the same transmission transaction;
Determination unit for determining a buffer zone from transmission channel, and the data to be transmitted is buffered in described
In buffer zone;It wherein, include multiple buffer zones in the transmission channel, the data to be transmitted of different identification is stored in difference
Buffer zone in;
Transmission unit, for the data to be transmitted being buffered in the buffer zone to be transferred to recipient;Wherein, different
It is independent of one another when the transmission of the data to be transmitted of mark;The data to be transmitted of like-identified according to the sequencing of caching successively into
Row transmission.
7. device according to claim 6, which is characterized in that the determination unit executes described determining from transmission channel
A buffer zone out, and when the data to be transmitted is buffered in the buffer zone, it is used for:
Buffer zone corresponding with the mark of the data to be transmitted is determined from the transmission channel, and will be described to be transmitted
Data buffer storage is into the buffer zone;
Wherein, each buffer zone is only used for caching the data to be transmitted of corresponding mark.
8. device according to claim 7, which is characterized in that the transmission unit execution is described will to be buffered in the caching
When the data to be transmitted in region is transferred to recipient, it is used for:
The data to be transmitted with like-identified that will be cached in the buffer zone, the sequencing of foundation caching, according to
It is secondary to be transferred to the recipient.
9. device according to claim 6, which is characterized in that the determination unit executes described determining from transmission channel
A buffer zone out, and when the data to be transmitted is buffered in the buffer zone, it is used for:
Any one buffer zone being in idle condition is determined from multiple buffer zones in the transmission channel;
The data to be transmitted is cached in the buffer zone, and is described according to the cache location of the data to be transmitted
Data to be transmitted configuration address mark;
The data to be transmitted for meeting first condition is directed toward to the address mark of the data to be transmitted;Wherein, described first
Condition is in the data to be transmitted for having like-identified with the data to be transmitted, and caching sequence is only prior to the data to be transmitted
Data to be transmitted.
10. device according to claim 9, which is characterized in that the transmission unit execution is described will to be buffered in described delay
When depositing the data to be transmitted in region and being transferred to recipient, it is used for:
After transmit and meet the data to be transmitted of first condition described in the buffer zone, according to the first condition that meets
The mark of address pointed by buffer zone, and the data to be transmitted is transmitted to recipient.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703027.XA CN110519333B (en) | 2019-07-31 | 2019-07-31 | Data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703027.XA CN110519333B (en) | 2019-07-31 | 2019-07-31 | Data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110519333A true CN110519333A (en) | 2019-11-29 |
CN110519333B CN110519333B (en) | 2022-04-22 |
Family
ID=68623789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910703027.XA Active CN110519333B (en) | 2019-07-31 | 2019-07-31 | Data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110519333B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114691392A (en) * | 2022-03-28 | 2022-07-01 | 声呐天空资讯顾问有限公司 | Information transmission method and device of terminal, storage medium and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012120388A1 (en) * | 2011-03-09 | 2012-09-13 | International Business Machines Corporation | Link layer reservation of switch queue capacity |
CN103841432A (en) * | 2012-11-26 | 2014-06-04 | 浙江大华技术股份有限公司 | Transmission method and equipment of composite video data |
US20170272367A1 (en) * | 2016-03-18 | 2017-09-21 | Futurewei Technologies, Inc. | Method and apparatus for programmable buffers in mobile networks |
CN107333296A (en) * | 2017-06-22 | 2017-11-07 | 北京佰才邦技术有限公司 | A kind of data transmission method, device and base station |
CN108777603A (en) * | 2018-04-28 | 2018-11-09 | 出门问问信息科技有限公司 | A kind of data transmission method, device, storage medium and electronic equipment |
-
2019
- 2019-07-31 CN CN201910703027.XA patent/CN110519333B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012120388A1 (en) * | 2011-03-09 | 2012-09-13 | International Business Machines Corporation | Link layer reservation of switch queue capacity |
CN103841432A (en) * | 2012-11-26 | 2014-06-04 | 浙江大华技术股份有限公司 | Transmission method and equipment of composite video data |
US20170272367A1 (en) * | 2016-03-18 | 2017-09-21 | Futurewei Technologies, Inc. | Method and apparatus for programmable buffers in mobile networks |
CN107333296A (en) * | 2017-06-22 | 2017-11-07 | 北京佰才邦技术有限公司 | A kind of data transmission method, device and base station |
CN108777603A (en) * | 2018-04-28 | 2018-11-09 | 出门问问信息科技有限公司 | A kind of data transmission method, device, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
谢廷婷: "一种多通道动态均衡先进先出缓存机制", 《太赫兹科学与电子信息学报》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114691392A (en) * | 2022-03-28 | 2022-07-01 | 声呐天空资讯顾问有限公司 | Information transmission method and device of terminal, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110519333B (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2584957B2 (en) | Host-directed device | |
CN104572517B (en) | Method, controller and the computer system of requested date are provided | |
US8489792B2 (en) | Transaction performance monitoring in a processor bus bridge | |
CN101878475B (en) | Delegating network processor operations to star topology serial bus interfaces | |
CN102495920B (en) | Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array) | |
CN105357147B (en) | A kind of network-on-chip adaptation unit that high speed is highly reliable | |
US9160607B1 (en) | Method and apparatus for deadlock avoidance | |
US7043579B2 (en) | Ring-topology based multiprocessor data access bus | |
CN109710548A (en) | A kind of DMA control data transmission method, system and equipment | |
CN107111572B (en) | For avoiding the method and circuit of deadlock | |
GB2522057A (en) | A data processing system and method for handling multiple transactions | |
CN105934793A (en) | Method for distributing data in storage system, distribution apparatus and storage system | |
CN103077147B (en) | A kind of global function 1553B bus IP Core based on chained list | |
CN100585578C (en) | System bus deadlock prevention method and device | |
CN106933760A (en) | A kind of dma controller and data uploading method based on AXI protocol | |
WO2023160192A1 (en) | Interconnection apparatus for bus | |
CN104731757B (en) | System and method for determining commanded rate based on delete command | |
US8103791B2 (en) | Synchronized communication in a data processing system | |
CN110519333A (en) | The method and device of data transmission | |
US20080175272A1 (en) | Data processing system, method and interconnect fabric for selective link information allocation in a data processing system | |
US8688890B2 (en) | Bit ordering for communicating an address on a serial fabric | |
CN106302061A (en) | A kind of communication means based on FlexRay bus, Apparatus and system | |
CN104346310B (en) | A kind of high-performance I2C slaves data exchange circuit and method | |
US7562171B2 (en) | Method for interfacing components of a computing system with a pair of unidirectional, point-to-point buses | |
CN101594305A (en) | A kind of message processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |