Data interaction method and device, electronic equipment and computer storage medium

A technology of data interaction and equipment, applied in the computer field, can solve the problems of unfulfilled application requirements, abnormalities, and cumbersome operations on the application demand side

Pending Publication Date: 2021-09-21
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the current RDMA-based inter-device communication method, on the one hand, it is necessary to adapt the network environment according to these changes, and the operation is cumbersome; on the other hand, if the corresponding network environment information is not updated in time according to these changes, then It may cause the application requirements on the application requirements side to be unfulfilled or abnormal
The RDMA communication scheme between virtualized containers based on this communication scheme also has the same problem

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data interaction method and device, electronic equipment and computer storage medium
  • Data interaction method and device, electronic equipment and computer storage medium
  • Data interaction method and device, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] refer to Figure 1A , shows a flowchart of steps of a data interaction method according to Embodiment 1 of the present invention.

[0025] The data interaction method of this embodiment includes the following steps:

[0026] Step S102: Establish a communication connection between the first virtual network card and the second virtual network card based on the first virtual address corresponding to the first virtual network card and the second virtual address corresponding to the second virtual network card.

[0027] Wherein, the first virtual network card is bound to the first physical network card, and the second virtual network card is bound to the second physical network card.

[0028] In many data interaction scenarios, communication connections are made through physical network cards for data transmission and interaction. In these data interaction scenarios, data interaction based on the RDMA protocol is an important application scenario, but the solution of the em...

Embodiment 2

[0044] In this embodiment, data interaction between virtualized containers based on the RDMA protocol is taken as an example to describe the data interaction method in the embodiment of the present invention.

[0045] First, take Docker as an example to illustrate the virtualization container. Docker containers allow developers to package corresponding applications (such as Figure 2B in the application A, B, C) and dependent packages (such as Figure 2B binaries / libraries) into a portable container and then publish to any server with Docker Engine installed. Docker is based on LXC (LinuXContainer, Linux container, a lightweight virtualization method) to implement functions similar to VM (virtual machine), which can provide users with more computing resources on more limited hardware resources.

[0046] Such as Figure 2B As shown, the applications A, B, and C in Docker run directly on the kernel of the host machine (host operating system). Docker does not have its own kern...

Embodiment 3

[0083] refer to image 3 , shows a structural block diagram of a data interaction device according to Embodiment 3 of the present invention.

[0084] The data interaction device in this embodiment includes: a first communication module 302, configured to establish the first virtual network card and the first virtual network card based on the first virtual address corresponding to the first virtual network card and the second virtual address corresponding to the second virtual network card The communication connection between the second virtual network card, wherein, the first virtual network card is bound to the first physical network card, and the second virtual network card is bound to the second physical network card; the obtaining module 304 is configured to use the communication connection, obtaining the second physical address of the second physical network card from the second virtual network card; the second communication module 306, configured to obtain the second phy...

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

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a data interaction method and device, electronic equipment and a computer storage medium, and the method comprises the steps: based on a first virtual address corresponding to a first virtual network card and a second virtual address corresponding to a second virtual network card, establishing communication connection between the first virtual network card and the second virtual network card, wherein the first virtual network card is bound with a first physical network card, and the second virtual network card is bound with a second physical network card; acquiring a second physical address of the second physical network card from the second virtual network card through the communication connection; and performing data communication between the first physical network card and the second physical network card according to the first physical address of the first physical network card and the second physical address of the second physical network card. According to the embodiment of the invention, even if the physical network card or service changes, the physical network card and / or service changes of the front-end equipment can be shielded.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a data interaction method, device, electronic equipment, and computer storage medium. Background technique [0002] RDMA (Remote Direct Memory Access) technology is a technology that can solve the data processing delay between the client and the server in network transmission. It transfers data directly from the memory of one device to another without the intervention of both operating systems, and is especially suitable for use in massively parallel computer clusters. Through RDMA, high-performance data communication between different devices is realized. [0003] At the same time, virtualization technologies that can optimize the use of computer resources are also more and more widely used, and virtualized containers such as Docker are one of the important ones. A virtualized container is an application layer abstraction that can package code ...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558
Inventor 赵树起
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products