Container network resource allocation method, system, storage medium and electronic device

A network resource allocation and container technology, applied in the Internet field, to achieve the effect of solving interoperability and improving efficiency

Active Publication Date: 2021-03-23
携程旅游信息技术(上海)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, the network and container creation and deletion are atomized, so there is no need to manually create the network before creating the container, and manually delete the network when the network is not in use. The automatic allocation of container network resources improves efficiency and effectively solves the aforementioned problems in the existing technology.

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 network resource allocation method, system, storage medium and electronic device
  • Container network resource allocation method, system, storage medium and electronic device
  • Container network resource allocation method, system, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0053] Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be impleme...

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 a container network resource distribution method, a system, a storage medium and electronic equipment; the method comprises the following steps: configuring a multi-host machinerunning network, and providing a plurality of unrepeated IP addresses for all containers of different host machines; applying an IP address from the configured network, and forming a port corresponding to the IP address; issuing a container creating task; using a corresponding host machine to receive and parse the container creating task according to scheduling strategies, and obtaining the IP address corresponding to the port; creating a transparent network according to the IP address, creating a container in the transparent network, and building a mapping relation between the container andthe IP address; using the host-machine to receive a container delete task when the container operation is over, deleting the container, and deleting the mapping relation between the container and theIP address. The method can provide unique and independent IPs for different containers on the host machines, thus ensuring mutual communications between services run on the containers deployed on theplurality of host machines; the network and container creation and deletion automation can be realized, thus greatly improving working efficiency.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a container network resource allocation method, system, storage medium and electronic equipment. Background technique [0002] With the continuous development of the Internet, the requirements for the online time of application services are getting higher and higher. It is hoped to shorten the environment preparation time and achieve second-level deployment. [0003] The Internet platform initially deployed applications on physical machines. In order to ensure that they do not conflict with each other, only one application is deployed on a physical machine. With the continuous development of application services, the strategy of deploying one application on one physical machine is too wasteful of resources. Therefore, multiple applications are deployed on one physical machine, but it brings trouble to management. There are certain conflicts or mutual conflicts betwee...

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/12H04L12/24G06F9/455
Inventor 施燕罗勇
Owner 携程旅游信息技术(上海)有限公司
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