CN111224903B - Data transmission method, data transmission equipment and computer readable storage medium - Google Patents

Data transmission method, data transmission equipment and computer readable storage medium Download PDF

Info

Publication number
CN111224903B
CN111224903B CN201811419349.3A CN201811419349A CN111224903B CN 111224903 B CN111224903 B CN 111224903B CN 201811419349 A CN201811419349 A CN 201811419349A CN 111224903 B CN111224903 B CN 111224903B
Authority
CN
China
Prior art keywords
data
transmitted
address
data block
identifier
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.)
Active
Application number
CN201811419349.3A
Other languages
Chinese (zh)
Other versions
CN111224903A (en
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.)
Sanechips Technology Co Ltd
Original Assignee
Sanechips 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 Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN201811419349.3A priority Critical patent/CN111224903B/en
Publication of CN111224903A publication Critical patent/CN111224903A/en
Application granted granted Critical
Publication of CN111224903B publication Critical patent/CN111224903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The embodiment of the invention discloses a data transmission method, data transmission equipment and a computer readable storage medium, wherein the data transmission method is applied to first equipment and comprises the following steps: acquiring a current address of data to be transmitted in a data block; acquiring a candidate address of data to be transmitted according to the current address and a preset fragment length; when the candidate address is determined to be in the address section corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block; processing the data to be transmitted and the identifier to obtain a data frame to be transmitted; and sending the data frame to be transmitted to the second equipment.

Description

Data transmission method, data transmission equipment and computer readable storage medium
Technical Field
The present invention relates to the field of wireless communication interfaces, and in particular, to a data transmission method, device and computer-readable storage medium.
Background
In the development of wireless communication technology, especially in the coming of the fifth Generation mobile phone communication technology specification (5-Generation wireless telephone technology, 5G), the great increase of the service data processing speed is accompanied by the multiplication of the data volume of the forward Interface, the Common Public Radio Interface (CPRI) is used as the forward Interface protocol used up to now from the second Generation mobile phone communication technology specification (2-Generation wireless telephone technology, 2G), and the problems of low transmission efficiency, incapability of meeting the data bandwidth tidal requirement and the like are exposed in the process of increasing the speed of the forward Interface.
However, ethernet (ETH) is just a new choice for the forwarding interface to avoid the above problems. However, for the characteristics of large bandwidth and low time delay of the forwarding interface, the traditional ETH performs data transmission in a software fragmentation manner, which has a serious problem of software overhead.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present invention desirably provide a data transmission method, a device, and a computer-readable storage medium, which can reduce software participation, reduce resource consumption, and improve resource utilization.
The technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data transmission method, which is applied to a first device, and the method includes:
acquiring a current address of data to be transmitted in a data block;
acquiring a candidate address of the data to be transmitted according to the current address and a preset fragment length;
when the candidate address is determined to be in the address segment corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block;
processing the data to be transmitted and the identifier to obtain a data frame to be transmitted;
and sending the data frame to be transmitted to second equipment.
In a second aspect, an embodiment of the present invention provides a data transmission method, which is applied to a second device, and the method includes:
receiving a data frame to be transmitted sent by first equipment;
analyzing the data frame to be transmitted to obtain a corresponding identifier and data to be stored;
calculating the identifier to obtain a storage address of the data to be stored;
and writing the data to be stored into the storage address.
In a third aspect, an embodiment of the present invention provides a first device, where the first device includes an obtaining module and a sending module, where,
the acquisition module is used for acquiring the current address of the data to be transmitted in the data block; acquiring a candidate address of the data to be transmitted according to the current address and a preset fragment length; when the candidate address is determined to be in the address segment corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block; processing the data to be transmitted and the identifier to obtain a data frame to be transmitted;
and the sending module is used for sending the data frame to be transmitted to the second equipment.
In a fourth aspect, an embodiment of the present invention provides a second device, where the second device includes a receiving module, a parsing module, a third obtaining module, and a writing module,
the receiving module is used for receiving a data frame to be transmitted, which is sent by first equipment;
the analysis module is used for analyzing the data frame to be transmitted to obtain a corresponding identifier and data to be stored;
the third obtaining module is configured to calculate the identifier to obtain a storage address of the data to be stored;
the writing module is used for writing the data to be stored into the storage address.
In a fifth aspect, an embodiment of the present invention provides a first device, where the first device includes at least a first processor, a first memory storing instructions executable by the first processor, and a first bus for connecting the first processor and the first memory, and when the instructions are executed, the first processor implements the data transmission method provided in the foregoing embodiment.
In a sixth aspect, an embodiment of the present invention provides a second device, where the second device includes at least a second processor, a second memory storing instructions executable by the second processor, and a second bus used to connect the second processor and the second memory, and when the instructions are executed, the second processor implements the data transmission method provided in the foregoing embodiment.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a first processor and a second processor, implements the data transmission method provided in the foregoing embodiment.
The embodiment of the invention provides a data transmission method, which is applied to first equipment and comprises the following steps: acquiring a current address of data to be transmitted in a data block; acquiring a candidate address of data to be transmitted according to a current address and a preset fragment length; when the candidate address is determined to be in the address section corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block; processing the data to be transmitted and the identifier to obtain a data frame to be transmitted; the data block to be transmitted is sent to the second device, that is, the embodiment of the present invention takes the current address of the data to be transmitted as the read address, takes the fragment length as the read length of the data to be transmitted, further obtains the data to be transmitted and the corresponding identifier, and sends the data frame to be transmitted carrying the identifier to the second device, so that the data block can be sent in fragments, the participation degree of software is reduced, the resource consumption is reduced, and the resource utilization rate is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure for data transmission according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a first implementation flow of a data transmission method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating exemplary data block numbering and slice numbering records according to an embodiment of the present invention;
fig. 4 is a diagram illustrating exemplary transmission time stamp records according to an embodiment of the present invention;
FIG. 5 is a diagram of an exemplary ETH frame structure according to an embodiment of the invention;
fig. 6 is a schematic diagram of an implementation flow of a data transmission method according to an embodiment of the present invention;
fig. 7 is a schematic flow chart illustrating a third implementation process of a data transmission method according to an embodiment of the present invention;
fig. 8 is a schematic flow chart illustrating an implementation of a data transmission method according to another embodiment of the present invention;
fig. 9 is a first interaction diagram of data transmission according to an embodiment of the present invention;
fig. 10 is a second interaction diagram of data transmission according to an embodiment of the present invention;
fig. 11 is a third schematic interaction diagram of data transmission according to an embodiment of the present invention;
fig. 12 is a first schematic structural diagram of a first apparatus according to an embodiment of the present invention;
fig. 13 is a first schematic structural diagram of a second apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a first apparatus according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a second apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
The data transmission method provided by the embodiment of the invention is applied to the data transmission process between a Baseband processing Unit (BBU) device and a Radio Remote Unit (RRU) device through a fronthaul interface, and is used for solving the indoor signal coverage of a large venue. Aiming at the problem of high software overhead in the traditional ETH software fragmentation mode of data transmission through a forwarding interface, the embodiment of the invention is based on bottom layer hardware, completes the fragmentation of large blocks of data on a sending side and the recombination of a receiving side by adding an identifier at a message payload or a packet header custom position, meets the requirements of high speed and large bandwidth of the forwarding interface, and can achieve the effects of reducing the software overhead and improving the efficiency.
Fig. 1 is a schematic diagram of a hardware structure for data transmission according to an embodiment of the present invention, and as shown in fig. 1, the hardware structure for data transmission according to the embodiment of the present invention includes: a data input circuit, a tag generation circuit and a packet header incorporation circuit on the transmitting side; a packet header parsing circuit and a data output circuit at a receiving side, wherein,
the data input circuit is used for reading corresponding data to be transmitted in the data storage space in sequence according to the initial address and the fragment length of the data block, the address read for the first time is software configuration, and the address read for each time is obtained by adding the fragment length to the previous address;
the identifier generating circuit is used for generating the number Aid of each data block of read-in data, the number Bid of each fragment in the data block and a self-defined time unit of the fragment sending time, namely a sending time stamp Cid;
the packet header integrating circuit is used for corresponding the data to be transmitted read by the data input circuit to the data block number Aid, the fragment number Bid and the sending time stamp Cid generated by the identifier generating circuit one by one to form a frame structure based on the Ethernet and sending the Ethernet data frame with the frame structure to the packet header analyzing circuit;
the packet header analyzing circuit is used for analyzing a data block number Aid, a fragment number Bid and a sending time stamp Cid from the frame structure and calculating an address of data to be transmitted;
and the data output circuit is used for writing the data to be transmitted to the storage space of the receiving side according to the address calculated by the packet header analyzing circuit.
Example one
Based on the above-mentioned bottom layer hardware, an embodiment of the present invention provides a data transmission method, which is applied to a first device, where the first device may be a BBU device or an RRU, and the following description of the embodiment of the present invention is performed with the first device as the BBU device, fig. 2 is a schematic diagram of an implementation flow of the data transmission method provided in the embodiment of the present invention, and as shown in fig. 2, the method for implementing data transmission by a BBU device at least includes the following steps:
step 101, obtaining a current address of data to be transmitted in a data block.
In the embodiment of the invention, in the process of transmitting data in the same data block, the BBU equipment needs to acquire the current address of the data to be transmitted in the data block, and can start to read data from the current address in the memory space where the data block is located according to the current address and the fragment length, read the data of the fragment length, and further obtain the corresponding data to be transmitted.
And 102, acquiring a candidate address of the data to be transmitted according to the current address and the preset fragment length.
In the embodiment of the invention, after the current address of the data to be transmitted in the data block is obtained, the BBU equipment obtains the candidate address of the data to be transmitted according to the current address and the preset fragment length, wherein the candidate address is the sum of the current address and the fragment length.
It should be noted that, in the embodiment of the present invention, the data to be transmitted is obtained according to the current address and the fragment length, and therefore, the sum of the current address and the fragment length, that is, the candidate address needs to be obtained first, and the candidate address is compared with the address corresponding to the data block, so that it is determined that the corresponding data to be transmitted can be obtained according to the current address and the fragment length.
And 103, when the candidate address is determined to be in the address section corresponding to the data block, acquiring the corresponding data to be transmitted and the identifier according to the current address and the preset fragment length.
In the embodiment of the invention, after the candidate address of the data to be transmitted is obtained, the BBU equipment compares the candidate address with the address corresponding to the data block, and when the candidate address is determined to be in the address section corresponding to the data block, the corresponding data to be transmitted and the identifier are obtained according to the current address and the fragment length; when the candidate address is determined not to be in the address segment corresponding to the data block, the fragment length is greater than the length of the address segment corresponding to the data block, and at this time, the accurate data to be transmitted cannot be acquired according to the current address and the fragment length.
It should be noted that, while obtaining the corresponding data to be transmitted according to the current address and the fragment length, the BBU device may add the identifier in a user-defined manner at the position of the payload or the packet header of each data frame to be transmitted, where the identifier includes a data block number, a data block fragment number, and a transmission timestamp, and is used to calculate the storage position of the data to be transmitted in the data block.
Illustratively, three segments of identifiers can be set, which are a data block number Aid, each fragment number Bid of the data block, and a sending timestamp Cid, wherein the fragment numbers Bid can be numbered according to a sequence of sending data to be transmitted, the fragment number Bid corresponding to the data to be transmitted obtained for the first time is sequentially recorded as 0, the fragment number Bid corresponding to the data to be transmitted obtained for the second time is recorded as 1, the fragment number Bid corresponding to the data to be transmitted obtained for the third time is recorded as 2, and by analogy, the fragment number Bid corresponding to the data to be transmitted obtained for the nth time is recorded as n-1.
It can be understood that, regarding the number Aid of each data block, if only 1 consecutive data block needs to be sent, this field may be removed; regarding the fragment number Bid of the data block, which is the fragment number in each data block, the fragment number Bid of the data to be transmitted in the data block may be recorded while the data to be transmitted is acquired; the sending timestamp Cid is actually a self-defined time unit number at the fragment sending time, and as a basis for timeout judgment, whether the identifier of the fragment is needed or not can be determined according to actual sending requirements or design.
Fig. 3 is a schematic diagram illustrating recording numbers of data blocks and slice numbers according to an embodiment of the present invention, as shown in fig. 3, two data blocks need to be sent, the numbers of the two data blocks are recorded as Aid (0) and Aid (1), a slice with the data block number of Aid (0) may be divided into slice numbers of Bid (0), bid (1), bid (2), bid (3) and Bid (4), and a slice with the data block number of Aid (1) may be divided into slice numbers of Bid (0), bid (1), bid (2) and Bid (3).
It should be noted that the fragmentation length can be configured to be less than or equal to 1536 bytes according to the ethernet protocol requirement.
Fig. 4 is a schematic diagram of an exemplary sending timestamp record according to an embodiment of the present invention, as shown in fig. 4, when data to be transmitted is sent, a unit of the sending timestamp may be defined by user, and sending timestamp numbers Cid (0) and Cid (1) may be set as Cid (0) and Cid (0); the transmission time stamp numbers Cid (1) and Cid (1) of the slice numbers Bid (2) and Bid (3) are set.
It should be noted that, after being powered on, software initializes and configures the length of the fragment, the start address of the data block, and the time stamp unit once, and the hardware inserts the corresponding identifier into the data frame to be transmitted while fragmenting.
And 104, processing the data to be transmitted and the identifier to obtain a data frame to be transmitted.
In the embodiment of the present invention, after the corresponding data to be transmitted and the identifier are obtained according to the current address and the preset fragment length, the BBU device further needs to process the data to be transmitted and the identifier to obtain the data frame to be transmitted, where the identifier may include a number Aid of the data block, a fragment number Bid of the data block, and a sending timestamp Cid.
Further, processing the data to be transmitted and the identifier to obtain a data frame to be transmitted, including: and combining the data to be transmitted, the serial number of the data block, the fragment serial number and the sending timestamp to obtain a data frame to be transmitted.
In the embodiment of the present invention, a packet header, a data block number Aid, a fragment number Bid, and a timestamp Cid defined by data to be transmitted and an ETH protocol may be combined into an ETH-based frame structure, fig. 5 is a schematic diagram of an exemplary ETH frame structure according to the embodiment of the present invention, and as shown in fig. 5, the ETH frame structure sequentially includes a frame packet header, a data block number Aid, a fragment number Bid, a timestamp Cid, and a last data Date to be transmitted, where positions of the three identifiers may be arbitrarily adjusted in the frame structure, and a bit width of each identifier may be customized according to a requirement.
It should be noted that, in the embodiment of the present invention, specific fields of the data block number Aid, the fragment number Bid, and the timestamp Cid in the ETH frame structure may be respectively set according to the ETH protocol, so that when the second device parses the ETH frame structure, the corresponding data block number Aid, the fragment number Bid, and the timestamp Cid may be extracted according to the agreed fields.
Illustratively, the data block number Aid may be set at byte 20 of the ethernet frame and the slice number Bid at byte 23 of the ethernet frame.
And 105, sending the data frame to be transmitted to the second equipment.
In the embodiment of the invention, after the data frame to be transmitted is obtained, the BBU equipment sends the data frame to be transmitted to the second equipment.
It should be noted that the second device may be a BBU device or an RRU device, and when the first device is a BBU device, the corresponding second device is an RRU device, and the second device is configured to parse the data frame to be transmitted and store the data frame to be transmitted.
Fig. 6 is a schematic view of an implementation flow of a data transmission method according to an embodiment of the present invention, as shown in fig. 6, in the embodiment of the present invention, the obtaining a current address of data to be transmitted in a data block, that is, step 101, and the bbu device implementing the data transmission method may include the following steps:
and 106, when the data to be transmitted in the data block is determined to be acquired for the first time, acquiring an initial address of the data block, and taking the initial address as the current address of the data to be transmitted.
It should be noted that the initial address and the slice length of the data block are initially configured by software at power-on.
In the embodiment of the invention, when data to be transmitted in a data block is determined to be read for the first time, whether the sum of the initial address and the fragment length of the data block is in an address segment corresponding to the data block needs to be judged, and if the sum of the initial address and the fragment length of the data block is in the address segment corresponding to the data block, the data and the record identifier are read according to the initial address and the fragment length; if the initial address and the fragment length of the data block are greater than the length of the data block, which indicates that the fragment length is greater than the length of the data block, the data of the fragment length cannot be read based on the initial address, and the data to be transmitted needs to be directly read according to the length of the data block.
And 107, when the data to be transmitted in the data block is determined to be not acquired for the first time, acquiring the last current address of the last data to be transmitted in the data block.
In the embodiment of the invention, because the BBU equipment takes the address obtained by superposing the last address of the last data to be transmitted and the fragment length as the next address of the next data to be transmitted, when the data to be transmitted in the data block is determined to be not obtained for the first time, the BBU equipment obtains the last current address of the last data to be transmitted in the data block.
And 108, overlapping the last current address and the preset fragment length, and taking the overlapped address as the current address of the data to be transmitted.
In the embodiment of the invention, after the last current address of the last data to be transmitted in the data block is obtained, the BBU equipment superposes the last current address and the preset fragment length, the superposed address is used as the current address of the data to be transmitted, and the superposed address can be used as the next address of the data to be transmitted in a sequential circulation manner.
Fig. 7 is a schematic flow chart of a third implementation procedure of a data transmission method according to an embodiment of the present invention, as shown in fig. 7, in the embodiment of the present invention, after sending a data frame to be transmitted to a second device, that is, after step 105, the BBU device implementation data transmission method may further include the following steps:
and step 109, acquiring the next address of the data to be transmitted next time according to the current address and the preset fragment length.
In the embodiment of the invention, after the corresponding data to be transmitted and the identifier are acquired according to the current address and the fragment length, because the data to be transmitted still exist in the data block, and the BBU device in the embodiment of the invention determines to read the length of the data to be transmitted according to the fragment length, the sum of the current address and the fragment length can be used as the next address of the data to be transmitted, and the next data to be transmitted can be acquired through the next address.
And step 110, acquiring a next candidate address of the data to be transmitted according to the next address and the preset fragment length.
In the embodiment of the present invention, after acquiring the next address of the data to be transmitted, the BBU device may further acquire the next candidate address of the data to be transmitted according to the next address and the preset fragment length, where the next candidate address is an address obtained by superimposing the next address and the fragment length, and is used to acquire the next data to be transmitted.
It should be noted that, because the embodiment of the present invention determines to read the data to be transmitted according to the fragment length, it is necessary to determine whether the length of the remaining data to be transmitted is greater than or equal to the fragment length, that is, whether the candidate address is in the address segment corresponding to the data block is compared, and then it is determined whether the corresponding data to be transmitted can be obtained according to the current address and the fragment length.
And step 111, when the next candidate address is not in the address section corresponding to the data block, acquiring a next data frame to be transmitted.
In the embodiment of the invention, after the next candidate address of the data to be transmitted is obtained, the BBU device needs to judge whether the candidate address is in the address section corresponding to the data block, when the next candidate address is in the address section corresponding to the data block, it indicates that the length of the data to be transmitted is greater than or equal to the fragment length, and the BBU device can obtain the corresponding data to be transmitted and the identifier according to the current address and the preset fragment length by using the next address as the current address.
After the BBU device sends the data frame to be transmitted to the second device according to the method in steps 101 to 105, the BBU device may further obtain a next address of the data to be transmitted according to steps 109 and 110 in sequence, compare a next candidate address obtained by a sum of the next address and the fragment length with an address corresponding to the data block, if the address is in an address segment corresponding to the data block, directly use the next address as a current address to obtain corresponding data to be transmitted, and send the data frame to be transmitted obtained by combining the data blocks to the second device.
And sequentially circulating until the next candidate address is determined not to be in the address field corresponding to the data block, taking the next address as the current address, and acquiring the residual data length of the data block according to the current address and the address field corresponding to the data block.
Further, when the next candidate address is not in the address segment corresponding to the data block, acquiring a next data frame to be transmitted, including: when the next candidate address is not in the address field corresponding to the data block, acquiring the remaining data length of the data block according to the next address and the address field corresponding to the data block; acquiring next data to be transmitted and a corresponding identifier according to the next address and the length of the residual data; and acquiring a data frame to be transmitted next time according to the data to be transmitted next time and the corresponding identifier until the data block is acquired.
It should be noted that, when it is determined that the next candidate address is not in the address segment corresponding to the data block, it indicates that the remaining data length of the data block is less than one fragment length, and therefore, data cannot be read according to the fragment length, and the remaining data length needs to be calculated.
And step 112, sending the data frame to be transmitted next time to the second device.
In the embodiment of the invention, after the next data frame to be transmitted is acquired and sent to the second device, the BBU device sends the next data frame to be transmitted to the second device.
It should be noted that, the process of circularly obtaining the current address and determining whether the next candidate address is in the address field corresponding to the data block may be performed after sending the data frame to be transmitted to the second device, or may be performed during sending the data frame to be transmitted, which is not limited in the embodiment of the present invention. The current address and the candidate address are obtained in the process of sending the data frame to be transmitted for judgment, and only one buffer is needed to be arranged for buffering the current address and the candidate address obtained through calculation.
The embodiment of the invention obtains the current address of the data to be transmitted in the data block; acquiring a candidate address of data to be transmitted according to the current address and a preset fragment length; when the candidate address is determined to be in the address section corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block; processing the data to be transmitted and the identifier to obtain a data frame to be transmitted; and sending the data frame to be transmitted to the second equipment, so that the large data can be sent in a fragmentation mode on the sending side, the participation degree of software is reduced, the resource consumption is reduced, and the resource utilization rate is improved.
Example two
Based on the above bottom layer hardware, another embodiment of the present invention provides a data transmission method, which is applied to a second device, where the second device may be a BBU device or an RRU device, and the following description of the embodiment of the present invention is performed with the second device as an RRU device, fig. 8 is a schematic diagram of an implementation flow of the data transmission method according to another embodiment of the present invention, and as shown in fig. 8, the method for implementing data transmission by an RRU device at least includes the following steps:
step 201, receiving a data frame to be transmitted sent by a first device.
In the embodiment of the invention, after the first device sends the data frame to be transmitted to the second device, the second device receives the data frame to be transmitted through the fronthaul interface, and the data frame to be transmitted comprises a packet header, a serial number Aid of a data block to which the data to be transmitted belongs, a fragment length Bid of the data block, a sending timestamp Cid and the data to be transmitted.
After receiving the data frame to be transmitted sent by the first device, the method may further include: and recording the receiving time stamp of the data frame to be transmitted, and comparing the receiving time stamp with the sending time stamp to be transmitted obtained through analysis to determine whether timeout exists.
Step 202, analyzing the data frame to be transmitted to obtain the corresponding identifier and the data to be stored.
In the embodiment of the invention, after receiving the data frame to be transmitted, the RRU equipment analyzes the data frame to be transmitted to obtain the corresponding identifier and the data to be stored, wherein the identifier obtained by analysis at least comprises the number Aid of the data block, the fragment length Bid and the sending timestamp Cid.
It should be noted that the number Aid, the fragment length Bid, the sending timestamp Cid, and the data to be stored of the data block may be extracted through an agreed field, where the data to be stored of the second device corresponds to the data to be transmitted of the first device.
After parsing the data frame to be transmitted and obtaining the corresponding identifier, the method may further include: when the difference value between the sending time stamp and the receiving time stamp meets the preset condition, determining that the data frame to be transmitted is overtime; discarding the data frame to be transmitted.
In the embodiment of the invention, the second device acquires the sending time stamp of the first device transmission data of the ETH data frame, at this time, the second device can also set a receiving time stamp for receiving the ETH data frame, whether the time is overtime can be determined according to the sending time stamp and the receiving time stamp, when the time is overtime is determined, the received ETH data frame needs to be discarded so as to ensure the timeliness of the 5G front transmission interface data, when the time is not overtime, the identifier is calculated to obtain the storage address of the data frame to be transmitted, and the data to be transmitted in the data frame to be transmitted is written according to the storage address.
Illustratively, the timestamp sent by the first device obtained by the second device through parsing is 1 second to 2 seconds, the link is transmitted for 1 second, and the receiving timestamp recorded by the second device is 2 seconds to 3 seconds, which indicates that the timestamp of the first device and the timestamp of the second device can be paired up, and if the timestamp received by the second device is 5 seconds to 6 seconds, indicates that the timestamp of the first device and the timestamp of the second device can be paired up, that is, the first device sends a timeout.
And 203, calculating the identifier to obtain a storage address of the data to be stored.
In the embodiment of the invention, after the corresponding identifier is obtained, the RRU equipment calculates the identifier to obtain the storage address of the data frame to be transmitted, wherein the identifier comprises a data block number and a fragment number in the data block.
Further, the step of calculating the identifier to obtain the storage address of the data frame to be transmitted includes: searching an initial address of data block initialization configuration through the data block number; obtaining an offset address of a packet to be transmitted according to the fragment number and a preset fragment length; and obtaining the storage address of the data frame to be transmitted according to the offset address and the initial address.
In the embodiment of the invention, the second device needs to initialize the fragment length, the initial address of the data block and the time stamp unit which are matched with the first device once, at this time, the initial address configured by software can be obtained through the data block number Aid, and because the first device reads data by taking the sum of the current address and the fragment length as the current address again in sequence, the offset address can be obtained according to the multiplication of the fragment number Bid and the configured wavelength, so that the storage address of the data to be transmitted carried in the data frame to be transmitted can be obtained through the offset address and the initial address.
Illustratively, the slice number Bid is 2, and the offset address is equal to 2 multiplied by the configured slice length, and the corresponding storage address can be obtained based on the sum of the offset address and the initial address.
And step 204, writing the data to be stored into the storage address.
In the embodiment of the invention, after the storage address is obtained, the RRU equipment writes the data to be stored into the storage address.
It can be understood that, according to the initial address and the offset address, the RRU device in the embodiment of the present invention may obtain the storage location of the data to be stored in the storage space of the BBU device on the transmitting side, write the data to be stored according to the storage location, and so on, may write all the data to be stored received by the RRU device to the corresponding location, so that one-to-one, one-to-many, and one-to-one data copying between the RRU device and the BBU device may be completed, and meanwhile, because the second device calculates the written storage address according to the initial address and the offset address, the RRU device on the receiving side may also support out-of-order reception.
According to the embodiment of the invention, the initial address and the offset address of the data to be stored can be obtained according to the identifier of the data frame to be transmitted, and then the data to be stored is stored according to the obtained address, so that the data recombination at the receiving side can be completed.
EXAMPLE III
Based on the same inventive concept of the first embodiment and the second embodiment, the embodiment of the present invention provides a data transmission interaction implementation method, which is applied to a first device and a second device, where when the first device is an RRU device, the corresponding second device is a BBU device, when the first device is a BBU device, the corresponding second device is an RRU device, and the following description of the embodiment is performed by taking the first device as a BBU device and the second device as an RRU device as an example, fig. 9 is a first interaction diagram of data transmission provided in the embodiment of the present invention, and as shown in fig. 9, implementing data transmission at least includes the following steps:
step 301, obtaining the current address of the data to be transmitted in the data block.
Step 302, obtaining a candidate address of the data to be transmitted according to the current address and a preset fragment length.
And 303, when the candidate address is determined to be in the address field corresponding to the data block, acquiring the corresponding data to be transmitted and the identifier according to the current address and the preset fragment length.
And step 304, processing the data to be transmitted and the identifier to obtain a data frame to be transmitted.
And step 305, sending the data frame to be transmitted to the second device.
And step 306, analyzing the data frame to be transmitted to obtain the corresponding identifier and the data to be stored.
Step 307, calculating the identifier to obtain a storage address of the data to be stored.
And 308, writing the data to be stored into the storage address.
The first device sends the data to be transmitted in a fragmentation mode on the sending side, and the second device recombines the data to be stored on the receiving side, so that the problem that software fragmentation overhead is too large when ETH is used as a forward transmission interface can be solved, and resource consumption is reduced.
Based on that a BBU device sends a fragment of data to be transmitted on a sending side, this embodiment provides a data transmission method, which is applied to the BBU device, and takes a data frame to be transmitted as an ETH data frame for example, and fig. 10 is an interaction schematic diagram of data transmission provided in this embodiment of the present invention, where as shown in fig. 10, implementation of data transmission by the BBU device at least includes the following steps:
step 401, configuring, by software, a starting address and a fragment length of the data block, and taking the starting address as a current address.
In the embodiment of the invention, after the first device is powered on, the software initializes the configuration fragment length once, namely the packet length, the initial address of the data block and the length of the data block.
Step 402, starting to transmit a data frame to be transmitted at a time.
Step 403, judging whether the sum of the current address and the fragment length is less than or equal to the length of the data block, if so, turning to step 404; otherwise, go to step 406.
And step 404, determining the read address as the current address, and determining the read length as the fragment length.
Step 405, obtaining a current address, where the current address is the sum of the current address and the fragment length.
Step 406, determining the read address as the current address, and determining the read length as the difference between the data block length and the current address.
In the embodiment of the present invention, by analogy with steps 404 and 405, until the first device determines that the sum of the current address and the packet length is greater than the length of the data block, it indicates that the data to be transmitted read by the first device is less than one packet length, that is, the data to be transmitted cannot be obtained by using the read address as the current address and the read length as the packet length, and the length of the remaining data to be transmitted needs to be obtained first.
Since the length of the data block is readable, the length of the remaining data to be transmitted can be obtained by subtracting the length of the current address from the length of the data block, and thus, the read length needs to be additionally set as the difference between the length of the data block and the current address.
Step 407, acquiring the data to be transmitted and the corresponding identifier based on the read address and the read length.
In the embodiment of the invention, after the identifier corresponding to the data to be transmitted is obtained and the first package sending is started, the data block number Aid corresponding to the read data to be transmitted can be set to be X, the fragment number Bid is 0 and the timestamp Cid;
starting the second package sending, wherein the data block number Aid corresponding to the read data to be transmitted can be set to be X, the fragment number Bid is 1 and the timestamp Cid;
by analogy, the nth packet sending can set the data block number Aid of the read data to be transmitted as X, the fragment number Bid as n-1 and the timestamp Cid corresponding to the read data to be transmitted.
And step 408, combining the data to be transmitted and the corresponding identifier to obtain an ETH data frame.
In the embodiment of the invention, the acquired data to be transmitted and the packet header, the data block number Aid, the fragment number Bid and the timestamp Cid defined by the ETH protocol are combined into a complete frame structure based on the Ethernet, namely an ETH data frame.
Step 409, sending the ETH data frame to the RRU device.
In the embodiment of the invention, when the first device is a BBU device, the corresponding second device is an RRU device; when the first device is an RRU device, the corresponding second device is a BBU device.
Correspondingly, after the sending side sends the ETH data frame to the second device, the RRU device on the receiving side writes based on the received ETH data frame, fig. 11 is a third interaction diagram of data transmission according to an embodiment of the present invention, and as shown in fig. 11, the RRU device implements data transmission including the following steps:
and step 501, receiving an ETH data frame sent by the BBU equipment.
Step 502, the ETH data frame is analyzed, and the corresponding data block number Aid, the fragment number Bid, the timestamp Cid and the data to be stored are obtained.
In the embodiment of the invention, the RRU equipment can acquire the sending time stamp of the data transmitted by the BBU equipment of the ETH data frame, at this time, the RRU equipment can also set a receiving time stamp for receiving the ETH data frame, whether the time is overtime can be determined according to the sending time stamp and the receiving time stamp, and when the time is overtime, the received ETH data frame needs to be discarded so as to ensure the timeliness of the 5G forwarding interface data.
Illustratively, the time stamp sent by the BBU device and analyzed and obtained by the RRU device is 1 second to 2 seconds, the link is transmitted for 1 second, and the receiving time stamp recorded by the RRU device is 2 seconds to 3 seconds, which indicates that the time stamp of the BBU device and the time stamp of the RRU device can be aligned, and if the time stamp received by the RRU device is 5 seconds to 6 seconds, which indicates that the time stamp of the BBU device and the time stamp of the RRU device cannot be aligned, that is, the BBU device is sent overtime.
Step 503, acquiring an initial address of the software configuration through the data block number Aid, and obtaining an offset address by multiplying the fragment number Bid by the configured wavelength.
In the embodiment of the invention, the RRU equipment needs to initialize the fragment length of the BBU equipment, the initial address of the data block and the time unit once, at this time, the initial address configured by software can be obtained through the data block number Aid, and as the BBU equipment reads data by taking the sum of the current address and the packet length as the current address again in sequence, the offset address can be obtained according to the multiplication of the fragment number Bid and the configured wavelength.
Illustratively, the slice number Bid is 2, and the offset address can be obtained by multiplying the slice number 2 by the configured packet length.
And step 504, acquiring a storage address of the data to be stored according to the initial address and the offset address, and writing the data to be stored into the storage address.
In the embodiment of the invention, the storage position of the ETH data frame in the storage space of the data block in the BBU side can be obtained according to the initial address and the offset address, the data is written according to the position, and by analogy, all effective data received by the RRU equipment can be written into the corresponding position, so that the data copy between the BBU equipment and the RRU equipment can be completed, and meanwhile, the RRU equipment on the receiving side supports out-of-order receiving because the RRU equipment stores the writing position calculated according to the initial address and the offset address.
The embodiment of the invention can complete the fragmentation of the large block data on the sending side and the recombination of the large block data on the receiving side through bottom layer hardware, so that the software participation degree is low, meanwhile, the sending side sets the identifiers according to the sequence, the receiving side stores the identifiers according to the addresses obtained by the identifiers, and one-to-one, one-to-many and one-to-one data copying between the sending side and the receiving side can be realized.
Example four
Based on the same inventive concept of the first to third embodiments, the first device according to the first embodiment of the present invention is provided, fig. 12 is a schematic view of a first constitutional structure of the first device according to the first embodiment of the present invention, as shown in fig. 12, the first device 600 includes an obtaining module 601 and a sending module 602, wherein,
the obtaining module 601 is configured to obtain a current address of data to be transmitted in a data block; acquiring a candidate address of the data to be transmitted according to the current address and a preset fragment length; when the candidate address is determined to be in the address segment corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block; processing the data to be transmitted and the identifier to obtain a data frame to be transmitted;
the sending module 602 is configured to send the data frame to be transmitted to a second device.
In other embodiments, the first device 600 further comprises:
a first determining module 603, configured to, when it is determined that the data to be transmitted in the data block is obtained for the first time, obtain an initial address of the data block, and use the initial address as the current address of the data to be transmitted;
in other embodiments, the first device 600 further comprises:
a second determining module 604, configured to, when it is determined that the data to be transmitted in the data block is not obtained for the first time, obtain a last current address of last data to be transmitted in the data block;
the superimposing module 605 is configured to superimpose the current address of the last time and the preset fragment length, and use the superimposed address as the current address of the data to be transmitted.
In other embodiments, the first device 600 further comprises:
a first obtaining module 606, configured to obtain a next address of data to be transmitted next time according to the current address and the preset fragmentation length; acquiring a next candidate address of the data to be transmitted according to the next address and the preset fragment length; when the next candidate address is not in the address section corresponding to the data block, acquiring a next data frame to be transmitted;
a first sending module 607, configured to send the next data frame to be transmitted to the second device.
In other embodiments, the first obtaining unit 606 specifically includes:
a second obtaining module 608, configured to, when the next candidate address is not in the address segment corresponding to the data block, obtain the remaining data length of the data block according to the next address and the address segment corresponding to the data block; acquiring the next data to be transmitted and a corresponding identifier according to the next address and the length of the residual data; and acquiring the data frame to be transmitted next time according to the data to be transmitted next time and the corresponding identifier until the data block is acquired.
In other embodiments, the obtaining module 601 specifically includes:
a third obtaining module 609, configured to combine the data to be transmitted, the number of the data block, the fragment number, and the sending timestamp to obtain the data frame to be transmitted.
EXAMPLE five
Based on the same inventive concept of the first to third embodiments, the embodiment of the present invention provides a second device, fig. 13 is a schematic structural diagram of the second device provided in the embodiment of the present invention, as shown in fig. 13, the second device 700 includes a receiving module 701, an analyzing module 702, a third obtaining module 703 and a writing module 704, wherein,
the receiving module 701 is configured to receive a data frame to be transmitted, which is sent by a first device;
the parsing module 702 is configured to parse the data frame to be transmitted to obtain a corresponding identifier and data to be stored;
the fourth obtaining module 703 is configured to calculate the identifier to obtain a storage address of the data to be stored;
the writing module 704 is configured to write the data to be stored into the storage address.
In other embodiments, the fourth obtaining unit 703 specifically includes:
searching an initial address of the data block initialization configuration through the data block number; obtaining an offset address of the data to be stored according to the fragment number of the data block and a preset fragment length; and obtaining the storage address of the data to be stored according to the offset address and the initial address.
In other embodiments, the second device 700 further comprises:
a recording module 705, configured to record a receiving timestamp of the data frame to be transmitted;
a third determining module 706, configured to determine that the data frame to be transmitted is overtime and discard the data frame to be transmitted when it is determined that a difference between the sending timestamp and the receiving timestamp meets a preset condition.
According to the embodiment of the invention, the first equipment fragment sending and the second equipment receiving and recombining can be realized based on the bottom hardware, so that the problem of overlarge software fragment overhead when the ETH is used as a forward interface is solved, and the resource consumption rate is reduced.
EXAMPLE six
Based on the same inventive concept of the first to fourth embodiments, fig. 14 is a schematic structural diagram of a second composition of the first device according to the second embodiment, and as shown in fig. 14, the first device at least includes a first processor 01, a first communication bus 02, a first memory 03 and a first communication interface 04, where the first communication bus 02 is used for implementing connection communication among the first processor 01, the first communication interface 04 and the first memory 03; the first communication interface 04 is used for data transmission with the second device; the first processor 01 is configured to execute the data transmission program stored in the first memory 03 to implement the steps of the data transmission method provided in the first embodiment and the third embodiment.
Based on the same inventive concept of the first to fourth embodiments, an embodiment of the present invention provides a second device, fig. 15 is a schematic structural diagram of the second device provided in the embodiment of the present invention, and as shown in fig. 15, the second device at least includes a second processor 05, a second communication bus 08, a second memory 06, and a second communication interface 07, where the second communication bus 08 is used to implement connection communication among the second processor 05, the second communication interface 08, and the second memory 06; the second communication interface 07 is used for data transmission with the first device; the second processor 05 is configured to execute the data transmission program stored in the second memory 06 to implement the steps of the data transmission method provided in the second and third embodiments.
In addition, each component in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: examples of the medium that can store the program code include a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, and a Compact Disc Read-Only Memory (CD-ROM), and the embodiments of the present invention are not limited thereto.
Based on the foregoing embodiments, an embodiment of the present invention provides a computer-readable storage medium, on which a data transmission program is stored, where the data transmission program, when executed by the first processor and the second processor, implements the data transmission method in the first to third embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (11)

1. A data transmission method, applied to a first device, the method comprising:
acquiring a current address of data to be transmitted in a data block;
acquiring a candidate address of the data to be transmitted according to the current address and a preset fragment length;
when the candidate address is determined to be in the address segment corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block;
processing the data to be transmitted and the identifier to obtain a data frame to be transmitted;
sending the data frame to be transmitted to second equipment;
acquiring a next address of data to be transmitted next time according to the current address and the preset fragment length;
acquiring a next candidate address of the data to be transmitted according to the next address and the preset fragment length;
when the next candidate address is not in the address field corresponding to the data block, acquiring the remaining data length of the data block according to the next address and the address field corresponding to the data block; acquiring the next data to be transmitted and a corresponding identifier according to the next address and the length of the residual data; acquiring a data frame to be transmitted next time according to the data to be transmitted next time and the corresponding identifier until the data block is acquired;
and sending the next data frame to be transmitted to the second equipment.
2. The method of claim 1, wherein the obtaining the current address of the data to be transmitted in the data block comprises:
when the data to be transmitted in the data block is determined to be acquired for the first time, acquiring an initial address of the data block, and taking the initial address as the current address of the data to be transmitted.
3. The method of claim 1, wherein the obtaining the current address of the data to be transmitted in the data block comprises:
when the data to be transmitted in the data block is determined to be not acquired for the first time, acquiring the last current address of the last data to be transmitted in the data block;
and overlapping the last current address and the preset fragment length, and taking the overlapped address as the current address of the data to be transmitted.
4. The method of claim 1, wherein the identifier comprises a number of a data block, a slice number of the data block, and a transmission timestamp, and wherein processing the data to be transmitted and the identifier to obtain a data frame to be transmitted comprises:
and combining the data to be transmitted, the number of the data block, the fragment number and the sending timestamp to obtain the data frame to be transmitted.
5. A data transmission method, applied to a second device, the method comprising:
receiving a data frame to be transmitted sent by first equipment;
analyzing the data frame to be transmitted to obtain a corresponding identifier and data to be stored;
calculating the identifier to obtain a storage address of the data to be stored;
writing the data to be stored into the storage address;
the identifier includes a data block number and a fragment number in the data block, and the calculating the identifier to obtain the storage address of the data to be stored includes:
searching an initial address of the data block initialization configuration through the data block number;
obtaining the offset address of the data to be stored according to the fragment number of the data block and a preset fragment length;
and obtaining the storage address of the data to be stored according to the offset address and the initial address.
6. The method of claim 5, wherein after the receiving a data frame to be transmitted sent by the first device, the method further comprises:
recording a receiving time stamp of the data frame to be transmitted;
correspondingly, the identifier includes a sending timestamp, and after the data frame to be transmitted is analyzed to obtain the corresponding identifier and the data to be stored, the method further includes:
and when the difference value between the sending time stamp and the receiving time stamp meets the preset condition, determining that the data frame to be transmitted is overtime, and discarding the data frame to be transmitted.
7. A first device, comprising an acquisition module, a sending module, wherein,
the acquisition module is used for acquiring the current address of the data to be transmitted in the data block; acquiring a candidate address of the data to be transmitted according to the current address and a preset fragment length; when the candidate address is determined to be in the address segment corresponding to the data block, acquiring corresponding data to be transmitted and an identifier according to the current address and the preset fragment length, wherein the identifier is used for representing the storage position of the data to be transmitted in the data block; processing the data to be transmitted and the identifier to obtain a data frame to be transmitted; acquiring a next address of data to be transmitted next time according to the current address and the preset fragment length; acquiring a next candidate address of the data to be transmitted according to the next address and the preset fragment length; when the next candidate address is not in the address field corresponding to the data block, acquiring the remaining data length of the data block according to the next address and the address field corresponding to the data block; acquiring the next data to be transmitted and a corresponding identifier according to the next address and the length of the residual data; acquiring a data frame to be transmitted next time according to the data to be transmitted next time and the corresponding identifier until the data block is acquired;
the sending module is used for sending the data frame to be transmitted to the second equipment; and sending the data frame to be transmitted next time to the second equipment.
8. A second device, characterized in that the second device comprises a receiving module, a parsing module, a third obtaining module and a writing module, wherein,
the receiving module is used for receiving a data frame to be transmitted, which is sent by first equipment;
the analysis module is used for analyzing the data frame to be transmitted to obtain a corresponding identifier and data to be stored;
the third obtaining module is configured to calculate the identifier to obtain a storage address of the data to be stored;
the writing module is used for writing the data to be stored into the storage address;
the third obtaining module is used for searching the initial address of the data block initialization configuration through the data block number; obtaining an offset address of the data to be stored according to the fragment number of the data block and a preset fragment length; and obtaining the storage address of the data to be stored according to the offset address and the initial address.
9. A first device comprising at least a first processor, a first memory storing instructions executable by the first processor, and a first bus connecting the first processor and the first memory, the instructions when executed causing the first processor to perform the method of any of claims 1 to 4.
10. A second device comprising at least a second processor, a second memory storing instructions executable by the second processor, and a second bus connecting the second processor and the second memory, the second processor implementing the method of claim 5 or 6 when the instructions are executed.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a first processor, carries out the method of any one of claims 1 to 4, or which, when being executed by a second processor, carries out the method of claim 5 or 6.
CN201811419349.3A 2018-11-26 2018-11-26 Data transmission method, data transmission equipment and computer readable storage medium Active CN111224903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419349.3A CN111224903B (en) 2018-11-26 2018-11-26 Data transmission method, data transmission equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419349.3A CN111224903B (en) 2018-11-26 2018-11-26 Data transmission method, data transmission equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111224903A CN111224903A (en) 2020-06-02
CN111224903B true CN111224903B (en) 2022-10-14

Family

ID=70827104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419349.3A Active CN111224903B (en) 2018-11-26 2018-11-26 Data transmission method, data transmission equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111224903B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115264B (en) * 2021-04-08 2023-02-07 北京全路通信信号研究设计院集团有限公司 Method, device, equipment and medium for transmitting train-to-train data
CN113438187B (en) * 2021-06-23 2022-12-27 广州极飞科技股份有限公司 Data transmission method, device, transmission equipment and readable storage medium
CN115225593B (en) * 2022-06-30 2023-11-28 中科驭数(北京)科技有限公司 Method, device, equipment and medium for reorganizing fragmented messages
CN116974977A (en) * 2023-07-26 2023-10-31 中科驭数(北京)科技有限公司 Data transmission method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187896A (en) * 2007-12-14 2008-05-28 中兴通讯股份有限公司 On-spot programmable gate array data cache management method
CN102223305A (en) * 2011-06-17 2011-10-19 华为数字技术有限公司 Methods, devices and systems for transmitting and receiving data
CN102647251A (en) * 2012-03-26 2012-08-22 北京星网锐捷网络技术有限公司 Data transmission method and system, sending terminal equipment as well as receiving terminal equipment
CN106330788A (en) * 2016-08-19 2017-01-11 北京网迅科技有限公司杭州分公司 Message fragmentation transmission method and apparatus
CN106775481A (en) * 2016-12-23 2017-05-31 华为技术有限公司 Method for reading data and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187896A (en) * 2007-12-14 2008-05-28 中兴通讯股份有限公司 On-spot programmable gate array data cache management method
CN102223305A (en) * 2011-06-17 2011-10-19 华为数字技术有限公司 Methods, devices and systems for transmitting and receiving data
CN102647251A (en) * 2012-03-26 2012-08-22 北京星网锐捷网络技术有限公司 Data transmission method and system, sending terminal equipment as well as receiving terminal equipment
CN106330788A (en) * 2016-08-19 2017-01-11 北京网迅科技有限公司杭州分公司 Message fragmentation transmission method and apparatus
CN106775481A (en) * 2016-12-23 2017-05-31 华为技术有限公司 Method for reading data and equipment

Also Published As

Publication number Publication date
CN111224903A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111224903B (en) Data transmission method, data transmission equipment and computer readable storage medium
US11736978B2 (en) Method and apparatus for receiving CPRI data stream, method and apparatus for receiving ethernet frame, and system
US9042839B2 (en) Mobile communication terminal test system and mobile communication terminal test method
US9906491B2 (en) Improving transmission efficiency of data frames by using shorter addresses in the frame header
CN108631873B (en) Method and device for transmitting and receiving network management information, transmitting equipment and receiving equipment
WO2015027813A1 (en) Method and device for determining ethernet clock source
CN107204924B (en) Link discovery method and device
EP4057576A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
CN110535812B (en) Message transmission method, communication device and system
CN108173763B (en) Message processing method, device and system
CN107070719B (en) Equipment management method and device
JP6929946B2 (en) Data transmission method, device, transmitting end, receiving end and system
US11799576B2 (en) Data sending method and apparatus, and FlexE switching system
CN113179215B (en) Networking communication method, system, node device, storage medium and electronic device
CN112737995B (en) Method, device and equipment for processing Ethernet frame and storage medium
CN109787900B (en) Transmission method, device, equipment and machine readable medium
US9014188B2 (en) Communication system
CN108460044B (en) Data processing method and device
CN113014510A (en) Data caching method and device in distributed test of inertial navigation system
CN111225077A (en) Network distribution method, device and system for Internet of things equipment
CN113141520A (en) Video stream transmission method and device, electronic equipment and storage medium
CN106961372B (en) Method and system for realizing multiple IP shared ports configured with different VLANs
CN112995101B (en) Service message transmission method and device
CN114189565B (en) Head area restoration system, method and related equipment
CN115987513B (en) Distributed database fragment encryption and decryption methods, devices, equipment and media

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