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

Parallel counter, server and counting method

A counter and server technology, applied in the field of data processing, can solve problems such as low counting efficiency and unsuitable counting scenarios, and achieve the effect of improving counting efficiency

Active Publication Date: 2018-05-11
ALIBABA CLOUD COMPUTING LTD
View PDF12 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It leads to low counting efficiency and cannot be applied to the above-mentioned high concurrency counting scenarios

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
  • Parallel counter, server and counting method
  • Parallel counter, server and counting method
  • Parallel counter, server and counting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] 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 described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. 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.

[0060] The traditional way is to use the database to realize the counting requirement of the business service in the computer. Specifically, for the counting requirement of a business service, a corresponding thread is generated, and the thread carries the counting requirement and sends it to the counter for the business service. In the traditional way, the counting of...

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

Embodiments of the invention disclose a parallel counter, a server and a counting method. The parallel counter used for counting business services is arranged in the server; each counting module of the parallel counter has a corresponding storage position used for storing an original count value of the counting module; and if the first counting module receives a first thread, the first counting module can obtain the original count value of the first counting module from the corresponding storage position, and change the original count value according to a counting demand carried by the first thread. The parallel counter can obtain count values for the business services only by performing summation statistics on the original count values of the counting modules through a summation module. Each counting module in the parallel counter can independently finish the count value change for the counting demand in the received thread, so that the parallel counter can realize parallel counting of multiple threads through at least two counting modules, and the counting efficiency is improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a parallel counter, a server and a counting method. Background technique [0002] Computers can provide various business services. In order to facilitate statistics and other reasons, there will be counting requirements for business services. For example, a computer provides access services for web page content. Correspondingly, the number of visits obtained by this computer to the web page content can be counted; The message service, correspondingly, can count the number of messages received by this computer, etc. [0003] The traditional way is to use a database to implement counting. When there is a counting requirement for a business service, access the database through a thread (or process), extract the corresponding original counting value from the database, and change the original counting value (such as the counting value) according to the counting requirement carried by ...

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): G06F17/30H04L29/08
CPCG06F16/958H04L67/51
Inventor 程正君高超丁宇
Owner ALIBABA CLOUD COMPUTING 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