Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data statistics method and apparatus

A data statistics and data technology, applied in the field of data processing, can solve the problems of low system throughput and long locking time, and achieve the effect of improving data statistics efficiency, ensuring accuracy, and avoiding throughput decline.

Active Publication Date: 2019-02-15
ADVANCED NEW TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, during the whole process, the lock time is very long, and all concurrent businesses must wait for the lock to be released before continuing to process, resulting in low throughput of the system

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
  • Data statistics method and apparatus
  • Data statistics method and apparatus
  • Data statistics method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] One or more embodiments of this specification provide a data statistics method and device, which are used to ensure the throughput of the system and the accuracy of concurrent data results while implementing statistics in a distributed system.

[0067] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will describe the technical solutions in one or more embodiments of this specification in conjunction with the drawings in one or more embodiments of this specification The technical solution is clearly and completely described, and obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of one or more embodimen...

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

A method and apparatus for data statistic is disclosed in one or more embodiment of that present specification, which is used to simultaneously guarantee the throughput of a distributed system and theaccuracy of concurrent data results when the data are statistically analyzed. The method is applied to a distributed system and comprises the following steps: acquiring a first data cumulative amountof target data in a current statistical cycle; And executing a step of calculating a first data consumption amount in the current statistical period according to the first data accumulation amount; In the process of calculating the first data consumption amount, if the target data is generated concurrently, the data amount of the concurrently generated target data is accumulated into the first data accumulated amount to obtain a second data accumulated amount; Determining an actual data consumption amount in the current statistical period according to the second data accumulation amount; Generating a data statistic result of the current statistical cycle according to the actual data consumption.

Description

technical field [0001] This specification relates to the technical field of data processing, and in particular to a data statistics method and device. Background technique [0002] The realization of the tiered billing capability of the billing system needs to be accumulated when charging, that is, the accumulated data volume, and then the historical accumulated amount is obtained during billing to see which tier it falls on, and then billed according to the corresponding tiered rate. Due to the difference in link stability requirements for billing and charging, after the upgrade of the billing and charging platform, the billing and charging system is divided into two, which is a distributed metering / charging system. [0003] For the distributed accounting / tolling system, in the traditional concurrent processing scheme, it is necessary to first lock to control concurrency, then follow up the accumulated service volume for billing, then generate a bill, and release the lock a...

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): G06Q30/02
CPCG06Q30/0201
Inventor 胡文毅
Owner ADVANCED NEW TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More