Unlock instant, AI-driven research and patent intelligence for your innovation.

A method, device and system for realizing distributed self-increment counting

A distributed and self-increasing technology, applied in the field of cloud computing, can solve problems such as overall service interruption, affecting counting accuracy, and inconsistent counting results, and achieve the effects of improving execution efficiency, improving stability, and ensuring accuracy

Active Publication Date: 2018-01-09
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, the accuracy, concurrency, availability and efficiency of distributed self-increment counters are key issues that are difficult to balance
Under the existing technology, systems that usually guarantee concurrency and accuracy cannot achieve high availability. For example, when any node fails, the overall service will be interrupted. After all the tasks of the failed node are transferred to other nodes for execution, It takes a long time to restore the overall service, which reduces the service efficiency of the distributed self-incrementing counter to a certain extent; further, under the existing technology, the system that ensures the accuracy and availability cannot realize multiple counters. Request concurrency, for example, when multiple self-increment counts of the same value are sent to the server at the same time, only one request can be allowed to succeed, and other requests will return failure, and the service terminal that fails the request must retry, which also reduces to a certain extent The service efficiency of the distributed self-increment counter is improved; further, the system that guarantees concurrency and availability cannot guarantee the accuracy. For example, when multiple self-increment count requests are executed at the same time, the counting results between the servers are not coordinated , resulting in inconsistent counting results and affecting the counting accuracy

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, device and system for realizing distributed self-increment counting
  • A method, device and system for realizing distributed self-increment counting
  • A method, device and system for realizing distributed self-increment counting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In the distributed cache system, in order to provide an available and efficient self-increment counting service, so that the overall service performance of the system will not be affected when a server fails temporarily, an efficient distributed self-increment counting service is provided in the embodiment of the present invention. The specific method is: adopt the multi-copy mechanism on the server side, that is, save the data copies of the same self-increment counter on multiple servers, and each time the self-increment count operation is performed, the number of servers that successfully perform the self-increment count operation When the preset threshold value is reached, it is considered that the system as a whole has successfully executed the self-increment operation; compared with the current technology, the advantage of the embodiment of the present invention is that when a server fails, as long as the number of normally working servers reaches the set threshold ...

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 relates to the field of cloud computing, and discloses a method, device and system for realizing distributed self-increment counting, which are used to improve the execution efficiency of distributed self-increment counting and improve the accuracy of counting results. The method is as follows: in the distributed cache system in the field of cloud computing, a self-incrementing counter is used to save copies of its counting results on multiple servers, and each time the self-incrementing counting operation is performed, the same self-incrementing counter is saved on each server. The latest counting result is selected from the counting results to perform the auto-increment counting operation, thus effectively ensuring the accuracy of the counting results. The counting operation is successful, thereby improving the execution efficiency of the self-incrementing counting operation to a certain extent.

Description

technical field [0001] The invention relates to the field of cloud computing, in particular to a method, device and system for realizing distributed self-increment counting. Background technique [0002] Cloud Computing (cloud computing) is Grid Computing (grid computing), Distributed Computing (distributed computing), Parallel Computing (parallel computing), Utility Computing (utility computing), Network Storage Technologies (network storage), Virtualization (virtualization), LoadBalance (load balancing) and other traditional computer technology and network technology development fusion product. Cloud Computing aims to integrate multiple relatively low-cost computing entities into a system with powerful computing capabilities through the network. [0003] Distributed cache is a field in the field of cloud computing. Its role is to provide distributed storage services for massive data and high-speed read and write access capabilities. The distributed cache system is compos...

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/08
CPCH04L67/1095H04L67/568
Inventor 陈典强郭斌韩银俊
Owner ZTE CORP