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

Container management method and device

A container management and container technology, applied in the Internet field, can solve the problems of increasing the data processing burden of the processor, high memory consumption of the central processor, and container management delay, etc., to reduce the data processing burden, avoid the timeout problem, and reduce consumption.

Active Publication Date: 2018-10-19
BEIJING JINGDONG 360 DEGREE E COMMERCE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above-mentioned management method has the following problems: 1. The amount of data processed by the processor is very large, which increases the data processing burden of the processor, resulting in a large consumption of the central processing unit and memory; 2. Adopting the heartbeat mechanism will involve heartbeat timeout, This will cause a certain delay in container management; 3. As the number of containers increases, message delivery will become a bottleneck

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
  • Container management method and device
  • Container management method and device
  • Container management method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0031] figure 1 It is a schematic flowchart of a container management method provided in the first embodiment of the present invention. The method in this embodiment can be executed by a container management device integrated in a communication device (such as a router), and the device can be implemented through hardware and / or software way, without limitation. Correspondingly, the method in this embodiment specifically includes the following steps:

[0032] Step 11, obtaining the container information of the container from the reliable coordination system Zookeeper.

[0033] Wherein, the reliable coordination system Zookeeper stores container information of one or more containers in advance. The container information includes container identification, container location and other information.

[0034] For example, after the communication device (such as a router) is started, the container information of all containers is obtained from Zookeeper, so as to locate and detect ...

no. 2 example

[0065] figure 2 It is a schematic flowchart of a container management method provided in the second embodiment of the present invention. The method in this embodiment can be executed by a container management device integrated in a communication device (such as a router), and the device can use hardware and / or software way, without limitation. Correspondingly, the method in this embodiment specifically includes the following steps:

[0066] Step 21. Obtain the node of the container management component from Zookeeper, where the node of the container management component is pre-created in the Zookeeper.

[0067] For details, refer to the relevant description of this step in the above-mentioned embodiment, which will not be repeated here.

[0068] Step 22. Obtain the container information of the container from the node of the container management component.

[0069] For details, refer to the relevant description of this step in the above-mentioned embodiment, which will not ...

no. 3 example

[0076] image 3 It is a schematic flowchart of a container management method provided by the third embodiment of the present invention. The method in this embodiment may be executed by a container management device integrated in Zookeeper, and the device may be implemented by means of hardware and / or software, which is not limited thereto. Correspondingly, the method in this embodiment specifically includes the following steps:

[0077] Step 31: Receive a node creation request sent by the container management component, where the node creation request includes container information of the container.

[0078] Among them, the container management component is a component in the Paas platform, and a container management component is deployed in each virtual machine, which is responsible for managing all containers in the virtual machine.

[0079] For example, when the container management component starts, it will automatically request the Zookeeper node to create a request.

...

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 discloses a container management method and device. The container management method comprises the following steps: getting information of containers from a reliable coordination system Zookeeper; positioning and detecting the containers according to the information of the containers. According the method and the device, not only is data processing burden of communication equipment reduced, and consumption of a central processing unit and a memory is reduced, but also the information of the containers is directly gotten from the reliable coordination system Zookeeper when the containers are positioned and detected, so that the overtime problem caused by heartbeat is avoided, management delay on the containers does not occur, and the problem of message passing bottleneck which is caused by the increase of the number of the containers is prevented.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of the Internet, and in particular, to a container management method and device. Background technique [0002] In a public platform as a service (Platform-as-a-service, Paas) platform, with the gradual expansion of the user scale, thousands of containers (Container) will be generated, and these containers are irregularly distributed in different It is difficult to quickly locate and detect these containers because they are constantly changing state or migrating to other virtual machines. [0003] At present, the commonly used container management solution is: each container in the virtual machine uses the heartbeat mechanism, that is, reports data to the processor through the cloud messaging system (NATS) every few seconds, and the processor locates the container based on the reported data. And judge the health of the container. [0004] However, the above-mentioned management method ...

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): G06F11/30
Inventor 张伟
Owner BEIJING JINGDONG 360 DEGREE E COMMERCE CO LTD