Method for testing statistical function and terminal

A function, a technology of the statistical institute, applied to a method of testing statistical functions and the terminal field, can solve problems such as doubling the execution power, product data accuracy risks, and huge data volume, and achieve the effect of improving accuracy

Pending Publication Date: 2019-10-01
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are many access products, and the basic data types of different products are still different. Therefore, in the test traversal process, it takes a lot of time and manpower to complete all product data verification. The amount of data is very large. The single basic data volume of single-dimensional statistical indicators can reach ten thousand levels;
[0006] (2) Manual testing cannot traverse all the data of the entire application in a short period of time, so there is a risk in the accuracy of product data that has not been traversed;
[0007] (3) Manually test multiple applications, adopt the same test method, there are more repetitive tasks, and the execution ability is doubled;
Therefore, in the testing process, in addition to verifying the accuracy of single-dimensional indicators, it is also necessary to compare the data accuracy of the same type of indicators in different dimensions. However, due to the limited energy of manual testing, it is impossible to complete the data comparison of all applications in a short time.

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 for testing statistical function and terminal
  • Method for testing statistical function and terminal
  • Method for testing statistical function and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0083] The first embodiment provided by the present invention is:

[0084] This embodiment provides a method for testing statistical functions, including:

[0085] S1. Obtain full data from the production environment database corresponding to the application to be tested; the data in the production environment database is generated by real user operations. Specifically:

[0086] Set the time period; set the name of the data to be statistic; obtain all the data corresponding to the time period and the name from the production environment database corresponding to the application to be tested to obtain the full amount of data.

[0087] For example, the set time period is from 2018-1-8 to 2018-1-12; the name of the data to be counted is the number of new users, which is obtained from the production environment database corresponding to the application under test. Data of all newly added users during the period of 2018-1-12.

[0088] S2. The preset test script tests the correctness of the...

Embodiment 2

[0111] This embodiment provides a terminal for testing statistical functions, including one or more processors 1 and a memory 2. The memory 2 stores a program and is configured to execute the following steps by the one or more processors 1:

[0112] S1. Obtain full data from the production environment database corresponding to the application to be tested; the data in the production environment database is generated by real user operations. Specifically:

[0113] Set the time period; set the name of the data to be statistic; obtain all the data corresponding to the time period and the name from the production environment database corresponding to the application to be tested to obtain the full amount of data.

[0114] S2. The preset test script tests the algorithm logic correctness of each statistical function in the application program to be tested according to the full data, and obtains the algorithm logic test result. Specifically:

[0115] S21. Select a statistical function to ob...

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 relates to the field of testing, in particular to a method for testing a statistical function and a terminal. The method comprises the steps: obtaining total data from a production environment database corresponding to a to-be-tested application program; wherein the data in the production environment database is generated by real user operation; testing algorithm logic correctness ofeach statistical function in the to-be-tested application program by a preset test script according to the total data to obtain an algorithm logic test result; testing the business logic correctnessamong the statistical functions in the to-be-tested application program according to the total data to obtain a business logic test result; and generating a test report according to the algorithm logic test result and the service logic test result. The method for testing a statistical function can improve the accuracy of the test statistical function.

Description

Technical field [0001] The invention relates to the field of testing, in particular to a method and terminal for testing statistical functions. Background technique [0002] With the update and iteration of Internet technology, more and more companies rely on big data statistical analysis platforms to analyze their own product operation and maintenance data and make operational decisions based on this. Because of this, the accuracy of the data in the statistical analysis platform is very important. [0003] Big data statistical analysis platforms generally have the following characteristics: 1. There are many indicator dimensions and the statistical logic is independent of each other. For example, the number of new users and active users can be counted from the overall dimension, and the two indicators can also be counted from the regional dimension. These two indicators can be counted from the channel dimension; 2. There are various types of access products, and there are many ty...

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): G06F11/36
CPCG06F11/3684G06F11/3692
Inventor 刘德建宋诗莹欧宁李永钧王柟范智勇陈祥俞发仁林琛曾捷
Owner FUJIAN TIANQUAN EDUCATION TECH 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