CN113746754A - Data transmission method, device, equipment and storage medium - Google Patents

Data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN113746754A
CN113746754A CN202110866023.0A CN202110866023A CN113746754A CN 113746754 A CN113746754 A CN 113746754A CN 202110866023 A CN202110866023 A CN 202110866023A CN 113746754 A CN113746754 A CN 113746754A
Authority
CN
China
Prior art keywords
command
feedback
group
equipment
data transmission
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
Application number
CN202110866023.0A
Other languages
Chinese (zh)
Other versions
CN113746754B (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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Smart Computing 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 Guangdong Inspur Smart Computing Technology Co Ltd filed Critical Guangdong Inspur Smart Computing Technology Co Ltd
Priority to CN202110866023.0A priority Critical patent/CN113746754B/en
Publication of CN113746754A publication Critical patent/CN113746754A/en
Application granted granted Critical
Publication of CN113746754B publication Critical patent/CN113746754B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/26Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
    • H04L47/263Rate modification at the source after receiving feedback
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data transmission method, a device, equipment and a storage medium; according to the scheme, when the host device and the FPGA accelerating device send data to the other side, not only the current data to be sent need to be sent, but also historical data need to be sent.

Description

Data transmission method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission method, apparatus, device, and storage medium.
Background
OpenCL (Open Computing Language) is a framework for writing programs for heterogeneous platforms, which may be composed of a CPU (central processing unit), a GPU (graphics processing unit), or other types of processors. OpenCL consists of a language (based on C99) for writing kernels (functions running on OpenCL devices) and a set of APIs (Application Programming Interface) for defining and controlling the platform. OpenCL provides a parallel computing mechanism based on task segmentation and data segmentation. Distributed management and cloud management of acceleration devices have become a trend. An FPGA (Field Programmable Gate Array) cloud is a core computing power of cloud computing, and is also a novel industry solution. Firstly, the method is a heterogeneous computing platform system structure, improves the computing performance, the energy efficiency ratio and the computing real-time performance through design means such as parallelism and pipelining, and performs hardware acceleration processing on the application. In the standard framework using OpenCL, invoking a computing unit of an FPGA is a popular use scheme at present.
At present, data communication is carried out between a host device and an FPGA accelerating device through a network, when the network state is smooth and stable, the working mode can work normally, but when the network is congested or transmission is unstable, serious overtime and packet loss can occur. This results in a reduction in the efficiency of data transfer and command transfer between the host and the FPGA acceleration device.
Therefore, how to avoid the phenomena of serious timeout and packet loss when the host device and the FPGA acceleration device transmit data and improve the data transmission efficiency is a problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a data transmission method, a data transmission device, data transmission equipment and a storage medium, so that serious overtime and packet loss phenomena are avoided when data are transmitted by host equipment and FPGA acceleration equipment, and the data transmission efficiency is improved.
In order to achieve the above object, a data transmission method provided by the present invention includes:
the method comprises the steps that the host device determines all commands to be sent to the FPGA accelerating device;
when the host equipment sends a current command, generating a command group according to the current command and a historical command, and sending the command group to the FPGA accelerating equipment;
the host device receives a command feedback group which is sent by the FPGA acceleration device and corresponds to the current command, wherein the command feedback group comprises: current command feedback and historical command feedback.
Before the host device determines each command to be sent to the FPGA acceleration device, the method further includes:
the host equipment sends original data to be calculated to the FPGA acceleration equipment;
and after receiving the original data feedback sent by the FPGA acceleration equipment, the host equipment executes the step that the host equipment determines each command to be sent to the FPGA acceleration equipment.
Wherein, the generating a command group according to the current command and the historical command comprises:
setting the number of each command according to the sending sequence of each command; wherein, the earlier the sending sequence of the commands is, the smaller the serial number of the commands is;
determining a first number of a current command and a second number smaller than the first number;
taking the command corresponding to the second number as a history command;
generating a command group according to the current command and the historical command; the current command in the group of commands has a first number and the historical commands have a second number.
Wherein, the data transmission method further comprises:
after receiving the command group, the FPGA acceleration equipment acquires the current command from the command group to respond and generates current command feedback;
taking command feedback corresponding to the second number as historical command feedback;
and generating a command feedback group according to the current command feedback and the historical command feedback, and sending the command feedback group to the host equipment.
Wherein the method further comprises:
and if the FPGA acceleration equipment detects that the target command is lost, searching a corresponding historical command from the command group and responding by the FPGA acceleration equipment.
Wherein the method further comprises:
and if the host equipment detects that the target command feedback packet is lost, the host equipment searches corresponding historical command feedback from the command feedback group.
To achieve the above object, the present invention further provides a data transmission device, comprising:
the determining module is used for determining each command to be sent to the FPGA accelerating equipment through the host equipment;
the first generation module is used for generating a command group according to the current command and the historical command when the current command is sent;
the first sending module is used for sending the command group to the FPGA acceleration equipment;
a receiving module, configured to receive a command feedback group corresponding to the current command and sent by the FPGA acceleration device, where the command feedback group includes: current command feedback and historical command feedback.
Wherein the apparatus further comprises:
the second sending module is used for sending the original data to be calculated to the FPGA accelerating equipment;
wherein the determining module is specifically configured to: and after receiving the original data feedback sent by the FPGA acceleration equipment, determining each command to be sent to the FPGA acceleration equipment.
To achieve the above object, the present invention further provides an electronic device comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the data transmission method when executing the computer program.
To achieve the above object, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when being executed by a processor, implements the steps of the above data transmission method.
As can be seen from the above solutions, a data transmission method provided in an embodiment of the present invention includes: the method comprises the steps that the host device determines all commands to be sent to the FPGA accelerating device; when the host equipment sends a current command, generating a command group according to the current command and a historical command, and sending the command group to the FPGA accelerating equipment; the method comprises the following steps that a host device receives a command feedback group which is sent by an FPGA accelerating device and corresponds to a current command, and the command feedback group comprises: current command feedback and historical command feedback. Therefore, when the host device and the FPGA accelerating device in the scheme send data to the other side, not only the current data to be sent needs to be sent, but also historical data needs to be sent, and by the mode, when the host device and the FPGA accelerating device transmit the data, even if the phenomena of timeout and packet loss occur, relevant data can be obtained from historical commands and historical command feedback in a command group and a command feedback group which are sent subsequently, so that reacquisition is avoided, and the data transmission efficiency is improved; the invention also discloses a data transmission device, equipment and a storage medium, which can also realize the technical effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a command transmission process in a conventional scheme;
fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a command transmission process according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
It should be noted that, under the framework of the FPGA cloud platform, the OpenCL call device currently used has the following procedures:
1. and the upper layer software prepares original data needing to be calculated and calls an OpenCL standard interface.
2. After receiving the data, OpenCL transfers the data to an MMD layer (device management layer).
3. And the MMD layer finds the corresponding equipment, calls a data transmission interface registered by the equipment and transmits the data.
4. And the upper layer software calls the interface of the OpenCL again to start the FPGA acceleration equipment to calculate.
5. The OpenCL transfers the commands to the MMD layer, and the MMD layer decomposes the commands and sends the commands in sequence.
6. And after the FPGA acceleration equipment completes the calculation, sending a notification command to the host equipment.
7. And after the host equipment receives the completion notice of the FPGA acceleration equipment, starting to read result data on the FPGA acceleration equipment.
8. The above process is repeated to continuously complete the accelerated calculation processing of the data.
Referring to fig. 1, a schematic diagram of a command transmission process in the existing scheme is shown, where a data stream in the diagram is original data sent by a host device to an FPGA acceleration device, and after receiving the original data, the FPGA acceleration device sends a data stream feedback to notify the host device that the host device receives the original data. And then, sending a command 1 at the time of T1, sending a command 2 at the time of T2, sending a command 3 at the time of T3, executing the commands in sequence after the FPGA equipment receives the commands, sending feedback of the commands in sequence after the commands are executed, and sending a completion notice by the FPGA acceleration equipment after the last calculation command is executed so that the host equipment can read the final calculation result from the FPGA acceleration equipment.
However, in the process of transmitting commands and command feedback, if the phenomena of timeout and packet loss occur, the data transmission efficiency is affected, for example: after the host device completes sending the command 1, the command 2 and the command 3, the host device waits for the feedback of the FPGA acceleration device. If the feedback of the command 2 is lost due to the occurrence of a packet loss phenomenon at this time, and the host device does not receive the feedback of the command 2, at this time, the host device needs to trigger an instruction for retransmission over time, resend the command 2, and wait for the feedback of the command 2 until the feedback of all commands is received, and then perform the next step. It can be seen that this data transmission method may result in a decrease in the efficiency of data transmission and command transmission between the host and the FPGA.
Therefore, the embodiment of the invention discloses a data transmission method, a data transmission device, data transmission equipment and a storage medium, so as to avoid serious overtime and packet loss phenomena when data are transmitted by host equipment and FPGA acceleration equipment and improve the data transmission efficiency.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, a schematic flow chart of a data transmission method provided in an embodiment of the present invention includes:
s101, determining each command to be sent to the FPGA acceleration equipment by the host equipment;
referring to fig. 3, a schematic diagram of a command transmission process provided in the embodiment of the present invention is shown; as can be seen from fig. 3, in this scheme, the host device needs to send the original data to be calculated to the FPGA acceleration device, and after receiving the feedback of the original data sent by the FPGA acceleration device, the host device executes a step in which the host device determines each command to be sent to the FPGA acceleration device. As shown in fig. 3, in the present embodiment, the present solution is described by taking only three commands, namely command 1, command 2, and command 3 as an example, and the number of commands is not limited to 3 in practical applications.
S102, when the host equipment sends a current command, generating a command group according to the current command and a historical command, and sending the command group to the FPGA acceleration equipment;
in this embodiment, when the host device sends a current command, it first needs to set the number of each command according to the sending sequence of each command; the earlier the transmission sequence of the commands is, the smaller the serial number of the commands is; determining a first number and a second number smaller than the first number of the current command; taking the command corresponding to the second number as a history command; generating a command group according to the current command and the historical command; the current command in the group of commands has a first number and the historical commands have a second number. Such as: if there are three commands, the command number sent first is set to 1, the command number sent second is set to 2, and the command number sent third is set to 3, that is, the commands obtained according to the sending sequence are: command 1, command 2, command 3. If the current command to be sent is command 2, the first number is represented as 2, the second number smaller than the first number is represented as 1, and the command 2 corresponding to the number 2 is used as a historical command, and a command group is generated according to the current command (command 2) and the historical command (command 1).
That is to say, when sending the command, the present solution first considers the case of packet loss, and sends command 1 to the FPGA acceleration device at time T1. At the time of T2, integrating the command 1 and the command 2 to generate a command group, and sending the command group to the FPGA acceleration equipment; and at the time T3, integrating the command 1, the command 2 and the command 3 to generate a command group, and sending the command group to the FPGA acceleration equipment. Therefore, after the FPGA acceleration equipment detects the packet loss of the target command, the corresponding historical command can be searched from the command group and responded, for example: the FPGA acceleration device does not receive the command 1, and at this time, the command 1 may be obtained from the command group corresponding to the command 2, or the command 1 may be obtained from the command group corresponding to the command 3, so as to reduce the packet loss, and unless the third group of commands is lost, the retransmission mechanism is not triggered by the loss of the first 2 groups of commands.
Moreover, if there is no packet loss during network data transmission, the FPGA acceleration device needs to determine a command to be executed from the command group, such as: after receiving the command group of command 1, since the command group only includes command 1, command 1 can be directly executed at this time; after receiving the command group corresponding to command 2, since the command group includes command 1 and command 2, it is necessary to determine whether command 1 is executed, if command 1 is executed, command 1 does not need to be executed continuously, command 2 can be executed directly, and by analogy, command 1, command 2, and command 3 can be executed sequentially according to each command group sent by the host device.
S103, the host device receives a command feedback group which is sent by the FPGA acceleration device and corresponds to the current command, and the command feedback group comprises: current command feedback and historical command feedback.
In this embodiment, after receiving the command group, the FPGA acceleration device obtains the current command from the command group, responds to the current command to generate a current command feedback, uses the command feedback corresponding to the second number as a historical command feedback, generates a command feedback group according to the current command feedback and the historical command feedback, and sends the command feedback group to the host device. Such as: the FPGA acceleration device receives the command group and comprises the following steps: a current command (command 2) and a historical command (command 1), wherein the first number is 2, and the second number is 1; the FPGA acceleration equipment generates command 2 feedback after responding to the command 2, then takes the command 1 feedback corresponding to the second number as historical command feedback, and generates a command feedback group by the command 2 feedback and the command 1 feedback.
Namely: the FPGA acceleration device in this scheme also needs to integrate and send the command feedback, for example: the command feedback group corresponding to command 1 includes command 1 feedback, the command feedback group corresponding to command 2 includes command 1 feedback and command 2 feedback, and the command feedback group corresponding to command 3 includes command 1 feedback, command 2 feedback, and command 3 feedback. By the method, if the host device detects the target command feedback packet loss, the corresponding historical command feedback can be directly searched from the command feedback group. Such as: the host device does not receive the command 1 feedback, and at this time, the command 1 feedback can be obtained from the command feedback group corresponding to the command 2, or the command 1 feedback can be obtained from the command feedback group corresponding to the command 3, so that the packet loss situation is reduced, and unless the third group of commands is lost, the retransmission mechanism cannot be triggered by the loss of the first 2 groups of commands.
In summary, in the present scheme, when the host device and the FPGA acceleration device send data to the other side, not only the current data to be sent needs to be sent, but also historical data needs to be sent.
In the following, the transmission device, the apparatus, and the medium according to the embodiments of the present invention are introduced, and the transmission device, the apparatus, and the medium described below may be referred to the transmission method described above.
Referring to fig. 4, a schematic structural diagram of a data transmission device provided in an embodiment of the present invention includes:
the determining module 11 is configured to determine, by the host device, each command to be sent to the FPGA acceleration device;
the first generation module 12 is configured to generate a command group according to the current command and the historical command when the current command is sent;
a first sending module 13, configured to send the command group to the FPGA acceleration device;
a receiving module 14, configured to receive a command feedback group sent by the FPGA acceleration device and corresponding to the current command, where the command feedback group includes: current command feedback and historical command feedback.
Wherein the apparatus further comprises:
the second sending module is used for sending the original data to be calculated to the FPGA accelerating equipment;
wherein the determining module is specifically configured to: and after receiving the original data feedback sent by the FPGA acceleration equipment, determining each command to be sent to the FPGA acceleration equipment.
Wherein the first generating module comprises:
a setting unit configured to set a number of each command according to a transmission order of each command; wherein, the earlier the sending sequence of the commands is, the smaller the serial number of the commands is;
a first determination unit configured to determine a first number of a current command and a second number smaller than the first number;
a second determination unit configured to take a command corresponding to the second number as a history command;
the generating unit is used for generating a command group according to the current command and the historical command; the current command in the group of commands has a first number and the historical commands have a second number.
Wherein the apparatus comprises:
the first response module is used for acquiring the current command from the command group to respond after the FPGA acceleration equipment receives the command group, generating current command feedback and taking the command feedback corresponding to the second number as historical command feedback;
the second generating module is used for generating a command feedback group according to the current command feedback and the historical command feedback;
a third sending module, configured to send the command feedback group to the host device.
Wherein the apparatus further comprises:
and the second response module is used for searching a corresponding historical command from the command group and responding when the FPGA acceleration device detects that the target command packet is lost.
Wherein the apparatus further comprises:
and the third response module is used for searching corresponding historical command feedback from the command feedback group when the host device detects that the target command feedback packet is lost.
Referring to fig. 5, a schematic structural diagram of an electronic device provided in an embodiment of the present invention includes:
a memory 21 for storing a computer program;
a processor 22, configured to implement the steps of the data transmission method according to the above-mentioned method embodiments when executing the computer program.
In this embodiment, the device may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet Computer, a palmtop Computer, or a portable Computer.
The device may include a memory 21, a processor 22, and a bus 23.
The memory 21 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 21 may in some embodiments be an internal storage unit of the device, for example a hard disk of the device. The memory 21 may also be an external storage device of the device in other embodiments, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) Card, Flash memory Card (Flash Card), etc. provided on the device. Further, the memory 21 may also include both an internal storage unit of the device and an external storage device. The memory 21 may be used not only to store application software installed in the device and various types of data such as program codes for executing a data transmission method, etc., but also to temporarily store data that has been output or is to be output.
The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 21 or Processing data, such as program codes for executing data transmission methods.
The bus 23 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Further, the device may further include a network interface 24, and the network interface 24 may optionally include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are generally used to establish a communication connection between the device and other electronic devices.
Optionally, the device may further comprise a user interface 25, the user interface 25 may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 25 may also comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the device and for displaying a visualized user interface.
Fig. 5 shows only the device with the components 21-25, and it will be understood by those skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the device, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
A computer-readable storage medium is further provided for the embodiments of the present invention, and a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the data transmission method described in the above method embodiments.
Wherein the storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of data transmission, comprising:
the method comprises the steps that the host device determines all commands to be sent to the FPGA accelerating device;
when the host equipment sends a current command, generating a command group according to the current command and a historical command, and sending the command group to the FPGA accelerating equipment;
the host device receives a command feedback group which is sent by the FPGA acceleration device and corresponds to the current command, wherein the command feedback group comprises: current command feedback and historical command feedback.
2. The data transmission method according to claim 1, wherein before the host device determines each command to be sent to the FPGA acceleration device, the method further comprises:
the host equipment sends original data to be calculated to the FPGA acceleration equipment;
and after receiving the original data feedback sent by the FPGA acceleration equipment, the host equipment executes the step that the host equipment determines each command to be sent to the FPGA acceleration equipment.
3. The data transmission method of claim 1, wherein the generating a command group according to the current command and the historical command comprises:
setting the number of each command according to the sending sequence of each command; wherein, the earlier the sending sequence of the commands is, the smaller the serial number of the commands is;
determining a first number of a current command and a second number smaller than the first number;
taking the command corresponding to the second number as a history command;
generating a command group according to the current command and the historical command; the current command in the group of commands has a first number and the historical commands have a second number.
4. The data transmission method according to claim 3, wherein the data transmission method further comprises:
after receiving the command group, the FPGA acceleration equipment acquires the current command from the command group to respond and generates current command feedback;
taking command feedback corresponding to the second number as historical command feedback;
and generating a command feedback group according to the current command feedback and the historical command feedback, and sending the command feedback group to the host equipment.
5. The data transmission method according to any one of claims 1 to 4, further comprising:
and if the FPGA acceleration equipment detects that the target command is lost, searching a corresponding historical command from the command group and responding by the FPGA acceleration equipment.
6. The data transmission method according to any one of claims 1 to 4, further comprising:
and if the host equipment detects that the target command feedback packet is lost, the host equipment searches corresponding historical command feedback from the command feedback group.
7. A data transmission apparatus, comprising:
the determining module is used for determining each command to be sent to the FPGA accelerating equipment through the host equipment;
the first generation module is used for generating a command group according to the current command and the historical command when the current command is sent;
the first sending module is used for sending the command group to the FPGA acceleration equipment;
a receiving module, configured to receive a command feedback group corresponding to the current command and sent by the FPGA acceleration device, where the command feedback group includes: current command feedback and historical command feedback.
8. The data transmission apparatus according to claim 7, further comprising:
the second sending module is used for sending the original data to be calculated to the FPGA accelerating equipment;
wherein the determining module is specifically configured to: and after receiving the original data feedback sent by the FPGA acceleration equipment, determining each command to be sent to the FPGA acceleration equipment.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the data transmission method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the data transmission method according to one of claims 1 to 6.
CN202110866023.0A 2021-07-29 2021-07-29 Data transmission method, device, equipment and storage medium Active CN113746754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110866023.0A CN113746754B (en) 2021-07-29 2021-07-29 Data transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110866023.0A CN113746754B (en) 2021-07-29 2021-07-29 Data transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113746754A true CN113746754A (en) 2021-12-03
CN113746754B CN113746754B (en) 2024-04-23

Family

ID=78729351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110866023.0A Active CN113746754B (en) 2021-07-29 2021-07-29 Data transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113746754B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150253972A1 (en) * 2014-03-07 2015-09-10 Nokia Corporation Method and apparatus for providing notification of a communication event via a chronologically-ordered task history
US20160371081A1 (en) * 2015-06-16 2016-12-22 Architecture Technology Corporation Dynamic computational acceleration using a heterogeneous hardware infrastructure
US20170185620A1 (en) * 2014-08-08 2017-06-29 Nokia Technologies Oy Method and apparatus for providing a visual indication of the copy history
CN110119243A (en) * 2019-05-17 2019-08-13 北京达佳互联信息技术有限公司 Command processing method, device, terminal and storage medium
CN110285534A (en) * 2019-06-17 2019-09-27 珠海格力电器股份有限公司 Intelligent control method, device, storage medium and air conditioner
CN110750312A (en) * 2019-10-17 2020-02-04 中科寒武纪科技股份有限公司 Hardware resource configuration method and device, cloud side equipment and storage medium
CN111510447A (en) * 2020-04-10 2020-08-07 浙江无端科技股份有限公司 Network transmission method and related device
WO2021057408A1 (en) * 2019-09-27 2021-04-01 华为技术有限公司 Command execution method and apparatus, and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150253972A1 (en) * 2014-03-07 2015-09-10 Nokia Corporation Method and apparatus for providing notification of a communication event via a chronologically-ordered task history
US20170185620A1 (en) * 2014-08-08 2017-06-29 Nokia Technologies Oy Method and apparatus for providing a visual indication of the copy history
US20160371081A1 (en) * 2015-06-16 2016-12-22 Architecture Technology Corporation Dynamic computational acceleration using a heterogeneous hardware infrastructure
CN110119243A (en) * 2019-05-17 2019-08-13 北京达佳互联信息技术有限公司 Command processing method, device, terminal and storage medium
CN110285534A (en) * 2019-06-17 2019-09-27 珠海格力电器股份有限公司 Intelligent control method, device, storage medium and air conditioner
WO2021057408A1 (en) * 2019-09-27 2021-04-01 华为技术有限公司 Command execution method and apparatus, and device
CN110750312A (en) * 2019-10-17 2020-02-04 中科寒武纪科技股份有限公司 Hardware resource configuration method and device, cloud side equipment and storage medium
CN111510447A (en) * 2020-04-10 2020-08-07 浙江无端科技股份有限公司 Network transmission method and related device

Also Published As

Publication number Publication date
CN113746754B (en) 2024-04-23

Similar Documents

Publication Publication Date Title
WO2021088964A1 (en) Inference system, inference method, electronic device and computer storage medium
TWI493997B (en) System and method for intelligently selecting a network interface
CN107995286B (en) Automatic service starting and stopping method based on dubbo platform, server and storage medium
WO2022179486A1 (en) Multi-core processor task scheduling method and apparatus, and device and storage medium
CN111930283B (en) Message display method and computing device
WO2024119823A1 (en) Gpu computing resource management method and apparatus, electronic device and readable storage medium
CN112988185A (en) Cloud application updating method, device and system, electronic equipment and storage medium
CN107784085B (en) Data list exporting method and terminal thereof
CN112286688A (en) Memory management and use method, device, equipment and medium
WO2021012506A1 (en) Method and apparatus for realizing load balancing in speech recognition system, and computer device
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
CN113610699A (en) Hardware layer rendering scheduling method, device, equipment and storage medium
CN111143017B (en) Cloud operation system interaction processing method, client and cloud operation system
CN113746754B (en) Data transmission method, device, equipment and storage medium
WO2015058594A1 (en) Process loading method, device and system
CN111245928A (en) Resource adjusting method based on super-fusion architecture, Internet of things server and medium
WO2021078271A1 (en) Method and device for accelerating image detection, and storage medium
CN114546171A (en) Data distribution method, data distribution device, storage medium and electronic equipment
CN114024874B (en) RDMA (remote direct memory Access) -based data transmission method, device, equipment and storage medium
CN113225830B (en) Data network uplink scheduling method and device and electronic equipment
CN114968529A (en) Timer implementation method and related product
CN115237574A (en) Scheduling method and device of artificial intelligence chip and electronic equipment
CN114024878A (en) Data transmission method, device, medium and equipment
CN109362094B (en) WIFI connection processing method for mobile terminal, mobile terminal and storage medium
WO2020211358A1 (en) Database scheduling method and apparatus, and computer device and storage medium

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