CN113360383A - Automatic test software data dynamic synchronization method of comprehensive detection equipment - Google Patents

Automatic test software data dynamic synchronization method of comprehensive detection equipment Download PDF

Info

Publication number
CN113360383A
CN113360383A CN202110639907.2A CN202110639907A CN113360383A CN 113360383 A CN113360383 A CN 113360383A CN 202110639907 A CN202110639907 A CN 202110639907A CN 113360383 A CN113360383 A CN 113360383A
Authority
CN
China
Prior art keywords
test
data
software
automatic
testing
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.)
Pending
Application number
CN202110639907.2A
Other languages
Chinese (zh)
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.)
CLP Kesiyi Technology Co Ltd
Original Assignee
CLP Kesiyi 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 CLP Kesiyi Technology Co Ltd filed Critical CLP Kesiyi Technology Co Ltd
Priority to CN202110639907.2A priority Critical patent/CN113360383A/en
Publication of CN113360383A publication Critical patent/CN113360383A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention discloses a dynamic synchronization method of automatic test software data of comprehensive detection equipment, which belongs to the field of automatic test of equipment, and adopts a method of combining a Model/View structure and an associated container QMap to realize dynamic synchronization of the data in the test process, and finishes real-time modification and real-time display of test parameters of the comprehensive detection equipment, dynamic loading or deletion of test items and automatic generation of test reports through automatic test software; the specific process is as follows: before measurement starts, determining test items according to test requirements, and automatically importing test data files corresponding to the test items; starting measurement, issuing test parameters, and displaying a test result in an interface view in real time; and automatically exporting the test report after the measurement of all the test items is finished. The invention has good flexibility, can dynamically add or delete test items and modify test data in real time, and can improve the test efficiency and accuracy.

Description

Automatic test software data dynamic synchronization method of comprehensive detection equipment
Technical Field
The invention belongs to the field of automatic test of equipment, and particularly relates to a dynamic synchronization method for automatic test software data of comprehensive detection equipment.
Background
The comprehensive detection equipment is integrated comprehensive test equipment combined by a plurality of test modules, and is suitable for testing and overhauling of an external field radar and a radio station, and the fields of development, production, maintenance, detection and the like of electronic equipment. Because a plurality of test modules are arranged in the comprehensive detection device, and the items of the comprehensive detection device which needs to be delivered from the factory for inspection are more various, how to quickly and accurately test the comprehensive detection device is very important.
The first method is to adopt a method for manually configuring test parameters, directly and manually configuring the test parameters according to the requirements of a single test item, recording a test result after the test of the item is finished, repeating the test results in sequence, and then testing the next test item. The method for manually configuring the test parameters has the following defects: the testing parameters needing manual configuration are many, the repetitive workload is large, and the testing efficiency is low; test data are recorded manually, recording efficiency is low, and errors are easily recorded. The second method is a method applying a fixed project test flow, setting parameters of a fixed test project before testing, starting testing after the setting is finished, and recording test results in sequence after testing is finished. The fixed test item flow method has the following defects: the flexibility is poor, and a new test scheme cannot be formulated according to actual test requirements; the test parameters cannot be modified in real time and take effect, and the operation friendliness is poor.
Disclosure of Invention
The invention provides a method for dynamically synchronizing automatic test software data of comprehensive detection equipment, which can effectively solve the problems caused by large repetitive workload, low test efficiency and poor flexibility in the process of testing the comprehensive detection equipment.
The technical scheme of the invention is as follows:
a dynamic synchronization method for automatic test software data of comprehensive detection equipment adopts a method of combining a Model/View structure and an associated container QMap to realize dynamic synchronization of data in a test process, and comprises the steps of finishing real-time modification and real-time display of test parameters of the comprehensive detection equipment, dynamically loading or deleting test items and automatically generating a test report through automatic test software.
Preferably, the core equipment and software related to the method comprise automatic test software, comprehensive detection equipment and accompanying equipment.
Preferably, the automatic testing software is installed at the PC end, and the automatic testing software connects the comprehensive detection device and the accompanying device with each other through a TCP/IP protocol, so as to realize the automatic testing of the comprehensive detection device.
Preferably, the specific steps of completing dynamic synchronization of data in the test process of the comprehensive detection device through automatic test software are as follows:
s1, before measurement starts, determining a test item according to a test requirement, and automatically importing a test data file corresponding to the test item;
s2, starting measurement, issuing test parameters, and displaying a test result in an interface view in real time;
and S3, automatically exporting the test report after the measurement of all the test items is finished.
Preferably, in step S1, when the test data file is imported, the test parameters are adjusted on the interface in real time, or the test items are dynamically added or deleted.
Preferably, the Model/View structure comprises data, a Model or a data Model, a View or a View component which are connected in sequence, and a proxy is arranged between the Model or the data Model, the View or the View component.
Preferably, the data is the test parameters of each test item, and the file format is csv; selecting a QTableView view component for displaying table data in the csv file by the view or the view component; the model or data model selects QStandaritemModel data model to read the form data.
Preferably, the implementation principle of the method is as follows: applying the association container QMap to a Model/View structure, associating the test items with an interface display View QTbleView, and creating a corresponding display View QTbleView when creating a new test item to support a tester to dynamically add and delete the test items; when a test item is selected, displaying corresponding QTableView in an interface component QStackWidget component; in the testing process, the testing result is stored in a QStandaritemModel data model and is displayed in a corresponding testing project in real time, after all testing projects formulated by a person to be tested are measured, the testing result in the data model is automatically stored in a testing report, the testing report is generated, and the testing is finished.
The invention has the following beneficial technical effects:
the invention adopts a method of combining the Model/View structure and the associated container QMap to realize the dynamic synchronization of data of the automatic test software of the comprehensive detection equipment in the operation process, and testers can formulate a test scheme according to the actual test project requirements, and can also dynamically add and delete self-defined test projects and corresponding display windows, and in addition, the test results can be synchronously displayed in real time and test reports can be generated.
Drawings
FIG. 1 is a structural diagram of a dynamic synchronization method for automatic test software data of the comprehensive test equipment according to the present invention;
FIG. 2 is a basic structure diagram of Model/View;
FIG. 3 is a schematic diagram of an implementation of the method for dynamic synchronization of automatic test software data of the integrated test equipment according to the present invention;
FIG. 4 is a diagram of the relationship between the actions of the dynamic data synchronization method of the present invention.
Detailed Description
The invention is described in further detail below with reference to the following figures and detailed description:
the comprehensive detection equipment needs to be subjected to factory cross-inspection test before being delivered to a user for use, and an instrument for testing the comprehensive detection to be delivered from a factory is called as accompanying equipment. In the testing process, in order to reduce the workload in the testing process and improve the efficiency, automatic testing software is adopted for testing. The dynamic data synchronization method provided by the invention is a method in automatic test software.
The method has the function of importing the test template corresponding to the test item, and supports the tester to modify the test parameters in real time; the support testers can self-define dynamic newly-added and deleted test items and corresponding display windows according to actual test requirements; the method can automatically generate a test report from the test result of the specified test item. The method is applied to the data dynamic synchronization process of the automatic test software of the comprehensive detection equipment, and can complete the real-time modification and real-time display functions of the test parameters, the dynamic loading or deletion function of the test items and the automatic generation function of the test reports. The invention can effectively solve the difficulties caused by large repetitive workload, low testing efficiency and poor flexibility in the testing process of the comprehensive detection equipment.
As shown in fig. 1, the partial structure related to the method of the present invention includes automatic test software of the integrated detection device, the integrated detection device and the accompanying device. The automatic test software of the comprehensive detection device connects the comprehensive detection device and the accompanying device through a TCP/IP protocol, and realizes the automatic test of the comprehensive detection device. The idea of combining the data model and the interface view in the automatic test software of the comprehensive detection equipment can display the test template data on the interface view in real time, and if the test parameters are edited and modified on the interface, the modified data can also be displayed in real time and stored in the test template. In addition, the test items are associated with the corresponding interface views through an association class container (QMap), so that a tester is supported to dynamically add or delete the test items, and the tester can freely define and design the test items according to actual test requirements. After the tester sets the test items and finishes measuring, the tester automatically generates a test report according to the test result.
The following is an alternative embodiment for implementing automatic detection of the integrated detection device by automatic test software.
The running platform of the automatic test software is a Windows7 operating system, the debugging platform is a Windows7 operating system, the development tool is Qt5.12.10, the development language is C + +, and the interface design is based on Qt Creator 4.13.1. The method of the invention utilizes the Model/View structure of Qt, the structure diagram of which is shown in FIG. 2 (referred to from the Qt help file), and the Model/View structure separates the display component of the user interface from the data and then links the display component and the data by the method of the data source. The data in fig. 2 may be a user-defined data file or a data table of a database, and the data in this embodiment is a test parameter of each test item, and the file format is csv. The view or view component is an interface display component, and the QTableView view component is selected in the embodiment to display the table data in the csv file. The model or data model extracts the content from the data for the display and editing of the view component, and the QStandarItemModel data model is selected for reading the form data in the embodiment. The agent function provides the user with interface display and editing mode for customizing data, the QLineEdit component is in default condition, and the corresponding agent class can be set according to the type of the table data in the actual use process.
FIG. 3 is an implementation schematic diagram of the method, on the basis, an association class container (QMap) is applied to a Model/View structure, a test item is associated with an interface display View QTbleView, and when a new test item is created, the corresponding display View QTbleView is created, so that a tester is supported to dynamically add and delete the test item. When the test item is selected, a relative QTableView is displayed in the interface component QStagkWidget component. In the testing process, the testing result is stored in a QStandaritemModel data model and is displayed in a corresponding testing project in real time, after all testing projects formulated by a person to be tested are measured, the testing result in the data model is automatically stored in a testing report, the testing report is generated, and the testing is finished.
As shown in fig. 4, before the measurement starts, the dynamic data synchronization method of the present invention determines the test items according to the test requirements, and automatically imports the corresponding test data file. And starting measurement, issuing test parameters, and displaying a test result in an interface view in real time. And automatically exporting the test report after the measurement of all the test items is finished.
The invention adopts a method of combining a (Model/View) structure and a related container (QMap), can formulate a test scheme according to the actual test project requirements, and can dynamically add and delete self-defined test projects and corresponding display windows; the test result can be displayed in real time and a test report can be generated, so that the test efficiency is effectively improved.
It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.

Claims (8)

1. A dynamic synchronization method for automatic test software data of comprehensive detection equipment is characterized in that a method of combining a Model/View structure and an associated container QMap is adopted to realize dynamic synchronization of data in a test process, and comprises the steps of finishing real-time modification and real-time display of test parameters of the comprehensive detection equipment, dynamically loading or deleting test items and automatically generating a test report through automatic test software.
2. The method for dynamically synchronizing the data of the automatic test software of the comprehensive test equipment according to claim 1, wherein the core equipment and the software involved in the method comprise automatic test software, the comprehensive test equipment and accompanying equipment.
3. The method for dynamically synchronizing the data of the automatic test software of the integrated test equipment according to claim 2, wherein the automatic test software is installed at the PC end, and the automatic test software connects the integrated test equipment and the accompanying device to each other through a TCP/IP protocol, thereby realizing the automatic test of the integrated test equipment.
4. The method for dynamically synchronizing the data of the automatic test software of the comprehensive test equipment according to claim 1, wherein the steps of dynamically synchronizing the data in the test process of the comprehensive test equipment by the automatic test software are as follows:
s1, before measurement starts, determining a test item according to a test requirement, and automatically importing a test data file corresponding to the test item;
s2, starting measurement, issuing test parameters, and displaying a test result in an interface view in real time;
and S3, automatically exporting the test report after the measurement of all the test items is finished.
5. The method for automatically synchronizing software test data of an integrated test equipment as claimed in claim 4, wherein in step S1, when the test data file is imported, the test parameters are adjusted on the interface in real time, or the test items are dynamically added or deleted.
6. The method for automatically synchronizing the test software data of the comprehensive test equipment according to claim 1, wherein the Model/View structure comprises data, models or data models, views or View components which are connected in sequence, and agents are arranged among the models or the data models, the views or the View components.
7. The method of claim 6, wherein the data is a test parameter of each test item, and the file format is. csv; selecting a QTableView view component for displaying table data in the csv file by the view or the view component; the model or data model selects QStandaritemModel data model to read the form data.
8. The method for automatically synchronizing the test software data of the integrated test equipment according to claim 7, wherein the method is implemented according to the following principle: applying the association container QMap to a Model/View structure, associating the test items with an interface display View QTbleView, and creating a corresponding display View QTbleView when creating a new test item to support a tester to dynamically add and delete the test items; when a test item is selected, displaying corresponding QTableView in an interface component QStackWidget component; in the testing process, the testing result is stored in a QStandaritemModel data model and is displayed in a corresponding testing project in real time, after all testing projects formulated by a person to be tested are measured, the testing result in the data model is automatically stored in a testing report, the testing report is generated, and the testing is finished.
CN202110639907.2A 2021-06-09 2021-06-09 Automatic test software data dynamic synchronization method of comprehensive detection equipment Pending CN113360383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110639907.2A CN113360383A (en) 2021-06-09 2021-06-09 Automatic test software data dynamic synchronization method of comprehensive detection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110639907.2A CN113360383A (en) 2021-06-09 2021-06-09 Automatic test software data dynamic synchronization method of comprehensive detection equipment

Publications (1)

Publication Number Publication Date
CN113360383A true CN113360383A (en) 2021-09-07

Family

ID=77533285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110639907.2A Pending CN113360383A (en) 2021-06-09 2021-06-09 Automatic test software data dynamic synchronization method of comprehensive detection equipment

Country Status (1)

Country Link
CN (1) CN113360383A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886026A (en) * 2021-12-07 2022-01-04 中国电子科技集团公司第二十八研究所 Intelligent modeling method and system based on dynamic parameter configuration and process supervision
CN114697238A (en) * 2022-03-30 2022-07-01 四川九州电子科技股份有限公司 System and method for testing robustness of communication equipment system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116985B1 (en) * 2006-03-17 2012-02-14 Battelle Memorial Institute Real time sampling, monitoring and exposure control of test animals
US20180013781A1 (en) * 2016-07-07 2018-01-11 International Business Machines Corporation Root cause analysis in dynamic software testing via probabilistic modeling
US20180081791A1 (en) * 2016-09-16 2018-03-22 Oracle International Corporation Plugin for multi-module code coverage in web applications
CN108334365A (en) * 2017-08-23 2018-07-27 中国电子科技集团公司第四十研究所 A kind of realization ATS software Instrumental parameter interface Dynamic Configuration
CN110168109A (en) * 2016-08-04 2019-08-23 致优制药株式会社 Confirmation and its reagent set of the diagnostic method and tubercle bacillus of detection and identification tulase and non-tubercle bacillus affection to Li Fanping drug resistance
CN110221138A (en) * 2019-04-24 2019-09-10 贵州电网有限责任公司 A kind of automatic test approach and system for protective relaying device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116985B1 (en) * 2006-03-17 2012-02-14 Battelle Memorial Institute Real time sampling, monitoring and exposure control of test animals
US20180013781A1 (en) * 2016-07-07 2018-01-11 International Business Machines Corporation Root cause analysis in dynamic software testing via probabilistic modeling
CN110168109A (en) * 2016-08-04 2019-08-23 致优制药株式会社 Confirmation and its reagent set of the diagnostic method and tubercle bacillus of detection and identification tulase and non-tubercle bacillus affection to Li Fanping drug resistance
US20180081791A1 (en) * 2016-09-16 2018-03-22 Oracle International Corporation Plugin for multi-module code coverage in web applications
CN108334365A (en) * 2017-08-23 2018-07-27 中国电子科技集团公司第四十研究所 A kind of realization ATS software Instrumental parameter interface Dynamic Configuration
CN110221138A (en) * 2019-04-24 2019-09-10 贵州电网有限责任公司 A kind of automatic test approach and system for protective relaying device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘红等: "一种用于可编程序控制器的自动化测试方法及实现", 《电子技术应用》 *
孙明志: "SCC50压缩机数传单元自动化测试方法与***实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886026A (en) * 2021-12-07 2022-01-04 中国电子科技集团公司第二十八研究所 Intelligent modeling method and system based on dynamic parameter configuration and process supervision
CN113886026B (en) * 2021-12-07 2022-03-15 中国电子科技集团公司第二十八研究所 Intelligent modeling method and system based on dynamic parameter configuration and process supervision
CN114697238A (en) * 2022-03-30 2022-07-01 四川九州电子科技股份有限公司 System and method for testing robustness of communication equipment system
CN114697238B (en) * 2022-03-30 2023-04-28 四川九州电子科技股份有限公司 System and method for testing robustness of communication equipment system

Similar Documents

Publication Publication Date Title
CN107844424B (en) Model-based testing system and method
CN113360383A (en) Automatic test software data dynamic synchronization method of comprehensive detection equipment
CN104345262A (en) Universal circuit board test system
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN110568339A (en) Instrument automatic testing system and method based on Internet of things
CN104978262A (en) Terminal test method and terminal test device
CN103699017A (en) Simulation test system and simulation test method for interface equipment of simulator in nuclear power station
CN109946536A (en) A kind of comprehensive reliability test system based on OPC technology
CN109634867B (en) Software testing method and device based on data simulation system and storage medium
CN103913672B (en) A kind of satellite low frequency interface automatization test system
CN112444731A (en) Chip testing method and device, processor chip and server
CN106093897B (en) A kind of the test system and test method of radar system
TW446867B (en) High speed test pattern evaluation apparatus
CN112949018A (en) System and method for establishing direct current power transmission control and protection platform model and testing and verifying direct current power transmission control and protection platform model
CN116599864A (en) Communication test system, method, equipment and storage medium for automatic interface generation and use case modular development
CN112348454B (en) Intelligent management and control system and method for handover test of electrical equipment
CN114064469A (en) Interface automation test method and storage medium
CN112838938B (en) Test system of Internet of things platform
CN208459563U (en) Hydro turbine governor static properties test macro
CN111061244A (en) Automatic testing method for power distribution master station monitoring system
CN206378769U (en) A kind of test chart of multiplex roles
CN109061447A (en) IC testing stimuli generation method based on modularization excitation model
CN110688299A (en) Automatic test platform for application software of nuclear power plant
CN104699960B (en) Standard conformance test method and system
CN110046098A (en) A kind of real-time library test method and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907