CN114218122A - Test system, test host and data recorder - Google Patents
Test system, test host and data recorder Download PDFInfo
- Publication number
- CN114218122A CN114218122A CN202111668198.7A CN202111668198A CN114218122A CN 114218122 A CN114218122 A CN 114218122A CN 202111668198 A CN202111668198 A CN 202111668198A CN 114218122 A CN114218122 A CN 114218122A
- Authority
- CN
- China
- Prior art keywords
- test
- data
- tested
- task
- host
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 1426
- 239000000523 sample Substances 0.000 claims abstract description 143
- 238000000034 method Methods 0.000 claims abstract description 89
- 230000008569 process Effects 0.000 claims abstract description 79
- 238000005259 measurement Methods 0.000 claims description 151
- 238000012545 processing Methods 0.000 claims description 111
- 238000004891 communication Methods 0.000 claims description 98
- 230000003993 interaction Effects 0.000 claims description 70
- 230000001960 triggered effect Effects 0.000 claims description 10
- 238000013480 data collection Methods 0.000 claims description 7
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 abstract description 6
- 230000000875 corresponding effect Effects 0.000 description 172
- 230000002452 interceptive effect Effects 0.000 description 31
- 238000012795 verification Methods 0.000 description 17
- 230000006872 improvement Effects 0.000 description 14
- 238000013461 design Methods 0.000 description 12
- 230000009471 action Effects 0.000 description 11
- 230000006855 networking Effects 0.000 description 10
- 230000000737 periodic effect Effects 0.000 description 10
- 230000008901 benefit Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000002457 bidirectional effect Effects 0.000 description 5
- 230000001276 controlling effect Effects 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 238000010998 test method Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000004888 barrier function Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000013075 data extraction Methods 0.000 description 3
- 239000003999 initiator Substances 0.000 description 3
- 230000000670 limiting effect Effects 0.000 description 3
- 238000013100 final test Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- BJQHLKABXJIVAM-UHFFFAOYSA-N bis(2-ethylhexyl) phthalate Chemical compound CCCCC(CC)COC(=O)C1=CC=CC=C1C(=O)OCC(CC)CCCC BJQHLKABXJIVAM-UHFFFAOYSA-N 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005260 corrosion Methods 0.000 description 1
- 230000007797 corrosion Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000009469 supplementation Effects 0.000 description 1
- 238000012956 testing procedure Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
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)
- Recording Measured Values (AREA)
Abstract
The test system is used for testing an object to be tested with a plurality of points to be tested and comprises a test host, a plurality of data recorders and a plurality of measuring probes, wherein the test host is configured to generate a test task based on the object to be tested and a preset test rule, a corresponding relation between the points to be tested and the data recorders is established in the test task, and the test host issues the test task to the data recorders related to the test task; the data recorder is configured to perform collection of test data based on the test tasks, the data recorder uploads the test data based on the test tasks based on the same test task, and the test host reads and processes the test data based on the test tasks; the scheme of the application can meet the requirement of the user on-line monitoring at any time, can independently execute test data acquisition by the data recorder, can also switch between off-line testing and on-line monitoring at will, and meets the requirement of the user under different field working conditions.
Description
Technical Field
The invention relates to the technical field of metering calibration, in particular to a test system, a test host and a data recorder which form the test system.
Background
In the process of metering, calibrating or testing many industrial facilities or industrial equipment, an object to be tested often has a plurality of points to be tested, and the plurality of points to be tested may be distinguished by different types of elements, such as pressure, temperature, humidity and the like, or by different space elements, such as different position points in a pressure field, a temperature field, a humidity field (the space may be a two-dimensional plane space or a three-dimensional stereo space), or by a combination of types, positions and the like.
In the metrology, calibration, or testing of the object under test, a test system is typically used to perform the testing task.
The prior art test systems generally include both off-line test systems and on-line test systems.
An off-line test system, as shown in fig. 1, includes a test host 010, a data recorder 020 and a plurality of measurement probes 030, the data recorder 020 includes a plurality of data acquisition channels 021, each measurement probe 030 is respectively connected with each data acquisition channel 021 (usually in a wired form, or in a wireless form), the measurement probes 030 are arranged one by one according to the needs of the point to be measured, then, the data recorder 020 is started, a processor 022 is usually disposed in the data recorder 020, the processor 022 is connected with each data acquisition channel 021, the processor 022 controls each data acquisition channel 021 to perform test data acquisition (data source is measurement of each measurement probe 030) and store, after the measurement process is completed, the data recorder 020 is carried to the test host 010, a connection is established between the test host 010 and the data recorder 020 (since such a connection is performed with a delay, and thus indicated by the dashed arrow), the stored test data is transferred to the test host 010, and the test host 010 processes the test data.
An online test system, as shown in fig. 2, includes a test host 010, a data recorder 020 and a plurality of measurement probes 030, the data recorder 020 includes a plurality of data acquisition channels, each measurement probe 030 is connected to each data acquisition channel, the data recorder 020 is connected to the test host 010 (either by a wire or a wireless connection), the measurement probes 030 are arranged one by one according to the needs of the points to be measured, then the data recorder 020 is started through the test host 010, a processor (a memory can be omitted or can be arranged) is arranged in the data recorder 020, the test host 010 sends out a control instruction, the data recorder 020 collects test data according to the control instruction of the test host, and sends the acquired data to the test host 010, and after the measurement process is completed, the test host 010 processes the test data. In more complicated field test operations, the object to be tested is located at a remote location (e.g., a distance from a fixed test host), the test environment is harsh (e.g., no communication conditions, etc.), the above-mentioned factors will cause that the on-line type test system cannot establish the connection between the parts (mainly between the test host and the data logger) and cannot realize the work, therefore, only the off-line type test system can be adopted, for the off-line type test system, since the test host is only the processing mechanism of the final test data, the acquisition process of the test data cannot be set or controlled at all (this process is carried out entirely by the data logger and the measurement probe), and, at this time, for the testing host, whether the source of the test data is reliable enough, whether the process of testing the data meets the requirements, whether the test data is complete, and the like become problems to be solved by needing extra support.
In addition, if the object to be tested has complex points to be tested (for example, each point to be tested has a relatively wide spatial distribution, and for example, the distribution position of each point to be tested has a relatively obvious spatial isolation, etc.), two or more data recorders may be required to meet the testing requirements (the data acquisition channel of a single data recorder is not enough to simultaneously implement the measurement operation requirements of a plurality of points to be tested), which may result in how to combine the test data from different data recorders into complete test data, which is not how to implement formal combination, but how to make the formal combination have sufficient reliability, the prior art has two solving routes facing the problem, the first solving route is to expand the number of data acquisition channels of the data recorders, so that one data recorder can meet the testing requirements, the latter solution is to determine the association relationship between multiple test data by means of other data credit certificates, thereby solving the reliability problem.
Based on the foregoing description, it can be seen that there are some technical problems to be solved in the process of performing metering tests, especially in the field, and although there are solutions to these technical problems in the prior art, these solutions are only from the viewpoint of "palliative" and specific technical means are implemented for specific problems, and cannot fundamentally or logically solve the problem of data flow correlation between the test host and the data recorder in a separated state, that is, logically, the correlation problem in the prior art still exists, and only the adverse effect of this correlation problem is brought about by additional technical means.
Disclosure of Invention
The invention aims to provide a test system, a test host and a data recorder from the viewpoint of improving the relevance of data streams aiming at the technical problems in the prior art.
A test system is used for testing an object to be tested with a plurality of points to be tested and comprises a test host, a plurality of data recorders and a plurality of measuring probes, wherein the test host comprises at least one communication module used for connecting the data recorders, the data recorders comprise a plurality of data acquisition channels used for connecting the measuring probes, the measuring probes are used for measuring physical quantities to be tested of the points to be tested,
the test host is configured to generate a test task based on an object to be tested and a preset test rule, a corresponding relation between the points to be tested and the data recorders is established in the test task, each point to be tested is enabled to have the unique corresponding data recorder, and the test host issues the test task to the data recorders related to the test task;
the data recorder is configured to perform test data acquisition based on a test task, wherein the test task is originated from the test host and comprises a data acquisition channel and corresponding information of a point to be tested;
based on the same test task, the data recorder uploads test data based on the test task, and the test host reads and processes the test data based on the test task.
Preferably, the number of the points to be measured corresponding to the data logger does not exceed the number of data acquisition channels of the data logger.
Preferably, the test task includes information of an object to be tested, measurement configuration information, and point correspondence information to be tested, the information of the object to be tested is generated based on the object to be tested, the measurement configuration information is generated based on the object to be tested and the test rule, the point correspondence information to be tested is generated based on the object to be tested and the execution object, and the execution object includes a combination of one or more of the data recorder, the data acquisition channel, and the measurement probe.
Preferably, the characteristic information of the point to be measured and the characteristic information of the data acquisition channel are acquired, if the characteristic information of the point to be measured and the characteristic information of the data acquisition channel are matched, the data acquisition channel is determined to be available for the point to be measured, the data volume of the point to be measured corresponding to the data recorder does not exceed the number of the available data acquisition channels in the data recorder, the characteristic information of the point to be measured comprises one or more of type, position and measuring range, and the characteristic information of the data acquisition channel comprises one or more of type and connectable probe.
Preferably, the test tasks are configured,
the test host executes the test, establishes the corresponding relationship between the points to be tested and the data acquisition channels in the test task, so that each point to be tested has a unique corresponding data acquisition channel, and/or,
the test host executes to establish the corresponding relation between the point to be tested and the data recorder in the test task, the data recorder executes to establish the corresponding relation between the point to be tested and the data acquisition channel in the test task, and/or,
the test host executes the test, establishes the corresponding relation between the point to be tested and the measuring probe in the test task, and the data recorder executes the test task and determines the corresponding relation between the point to be tested and the data acquisition channel based on the corresponding relation between the measuring probe and the data acquisition channel.
Preferably, corresponding to the first test task, the test host stores host test data, the first data recorder stores first test data, and when the test host and the first data recorder establish connection, the host test data and the first test data are synchronous with each other corresponding to the same point to be tested.
Preferably, if a first data logger is executing a first test task, triggered by the establishment of a connection between the test host and the first data logger, all or part of the first test data is transferred from the first data logger to the test host.
Preferably, if a first data logger is executing a first test task, triggered by a disconnection between the test host and the first data logger:
the test host records sequence information of the acquired first test data, and when the test host establishes connection with the first data recorder, the test host controls the acquisition of the first test data according to the sequence information; or,
the first data recorder records the sequence information of the uploaded first test data, and when the test host and the first data recorder are connected, the first data recorder controls the uploading of the first test data according to the sequence information.
Preferably, the second data logger stores second test data corresponding to different points to be tested, when the test host and the second data logger are connected, the host test data and the second test data are synchronized with respect to the same points to be tested, and the test host is configured to combine the first test data and the second test data according to the first test task to generate the host test data.
A test host is used for forming the test system and comprises a processing module and a communication module, wherein the communication module is used for establishing connection with a data recorder, and the processing module is connected with the communication module; sending a test task to the communication module according to the corresponding relation between the connection information fed back by the communication module and the test task; and acquiring the test data from the communication module, determining the test task corresponding to the test data according to the test task information contained in the test data and the test task information stored by the processing module, and reading and processing the test data according to the corresponding test task.
Preferably, the processing module is configured to acquire information of the data recorders, and in the test task, a corresponding relationship between the points to be tested and the external data recorders is established according to the information of the external data recorders and the information of the points to be tested, so that the number of the points to be tested corresponding to a single data recorder is less than the number of data acquisition channels of the data recorder.
Preferably, the processing module is configured to establish a corresponding relationship between the points to be tested and the data acquisition channels in the test task, so that each point to be tested has a unique corresponding data acquisition channel.
Preferably, the test system further comprises an interaction module, the interaction module is connected with the processing module, in the process of setting the test task, the interaction module shows information of the point to be tested in a first display area, shows information of the data recorder in a second display area, and based on a setting instruction generated in the first display area and/or the second display area, the processing module establishes a corresponding relationship between the point to be tested and the data recorder in the test task. Preferably, the interaction module shows information of the point to be measured in a first display area, shows information of a data acquisition channel in a second display area, and the processing module establishes a corresponding relationship between the point to be measured and the data acquisition channel in the test task based on a setting instruction generated in the first display area and/or the second display area; and/or the interaction module shows information of the point to be measured in a first display area, shows information of the measuring probe in a second display area, and the processing module establishes a corresponding relation between the point to be measured and the measuring probe in the test task based on a setting instruction generated in the first display area and/or the second display area.
Preferably, the processing module is configured to obtain information of a currently connected data recorder from the communication module, and according to the information of the currently connected data recorder, the processing module sends a data reading instruction to the communication module, where the data reading instruction is associated with all unfinished test tasks that have been issued to the data recorder.
A data recorder is used for forming the testing system and comprises a processor, a communicator and a plurality of data acquisition channels, wherein the processor is respectively connected with the communicator and the data acquisition channels, and the communicator is used for connecting a testing host. Has the advantages that:
the test system has the advantages that the test system with the online and offline functions can meet the requirements of users for monitoring the test conditions online at any time, can independently execute test data acquisition work through the data recorder, can be switched between offline test and online monitoring at will, can meet the test requirements of the users under different field working conditions to the maximum extent, and has strong application applicability.
Secondly, the application allows one test task to be issued to a plurality of data recorders for execution, and then the test host combines a plurality of groups of test data, so that the problem of channel expansion of the data recorders when a plurality of points to be tested exist is solved, and the almost infinite expansion of a data acquisition channel is realized.
Third, through a test task mechanism, test data in different equipment and at different time periods are associated and unified through test tasks, test data transmission can be correspondingly carried out between the test host and the data recorder under the condition that the test host and the data recorder do not uniquely correspond to each other, and reliability and credibility of a test process are improved.
Drawings
FIG. 1 is a schematic diagram of a prior art off-line test system.
FIG. 2 is a schematic diagram of the connection of a prior art in-line test system.
FIG. 3 is an exemplary test system connection diagram.
FIG. 4 is a flowchart of the operation of an exemplary test system.
FIG. 5 is a flowchart of the operation of an exemplary test system.
FIG. 6 is a system diagram of an exemplary test system.
FIG. 7 is a schematic diagram of the connections of an exemplary test host.
FIG. 8 is a schematic diagram of an exemplary data logger connection.
Reference numerals:
010. the device comprises a test host, 020, a data recorder, 021, a data acquisition channel, 022, a processor, 030 and a measurement probe; 110. the system comprises a test host 111, a communication module 112, a processing module 113, an interaction module 120, a data recorder 121, a data acquisition channel 122, a processor 123, a memory 124, a communicator 125, a display 130 and a measuring probe; 210. the system comprises a control layer, 211, a first interactive terminal, 212, a second interactive terminal, 213, a third interactive terminal, 214, a host platform, 215, a device to be tested database, 216, a test control unit, 217, a measuring instrument database, 220, an execution layer, 221, a data recorder, 223, a measuring probe, 311, a first communication module, 312, a second communication module, 320, a processing module, 330, an interactive module, 340, a power supply module, 400, a data recorder, 410, a communicator, 420, a processor, 431, an electrical testing board, 432, an electrical testing interface, 440, a built-in power supply, 450 and a display screen.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details. Well-known methods, procedures, and procedures have not been described in detail so as not to obscure the present invention. The figures are not necessarily drawn to scale.
Detailed description of the preferred embodiment
A test system is used for testing an object to be tested with a plurality of points to be tested, the object to be tested can be an industrial facility or an industrial device, the plurality of points to be tested generally have at least one characteristic element which is different from each other, the characteristic element can be type (such as temperature, pressure, humidity and the like), also can be a space position (such as a two-dimensional space position, a three-dimensional space position and the like), and also can be other characteristic elements which can realize the distinguishing among different points to be tested in the prior art, for example, a point to be tested with physical quantity to be tested as temperature and a point to be tested with physical quantity to be tested as humidity exist, and for example, a plurality of points to be tested with physical quantity to be tested as temperature but different space positions to be tested exist.
Based on tens to tens of to-be-measured points possibly possessed by an object to be measured, each to-be-measured point jointly forms a to-be-measured model of the object to be measured, when a test system is used, each to-be-measured point needs to be measured simultaneously, therefore, each to-be-measured point needs to be arranged with one measurement probe, namely, tens to tens of measurement probes used as measurement signal sources exist, based on the limitation of various factors such as measurement accuracy, cost, applicability and the like, measurement signals representing physical quantities to be measured, which are generated by the measurement probes, are generally analog signals, in order to ensure that in the process of converting measurement information from the analog signals into the digital signals, information which exceeds the allowable range of the measurement accuracy is not lost, namely, the digital signals representing the physical quantities to be measured are ensured to have sufficient accuracy, therefore, each measurement probe needs a special data acquisition channel to acquire the measurement signals, Measurement (measurement here refers to measurement of the value of the analog electrical signal itself, not the physical quantity to be measured), and conversion (the conversion process and the measurement process may be integrated, and in general, may be implemented by analog-to-digital conversion circuits and the like with sufficient accuracy).
As shown in fig. 3, the test system includes a test host 110, a number of data loggers 120, and a number of measurement probes 130.
The test host 110, at least one test host 110 may form a test system, the plurality of test hosts 110 may also form one or more test systems, the test host 110 includes at least one communication module 111 for connecting the data logger 120, the communication module 111 may be a wired communication module, a wireless communication module, or a combination of multiple types of communication modules, so that the test host 110 may establish a communication connection supporting data information transmission with the data logger 120, the test host 110 has general capabilities of the prior art host devices, for example, the test host 110 may be a dedicated or non-dedicated device such as a PC computer, a notebook computer, a tablet computer, an industrial computer, etc., the test host 110 has a capability of receiving data information (including command information, other necessary data information associated with the test, etc.), and the test host 110 has a capability of receiving data information (including command information, other necessary data information associated with the test, etc.) Processing capabilities (capable of processing instructions or other data), storage capabilities (capable of storing test job necessary data including program data, application data, and the like); it should be particularly noted that, in some cases, the test host 110 may not have a specific entity or the visible entity of the test host 110 is only a part of the test host 110, for example, all or part of the processing and/or storage capability of the test host 110 is implemented by a host program installed in a cloud, and the part of the test host 110 that is locally portable to the field mainly performs some local processing and interaction, so the understanding of the test host 110 in this specific embodiment should not be understood according to a narrow sense of a device with host function, but should be regarded as a broad sense of a test host, that is, an individual or an implementable combination of individuals of device facilities such as software and hardware with host function. The data logger 120 includes a plurality of data collecting channels 121 for connecting the measuring probes, the data collecting channels 121 are generally modules or devices corresponding to the signal generating types of the measuring probes 130, and are generally wired connection modules (for directly establishing connection with the measuring probes 130 to obtain electrical signals), or may be wireless connection modules or a combination of multiple types of connection modules, so that the data logger 120 can establish connection with the measuring probes 130 to obtain the measuring information generated by the measuring probes 130, and the data logger 120 can establish communication connection with the communication module 111 corresponding to the communication module 111 of the test host 110, and further establish communication connection with the test host 110 to achieve interaction of data information, in this embodiment, the data logger 120 further has processing capability and storage capability for data information, and based on the processing capability, the data logger 120 may perform the necessary operations (for example, performing the collection of test data according to the test task control data collection channel 121) required to complete the test job according to the technical solution of the present embodiment, and based on the storage capability, the data logger 120 may store the test-related data information (including the test task, the test data associated with the test task, the program data and the application data for performing the test-related operations, and the like), and perform the necessary calls through the processing capability.
The measurement probe 130 generally includes a measurement end and a signal end (in different probes, the signal end is also referred to as a reference end), wherein the measurement end is generally used to be arranged at a specific or non-specific position of a point to be measured so as to measure a specific type of physical quantity of the point to be measured, and the signal end is used to be connected with the data acquisition channel 121 of the data recorder 120 so as to transmit measurement information of the measurement probe 130 to the data recorder 120.
Although the test host and the data recorder both have the processing capability and the storage capability for data information and have certain information receiving capability, the two capabilities are obviously different because the industrial test, particularly the industrial field test, has a long development period, and the main participants in the test system have a relatively definite role positioning based on factors such as market needs, field test working condition characteristics and the like.
As shown in fig. 3, a communication connection can be established between the test host 110 and the data logger 120, and at least during the process of issuing test tasks and acquiring test data, a communication connection can be established between the test host 110 and the data logger 120 (the data flow of this connection is bidirectional and is indicated by a double arrow); a communication link can be established between the data logger 120 and the measurement probe 130, and the data logger 120 and the measurement probe 130 can be established at least during the process of collecting the test data (this link can be bidirectional or unidirectional, but at least the transmission of information from the measurement probe 130 to the data logger 120 is ensured, and therefore, the illustration is indicated by a single arrow which does not represent the case of excluding bidirectional data interaction); the connection between the test host 110 and the data logger 120, and the connection between the data logger 120 and the measurement probe 130, may exist at the same time or at only one of them, and should exist during the same or different periods of time during a complete test.
In the improvement of the test system, theoretically, if the data logger is configured with sufficiently strong processing capability, storage capability and interaction capability from the viewpoint of freely combining the components, the data logger can also perform processing and analysis on the test data, but from the viewpoint of actual product design, a general industrial test process often requires a long duration, for example, a short duration, may require tens of minutes of measurement time (i.e. continuously measuring the relevant specific physical quantity in the period of time), a long duration, may reach several hours or tens of hours, a user is not required to constantly view the measurement data and the analysis condition thereof in the measurement time (in fact, it is difficult to constantly view the relevant specific physical quantity for the long duration), and correspondingly, after the test is completed, if a processing program is preset (in terms of the prior art), the processing and analysis of the test data can be completed in only a few minutes, and the subsequent viewing is generally not performed on the data recorder (for example, a user can view the test data on a working computer), so that the data recorder does not need the strong processing capability, the strong storage capability and the strong interaction capability in most working time, and the over-configuration of the resources does not conform to the normal industrial design concept; secondly, the cost of the data logger is greatly increased (several times to ten times) due to the over-allocation of resources, and on the contrary, as analyzed above, the user experience corresponding to the increase of the cost cannot be brought, and therefore, the efficiency of the actual design scheme is reduced due to the reverse of the freely combined "improvement" result.
In addition, even if the problems of cost and design concept are not considered, since the data logger is generally applied to the field test condition, it is required that the data logger should be as portable as possible (small in size and light in weight), have a long endurance time (under the condition of a certain portable battery capacity), have a certain environmental interference resistance (drop, high temperature, humidity, corrosion, etc.), and if it is configured with a strong processing capability, a strong storage capability and a strong interaction capability, it inevitably results in an increase in volume and weight of the data logger, a reduction in endurance time, and a poor interference resistance, so that it is difficult to achieve the original design purpose of the data logger (accurately, stably, efficiently, and continuously collecting test data in the field).
Therefore, although theoretically, in a free-form combination manner, the data logger may actually play all or part of the role of the test host, such "improvement" is a certain technical logic barrier, and therefore, those skilled in the art will not usually consider such improvement, and even if some technical documents have similar suggestions or disclose similar technical solutions, those skilled in the art will not usually make improvements based on such technical solutions with obvious barriers unless the related technical solutions solve the aforementioned technical logic barriers.
If from a similar perspective, it is theorized that the test host can also perform test data collection if enough data collection channels are configured on the test host, but as analyzed above, such an "improved" design presents significant technical and logical obstacles, i.e., the skilled artisan is not generally motivated to make such improvements: 1) greatly increasing the functional configuration of the product, wherein the increased functional configuration is rarely used in the product, but obviously increasing the product cost and reducing the performance of the product in other aspects, 2) additionally increasing the functional configuration of the product with higher cost, and then replacing the product with lower cost with the product with higher cost for use.
Based on the foregoing analysis, from the normal technical logic of the prior art, the normal improvement logic of the testing system, especially the testing host and the data logger of the skilled person is to determine the role positioning of the data processor of the testing host, reduce or even omit the design other than the role positioning, thereby reducing the cost of the testing host as much as possible, determine the role positioning of the data acquirer of the data logger, reduce or even omit the design other than the role positioning, thereby reducing the cost of the data logger as much as possible, therefore, from the prior art point of view, the data acquirer and the data processor are two independent individuals for the complete testing process.
Certainly, in a wired or wireless communication mode, the test host and the data recorders can form an online test system, and for the online test system, the continuity of the test data stream can be realized in the test process on the basis of ensuring the individual independent characteristics (for the online test system, the test data collected by the data recorders can be transmitted to the test host in real time through communication connection without transmission interruption in the middle), and the test data acquired by the test host has sufficient source reliability.
However, the premise for achieving the foregoing effect is that wired or wireless communication is continuously effective, but the field industrial test conditions are complicated and changeable and are not lack of harsh environment, which may be expected to exist, when there are multiple objects to be measured, and/or the distribution area of the objects to be measured is wide, and/or multiple test items need to be executed, multiple data recorders may be required to be distributed in an area with an obvious distance, at this time, it is expected that wired connection communication obviously has a great implementation difficulty, and further, if electromagnetic interference in the field environment is severe or there are other communication limiting conditions, wireless connection communication obviously also has an implementation difficulty, so that the online test system cannot meet or fulfill the requirements of many field test scenarios, and an offline test system is required, or, an actual scheme should be able to allow the test host and the data recorders to perform measurement data acquisition in the data recorders In the process (2), the communication connection is not available.
If the test host and the data recorder have a non-communication connection state in the acquisition process of the measured data, the technical problem exists after the test host and the data recorder are connected: how to ensure that the test data collected by the data recorder is the test data expected to be processed by the test host; furthermore, for a complete testing procedure, there are technical problems: how to ensure that the test data acquisition executed by the data recorder is the accurate test of the object to be tested (including whether the object to be tested is correct or not and whether the test method/process is correct or not); furthermore, for the situation that there are many points to be tested and a single data recorder cannot independently meet the requirements of a data acquisition channel, how to ensure that the test data acquired by the multiple data recorders respectively performing acquisition collectively correspond to the same test appeal, and how to ensure that the test data acquired by the multiple data recorders respectively performing acquisition are correctly combined to obtain complete test data.
Based on the above description, the present embodiment provides a specific technical solution different from the general idea of improvement while maintaining the foregoing hardware arrangement and connection relationship.
The test host is configured to generate a test task based on the object to be tested and a preset test rule; the test rule is a method or a rule for limiting/determining a test procedure (i.e. how to execute the test procedure), and generally, the test rule may be based on an existing verification procedure and/or calibration specification, or may be self-defined, the test rule may be pre-programmed and stored in a test host, or may be adjusted according to an existing rule before a test task is generated, or a new rule is directly established, it needs to be stated that, based on the same object to be tested, one or more test rules that are in compliance may be preset in the test host, at this time, one test rule should be selected from a plurality of test rules and determined (generally, when the test is actually executed, the test should be performed according to a specific test rule, the test rule may include another test rule, that test data obtained according to a certain test rule may satisfy two or more test rules, but there is no selection problem of execution rules for the operation execution of the test host). The test host is configured to establish a corresponding relation between the points to be tested and at least one data recorder in the test task, so that each point to be tested has a unique corresponding data recorder; because the corresponding relationship between the point to be tested and the data recorder can be established, set or adjusted after the test task is generated, the process can be performed separately from the generation of the test task, and meanwhile, because a plurality of test tasks may exist in the test host, from the practical operation, the corresponding relationship between the point to be tested in the test task A and the data recorder can be set first, and then the test task B (the test task A and the test task B are two different test tasks) is established.
For example, first, the test host obtains the relevant information of the available data logger (it should be noted that, the available data logger does not represent that the logger has to participate in a specific test task, but rather participates in a specific test task), the relevant information of the available data logger may include the data logger that has already established a communication connection with the test host, in which case, the test host may directly read the relevant information from the data logger, and the relevant information of the available data logger may also include the data logger that has been included in its management by the test host (i.e. the test host "expects" to establish a connection with the data logger although the connection is not currently established), in which case, the test host should store the relevant information of the data logger, and the relevant information of the data logger may include the name of the data logger, and the data logger, The information relating to one or more of model number, device number, accuracy, status, etc. of the data logger, in general, includes at least one identifying information that may serve to distinguish between different data loggers.
Secondly, the test host can be manually or automatically configured, and the configuration process comprises the establishment of the corresponding relation between the point to be tested and the data recorder; the corresponding relationship between the point to be measured and the data recorder includes one or a combination of several of corresponding modes, such as the point to be measured corresponds to the data recorder, the point to be measured corresponds to a data acquisition channel in the data recorder, the point to be measured corresponds to a measurement probe connected to the data recorder, and the like.
The foregoing configuration process may be performed manually or automatically as an example.
The test method comprises the steps that a test host shows relevant information of available data recorders manually, a user can allocate points to be tested to corresponding data recorders in a mode of issuing instructions, so that the corresponding relation between the points to be tested and the data recorders is established, all the points to be tested which need to be measured need to be allocated, and each point to be tested can be allocated to one data recorder for execution at the same time.
Automatically, the test host should acquire the relevant information of the available data recorder in the previous step, acquiring information of data acquisition channels of the data recorders (at least including the number of the data acquisition channels), then, the test host can sort the available data recorders (the sorting mode is not limited, when only one available data recorder exists, the data recorder defaults to be the first available data recorder to be sorted), and sequentially allocating the points to be tested to each available data recorder, therefore, the corresponding relation between the points to be measured and the data recorders is established, similar to manual operation, all the points to be measured need to be distributed, each point to be measured can only be distributed to one data recorder to be executed at the same time, in the automatic distribution process, the number of the points to be measured of the corresponding relation established by the same data recorder can be equal to or less than the number of the data acquisition channels of the data recorder.
The test host is configured to issue the test task to the data recorder associated with the test task; the data recorder related to the test task is a data recorder which has a corresponding relation with a point to be tested in the test task; since the generation, the distribution and the setting of the test task can be performed respectively, from the practical operation perspective, whether the test task B is distributed or not is irrelevant to whether the test task a is generated or the setting is completed (the test task a and the test task B are two different test tasks), but for the same test task a, the distribution of the test task a can be executed only by generating the test task a first and completing the setting of the test task a.
The data recorder is configured to execute the acquisition of test data based on a test task, wherein the test task is derived from the test host and comprises a data acquisition channel and corresponding information of a point to be tested; as can be seen from the foregoing description, the test host establishes a correspondence between the point to be tested and the data recorder in the test task, and therefore, when the data recorder acquires the test task from the test host, the data recorder can at least acquire a correspondence between the point to be tested and the data recorder, on this basis, if the correspondence between the point to be tested and the data acquisition channel has been set in the test task at the same time, the data recorder directly uses the correspondence between the point to be tested and the data acquisition channel, and if the correspondence between the point to be tested and the data acquisition channel is not set in the test task, the data recorder needs to perform secondary setting on the test task, thereby establishing a correspondence between the point to be tested and the data acquisition channel.
The aforementioned secondary setting example may include that, if the corresponding relationship between the point to be measured and the measurement probe has been set in the test task at the same time, the data recorder acquires information of the measurement probe connected to the data acquisition channel from the data acquisition channel thereof, and determines the corresponding relationship between the data acquisition channel and the point to be measured according to the corresponding relationship between the measurement probe and the data acquisition channel and the corresponding relationship between the point to be measured and the measurement probe; if only the corresponding relationship between the points to be tested and the data recorder is set in the test task, the corresponding relationship between the points to be tested and the data acquisition channels can be manually set on the data recorder (if so, the data recorder is required to have certain interaction capacity, generally speaking, the interaction capacity is weaker than that of the test host), or the corresponding relationship between the points to be tested and the data acquisition channels can be automatically set by the data recorder, for example, the data recorder sequences the points to be tested and the available data acquisition channels thereof, and allocates the points to be tested to the data acquisition channels one by one; it should be noted that, in an advantageous solution, the participation of the data logger in the setting of the test task is limited, for example, the manual setting of the test task on the data logger is prohibited, or alternatively, the manual setting of the test task on the data logger is allowed, but a record of the manual setting of the data logger needs to be kept in the test task, which is intended to ensure as close loop or control as possible of the test procedure, thereby avoiding that the reliability or reliability of the test is affected by the manual field operation (for example, the modified setting does not meet the actual test requirements).
Connecting the measuring probe to a data acquisition channel of a data recorder, which is required to be executed before test data acquisition is executed; before executing the connection operation, if the corresponding relationship between the point to be measured and the data acquisition channel is determined in the test task, the measurement probe which is required for measuring the physical quantity of the point to be measured is connected to the corresponding data acquisition channel, meanwhile, the position of the measurement probe is set according to the element information such as the position of the point to be measured, and based on the description, the information of the point to be measured is obtained and determined in the stage of setting the test task by the test host, so when the test host sends the test task to the data recorder, the information of the point to be measured is simultaneously issued, therefore, an operator can directly connect and set the measurement probe according to the information recorded on the data recorder on site; preferably, the data recorder has a display function, so that information of the point to be tested in the test task is displayed; before (during) the connection between the measurement probe and the data acquisition channel is executed, if the corresponding relationship between the point to be measured and the data acquisition channel is not determined in the test task (including that the first test task waits for manual setting on the data recorder, and the test tasks on the two data recorders comprise the corresponding relationship between the point to be measured and the measurement probe and wait for inputting the corresponding relationship between the measurement probe and the data acquisition channel), the measurement probe can be connected to the available data acquisition channel.
It should be noted that, on the test host/data recorder, the corresponding relationship between the point to be tested and the data acquisition channel is determined in the test task, and then the operation of connecting the measurement probe and the data acquisition channel is executed, which has relative advantages, including that the selection of the measurement probe according to the requirement can be arbitrarily carried out according to the point to be tested (the normal operation of the test operation can not be influenced because the specific probe is damaged), and the operation advantage is obvious when the field connection operation is carried out;
it should also be noted that, on the test host, the corresponding relationship between the point to be tested and the measurement probe is determined in the test task, and then the operation of connecting the measurement probe and the data acquisition channel is performed, which has relative advantages, including that the matching between the point to be tested and the measurement probe can be verified by the test host/data recorder before the connection is performed, and the measurement probe which does not meet the requirement of the point to be tested is avoided as much as possible.
It should also be noted that, the connection between the measurement probe and the data acquisition channel is executed first, and then the setting of the corresponding relationship between the point to be measured and the data acquisition channel is executed manually/automatically, which has relative advantages, including more flexibility in connection with the measurement probe, especially in the case of higher intelligent degree of the measurement probe and the data recorder; in the above three cases to be described, according to the difference of the test host, the data recorder, the measurement probe and the field environment, there are optimal application scenarios, wherein, the corresponding relationship between the point to be tested and the data acquisition channel is determined in the test task, and then the operation of connecting the measurement probe and the data acquisition channel is executed.
If the starting time or the starting signal mode of the test task is instructed in the test task (for example, based on what operation or signal to trigger the starting of the test task), the data recorder starts to acquire data according to the test task according to the instruction of the test task, and if the starting mode is not set in the test task, the data recorder starts to acquire data according to the test task according to the user instruction.
Illustratively, the acquisition of test data is performed based on a test task, including controlling a data acquisition channel of a data recorder based on a measurement and recording configuration set in the test task (such as what frequency is used to perform scanning and measurement on an analog signal from a measurement probe, what unit is used to measure a physical quantity obtained by measurement, how many significant digits are reserved, and how many times a measurement value is recorded and saved), performing scanning, measurement, processing of the analog signal from the measurement probe (for example, in the case of high-frequency scanning and low-frequency recording, mathematical calculation such as averaging and denoising may be required on the measurement value), recording of the measurement value, and the like, obtaining the test data, storing the test data and the data acquisition channel for obtaining the test data correspondingly, so that the test data can be acquired based on the corresponding relationship between the data acquisition channel and a point to be tested, and determining the corresponding relation between the test data and the point to be tested, and correspondingly storing the test data and the test task to finally realize the corresponding effect of the test data and the test task.
Based on the same test task, the data recorder uploads test data based on the test task, and the test host reads and processes the test data based on the test task; on the basis of the establishment, the configuration and the execution of the test tasks, the incidence relation of a specific test process of a specific object to be tested is established between the data recorder and the test host through the test tasks, and the incidence relation is stored in the same test task of the data recorder and the test host.
Specifically, based on the same test task, if the test host is the initiator of data interaction, when the test host acquires test data from the data recorder, the test host does not acquire the test data at will but acquires the test data based on the test task; on the test host, the test task includes the corresponding relation between the point to be tested and the data recorder, so the test host can determine which data recorder is associated with a specific test task, and the test host can also determine which test task is associated with a specific data recorder, when the data recorder and the test host establish communication connection, the test host can execute, facing the specific test task, send a request for obtaining the test data of the specific test task to the data recorder, and/or, facing the data recorder, determine a plurality of test tasks associated with the data recorder, send a read request for the test data to the data recorder, and the request information includes the associated test tasks (when there is one or only one test task associated with the test host and the data recorder, the request contents facing the specific test task and the data recorder are the same), at this time, when the data recorder obtains the request, the data recorder calls the test data of the test task contained in the request from the stored test data and feeds the test data back to the test host, when the test host obtains the test data, the test host processes the test data according to the corresponding relationship between the point to be tested and the data acquisition channel recorded in the test task (if the corresponding relationship between the point to be tested and the data acquisition channel is set on the data recorder, the data recorder needs to feed the setting information back to the test host at the same time), so as to obtain the test data result describing the condition of the point to be tested in the test task.
The advantage of such design scheme is that when the user processes and analyzes the test data on the test host, the processed and analyzed test data has clear and credible source (determined by the data recorder) and test purpose (determined by the test task), through the certainty, on one hand, because the user does not need to find the source/purpose according to the data, or find the data/source according to the purpose, or find the data/purpose according to the source, the workload of the user is greatly reduced, the error generated in the searching process is avoided as much as possible, on the other hand, the correspondence between the test data and the test purpose can be ensured through the certainty, namely, a certain test task issued by the test host and the test data obtained by the test task are ensured by objective factors, and illegal data such as source non-compliance, process non-compliance and the like can be prevented from entering the process and the analysis of the test data, the method has a high value for ensuring the reliability of the test and verification process, and in addition, when a plurality of data recorders corresponding to the test tasks exist, that is, a plurality of groups of test data from the plurality of data recorders correspond to one test task, or the test host has a plurality of test tasks needing to be processed and corresponds to one or more different data recorders, that is, the test host and the data recorders cannot form a corresponding relationship, the technical advantages and the technical effects in the two aspects are particularly reflected.
The data recorder is implemented together with or selected to be implemented by the test host as the data interaction initiator, and is the data interaction initiator based on the same test task; when the data logger sends the test data to the test host, the test data is not sent randomly but is sent based on the test task, specifically, when the data logger obtains the test task from the test host, the data logger can determine the source of the test task (i.e. know which test host sent the test task), when the data logger and the test host establish connection, the data logger can judge the test task related to the stored test data, if the source of the related test task is the test host, the related test data can be extracted and uploaded to the test host in association with the test task, it should be noted that, when uploading the test data, because all or at least part of the information of the test task is already stored at the test host, it is unnecessary to upload all the information of the test task along with the test data, but feature information (such as name, number, type, and the like of a test task) enough to distinguish different test tasks is uploaded, when the test host acquires the test data, the test host can determine the test task corresponding to the test data according to the feature information of the test task uploaded along with the test data, call the test task information stored in the test host, and process the test data based on the test information, where the content of the processing includes, but is not limited to, determining the corresponding relationship between the test data and the point to be tested, and finally generating a processing or analysis result of the test data for the user to view or use.
In addition, the test host may issue a plurality of test tasks associated with the test host to the same data logger, and the data logger may store the plurality of test tasks and may be configured to divide the test tasks into three types, i.e., non-execution, execution and executed in the face of the plurality of test tasks.
The executed data recorder represents that the data recorder has executed the test data acquisition according to the test task, theoretically, each executed test task corresponds to a group of test data stored in the data recorder, and for the executed test task, the data recorder only performs data storage and uploading operation and does not execute the executed test task any more (secondary execution of the same test task is not allowed, and the content of the test task is allowed to be completely copied and executed after the test task is newly built). When an instruction to initiate a test task is generated (which may be a test instruction entered by a user or other device, or may be preset or included in the test task and triggered by some condition):
if the data recorder does not have the currently executed test task, starting to execute the acquisition of test data according to the corresponding test task according to the starting instruction;
if the data recorder has a currently executed test task (marked as being executed in the data recorder), that is, the data recorder executes the acquisition of test data according to a certain test task, optionally, there are two schemes, one of which is optional, the data recorder judges the test task corresponding to the start instruction and the test task being executed, if the test task corresponding to the start instruction and the test task being executed have completely the same information of the point to be tested (also including the corresponding relation of the point to be tested), the test task corresponding to the start instruction is allowed to be started, if at least one of the test task corresponding to the start instruction and the point to be tested of the test task being executed is different, the start instruction is rejected and fed back, and if the test task being executed currently exists, the start instruction is rejected and fed back; based on the above situation, the test host is configured to send a read request of the test data to the data recorder based on the test task, and correspondingly, the data recorder is configured to perform judgment according to the execution situation of the test task, if the test task is in an unexecuted state, the state of the test task is directly fed back to the test host, and if the test task is in an executed state, complete test data related to the test task is sent to the test host; based on the foregoing, the data logger is configured such that, if a test task is being executed and the executing test task is originated from the test host, the data logger is triggered to continuously send current test data to the test host based on a trigger condition that the test host and the data logger establish a connection and are associated with the test task.
The second specific embodiment provides a construction scheme of a test system for testing industrial equipment facilities, and aims to meet various different field test scenarios, wherein multiple test hosts, multiple data recorders and multiple measurement probes are provided for the application scenario. Specifically, the test system can be composed of a test host, a plurality of data loggers and a plurality of measuring probes.
The test host is a portable test host, and has data processing and storage capabilities (provided by the processing module, in some cases, the processing module may be composed of a separate electronic component with processing capability and an electronic component with storage capability), a capability of communicating with the data recorder (provided by the communication module), and an interaction capability (provided by the interaction module including the touch screen), and specific implementation thereof may refer to description of a specific embodiment and general knowledge of those skilled in the art based on the prior art, and will not be described herein again.
The data logger, which has a weak (generally weaker than the test host) data processing and storing capability (provided by the processor and the memory, in some cases, the processor and the memory may be implemented by the same module), a capability of communicating with the test host (provided by the communicator), a display capability (provided by a display including a display screen), and an electrical signal measuring capability (provided by a data acquisition channel for connecting with the measurement probe), may be implemented as described with reference to the specific embodiment and based on the general knowledge of the prior art by those skilled in the art, and will not be described herein again.
The measuring probe can be described with reference to the first embodiment and the general knowledge of the skilled person based on the prior art, and will not be described herein again. Under the design idea in the prior art, the test host controls the test data acquisition process of the data logger (generally performed online), focuses on controlling which data acquisition channels are used and matching the corresponding relationship between the test data and the data acquisition channels, and the test host is responsible for distinguishing the corresponding relationship between the test data and the object to be tested, even if in an offline mode, the test host issues an instruction on how to control data acquisition on the data acquisition channels, the instruction also focuses on controlling which data acquisition channels are used, that is, for the data logger in the prior art, the data logger generally does not care about or does not know the test target to which the data logger aims (from the perspective of the prior art, even if the information of the object to be tested of the data logger is informed, the operation actually performed by the data logger still controls the data acquisition channels to perform test data acquisition, thus, the prior art does not consider it necessary to inform the data logger of the test target), and therefore, even if this type of instruction is treated as a certain task issued by the test host, the object of the task is the data logger, i.e., the task is made based on how the data logger is controlled.
The above-mentioned prior art idea has a problem in the application scenario of the present embodiment, and when there is no explicit networking corresponding relationship between the test host and the data recorder, it is troublesome to determine how to determine the corresponding relationship between the test data and the actual object to be tested; for example, a first object to be tested has 16 points to be tested, a second object to be tested has 32 points to be tested, the first, second and third data recorders respectively have 16 data acquisition channels, after the test is completed, 1 set of test data is stored in each of the first, second and third data recorders, at this time, an operator needs to additionally record the data, the first data recorder completes the test on the first object to be tested, and the second and third data recorders complete the test on the second object to be tested, which may cause a problem that if the operator records an error, the final test result may be abnormal, or there are other data in the data recorders, or the number multiple/decade of the aforementioned objects to be tested and data recorders may cause a great increase in the test workload, and the error rate is significantly increased.
The design idea of this embodiment is obviously different from the prior art: the concept of a test task oriented to an object to be tested is provided, and an association relation is established between a test host and a data recorder through the test task, which is obviously different from the thought in the prior art, the thought of the association relation breaks away from the limitation of how to control the data recorder (the association thought in the prior art is that a control instruction generated by the test host or the data recorder tells the data recorder which data acquisition channels are needed to be used), but is established on how to combine the test host and the data recorder to complete the test of a specific object to be tested (the association thought in the specific embodiment is that the test task is respectively provided with a plurality of data recorders, and in the process of completing the test task, all the data recorders need to do).
Specifically, the present embodiment further includes the following technical solutions.
As shown in fig. 4 and 5, a test task workflow surrounding a test host and a data logger is provided, and the test task workflow integrally includes four parts, namely generation of a test task, setting and release of the test task, execution of the test task, and feedback of the test task.
In the embodiment, the test task is generated based on the object to be tested and the test rule meeting the test requirement of the object to be tested, without considering the data recorder, and the generated test task includes a plurality of points to be tested required for testing the object to be tested.
Preferably, according to the integrity of the test rule, the test task further includes a test task ID (for quickly identifying the test task in the interaction process, which can be freely set according to a certain rule), a test task number (which can be used in subsequent data management and maintenance processes, such as checking the historical test record of the object to be tested as needed, checking the use efficiency of a standard as needed, which can be freely set according to a certain rule), remark information (which can be set according to specific needs), object to be tested information (description of the object to be tested, including name, equipment facility type, equipment facility number, etc., generated based on the object to be tested), a test task type (for describing the type of the test task, which can be set according to specific needs, such as belonging to daily test, periodic verification, aperiodic calibration, etc.), Measurement configuration information (specific measurement processes for controlling the data logger, such as a measurement unit, the number of significant bits of measurement data, the acquisition frequency of measurement data, and the like, which are generally generated according to an object to be tested and a test rule), recording configuration information (specific recording processes for controlling the data logger, such as a recording interval, i.e., the frequency of recording test data, and also, for example, a recording mode, which is directly recorded or recorded after processing the measurement data, which is generally generated according to the object to be tested and the test rule), point to be tested information (describing the conditions of the points to be tested in the test task, including the number and types of the points to be tested, and if the position information is involved, including a spatial model, and the like), in short, generally, after the generation process of the test task is completed, what the test task needs to be done can be determined.
The setting and the distribution of the test tasks are executed by the test host, and in some cases, the data recorder can be additionally participated.
Illustratively, a test task is set, according to the information of the points to be tested in the test task, the measured points to be tested required by the test task are distributed, the information of the available data recorder is obtained, the information of the available data recorder may be stored in the test host in advance, or may be directly read from the data recorder which is establishing a connection relationship with the test host (the data recorder which is being connected may be regarded as a data recorder which is of course available), and the obtained information of the available data recorder generally includes the identifier information of the data recorder such as the name, number, model, etc., and the identifier information of the data recorder is used to determine, according to the identifier information of the data recorder, different data recorders can be distinguished, and the obtained information of the available data recorders generally includes the conditions of data acquisition channels of the data recorders (including at least the number of the data acquisition channels). Based on the information of the points to be tested and the information of the data recorders, a corresponding relationship between the points to be tested and the data recorders is established in the test host, specifically, a corresponding relationship between all the points to be tested and a plurality of data recorders (the number of the data recorders may be one or more) for executing the points to be tested is established, so that each point to be tested has only one data recorder corresponding to the point to be tested, each data recorder can correspond to a plurality of points to be tested, and the number of the points to be tested corresponding to each data recorder does not exceed the number of data acquisition channels included in the data recorders.
The setting process can be carried out manually or automatically; in the automatic setting process, the test host is configured to sequence the data recorders, then allocate the points to be tested to the data recorders which are arranged in the first sequence, calculate the number of the points to be tested which are allocated to the data recorders which are arranged in the first sequence and the number of the data acquisition channels of the data recorders, if all the points to be tested are allocated, the number of the points to be tested which are allocated to the data recorders which are arranged in the first sequence is less than or equal to the number of the data acquisition channels of the data recorders, the setting is completed, if all the points to be tested are not allocated, and the number of the points to be tested which are allocated to the data recorders which are arranged in the first sequence is equal to the number of the data acquisition channels of the data recorders, the points to be tested are stopped being allocated to the data recorders which are arranged in the first sequence, and the points to be tested are allocated to the data recorders which are arranged in the second sequence, and so on until all the points to be tested are allocated. After the distribution of the points to be tested is completed, the distribution can be manually or automatically executed, when the data recorder is connected with the test host, the test host issues a test task to the data recorder, and the test task comprises the information of the relevant corresponding relation of the points to be tested.
The scheme is improved, when the condition of the data acquisition channel of the data recorder is obtained, preliminary judgment is carried out, the corresponding relation between the point to be measured and the data recorder is distributed based on the result of the preliminary judgment, and therefore the situation that the number of the points to be measured distributed to the data recorder exceeds the number of available data acquisition channels is avoided.
The judgment method comprises the steps of acquiring the characteristic information of the points to be measured and the characteristic information of a data acquisition channel, judging according to the matching condition of the points to be measured and the data acquisition channel, and if the data acquisition channel of the data recorder meets the requirement of matching and is not occupied, distributing the points to be measured to the data recorder until the distribution of all the points to be measured is completed; specifically, an example of the allocation judgment logic is that, according to the feature information of the data acquisition channels, the data acquisition channels are classified, the number of the data acquisition channels of the first type and the number of the data acquisition channels of the second type are determined, and so on, whether the first point to be measured can be allocated to the data acquisition channel of the first type is judged, if yes, the first point to be measured occupies the allocation number of the data acquisition channels of the first type, the second point to be measured is continuously judged, if not, the first point to be measured can be allocated to the data acquisition channel of the second type, in the subsequent judgment process, if the data acquisition channel of the first type has been allocated with the point to be measured, the point to be measured is not allocated to the data acquisition channel of the first type, and so on, until each type of data acquisition channel of the data recorder cannot be allocated with the point to be measured (and the data acquisition channel is not indicated to be allocated with a full capacity, and also means that the unassigned points to be measured do not have suitable data acquisition channels to connect to, but the number of assigned points to be measured has been equal to the number of available data acquisition channels); and at the moment, if the points to be measured are not distributed yet, distributing the remaining points to be measured to a data acquisition channel of another data recorder.
The characteristic information of the point to be measured is derived from the information of the point to be measured, and comprises one or more of type, position and measuring range, the characteristic information of the data acquisition channel comprises one or more of type and connectable probe, and the matching between the characteristic information of the point to be measured and the characteristic information of the data acquisition channel is evaluated.
Some possible methods for determining the matching condition between the point to be measured and the data acquisition channel include, for example, if the first point to be measured and the second point to be measured have a large position difference (for example, a distance threshold may be set to be 10m, and when the distance between the first point to be measured and the second point to be measured is greater than or equal to 10m, it is determined that the first point to be measured and the second point to be measured have a large position difference), after one of the first point to be measured and the second point to be measured is determined to be matched with the data acquisition channel, the other one determines that the two are not matched with all the data acquisition channels of the data recorder, and for example, if the physical quantity type of the first point to be measured is temperature (which needs to be measured by using a thermocouple or a thermal resistor), and the measurement type of the data acquisition channel is a digital signal, there are other methods for matching the point to be measured and the data acquisition channel, the determination can be performed according to the present embodiment by combining general knowledge in the prior art, which is not described in detail herein.
It should be noted that, the technical solution of the present embodiment is clearly defined, and in the process of setting the test task, if the points to be tested of the test task are not all allocated, that is, there is no data recorder corresponding to the points to be tested to execute the test data acquisition, the setting of the test task is not completed, and the subsequent issuing operation of the test task is not performed.
It should be noted that the setting process of the test task may be mixed with the generation of the test task in some cases, that is, the order of the two may be that the test task is generated first and then the test task is set, or the test task is set simultaneously in the process of generating the test task (that is, the two are not clearly distinguished), or the test task and a part of the content thereof are generated first and then the test task is set, and then another part of the content of the test task is generated.
And in manual or automatic configuration, the test host sends the test task to the data recorder, and the triggering mode of automatic configuration comprises that the test host establishes connection with the data recorder related to the test task, and the test task at least completes the corresponding setting of the point to be tested and the data recorder. The setting of the test task further includes setting a corresponding relationship between the point to be tested and the data acquisition channel, and the operation may be executed by the test host, or may be executed by the data recorder after the test task is issued.
In a preferred embodiment, referring to fig. 4, in the test host, when the data acquisition channel of the data recorder is obtained, the point to be tested and the data acquisition channel are directly set.
For example, manually executing, namely, respectively allocating the points to be measured to available data acquisition channels, so that the points to be measured and the available data acquisition channels correspond to each other one by one (it should be noted that, the point to be measured has a unique corresponding data acquisition channel, and the data acquisition channel has a unique corresponding point to be measured, or is empty, and does not require that the data acquisition channels all allocate the points to be measured), and manually executing mainly depends on personnel setting; the manual execution is improved, and can be combined with the above-mentioned improvement scheme, if the operation performed at this time is to allocate the point to be measured to the data acquisition channel (i.e. the selected object is the point to be measured, and the object to be selected is the data acquisition channel), the characteristic information of the point to be measured and the characteristic information of each data acquisition channel are obtained, whether each data acquisition channel matches the point to be measured is judged, if yes, the selection is allowed, if no, the selection is not allowed, thereby avoiding the misoperation (the selection by mistake is made for the unavailable data acquisition channel), if the operation performed at this time is to select the executable point to be measured according to the data acquisition channel (i.e. the selected object is the data acquisition channel, and the object to be selected is the point to be measured), the characteristic information of the data acquisition channel and the characteristic information of each point to be measured are obtained, whether the data acquisition channel matches each point to be measured is judged, if the selection is not matched, the selection is not allowed, so that misoperation (mis-selection) is avoided.
For example, an automatic determination logic is automatically executed, wherein the available data acquisition channels are ranked, the points to be measured are ranked, after ranking, whether the first point to be measured and the first data acquisition channel are matched is determined, if so, the first point to be measured is allocated to the first data acquisition channel, if not, whether the first point to be measured and the second data acquisition channel are matched is determined, and so on, until the only corresponding data acquisition channel is determined for the first point to be measured, then, the second point to be measured and each data acquisition channel are determined, at this time, if the first data acquisition channel or other data acquisition channels are matched with the points to be measured, the relevant data acquisition channels do not participate in determination, the determination of the second point to be measured and each data acquisition channel is similar to the determination of the matching of the first point to be measured, and is not repeated here, in the same way, until each point to be measured is distributed to a unique corresponding data acquisition channel, determining the data acquisition channels corresponding to all the points to be measured and the data recorders corresponding to the data acquisition channels; as described above, while the corresponding relationship between the point to be tested and the data acquisition channel is determined, the corresponding relationship between the point to be tested and the data recorder is also determined, and when the test task is issued, the corresponding relationship between the point to be tested and the data acquisition channel is also issued along with other contents of the test task.
If the operation is carried out according to one of the preferred schemes, then in the subsequent process, according to the measurement requirements of the points to be measured corresponding to the data acquisition channels in the test task, connecting the measurement probes meeting the requirements in the corresponding data acquisition channels; specifically, since the data logger has a display screen, when the data logger and the measurement probe are connected specifically, information of the point to be measured and corresponding information of the point to be measured and the data acquisition channel can be displayed in the display screen of the data logger, and at this time, a user can determine what contents in a test are to be executed by the data logger (for example, what points or physical quantities are to be measured) according to the display in the display screen of the data logger, and then select an appropriate measurement probe as needed (since the measurement probe is not limited, the user can select another appropriate measurement probe to replace when the measurement probe has a fault) for connection. In a second preferred embodiment, referring to fig. 5, after a test task is issued, the test task reaches the data recorder, and at this time, the corresponding relationship between the points to be tested and the data recorder is already set by the test host and included in the issued test task, then the data recorder is configured to automatically perform secondary setting of the test task after the test task is obtained (in this embodiment, in consideration of integrity and reliability protection of the test process, after the test task is issued to the data recorder, manual secondary setting of the test task by the data recorder is prohibited), the data recorder is configured to sort the points to be tested allocated to the test task in the test task, and then sequentially allocate data acquisition channels to the points to be tested one by one until all the points to be tested are allocated with data acquisition channels, specifically, for the nth (N is greater than or equal to 1, less than or equal to the number of points to be measured allocated to the data recorder), checking the condition of a currently available and unoccupied data acquisition channel, extracting a data acquisition channel matched with the Nth point to be measured from the currently available and unoccupied data acquisition channel, storing the corresponding relationship between the data acquisition channel and the Nth point to be measured, marking the occupied data acquisition channel, and repeating the operation on the (N +1) th point to be measured; after the automatic setting of the corresponding relationship between the point to be measured and the data acquisition channel is completed, if the data recorder and the test host establish communication connection again, the corresponding relationship between the point to be measured and the data acquisition channel is uploaded to the test host.
If the operation is carried out according to the second preferred scheme, then in the subsequent process, similar to the first preferred scheme, according to the measurement requirement of the point to be measured corresponding to the data acquisition channel in the test task, the measurement probe meeting the requirement is connected to the corresponding data acquisition channel.
Preferably, in the test host, a calibrator database (also called as a gauge database or a gauge database, which is determined according to different types of users, and generally speaking, in order to ensure validity of a test result, an accuracy level of a measurement probe used for testing an object to be tested should be higher than or at least not lower than an accuracy level of the object to be tested, so that, in the field of metrology, the measurement probe is equivalent to the existence of a calibrator and aims to provide a true value of a specific physical quantity of the object to be tested), information of a plurality of measurement probes which can be used optionally (preset here means that, at least after a corresponding relationship between the point to be tested and the measurement probe is established, the information is input into the calibrator database), on the basis of which, when a test task is set on the test host, before the corresponding relationship between the point to be tested and the data recorder is set, Setting a corresponding relation between the point to be measured and the measuring probe at the same time or later (before a test task is issued to the data recorder), specifically, selecting the measuring probe which can meet the measurement requirement of the point to be measured from a standard device database according to the characteristic information of the point to be measured, establishing a one-to-one corresponding relation between the point to be measured and the measuring probe (the point to be measured has only one measuring probe which corresponds to the point to be measured, and the selected measuring probe corresponds to only one point to be measured), storing the corresponding relation between the point to be measured and the measuring probe, and issuing the corresponding relation when the test task is issued; the data recorder acquires a test task and acquires a corresponding relation between a point to be tested and a measuring probe, the selected measuring probe is connected with the data acquisition channel on the data recorder one by one (the corresponding relation can not be marked in the process of establishing the connection), then the data recorder is configured to distinguish the measuring probes connected with the data acquisition channel one by one, specifically, the data recorder extracts the selected measuring probe included in the test task, sorts the measuring probes corresponding to the point to be tested according to the sequence of the point to be tested (if the points to be tested are not sorted yet), acquires the information of the measuring probes connected with the data acquisition channel, if the measuring probe connected with the Mth data acquisition channel is matched with the Nth measuring probe, the corresponding relation between the Nth point to be tested and the Mth data acquisition channel is established, and repeating the steps until data acquisition channels are determined for all the points to be measured.
If the operation is performed according to the third preferred embodiment, then, in the following, different from the first and second preferred embodiments, the measurement probe selected in the test task needs to be used (the selection of the measurement probe is determined), and meanwhile, the corresponding connection relationship between the measurement probe and the data acquisition channel does not need to be concerned (that is, when actually connected, only the measurement probe needs to be connected to the data acquisition channel of the data recorder); a further technical advantage of the third preferred embodiment is that, since the information relating to the measurement probes is already included in the test task and verified (from the etalon database), it is ensured that the test data is of sufficient accuracy and no additional supplementation or preparation of further information is required, while, if the wrong measurement probe is connected to the data logger, at least the data logger is fed back (with the effect that the data logger feeds back that the corresponding measurement probe associated with the test task is not connected and/or that there are measurement probes that are unknown/unverified/not included in the test task among the measurement probes connected to the data logger), so that the user can find problems and correct them at least before the test.
The execution of the test task is realized by the data logger, in this specific embodiment, the data logger is configured to start measurement and data collection according to the default working mode after starting the work (at this time, the obtained data may be meaningless), when the test task is started, the data logger is configured to adjust the default working mode to the requirement of the test task (to execute the operation according to the measurement configuration information and the record configuration information in the test task), which is different from the prior art that the data logger does not simply store according to the actual collection logic, but manages and stores the collected test data according to the setting in the test task, for example, the test task includes the nth point to be tested and the corresponding relationship between the nth point to be tested and the mth data collection channel, and the data logger (the actual operation can be executed by the processor and the memory) when the data is obtained from the mth data collection channel, the test data is stored in association with the test task and the nth point to be tested as test data, for example, if there is no point to be tested corresponding to the nth data acquisition channel in the currently executed test task, the data recorder does not record the data acquired from the nth data acquisition channel.
It should be noted that, generally, for the data logger, each test task is executed only once, meanwhile, an unexecuted, executing and executed tag is added to the test task in the data logger, the test task stored in the data logger is marked as unexecuted if the test task has not been started to be executed, and is marked as executing if the test task is started but not completed/completed, once the started test task is completed, the started test task is marked as executed regardless of whether the completion is completed due to a preset purpose or forced completion due to an emergency, and for the test task marked as executed, the test task marked as executed is not recorded (written) with the test data associated therewith.
The feedback of the test task is carried out by the linkage of the test host and the data recorder, and the test data extraction and the test on-line monitoring are included in the specific embodiment.
The test data extraction means that, according to a test task mechanism, for a certain or certain specific test task stored in both the test host and the data recorder, in response to a data reading request of the test host, the data recorder extracts test data associated with the test task or tasks and transmits the extracted test data to the test host, and the test host acquires the test data and processes and analyzes the test data according to the test task, generally speaking, a test data extraction method is adopted for a corresponding executed test task.
Specifically, the test host stores a first test task, the data recorder also stores the first test task (including test data), the test host can manually or automatically select the first test task when preparing to initiate a test data reading request to the data recorder, the test host initiates a request for reading test data associated with the first test task to the data recorder, and the data recorder uploads the test data associated with the first test task to the test host; logic for automatically selecting the first test task includes that the test host (executable by the processing module) performs judgment, whether the first test task is associated with the data recorder, if not, the subsequent judgment of the first test task is stopped, if so, whether the first test task has test data from the data recorder, if so, the subsequent judgment of the first test task is stopped, and if not, the first test task is added in a test data reading request range.
As another specific example, the test host stores the first test task, and the data logger does not have the first test task, so that when the test host initiates a test data reading request to the data logger, the test host cannot select the first test task (i.e., the test host cannot initiate a request to read test data of the first test task to the data logger), or the test host initiates a request to read test data associated with the first test task to the data logger, and the data logger feeds back a read object error.
As another specific example, the test host does not store the first test task, and the data logger stores the first test task, the test host initiates a request for reading the test data associated with the first test task to the data logger, and the data logger rejects reading (without a read permission) in a feedback manner, and/or the data logger transmits the test data associated with the first test task to the test host, and the test host obtains the test data and reads all information of the first test task stored in the test host from the data logger, and marks "source uncertain" or other identifiers on the first test task.
The test data is monitored on line, namely according to a test task mechanism, aiming at a certain or certain specific test task stored in both the test host and the data recorder, the data recorder actively initiates the test task to continuously upload the current test data of the test task executed by the data recorder to the test host during the communication connection period of the test host and the data recorder, thereby realizing the real-time acquisition of the test data by the test host. In a specific example, the test host and the data logger both store a first test task, and the data logger is performing the collection of test data according to the first test task, when the test host computer and the data recorder establish communication connection, triggered by the communication connection establishment action, the data recorder continuously uploads the currently acquired test data to the test host computer, the test host computer acquires the test data and determines that the test data is associated with a first test task according to the test data information, the test host computer associates and independently stores the first test task and the currently uploaded test data, when the working condition of the data recorder needs to be monitored in real time, the test host can quickly call the currently uploaded test data and the information of the first test task, for review by the user until the test host and data logger are disconnected from communication or the data logger has no test tasks currently being performed.
Detailed description of the preferred embodiment
A test system based on a task mechanism includes a control layer 210 and an execution layer 220.
As shown in fig. 6, the control layer 210 includes a first interactive terminal 211 managed by a first user, a second interactive terminal 212 managed by a second user, a third interactive terminal 213 managed by a third user, and a host platform 214, wherein the users can be distinguished by logging in an account, that is, in an extreme case, an interactive terminal of an entity can be regarded as the first interactive terminal 211 when the first user logs in and manages to use, and can be regarded as the second interactive terminal 212 when the second user logs in and manages to use, the host platform 214 can be disposed on a device of an entity (for example, the interactive terminal and the host platform may be integrally formed devices), or can be disposed on a network other than a local server, an online cloud platform, etc., and the first interactive terminal 211, the second interactive terminal 212, and the third interactive terminal 213 can establish a connection with the host platform 214 (because the connection implements bidirectional interaction, and is in a connectable or disconnectable state, and is indicated by a double arrow in the figure), the user can log in the host platform 214 through each interactive terminal (211, 212, 213) to call, execute, process or view related information.
A database 215 stored on the host platform 214 and including devices under test; a plurality of devices under test managed by a temperature test system are stored in the device under test database 215; the management performed by the dut database 215 mainly includes establishing a management ledger for each managed dut (hereinafter, referred to as dut for convenience), where the management ledger includes historical test data of the dut.
Stored on the host platform 214, further comprising a metrology instrument database 217; the measuring instrument database 217 stores information of a plurality of available data recorders (including numbers of the data recorders, data acquisition channels provided therein, and the like) and information of a plurality of available measuring probes (usable for measuring physical quantities such as pressure, temperature, humidity, and the like), and preferably, the measuring instrument database 217 stores information of the data recorders and data acquisition channels thereof, stores information of measuring probes in the measuring instrument database 217, and also stores periodic verification (or calibration) data based on the measuring probes, and latest calibration data of the measuring probes, it should be noted that the purpose of the former periodic verification (or calibration) data is to evaluate the accuracy of the measuring probes, and the latter latest calibration data is to correct measured data of the measuring probes, therefore, the latter latest calibration data may also be referred to as calibration data.
Stored on the host platform 214, further includes a test task database 218; the test task database 218 stores a plurality of test tasks established on the host platform 214, and the test task database 218 manages the test tasks respectively, including classifying the test tasks; specifically, if the test task is established at the host platform 214, there is no issued record issued to the data recorder, or the data recorder in the issued record does not include all the data recorders corresponding to the test task, the host platform 214 marks the test task as not issued, and in the preferred embodiment, for the test task marked as not issued, the host platform 214 prohibits or at least restricts writing of the measured data to the test task; if the test task is accompanied by a task issuing record issued to all relevant data recorders, the host platform 214 marks the test task as being in progress, in the preferred embodiment, if the data recorders (any relevant data recorders) relevant to the test task marked as being in progress establish communication connection with the host platform 214, the test task is further marked as being in online, and if the data recorders relevant to the test task marked as being in progress do not establish communication connection with the host platform 214, the test task is further marked as being in offline; if the test task is marked as ongoing, when the data recorders related to the test task both feed back that the test task has been executed and upload the test data, the host platform 214 marks the test task as completed and eliminates the ongoing marking, in a preferred embodiment, if the data recorders related to the test task marked as completed establish a communication connection with the host platform 214, the test task is further marked as repeatable synchronous data.
Disposed on the host platform 214, a test control unit 216; the test control unit 216 and the device under test database 215 are linked with each other, and the test control unit 216 analyzes the device under test in the device under test database 215 and classifies the devices under test as follows: the first one, the equipment to be tested is the equipment to be tested of new warehouse entry, there is no historical test data (or only there is ex-factory test data), the second, except that the ex-factory test data, the equipment to be tested has one or more than one piece of historical test data (different pieces of historical test data of the same equipment to be tested usually correspond to the test data of different test time).
When a first user logs in through the first interactive terminal 211, the host platform 214 provides the first user with an entry (or an input template) for quickly and conveniently setting various parameters to test the device to be tested, wherein the entry is used for the first user to establish a test task for the device to be tested; the test task includes a test task name (which may be automatically generated by the host platform 214 according to a certain rule or manually set), a test task number (which may be automatically generated by the host platform 214 according to a certain rule or manually set), a test task type (which may be automatically input by a user and may provide some quick options), remark information (which may be automatically input by a user), object information to be tested (which is automatically imported from the device under test database 215 and allows manual adjustment), a test execution rule (which may be automatically set by the host platform 214 according to the device under test and allows manual adjustment), a test execution time, measurement configuration information (which may be automatically set according to the test execution rule or may adopt default values set by the system and also allows manual adjustment), recording configuration information (which may be automatically set according to the test execution rule or may adopt default values set by the system, allowing manual adjustment), point information to be tested (automatically set according to the test execution rule, or adopting default value set by the system to allow manual adjustment); specifically, at least for the first time of establishing a test task for the device to be tested, the host platform 214 allows the first interaction terminal 211 to retrieve information in the measuring instrument database 217, and the first user can manually select the data recorder, the data acquisition channel and the measurement probe for executing measurement for each point to be tested, and record related information in the test task. The host platform 214 also provides the first user with two combinable options of regular execution and automatic execution; specifically, the host platform 214 is configured with a test time threshold for a specific device under test (the configuration may be manually input by a user or a default value given by a system, in other words, if the user selects to turn on the function of the periodic execution and does not manually input, the default time threshold given by the system is used), the test time threshold is stored in the device under test database 215 along with the device under test, the host platform 214 is configured to make a periodic or non-periodic determination on the device under test with the test time threshold, and the host platform 214 prompts when the first interactive terminal 211 logs in the host platform 214 if the difference between the latest test data generation time and the current time of the device under test approaches, reaches or exceeds the test time threshold, which includes but is not limited to popping up only general information, and the like, Directly entering an interface for formulating a test task for the equipment to be tested, and the like; automatic execution, which can be used to assist user operation, can also select whether to turn on for a particular device under test, when the user selects to turn on the auto-execute function, if a test task is created for the dut in the host platform 214, the host platform 214 automatically retrieves the latest historical test data from the dut database 215, and generates the testing task type, testing execution rule, information of the object to be tested, measurement configuration information, recording configuration information and information of the point to be tested of the new testing task according to the testing task type, the testing execution rule, the information of the object to be tested, the measurement configuration information, the recording configuration information and the information of the point to be tested, automatically generating test execution time, test task name and test task number according to a certain rule, if the test task is manually generated, theoretically, the first user only needs to determine whether to adopt the settings according to the first interactive terminal 211, and if so, the test task can be created by storing the settings; the combination of periodic execution and automatic execution, that is, periodic execution and automatic execution are simultaneously selected for a specific device under test, the host platform 214 is configured with a test time threshold for the specific device under test, the test time threshold is stored in the device under test database 215 along with the device under test, the host platform 214 is configured to make a periodic or irregular judgment for the device under test with the test time threshold, and if the difference between the latest test data generation time and the current time of the device under test reaches or substantially reaches the test time threshold, the host platform 214 automatically creates a new test task for the device under test in the aforementioned automatic execution manner.
At or after the aforementioned creation of the test task, performed manually by the user or automatically (when a combination of periodic execution and automatic execution is selected) by the host platform 214, an operation of submitting a verification is performed on the created test task, and after submitting the verification, the contents of the test task are in a locked state and cannot be modified and are marked as pending verification.
When the second user logs in through the second interactive terminal 212, the host platform 214 provides and finally displays all the test tasks currently having the marks to be verified to the second interactive terminal 212, and the second user performs verification on the test tasks to ensure that the test tasks meet the test requirements and no errors exist, and it is to be supplemented that, similar to the aforementioned automatic execution, the second user can give the host platform 214 the authority of automatic verification through the second interactive terminal 212, if the host platform 214 is given the authority of automatic verification, the host platform 214 is configured such that, after a new test task is marked as a state to be verified, the host platform 214 determines the device to be tested to which the new test task is directed according to the test task, and then retrieves the latest historical test data of the device to be tested from the device to be tested database 215, for various configurations in the test task and the latest historical test data, if the two configurations are the same, the test task is marked as passing the verification, and if there is a difference, a manual verification at the second interactive terminal 212 is waited.
A test task with a check pass flag may enter the execution layer 220.
As shown in fig. 6, in this embodiment, the execution layer 220 includes a plurality of data loggers (221, 222, 223, 224) and a plurality of measurement probes (225, 226, 227, 228), the measurement probes (225, 226, 227, 228) do not generally participate in the networking of the test system when not participating in the test task, but are delivered to a satisfactory location for safekeeping so as to ensure the lifetime thereof, the data loggers (221, 222, 223, 224) may or may not participate in the networking when not participating in the test task, and in this embodiment, the networking form of the two data loggers (221, 222, 223, 224) is given.
In one networking form, the data logger 221 is connected to a live network through a USB port when not participating in a test task, the live network is integrated with, or at least communicatively coupled to, host platform 214, through which, on the one hand, a USB port may provide power to data logger 221, and on the other hand, through this connection, the host platform 214 may also obtain current information of the data logger 221, such as whether data recorder 221 is currently full of power, and such as whether data recorder 221 is currently inactive (i.e., connected in a network), thus, information support is provided for the creation of the test task, and on the other hand, when the test task is marked as passing the verification, the host platform 214 extracts the information of the corresponding data recorder 221 from the test task content, and then sends the test task content to the data recorders 221 connected to the network; in this embodiment, when a test task is issued to the data recorder 221, the data recorder 221 gives a prompt through a display screen or sound thereof; several task-level and execution-level connection scenarios are shown in the figure, including connection between the host platform 214 and the data logger 221 (as shown in the figure, one or more of them are allowed to be connected at the same time), disconnection between the host platform 214 and the data logger (222, 223, 224) (e.g., the data logger is brought to the field for testing), connection between the data logger 222 disconnected from the host platform 214 and the measurement probe 225, connection between the data logger 223 and the measurement probes (226, 227), connection between the data logger 224 and the measurement probe 228 (in a measurement-ready state), the data logger (221, 222, 223, 224) and measurement probe (225, 226, 227, 228) are shown as being in accordance with the data logger and measurement probe set-up of this embodiment, on the basis of not deviating from the setting, the differences which do not influence the normal implementation of the scheme are allowed to exist among the same type of individuals.
In another networking form of the data recorder (the networking form is not shown in the figure), the data recorder is not connected with the host platform (or the connection is not required) when not participating in the test task, at this time, an interactive terminal or other devices are required to be known by a fourth user, the test task is marked to be issued and executed when the verification passes, which data recorders participate in the related test tasks, at this time, the fourth user establishes connection between the selected data recorder and any interactive terminal, and the host platform issues the test task to the data recorder when the connection is established.
Preferably, in this example, the control layer and the execution layer are linked, and the host platform is configured to issue the test task when all data recorders associated with the same test task are in a networking connection state, or, if at least one data recorder associated with the same test task is in a state of not participating in networking (i.e., the test task cannot be issued for the data recorder), the host platform still issues the test task for other data recorders associated with the same test task (at this time, although the test task has been issued to a part of the associated data recorder, the test task database of the host platform still marks the test task as not issued, but keeps a record of an actually issued condition), but locks the test task; the so-called locking test task may be bidirectional locking or unidirectional locking, and specifically, the test task may be locked at the host platform, for example, to prohibit or limit writing of test data to the test task item, or may be locked at the data logger, for example, to prohibit or limit the data logger from executing the test task until each data logger participates (including once participates) in the networking state and issues the test task, and then the test task is unlocked;
the unlocking action can be carried out in a linkage manner and is generally initiated by the host platform, when the test task reaches the unlocking condition, the host platform unlocks the test task in the test task database, simultaneously changes the task state mark of the test task database to be in progress, and then each data recorder needs to be connected with the host platform again to send an unlocking instruction to the data recorder by the host platform so as to realize task unlocking at the data recorder; the unlocking action can also be performed in a semi-linkage manner, namely after the host platform unlocks the test task in the test task database, a user on site can acquire an unlocking code for the test task from the host platform through a certain interactive terminal, and the data recorder is configured to unlock the test task when the unlocking code is obtained; the unlocking action may also be performed independently, i.e., the user may manually unlock the test task at the data logger (the test task in the test task database cannot be manually unlocked) after determining that the test task meets the unlocking condition.
After the data recorder(s) acquires the test tasks, the data recorder(s) can be executed by a fourth user, the measurement probes are selected according to the test task content displayed on the data recorder(s), the data recorder(s) is carried to the site of the equipment to be tested, and the fourth user arranges the corresponding measurement probes at the corresponding points to be tested according to the relationship among the points to be tested, the data acquisition channels and the measurement probes displayed on the data recorder and connects the corresponding measurement probes with the corresponding data acquisition channels. And corresponding relations among the points to be tested, the data acquisition channels and the measuring probes, especially when the objects to be tested relate to a great number of the points to be tested, whether all the arrangement of the target of the established test task is achieved can be clearly determined (for example, when a plurality of data recorders participate in the test task, a user can obviously confirm that the arrangement is not completed after finishing the arrangement of one data recorder, and the problems of omission and the like can not occur).
After the arrangement of the data loggers and the measuring probes is completed, the following operations can be performed according to the number of the data loggers involved in the testing task: firstly, if the test task is provided with the test execution time, a fourth user mainly enables the data recorder to be in a power-on state and can execute other work off the field, and the data recorder can automatically enter a state of executing related test tasks after reaching the specified test execution time, so that the scheme is particularly effective for application scenes when the number of the data recorders participating in the same test task is more than or equal to two, and the problem of off-line synchronization among the data recorders is solved; if only one data recorder participating in the same test task exists, the test execution time in the test task can be empty, and if the test execution time is empty, the fourth user can leave after the test task is started.
The data recorder executes the process of collecting and recording test data according to the test task, which has been described in the first specific embodiment and the second specific embodiment, and reference may be made to the first specific embodiment and the second specific embodiment, and general knowledge in the prior art is combined, and details are not described here.
In the embodiment, a test system data structure with two modes of online monitoring and offline testing is designed in consideration of a complex application scene in the test data acquisition process.
The host platform stores host test data corresponding to a specific test task, the data recorder stores recorder test data, and when the host platform and the data recorder are connected, the host test data and the recorder test data are synchronous corresponding to the same part of a point to be tested.
Illustratively, when the host platform and the first data recorder establish a communication connection, a data synchronization command is generated (the data synchronization command may originate from the host platform, may originate from the first data recorder, may originate manually, or may originate automatically by the device), the data synchronization command is directed to a first test task, the first test task is stored in both the host platform and the first data recorder, the first test task includes a first data acquisition channel corresponding to a first point to be tested and a second data acquisition channel corresponding to a second point to be tested in the host platform, based on the data synchronization command, the first data recorder transmits the stored first recorder test data to the host platform, because the first data acquisition channel is located in the first data recorder and the second data acquisition channel is located in the second data recorder, the first recorder test data includes a data identifier of the first data acquisition channel, after the host platform acquires the first recorder test data, the first recorder test data is processed according to the first test task content stored in the host platform, so that the first recorder test data is stored at the position corresponding to the first point to be tested, and the synchronization of the host test data and the first recorder test data at the first point to be tested is realized.
Subsequently, when the host platform and the second data recorder establish communication connection, a data synchronization command is generated, the data synchronization command is directed to a first test task, the first test task is stored in both the host platform and the second data logger, based on the data synchronization command, the second data logger transfers the stored second logger test data to the host platform, because the second data acquisition channel is positioned in the second data recorder, the test data of the second data recorder comprises the data identification of the second data acquisition channel, after the host platform acquires the test data of the second data recorder, and processing the first test task content according to the first test task content stored in the host platform, so that the second recorder test data is stored at a position corresponding to the second point to be tested, and the synchronization of the host test data and the second recorder test data at the second point to be tested is realized.
And then, when the equipment to be tested needs to be analyzed, calibrated or evaluated, the host platform simultaneously calls the test data corresponding to the first point to be tested and the second point to be tested from the host test data to be combined and processed and/or displayed, so that the reliable combination of the data of different data recorders on the host platform is realized.
The technical solution of the present embodiment is further improved, and the following improvement technical solution is also available.
For the process from the offline test to the online test, the inventor finds that it is practical to implement the foregoing technical solution by performing as few and easy operations as possible to transfer valid test data, which may significantly improve the user experience, and at the same time, there is a certain degree of priority difference in the valid test data, and the user may be more urgent to see some information and allow the user to view other information in a looser time, so it is necessary to perform some differences on the test data, so that when obtaining the test data, invalid/low-value test data is not obtained as much as possible, valid test data is obtained as completely as possible, and only the desired data of the user is shown to the user in the first time and prominently as much as possible.
The data logger classifies the test task stored therein, and in particular, if the data logger does not record execution of the test task and test data, then marks the test task as not executed, if the data logger stores execution records/test data associated with the test task and the data logger is currently executing the test task, then marks the test task as executing, if the data logger stores execution records/test data associated with the test task and the data logger is not currently executing the test task, then marks the test task as executed.
For the test task generated on the host platform, if the test task is associated with the data recorder, the test task database located on the host platform and the test task record located on the data recorder have the following correspondence: the test task database marks the test task as not issued, and the data recorder does not have the test task; the test task database marks the test task as not issued, the test task is arranged in the data recorder, and the state mark of the test task is locked; the test task database marks the test task as being in progress, the test task is arranged in the data recorder, and the state of the test task is marked as not being executed; the test task database marks the test task as being in progress, the test task is arranged in the data recorder, and the state of the test task is marked as being in progress; the test task database marks the test task as being in progress, the test task is arranged in the data recorder, and the state of the test task is marked as being executed; the test task database marks the test task as completed, the test task is arranged in the data recorder, and the state of the test task is marked as executed.
One of the improvement schemes is that based on the corresponding relation of the test tasks at different positions, when the host platform and the data recorder establish communication connection and the communication connection action triggers, the host platform acquires and determines the characteristic information of the data recorder connected to the host platform, acquires the test task associated with the data recorder from the test task database according to the characteristic information of the data recorder, and selects to execute operation according to the state mark of the test task in the test task database.
Specifically, if the test task is marked as not issued in the test task database, the test task is immediately issued to the data recorder, the test task is selectively executed according to the mark of the test task in the test task database after the test task is issued, if the status mark in the test task database becomes ongoing after the test task is issued, the test task is unlocked by the data recorder instruction, and if the status mark in the test task database is still not issued after the test task is issued, the test task is locked by the data recorder instruction.
Specifically, if the test task is marked as ongoing in the test task database, the existing test data sequence information of the test task is called from the test task database, and the maximum sequence of the existing test data is determined (initialized, the sequence of the existing test data is 0, corresponding to the test data which is not obtained yet, each sequence obtains one test data, and the sequence value is + 1); the host platform sends a test data reading request to the data recorder, wherein the content of the test data reading request comprises the characteristic information of the test task and the maximum sequence of the existing test data;
the data recorder acquires a test data reading request, determines a test task to be read according to the request, acquires the current state (unexecuted, executing and executed) of the test task in the data recorder, and generates a feedback data packet according to the current state; if the test task is in the unexecuted state, the feedback data comprises the current state information of the test task in the data recorder; if the test task is in an executing state, the feedback data packet comprises the current state information of the test task in the data recorder, the test data which is stored in the data recorder and has a sequence larger than the maximum sequence of the existing test data, and the sequence information of the test data in the packet; if the test task is in an executed state, the feedback data packet comprises the current state information of the test task in the data recorder, and the test data which is stored in the data recorder and has a sequence greater than the maximum sequence of the existing test data is stored;
the host platform acquires and processes the feedback data packet; if the feedback data packet is given, the test task is in an unexecuted state in the data recorder, and the host platform keeps the data of the test task in the test task database unchanged; if the feedback data packet is given, the test task is in an executing state in the data recorder, further extracting the test data and the sequence information in the feedback data packet, and correspondingly storing the test data and the sequence information in a test task database; if the feedback data packet is given, the test task is in an executed state in the data recorder, further extracting the test data in the feedback data packet, judging the coverage relation between the test data in the feedback data packet and the to-be-tested points contained in the test task, if the test data in the feedback data packet completely covers the to-be-tested points contained in the test task, correspondingly storing the test data in the feedback data packet in a test task database, simultaneously changing the state mark of the test task in the test task data into a finished state, if the test data in the feedback data packet cannot completely cover the to-be-tested points contained in the test task, correspondingly storing the test data in the feedback data packet in the test task database, and simultaneously modifying the existing test data corresponding to the related to-be-tested points into a system maximum value.
Specifically, if the test task is marked as completed in the test task database, an online identifier is added to the test task, when a user views the test task through the interactive terminal, the online identifier is displayed in a manner of color, image-text marking and the like in a distinguishing manner from other test tasks, the user does not actively operate and control the online identifier, and the host platform does not initiate a test data reading request again for the completed test task.
The second improvement scheme can be implemented in combination with or by selecting one of the improvement schemes, based on the corresponding relationship of the test tasks located at different positions, when the host platform and the data recorder establish communication connection and are triggered by the communication connection action, the data recorder judges the association relationship between the stored test tasks and the host platform, if at least one test task is associated with the host platform (from the host platform), the state identification of the relevant test task is further judged and processed, and an upload data packet is generated according to the judgment and processing.
Specifically, if the status identifier of the test task is not executed, the upload data packet includes the feature information and the status information (not executed) of the test task; the host platform is configured to sequentially read and process the test tasks, firstly, the test tasks needing to be processed are determined according to the test task characteristic information in the uploaded data packet, then, next action is taken according to the state information, and if the state information corresponds to non-execution, the subsequent processing of the test tasks is stopped.
Specifically, if the status identifier of the test task is in execution, the maximum sequence of the uploaded test data of the test task is called (initialized, the maximum sequence of the uploaded test data is 0, corresponding to the test data which is never uploaded, then one test data is uploaded in each sequence, and the sequence value is +1), the test data which is not uploaded is determined according to the maximum sequence and the current sequence of the test data, and the uploaded data packet comprises the characteristic information, the status information (in execution), all the test data which is not uploaded and the sequence information of the test data; the host platform is configured to sequentially read and process, firstly, a test task needing to be processed is determined according to test task characteristic information in an uploaded data packet, then, next action is taken according to state information, if the state information corresponds to being executed, all un-uploaded test data are read and correspondingly stored in a test task database, meanwhile, one test data with the largest corresponding sequence in all the un-uploaded test data is extracted and copied and stored in a current test data area (when a user logs in the host platform through an interactive terminal, the host platform sends data in the current test data area to the interactive terminal and displays the data), and then, sequence information is read and correspondingly stored in the test task database.
Specifically, if the status identifier of the test task is executed, the maximum sequence of the uploaded test data of the test task is called (initialized, the maximum sequence of the uploaded test data is 0, corresponding to the test data which is never uploaded, then one test data is uploaded in each sequence, the sequence value is +1), the test data which is not uploaded is determined according to the maximum sequence and the actual maximum sequence of the test data, the uploaded data packet comprises the characteristic information, the status information (executed) and all the test data which are not uploaded, and then the maximum sequence of the uploaded test data is updated; the host platform is configured to sequentially read and process, firstly, a test task needing to be processed is determined according to the test task characteristic information in the uploaded data packet, then, next action is taken according to the state information, if the state information corresponds to executed state, all un-uploaded test data are read and correspondingly stored in a test task database; it should be noted that, if the maximum sequence of the uploaded test data is the same as the actual maximum sequence of the test data, which is equivalent to that all the test data has been uploaded through the host platform, the upload data packet still includes the placeholder string corresponding to the non-uploaded test data, except that the portion corresponding to the actual non-uploaded test data is empty.
The fourth embodiment is used to form the test system in the first embodiment, the second embodiment and the third embodiment, and the present embodiment provides a test host and a data logger matched with the test system.
As shown in fig. 7, the test host includes a processing module 320, a first communication module 311, a second communication module 312, an interaction module 330, and a power module 340, the processing module 320 is electrically connected to the first communication module 311, the second communication module 312, the interaction module 330, and the power module 340, the processing module 320 includes a processing element with processing capability and a storage element with storage capability, the first communication module 311 is adapted to a connection interface on the data recorder, the second communication module 312 is a bluetooth communication module, and the test host can be networked with other devices through the second communication module 312.
In the power-on state, a command signal is generated based on a touch of a user on the interaction module 330, the command signal is transmitted to the processing module 320, the processing module 320 generates a display signal based on a preset signal (and the command signal, if any), the display signal is transmitted to the interaction module 330, and the interaction module 330 displays specific information, which may include the following contents and steps.
Step one, the processing module 320 sends a display signal to the interaction module 330, so that the interaction module 330 shows a task panel, and the task panel includes a new test task option and a task list option.
Step two, the user selects a newly-built test task option, enters a newly-built test task interface, the processing module 320 and the interaction module 330 have a series of mutual feedback processes under the newly-built test task interface, specifically, the processing module 320 sends a display signal to the interaction module 330, the display signal can enable the interaction module 330 to display input guidance contents such as information to be input (or options to be confirmed), according to the input guidance contents shown by the interaction module 330, the user clicks a corresponding area of the interaction module 330 to generate an instruction signal, the content of the instruction signal includes one or more of various information related to the newly-built test task, such as newly-built information of the test task, information of an object to be tested, selection information of a test rule, and the like, based on the instruction signal generated by the interaction module 330, the processing module 320 can continue to feed back other input guidance contents, the above process of mutual feedback continues for one or more interfaces until step three is entered.
Step three, based on the process of step two, the processing module 320 has created a new test task and obtained a plurality of information associated with the test task, and based on the information (at least including information of the object to be tested and information of the test rule) and the selection or input of the user, the processing module 320 generates or determines information of the point to be tested of the test task and corresponding relationship information of the point to be tested and the data recorder/data acquisition channel/measurement probe. Specifically, step three may include the following subdivision steps.
S1.1, the processing module 320 is preset to design the point setting interface to be measured, so that the point setting interface to be measured includes a point information area to be measured located in a first display area (position of the first display area is specific) of the interaction module 330 during display, and a data recorder information area located in a second display area (position of the second display area is specific and is not overlapped with the first display area) of the interaction module 330 during display.
S1.2, linked with the process of the first step, after the processing module 320 acquires the relevant information, it sends a display signal to the interaction module 330, so that the content shown by the interaction module 330 jumps to the point-to-be-measured setting interface, and the process goes to S2.
S2.1, when the jump action of S1.2 occurs, the processing module 320 is configured to extract the relevant information of the object to be tested and the relevant information of the test rule from the relevant information acquired in the first step, and generate information of the point to be tested, wherein the information of the point to be tested comprises type information (temperature, pressure, humidity and the like), quantity information and a position map of the point to be tested; specifically, in S2.1, the processing module 320 may determine what kind or types of points to be measured are needed, how many of each type of points to be measured are, whether the points to be measured are arranged two-dimensionally or three-dimensionally (thereby generating a position map, at this time, no points to be measured are marked in the position map, that is, the position information of each point to be measured is in a pending state).
S2.2, when the jump action of the S1.2 occurs, the processing module 320 is configured to acquire information of a currently available data recorder, where the currently available situation includes information of the data recorder which is stored in the processing module 320 and marked as available, and information of the data recorder of which the first communication module 311 is establishing a communication connection, where the information of the data recorder includes information of a data acquisition channel located in the data recorder, information of a measurement probe of which the relevant data acquisition channel establishes a communication connection, characteristic information of the data recorder, and the like, and the processing module 320 sorts the data acquisition channels.
S2.3, the processing module 320 generates a display signal based on the S2.1 and S2.2 and a preset point setting interface to be measured, and sends the display signal to the interaction module 330, so that the interaction module 330 shows the point information to be measured obtained in the S2.1 in a first display area, and the interaction module 330 shows the information of the available data recorder obtained in the S2.2 in a second display area.
S3.1, setting an interface of the point to be measured shown in the interaction module 330 based on the result of S2.3, if a user inputs or selects the interface on the interaction module 330, the interaction module 330 generates an instruction signal, the processing module 320 acquires the instruction signal and judges according to the occurrence position of the instruction signal, if the instruction signal occurs in the first display area, the step enters S3.2, if the instruction signal occurs in the second display area, the step enters S3.6, and if the instruction signal occurs in other positions except the first display area and the second display area, the step enters S3.8.
And S3.2, if the instruction signal occurs in the area where the position map is located, entering S3.3, if the instruction signal occurs in the area where the type of the point to be measured is located, generating a display signal by the processing module 320 and sending the display signal to the interaction module 330, so that the interaction module 330 displays the corresponding relationship (detailed information) between the point to be measured and the corresponding relationship between the point to be measured and the data recorder, the data acquisition channel and the measurement probe, and if the instruction signal occurs in the area where the position map is located, displaying all the points to be measured and the corresponding relationship between the points to be measured and the data recorder, the data acquisition channel and the measurement probe (more detailed condition).
S3.3, according to the position of the instruction signal, the processing module 320 determines the arrangement position of the point to be measured corresponding to the position, judges whether the arrangement position has the point to be measured arranged and/or can continue arranging the point to be measured, if there is no point to be measured arranged at the arrangement position and position information needs to be determined, then the process enters S3.4, if there is no point to be measured which needs to be determined and the type of the point to be measured which needs to be determined is different from that of the point to be measured arranged at the arrangement position, then the process enters S3.4, if there is no point to be measured which needs to be determined and the type of the point to be measured which needs to be determined is the same as that of the point to be arranged at the arrangement position, then the process enters S3.5, if all the points to be measured have been determined and the points to be arranged at the arrangement position, then the processing module 320 generates a feedback signal and sends the feedback signal to the interaction module 330, let the interaction module 330 show "no point to be measured configurable" or similar cues.
And S3.4, sequencing the to-be-measured points of which the positions are not determined, determining the position of the command signal as the arrangement position of the first to-be-measured point in the sequence, and returning to S3.1.
S3.5, acquiring the point to be measured corresponding to the arrangement position (executed by the processing module 320), and judging whether the corresponding relation between the relevant point to be measured and the data acquisition channel is established; if there are a plurality of points to be measured which have not yet been associated with the data acquisition channel, determining that the points to be measured are quasi-corresponding points (if there are a plurality of points to be measured which have not yet been associated with the data acquisition channel, determining the most ordered one as the quasi-corresponding point to be measured), (executed by the processing module 320), obtaining a data acquisition channel list which has not yet been associated with the points to be measured (if this step is already performed in other processes, it may not be performed), judging and extracting the data acquisition channel in the list which matches the type of the points to be measured as an available data acquisition channel, ordering the available data acquisition channel (if an existing data acquisition channel ordering scheme is adopted, the existing ordering scheme can be directly adopted without repeated ordering), using the most ordered one as the quasi-corresponding data acquisition channel, establishing the corresponding relationship between the points to be measured and the quasi-corresponding data acquisition channels, returning to S3.1; if the corresponding relations between the points to be measured at the arrangement position and the data acquisition channel are established, the corresponding relations (including the corresponding relations between the points to be measured and the data recorder, between the points to be measured and the data acquisition channel, and between the points to be measured and the measuring probe, if the corresponding relations actually exist) between the points to be measured at the arrangement position and the data acquisition channel are cancelled, and the step returns to S3.1.
S3.6, if the command signal occurs in the area where the data acquisition channel information is located, entering S3.7; if the instruction signal occurs in an area outside the data acquisition channel information, the corresponding relation conditions of all the data acquisition channels are displayed, including the corresponding relation (determined) between the data acquisition channels and the data recorder, the corresponding relation between the data acquisition channels and the measuring probe (which may exist, if relevant setting is already performed, or the measuring probe and the data acquisition channels actually establish connection and are read to the connection relation), and the corresponding relation between the data acquisition channels and the points to be measured (which may exist, if relevant setting is already performed).
S3.7, determining the selected data acquisition channel according to the occurrence position of the instruction signal, judging whether the data acquisition channel has a corresponding relation with the point to be measured, if so, canceling the corresponding relation, if not, entering an editing interface of the data acquisition channel, wherein the editing interface allows a user to adjust the available state of the data acquisition channel, allocate the point to be measured to the data acquisition channel, adjust the corresponding relation between the data acquisition channel and the measuring probe (establish or cancel the corresponding relation), and then returning to S3.1.
S3.8, if the instruction signal points to the 'completion/confirmation' area of the point setting interface to be measured, verifying whether all the points to be measured have corresponding data acquisition channels (executed by the processing module 320), if the verification is passed, entering S4.1, if the verification is not passed, confirming the points to be measured which are not established and have corresponding relation with the data acquisition channels, and sending a display signal to the interaction module 330, so that the interaction module 330 prompts a user, and returning to S3.1; if the command signal is directed to a region other than "done/confirmed," the processing module 320 may not react to the command signal (return directly to S3.1). S4.1, checking whether the data recorder related to the test task (i.e. the data acquisition channel of the data recorder and the point to be tested have a corresponding relationship in the test task) is connected to the first communication module 311, and according to the feedback of the first communication module 311, if the data recorder related to the test task is connected to the first communication module 311, entering S4.2, and if the data recorder related to the test task is not connected to the first communication module 311, entering S4.3.
S4.2, the processing module 320 reminds the user whether to issue the test task through the display signal sent to the interaction module 330, when the user confirms to issue, the processing module 320 packages the relevant data of the test task (it should be noted that the packaged content is required to be all data of the test task, but should generally include the basic information of the test task and the specific information of the relevant data recorder, so that the data recorder can confirm the whole work content of the test task and also confirm the work content actually required to be executed in the test task itself), sends the packaged data to the first communication module 311, and obtains the sending success feedback signal of the first communication module 311 (the feedback signal may be from the data recorder, and the signal sent by the data recorder after receiving the test task to confirm that the test task has been received may also be from the first communication module 311 itself, the first communication module 311 feeds back the outgoing data after the outgoing data is successful, and does not verify whether the recipient normally receives the test task), the related information of the test task is saved, the third step is completed, and the first step is returned.
And S4.3, storing the relevant information of the test task, completing the third step and returning to the first step.
Step four, a user selects a task list option, enters a task list interface, the processing module 320 extracts basic information of the test tasks stored in the processing module to generate a display signal, and the display signal is transmitted to the interaction module 330, so that the test tasks stored in the processing module 320 are shown in the task list interface (when the number of the test tasks is large, the task list interface is allowed to have the conditions of page turning and the like); based on the working state of the test task, the processing module 320 may perform several operations in response to the instruction signal of the interaction module 330.
If the working state of the test task is not issued, the interactive module 330 shows the option of issuing the test task (or the option of issuing the test task is in a selectable state), at this time, if the user selects to issue the test task at the interactive module 330, an instruction signal is generated, the processing module 320 acquires information of the data recorder in an online state from the first communication module 311 according to the instruction signal (the online state refers to the state where the data recorder and the first communication module 311 are connected), if the data recorder related to the test task is in the online state, the processing module 320 packs the test task and issues the packed data to the first communication module 311, and sends a prompt display signal indicating successful/unsuccessful issuing to the interactive module 330 according to the feedback of the first communication module 311, if the data recorder in the online state is not related to the test task when issuing the test task, the processing module 320 sends a non-issue prompt display signal to the interaction module 330.
If the working state of the test task is ongoing or completed, the interaction module 330 shows an option to view the test data (or the option to view the test data is in a selectable state), at this time, if the user selects to view the test data at the interaction module 330, an instruction signal is generated, the processing module 320 retrieves the test data stored in the processing module 320 and related to the test task according to the instruction signal, and generates a display signal according to a preset display mode (the display module is adjustable/configurable), and the interaction module 330 also shows all or part of the test data in a certain display format based on the display signal (even if there is no test data, it needs to show the test data in the related display format, and the content of the shown actual data is allowed to be empty).
If the working state of the test task is in progress or completed, the interaction module 330 shows an option for updating the test data (or the option for updating the test data is in a selectable state), at this time, if the user selects to update the test data in the interaction module 330, an instruction signal is generated, and the processing module 320 acquires information of the data recorder in an online state from the first communication module 311 according to the instruction signal; if the data recorder related to the test task is in an online state, the processing module 320 generates a test data reading request and sends the test data reading request to the first communication module 311, the test data reading request points to the test task, when the first communication module 311 feeds back test data (the middle process includes that the test data reading request reaches the data recorder through the first communication module 311, the data recorder packages and sends the test data according to the test data reading request, and the test data reaches the first communication module 311), the processing module 320 processes the test data obtained by feedback, and the processing module 320 sends a display signal to the interaction module 330 and shows that the update is completed; if none of the data loggers associated with the test task are online (both are offline), then processing module 320 sends a display signal to interaction module 330 and shows "cannot be updated".
It should be noted that, by default, in the task list interface, if a specific test task is not selected, when the user selects to update the test data at the interaction module 330, an instruction signal is generated, the processing module 320 acquires information of the data recorder in the online state from the first communication module 311 according to the instruction signal, and searches whether there is a test task in the online state (i.e. at least one data recorder associated with the test task is in the online state) in the test tasks stored in the processing module 320 according to the information of the data recorder in the online state, if so, the processing module 320 generates a test data read request and sends the test data read request to the first communication module 311, where the test data read request refers to all the associated test tasks in the online state, when the first communication module 311 feeds back the test data, the data recorder reads and processes the test data in the data packet according to the test task corresponding to the test data according to the preset data (the processing process includes data synchronization and storage), and after the processing is completed, the processing module 320 sends a display signal to the interaction module 330 and shows that the updating is completed; if there is no test task in the online state, or if the test tasks in the online state are not in the down state, the processing module 320 sends a display signal to the interaction module 330 and shows "update impossible".
In this embodiment, the processing module 320 is preset to set a data format of the specific test data received from the first communication module 311, specifically, the data format of the test data includes: dividing test data into a test task characteristic part and an actual measurement data part, wherein each part of data adopts specific characters as part of initial characters and end characters, and for the actual measurement data part, the specific characters are used as separators between test data of different data acquisition channels, and the test task characteristic part at least comprises characteristic information (used for distinguishing different test tasks) of the test task and state information of the test task; it should be noted that unnecessary test task information may or may not be included in the test task feature part.
When the first communication module 311 acquires the test data, the test data is transmitted to the processing module 320, and the processing module 320 determines a data source (from which data recorder) according to the feedback of the first communication module 311 and reads the test data according to the data format; comparing the test tasks stored in the processing module 320 according to the feature information of the test tasks in the test data to determine the test task corresponding to the test data; the processing module 320 determines the data acquisition channel and the point to be tested corresponding to the measured data portion of the test data according to the data source and the stored related information of the test task (the related information at least includes which data recorders participate in the test task and the corresponding relationship between the points to be tested, the data acquisition channel and the data recorders), reads the measured data portion of the test data one by one according to the determined corresponding relationship between the measured data portion and the points to be tested, and correspondingly stores the read test data according to the corresponding relationship between the measured data portion and the points to be tested. As shown in fig. 8, the data logger, which may also be referred to as a data collector, a data concentrator, a data inspector, includes a processor 420, a communicator 410, an electrical measurement board 431, an electrical measurement interface 432, a built-in power supply 440, and a display screen 450, where the processor 420 is connected to the communicator 410, the electrical measurement board 431, the display screen 450, and the built-in power supply 440, respectively, the electrical measurement board 431 is connected to the electrical measurement interface 432, the electrical measurement interface 432 is used to connect a measurement probe, and the communicator 410 is used to establish a connection with the first communication module 311 of the test host; the communicator 410 and the first communication module 311 may be USB connection terminals adapted to each other, and more preferably, the built-in power supply 440 is a rechargeable power supply, if so, the connection between the communicator 410 and the first communication module 311 may be not only a communication connection but also a power distribution connection (other external charging devices may also be connected to the communicator 410 through the USB connection terminal to charge the data recorder), and the communicator 410 and the first communication module 311 may also be connection terminals adapted to only communicate (not limited to wired or wireless form).
The processor 420 is configured such that when the communicator 410 acquires the test task, the test task is transferred to the processor 420, and the processor 420 stores the test task.
The trigger logic of the processor 420 for the test task includes that when a signal triggering the test task is obtained (the trigger signal may be a manual instruction, or a preset time or other similar instructions), the processor 420 determines whether there is a currently executed test task, if so, the triggering of the test task is rejected, if there is no currently executed test task, the test task is started to be executed according to the signal, further, if two or more test tasks are simultaneously triggered, it is determined whether the simultaneously triggered test tasks have completely the same points to be tested, if so, the simultaneous triggering of multiple test tasks is allowed, if there are different points to be tested, the manually started test task is preferentially executed, and if there is no possibility of distinguishing the priority, any test task is not started.
After determining to start executing a specific test task, the processor 420 retrieves information of a data acquisition channel in the test task, determines enabling and working information of the data acquisition channel of the data logger, retrieves measurement configuration information and recording configuration information in the test task (specific contents of the measurement configuration information and the recording configuration information may refer to the foregoing embodiments), controls the electrical measurement board 431 according to the information of the data acquisition channel, the measurement configuration information and the recording configuration information in the test task, electrically connects and transmits an analog signal representing a physical quantity value of the measurement probe to the electrical measurement interface 432, and then reaches the electrical measurement board 431 through the electrical measurement interface 432, and the electrical measurement board 431 processes and converts the electrical signal into a digital signal representing the physical quantity value, and the digital signal is acquired by the processor 420 to become test data.
The processor 420 stores the test data and the test task in association, and when the test data needs to be uploaded (the instruction may be from the preset of the processor 420 or from the communicator 410), the processor 420 packages the test data and the feature information of the test task to make the test data and the test task strongly associated with each other, and uploads the test data strongly associated with the test task to the communicator 410, and then the test data is transmitted to the test host through the communicator 410. It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. For example, in practical applications, the functions of the above modules may be divided into different functional structures different from the embodiments of the present invention, or several functional modules in the embodiments of the present invention may be combined and decomposed into different functional structures. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, unless explicitly stated or otherwise clear to a person skilled in the art from the relevant description, the word "comprising" does not exclude other elements or steps, the word "a" or "an" does not exclude a plurality, the word "a" or "an" does not exclude a limited number or a selected order, and a plurality of the elements or means recited in the system claims may also be implemented by software or hardware means from a single element or means.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (16)
1. A test system for testing an object to be tested with a plurality of points to be tested comprises a test host, a plurality of data recorders and a plurality of measuring probes, wherein the test host comprises at least one communication module for connecting the data recorders, the data recorders comprise a plurality of data acquisition channels for connecting the measuring probes, and the measuring probes are used for measuring physical quantities to be tested of the points to be tested,
the test host is configured to generate a test task based on an object to be tested and a preset test rule, a corresponding relation between the points to be tested and the data recorders is established in the test task, each point to be tested is enabled to have the unique corresponding data recorder, and the test host issues the test task to the data recorders related to the test task;
the data recorder is configured to perform test data acquisition based on a test task, wherein the test task is originated from the test host and comprises a data acquisition channel and corresponding information of a point to be tested;
based on the same test task, the data recorder uploads test data based on the test task, and the test host reads and processes the test data based on the test task.
2. The test system of claim 1, wherein the number of points to be tested corresponding to the data logger does not exceed the number of data acquisition channels of the data logger.
3. The test system of claim 2, wherein the test tasks include object information to be tested, measurement configuration information, and point correspondence information to be tested, wherein the object information to be tested is generated based on the object to be tested, wherein the measurement configuration information is generated based on the object to be tested and the test rules, wherein the point correspondence information to be tested is generated based on the object to be tested and an execution object, wherein the execution object comprises a combination of one or more of the data logger, the data collection channel, and the measurement probe.
4. The test system according to claim 3, wherein the characteristic information of the point to be tested and the characteristic information of the data acquisition channel are acquired, if the characteristic information of the point to be tested and the characteristic information of the data acquisition channel are matched, the data acquisition channel is determined to be available for the point to be tested, the data volume of the point to be tested corresponding to the data recorder does not exceed the number of the available data acquisition channels in the data recorder, the characteristic information of the point to be tested comprises one or more of type, position and measuring range, and the characteristic information of the data acquisition channel comprises one or more of type and probe.
5. A test system according to claim 3 or 4, characterized in that a test task is configured,
the test host executes the test, establishes the corresponding relationship between the points to be tested and the data acquisition channels in the test task, so that each point to be tested has a unique corresponding data acquisition channel, and/or,
the test host executes to establish the corresponding relation between the point to be tested and the data recorder in the test task, the data recorder executes to establish the corresponding relation between the point to be tested and the data acquisition channel in the test task, and/or,
the test host executes the test, establishes the corresponding relation between the point to be tested and the measuring probe in the test task, and the data recorder executes the test task and determines the corresponding relation between the point to be tested and the data acquisition channel based on the corresponding relation between the measuring probe and the data acquisition channel.
6. The test system according to claim 2, wherein the test host stores host test data corresponding to a first test task, the first data logger stores first test data, and the host test data and the first test data correspond to portions of a same point to be tested are synchronized when the test host and the first data logger establish a connection.
7. The test system of claim 6, wherein all or a portion of the first test data is transferred from the first data logger to the test host if the first data logger is performing a first test task, as triggered by the establishment of a connection between the test host and the first data logger.
8. The test system of claim 7, wherein if a first data logger is performing a first test task, triggered by a disconnection between the test host and the first data logger:
the test host records sequence information of the acquired first test data, and when the test host establishes connection with the first data recorder, the test host controls the acquisition of the first test data according to the sequence information; or,
the first data recorder records the sequence information of the uploaded first test data, and when the test host and the first data recorder are connected, the first data recorder controls the uploading of the first test data according to the sequence information.
9. The test system of claim 6, wherein a second data logger stores second test data corresponding to different points to be tested, the host test data and the second test data corresponding to portions of the same points to be tested are synchronized when the test host and the second data logger are connected, the test host configured to generate the host test data by combining the first test data and the second test data according to the first test task.
10. A test host for constituting a test system according to any one of claims 1 to 9, comprising a processing module and a communication module for establishing a connection with a data logger, the processing module being connected to the communication module,
the processing module is configured to generate a test task based on an object to be tested and a preset test rule, and establish a corresponding relation between the points to be tested and the data recorders in the test task, so that each point to be tested has a unique corresponding data recorder; sending a test task to the communication module according to the corresponding relation between the connection information fed back by the communication module and the test task; and acquiring the test data from the communication module, determining the test task corresponding to the test data according to the test task information contained in the test data and the test task information stored by the processing module, and reading and processing the test data according to the corresponding test task.
11. The test host of claim 10, wherein the processing module is configured to obtain information of the data logger, and in the test task, the corresponding relationship between the external data logger and the point to be tested is established according to the information of the external data logger and the information of the point to be tested, so that the number of the points to be tested corresponding to a single data logger is less than the number of data acquisition channels of the data logger.
12. The test host of claim 11, wherein the processing module is configured to establish a correspondence between the points to be tested and the data acquisition channels in the test task, so that each point to be tested has a unique corresponding data acquisition channel.
13. The test host machine according to claim 10, further comprising an interaction module, wherein the interaction module is connected to the processing module, and during the process of setting the test task, the interaction module displays information of the point to be tested in a first display area and information of the data recorder in a second display area, and based on a setting instruction generated in the first display area and/or the second display area, the processing module establishes a corresponding relationship between the point to be tested and the data recorder in the test task.
14. The testing host machine according to claim 13, wherein the interaction module shows information of a point to be tested in a first display area, shows information of a data acquisition channel in a second display area, and based on a setting instruction generated in the first display area and/or the second display area, the processing module establishes a corresponding relationship between the point to be tested and the data acquisition channel in a testing task; and/or the presence of a gas in the gas,
the interaction module displays information of a point to be measured in a first display area, displays information of a measuring probe in a second display area, and the processing module establishes a corresponding relation between the point to be measured and the measuring probe in a test task based on a setting instruction generated in the first display area and/or the second display area.
15. The testing host of claim 10, wherein the processing module is configured to obtain currently connected data logger information from the communication module, and according to the currently connected data logger information, the processing module sends a data reading command to the communication module, wherein the data reading command is associated with all unfinished testing tasks that have been issued to the data logger.
16. A data recorder for forming a test system according to any one of claims 1 to 9, comprising a processor, a communicator and a plurality of data acquisition channels, wherein the processor is connected to the communicator and the data acquisition channels, respectively, and the communicator is used for connecting to the test host, wherein the processor is configured to obtain a plurality of test tasks from the communicator, determine a current test task and control the data acquisition channels to perform test data acquisition according to the current test task, store the test data and the test task in association, and upload the test data and the test task in association to the communicator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111668198.7A CN114218122A (en) | 2021-12-31 | 2021-12-31 | Test system, test host and data recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111668198.7A CN114218122A (en) | 2021-12-31 | 2021-12-31 | Test system, test host and data recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114218122A true CN114218122A (en) | 2022-03-22 |
Family
ID=80707450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111668198.7A Pending CN114218122A (en) | 2021-12-31 | 2021-12-31 | Test system, test host and data recorder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114218122A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116579023A (en) * | 2023-07-14 | 2023-08-11 | 武汉能钠智能装备技术股份有限公司四川省成都市分公司 | Test system and method of signal acquisition processor |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6124816A (en) * | 1998-06-02 | 2000-09-26 | Cirrus Logic, Inc. | One bit digital to analog converter with relaxed filtering requirements |
CN106327834A (en) * | 2016-08-31 | 2017-01-11 | 北京浩坤科技有限公司 | Multi-channel equipment and method for acquiring signals |
CN106404052A (en) * | 2016-08-26 | 2017-02-15 | 隆鑫通用动力股份有限公司 | Vehicle road test method and system |
CN113419965A (en) * | 2021-07-15 | 2021-09-21 | 中国银行股份有限公司 | Multi-browser compatibility testing system and method |
-
2021
- 2021-12-31 CN CN202111668198.7A patent/CN114218122A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6124816A (en) * | 1998-06-02 | 2000-09-26 | Cirrus Logic, Inc. | One bit digital to analog converter with relaxed filtering requirements |
CN106404052A (en) * | 2016-08-26 | 2017-02-15 | 隆鑫通用动力股份有限公司 | Vehicle road test method and system |
CN106327834A (en) * | 2016-08-31 | 2017-01-11 | 北京浩坤科技有限公司 | Multi-channel equipment and method for acquiring signals |
CN113419965A (en) * | 2021-07-15 | 2021-09-21 | 中国银行股份有限公司 | Multi-browser compatibility testing system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116579023A (en) * | 2023-07-14 | 2023-08-11 | 武汉能钠智能装备技术股份有限公司四川省成都市分公司 | Test system and method of signal acquisition processor |
CN116579023B (en) * | 2023-07-14 | 2023-11-17 | 武汉能钠智能装备技术股份有限公司四川省成都市分公司 | Test system and method of signal acquisition processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11843904B2 (en) | Automated combined display of measurement data | |
KR102018211B1 (en) | Methods, devices and servers for unlocking air conditioning units | |
KR101468309B1 (en) | The battery function testing system for the battery packs of mobile phones | |
KR101468314B1 (en) | The battery function testing system for the battery of Energy Storage System | |
CN104572370B (en) | For the system and method by test environment test controller | |
KR102513608B1 (en) | Smart inspection system for quality control of construction | |
JP7071563B1 (en) | Work record management system and work record management method | |
CN116989802B (en) | IDC machine room inspection plan configuration strategy method based on GIS and BIM models | |
CN114218122A (en) | Test system, test host and data recorder | |
CN109754148A (en) | Use the inspection workflow of Object identifying and other technologies | |
CN109656756A (en) | Multi-core CPU board adjustment method and device, mobile memory medium | |
CN110047164A (en) | Electromechanical equipment patrolling and checking management system | |
CN207882986U (en) | Electromechanical equipment patrolling and checking management system | |
CN108692429B (en) | Communication system for fresh air system and method for establishing communication system | |
JP5377183B2 (en) | Test system and test method for plant instrumentation | |
CN111459804A (en) | Node optimization method, device and storage medium in system test | |
CN112923967B (en) | Instrument calibration system supporting rapid assessment of instrument calibration uncertainty | |
US20210297882A1 (en) | Automated recognition of a device under test | |
CN112595957B (en) | Test system of circuit board of intelligence cabinet | |
CN109862511A (en) | Fence area monitoring method, device and computer readable storage medium | |
JP6621649B2 (en) | Information terminal and server | |
CN115166568A (en) | Remote magnitude transmission and tracing system and method for direct-current voltage source | |
CN117032835B (en) | Number making device and method for scene arrangement | |
CN107402346A (en) | circuit board testing system | |
CN116029623B (en) | Method, apparatus and storage medium for constructing check flow model |
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 |