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

Method and system for multi-level routing scheduling

A routing and multi-level technology, applied in the field of network applications, can solve problems such as the inability to guarantee the network efficiency of applications and the inability to achieve multi-active disaster recovery, and achieve the effects of improving network request efficiency, improving network access efficiency, and reducing network overhead

Active Publication Date: 2020-08-14
北京思特奇信息技术股份有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Under these different call modes, the capabilities of kubernetes itself can no longer be satisfied. The service routing strategy of kubernetes itself is only a simple load balancing, and it is impossible to route different service requests to specified applications in different routing methods according to the requirements of the business system. , nor can it guarantee the network efficiency of mutual access between applications, nor can it achieve multi-active disaster recovery

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 system for multi-level routing scheduling
  • Method and system for multi-level routing scheduling
  • Method and system for multi-level routing scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments 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 belong to the protection scope of the present invention.

[0038] The present invention provides a method for multi-level routing scheduling, such as figure 1 shown, including:

[0039] Monitor the service, and determine the ipvs rule after monitoring the resource creation of the service;

[0040] According to the specified ipvs rules, obtain the ip and port of multiple business pods in the same cl...

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 a method and a system for multi-level routing scheduling, which belong to the technical field of network application. The method provided by the invention comprises the following steps of monitoring a service, and determining an ipvs rule after monitoring that a resource of the service is created, adding identification information of service pods of the same cluster to theintegrated information to generate registration information, and performing registration according to the registration information, according to the request message and the registration information, obtaining the shortest route address sending the service request, and when the service request and the resource in the service pod of the shortest routing address meet the service request, issuing theresource required by the service request according to the shortest routing address of the service request. The proper routing address is determined, the network access efficiency is improved, the network request efficiency of the service is effectively improved, the network overhead caused by the unreasonable routing address is reduced, and the multi-activity disaster tolerance capability is provided for the service system.

Description

technical field [0001] The invention relates to the field of network application technology, in particular to a method and system for multi-level routing scheduling. Background technique [0002] In kubernetes, service discovery and routing are realized by two resource strategies, Service and Ingress. Service mainly has three proxy modes, including: userspace proxy mode, iptables proxy mode and ipvs proxy mode; [0003] At present, the ipvs proxy mode is mainly used. In this mode, kube-proxy will monitor the KubernetesService object and Endpoint, call the netlink interface to create ipvs rules accordingly, and periodically synchronize the ipvs rules with the KubernetesService object and Endpoints objects to ensure that the ipvs status is in line with expectations. consistent. When accessing a service, traffic will be redirected to one of the backend pods. In addition, ipvs provides more options for the load balancing algorithm, such as: rr: round robin scheduling, lc: mini...

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/08H04L12/721H04L12/24
CPCH04L41/12H04L67/10H04L45/12H04L67/51H04L67/63
Inventor 张林
Owner 北京思特奇信息技术股份有限公司
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