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

Method, device and system for realizing distributed automatically-increasing counting

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

Active Publication Date: 2012-12-19
ZTE CORP
View PDF3 Cites 11 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
  • Method, device and system for realizing distributed automatically-increasing counting
  • Method, device and system for realizing distributed automatically-increasing counting
  • Method, device and system for realizing distributed automatically-increasing 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 discloses a method, a device and a system for realizing distributed automatically-increasing counting, which relates to the field of cloud computing and is used for improving execution efficiency of distributed automatically-increasing counting and accuracy of counting results. The method provided by the invention comprises the following steps: preserving copies of counting results of an automatically-increasing counter on a plurality of servers in a distributed buffer system in the filed of cloud computing; selecting a latest counting result in the counting results of a same automatically-increasing counter on each server for performing automatically-increasing counting operation when performing each automatically-increasing counting operation, thus effectively ensuring the accuracy of the counting results. According to the method, present automatically-increasing counting operation can be determined to be successful only by confirming the number of the server copying the counting results successfully to reach set threshold, so that the execution efficiency of the automatically-increasing counting operation is improved to some 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) , Load Balance (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 comp...

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