Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application service accessing system and method based on Docker container

A docker container and application service technology, applied in the direction of transmission system, instrument, program control design, etc.

Inactive Publication Date: 2017-11-24
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF7 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the deficiencies of the existing technology, the purpose of the present invention is to provide a Docker container-based application service access system and method, which solves the problem of Docker container services in different networks by configuring agents and mapping methods for the container basic network. Node access issues and container service access stability issues

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
  • Application service accessing system and method based on Docker container
  • Application service accessing system and method based on Docker container
  • Application service accessing system and method based on Docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] like image 3 As shown, a Docker container-based application service access system includes a container service deployment module, a container service network management module, a container service DNS resolution module, a container service access method collection module, a database, a web display module, and two container service discovery modules and a load balancing module, the container service deployment module is used for compiling, packaging, and container operation of application services, and through the load monitoring of the host machine in the docker cluster and the rational scheduling of the operation of the container; the container service network management module is used To allocate basic network resources for the service containers started in the container service deployment module and manage the container network; the container service discovery and load balancing module is used for automatic discovery of all containers in the docker cluster and realiz...

Embodiment 2

[0039] An access method for Docker container application services, such as figure 2 As shown, compared with Embodiment 1, this embodiment enables the user to manually modify the service mode after the application service is published, which is a supplement to Embodiment 1. The method provided by this embodiment includes the following steps:

[0040] Step S201: Accept the request of the web display page, reallocate network resources for the service container according to the request parameters, and schedule the container to an appropriate cluster node. In this embodiment, by modifying the net mode of the application service, the user will cause the container of the application service to reallocate network resources and restart. Specifically, the user modifies the net mode of the spring-web-client service in Embodiment 1 to internal network access (Internal) through the Web display module, and modifies its Internal domain name to spring-web-client.internaltest.net, The servic...

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 discloses an application service accessing system and method based on a Docker container. The system comprises a container service deployment module, a container service network management module, a container service DNS analysis module, a container service accessing mode collection module, a database, a web display module and two container service discovery and load balancing modules. According to the application service accessing system, through a mode that an agency and mapping are configured for the container basic network, the accessing problems of Docker container service in different network nodes and the stability problems of container service accessing are solved, and the network nodes can be popularized and applied to the Docker clustering virtual network environment, the host machine Docker local area network and the external network.

Description

technical field [0001] The present invention relates to the technical field of computer network and big data application, in particular to a Docker container-based application service access system and method. Background technique [0002] Docker is an open source application container engine. Through it, service developers can quickly and easily package their applications and dependencies into a portable container. The container itself is a streamlined operating system, including the service running The required basic environment. [0003] When starting a Docker container, the Docker cluster natively supports four network modes: bridge mode, container mode, host mode, and none mode. When the Docker container is connected to the network, it can only realize the interaction inside the Docker container. That is to say, any Docker container in Docker cannot interact with the external network outside the Docker container, which causes the application based on the Docker contai...

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): H04L29/08G06F9/455
CPCH04L67/1095G06F9/45558H04L67/1001H04L67/51H04L67/56
Inventor 涂霖任治州颜彬彬张琦
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products