CN116754952A - Test method, device and equipment based on modularized test unit - Google Patents

Test method, device and equipment based on modularized test unit Download PDF

Info

Publication number
CN116754952A
CN116754952A CN202310558037.5A CN202310558037A CN116754952A CN 116754952 A CN116754952 A CN 116754952A CN 202310558037 A CN202310558037 A CN 202310558037A CN 116754952 A CN116754952 A CN 116754952A
Authority
CN
China
Prior art keywords
test
modularized
unit
modular
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310558037.5A
Other languages
Chinese (zh)
Inventor
舒伟
董永平
董汉
陈超
单威翔
吴伟
王海清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Tsing Standard Automobile Technology Co ltd
Original Assignee
Suzhou Tsing Standard Automobile Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Tsing Standard Automobile Technology Co ltd filed Critical Suzhou Tsing Standard Automobile Technology Co ltd
Priority to CN202310558037.5A priority Critical patent/CN116754952A/en
Publication of CN116754952A publication Critical patent/CN116754952A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The embodiment of the specification provides a test method, a test device and test equipment based on a modularized test unit, which can be applied to the technical field of test systems. The method comprises the following steps: acquiring at least one target test item; determining a modularized test unit corresponding to the target test item; the modularized test unit is preconfigured with execution logic of a corresponding test function and interaction logic of corresponding test equipment; combining the individual modular test units to construct a test flow corresponding to the target test item; executing the test flow and acquiring corresponding test parameters; and outputting a corresponding test report by integrating the test parameters. The method is based on the execution logic of the test function configured by the modularized test unit, and meanwhile, the interaction with the test equipment is completed through the modularized test unit, so that the workload of a tester for writing the test program by himself is reduced, the tester can directly understand the construction steps of the test flow, and the test on the object to be tested can be completed quickly.

Description

Test method, device and equipment based on modularized test unit
Technical Field
The embodiment of the specification relates to the technical field of battery pack testing, in particular to a testing method, device and equipment based on a modularized testing unit.
Background
When testing corresponding objects to be tested, a corresponding test program needs to be constructed, and then the objects to be tested are tested by using a test instrument through execution logic in the test program. The test program is often developed for specific test hardware devices, so that the industrial personal computers of different test hardware devices are loaded with corresponding software test programs, and further the corresponding test flows are controlled and realized.
In practical application, after a developer of test equipment delivers a product to a test party, the test party often needs to learn the use of a test program according to the characteristics of the test equipment, and then, aiming at the requirements of different test projects, a corresponding test scheme is built by using the test program to finish the test. However, the current testing process is complicated, and the testing party is often required to have a deeper understanding of the functions, calling relationships and the like of the testing equipment, and under the condition that the current testing equipment is developed for customization and the circuit logics of different testing equipment are different, the testing party needs to pay a larger learning cost to master the software control corresponding to the testing equipment, which is obviously unfavorable for the application under the condition of changeable testing projects. Therefore, a technical solution that can help the tester simply and effectively complete the test is needed.
Disclosure of Invention
The embodiment of the specification aims to provide a test method, a test device and test equipment based on a modularized test unit, so as to solve the problem of how to help a tester simply and effectively complete a test.
In order to solve the above technical problems, an embodiment of the present disclosure provides a testing method based on a modular testing unit, including: acquiring at least one target test item; determining a modularized test unit corresponding to the target test item; the modularized test unit is preconfigured with execution logic of a corresponding test function and interaction logic of corresponding test equipment; combining the individual modular test units to construct a test flow corresponding to the target test item; executing the test flow and acquiring corresponding test parameters; and outputting a corresponding test report by integrating the test parameters.
In some embodiments, the determining the modular test unit corresponding to the target test item includes: displaying graphical identifiers corresponding to all the modularized test units; the graphical identifier is used for indicating functions of different modularized test units; receiving a selection operation corresponding to a specific graphical identifier; and determining the modularized test unit corresponding to each test action according to the selection operation.
Based on the above embodiment, the determining the modular test unit corresponding to the target test item includes: displaying graphical identifiers corresponding to all the modularized test units on a toolbar interface; accordingly, the combining each modular test unit to construct a test flow corresponding to a target test item includes: acquiring a drag instruction for moving a specific graphical identifier from a toolbar interface to a test interface; and adjusting the execution sequence of each modularized test unit based on the dragging instruction.
In some embodiments, the determining the modular test unit corresponding to the target test item includes: determining a work option of the target test item; the job option corresponds to at least one test action in a target test item; displaying at least one test device based on the job option; the at least one test device matches a test action in the job option; and configuring the corresponding modularized test unit according to the selection operation of the specific test equipment in the at least one test equipment.
In some embodiments, the executing the test procedure and obtaining the corresponding test parameters includes: outputting a corresponding test result identifier based on the execution status of each modularized test unit in the test flow; the test result identifier is used for indicating that the modularized test unit completes the test flow or the modularized test unit does not complete the test flow or the modularized test unit is not effectively connected with the corresponding test equipment.
In some embodiments, the executing the test procedure and obtaining the corresponding test parameters includes: transmitting corresponding control signals to corresponding functional modules and/or test instruments based on execution logic of the modularized test unit; and receiving the test parameters fed back by the functional module and/or the test instrument.
In some embodiments, the determining the modular test unit corresponding to the target test item includes: selecting a corresponding test template according to the test item; a plurality of modularized test units are configured in the test template based on a preset sequence; accordingly, the combining each modular test unit to construct a test flow corresponding to a target test item includes: and constructing a test flow corresponding to the target test item according to the test template.
Based on the above embodiment, before the implementation of the target test scheme based on the test template, the method further includes: displaying a parameter configuration interface of the test template; and adjusting parameters of the test template in the parameter configuration interface based on the test item.
In some embodiments, before the combining the individual modular test units to construct the test flow corresponding to the target test item, further comprises: and configuring parameters in each modularized test unit according to the test items.
In some embodiments, before the combining the individual modular test units to construct the test flow corresponding to the target test item, further comprises: performing a self-test operation for each modular test unit; the self-checking operation corresponds to a logic execution condition of the modular test unit and/or a communication connection condition with a corresponding test device and/or an operating condition of the corresponding test device.
In some embodiments, the executing the test procedure and obtaining the corresponding test parameters includes: before executing a corresponding modularized test unit in a test flow, executing self-checking operation on the modularized test unit; the self-checking operation corresponds to a logic execution condition of the modular test unit and/or a communication connection condition with a corresponding test device and/or an operating condition of the corresponding test device.
In some embodiments, the target test item comprises a test item for a battery pack.
The embodiment of the specification also provides a testing device based on a modularized testing unit, which comprises: the target test item acquisition module is used for acquiring at least one target test item; the modular test unit determining module is used for determining a modular test unit corresponding to the target test item; the modularized test unit is preconfigured with execution logic of a corresponding test function and interaction logic of corresponding test equipment; a test flow construction module for combining the modular test units to construct a test flow corresponding to the target test item; the test flow execution module is used for executing the test flow and acquiring corresponding test parameters; and the test report output module is used for outputting a corresponding test report by integrating the test parameters.
The embodiment of the specification also provides test equipment, which comprises an industrial personal computer, a test instrument and a functional module; the industrial personal computer is respectively connected with the test instrument and the functional module; the functional module executes a corresponding test function based on the corresponding circuit logic; the test instrument is used for connecting an object to be tested to realize test working conditions and/or obtain test parameters; the industrial personal computer is provided with corresponding computer programs/instructions; the industrial personal computer is used for executing the computer program/instruction to realize the testing method based on the modularized testing unit, and the testing of the object to be tested is completed through the functional module and/or the testing instrument.
The present description embodiments also provide a computer-readable storage medium having stored thereon a computer program/instruction that, when executed, implements the modular test unit-based test method described above.
According to the technical scheme provided by the embodiment of the specification, after the target test item is obtained, the testing method based on the modularized test unit can directly determine the corresponding modularized test unit according to the target test item, and corresponding execution logic and interaction logic are packaged through the modularized test unit, so that the workload of a tester for writing programs and carding test flow logic by himself is reduced. And then, by combining the modularized test units, a corresponding test flow can be constructed, the test flow is executed, and the obtained test parameters are integrated, so that a final test report can be output. Through the method, the execution logic for executing the specific test function is configured based on the form of the modularized test unit, meanwhile, the interaction with the test equipment can be completed through the modularized test unit, the workload of a tester for writing the test program by himself is reduced, the tester can directly understand the construction steps of the test flow conveniently, and therefore the test of the object to be tested can be completed quickly.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present description, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a modular test unit-based test method in an embodiment of the present disclosure;
fig. 2 is a block diagram of a test apparatus based on a modular test unit according to an embodiment of the present disclosure.
Detailed Description
The technical solutions of the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
In order to solve the above technical problems, an embodiment of the present disclosure provides a testing method based on a modular testing unit. The execution subject of the test method based on the modularized test unit is a computing device, and the computing device comprises but is not limited to an industrial personal computer, a PC (personal computer) and the like. As shown in fig. 1, the testing method based on the modular test unit includes the following specific implementation steps.
S110: at least one target test item is acquired.
The target test item may be a specific item that needs to be tested for the object to be tested at this time. The target test item may be pre-set between building test scenarios. The specific target test item can be set by a tester by integrating the property of the object to be tested and the current test direction. For example, the object to be tested is a newly developed battery pack, the voltage and current range of the battery pack during operation and the temperature range of the battery pack in a stable operation state need to be determined, and the test voltage and current range, the measured temperature range and the like can be used as target test items. After the tester determines the target test item, the target test item may be entered into the computing device, and subsequent steps may be performed by the computing device based on the obtained target test item.
The target test item is a test item for an object to be tested. The object to be tested can be a new object to be tested according to a given process, or can be tested for newly developed objects, and the testing process may cover a new parameter testing range, increase or decrease steps in the process, or adjust the execution sequence of the process. Different test requirements are reflected as corresponding test items.
Specifically, in the embodiment of the present disclosure, the object to be tested is a device in the electrical field, and it may be necessary to access the object to be tested into the test circuit to obtain relevant electrical parameters for testing, or to detect the object to be tested by using a corresponding electronic measuring instrument, for example, to use a multimeter to obtain various parameters of the object to be tested in the circuit.
In some embodiments, the object to be tested may be a battery pack. When testing physical electronic devices such as a battery pack, the corresponding testing instrument is required to be accessed into the circuit, so that the logic of the testing process and the access condition of the logic circuit and the instrument including the battery pack are required to be considered when testing the battery pack waiting for the tested object.
S120: determining a modularized test unit corresponding to the target test item; the modular test unit is preconfigured with execution logic corresponding to the test function and interaction logic with corresponding test equipment.
After all the test actions are determined, the modularized test units corresponding to the test actions can be selected. In the embodiment of the present specification, in order to reduce the time taken for a tester to relearn and grasp the detailed circuit logic of the test apparatus, the quick operation completes the corresponding test action, and the modular test unit may be provided in advance on a computing apparatus such as an industrial control computer of the test apparatus.
The modular test unit is preconfigured with execution logic corresponding to the corresponding test action and interaction logic between the modular test unit and the corresponding test equipment. The execution logic may be a logic execution flow for completing a corresponding test action, may be embodied on execution of a software code, may also be embodied on control for a logic circuit, for example, in order to implement a specific test action, the modular test unit may process corresponding parameters in sequence according to execution logic of the software code, may also communicate with an associated logic circuit, and control all or part of the logic circuit to work to complete execution of a corresponding operation. The interaction logic with the corresponding test equipment can be embodied in that interaction control is performed on different test equipment for completing specific test actions, for example, the power supply is controlled to supply power to the object to be tested firstly for completing voltage test, and then the universal meter is controlled to acquire the voltage of the object to be tested.
Because the modularized test unit integrates logic for realizing corresponding test actions in advance, when the test actions to be realized are determined, the corresponding modularized test unit is directly selected to realize the test actions, so that the complex work of self programming is omitted, and corresponding writing errors are reduced.
In some embodiments, each modular test unit may correspond to a single test action. And when a single test action is required to be executed, the corresponding modularized test unit is directly called, and if a plurality of test actions are required for the test item, the corresponding test item can be completed by combining the modularized test units.
In some embodiments, determining the modular test unit corresponding to the target test item may be determining the test action included in the execution of the target test item, and selecting the corresponding modular test unit according to the test action. The test action can be a predetermined action executed for the test object, can be simply to connect or disconnect a loop, can be to adjust the state and the setting environment of the object to be tested, and can be to obtain the related parameters of the object to be tested. Specific test actions can be set according to requirements in practical application, and are not described herein.
According to the content contained in the target test item, the test action corresponding to the target test item can be determined and executed, and then the modularized test unit corresponding to the target test item is determined. Specific target test items and test actions, and logical corresponding processes between the test actions and the modularized test units can be set according to actual application requirements, and are not described herein.
In some embodiments, the job option corresponding to the target test item may also be determined first. The job option may include a plurality of test actions in advance, and may correspond to a set of a plurality of test actions that are more commonly used in an actual test process. When a tester who is unfamiliar with the test system selects the modularized test units, if the corresponding modularized test units are sequentially selected according to the test actions, on one hand, more test actions may exist, the selection process is complicated, and on the other hand, the tester may not be familiar with each refined test action, and a selection error condition may occur. Therefore, the work options can be preset, the corresponding work options are determined based on the test actions contained in the target test items, and the determination process of the modularized test unit is further completed.
After the determination of the work option, at least one test device can be presented for the work option, which test device is matched to the test actions in the work option, i.e. by means of which corresponding test actions are realized. One test device may be corresponding to a certain test action, or a plurality of test actions may be corresponding to a certain test action, which is not limited. For at least one of the illustrated test devices, the tester may choose for the particular test device therein. Since the selected specific test equipment corresponds to the selected job option, the selected modular test unit can be determined in combination with the specific test equipment, the job option, and the correspondence relationship with the corresponding modular test unit.
Further, in some embodiments, a tester may select a corresponding test instrument based on test actions, such as measuring battery pack temperature, with the test instrument including a power source, a multimeter, and a temperature sensor to be utilized. After selecting one or more test instruments with which the test action is to be utilized, the test system may display candidate modular test units associated with the modular test units, i.e., units with which an interactive relationship exists with the test instruments. And then, according to the matching condition between the candidate modularized test units and the test instrument, namely the specific actions executed by the test instrument in the candidate modularized test units and the specific functions realized by the candidate modularized test units, selecting the corresponding modularized test units for completing the construction of the test scheme.
According to the embodiment, the related modularized test units can be positioned according to the instruments utilized by the scheme, so that testers can conveniently and effectively select the modularized test units according to the test contents, and the difficulty in constructing the test scheme is reduced.
In some embodiments, the modular test unit may be in the form of a graphical logo for ease of viewing. The graphical mark can directly indicate the function of the modularized test unit by using characters, and can also display corresponding graphics to intuitively indicate the corresponding function of the modularized test unit, for example, the power supply module can be provided with the mark pattern of the power supply. The specific design of the graphical mark can be adjusted according to the actual application requirement, and different modularized test units can be indicated and distinguished.
Accordingly, in the case where the modular test unit is an imaging identifier, a selection operation may be performed with respect to the imaging identifier. When the graphical identification is displayed on the interface, corresponding modularized test units can be selected through clicking, dragging and other selection operations, and the selected modularized test units are used for realizing the construction of a test scheme so as to finish the test of the object to be tested. Specific selection operations include, but are not limited to, clicking, dragging, etc., which are not limited.
Correspondingly, under the condition that the test action corresponds to the execution sequence, the selection operation can correspond to the corresponding execution sequence, and then the modular test unit can be built according to the sequence of the selection operation to construct a scheme with the corresponding execution sequence.
Based on the foregoing embodiments, in some specific examples, an execution total interface may be displayed on a screen of a corresponding computing device, where the execution total interface may include a toolbar interface through which graphical identifiers corresponding to all the modularized test units may be displayed. The execution total interface can also comprise a test scheme construction interface, and the toolbar interface and the test scheme construction interface can be displayed in the same interface. By dragging the corresponding modular test unit into the test solution construction interface, the construction of the test solution can be completed. In addition, each graphical identifier can be dragged in the test scheme construction interface to adjust the execution sequence of different modularized test units, and the execution sequence can be correspondingly reflected in the test scheme construction process. The specific interface presentation style and drag effect can be set according to practical situations, for example, a toolbar interface is set on the left side, and a test scheme construction interface is set in the middle part, which is not limited.
Since the modular test unit is mainly used for defining corresponding execution logic, even if corresponding execution parameters are configured on the modular test unit for different execution contents, the modular test unit may not be suitable for the requirements of different test projects. Therefore, each modular test unit can be correspondingly provided with a corresponding configuration interface, specific parameters of the modular test unit can be adjusted in the configuration interface, for example, parameters in each selected modular test unit can be configured according to specific requirements in a test item list, so that the parameters meet the requirements of the test.
By configuring parameters of the modularized test unit, the workload of the test scheme construction is reduced through the form of the modularized test unit, the modularized test unit can adapt to different requirements of the test, and the practical application effect of the modularized test unit is ensured.
In some embodiments, in order to enable the configuration and construction of the test scheme to be completed more quickly, corresponding test templates may be preset. And configuring a plurality of modularized test units based on a preset sequence in the test template, wherein the modularized test units are used for completing test actions with high use frequency in practical application. Because the realization of partial test action needs to combine a plurality of modularized test units and a test template is preset, the workload of combining a plurality of modularized test units can be saved, and a worker lacking enough operation experience can effectively complete the construction of a test scheme.
By using a specific example for explanation, assuming that the test action to be executed is to measure the working state temperature of the object to be tested, the corresponding test template may include a power supply unit, a working state detection unit, a temperature measurement unit and a power-off unit, and when the test scheme is constructed, the test action of measuring the temperature can be directly implemented according to the test template.
In addition, in practical applications, even though the test actions are the same, there may be differences in specific parameters referred to in the execution, for example, the same is used to measure the operating state temperature of the object to be tested, but the voltages applied to the object to be tested may be different. Thus, to accommodate this requirement, after the target test template is selected, the parameter configuration interface of the target test template may also be selected to be opened. The parameter configuration interface displays adjustable parameters, and the parameters of different modularized test units can be adjusted in the parameter configuration interface so as to meet the requirements of the test. For example, the adjustment of the corresponding parameters may be accomplished in the parameter configuration interface based on the content in the test item manifest. The parameters for adjustment displayed in the parameter configuration interface may be set according to the actual application requirements, which will not be described herein.
Through the design parameter configuration interface, the test scheme can be built quickly in a modularized mode, the module can be adjusted based on requirements, corresponding requirements of practical application are effectively met, and the test scheme can be built quickly and effectively.
In some embodiments, there may also be no corresponding test templates for the test action, but based on the experience of the tester, the test action is more often utilized during the test. For this case, in the case where the respective modular test units are combined to realize the corresponding test actions, the combined modular test units may be saved as a test template. The saved test templates may be invoked during a subsequent test. Under the condition that corresponding test templates can be saved, the number of the test templates can be enriched based on actual working experience, so that the test scheme construction process can be continuously perfected based on the propelling process, and the use experience of a test system is optimized.
Correspondingly, when the test template is stored, a corresponding mark can be given to the test template for indicating the specific operation of the test template implementation, so that the test template can be conveniently utilized subsequently. The identification can be the name of the test template or corresponding descriptive text, and is not limited to this.
In practical application, the test templates can be only limited to be stored in the current equipment and also can be stored in the corresponding cloud server, so that different test equipment can be directly called from the cloud server, reconfiguration for each test equipment is not needed, and convenience of the configuration process is ensured.
S130: the individual modular test units are combined to construct a test flow corresponding to the target test item.
After the modular test units are selected, a test flow corresponding to the target test item may be constructed by combining the individual modular test units. Because a certain logic sequence requirement exists for the execution of the modularized test units in the test flow, the execution sequence among the modularized test units in the test flow can be adjusted according to the requirements in the target test items and the logic relations among different target test items when the test flow is constructed. The process can be manually completed by a tester, for example, the tester manually drags the graphical identification of each modularized test unit, or preset corresponding flow analysis logic, so that specific execution steps can be determined from target test items, and the execution sequence of the modularized test units can be determined according to the execution steps. The specific construction process may be set according to the actual application situation, and will not be described herein.
In some embodiments, in the case that a strong logic relationship does not exist between target test items, the test items can be divided into a plurality of test boards for a plurality of target test items, and each test board contains a modular test unit associated with a corresponding target test item. Different test boards are used for respectively and independently completing the test of the corresponding test items. The complete test flow can also be constructed by combining the individual test panels.
Through constructing the test plate, can effectively distinguish different test flows, guarantee the clarity of test scheme structure, can be simultaneously through the mode of replacement test plate or adjustment test plate order for test scheme possesses nimble adjustable, the clear advantage of structure under the condition that does not influence the test normal clear.
In some embodiments, a self-test operation may also be performed on the selected modular test unit prior to constructing the test flow. The self-checking operation is mainly used for ensuring that the modularized test unit is effectively available and ensuring the feasibility of the corresponding modularized test unit applied to the test scheme.
Specifically, the self-checking operation may correspond to a logic execution condition of the modular test unit, for example, running the modular test unit in a simulation test environment, so as to ensure that the logic executed by the modular test unit is normal, and can complete a corresponding test action.
The self-test operation may also determine the communication connection status of the modular test unit with the test instrument. Because some modular test units require a test instrument to be invoked to complete a test, it is desirable to determine that the modular test unit is capable of effectively communicating with a corresponding test instrument. For example, when a part of the test instruments is not added to the test equipment, the communication connection status is invalid, i.e., an effective call to the test instruments cannot be realized.
The self-test operation may also be used to determine the operating condition of the test equipment. In the case where the modular test unit is connected to the test instrument, there may be a case where the test instrument itself cannot function normally although the test instrument can communicate normally. For this case, a simulation test environment may be set, and it is determined that the test apparatus can normally implement a corresponding function, for example, effectively simulate an equipment operation environment or effectively obtain parameters.
In practical application, the specific type of the self-checking operation can be determined according to the requirement, and the self-checking operation is not limited.
After the self-checking operation is finished, whether the modular test unit can normally finish the work or not can be indicated through a corresponding identifier, for example, the modular test unit is normal through a green pattern, and the modular test unit is abnormal through a red pattern. After the self-checking is abnormal, prompting a tester to replace the modularized test unit or delete the modularized test unit so as to ensure the effective performance of the test.
Through self-checking operation, the normal of the modularized test unit added to the test scheme can be ensured, the effective implementation of the test scheme is facilitated, and the test flow is normally completed.
S140: and executing the test flow and acquiring corresponding test parameters.
After the test flow is constructed, the test flow can be executed sequentially. Because the test flow is formed by constructing a plurality of modularized test units, the execution of the whole test flow is completed by sequentially executing each modularized test unit in actual application.
In addition, the modularized test unit itself includes corresponding logic execution flow or has interaction relation with corresponding test equipment, so the modularized test unit itself can output corresponding test parameters or can generate corresponding test parameters based on measurement of the test equipment. The test parameters may be the state parameters of the object to be tested, such as the insulation voltage-withstanding range or the working temperature, and the like, or the related parameters of the object to be tested in the test loop, such as the working state parameters of the loop itself, and the like. The specific test parameters can be set according to the actual test requirements, and are not limited.
Specifically, in the execution process, corresponding control signals can be sent to corresponding functional modules and/or test instruments based on execution logic of the modularized test units, and the functional modules and the test instruments can feed back corresponding test parameters after receiving the relevant control signals. The feedback logic for the control signal may be set based on the actual interaction situation, which is not described here again.
In some embodiments, to further ensure the effectiveness of the test flow execution process, a self-test operation may also be performed again for each modular test unit before each modular test unit is executed during the execution of the test flow. Likewise, the self-test operation may correspond to a logic execution condition of the modular test unit and/or a communication connection condition with a corresponding test device and/or an operational condition of the corresponding test device. The specific description of the self-checking operation may refer to the description in step S130, and will not be repeated here.
By executing self-checking operation on the modularized test unit in the execution process of the test flow, the interference to the test flow caused by the unavailability of the modularized test unit due to temporary faults is avoided, the effective implementation of the test flow is ensured, and correct and effective test parameters and test results are obtained.
In some embodiments, in order to effectively display the execution result of the test flow, a corresponding test result identifier may be output based on the execution status of each modular test unit in the test flow. The test result identifier indicates the execution result of the modular test unit by a different identification format. Specifically, the test result identifier is used for indicating that the modular test unit completes the test flow or the modular test unit does not complete the test flow or the modular test unit is not effectively connected with the corresponding test equipment. For example, when the modular test unit completes the test flow, the test result identifier may be a green dot-like identifier; when the modularized test unit does not complete the test flow, the test result mark can be a red dot mark; when the modularized test unit is not effectively connected with the corresponding test equipment, the test result identifier can be a text identifier of NG. The test result identifiers may be different according to different test result states, and are not limited to the above examples, and are not described herein.
S150: and outputting a corresponding test report by integrating the test parameters.
After the test parameters are obtained, the corresponding test report can be output according to the test parameters. Specifically, the format of the test report may be preset, and after the test parameters are filled into the test report, the corresponding test report may be output.
For example, the test report may be an excel-based template, and after obtaining the test parameters, the test parameters may be filled into an excel table to obtain a final test report. The specific test report style can be set according to the actual test requirement, and is not limited.
The output test report can be directly displayed to a tester, and can also be sent to corresponding equipment for storage or sharing so as to complete the generation of the test report corresponding to the target test item.
The testing method based on the modularized testing unit is mainly applied to the testing stage of the testing party, and after the testing party obtains the testing equipment from the equipment supplier, the industrial personal computer based on the testing equipment can implement the testing method based on the modularized testing unit. Because the above embodiment modularizes different test functions, a tester of a tester can quickly grasp the call of the different test functions, and further can smoothly construct a test flow to complete the test. In addition, the suppliers can preset corresponding test templates, and the test party is guaranteed to rapidly complete the test of the test items according to the test templates. Therefore, based on the flow of the embodiment, the testing party can quickly and effectively complete the testing flow, and is beneficial to inputting the actual testing flow by using the testing equipment in a short time when the equipment provided by the supplier is obtained.
Based on the description of the embodiment of the test method based on the modularized test unit, it can be seen that after the method obtains the target test item, the corresponding modularized test unit can be directly determined according to the target test item, and the corresponding execution logic and interaction logic are packaged through the modularized test unit, so that the workload of a tester for writing programs and carding test flow logic by himself is reduced. And then, by combining the modularized test units, a corresponding test flow can be constructed, the test flow is executed, and the obtained test parameters are integrated, so that a final test report can be output. Through the method, the execution logic for executing the specific test function is configured based on the form of the modularized test unit, meanwhile, the interaction with the test equipment can be completed through the modularized test unit, the workload of a tester for writing the test program by himself is reduced, the tester can directly understand the construction steps of the test flow conveniently, and therefore the test of the object to be tested can be completed quickly.
Based on the testing method based on the modularized testing unit, the embodiment of the specification also provides a testing device based on the modularized testing unit. The modular test unit based test is disposed on the computing device. As shown in fig. 2, the modular test unit-based test apparatus includes the following modules.
The target test item acquisition module 210 is configured to acquire at least one target test item.
A modular test unit determining module 220, configured to determine a modular test unit corresponding to the target test item; the modular test unit is preconfigured with execution logic corresponding to the test function and interaction logic with corresponding test equipment.
The test flow construction module 230 is configured to combine the modular test units to construct a test flow corresponding to the target test item.
The test flow execution module 240 is configured to execute the test flow and obtain corresponding test parameters.
And the test report output module 250 is used for outputting a corresponding test report by integrating the test parameters.
Based on the test scheme construction method based on the modularized test unit corresponding to fig. 1, the embodiment of the specification also provides a test device. The test equipment can comprise an industrial personal computer, a test instrument and a functional module. The testing instrument comprises a power supply, a universal meter, various types of sensors and the like and is used for connecting an object to be tested to realize testing working conditions and/or obtain testing parameters. The functional module may be an independent logic circuit, and performs a corresponding test function based on the corresponding circuit logic, for example, the functional module may process signals according to its logic, or complete control of the test apparatus and status setting of the object to be tested in the circuit.
The industrial personal computer is respectively connected with the testing instrument and the functional module to realize the control of the testing instrument and the functional module, receive the parameters fed back by the testing instrument and the like. The industrial personal computer may include a memory and a processor.
In this embodiment, the memory may be implemented in any suitable manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid state hard disk, or a usb disk. The memory may be used to store computer program instructions.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic controller, and an embedded microcontroller, among others. The processor may execute the computer program instructions to implement the modular test unit based test method in the embodiment corresponding to fig. 1.
The present description also provides a computer-readable storage medium having stored thereon computer programs/instructions. The computer readable storage medium may be read by a processor based on an internal bus of a device, and program instructions in the computer readable storage medium are implemented by the processor.
In this embodiment, the computer-readable storage medium may be implemented in any suitable manner. The computer readable storage medium includes, but is not limited to, random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), cache (Cache), hard Disk (HDD), memory Card (Memory Card), and the like. The computer storage medium stores computer program instructions. Program instructions or modules of a modular test unit based test method of the embodiment corresponding to fig. 1 of the present description are implemented when said computer program instructions are executed.
The present description also provides a computer program product comprising a computer program/instructions. The computer program product may be a program written in a corresponding computer program language, stored in a corresponding storage device in a program manner, and transmitted over a computer network. The computer program product may be executable by a processor. In the present description embodiment, the computer program product when executed implements program instructions or modules of a modular test unit based test method as in the corresponding embodiment of fig. 1.
It should be noted that the test method, device and equipment based on the modularized test unit can be applied to the technical field of the test system, and can also be applied to other technical fields except the technical field of the test system, and the test method, device and equipment are not limited.
While the process flows described above include a plurality of operations occurring in a particular order, it should be apparent that the processes may include more or fewer operations, which may be performed sequentially or in parallel (e.g., using a parallel processor or a multi-threaded environment).
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description embodiments may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present embodiments may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the embodiments of the present specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (15)

1. A modular test unit-based test method, comprising:
acquiring at least one target test item;
determining a modularized test unit corresponding to the target test item; the modularized test unit is preconfigured with execution logic of a corresponding test function and interaction logic of corresponding test equipment;
combining the individual modular test units to construct a test flow corresponding to the target test item;
executing the test flow and acquiring corresponding test parameters;
and outputting a corresponding test report by integrating the test parameters.
2. The method of claim 1, wherein the determining the modular test unit to which the target test item corresponds comprises:
displaying graphical identifiers corresponding to all the modularized test units; the graphical identifier is used for indicating functions of different modularized test units;
Receiving a selection operation corresponding to a specific graphical identifier;
and determining the modularized test unit corresponding to each test action according to the selection operation.
3. The method of claim 2, wherein the determining the modular test unit to which the target test item corresponds comprises:
displaying graphical identifiers corresponding to all the modularized test units on a toolbar interface;
accordingly, the combining each modular test unit to construct a test flow corresponding to a target test item includes:
acquiring a drag instruction for moving a specific graphical identifier from a toolbar interface to a test interface;
and adjusting the execution sequence of each modularized test unit based on the dragging instruction.
4. The method of claim 1, wherein the determining the modular test unit to which the target test item corresponds comprises:
determining a work option of the target test item; the job option corresponds to at least one test action in a target test item;
displaying at least one test device based on the job option; the at least one test device matches a test action in the job option;
And configuring the corresponding modularized test unit according to the selection operation of the specific test equipment in the at least one test equipment.
5. The method of claim 1, wherein the performing the test procedure and obtaining the corresponding test parameters comprises:
outputting a corresponding test result identifier based on the execution status of each modularized test unit in the test flow; the test result identifier is used for indicating that the modularized test unit completes the test flow or the modularized test unit does not complete the test flow or the modularized test unit is not effectively connected with the corresponding test equipment.
6. The method of claim 1, wherein the performing the test procedure and obtaining the corresponding test parameters comprises:
transmitting corresponding control signals to corresponding functional modules and/or test instruments based on execution logic of the modularized test unit;
and receiving the test parameters fed back by the functional module and/or the test instrument.
7. The method of claim 1, wherein the determining the modular test unit to which the target test item corresponds comprises:
selecting a corresponding test template according to the test item; a plurality of modularized test units are configured in the test template based on a preset sequence;
Accordingly, the combining each modular test unit to construct a test flow corresponding to a target test item includes:
and constructing a test flow corresponding to the target test item according to the test template.
8. The method of claim 7, wherein prior to constructing a test flow corresponding to the target test item from the test template, further comprising:
displaying a parameter configuration interface of the test template;
and adjusting parameters of the test template in the parameter configuration interface based on the test item.
9. The method of claim 1, wherein prior to combining the individual modular test units to construct a test flow corresponding to the target test item, further comprising:
and configuring parameters in each modularized test unit according to the test items.
10. The method of claim 1, wherein prior to combining the individual modular test units to construct a test flow corresponding to the target test item, further comprising:
performing a self-test operation for each modular test unit; the self-checking operation corresponds to a logic execution condition of the modular test unit and/or a communication connection condition with a corresponding test device and/or an operating condition of the corresponding test device.
11. The method of claim 1, wherein the performing the test procedure and obtaining the corresponding test parameters comprises:
before executing a corresponding modularized test unit in a test flow, executing self-checking operation on the modularized test unit; the self-checking operation corresponds to a logic execution condition of the modular test unit and/or a communication connection condition with a corresponding test device and/or an operating condition of the corresponding test device.
12. The method of claim 1, wherein the target test item comprises a test item for a battery pack.
13. A modular test unit-based test apparatus, comprising:
the target test item acquisition module is used for acquiring at least one target test item;
the modular test unit determining module is used for determining a modular test unit corresponding to the target test item; the modularized test unit is preconfigured with execution logic of a corresponding test function and interaction logic of corresponding test equipment;
a test flow construction module for combining the modular test units to construct a test flow corresponding to the target test item;
The test flow execution module is used for executing the test flow and acquiring corresponding test parameters;
and the test report output module is used for outputting a corresponding test report by integrating the test parameters.
14. The test equipment is characterized by comprising an industrial personal computer, a test instrument and a functional module; the industrial personal computer is respectively connected with the test instrument and the functional module;
the functional module executes a corresponding test function based on the corresponding circuit logic;
the test instrument is used for connecting an object to be tested to realize test working conditions and/or obtain test parameters;
the industrial personal computer is provided with corresponding computer programs/instructions; the industrial personal computer is configured to execute the computer program/instruction to implement the method according to any one of claims 1 to 12, and complete the test of the object to be tested by the functional module and/or the test instrument.
15. A computer readable storage medium having stored thereon a computer program/instruction which, when executed, implements the method of any of claims 1-12.
CN202310558037.5A 2023-05-17 2023-05-17 Test method, device and equipment based on modularized test unit Pending CN116754952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310558037.5A CN116754952A (en) 2023-05-17 2023-05-17 Test method, device and equipment based on modularized test unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310558037.5A CN116754952A (en) 2023-05-17 2023-05-17 Test method, device and equipment based on modularized test unit

Publications (1)

Publication Number Publication Date
CN116754952A true CN116754952A (en) 2023-09-15

Family

ID=87950452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310558037.5A Pending CN116754952A (en) 2023-05-17 2023-05-17 Test method, device and equipment based on modularized test unit

Country Status (1)

Country Link
CN (1) CN116754952A (en)

Similar Documents

Publication Publication Date Title
US10386824B2 (en) Binding of devices in a process plant using I/O-abstracted field device configurations
CN108631854B (en) Apparatus and method for testing design of satellite payload transponder
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
US9720811B2 (en) Unified model for visual component testing
CN107807881B (en) Code coverage rate testing method and device and computer equipment
CN106093897B (en) A kind of the test system and test method of radar system
KR20090046924A (en) Test module with blocks of universal and specific resources
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN113190443A (en) Test method, test device, computer equipment and storage medium
JP2003330748A (en) Method and apparatus for generating electronic test program and data structure
CN111176984A (en) Signal-oriented automatic test implementation method
CN103984626A (en) Method and device for generating test-case script
CN108563579A (en) White-box testing method, apparatus, system and storage medium
CN113157508B (en) Test method, system, device, equipment and storage medium of embedded system
CN112231199A (en) Test method and device for object to be tested and test system
US7080304B2 (en) Technique for programming clocks in automatic test system
CN117499286A (en) Software system, method, equipment and medium for automatic test of communication module
CN117330935A (en) Integrated circuit testing method, device and medium
CN106874209A (en) The generation method and device of test script
CN116754952A (en) Test method, device and equipment based on modularized test unit
JP2016062136A (en) Testing apparatus and testing program
US11803456B2 (en) Distributed event-based test execution
CN116594885A (en) Test scheme construction method, device and equipment based on modularized test unit
CN115757132A (en) Satellite interface testing method and device, electronic equipment and storage medium
US20210041859A1 (en) Data processing device, data processing method and program

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