CN108574705A - Communication means, apparatus and system between a kind of container - Google Patents

Communication means, apparatus and system between a kind of container Download PDF

Info

Publication number
CN108574705A
CN108574705A CN201710139422.0A CN201710139422A CN108574705A CN 108574705 A CN108574705 A CN 108574705A CN 201710139422 A CN201710139422 A CN 201710139422A CN 108574705 A CN108574705 A CN 108574705A
Authority
CN
China
Prior art keywords
container
address information
host
address
key
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.)
Pending
Application number
CN201710139422.0A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Hubei Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Hubei 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 China Mobile Communications Group Co Ltd, China Mobile Group Hubei Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710139422.0A priority Critical patent/CN108574705A/en
Publication of CN108574705A publication Critical patent/CN108574705A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses communication means, the apparatus and systems between a kind of container.This method includes:Receive the data access request that source container is sent;The address information of purpose container is obtained from data access request;It include the inquiry instruction of the address information of purpose container to key value Key Value data base set pocket transmissions;When inquiring the address information of purpose host, the purpose host address information that Key Value data-base clusters are replied is received;Data access request is sent to purpose container by the address information based on purpose host address information and purpose container, and the address information of sourcesink host is communicated with source container where making address information and source container of the purpose container based on source container.Container can be needed not distinguish between whether across host, i.e., no matter the no network communication that mainframe cluster inner pressurd vessel can be achieved on the same host of corrosion, there is good availability and stability.

Description

Communication means, apparatus and system between a kind of container
Technical field
The present invention relates to communication means, the apparatus and systems between field of communication technology more particularly to a kind of container.
Background technology
Container (Container) is to realize a kind of more efficient technology of application encapsulation after virtual machine, open at present Beginning is gradually promoted and is widely used.It can easily be packaged application using container technique and dependence packet is removable to one In the container of plant, application is become into a kind of standardized, transplantable, Self management component, to realize the collection of application system Middleization, specialized management and easily migration and extension.Network communication between container is broadly divided into two broad aspects:Same one night Being in communication with each other between the container in host and being in communication with each other between the container of host communicate these two aspects container and distinguish Using different synchronizing modes.The major way that is in communication with each other between container in same host includes Bridge patterns, Host Pattern and None, the mode being in communication with each other between the container of host include Host patterns, port binding and use third party SDN。
But under existing cloud computing era, the communication mode between said vesse make system availability or stability not Demand can be reached.It is directly communicated with the external world using the network of host for example, Host patterns are container, a container collapse It is likely to cause the collapse of entire host, to make the stability of system reduce.For another example Bridge patterns and None cannot It is directly used in the container communication across host, availability is low;Port binding needs to bind container port to host port, with place When being communicated outside host, the service in container is accessed using the mode of host ip+port, so being only capable of supporting network stack Four layers or more of application, and container and host close coupling, it is difficult to flexibly handle, availability is low;Third party SDN needs Configuration third party software defines the tool of network, and configuration process is complicated, and higher to personnel requirement, availability is low.
Invention content
An embodiment of the present invention provides communication means, the apparatus and systems between a kind of container, can lead between existing container Letter mode disclosure satisfy that the problem of requirement of the availability of system, stability.
In a first aspect, an embodiment of the present invention provides the communication means between a kind of container, it to be used for address management apparatus, packet It includes:
The data access request that source container is sent is received, the data access request includes the address letter of the source container The address information of the address information and purpose container of sourcesink host where breath, the source container;
The address information of the purpose container is obtained from the data access request;
Include the inquiry instruction of the address information of the purpose container to key value Key-Value data base set pocket transmissions, uses The address information of purpose host where inquiring the purpose container;
When inquiring the address information of the purpose host, receive what the Key-Value data-base clusters were replied The purpose host address information;
Address information based on the purpose host address information and the purpose container is by the data access request It is sent to the purpose container, makes sourcesink where address information and the source container of the purpose container based on the source container The address information of host is communicated with the source container.
Second aspect, an embodiment of the present invention provides the communication means between a kind of container, are used for key value Key-Value data Library cluster, including:
The address information of host where the address information of associated storage container and the container;
Receive the inquiry instruction that address management apparatus is sent, wherein the inquiry instruction includes the address letter of purpose container Breath, the address information for purpose host where inquiring the purpose container;
When inquiring the address information of the purpose host, the purpose host is replied to described address managing device The address information of machine.
The third aspect, an embodiment of the present invention provides the communication devices between a kind of container, are used for address management apparatus, packet It includes:
Receiving unit, the data access request for receiving source container transmission, the data access request includes the source The address information of the address information and purpose container of sourcesink host where the address information of container, the source container;
Acquiring unit, the address information for obtaining the purpose container from the data access request;
Transmission unit, the address information for including the purpose container to key value Key-Value data base set pocket transmissions Inquiry instruction, the address information for purpose host where inquiring the purpose container;
Receiving unit, for when inquiring the address information of the purpose host, receiving the Key-Value data The purpose host address information that library cluster is replied;
The transmission unit is additionally operable to the address information based on the purpose host address information and the purpose container The data access request is sent to the purpose container, make address information of the purpose container based on the source container and The address information of sourcesink host is communicated with the source container where the source container.
Fourth aspect, an embodiment of the present invention provides the communication devices between a kind of container, are used for key value database cluster, packet It includes:
Storage unit, for the phase between the address information of host where the address information of storage container and the container Pass relationship;
Receiving unit, the inquiry instruction for receiving address management apparatus transmission, wherein the inquiry instruction includes purpose The address information of container, the address information for purpose host where inquiring the purpose container;
Transmission unit, for when inquiring the address information of the purpose host, being returned to described address managing device The address information of the multiple purpose host.
5th aspect, includes as described in the third aspect an embodiment of the present invention provides the communication system between a kind of container Communication device between communication device between container and the container as described in fourth aspect.
An embodiment of the present invention provides communication means, the apparatus and system between a kind of container, Key- in the embodiment of the present invention The address information of the address information of associated storage container and container place host in Value data-base clusters;Address administration fills It sets after receiving the data access request that source container is sent, the address information of purpose container is obtained from data access request;So Backward Key-Value data base set pocket transmissions include the inquiry instruction of the address information of purpose container, inquiry purpose container place The address information of purpose host;When inquiring the address information of purpose host, receives Key-Value data-base clusters and return Multiple purpose host address information;Address information again based on purpose host address information and purpose container is by data access Request is sent to purpose container, the address letter of sourcesink host where making address information and source container of the purpose container based on source container Breath is communicated with source container.In this way, when being communicated between container in the embodiment of the present invention, whether container is needed not distinguish between across host Machine, i.e., no matter the no network communication that mainframe cluster inner pressurd vessel can be achieved on the same host of corrosion, have and well may be used With property and stability.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the network architecture schematic diagram of the communication means between the container provided according to embodiments of the present invention;
Fig. 2 is the schematic flow chart of the communication means between the container provided according to one embodiment of the invention;
Fig. 3 is the schematic flow chart of the communication means between the container provided according to further embodiment of this invention;
Fig. 4 shows the schematic block diagram of the communication device between container according to an embodiment of the invention;
Fig. 5 shows the schematic block diagram of the communication device between the container according to further embodiment of this invention;
Fig. 6 shows the schematic block diagram of the communication device between container according to another embodiment of the present invention;
Fig. 7 is the schematic block diagram of the communication system between container according to an embodiment of the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Communication means between container provided in an embodiment of the present invention can be used for the communication between container, specifically, can be with For network architecture schematic diagram as shown in Figure 1.As shown in Figure 1, mainframe cluster includes multiple main frames, pass through local between host Net is communicatively coupled, and 3 containers of setting on host can be arranged in container, such as Fig. 1 on host;Pass through key assignments key- The key-value data-base clusters of the cluster features structure Intrusion Detection based on host cluster in the libraries value, key-value data-base cluster packets Include the key-value nodes on each host, the associated storage address information of container in key-value data-base clusters The address information of host where (such as IP address) and container;Address management apparatus, address management apparatus is arranged in each host It can be communicated from the container on different hosts by LAN.
Fig. 2 shows the schematic flow charts of the communication means between container according to an embodiment of the invention.Such as Fig. 2 institutes Show, this method is used for address management apparatus, includes the following steps.
101, receive the data access request that source container is sent.
Wherein, data access request include the address information of source container, the address information of sourcesink host where source container and The address information of purpose container.When needing to communicate with other containers, the address management apparatus on its host is sent container Data access request, address management apparatus can receive data access request.
102, the address information of purpose container is obtained from data access request.
Wherein, due to include in data access request purpose container address information, it is possible to directly from data visit Ask the address information that purpose container is obtained in request.
103, include the inquiry instruction of the address information of purpose container to Key-Value data base set pocket transmissions.
Wherein, the address information of purpose host where inquiry instruction is used to inquire purpose container.Due to key-value numbers According to the address information of host where the address information and container of the container of associated storage in the cluster of library, so key-value numbers The address information of purpose host can be inquired by the address information of purpose container according to library cluster.
It should be noted that according to the characteristic of key-value data-base clusters, the letter between each key-value nodes Breath is shared, address management apparatus to Key-Value data base set pocket transmissions inquiry instruction can be specially then address management apparatus Key-Value nodes where to address management apparatus on host send inquiry instruction.
104, when inquiring the address information of purpose host, receive the purpose that Key-Value data-base clusters are replied Host address information.
Wherein, the ground of purpose host is inquired by the address information of purpose container when key-yalue data-base clusters When the information of location, purpose host address information can be sent to address management apparatus.
105, data access request is sent to mesh by the address information based on purpose host address information and purpose container Container.
Wherein, data access request is sent to purpose container, since data access request includes the address of source container The address information of sourcesink host where information, source container, so address information and source that purpose container can be based on source container are held The address information of sourcesink host is communicated with source container where device.
It should be noted that in the embodiment of the present invention, address information includes network protocol IP address.
Host where the address information of storage container and container in Key-Value data-base clusters in the embodiment of the present invention Address information between correlativity;Address management apparatus is after receiving the data access request that source container is sent, from data The address information of purpose container is obtained in access request;Then include purpose container to Key-Value data base set pocket transmissions The inquiry instruction of address information, the address information of purpose host where inquiry purpose container;When inquiring purpose host When address information, the purpose host address information that Key-Value data-base clusters are replied is received;Again based on purpose host Data access request is sent to purpose container by location information and the address information of purpose container, makes purpose container based on source container The address information of sourcesink host is communicated with source container where address information and source container.In this way, holding in the embodiment of the present invention When being communicated between device, whether container is needed not distinguish between across host, i.e., no matter corrosion is no can be achieved on the same host The network communication of mainframe cluster inner pressurd vessel has good availability and stability.
It is understood that in embodiments of the present invention, this method further includes:Step 106, when not inquiring purpose host When machine address information, the Defect Indication information that Key-Value data-base clusters are replied is received;107, it sends mistake to source container and refers to Show information.
Wherein, when Key-Value data-base clusters do not inquire the address information of purpose container, Key-Value data Library cluster can reply Defect Indication information to address management apparatus.Address management apparatus receives Defect Indication information, is sent out Source container is given, for prompting the address information of the purpose container of source container transmission wrong.
It is understood that in embodiments of the present invention, this method further includes:108, receive new container addition request; 109, address information is generated for new container, and host is distributed for new container;110, it is deposited to the transmission of Key-Value data clusters Storage instruction, makes the address for the address information and the host distributed for new container that Key-Value data clusters distribute new container Information association stores.
Wherein, when needing to add new container in mainframe cluster, the new container addition request of addition new container is received, Then it is that new container to be added assigns host, and generates the address information of new container, the address information of new container and master The address information of other containers is different in machine cluster.Then store instruction, store instruction packet are sent to Key-Value data clusters The address information for including the address information and the host distributed for the new container of new container distribution, makes Key-Value data sets Group stores the address information of the address information of the new container distribution and the host for new container distribution, and correlation is closed System.
Fig. 3 shows the schematic flow chart of the communication means between the container according to further embodiment of this invention.Such as Fig. 3 institutes Show, this method is for including the following steps.
201, the address information of host where the address information and container of associated storage container.
Wherein, place where the address information of each container in mainframe cluster, each container are stored in Key-Value data clusters Incidence relation between the address information of host and the address information of container and the address information of host.Incidence relation packet Include the correspondence between the address information of container and the address information of container place host.
202, receive the inquiry instruction that address management apparatus is sent.
Wherein, inquiry instruction includes the address information of purpose container, for purpose host where inquiring purpose container Address information.
203, when inquiring the address information of purpose host, the address of purpose host is replied to address management apparatus Information.
Wherein, Key-Value data clusters are after receiving inquiry instruction, according to the purpose host in inquiry instruction Address information inquires the address information of the host where purpose container.When inquiring the address information of purpose host, to Address management apparatus replys the address information of purpose host.
It should be noted that in the embodiment of the present invention, address information includes network protocol IP address.
Host where the address information of storage container and container in Key-Value data-base clusters in the embodiment of the present invention Address information between correlativity;Address management apparatus is after receiving the data access request that source container is sent, from data The address information of purpose container is obtained in access request;Then include purpose container to Key-Value data base set pocket transmissions The inquiry instruction of address information, the address information of purpose host where inquiry purpose container;When inquiring purpose host When address information, the purpose host address information that Key-Value data-base clusters are replied is received;Again based on purpose host Data access request is sent to purpose container by location information and the address information of purpose container, makes purpose container based on source container The address information of sourcesink host is communicated with source container where address information and source container.In this way, holding in the embodiment of the present invention When being communicated between device, whether container is needed not distinguish between across host, i.e., no matter corrosion is no can be achieved on the same host The network communication of mainframe cluster inner pressurd vessel has good availability and stability.
It is understood that in embodiments of the present invention, this method further includes:Step 204, when not inquiring the purpose When host address information, Defect Indication information is sent to described address managing device.
Wherein, Key-Value data clusters are after receiving inquiry instruction, according to the purpose host in inquiry instruction Address information inquires the address information of the host where purpose container.When not inquiring the address information of purpose host, Defect Indication information is replied to address management apparatus, address management apparatus is made to send Defect Indication information to source container.
It is understood that in embodiments of the present invention, this method further includes:Step 205, address management apparatus hair is received The store instruction sent, store instruction include the address letter of the address information and the host distributed for new container of new container distribution Breath;206, the address information of the address information of storage new container distribution and the host for new container distribution.
Wherein, when needing to add new container in mainframe cluster, address management apparatus can receive addition new container New container addition request, then assigns host, and generate the address information of new container, new container for new container to be added Address information it is different from the address information of other containers in mainframe cluster.Then it sends and stores to Key-Value data clusters Instruction, store instruction include the address information of the address information and the host distributed for the new container of new container distribution, Key-Value data clusters are after receiving store instruction, by the address of the host of the address information of new container and new container Information and correlativity are stored.
Fig. 4 shows the schematic block diagram of the communication device 300 between container according to an embodiment of the invention.Such as Fig. 4 institutes Show, which is used for address management apparatus, including:
Receiving unit 301, the data access request for receiving source container transmission, the data access request include described The address information of the address information and purpose container of sourcesink host where the address information of source container, the source container;
Acquiring unit 302, the address information for obtaining the purpose container from the data access request;
Transmission unit 303, the address for key value Key-Value data base set pocket transmissions including the purpose container are believed The inquiry instruction of breath, the address information for purpose host where inquiring the purpose container;
The receiving unit 301 is additionally operable to, when inquiring the address information of the purpose host, receive the Key- The purpose host address information that Value data-base clusters are replied;
The transmission unit 303 is additionally operable to the address based on the purpose host address information and the purpose container The data access request is sent to the purpose container by information, makes address letter of the purpose container based on the source container The address information of sourcesink host is communicated with the source container where breath and the source container.
Host where the address information of storage container and container in Key-Value data-base clusters in the embodiment of the present invention Address information between correlativity;Address management apparatus is after receiving the data access request that source container is sent, from data The address information of purpose container is obtained in access request;Then include purpose container to Key-Value data base set pocket transmissions The inquiry instruction of address information, the address information of purpose host where inquiry purpose container;When inquiring purpose host When address information, the purpose host address information that Key-Value data-base clusters are replied is received;Again based on purpose host Data access request is sent to purpose container by location information and the address information of purpose container, makes purpose container based on source container The address information of sourcesink host is communicated with source container where address information and source container.In this way, holding in the embodiment of the present invention When being communicated between device, whether container is needed not distinguish between across host, i.e., no matter corrosion is no can be achieved on the same host The network communication of mainframe cluster inner pressurd vessel has good availability and stability.
It is understood that the receiving unit 301 is additionally operable to when not inquiring the purpose host address information, Receive the Defect Indication information that the Key-Value data-base clusters are replied;
The transmission unit 303 is additionally operable to send Defect Indication information to the source container.
Fig. 5 shows the schematic block diagram of the communication device 300 between the container according to further embodiment of this invention.
It is understood that the receiving unit 301 is additionally operable to receive new container addition request;
As shown in figure 5, the device 300 can also include:
Processing unit 305, for being that the new container generates address information, and distributes host for the new container;
The transmission unit 303 is additionally operable to send store instruction to the Key-Value data clusters, makes the Key- The address information and closed for the address information of the host of new container distribution that Value data clusters distribute the new container Connection storage.
It is understood that described address information includes network protocol IP address.
Communication device 300 between container according to the ... of the embodiment of the present invention can correspond between container according to the ... of the embodiment of the present invention Communication means in executive agent, and above and other operation of the modules in the communication device 300 between container and/ Or function is respectively in order to realize the corresponding flow of each method in Fig. 1, for sake of simplicity, details are not described herein.
Fig. 6 shows the schematic block diagram of the communication device 400 between container according to another embodiment of the present invention.Such as Fig. 6 Shown, which is used for key value database cluster, including:
Storage unit 401, the address information for host where the address information of associated storage container and the container;
Receiving unit 402, the inquiry instruction for receiving address management apparatus transmission, wherein the inquiry instruction includes The address information of purpose container, the address information for purpose host where inquiring the purpose container;
Transmission unit 403, for when inquiring the address information of the purpose host, to described address managing device Reply the address information of the purpose host.
Host where the address information of storage container and container in Key-Value data-base clusters in the embodiment of the present invention Address information between correlativity;Address management apparatus is after receiving the data access request that source container is sent, from data The address information of purpose container is obtained in access request;Then include purpose container to Key-Value data base set pocket transmissions The inquiry instruction of address information, the address information of purpose host where inquiry purpose container;When inquiring purpose host When address information, the purpose host address information that Key-Value data-base clusters are replied is received;Again based on purpose host Data access request is sent to purpose container by location information and the address information of purpose container, makes purpose container based on source container The address information of sourcesink host is communicated with source container where address information and source container.In this way, holding in the embodiment of the present invention When being communicated between device, whether container is needed not distinguish between across host, i.e., no matter corrosion is no can be achieved on the same host The network communication of mainframe cluster inner pressurd vessel has good availability and stability.
It is understood that the transmission unit 403 is additionally operable to when not inquiring the purpose host address information, Defect Indication information is sent to described address managing device.
It is understood that the receiving unit 402 is additionally operable to receive the store instruction that described address managing device is sent, The store instruction includes the address information of the address information and the host distributed for the new container of the new container distribution;
The storage unit 401 is additionally operable to store the address information of the new container distribution and is distributed for the new container The address information of host.
It is understood that described address information includes network protocol IP address.
Communication device 400 between container according to the ... of the embodiment of the present invention can correspond between container according to the ... of the embodiment of the present invention Communication means in executive agent, and above and other operation of the modules in the communication device 400 between container and/ Or function is respectively in order to realize the corresponding flow of each method in Fig. 2, for sake of simplicity, details are not described herein.
Fig. 7 is the schematic block diagram of the communication system 500 between container according to an embodiment of the invention.As shown in fig. 7, being System 500 includes such as Fig. 4 or shown in fig. 5 devices and device shown in fig. 6.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (17)

1. the communication means between a kind of container, which is characterized in that it is used for address management apparatus, including:
The data access request that source container is sent is received, the data access request includes the address information of the source container, institute The address information of the address information and purpose container of sourcesink host where stating source container;
The address information of the purpose container is obtained from the data access request;
Include the inquiry instruction of the address information of the purpose container to key value Key-Value data base set pocket transmissions, for looking into The address information of purpose host where asking the purpose container;
When inquiring the address information of the purpose host, the described of the Key-Value data-base clusters reply is received Purpose host address information;
Address information based on the purpose host address information and the purpose container sends the data access request To the purpose container, make sourcesink host where address information and the source container of the purpose container based on the source container Address information communicated with the source container.
2. the communication means between container according to claim 1, which is characterized in that be based on the purpose host address information Before the data access request is sent to the purpose container with the address information of the purpose container, this method is also wrapped It includes:
When not inquiring the purpose host address information, the mistake that the Key-Value data-base clusters are replied is received Indicate information;
Defect Indication information is sent to the source container.
3. the communication means between container according to claim 1, which is characterized in that further include:
Receive new container addition request;
Address information is generated for the new container, and host is distributed for the new container;
Store instruction is sent to the Key-Value data clusters, makes the Key-Value data clusters by the new container point The address information associated storage of the address information and the host distributed for the new container matched.
4. according to the communication means between any one of the claim 1-3 containers, which is characterized in that described address information includes net Network Protocol IP address.
5. the communication means between a kind of container, which is characterized in that key value Key-Value data-base clusters are used for, including:
The address information of host where the address information of associated storage container and the container;
Receive the inquiry instruction that address management apparatus is sent, wherein the inquiry instruction includes the address information of purpose container, is used The address information of purpose host where inquiring the purpose container;
When inquiring the address information of the purpose host, the purpose host is replied to described address managing device Address information.
6. the communication means between container according to claim 5, which is characterized in that further include:
When not inquiring the purpose host address information, Defect Indication information is sent to described address managing device.
7. the communication means between container according to claim 5, which is characterized in that further include:
The store instruction that described address managing device is sent is received, the store instruction includes the address letter of the new container distribution The address information of breath and the host distributed for the new container;
Store the address information of the address information and the host distributed for the new container of the new container distribution.
8. according to the communication means between any one of the claim 5-7 containers, which is characterized in that described address information includes net Network Protocol IP address.
9. the communication device between a kind of container, which is characterized in that it is used for address management apparatus, including:
Receiving unit, the data access request for receiving source container transmission, the data access request includes the source container Address information, the address information of the address information and purpose container of sourcesink host where the source container;
Acquiring unit, the address information for obtaining the purpose container from the data access request;
Transmission unit, for looking into address information of the key value Key-Value data base set pocket transmissions comprising the purpose container Instruction is ask, the address information for purpose host where inquiring the purpose container;
Receiving unit, for when inquiring the address information of the purpose host, receiving the Key-Value data base sets The purpose host address information that group replys;
The transmission unit is additionally operable to the address information based on the purpose host address information and the purpose container by institute It states data access request and is sent to the purpose container, make address information of the purpose container based on the source container and described The address information of sourcesink host is communicated with the source container where source container.
10. the communication device between container according to claim 9, which is characterized in that the receiving unit is additionally operable to not look into When asking the purpose host address information, the Defect Indication information that the Key-Value data-base clusters are replied is received;
The transmission unit is additionally operable to send Defect Indication information to the source container.
11. the communication device between container according to claim 9, which is characterized in that the receiving unit is additionally operable to receive new Container addition request;Described device further includes:
Processing unit, for being that the new container generates address information, and distributes host for the new container;
The transmission unit is additionally operable to send store instruction to the Key-Value data clusters, makes the Key-Value data The address information associated storage of the address information that cluster distributes the new container and the host for new container distribution.
12. according to the communication device between any one of the claim 9-11 containers, which is characterized in that described address information includes Network protocol IP address.
13. the communication device between a kind of container, which is characterized in that it is used for key value database cluster, including:
Storage unit, the address information for host where the address information of associated storage container and the container;
Receiving unit, the inquiry instruction for receiving address management apparatus transmission, wherein the inquiry instruction includes purpose container Address information, the address information for purpose host where inquiring the purpose container;
Transmission unit, for when inquiring the address information of the purpose host, institute to be replied to described address managing device State the address information of purpose host.
14. according to the communication device between container described in claim 13, which is characterized in that the transmission unit is additionally operable to not look into When asking the purpose host address information, Defect Indication information is sent to described address managing device.
15. according to the communication device between container described in claim 13, which is characterized in that the receiving unit is additionally operable to receive institute The store instruction of address management apparatus transmission is stated, the store instruction includes the address information of the new container distribution and is described The address information of the host of new container distribution;
The storage unit is additionally operable to the host for storing the address information of the new container distribution and being distributed for the new container Address information.
16. according to the communication device between any one of the claim 13-15 containers, which is characterized in that described address packet Include network protocol IP address.
17. the communication system between a kind of container, which is characterized in that include as between claim 9-12 any one of them containers Communication device between communication device and such as claim 13-16 any one of them containers.
CN201710139422.0A 2017-03-09 2017-03-09 Communication means, apparatus and system between a kind of container Pending CN108574705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710139422.0A CN108574705A (en) 2017-03-09 2017-03-09 Communication means, apparatus and system between a kind of container

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710139422.0A CN108574705A (en) 2017-03-09 2017-03-09 Communication means, apparatus and system between a kind of container

Publications (1)

Publication Number Publication Date
CN108574705A true CN108574705A (en) 2018-09-25

Family

ID=63576989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710139422.0A Pending CN108574705A (en) 2017-03-09 2017-03-09 Communication means, apparatus and system between a kind of container

Country Status (1)

Country Link
CN (1) CN108574705A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012087A (en) * 2019-03-28 2019-07-12 中国工商银行股份有限公司 Data processing system and data processing method
CN111327647A (en) * 2018-12-13 2020-06-23 北京金山云网络技术有限公司 Method and device for providing service to outside by container and electronic equipment
CN111654559A (en) * 2020-05-29 2020-09-11 深圳前海微众银行股份有限公司 Container data transmission method and device
CN113452806A (en) * 2021-06-24 2021-09-28 上海道客网络科技有限公司 Container adaptation SDN network management method and system based on Kubernetes system
CN113630300A (en) * 2020-05-09 2021-11-09 华为技术有限公司 Method and node for message transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067858A (en) * 2016-05-24 2016-11-02 中国联合网络通信集团有限公司 Communication means between container, Apparatus and system
US20160342401A1 (en) * 2015-05-18 2016-11-24 Morgan Stanley Inter-instance communication in a containered clustered server environment
CN106302771A (en) * 2016-08-23 2017-01-04 浪潮电子信息产业股份有限公司 Domain name configuration method of application created based on Docker container

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160342401A1 (en) * 2015-05-18 2016-11-24 Morgan Stanley Inter-instance communication in a containered clustered server environment
CN106067858A (en) * 2016-05-24 2016-11-02 中国联合网络通信集团有限公司 Communication means between container, Apparatus and system
CN106302771A (en) * 2016-08-23 2017-01-04 浪潮电子信息产业股份有限公司 Domain name configuration method of application created based on Docker container

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327647A (en) * 2018-12-13 2020-06-23 北京金山云网络技术有限公司 Method and device for providing service to outside by container and electronic equipment
CN110012087A (en) * 2019-03-28 2019-07-12 中国工商银行股份有限公司 Data processing system and data processing method
CN110012087B (en) * 2019-03-28 2022-02-01 中国工商银行股份有限公司 Data processing system and data processing method
CN113630300A (en) * 2020-05-09 2021-11-09 华为技术有限公司 Method and node for message transmission
WO2021227873A1 (en) * 2020-05-09 2021-11-18 华为技术有限公司 Method and node for message transmission
CN113630300B (en) * 2020-05-09 2023-08-08 华为技术有限公司 Method and node for message transmission
CN111654559A (en) * 2020-05-29 2020-09-11 深圳前海微众银行股份有限公司 Container data transmission method and device
CN111654559B (en) * 2020-05-29 2023-04-07 深圳前海微众银行股份有限公司 Container data transmission method and device
CN113452806A (en) * 2021-06-24 2021-09-28 上海道客网络科技有限公司 Container adaptation SDN network management method and system based on Kubernetes system

Similar Documents

Publication Publication Date Title
CN108574705A (en) Communication means, apparatus and system between a kind of container
US11354039B2 (en) Tenant-level sharding of disks with tenant-specific storage modules to enable policies per tenant in a distributed storage system
EP3311544B1 (en) Managing dynamic ip address assignments
WO2023098645A1 (en) Container network configuration method and apparatus, computing node, master node, and storage medium
CN109995641B (en) Information processing method, computing node and storage medium
US20140282611A1 (en) Distributed and scaled-out network switch and packet processing
CN105631023B (en) The method and apparatus of distributed lock service
CN106294713A (en) The method of data synchronization resolved based on Incremental Log and data synchronization unit
US8775629B1 (en) System and method for managing internet protocol (IP) address space for enterprise network
CN104583955A (en) Method and apparatus for IP commissioning and decom-missioning in orchestrated computing environments
CN107079060A (en) The system and method optimized for carrier-class NAT
CN108259218A (en) A kind of IP address distribution method and device
CN105516302B (en) A kind of data processing method and the network equipment
CN107656695A (en) A kind of data storage, delet method, device and distributed memory system
CN104793981B (en) A kind of online snapshot management method and device of cluster virtual machine
CN110213391A (en) A kind of configuration method and device of internet protocol address
CN114500523A (en) Fixed IP application release method based on container cloud platform
CN115314353B (en) Device and method for realizing single-pod multi-network card based on kubernetes
CN114979074B (en) Enterprise IPv6 address hierarchical management method, system and storage medium
JP5037644B2 (en) Computer system and control method thereof
CN108512684A (en) Firmware upgrade method and system and firmware upgrade managing device
CN106027356A (en) Tunnel identifier conversion method and device
CN106227470B (en) A kind of storage resource management method and device
CN105978744B (en) A kind of resource allocation methods, apparatus and system
US7908353B2 (en) Managing overlapping address spaces

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180925