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

Health detection method for safe container, electronic equipment and medium

A security container and health detection technology, which is applied in the direction of instruments, program control design, electrical digital data processing, etc., can solve the problems that the container health detection cannot be performed normally, the host cannot access the security container port, etc.

Pending Publication Date: 2021-01-15
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the secure container is set in a private network, due to the isolation between the host network and the private network, the host cannot access the port of the secure container, resulting in the failure of container health detection.

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
  • Health detection method for safe container, electronic equipment and medium
  • Health detection method for safe container, electronic equipment and medium
  • Health detection method for safe container, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0060] see Figure 4 As shown, the embodiments of the present disclosure provide a method for health detection of a security container, which can be applied to health detection of a security container running in a virtual private network.

[0061] The method can be applied to a host of a secure container, including steps S104-S108.

[0062] S104. Obtain a destination address, where the destination address includes the intranet elastic IP bound to the security container and the port number of the port to be detected of the security container.

[0063] S106. Send a health check request to the destination address.

[0064] That is, the host of the secure container sends the health check request with the intranet elastic IP bound with the secure container and the port to be detected as the destination address.

[0065] S108. Receive a response result of the security container to the health detection request.

[0066] S110. Determine the health state of the port to be detected o...

no. 2 example

[0092] see Figure 5 As shown, an embodiment of the present disclosure provides a method for health detection of a security container, which can be applied to health detection of a security container of a user's virtual private network. The method can be applied to a gateway component, including steps S204-S212.

[0093] S204. Receive a health check request sent by the host of the security container, where the destination address of the health check request includes the intranet elastic IP and the port number of the port to be checked of the security container.

[0094] The network segment to which the intranet elastic IP belongs is mounted under the gateway component in advance. When the destination address of the health check request sent by the host belongs to the network segment, the gateway component will receive the health check request.

[0095] S206. Determine the identifier of the security container bound to the intranet elastic IP.

[0096] S208. Forward the health...

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 health detection method for a safe container, electronic equipment and a medium. The method comprises the steps of obtaining a destination address, whereinthe destination address comprises an intranet elastic IP bound with a safe container and a port number of a to-be-detected port of the safe container; sending a health detection request to the destination address; receiving a response result of the safe container to the health detection request; according to the response result, the health state of the to-be-detected port of the safe container isdetermined, the security container is arranged in a virtual private cloud of a user and packaged in a virtual machine, an intranet elastic IP is written into a configuration file of the security container in advance, and the intranet elastic IP belongs to an intranet of a cloud service provider.

Description

technical field [0001] The present disclosure relates to cloud technology, and more particularly, to a health detection method, electronic device, and medium for a secure container. Background technique [0002] Container technology is a lightweight virtualization method that packages the application and the necessary execution environment into a container image, so that the application can run relatively independently in the host directly. see figure 1 As shown, in the traditional container technology, the container runs directly on the host (the container runs as a container process), which can be isolated by technologies such as namespace (Namespace), and the operating system kernel of the host is still shared between the containers. Isolation and security are weak. see figure 2 As shown, the secure container technology is to put the container in a lightweight virtual machine (lightweight virtual machine), and use technologies such as hardware virtualization to provid...

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/45558G06F2009/45591G06F2009/45595G06F2009/45587
Inventor 赵帅
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD