A data transmission method, device and system

A data transmission method and data packet technology are applied in the fields of devices and systems, and data transmission methods, and can solve the problems of unguaranteed reliability of data transmission, low reliability of data transmission, and reduced system performance.

Active Publication Date: 2018-03-09
HUAWEI TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the prior art, the inventors of the present invention found that although the prior art can guarantee the reliability of data to a certain extent, it can only guarantee the packet-based communication between two PCIe devices. Reliability, that is, it can only guarantee the reliability of data transmission between point-to-point and the reliability of a TLP data packet, but for the reliability of data transmission between end-to-end and the reliability of a valid data block It cannot be guaranteed, that is to say, the reliability of data transmission in the prior art is not high, and the CPU is required to participate in confirming whether the data transmission is wrong, therefore, it greatly affects the processing efficiency of the system, thereby reducing the performance of the entire system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data transmission method, device and system
  • A data transmission method, device and system
  • A data transmission method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] This embodiment will be described from the perspective of a source endpoint device, and the source endpoint device may specifically be a device such as a NIC.

[0066] Such as Figure 1b As shown, the specific process of the data transmission method can be as follows:

[0067] 101. The source endpoint device receives an I / O request sent by a server, where the I / O request carries a data block to be written.

[0068] It should be noted that the data block to be written in the embodiment of the present invention specifically refers to a data block of the data (DATA) type. If the I / O request received by the source endpoint device is a command (command) type The data block can be directly transparently transmitted without processing. Of course, the data type can not be distinguished, that is, the data block to be written described in the embodiment of the invention can also be a data (DATA) type data block and The data blocks of the instruction (command) class, that is to ...

Embodiment 2

[0097] In this embodiment, it will be described by taking that the source endpoint device is specifically a NIC, and the destination endpoint device is specifically a CPM as an example.

[0098] Such as Figure 2a As shown, the PCIe system includes a NIC and a CPM. In addition, it can also include a PCIe switch (switch) device and a CPU, etc., wherein the NIC is a network device, the CPM is a device for storing data, and the CPU is a system controller. The PCIe switching device is a device that can expand the limited PCIe port, and it can enable more endpoint devices to be connected to the CPU. For example, the functions of each device can be as follows:

[0099] (1) NIC;

[0100] The NIC is used to receive the I / O request sent by the server through a network cable or wirelessly, wherein the I / O request carries a data block to be written, and the number of data packets to be used is determined according to the size of the data block, and then according to the data The number...

Embodiment 3

[0134] In order to better implement the above method, the embodiment of the present invention also provides a source endpoint device, such as Figure 3a As shown, the source endpoint device may include a receiving unit 301, a determining unit 302, a numbering unit 303, a sending unit 304, and a processing unit 305, as follows:

[0135] The receiving unit 301 is configured to receive an I / O request sent by a server, where the I / O request carries a data block to be written.

[0136] A determining unit 302, configured to calculate the number of data packets required to transmit the data block according to the size of the data block to be written

[0137] For example, the determining unit 302 can specifically be used to determine the size of the data block and determine the size of each data packet, and calculate the number of data packets needed to transmit the data block according to the size of the data block and the size of each data packet .

[0138] For example, the size o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a data transmission method, a data transmission device and a date transmission system. According to the embodiment of the invention, an I / O request carrying a data block to be written, which is sent by a server, is received by source endpoint equipment, the amount of data packets to be used is determined according to the magnitude of the data block, the data packets of the data block are numbered according to the amount of the data packets, the data packets of the date block are sent according to the numbers, a success respond message which is returned by destination endpoint equipment and carries the numbers of the data packets is received, and when the condition that all data packets of the data block are successfully received by the destination endpoint equipment is determined according to the numbers which are carried by the success respond message, an instruction which instructs the transmission completion is sent to a CPU (Central Processing Unit). According to the scheme, the reliable end-to-end transmission of one data block in a PCIe (Peripheral Component Interconnect express) network is realized. The processing efficiency of the system can be improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data transmission method, device and system. Background technique [0002] With the increase of external functions provided by the storage system, multiple functional chips are often required in the system to work together. In the X86 architecture, the central processing unit (CPU, Central Processing Unit) can be interconnected with functional chips through multiple peripheral component interconnection standard expansion (PCIe, Peripheral Component Interconnect Express) ports, and each functional chip is in the system It is a PCIe endpoint (endpoint) device. As the number of endpoint devices that the CPU needs to interconnect increases, the number of external ports of the CPU will also be insufficient. At this time, it is necessary to use a PCIe switch device to expand the limited ports so that more endpoints Devices can be connected to the CPU. [0003] In th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/38
Inventor 杜阁刘华伟刘金水
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products