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

Container address allocation method and device

An allocation method and address technology, which is applied in the computer field, can solve problems such as increasing the complexity of container use and maintenance, changing IP addresses, and reducing production efficiency, and achieves the effect of convenient address-dependent configuration and

Active Publication Date: 2021-01-19
GUANGZHOU HUYA TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In some solutions, the solution of dynamically assigning IP addresses to containers is adopted, but when the containers are created, upgraded, and rebuilt, they will perform the action of applying for addresses, and the method of globally dynamically assigning IP addresses will cause the containers to be updated every time they are upgraded. or the rebuilt IP address changes
As a result, components that rely heavily on the IP address of the container need to reconfigure the IP address to interact with the container
Moreover, due to the different time for each container to apply for an address, the IP address areas of different types of containers are interspersed with each other, which is inconvenient to manage, increases the complexity of container use and maintenance, and reduces production efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0023] Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art w...

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 address allocation method and device applied to data processing equipment. The data processing equipment stores address pools corresponding to container group identifiers of different container groups in advance; the method comprises the following steps: receiving a container address allocation request sent by a container, wherein the container address allocationrequest comprises a container group identifier of a container group where the container is located; searching a target address pool corresponding to the container group identifier; selecting an available address from the target address pool and allocating the available address to the container. Therefore, the addresses of the containers in the same container group come from the same address pool,so that the addresses of the same container group are relatively fixed, and the address dependence configuration of the containers and the management and maintenance of the container addresses are facilitated.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a method and device for allocating container addresses. Background technique [0002] Container (container) technology is a technology that packages and deploys applications and their required dependencies, class libraries, configuration files, and other binary files together, so that applications can run smoothly when switching operating environments. [0003] After the container is deployed, it needs to be assigned an IP address to communicate with other components. In some schemes, the scheme of dynamically assigning IP addresses to containers is adopted, but when the containers are created, upgraded, and rebuilt, they will perform the action of applying for addresses, and the global dynamic allocation of IP addresses will cause the containers to be updated every time they are upgraded. Or the IP address changed after reconstruction. As a result, components ...

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
IPC IPC(8): H04L29/12
CPCH04L61/5007H04L61/5061Y02D10/00
Inventor 戴声王兴刚王华夏毛茂德
Owner GUANGZHOU HUYA TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More