CN106155889A - A kind of assessment method of explosive production monitoring system - Google Patents
A kind of assessment method of explosive production monitoring system Download PDFInfo
- Publication number
- CN106155889A CN106155889A CN201510153390.0A CN201510153390A CN106155889A CN 106155889 A CN106155889 A CN 106155889A CN 201510153390 A CN201510153390 A CN 201510153390A CN 106155889 A CN106155889 A CN 106155889A
- Authority
- CN
- China
- Prior art keywords
- test
- monitoring system
- explosive production
- production monitoring
- data
- 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
Links
Abstract
The invention discloses the assessment method of a kind of explosive production monitoring system.Including: set testing requirement and test specification for explosive production monitoring system;Generate test case or test script based on described testing requirement;Described test case or test script are issued to described explosive production monitoring system, it is thus achieved that perform data;From described execution extracting data defective data adding up the security breaches of described explosive production monitoring system, and obtain normal data to add up the normal function information of described explosive production monitoring system according to described execution data.Can test for the systemic-function complete degree of explosive production monitoring system, test case or test script can be provided according to different applied environments and test environment flexibly, and according to test result statistical shortcomings data, the technological improvement in tested monitoring system provides foundation.
Description
Technical field
The present invention relates to explosive production monitoring technical field, specifically, relate to a kind of explosive production monitoring system
Assessment method.
Background technology
In prior art, explosive production monitoring system is made up of control system and data uploading system, wherein, fried
Medicine production control system uploads after controlling the data such as production the timing acquiring explosive production amount of explosive by PLC.
So can be according to the stronger feature of explosive production continuity, the data that will be dispersed in each point on production line are passed through
PLC collects in host computer, and monitors each control point in scene in real time, thus monitors production technology
The contents such as flow process, manufacturing parameter, real-time production data and indicating fault.
Production system uploads the direct phase of perfect in shape and function degree of the whether accurate and explosive production monitoring system of data
Close.If monitoring system exists security breaches, it will cause the explosive production data gathering not accurate enough, very
To can not the technological parameter of monitor production process and hidden failure, there is huge potential safety hazard.
Therefore, need badly and a kind of can detect the whether perfect method and apparatus of explosive production monitoring system function.
Content of the invention
The present invention is directed to the above-mentioned problems in the prior art, the test and appraisal of a kind of explosive production monitoring system are provided
Method, comprising:
Set testing requirement and test specification for explosive production monitoring system;
Generate test case or test script based on described testing requirement;
Described test case or test script are issued to described explosive production monitoring system, it is thus achieved that perform data;
From described execution extracting data defective data to add up the security breaches of described explosive production monitoring system,
And obtain normal data to add up the normal function of described explosive production monitoring system according to described execution data
Information.
In one embodiment, in the step from described execution extracting data defective data, comprising:
Relatively more described execution data and the expected results in test specification, do not mate with expected results performing data
In the case of determine described execution data in defective data;
Building defect information storehouse based on described defective data and storing defect information, wherein said defect information is used for
Defect type that record explosive production monitoring system produces after performing described test case or test script and
Produce the position of defect.
In one embodiment, described defect type includes software function defect, software safety defect and hardware loop
Border adaptability defect, the position of described generation defect is PLC main control unit, hardware interface and system element.
In one embodiment, in the described step setting testing requirement for explosive production monitoring system, comprising:
Applied environment according to explosive production monitoring system sets testing requirement and comes distinguishing tests grade and test class
Type;
Build demand information storehouse based on described testing requirement and be used for storing testing requirement information, wherein, described test
Demand information for record test event numbering associated by testing requirement, testing requirement title, test grade and
Test-types.
In one embodiment, in the described step generating test case or test script based on described testing requirement
In, comprising:
Select test event numbering, testing requirement title, set and the defect in described explosive production monitoring system
Corresponding test case type;
Building test case library according to testing requirement, being used for recording test case needs with test event numbering, test
Seek the test case associated by title and test case type;Or
Record according to testing requirement structure test script library and be associated with test event numbering, testing requirement title
Test script, wherein, described test script includes multiple test cases of batch processing.
In one embodiment, described test grade is divided into Black-box Testing rank and white-box testing rank, wherein,
Described Black-box Testing rank is surveyed for the Software function test in explosive production monitoring system, software security
Examination and hardware environment adaptive testing;
Described white-box testing rank is for the Software function test in explosive production monitoring system and software security
Test.
In one embodiment, described environmental suitability test includes that vibration-testing, damp and hot test and low pressure are surveyed
Examination.
In one embodiment, described software security test includes to communication software between host computer and PLC
The security test of communication software between security test, or host computer and remote control terminal.
In one embodiment, described Software function test includes the survey to PLC built-in main control unit control function
Examination.
The method have the advantage is capable of that the systemic-function complete degree for explosive production monitoring system is entered
Row test, can provide test case or test script flexibly according to different applied environments and test environment, and
According to test result statistical shortcomings data, the technological improvement in tested monitoring system provides foundation.
Other features and advantages of the present invention will illustrate in the following description, and, partly from specification
In become apparent, or by implement the present invention and understand.The purpose of the present invention and other advantages can be passed through
Structure specifically noted in specification, claims and accompanying drawing realizes and obtains.
Brief description
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with the present invention
Embodiment be provided commonly for explain the present invention, be not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the configuration diagram of evaluation system in the embodiment of the present invention;
Fig. 2 is the flow chart of steps of explosive production monitoring system assessment method in the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the present invention made into
One step ground describes in detail.
Embodiments of the invention provide a kind of test and appraisal for detecting explosive production monitoring system complete function degree
Method, is applied to the server of explosive production monitoring system host computer.Fig. 1 is evaluation system in the present embodiment
Configuration diagram.
As it is shown in figure 1, server is connected with host computer, for issuing test case or test pin to host computer
This, and gather host computer feedback response message to test the function of host computer, determine explosive production monitoring system
In defect, and store response message and the evaluating result of host computer.Preferably, user can remote login service
Device, by way of accessing server domain name, operates evaluation system on webpage and tests monitoring system.
In embodiments of the present invention, the response message of host computer feedback is from the production scene data that PLC gathers.
And in explosive production line or emulsification blasting agent mixing vehicle system, obtain production scene by ipc monitor PLC
Data.As it is shown in figure 1, arrange in explosive production monitoring system such as vibrating sensor, temperature sensor and
The detection device such as flowmeter gathers the production scene data in explosive production system, and uploads production scene data
To PLC device.The state of equipment in production line, flow and temperature etc. are controlled by PLC device.Host computer
Realize system monitoring function by PLC device, production status is monitored.For simplicity, in Fig. 1
One PLC is only shown, but does not limit the scope of the present invention with this.In actual production system, PLC device can
It is arranged as required to multiple.
The flow process of the assessment method that the present embodiment provides mainly includes creating new test plan, formulates test rule
Model, determines testing requirement, creates test case, arranges test script test, inquires about test result and check survey
Examination defect etc..
Wherein, include creating new test plan, inquiry for explosive production monitoring system in test planning management
Planned, carry out task distribution according to plan, check the task definition of distribution, and the state to test event
It is managed.
Include the type according to test specification, description in test specification management, upload specification;Or according to rule
Model title and type queries specification.Due to existing explosive production system can be emulsification blasting agent mixing vehicle or
The different production scene such as explosive production line, and there is different technique in the different performance and purposes for explosive
Require.Therefore, the present embodiment preferably builds test specification storehouse, for storage with production technology, explosive species and
The related test specification of purposes.
Include arranging in project belonging to test, description, demand numbering and demand type etc. in testing requirement management
Biography demand, builds testing requirement information bank.And can believe according to associated item and demand name query testing requirement
The demand having created is checked in breath storehouse, or carry out deleting, the operation such as modification.
Include arranging associated item, joint demand, use-case type, expected results in test case management, retouch
State etc. and to upload use-case file, newly-increased test case.Can according to associated item, use-case type, joint demand or
Person's use-case name query test case.
Include that arranging associated item, joint demand, test script number, description etc. goes up at test script management
Pass script file, create script.Can be according to associated item and joint demand query script.
Project name can be set in test result management and carry out result of query execution, with cake chart, block diagram, folding
The form display of line chart performs data.
Include arranging associated item, defect type, defective locations, defect rank, description etc. at defect management
Newly-increased defect, or import from the defect information performing extracting data.And can by arrange associated item,
Defect type, defect rank inquiry defect.
Fig. 2 is the flow chart of steps of the explosive production monitoring system assessment method according to the present embodiment.Below in conjunction with
Accompanying drawing elaborates the assessment method of this explosive production monitoring system.
In step S210, set testing requirement and corresponding test specification for explosive production monitoring system.No
Same explosive production monitoring system possesses different testing requirements under different application environment, as in the life of aforementioned explosive
Produce in two different production environments of line and emulsification blasting agent mixing vehicle, need according to explosive production line or emulsification fried
The corresponding testing requirement of medicine bulk mixing truck default, corresponding test specification then can be as this testing requirement
Test and appraisal references object under project.
Wherein, the step for explosive production monitoring system setting testing requirement specifically includes: first, according to explosive
The applied environment of manufacturing monitoring system sets testing requirement and comes distinguishing tests grade and test-types, is then based on institute
State testing requirement and build demand information storehouse for storing testing requirement information.
Wherein, test grade and include Black-box Testing rank and white-box testing rank:
Black-box Testing rank for the Software function test in explosive production monitoring system, software security test and
Hardware environment adaptive testing.By to detection explosive production monitoring system in software function, software security,
The adaptive test of hardware environment, can have to occur the part of defect in Primary Location explosive production monitoring system
Pointedly the part that there is potential safety hazard in explosive production monitoring system is monitored or tests.So may be used
Help operating personnel to reduce detection range, Rapid-Repair defect, thus improve the safety of explosive production monitoring system
Performance.
For example, owing to the working environment of emulsification blasting agent mixing vehicle is more complicated, need setting test temperature, wet
Carrying out Black-box Testing in the environment of degree, shock momentum and pneumatic parameter, with detection, in specific work environments, explosive is raw
Produce monitoring system and can complete expected function.Preferably, described hardware environment adaptive testing includes that vibration is surveyed
Examination, damp and hot test and low pressure test etc..
White-box testing rank, can for Software function test in explosive production monitoring system and software security test
To occur that for explosive production monitoring system in Black-box Testing the part of defect carries out refinement test, obtain defect
Specifying information, thus the defect for being accurately positioned explosive production monitoring system refines test scope further and is conducive to
Operating personnel find out rapidly defect place, and the eliminating defect that takes appropriate measures.
For example, Software function test includes the test to PLC built-in main control unit control function, software security
Test includes the security test to communication software between host computer and PLC, or host computer and remote control terminal
Between the security test of communication software, to detect potential assault.
Two contents that illustrate Black-box Testing and white-box testing are provided below.
In one example, Black-box Testing mode is taked for explosive daily output statistical function.In input instruction
The yield of Dynamite simulated production, the output in contrast input instruction and the output reporting the same day, according to
Whether whether this software function of matching judgment meets expected requirement for the two.
In one example, white-box testing mode is taked for program security.Use code scans instrument to certain
A little programs or whole program carry out safety scanning, and this scanning, by covering all statements of selected program, is searched
Seek security breaches that may be present in statement.
Hereafter the testing requirement information of storage in demand information storehouse is illustrated.Testing requirement information is used for record
Test event numbering associated by testing requirement, testing requirement title, test grade and test-types.Front already described
And, owing to different explosive production environment has different testing requirements, and different testing requirement is to should have difference
Test event, building demand information storehouse can by the information integration of various demands together, and by difference demand
The test event numbering of association under information, testing requirement title, test grade and test-types one_to_one corresponding, with
Just can inquire about from demand information storehouse when same requirements occurs, and without rebuilding demand, reduce
Workload, improves detection efficiency.
Turn again to Fig. 2, in step S220, generate test case or test script based on testing requirement.Its
Specifically include following steps.
First, select test event numbering, testing requirement title, set and lacking in explosive production monitoring system
Fall into corresponding test case type.Defect in explosive production monitoring system corresponding to the monitoring of aforementioned explosive production is
The defect of system, can be found out the defect of explosive production monitoring system by the defect in explosive production monitoring system.
Select test event numbering, testing requirement title can be defined demand, number according to test event, survey
The setting of examination demand title can find the test case type of association.
Secondly, test case library is built according to testing requirement, for record and test event numbering, testing requirement
Test case associated by title and test case type;Or build test script library according to testing requirement to remember
The test script that record is associated with test event numbering, testing requirement title, wherein, described test script includes
Multiple test cases of batch processing.
It should be noted that test case type is associated with defect type.For example, for explosive production
Hardware environment adaptability defect present in monitoring system, can use vibration-testing, damp and hot test and low pressure
The use-case of test etc. is tested.So certain type of test case of execution can detect explosive production and monitor system
Certain type of defect in system.By by concrete testing requirement information and corresponding test case library or test pin
This association builds test case library, can be used for the defect information in complete detection explosive production monitoring system.
Test case or test script are issued to explosive production monitoring system, obtain by following step S230
Data must be performed.Explosive production is monitored by the test case according to associated by default testing requirement or test script
The specific environment of system application is tested, it is possible to obtain whole explosive production monitoring system various piece runs shape
The data of state, and obtain the execution data after performing this test case or script.
In step S240, from execution extracting data defective data to add up the peace of explosive production monitoring system
Full defect, and obtain normal data to add up the normal function letter of explosive production monitoring system according to performing data
Breath.
Wherein, from execution extracting data defective data to add up the step of the safety defect of explosive production monitoring system
Suddenly specifically include:
First, compare the expected results performing in data and test specification, do not perform data and expected results not
The defective data performing in data is determined in the case of joining.Using the expected results in test specification as with reference to coupling
Object, performs existing defects data in data if there is the explanation of unmatched situation, permissible according to defective data
Obtain the safety defect in explosive production monitoring system;
Secondly, building defect information storehouse based on defective data and storing defect information, wherein defect information is used for remembering
The defect type and the generation that produce after record explosive production monitoring system implementation of test cases or test script lack
The position falling into.
Defect type specifically includes software function defect, software security defect and hardware environment adaptability defect.
The position producing defect is PLC main control unit, hardware interface and system element.Wherein, hardware interface can be
Interface between host computer and PLC, or the interface of host computer and remote control terminal.System element includes coil
With system hardwares such as registers.
Associate concrete test case by defective data or test script can build a defect information storehouse,
There is provided foundation for the technological improvement in tested monitoring system.
While it is disclosed that embodiment as above, but described content is only to facilitate understand the present invention
And the embodiment using, it is not limited to the present invention.Technology people in any the technical field of the invention
Member, on the premise of without departing from spirit and scope disclosed in this invention, can be in the formal and details implemented
On make any modification and change, but the scope of patent protection of the present invention, still must be with appending claims institute
Define in the range of standard.
Claims (9)
1. the assessment method of an explosive production monitoring system, it is characterised in that include:
Set testing requirement and test specification for explosive production monitoring system;
Generate test case or test script based on described testing requirement;
Described test case or test script are issued to described explosive production monitoring system, it is thus achieved that perform data;
From described execution extracting data defective data to add up the security breaches of described explosive production monitoring system,
And obtain normal data to add up the normal function of described explosive production monitoring system according to described execution data
Information.
2. the assessment method of explosive production monitoring system as claimed in claim 1, it is characterised in that from
In the step of described execution extracting data defective data, comprising:
Relatively more described execution data and the expected results in test specification, do not mate with expected results performing data
In the case of determine described execution data in defective data;
Building defect information storehouse based on described defective data and storing defect information, wherein said defect information is used for
Defect type that record explosive production monitoring system produces after performing described test case or test script and
Produce the position of defect.
3. the assessment method of explosive production monitoring system as claimed in claim 2, it is characterised in that described
Defect type includes software function defect, software safety defect and hardware environment adaptability defect, and described generation lacks
The position falling into is PLC main control unit, hardware interface and system element.
4. the assessment method of explosive production monitoring system as claimed in claim 1, it is characterised in that in institute
State in the step setting testing requirement for explosive production monitoring system, comprising:
Applied environment according to explosive production monitoring system sets testing requirement and comes distinguishing tests grade and test class
Type;
Build demand information storehouse based on described testing requirement and be used for storing testing requirement information, wherein, described test
Demand information for record test event numbering associated by testing requirement, testing requirement title, test grade and
Test-types.
5. the assessment method of explosive production monitoring system as claimed in claim 4, it is characterised in that in institute
State in the step based on described testing requirement generation test case or test script, comprising:
Select test event numbering, testing requirement title, set and the defect in described explosive production monitoring system
Corresponding test case type;
Building test case library according to testing requirement, being used for recording test case needs with test event numbering, test
Seek the test case associated by title and test case type;Or
Record according to testing requirement structure test script library and be associated with test event numbering, testing requirement title
Test script, wherein, described test script includes multiple test cases of batch processing.
6. the assessment method of explosive production monitoring system as claimed in claim 4, it is characterised in that described
Test grade is divided into Black-box Testing rank and white-box testing rank, wherein,
Described Black-box Testing rank is surveyed for the Software function test in explosive production monitoring system, software security
Examination and hardware environment adaptive testing;
Described white-box testing rank is for the Software function test in explosive production monitoring system and software security
Test.
7. the assessment method of explosive production monitoring system as claimed in claim 6, it is characterised in that described
Environmental suitability test includes vibration-testing, damp and hot test and low pressure test.
8. the assessment method of explosive production monitoring system as claimed in claim 6, it is characterised in that described
The security test that software security test includes to communication software between host computer and PLC, or host computer with
The security test of communication software between remote control terminal.
9. the assessment method of explosive production monitoring system as claimed in claim 6, it is characterised in that described
Software function test includes the test to PLC built-in main control unit control function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510153390.0A CN106155889A (en) | 2015-04-02 | 2015-04-02 | A kind of assessment method of explosive production monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510153390.0A CN106155889A (en) | 2015-04-02 | 2015-04-02 | A kind of assessment method of explosive production monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106155889A true CN106155889A (en) | 2016-11-23 |
Family
ID=57338394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510153390.0A Pending CN106155889A (en) | 2015-04-02 | 2015-04-02 | A kind of assessment method of explosive production monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155889A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562627A (en) * | 2017-09-04 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of test result automatic creation system and method |
CN107678972A (en) * | 2017-10-27 | 2018-02-09 | 郑州云海信息技术有限公司 | The appraisal procedure and relevant apparatus of a kind of test case |
CN108038052A (en) * | 2017-11-27 | 2018-05-15 | 平安科技(深圳)有限公司 | Automatic test management method, device, terminal device and storage medium |
CN109446076A (en) * | 2018-10-15 | 2019-03-08 | 广东省科技基础条件平台中心 | Software project testing method, system, storage medium and terminal device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090183143A1 (en) * | 2008-01-10 | 2009-07-16 | Zhong Jie Li | Method and apparatus for generating test cases of software system |
CN102214133A (en) * | 2011-07-22 | 2011-10-12 | 苏州工业园区七星电子有限公司 | System for quickly diagnosing and testing computer hardware |
-
2015
- 2015-04-02 CN CN201510153390.0A patent/CN106155889A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090183143A1 (en) * | 2008-01-10 | 2009-07-16 | Zhong Jie Li | Method and apparatus for generating test cases of software system |
CN102214133A (en) * | 2011-07-22 | 2011-10-12 | 苏州工业园区七星电子有限公司 | System for quickly diagnosing and testing computer hardware |
Non-Patent Citations (1)
Title |
---|
管镇铭: "基于物联网的煤矿安全生产专家系统的研究与设计", 《万方学位论文》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562627A (en) * | 2017-09-04 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of test result automatic creation system and method |
CN107678972A (en) * | 2017-10-27 | 2018-02-09 | 郑州云海信息技术有限公司 | The appraisal procedure and relevant apparatus of a kind of test case |
CN107678972B (en) * | 2017-10-27 | 2021-03-26 | 苏州浪潮智能科技有限公司 | Test case evaluation method and related device |
CN108038052A (en) * | 2017-11-27 | 2018-05-15 | 平安科技(深圳)有限公司 | Automatic test management method, device, terminal device and storage medium |
WO2019100577A1 (en) * | 2017-11-27 | 2019-05-31 | 平安科技(深圳)有限公司 | Automated test management method and apparatus, terminal device, and storage medium |
CN109446076A (en) * | 2018-10-15 | 2019-03-08 | 广东省科技基础条件平台中心 | Software project testing method, system, storage medium and terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106597947A (en) | Substation equipment test method and system, server and tester | |
US20180157573A1 (en) | Response-time baselining and performance testing capability within a software product | |
WO2016090929A1 (en) | Method, server and system for software system fault diagnosis | |
CN105160724A (en) | Dangerous-chemical-enterprise key device inspection system based on mobile phone APP | |
US20160062876A1 (en) | Automated software change monitoring and regression analysis | |
CN106155889A (en) | A kind of assessment method of explosive production monitoring system | |
CN104360922A (en) | Method for automatically monitoring BMC working state based on ipmitool | |
CN110659202A (en) | Client automatic testing method and device | |
CN109298317A (en) | A kind of Intelligent test device and its test method of middle low-frequency channel | |
CN106033469A (en) | A method and system for efficient performance prediction of structured query for big data | |
CN111627199A (en) | Hydropower station dam safety monitoring system and monitoring method | |
CN103631706B (en) | A kind of browser testing method and apparatus | |
CN103197640A (en) | Intelligent management and control system and method of manufacturing technique | |
CN106201803A (en) | A kind of general automation based on tested object model test system and method | |
JP2019075113A (en) | Product benchmarking | |
Zhao et al. | Research on international standardization of software quality and software testing | |
CN109582286B (en) | Freemarker technology-based data normalization verification method and device | |
CN112817855B (en) | System mass measurement method, device and computer storage medium | |
CN106547670A (en) | The method and device of long-range reading and writing built-in Linux application program memory variable value | |
Lee et al. | Government open data and sensing data integration framework for smart construction site management | |
US10719299B2 (en) | Physical connection of network components in a graphical computer environment with one-way signal propagation | |
CN112015715A (en) | Industrial Internet data management service testing method and system | |
CN116701406A (en) | Data comparison method and device, computer equipment and storage medium | |
CN103970979A (en) | Aero-engine baseline calculation method, aero-engine condition monitoring method and aero-engine baseline monitoring system | |
US20190295402A1 (en) | Alerting system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161123 |
|
RJ01 | Rejection of invention patent application after publication |