Unlock instant, AI-driven research and patent intelligence for your innovation.

Inter-container communication control method and device

A communication control and container technology, applied in the field of communication, can solve the problems of reducing the reliability of Docker container communication and the inability of Docker container 1 to communicate, so as to achieve the effect of ensuring reliability

Active Publication Date: 2019-09-24
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when Docker container 2 migrates from Docker server 2 to other Docker servers, Docker container 1 will not be able to communicate with Docker container 2, reducing the reliability of communication between Docker containers

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
  • Inter-container communication control method and device
  • Inter-container communication control method and device
  • Inter-container communication control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] figure 1 It is a flowchart of a method for controlling communication between containers provided by an embodiment of the present invention; figure 2 A network structure diagram applicable to the inter-container communication control method provided by the embodiment of the present invention. The embodiment of the present invention aims at that when the Docker container 2 is migrated from the Docker server 2 to other Docker servers, the Docker container 1 will not be able to communicate with the Docker container 2, which reduces the reliability of the communication between the Docker containers, and provides a communication control method between containers , the specific steps of the method are as follows:

[0021] Step S101, receiving the first request sent by the source Docker container, the first request including the first address information of the source Docker container and the identification information of the target Docker container;

[0022] Such as figur...

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 this invention provides a method and device for controlling communication among containers. The method comprises the steps of receiving a first request sent by a source Docker container; according to identification information of a target Docker container, acquiring second address information of the target Docker container; and sending the second address information of the target Docker container to the source Docker container. By adoption of the method provided by the embodiment of the invention, when the target Docker container removes from one Docker server to the other one Docker server, the other one Docker server reports the identification information and the address information of the target Docker container to an address resolution protocol module, so that the address resolution protocol module stores the identification information and the address information of the target Docker container all the time; and the other one Docker server sends the address information of the target Docker container to the source Docker container, so that the reliability of the communication among the Docker containers is ensured.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method and device for controlling communication between containers. Background technique [0002] Docker is an open source application container engine. After installing Docker on a physical host, multiple containers can be hosted on the basis of Docker. Multiple containers are isolated from each other. Multiple containers share the operating system of the physical host, and each container can be placed and execute different applications. [0003] The physical host on which the Docker container is installed is called a Docker server. For example, Docker container 1 is in Docker server 1, and Docker container 2 is in Docker server 2. When Docker container 1 needs to access Docker container 2 as a client, Docker container 1 is created Request message, the source IP address of the request message is the IP address of Docker server 1, and the de...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/12
Inventor 田新雪马书惠
Owner CHINA UNITED NETWORK COMM GRP CO LTD