Inter-container communication method, device and system

A communication method and container technology, applied in the field of communication, can solve problems such as failure to communicate normally

Active Publication Date: 2016-11-02
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the containers scattered on different Docker servers in the three-tier network and belonging to the same user cannot communicate normally

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] figure 1 It is a schematic diagram of the connection between the Docker server and the subnet in the prior art. like figure 1 As shown, the Docker server 21 belongs to the subnet 20, the Docker server 21 includes a container 31 and a container 32, the container 31 is provided with a virtual network card 41, and the container 32 is provided with a virtual network card 42, and the virtual network card 41 and the virtual network card 42 are connected to the network bridge respectively. 43, the network bridge 43 is connected to the physical network card 44 of the Docker server 21. The network bridge 43 assigns different private network addresses to the container 31 and the container 32 respectively. When the container 31 or the container 32 accesses devices outside the subnet 20, the container 31 or the container 32 sends a message to the network bridge 43. The message Including the private network address, the network bridge 43 converts the private network address to the...

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 invention provides an inter-container communication method, a device and an inter-container communication system. The inter-container communication method includes the following steps that: a first virtual bridge sends an address request message to a coordination network element; the first virtual bridge receives the public network address of a target container which is sent by the coordination network element; and the first virtual bridge sends a message of a source container to a second virtual bridge according to the public network address of the target container. According to the inter-container communication method, the device and the inter-container communication system provided by the embodiments of the invention, the virtual bridges are created through different Docker servers; the virtual bridges allocate private network addresses for containers on the Docker servers where the virtual bridges are located; and the containers of the same user which are distributed on different Docker servers obtain the IP addresses and port numbers of the Docker servers where corresponding containers are located through the virtual bridges from the coordination network element and communicate with the corresponding containers according to the IP addresses and port numbers of the Docker servers where the corresponding containers are located. With the inter-container communication method adopted, the communication of the containers of the same user distributed on the different Docker servers in a three-layer network is realized.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular, to a communication method, device, and system 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] In the prior art, containers scattered on different Docker servers in a three-tier network and belonging to the same user cannot communicate normally. Contents of the invention [0004] Embodiments of the present invention provide a communication method, device and system between containers, so as to realize normal communication between containers scattered on different Docker servers in a three-layer ...

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): H04L12/46H04L29/12
CPCH04L12/462H04L61/5007
Inventor 田新雪马书惠
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products