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

A method and device for realizing load balancing

A technology of load balancing and domain name resolution, applied in transmission systems, electrical components, etc., can solve problems such as load imbalance

Active Publication Date: 2020-05-26
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the existing balancing solution uses multiple processes for domain name resolution, when the load balancing server receives multiple domain name resolution requests at the same time, the multiple processes in the load balancing server will simultaneously perform domain name resolution. The load balancing mark points are all the nodes that were assigned the corresponding task last time, so the results obtained by each process performing domain name resolution at the same time are the same, and they are all the nodes that should be assigned the next task, which causes the phenomenon of load imbalance

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
  • A method and device for realizing load balancing
  • A method and device for realizing load balancing
  • A method and device for realizing load balancing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 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.

[0034] see figure 1 , figure 1 It shows a first flowchart of a method for implementing load balancing provided by an embodiment of the present invention. A method for implementing load balancing provided by an embodiment of the present invention may include:

[0035] S11: Receive a domain name resolution request, judge whether the pre-created shared status bit is in the status of existing process and domain name resolution, if not, execute step S12, if yes, e...

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 device for realizing load balancing, wherein the method includes: receiving a domain name resolution request, judging whether the pre-created shared status bit is in the status of an existing process and performing domain name resolution; if not, modifying the shared status bit It is the state that the domain name resolution is being performed by the existing process, and the domain name resolution is performed on the received domain name resolution request; if it is, wait until it is determined that the shared status bit is the state that the non-existing process is performing domain name resolution, and then modify the shared status bit to exist. In the state of domain name resolution, the domain name resolution is performed on the received domain name resolution request; after the domain name resolution is completed, the control sharing status bit returns to the state that no process is in progress of domain name resolution. The above technical solution ensures that only one domain name resolution is in progress at the same time through the state constraint of the shared status bits, so that the domain name resolution can be executed according to a preset load balancing strategy to achieve load balancing.

Description

technical field [0001] The present invention relates to the technical field of Internet access, and more specifically, to a method and device for realizing load balancing. Background technique [0002] With the rapid progress and development of network technology, people access the Internet more and more frequently. Among them, DNS (Domain Name System, Domain Name System) is a distributed database that can map domain names and IP addresses to each other, which can make people access the Internet more conveniently. [0003] At present, the existing DNS load balancing can achieve the load balancing effect according to the preset load balancing strategy under low load. Among them, the load balancing refers to evenly distributing the clients on each node of the cluster to achieve business Balance the effect to avoid excessive business pressure on a certain node. Concurrency means that multiple programs are running at the same time. Here, they are all processing domain name res...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/12
CPCH04L67/1004H04L61/4511
Inventor 张帅
Owner INSPUR SUZHOU INTELLIGENT 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