+

CN109240919A - A kind of test data volume statistic system and method - Google Patents

A kind of test data volume statistic system and method Download PDF

Info

Publication number
CN109240919A
CN109240919A CN201810949122.3A CN201810949122A CN109240919A CN 109240919 A CN109240919 A CN 109240919A CN 201810949122 A CN201810949122 A CN 201810949122A CN 109240919 A CN109240919 A CN 109240919A
Authority
CN
China
Prior art keywords
data
subsystem
counted
interface unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810949122.3A
Other languages
Chinese (zh)
Other versions
CN109240919B (en
Inventor
李亚端
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810949122.3A priority Critical patent/CN109240919B/en
Publication of CN109240919A publication Critical patent/CN109240919A/en
Application granted granted Critical
Publication of CN109240919B publication Critical patent/CN109240919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明提供一种测试数据量统计系统及方法,系统包括数据共享模块和数据统计模块;数据共享模块包括待统计子系统数据库单元和待统计子系统接口单元;待统计子系统数据库单元,用于存储待统计子系统的数据;待统计子系统接口单元,用于将待统计子系统数据库单元的数据提供给数据统计模块;数据统计模块,用于通过待统计子系统接口单元获取待统计子系统数据库单元的数据。方法包括如下步骤:待统计子系统将数据存储在待统计子系统数据库单元中;数据共享模块通过待统计系统接口单元对外提供待统计子系统数据库单元中数据;数据统计模块通过待统计子系统接口单元获取待统计子系统数据库单元中数据。本发明自动获取不同应用程序的数据,提高效率。

The invention provides a test data volume statistics system and method. The system includes a data sharing module and a data statistics module; the data sharing module includes a sub-system database unit to be counted and a sub-system interface unit to be counted; the sub-system database unit to be counted is used for Stores the data of the subsystem to be counted; the interface unit of the subsystem to be counted is used to provide the data of the database unit of the subsystem to be counted to the data statistic module; the data statistic module is used to obtain the subsystem to be counted through the interface unit of the subsystem to be counted The data of the database unit. The method includes the following steps: the subsystem to be counted stores data in the database unit of the subsystem to be counted; the data sharing module externally provides the data in the database unit of the subsystem to be counted through the interface unit of the system to be counted; the data statistic module passes the interface of the subsystem to be counted. The unit acquires the data in the database unit of the subsystem to be counted. The present invention automatically acquires data of different application programs and improves efficiency.

Description

A kind of test data volume statistic system and method
Technical field
The invention belongs to software tests to count field, and in particular to a kind of test data volume statistic system and method.
Background technique
In software test industry, Test Engineer will monthly be counted amount of test data, such as BUG quantity, be compiled Write test case quantity, implementation of test cases quantity etc..And BUG quantity has special fault management system to manage, and writes Test case quantity and implementation of test cases quantity are managed by test case management system.Usual Test Engineer needs to not When same application program carries out data statistics, by artificial accounts statistics respectively, low efficiency.
This is the deficiencies in the prior art, therefore, in view of the above-mentioned drawbacks in the prior art, provides a kind of amount of test data system Meter systems and method, are necessary.
Summary of the invention
It is an object of the present invention to be relied on when carrying out data statistics to different application programs for above-mentioned software test Artificial accounts statistics, the defect of low efficiency respectively provide a kind of test data volume statistic system and method, to solve above-mentioned technology Problem.
To achieve the above object, the present invention provides following technical scheme:
A kind of test data volume statistic system, including data sharing module and data statistics module;
Data sharing module includes subsystem data library unit to be counted and subsystem interface unit to be counted;
Subsystem data library unit to be counted, for storing the data of subsystem to be counted;
Subsystem interface unit to be counted, for the data of subsystem data library unit to be counted to be supplied to data statistics Module;
Data statistics module, for obtaining subsystem data library unit to be counted by subsystem interface unit to be counted Data.
Further, subsystem interface unit to be counted is also used to receive the data manipulation instruction of data statistics module, right The data of subsystem data library unit to be counted are operated;
Data statistics module is also used to issue data manipulation instruction to data sharing module.
Further, data manipulation instruction includes data manipulation type and to operation data address.
Further, the data manipulation type includes data increase, data deletion, data modification and data query;
Subsystem interface unit to be counted is according to data manipulation type in the data manipulation instruction received, to the number of acquisition According to being operated.
It further, include subsystem number and data path to be counted to operation data address;
Data sharing module selects subsystem to be measured according to subsystem number to be measured in operation data address to be measured, accordingly Subsystem interface unit to be counted obtains the data of corresponding subsystem data library unit to be counted further according to data path.
Further, data path is indicated using uniform resource locator URI;
Subsystem interface unit to be counted is also used to obtain data path by URI analytical tool.
The present invention gives following technical solution:
A kind of amount of test data statistical method, includes the following steps:
Subsystem to be counted stores data in subsystem data library unit to be counted;
Data sharing module externally provides number in subsystem data library unit to be counted by system interface unit to be counted According to;
Data statistics module obtains data in subsystem data library unit to be counted by subsystem interface unit to be counted.
Further, data sharing module is also grasped by the data that system interface unit to be counted receives data statistics module It instructs, the data for treating statistics sub system Database Unit are operated;
Data statistics module also issues data manipulation instruction to reception data sharing module.
Further, data manipulation instruction includes data manipulation type and to operation data address;The data manipulation class Type includes data increase, data deletion, data modification and data query;
Subsystem interface unit to be counted obtains subsystem to be counted according to data address in the data manipulation instruction received The data of system Database Unit;
Subsystem interface unit to be counted is according to data manipulation type in the data manipulation instruction received, to the number of acquisition According to being operated.
It further, include subsystem number and data path to be counted to operation data address;
Data sharing module selects subsystem to be measured according to subsystem number to be measured in operation data address to be measured, accordingly Subsystem interface unit to be counted obtains the data of corresponding subsystem data library unit to be counted further according to data path.
The beneficial effects of the present invention are:
The invention avoids across the manual statistical test data volume of application, the automatic data for obtaining different application are reduced Manual calculation work amount bring trouble is wanted every time, improves working efficiency.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is system schematic of the invention;
Fig. 2 is flow chart of the method for the present invention;
Wherein, 1- data sharing module;1.1- subsystem A Database Unit to be measured;1.2- subsystem B data to be measured library is single Member;1.3- subsystem A interface unit to be measured;1.4- subsystem B interface unit to be measured;2- data statistics module.
Specific embodiment:
To enable the purpose of the present invention, feature, advantage more obvious and understandable, below in conjunction with of the invention specific The technical solution in the present invention is clearly and completely described in attached drawing in embodiment.
Embodiment 1:
As shown in Figure 1, being directed to subsystem A to be measured and subsystem B to be measured, the present invention provides a kind of amount of test data department of statistic System, including data sharing module 1 and data statistics module 2;
Data sharing module 1 include subsystem A Database Unit 1.1 to be counted, subsystem A interface unit 1.3 to be counted, Subsystem B data library unit 1.2 to be measured and subsystem B interface unit 1.4 to be measured;
Subsystem A Database Unit 1.1 to be counted, for storing the data of subsystem A to be counted;
Subsystem B data library unit 1.2 to be counted, for storing the data of subsystem B to be counted;
Subsystem A interface unit 1.3 to be counted, for being supplied to the data of subsystem A Database Unit 1.1 to be counted Data statistics module 2;
Subsystem B interface unit 1.4 to be counted, for being supplied to the data of subsystem B data library unit 1.2 to be counted Data statistics module 2;
Data statistics module 2, for obtaining subsystem A database to be counted by subsystem A interface unit 1.3 to be counted The data of unit 1.1;For obtaining subsystem B data library unit 1.2 to be counted by subsystem B interface unit 1.4 to be counted Data.
In above-described embodiment 1,
Subsystem A interface unit 1.3 to be counted, is also used to receive the data manipulation instruction of data statistics module 2, treats system The data of meter subsystem A Database Unit 1.1 are operated;
Subsystem B interface unit 1.4 to be counted, is also used to receive the data manipulation instruction of data statistics module 2, treats system The data of meter subsystem B data library unit 1.2 are operated;
Data manipulation instruction includes data manipulation type and to operation data address;
The data manipulation type includes data increase, data deletion, data modification and data query;
It include subsystem number and data path to be counted to operation data address;Data path is positioned using unified resource According with URI indicates;Does is the format of URI scheme: //host:port/path?
Scheme is network communication protocol, and host is host, and port is port numbers, and path is path.Path is used to indicate Our data to be operated, such as we will operate the record that ID is 1 in A table, the path of building are as follows:/A/1, if to operate A The name field for the record that ID is 1 in table, the path of building are as follows: A/1/name;
Data sharing module 1 selects subsystem A to be measured according to subsystem number A to be measured in operation data address to be measured, to Statistics sub system A interface unit 1.3 obtains the data of subsystem A Database Unit 1.1 to be counted further according to data path, according to Data manipulation type in the data manipulation instruction received, operates the data of acquisition;
Data sharing module 1 selects subsystem B to be measured according to subsystem number B to be measured in operation data address to be measured, to Statistics sub system B interface unit 1.4 obtains the data of subsystem B data library unit 1.2 to be counted further according to data path, according to Data manipulation type in the data manipulation instruction received, operates the data of acquisition;
Subsystem A interface unit 1.3 to be counted and subsystem B interface unit 1.4 to be counted, are also used to parse by URI Tool obtains data path;
Data statistics module 2 is also used to issue data manipulation instruction to data sharing module 1.
Example 2:
Using a kind of amount of test data statistical method of above-described embodiment 1, the data of fault management system are stored in In sqlite database, it is set as sqlite1, the interface unit of fault management system is provider1;Test case management system The data of system also are stored in qlite database, are set as sqlite2, and the interface unit of test case management system is provider2;
When data statistics module will obtain the BUG quantity of fault management system, the interface unit of fault management system Provider1 receives the BUG quantity inquiry instruction of data statistics module 2 and BUG quantity stores path, is being lacked according to BUG quantity Path in the database sqlite 1 of management system is fallen into, BUG quantity is inquired.
Embodiment 3:
As shown in Fig. 2, the present invention provides a kind of amount of test data statistical method, include the following steps:
Subsystem to be counted stores data in subsystem data library unit to be counted;
Data sharing module externally provides number in subsystem data library unit to be counted by system interface unit to be counted According to;Data sharing module receives the data manipulation instruction of data statistics module by system interface unit to be counted, to be counted The data of subsystem data library unit are operated;
Data statistics module obtains data in subsystem data library unit to be counted by subsystem interface unit to be counted; Data statistics module also issues data manipulation instruction to reception data sharing module.
Embodiment 4:
A kind of amount of test data statistical method, includes the following steps:
Subsystem to be counted stores data in subsystem data library unit to be counted;
Data sharing module externally provides number in subsystem data library unit to be counted by system interface unit to be counted According to;Data sharing module receives the data manipulation instruction of data statistics module by system interface unit to be counted, to be counted The data of subsystem data library unit are operated;
Data manipulation instruction includes data manipulation type and to operation data address;
The data manipulation type includes data increase, data deletion, data modification and data query;
It include subsystem number and data path to be counted to operation data address;
Data sharing module selects subsystem to be measured according to subsystem number to be measured in operation data address to be measured, accordingly Subsystem interface unit to be counted obtains the data of corresponding subsystem data library unit to be counted further according to data path;
Subsystem interface unit to be counted is according to data manipulation type in the data manipulation instruction received, to the number of acquisition According to being operated;
Data statistics module obtains data in subsystem data library unit to be counted by subsystem interface unit to be counted; Data statistics module also issues data manipulation instruction to reception data sharing module.
The embodiment of the present invention be it is illustrative and not restrictive, above-described embodiment be only to aid in understanding the present invention, because The present invention is not limited to the embodiments described in specific embodiment for this, all by those skilled in the art's technology according to the present invention Other specific embodiments that scheme obtains, also belong to the scope of protection of the invention.

Claims (10)

1. a kind of test data volume statistic system, which is characterized in that including data sharing module (1) and data statistics module (2);
Data sharing module (1) includes subsystem data library unit to be counted and subsystem interface unit to be counted;
Subsystem data library unit to be counted, for storing the data of subsystem to be counted;
Subsystem interface unit to be counted, for the data of subsystem data library unit to be counted to be supplied to data statistics module (2);
Data statistics module (2), for obtaining subsystem data library unit to be counted by subsystem interface unit to be counted Data.
2. a kind of test data volume statistic system as described in claim 1, which is characterized in that
Subsystem interface unit to be counted, is also used to receive the data manipulation instruction of data statistics module (2), to subsystem to be counted The data of system Database Unit are operated;
Data statistics module (2) is also used to issue data manipulation instruction to data sharing module (1).
3. a kind of test data volume statistic system as claimed in claim 2, which is characterized in that data manipulation instruction includes data Action type and to operation data address.
4. a kind of test data volume statistic system as claimed in claim 3, which is characterized in that the data manipulation type includes Data increase, data deletion, data modification and data query;
Subsystem interface unit to be counted according to data manipulation type in the data manipulation instruction received, to the data of acquisition into Row operation.
5. a kind of test data volume statistic system as claimed in claim 2, which is characterized in that operation data address include to Statistics sub system number and data path;
Data sharing module selects subsystem to be measured according to subsystem number to be measured in operation data address to be measured, accordingly wait unite Count the data that subsystem interface unit obtains corresponding subsystem data library unit to be counted further according to data path.
6. a kind of test data volume statistic system as claimed in claim 5, which is characterized in that data path uses unified resource Finger URL URI is indicated;
Subsystem interface unit to be counted is also used to obtain data path by URI analytical tool.
7. a kind of amount of test data statistical method, which comprises the steps of:
Subsystem to be counted stores data in subsystem data library unit to be counted;
Data sharing module externally provides data in subsystem data library unit to be counted by system interface unit to be counted;
Data statistics module obtains data in subsystem data library unit to be counted by subsystem interface unit to be counted.
8. a kind of amount of test data statistical method as claimed in claim 7, which is characterized in that
Data sharing module also receives the data manipulation instruction of data statistics module by system interface unit to be counted, treats system The data of meter subsystem data library unit are operated;
Data statistics module also issues data manipulation instruction to reception data sharing module.
9. a kind of amount of test data statistical method as claimed in claim 7, which is characterized in that
Data manipulation instruction includes data manipulation type and to operation data address;The data manipulation type includes that data increase Add, data are deleted, data modification and data query;
Subsystem interface unit to be counted obtains subsystem number to be counted according to data address in the data manipulation instruction received According to the data of library unit;
Subsystem interface unit to be counted according to data manipulation type in the data manipulation instruction received, to the data of acquisition into Row operation.
10. a kind of amount of test data statistical method as claimed in claim 9, which is characterized in that
It include subsystem number and data path to be counted to operation data address;
Data sharing module selects subsystem to be measured according to subsystem number to be measured in operation data address to be measured, accordingly wait unite Count the data that subsystem interface unit obtains corresponding subsystem data library unit to be counted further according to data path.
CN201810949122.3A 2018-08-20 2018-08-20 A test data volume statistics system and method Active CN109240919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810949122.3A CN109240919B (en) 2018-08-20 2018-08-20 A test data volume statistics system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810949122.3A CN109240919B (en) 2018-08-20 2018-08-20 A test data volume statistics system and method

Publications (2)

Publication Number Publication Date
CN109240919A true CN109240919A (en) 2019-01-18
CN109240919B CN109240919B (en) 2022-03-22

Family

ID=65071570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810949122.3A Active CN109240919B (en) 2018-08-20 2018-08-20 A test data volume statistics system and method

Country Status (1)

Country Link
CN (1) CN109240919B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030088579A1 (en) * 2001-10-12 2003-05-08 Brown Douglas P. Collecting statistics in a database system
US20060036907A1 (en) * 2004-08-11 2006-02-16 Emc Corporation Area-and product-independent test automation system and method for automatically synchronizing tests of multiple devices
US20090300419A1 (en) * 2008-05-30 2009-12-03 Spirent Communications, Inc. Realtime test result promulgation from network component test device
CN104281584A (en) * 2013-07-02 2015-01-14 北大方正集团有限公司 XML database performance testing system and method
US20150264590A1 (en) * 2012-10-04 2015-09-17 Rohde & Schwarz Gmbh & Co. Kg Method and a test system for automatically configuring a tester
CN105302726A (en) * 2015-11-13 2016-02-03 浪潮电子信息产业股份有限公司 Test method and device
CN105681126A (en) * 2015-12-30 2016-06-15 合一网络技术(北京)有限公司 Automatic test method and system based on protocol interface
CN106844196A (en) * 2016-12-22 2017-06-13 福建瑞之付微电子有限公司 A kind of payment terminal embedded software test Workload Account system
CN107040504A (en) * 2016-02-04 2017-08-11 北京京东尚科信息技术有限公司 Method of testing and device
CN107229562A (en) * 2016-03-25 2017-10-03 展讯通信(天津)有限公司 A kind of test report automatic statistical analysis method and device
CN107423223A (en) * 2017-08-10 2017-12-01 中国民航信息网络股份有限公司 Test and management system
US20180018255A1 (en) * 2015-03-27 2018-01-18 International Business Machines Corporation Identifying severity of test execution failures by analyzing test execution logs
CN108255700A (en) * 2017-03-27 2018-07-06 平安科技(深圳)有限公司 Test result generation method and device
US20180210816A1 (en) * 2017-01-26 2018-07-26 International Business Machines Corporation Testing a guarded storage facility

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030088579A1 (en) * 2001-10-12 2003-05-08 Brown Douglas P. Collecting statistics in a database system
US20060036907A1 (en) * 2004-08-11 2006-02-16 Emc Corporation Area-and product-independent test automation system and method for automatically synchronizing tests of multiple devices
US20090300419A1 (en) * 2008-05-30 2009-12-03 Spirent Communications, Inc. Realtime test result promulgation from network component test device
US20150264590A1 (en) * 2012-10-04 2015-09-17 Rohde & Schwarz Gmbh & Co. Kg Method and a test system for automatically configuring a tester
CN104281584A (en) * 2013-07-02 2015-01-14 北大方正集团有限公司 XML database performance testing system and method
US20180018255A1 (en) * 2015-03-27 2018-01-18 International Business Machines Corporation Identifying severity of test execution failures by analyzing test execution logs
CN105302726A (en) * 2015-11-13 2016-02-03 浪潮电子信息产业股份有限公司 Test method and device
CN105681126A (en) * 2015-12-30 2016-06-15 合一网络技术(北京)有限公司 Automatic test method and system based on protocol interface
CN107040504A (en) * 2016-02-04 2017-08-11 北京京东尚科信息技术有限公司 Method of testing and device
CN107229562A (en) * 2016-03-25 2017-10-03 展讯通信(天津)有限公司 A kind of test report automatic statistical analysis method and device
CN106844196A (en) * 2016-12-22 2017-06-13 福建瑞之付微电子有限公司 A kind of payment terminal embedded software test Workload Account system
US20180210816A1 (en) * 2017-01-26 2018-07-26 International Business Machines Corporation Testing a guarded storage facility
CN108255700A (en) * 2017-03-27 2018-07-06 平安科技(深圳)有限公司 Test result generation method and device
CN107423223A (en) * 2017-08-10 2017-12-01 中国民航信息网络股份有限公司 Test and management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许宗飞等: "空间站多舱测试数据综合分析系统的设计与应用", 《航天器工程》 *

Also Published As

Publication number Publication date
CN109240919B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN110147411B (en) Data synchronization method, device, computer equipment and storage medium
US8028200B2 (en) Tracing operations in multiple computer systems
CN103729361A (en) Method and device for testing performance of database
CN105843707B (en) Database quick recovery method and equipment
CN103559217A (en) Heterogeneous database oriented massive multicast data storage implementation method
CN109241165B (en) Method, device and equipment for determining database synchronization delay
CN104021088B (en) log storing method and device
CN109933581A (en) A kind of data quality checking method and system
CN119166479A (en) Visualization system for debugging or performance analysis of SOC systems
CN107678901A (en) Disk performance test system and method based on Linux distributed systems
CN105447069B (en) Reconciliation platform data synchronous method and system based on BW platforms
CN102043594A (en) System and method for realizing collection and playback of input/output trace under distribution environment
CN109240919A (en) A kind of test data volume statistic system and method
CN119883789A (en) Database memory analysis report generation method and system
CN108712306A (en) A kind of information system automation inspection platform and method for inspecting
CN102769532B (en) NM server and its method that Query Result is exported to Excel file
CN101895426B (en) Data acquisition method and system in network resource evaluation
CN105187268B (en) Fine-grained state information synchronous acquisition system for cluster computing environment
CN112416557A (en) Method and device for determining calling relationship, storage medium and electronic device
CN107193749A (en) Method of testing, device and equipment
CN113778795B (en) Cross-version Oracle monitoring system based on Python language
CN114327749B (en) Log collection method and device
CN109542970A (en) A kind of large scale scale heterogeneous data managing method based on container
CN102984680B (en) A kind of method that realizes number tracking in the external interface of telecom operation system
CN111654410B (en) Gateway request monitoring method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载