A data processing method, device, equipment and storage medium

A data processing device and data processing technology, applied in the computer field, can solve the problems of multiplying the amount of data, increasing the resources occupied by the statistical system in the computer processor, and increasing the number of statistics in the statistical system, so as to reduce the amount of data and reduce the occupation. The effect of resources, orderly statistics

Active Publication Date: 2021-06-11
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] It can be seen from Table 1-Table 4 that although the common solutions solve the above problems, it is easy to cause the data volume of the associated table such as Table 4 to increase exponentially, resulting in an increase in the number of statistics in the statistical system, thereby increasing the number of statistical systems in the computer processor. resource usage

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 data processing method, device, equipment and storage medium
  • A data processing method, device, equipment and storage medium
  • A data processing method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0119] Example 1: The status code carried by the source data is shown in Table 5-8, where, in Table 5, N is the number of statistical items, and the number of prime codes is also N, and i is different from N-1 prime numbers In Table 6, the status codes before the current source data are all 1; Table 7 reflects the specific content of each statistical item in Table 5 for all the current source data in Table 6; Table 8 shows the association relationship of all the current source data in Table 6 for each statistical item in Table 5, and L is the number of current source data.

[0120] Table 5 Statistical Items

[0121] key ID details quality digital Statistics item 1 Statistical item description 2 Statistics item 2 Statistical item description 3 …… …… …… Statistical item N Statistical item description i

[0122] Table 6 Current source data when not counted

[0123] key ID details status code source data 1 source...

Embodiment approach

[0147] Judging whether the status code carried by the jth source data is 1;

[0148] If the status code carried by the j-th source data is 1, use the m-th statistical item to make statistics on the j-th source data, and update the status code of the j-th source data to the second data, which is the second data The product of prime numbers carried by m statistical items;

[0149] If the status code carried by the jth source data does not have 1, step S103 is performed.

[0150] In this embodiment, firstly, the unstated source data is filtered, and then the rest of the source data are counted. The setting of double judgment conditions forms split statistics, which not only improves the statistical speed, but also improves the statistical accuracy.

[0151] S103, judge whether the status code carried by the jth source data can divide the prime code carried by the mth statistical item; if the status code carried by the jth source data can divide the prime code carried by the mth ...

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 present invention provide a data processing method, device, device, and storage medium. The method reads the jth source data, reads the mth statistical item, and judges whether the status code carried by the jth source data can Divide the prime number carried by the mth statistical item; if the prime number carried by the mth statistical item cannot be divisible, use the mth statistical item to perform statistics on the jth source data, and set the state of the jth source data The code is updated to the first data, and according to the value of m, it is judged whether all statistical items have been read; if not, according to the initial value of m, m is decremented or incremented by 1, and the processed m as the new m, return to execute the step of reading the mth statistical item. Applying the solutions provided by the embodiments of the present invention reduces the amount of data described by the association relationship between source data and statistical items, thereby reducing the complexity of the statistical system for statistical data, achieving the purpose of orderly statistics, and improving efficiency.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data processing method, device, equipment and storage medium. Background technique [0002] In the current production environment, when the computer accurately counts various types of data, the same source data needs to be counted in multiple statistical items. The common problem is that it is easy to cause the source data to arrive at the statistical logic of each statistical item out of order, and it is easy to repeat . [0003] A common solution to the above problems is to associate the source data with the statistical items. After the source data has been counted, create a data row of the Cartesian product of the key ID (identification, identification number) of the source data and the ID of the statistical item. Now Take two statistical items to count two source data as an example, as shown in Table 1-Table 4. [0004] Table 1 Statistical items [0005] ...

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): G06F16/907
Inventor 孙豪杰
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products