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

Method and device for providing service for outside of container and electronic equipment

A container and server technology, applied in the field of cloud computing, can solve problems such as long forwarding paths, and achieve the effect of improving data forwarding performance and shortening data forwarding paths

Active Publication Date: 2020-06-23
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the current cloud system application container provides network services externally, the client's access request needs to be forwarded multiple times by the load balancer and the kube-proxy proxy module of the cloud host , can be sent to the container for processing, and the forwarding path is long

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
  • Method and device for providing service for outside of container and electronic equipment
  • Method and device for providing service for outside of container and electronic equipment
  • Method and device for providing service for outside of container and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0066] Embodiments of the present invention provide a method, device, and electronic equipment for externally providing services by containers, so as to shorten data forwarding paths and improve data forwarding performance.

[0067] Such as figure 2 As shown, the embodiment of the present invention provides a method for a container to provide external services, which may include the following steps:

[0068] S201: Obtain an access request from the client;

...

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 provides a method and device for providing service for the outside of a container and electronic equipment, and the method comprises the steps: obtaining an access request of a client, and enabling the access request to comprise a source IP address; searching a container corresponding to the source IP address in a pre-stored access request distribution path table toserve as a target container; if the target container corresponding to the source IP address is found, obtaining address information of the target container from a pre-stored container information list; and sending the access request to the target container based on the address information. According to the embodiment of the invention, the target container corresponding to the source IP address can be determined directly through the pre-stored access request distribution path table, and the access request is directly sent to the target container based on the address information of the target container in the pre-stored container information list, so that the data forwarding path is shortened, and the data forwarding efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, in particular to a method, device and electronic equipment for externally providing services by a container. Background technique [0002] With the development of container technology, cloud systems can use containers to provide external network services. Specifically, such as figure 1 As shown, it is a schematic diagram of the current cloud system architecture. The current cloud system can include a load balancer Load Balance and a cloud host Node. The cloud system communicates with the client through the load balancer Load Balance, and the cloud host Node acts as a load balancer. The background server of the server communicates with the load balancer. Among them, the load balancer Load Balance is configured with the port number of the cloud host port of the cloud host Node; the container Container is running on the cloud host Node and is configured with the kube-proxy agent mod...

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/08
CPCH04L67/1017H04L67/1023H04L67/1001
Inventor 赵帅
Owner BEIJING KINGSOFT CLOUD NETWORK TECH 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