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

Optimization method and device for searching network server, computer equipment and storage medium

A network server and network search technology, applied in the input/output process of computing, instruments, and data processing, etc., can solve the problems of occupying a lot of network resources, difficulty in implementation, and high complexity

Pending Publication Date: 2021-04-13
HANGZHOU QULIAN TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide an optimization method, device, computer equipment, and storage medium for finding network servers based on a consistent hash algorithm, so as to solve the problems that the existing technology for finding network servers occupies many network resources, is highly complex, and is difficult to implement The problem

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
  • Optimization method and device for searching network server, computer equipment and storage medium
  • Optimization method and device for searching network server, computer equipment and storage medium
  • Optimization method and device for searching network server, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] The optimization method for finding network servers based on the consistent hash algorithm provided by the embodiment of the present invention can be applied in such as figure 1 In the application environment of , where the computer device / terminal device communicates with the server through the network. Among them, the computer equipment / terminal equipment can be but not limited to various personal computers, notebook computers, smart phones, t...

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 optimization method for searching a network server based on a consistent hash algorithm, which is applied to the field of network servers and is used for solving the problems of more occupied network resources, high complexity and high implementation difficulty in the existing technology for searching the network server. The method provided by the invention comprises the following steps: receiving a server search request, wherein the server search request comprises a data object to be searched; calculating a hash value of the data object based on a consistent hash algorithm; querying the sum of the current numbers corresponding to all the currently opened network servers from the configuration server, obtaining the numbers of all the currently opened network servers from the sum, and sorting the numbers to obtain a number sequence; inserting the hash value into a sequence ring corresponding to the serial number sequence; and searching a serial number adjacent to the hash value on the sequence ring to determine a corresponding network server.

Description

technical field [0001] The invention relates to the field of network servers, in particular to an optimization method, device, computer equipment and storage medium for searching a network server. Background technique [0002] Network distributed clusters generally use a consistent hash algorithm to determine the nodes stored in the network. The consistent hash search node is not a direct hit, but an algorithm is needed to find the target node. [0003] In the prior art, there are clockwise search, table look-up method, or tree look-up method to find the target node, but the above methods have defects and occupy more network resources. Searching for the first server in clockwise order is the network server that needs to be found, and the time complexity is O(N); in the table lookup method, each node needs to maintain a routing table, and each routing table is different Similarly, each node needs to occupy a certain amount of resources; while the data structure of the tree s...

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): G06F3/06G06F16/901
CPCG06F3/0604G06F3/0629G06F3/067G06F16/9014G06F16/9024Y02D10/00
Inventor 李伟邱炜伟匡立中谭锦志李江浩
Owner HANGZHOU QULIAN 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