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

Data statistics method and device

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

Active Publication Date: 2022-04-29
ADVANCED NEW TECH CO LTD
View PDF4 Cites 0 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 device
  • Data statistics method and device
  • Data statistics method and device

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

One or more embodiments of this specification disclose a data statistics method and device, which are used to ensure the throughput of the system and the accuracy of concurrent data results when statistical data is collected in a distributed system. The method is applied to a distributed system, and includes: obtaining a first cumulative amount of target data in the current statistical period; and, according to the first cumulative amount of data, performing calculation of the first data consumption in the current statistical period A step of amount; during the process of calculating the first data consumption amount, if the target data is generated concurrently, the data amount of the target data generated concurrently is added to the accumulated first data amount, Obtaining a second accumulated amount of data; determining an actual data consumption amount in the current statistics period according to the second accumulated amount of data; generating a data statistical result of the current statistics period according to the actual data consumption amount.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06Q30/02
CPCG06Q30/0201
Inventor 胡文毅
Owner ADVANCED NEW TECH CO LTD