Data transmission method, device, system and equipment of data center and medium

By using processing units and network cards in the data center for data encapsulation and transmission, the problem that data transmission between data centers in the prior art depends on CPU is solved, and efficient data interaction and safe and reliable transmission services are achieved.

CN119835315APending Publication Date: 2025-04-15VISIONVERA INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411683870.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, the data transmission of supercomputing service between data centers depends on the central processor CPU, resulting in an increase in the CPU working pressure and reducing the performance of supercomputing service.

Method used

By introducing processing units and network cards into the data center, after establishing a communication connection, service data is obtained from memory and encapsulated into data packets, sent to the peer data center through the network card, and data packets sent from the peer terminal are received, data interaction between the two data centers is realized.

Benefits of technology

It realizes efficient data interaction between data centers, reduces the burden on the central processor, improves overall business efficiency, and provides secure and reliable data transmission services in the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835315A_ABST
    Figure CN119835315A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data transmission method, device, system, equipment and medium for a data center, which can obtain service data from a home terminal memory through a processing unit after a home terminal data center establishes communication connection with an opposite terminal data center, encapsulate the service data into a data packet, and send the data packet to an opposite terminal through a network card. Meanwhile, data packets sent by the opposite end can be received, data interaction between the data centers at the two ends is achieved, the regional limitation of data is broken, different data centers can conveniently share service data of each other, and the overall service efficiency is improved; in the whole process of service data transmission, the central processing unit does not need to process data, the burden of the central processing unit can be relieved, data can be effectively protected in a network, and safe and reliable services are provided for clients.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data transmission method, device, system, equipment and medium for a data center. Background Art

[0002] The supercomputing service of the data center is an important carrier of computing power. The computing power mainly provides basic functions such as computing and storage for future data economy-related applications, and can provide computing power support for data centers with multi-dimensional distribution. With the explosive growth of computing power data, high-frequency and multi-range supercomputing services are required between data centers in different locations, which poses a great challenge to the processing capacity of supercomputing data carriers. In the existing technology, supercomputing service data is generally transmitted through the central processing unit CPU based on the TCP / IP protocol, which increases the workload of the central processing unit and reduces the performance of supercomputing services. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a data center data transmission method, apparatus, system, device and medium that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problem, an embodiment of the present invention discloses a data transmission method of a data center, wherein the data center includes a memory, a network card, and a processing unit, and the method includes:

[0005] After the local data center establishes a communication connection with the opposite data center, the local processing unit obtains the first service data from the local memory and encapsulates the first service data into a first data packet;

[0006] Sending the first data packet to the opposite network card through the local network card, so that the opposite data processing unit obtains the first data packet from the opposite network card, and writes the first service data parsed from the first data packet into the opposite memory;

[0007] The second data packet sent by the opposite network card is received through the local network card, the second data packet is obtained from the local network card through the local data processing unit, the second data packet is parsed to obtain second service data, and the second service data is written into the local memory.

[0008] Optionally, it also includes:

[0009] The local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card;

[0010] The visual network communication address of the opposite network card is obtained through the local processing unit, and a visual network communication connection is established between the local data center and the opposite data center based on the visual network communication address of the local network card and the visual network communication address of the opposite network card.

[0011] Optionally, the data center further includes a controller, and the process of reading the MAC address of the local network card through the local processing unit and registering the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card includes:

[0012] A control instruction is sent to the local processing unit through the local controller, so that the local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card.

[0013] Optionally, the first data packet is a first visual networking data packet, the processing unit includes a socket tool, and the encapsulating the first service data into the first data packet includes:

[0014] The first data packet is obtained by encapsulating the first service data through a local socket tool.

[0015] Optionally, the second data packet is a second visual network data packet, and the parsing of the second data packet to obtain second service data, and writing the second service data into the local end memory includes:

[0016] Parsing the second data packet through the local socket tool to obtain second service data;

[0017] The second service data is written into the local memory.

[0018] Optionally, the first business data is supercomputing service data.

[0019] Optionally, the local processing unit includes a register, and acquiring the first service data from the local memory through the local processing unit and encapsulating the first service data into a first data packet includes:

[0020] Acquire the first service data from the local memory by the local processing unit, and store the first service data in the register;

[0021] And encapsulate the first service data in the register into a first data packet.

[0022] The present invention also discloses a data transmission system for a data center, wherein the data center includes a memory, a network card and a processing unit;

[0023] The local processing unit is used for obtaining the first service data from the local memory after the local data center establishes a communication connection with the opposite data center, encapsulating the first service data into a first data packet, and sending the first data packet to the opposite network card through the local network card;

[0024] The peer processing unit is used to obtain the first visual networking data packet from the peer network card, parse the first visual networking data packet to obtain the first business data, and write the first business data into the peer memory.

[0025] The present invention also discloses a data transmission device for a data center, wherein the data center includes a memory, a network card and a processing unit, and the device includes:

[0026] an acquisition module, configured to acquire first service data from a local memory through a local processing unit after a communication connection is established between a local data center and a remote data center, and encapsulate the first service data into a first data packet;

[0027] a sending module, configured to send the first data packet to the opposite-end network card through the local network card, so that the opposite-end data processing unit obtains the first data packet from the opposite-end network card, and writes the first service data parsed from the first data packet into the opposite-end memory;

[0028] The receiving module is used to receive the second data packet sent by the opposite network card through the local network card, obtain the second data packet from the local network card through the local data processing unit, parse the second data packet to obtain second service data, and write the second service data into the local memory.

[0029] Optionally, it also includes:

[0030] A reading module, used to read the MAC address of the local network card through the local processing unit, and register the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card;

[0031] A module is established, used to obtain the visual network communication address of the opposite network card through the local processing unit, and establish a visual network communication connection between the local data center and the opposite data center based on the visual network communication address of the local network card and the visual network communication address of the opposite network card.

[0032] Optionally, the data center further includes a controller, and the reading module includes:

[0033] The sending submodule is used to send control instructions to the local processing unit through the local controller, so that the local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card.

[0034] Optionally, the first data packet is a first visual network data packet, the processing unit includes a socket tool, and the acquisition module includes:

[0035] The encapsulation submodule is used to encapsulate the first data packet according to the first business data through the local socket tool.

[0036] Optionally, the second data packet is a second visual network data packet, and the receiving module includes:

[0037] A parsing submodule, used for parsing the second data packet through the local socket tool to obtain second service data;

[0038] A writing submodule is used to write the second service data into the local memory.

[0039] Optionally, the first business data is supercomputing service data.

[0040] Optionally, the local processing unit includes a register, and the acquisition module includes:

[0041] An acquisition submodule, configured to acquire first service data from a local memory through the local processing unit, and store the first service data in the register;

[0042] The encapsulation submodule is used to encapsulate the first service data in the register into a first data packet.

[0043] The present invention also discloses an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the above-mentioned data center data transmission method when executed by the processor.

[0044] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data transmission method of the data center as described above are implemented.

[0045] The embodiments of the present invention include the following advantages:

[0046] After the local data center establishes a communication connection with the opposite data center, the present invention can obtain business data from the local memory through the processing unit, encapsulate it into a data packet, and send it to the opposite data center through the network card. At the same time, it can also receive data packets sent by the opposite data center, thereby realizing data interaction between the two data centers, breaking the geographical limitation of data, facilitating different data centers to share each other's business data, and improving overall business efficiency. In the present invention, the entire process of business data transmission does not require the central processing unit to process data, which can reduce the burden on the central processing unit, and can effectively protect data in the network, providing customers with safe and reliable services. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flowchart of the steps of a data transmission method of a data center provided by an embodiment of the present invention;

[0048] Figure 2 It is a flowchart of the steps of another data transmission method of a data center provided by the present invention;

[0049] Figure 3 It is a structural block diagram of a data transmission attribution system of a data center provided by an embodiment of the present invention;

[0050] Figure 4 It is a structural block diagram of a data transmission device for a data center provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0052] In the prior art, when "data center 1 sends a message to data center 2", it essentially executes the operation of "moving a piece of data in the memory of data center 1 to the memory of data center 2 with the help of a network link". In this process, both the sending and receiving ends of the data are inseparable from the command and control of the CPU. Tasks such as controlling the network card, handling interrupts, and encapsulating and parsing messages are all the responsibility of the CPU.

[0053] Specifically, if data center 1 (providing computing services) wants to send data in the memory user space, the CPU must first copy it to the buffer in the kernel space. Only in this way can the data be accessed by the network card. During the copying process, the data will pass through the TCP / IP protocol stack implemented by software. The protocol stack will add headers and checksums of each layer to the data. Then, the network card copies the data in the kernel to its own internal buffer. After corresponding processing, the data is sent to the peer data center through a physical link. After receiving the data, the peer will follow the reverse process. First, the data is copied from the internal storage space of the network card to the buffer in the memory kernel space. Then, the CPU will use the TCP / IP protocol stack to parse the data, extract the data from it, and copy it to the user space.

[0054] At present, the realization of the above technologies depends on the support of high-speed interconnection buses, high-speed networks and other channels. However, the CPU has a huge overhead when processing interruptions of high-speed channels. The supercomputing service carrier data will be repeatedly copied in the kernel space, which causes it to be "worn out" and prolongs the usage time of the computing data. If the amount of data is large, then for a long time, the CPU will be busy moving data and will have no time to take care of other work. However, the CPU's main task should be calculation, not data copying. This kind of data moving work actually wastes the CPU's computing power and reduces transmission efficiency.

[0055] One of the core concepts of the embodiments of the present invention is that after the local data center establishes a communication connection with the opposite data center, the present invention can obtain business data from the local memory through the processing unit, encapsulate it into a data packet, and send it to the opposite data center through the network card. At the same time, it can also receive data packets sent by the opposite data center, thereby realizing data interaction between the two data centers, breaking the geographical limitations of data, facilitating different data centers to share each other's business data, and improving overall business efficiency; the entire process of business data transmission of the present invention does not require the central processing unit to process data, which can reduce the burden on the central processing unit, realize effective data protection in the network, and provide customers with safe and reliable services.

[0056] Reference Figure 1 , shows a flow chart of the steps of a data center data transmission method provided by an embodiment of the present invention, the data center includes a memory, a network card and a processing unit, and the method may include the following steps:

[0057] Step 101, after a communication connection is established between a local data center and a peer data center, a local processing unit obtains first service data from a local memory and encapsulates the first service data into a first data packet.

[0058] In an embodiment of the present invention, before the local data center and the opposite data center transmit data, the local data center and the opposite data center need to first establish a stable communication connection, which is usually achieved through network equipment (such as routers, switches) and communication protocols. After the communication connection is established, data can be transmitted between the two data centers. It should be noted that the specific communication protocol can be set according to user needs, and can be an Internet communication protocol or a visual network communication protocol.

[0059] The local processing unit is the core component responsible for data processing. It can read data from the local memory. The local processing unit can be a DPU processor. The data may be user information, transaction records, log information, supercomputing service data, etc., depending on the business scenario.

[0060] After the local processing unit obtains the first service data, the local processing unit will encapsulate the data into a data packet. The data packet is the basic unit of network communication. It contains the data itself and some additional information. The structure of the data packet may include header information and payload (including actual data). The header information is used to control the transmission and processing of data, while the payload is the actual data that needs to be transmitted.

[0061] Step 102: Send a first data packet to the peer network card through the local network card, so that the peer data processing unit obtains the first data packet from the peer network card and writes the first service data parsed from the first data packet into the peer memory.

[0062] In an embodiment of the present invention, after obtaining the encapsulated first data packet, the local network card will send it to the opposite network card through a pre-established network link according to pre-set communication rules and network protocols. This sending process is performed on the basis of the established communication connection between the local data center and the opposite data center. Then, the opposite processing unit can obtain the first data packet from the opposite network card, analyze and process the various components of the first data packet according to the communication protocol specification followed when the data packet is encapsulated, and extract the first business data contained therein, for example, remove the source address, destination address, check code and other parts used for transmission control in the packet header, accurately restore the original first business data, and then write it into the opposite memory.

[0063] Step 103: Receive the second data packet sent by the peer network card through the local network card, obtain the second data packet from the local network card through the local data processing unit, parse the second data packet to obtain second service data, and write the second service data into the local memory.

[0064] In the embodiment of the present invention, the first data center can also receive the second data packet sent by the opposite network card through the local network card, because the second data packet is obtained by the opposite processing unit encapsulating the second service data according to the preset communication rules and network protocol.

[0065] The second data packet can be parsed according to the communication protocol previously agreed upon by both parties, for example, the source address (clearly sent from the other end's data center), destination address (confirmed to be the local data center), data length, checksum and other information contained in the header of the second data packet can be identified, and then these "outer packaging" used for transmission security can be removed to accurately extract the second business data.

[0066] After the local data center establishes a communication connection with the opposite data center, the present invention can obtain business data from the local memory through the protocol data processing unit, encapsulate it into a data packet, and send it to the opposite end through the network card. At the same time, it can also receive the data packet sent by the opposite end, thereby realizing data interaction between the data centers at both ends, breaking the geographical limitation of data, facilitating different data centers to share each other's business data, and improving overall business efficiency; the present invention does not require the central processing unit to process data throughout the data transmission process, which can reduce the burden on the central processing unit, realize effective data protection in the network, and provide customers with safe and reliable services.

[0067] Reference Figure 2 , shows a flowchart of another data center data transmission method provided by an embodiment of the present invention, the data center includes a memory, a network card and a processing unit, and the method may include the following steps:

[0068] Step 201, read the MAC address of the local network card through the local processing unit, and register the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card.

[0069] In the embodiment of the present invention, the MAC address is a unique identifier of the network card, just like everyone has a unique ID number, and it is used to distinguish and identify devices in a network environment.

[0070] After obtaining the MAC address of the local network card, the local protocol data processing unit will register it to the visual network communication protocol service. The visual network communication protocol service is like a "steward" who manages network communication identities. It receives and processes the MAC address information of the local network card, and assigns a specific visual network communication address to the local network card through corresponding rules and calculations.

[0071] In one embodiment of the present invention, the data center also includes a controller, which reads the MAC address of the local network card through the local processing unit, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card, including: sending a control instruction to the local processing unit through the local controller, so that the local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card.

[0072] In an embodiment of the present invention, the controller will generate corresponding control instructions based on pre-set rules and requirements, and then the control instructions will be sent to the processing unit. After the processing unit DPU receives the instructions from the controller, it starts to execute the corresponding operation. Its operation specifically includes two aspects. On the one hand, it will read the MAC address of the local network card. This reading process is to accurately locate the local network card along the links and related interfaces within the data center and obtain its MAC address information. This MAC address is the inherent identification of the local network card at the basic network level.

[0073] On the other hand, after obtaining the MAC address of the local network card, the processing unit will further register the MAC address to the visual network communication protocol service. The visual network communication protocol service is like a "big platform" for managing network communication identities. After receiving the MAC address from the local network card, it will assign it a visual network communication address that is exclusive to the local network card in accordance with its own established set of mechanisms and algorithms. This address can subsequently be used to accurately identify the local network card in the visual network environment, and participate in various activities such as communication interactions with other devices and data centers.

[0074] Step 202, obtain the visual network communication address of the opposite network card through the local processing unit, and establish a visual network communication connection between the local data center and the opposite data center based on the visual network communication address of the local network card and the visual network communication address of the opposite network card.

[0075] In an embodiment of the present invention, when the local protocol data processing unit has obtained the visual networking communication address of the local network card and the visual networking communication address of the opposite network card, a visual networking communication link can be established between the local data center and the opposite data center based on these two addresses, so that the local data center can communicate with the opposite data based on the visual networking communication link. The present invention can accurately give each network card an exclusive communication identifier in the visual networking environment, and equip them with a unique "communication business card", so that the data centers can smoothly build a visual networking communication connection based on these accurate addresses, ensuring that the visual networking communication is carried out efficiently, orderly and stably, effectively realizing the accurate transmission and interaction of data, and meeting the diverse business application needs.

[0076] Step 203, after the local data center establishes a communication connection with the opposite data center, the local processing unit obtains the first service data from the local memory and encapsulates the first service data into a first data packet.

[0077] In one embodiment of the present invention, the first data packet is a first visual networking data packet, and the processing unit includes a socket tool, which encapsulates the first business data into the first data packet, including: encapsulating the first data packet according to the first business data through the local socket tool.

[0078] In one embodiment of the present invention, the first business data is supercomputing service data.

[0079] In an embodiment of the present invention, the first business data and the second business data may be supercomputing service data, which refers to various data and information related to different types of computing tasks such as scientific computing, engineering simulation, big data analysis, and artificial intelligence training.

[0080] In the DPU, the socket tool plays an important role. When the first service data needs to be encapsulated into the first visual network data packet, the following process is followed:

[0081] After the protocol data processing unit obtains the first business data, the socket tool on this end starts to function. It will perform a series of information addition operations on the packet header part of the first business data, just like attaching various important labels to a package. These labels can help accurately identify and process the data in subsequent transmission, reception and processing links.

[0082] Specifically, information related to the visual network communication protocol will be added, which is equivalent to stipulating the "traffic rules" that this data packet needs to follow when transmitting in the visual network, ensuring that it can pass smoothly in accordance with the established communication method of the visual network; then the data length information will be added, through which the receiver can know the size of the data packet in advance, facilitating subsequent accurate reception and integrity verification; business type information will be added, which allows the receiver to quickly determine the specific category of the business carried by the data packet, so as to adopt the corresponding business processing flow; finally, data source information will be added so that the receiver knows clearly where the data is sent from, which is convenient for tracing the source and performing some targeted interactive feedback and other operations.

[0083] After the socket tool adds the above key header information to the header of the first business data packet, a complete first visual Internet data packet is obtained. This data packet has all the conditions for accurate transmission, correct identification and processing according to the corresponding business process in the visual Internet environment, and can better serve the subsequent visual Internet communication and business development needs.

[0084] In one embodiment of the present invention, the local processing unit includes a register, and the first business data is obtained from the local memory through the local processing unit, and the first business data is encapsulated into a first data packet, including: obtaining the first business data from the local memory through the local processing unit, and storing the first business data in the register; encapsulating the first business data in the register into a first data packet.

[0085] In an embodiment of the present invention, in the local memory, data is classified and stored according to different business identifiers. The local processing unit must first clarify the business identifier corresponding to the first business data to be obtained, and query the corresponding storage area according to the business identifier. After locating the corresponding storage area, the local processing unit uses the connection path between it and the local memory (usually through a data bus, etc. to realize data transmission) to read the first business data from the memory according to the preset reading rules and signal protocols.

[0086] The local processing unit contains multiple registers, and different registers may have different uses or be in different working states. The processing unit will select a suitable register to store the first business data according to the current data processing requirements and the internal resource allocation strategy. For example, some registers may be used specifically for temporarily storing data that is about to be packaged, and the first business data read from the memory will be stored in such registers;

[0087] Furthermore, the processing unit can encapsulate the first business data stored in the register. First, it will add header information. The header part contains many important metadata, which is used to identify, route and verify the data packet in the subsequent data transmission process. For example, source address information will be added to indicate that the data packet is sent from the local data center; destination address information clearly specifies the address of the opposite data center or specific receiving module to which the data packet is to be sent; data length information will also be added to let the recipient know the size of the data packet in advance, which is convenient for it to verify the receiving integrity; and information such as the check code is used by the recipient to verify whether there are any errors in the data transmission process.

[0088] After adding the header information, the processing unit will assemble the first service data in the register with the header information according to the established data packet structure specification to form a complete first data packet.

[0089] Step 204: Send a first data packet to the peer network card through the local network card, so that the peer data processing unit obtains the first data packet from the peer network card and writes the first service data parsed from the first data packet into the peer memory.

[0090] Step 205: Receive the second data packet sent by the peer network card through the local network card, obtain the second data packet from the local network card through the local data processing unit, parse the second data packet to obtain second service data, and write the second service data into the local memory.

[0091] In one embodiment of the present invention, the second data packet is a second visual network data packet, the second data packet is parsed to obtain second business data, and the second business data is written into the local memory, including: parsing the second data packet through the local socket tool to obtain the second business data; writing the second business data into the local memory.

[0092] In an embodiment of the present invention, when the second data packet is a second visual networking data packet, the second visual networking data packet can be parsed by the local socket tool to obtain the header information and second business data of the second data packet. The header information may include the visual networking communication protocol, destination address, data type, and source address. Then, the second business data can be written to the corresponding position of the local memory according to the destination address, thereby achieving accurate writing.

[0093] In an embodiment of the present invention, the local memory further includes service data corresponding to different service identifiers, and obtaining the first service data from the local memory by the local processing unit includes:

[0094] The first service identifier is obtained through the local processing unit, and the corresponding first service data is searched in the local memory according to the first service identifier.

[0095] In an embodiment of the present invention, the local memory can store business data corresponding to different business identifiers, for example, identifier A corresponds to the first type of supercomputing service data, identifier B corresponds to the second type of supercomputing service data, and identifier C corresponds to the third type of supercomputing service data. The local protocol data processing unit can first obtain the first business identifier, and after obtaining the first business identifier, the corresponding first business data can be queried in the correspondence between the identifier and the business data in the local memory according to the first identifier. With the help of the obtained business identifier, the local protocol data processing unit can accurately query and obtain the corresponding first business data in the local memory storing various types of business data, thereby serving the business processes and functional requirements of different systems.

[0096] After the local data center establishes a communication connection with the opposite data center, the present invention can obtain business data from the local memory through the processing unit, encapsulate it into a data packet, and send it to the opposite data center through the network card. At the same time, it can also receive data packets sent by the opposite data center, thereby realizing data interaction between the two data centers, breaking the geographical limitation of data, facilitating different data centers to share each other's business data, and improving overall business efficiency; the entire process of business data transmission of the present invention does not require the central processing unit to process data, which can reduce the burden on the central processing unit, realize effective data protection in the network, and provide customers with safe and reliable services.

[0097] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0098] Reference Figure 3 , showing a structural block diagram of a data transmission system of a data center provided by an embodiment of the present invention, data center 1 may include memory 1, network card 1 and processing unit V-DPU1 module; data center 2 may include memory 2, network card 2 and processing unit V-DPU2 module.

[0099] The V-DPU1 module is used to obtain the first service data from the local end 1 memory after the local end data center establishes a communication connection with the opposite end data center, encapsulate the first service data into a first data packet, and send the first data packet to the opposite end network card 2 through the local end network card;

[0100] As can be seen in the figure, network card 1 and network card 2 establish a communication connection according to the visual networking protocol v2v. Memory 1 can include multiple types of supercomputing service data, and memory 2 includes multiple types of supercomputing service data.

[0101] The V-DPU2 module is used to obtain the first visual networking data packet from the peer network card, parse the first visual networking data packet to obtain the first business data, and write the first business data into the peer memory 2.

[0102] In one embodiment of the present invention, the V-DPU1 module can read the MAC address 00001 of the local network card 1, and register the MAC address 00001 of the local network card 1 to the visual network communication protocol service to obtain the visual network communication address of the local network card; obtain the visual network communication address of the opposite network card, and establish a visual network communication connection between the local data center and the opposite data center based on the visual network communication address of the local network card and the visual network communication address of the opposite network card.

[0103] In one embodiment of the present invention, the data center 1 may also include a V-DPU controller 1, which may send control instructions to the V-DPU1 module so that the V-DPU1 module reads the MAC address of the local network card 1 and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card 1.

[0104] In an embodiment of the present invention, a first data packet may be encapsulated according to the first service data by a local socket tool.

[0105] In an embodiment of the present invention, the second data packet may be parsed by a local socket tool to obtain second service data and write the second service data into the local memory 1 .

[0106] In one embodiment of the present invention, the V-DPU1 module can obtain the first business data from the local memory 1, store the first business data in the register of the V-DPU1 module, and encapsulate the first business data in the register of the V-DPU1 module into a first data packet.

[0107] After the local data center establishes a communication connection with the opposite data center, the present invention can obtain business data from the local memory through the processing unit, encapsulate it into a data packet, and send it to the opposite data center through the network card. At the same time, it can also receive data packets sent by the opposite data center, thereby realizing data interaction between the two data centers, breaking the geographical limitation of data, facilitating different data centers to share each other's business data, and improving overall business efficiency; the entire process of business data transmission of the present invention does not require the central processing unit to process data, which can reduce the burden on the central processing unit, realize effective data protection in the network, and provide customers with safe and reliable services.

[0108] Reference Figure 4 , shows a structural block diagram of a data transmission device of a data center provided by an embodiment of the present invention, the data center includes a memory, a network card and a processing unit, and the device may include:

[0109] An acquisition module 301 is used to acquire first service data from a local memory through a local processing unit after a communication connection is established between a local data center and a peer data center, and to encapsulate the first service data into a first data packet;

[0110] The sending module 302 is used to send a first data packet to the opposite network card through the local network card, so that the opposite data processing unit obtains the first data packet from the opposite network card and writes the first service data parsed from the first data packet into the opposite memory;

[0111] The receiving module 303 is used to receive the second data packet sent by the opposite network card through the local network card, obtain the second data packet from the local network card through the local data processing unit, parse the second data packet to obtain second service data, and write the second service data into the local memory.

[0112] The present invention discloses a data transmission device for a data center. After a communication connection is established between a local data center and a remote data center, the present invention can obtain business data from a local memory through a processing unit, encapsulate the data into a data packet, and send it to the remote data center through a network card. At the same time, the present invention can also receive data packets sent by the remote data center, thereby realizing data interaction between the data centers at both ends, breaking the geographical limitation of data, facilitating different data centers to share each other's business data, and improving overall business efficiency. The present invention does not require a central processing unit to process data throughout the entire process of business data transmission, thereby reducing the burden on the central processing unit, realizing effective data protection in the network, and providing customers with safe and reliable services.

[0113] In one embodiment of the present invention, it also includes:

[0114] A reading module is used to read the MAC address of the local network card through the local processing unit, and register the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card;

[0115] A module is established to obtain the visual network communication address of the opposite network card through the local processing unit, and to establish a visual network communication connection between the local data center and the opposite data center based on the visual network communication address of the local network card and the visual network communication address of the opposite network card.

[0116] In one embodiment of the present invention, the data center further includes a controller, a reading module, including:

[0117] The sending submodule is used to send control instructions to the local processing unit through the local controller, so that the local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card.

[0118] In an embodiment of the present invention, the first data packet is a first visual network data packet, and the processing unit includes a socket tool, and the acquisition module includes:

[0119] The encapsulation submodule is used to encapsulate the first data packet according to the first business data through the local socket tool.

[0120] In one embodiment of the present invention, the second data packet is a second visual network data packet, and the receiving module includes:

[0121] A parsing submodule, used for parsing the second data packet through a local socket tool to obtain second service data;

[0122] The writing submodule is used to write the second service data into the local memory.

[0123] In one embodiment of the present invention, the first business data is supercomputing service data.

[0124] In an embodiment of the present invention, the local processing unit includes a register, and the acquisition module includes:

[0125] An acquisition submodule, configured to acquire first service data from a local memory through a local processing unit, and store the first service data in a register;

[0126] The encapsulation submodule is used to encapsulate the first service data in the register into a first data packet.

[0127] The present invention discloses a data transmission device for a data center. After a communication connection is established between a local data center and a remote data center, the present invention can obtain business data from a local memory through a processing unit, encapsulate the data into a data packet, and send it to the remote data center through a network card. At the same time, the present invention can also receive data packets sent by the remote data center, thereby realizing data interaction between the data centers at both ends, breaking the geographical limitation of data, facilitating different data centers to share each other's business data, and improving overall business efficiency. The present invention does not require a central processing unit to process data throughout the entire process of business data transmission, thereby reducing the burden on the central processing unit, realizing effective data protection in the network, and providing customers with safe and reliable services.

[0128] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0129] An embodiment of the present invention further provides an electronic device, including:

[0130] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the data transmission method embodiment of the above-mentioned data center are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0131] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the data transmission method embodiment of the above-mentioned data center are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0132] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0133] It should be understood by those skilled in the art that the embodiments of the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0134] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0137] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0138] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0139] The data transmission method, device, system, equipment and storage medium of a data center provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A data transmission method in a data center, characterized in that: The data center includes a memory, a network card, and a processing unit, and the method includes: After the local data center establishes a communication connection with the opposite data center, the local processing unit obtains the first service data from the local memory and encapsulates the first service data into a first data packet; Sending the first data packet to the opposite network card through the local network card, so that the opposite data processing unit obtains the first data packet from the opposite network card, and writes the first service data parsed from the first data packet into the opposite memory; The second data packet sent by the opposite network card is received through the local network card, the second data packet is obtained from the local network card through the local data processing unit, the second data packet is parsed to obtain second service data, and the second service data is written into the local memory.

2. The method according to claim 1, characterized in that Also includes: The local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card; The visual network communication address of the opposite network card is obtained through the local processing unit, and a visual network communication connection is established between the local data center and the opposite data center based on the visual network communication address of the local network card and the visual network communication address of the opposite network card.

3. The method according to claim 2, characterized in that The data center further includes a controller, and the MAC address of the local network card is read by the local processing unit, and the MAC address of the local network card is registered in the visual network communication protocol service to obtain the visual network communication address of the local network card, including: A control instruction is sent to the local processing unit through the local controller, so that the local processing unit reads the MAC address of the local network card, and registers the MAC address of the local network card in the visual network communication protocol service to obtain the visual network communication address of the local network card.

4. The method according to claim 1, characterized in that: The first data packet is a first visual networking data packet, the processing unit includes a socket tool, and the encapsulating the first service data into the first data packet includes: The first data packet is obtained by encapsulating the first service data through a local socket tool.

5. The method according to claim 4, characterized in that The second data packet is a second visual network data packet, and the second data packet is parsed to obtain second service data, and the second service data is written into the local end memory, including: Parsing the second data packet through the local socket tool to obtain second service data; The second service data is written into the local memory.

6. The method according to claim 1, characterized in that The first business data is supercomputing service data.

7. The method according to claim 1, characterized in that The local processing unit includes a register, and the acquiring of the first service data from the local memory through the local processing unit and encapsulating the first service data into a first data packet includes: Acquire the first service data from the local memory by the local processing unit, and store the first service data in the register; The first service data in the register is encapsulated into a first data packet.

8. A data transmission system for a data center, characterized in that: The data center includes a memory, a network card, and a processing unit; The local processing unit is used for obtaining the first service data from the local memory after the local data center establishes a communication connection with the opposite data center, encapsulating the first service data into a first data packet, and sending the first data packet to the opposite network card through the local network card; The peer processing unit is used to obtain the first visual networking data packet from the peer network card, parse the first visual networking data packet to obtain the first business data, and write the first business data into the peer memory.

9. A data transmission device for a data center, characterized in that: The data center includes a memory, a network card and a processing unit, and the device includes: an acquisition module, configured to acquire first service data from a local memory through a local processing unit after a communication connection is established between a local data center and a remote data center, and encapsulate the first service data into a first data packet; a sending module, configured to send the first data packet to the opposite-end network card through the local network card, so that the opposite-end data processing unit obtains the first data packet from the opposite-end network card, and writes the first service data parsed from the first data packet into the opposite-end memory; The receiving module is used to receive the second data packet sent by the opposite network card through the local network card, obtain the second data packet from the local network card through the local data processing unit, parse the second data packet to obtain second service data, and write the second service data into the local memory.

10. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the data transmission method for a data center as described in any one of claims 1 to 7 are implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data transmission method for a data center according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • RISC-V server network processing system and method based on DPU unloading

    CN121771145A