Response method and device of access request and storage medium

A technology of access request and IP address, which is applied in the field of communication, can solve problems such as IP address waste, and achieve the effect of reducing waste

Pending Publication Date: 2022-05-06
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Embodiments of the present invention provide a response method and device for an access request, and a storage medium, so as to at least solve the problems in related technologies, such as using macvlan or ipvlan cni to assign IP to the main network of POD, which will cause waste of IP addresses and the like

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
  • Response method and device of access request and storage medium
  • Response method and device of access request and storage medium
  • Response method and device of access request and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0037] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 access request response method and device, and a storage medium, and the method comprises the steps: obtaining a to-be-allocated extranet segment corresponding to a container cloud, the to-be-allocated extranet segment comprising a plurality of to-be-allocated extranet IP addresses; according to a node IP address of a target node, determining a target network segment located in the same network segment as the node IP address in the external network segments to be allocated; the external network IP address to be distributed in the target network segment is distributed to the target node; and under the condition that a first POD in the target node receives an access request sent by an external network, selecting a target IP address from a plurality of external network IP addresses to be allocated in the target network segment, and responding to the access request through the target IP address, by adopting the technical scheme, the problem that the IP is allocated to a main network of the POD by using macvlan or ipvlan cni is solved, and the access efficiency is improved. And IP address waste can be caused.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a method and device for responding to an access request, and a storage medium. Background technique [0002] The network of the container cloud platform is the cornerstone of the platform, and the POD is the basis for applications to provide external services. In the existing Kubernetes-native container cloud network solutions, the general solutions are as follows: [0003] 1) Use the EIP method, such as figure 1 Shown: [0004] Public cloud vendors such as Alibaba Cloud and AWS all support elastic public network IP (EIP), which can be used to deal with situations where pods need independent public network addresses in some scenarios. Taking Alibaba Cloud as an example, to mount an independent public network EIP for a Pod, you only need to modify the relevant permissions of the network plug-in terway, and then specify the EIP for the Pod in the template: k8s.aliyun.com / POD-wi...

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): H04L61/5007H04L45/74H04L101/668H04L101/695
CPCH04L45/74H04L45/54
Inventor 刘青杨佳奇高伟周明伟
Owner ZHEJIANG DAHUA TECH CO LTD
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