CN116337456A - Determination method and determination device for test flow, electronic device and test system - Google Patents

Determination method and determination device for test flow, electronic device and test system Download PDF

Info

Publication number
CN116337456A
CN116337456A CN202310326819.6A CN202310326819A CN116337456A CN 116337456 A CN116337456 A CN 116337456A CN 202310326819 A CN202310326819 A CN 202310326819A CN 116337456 A CN116337456 A CN 116337456A
Authority
CN
China
Prior art keywords
test
test sequence
sequence
determining
target
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
CN202310326819.6A
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.)
Weichai Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Original Assignee
Weichai Power Co Ltd
Weifang Weichai Power 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 Weichai Power Co Ltd, Weifang Weichai Power Technology Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202310326819.6A priority Critical patent/CN116337456A/en
Publication of CN116337456A publication Critical patent/CN116337456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M15/00Testing of engines
    • G01M15/02Details or accessories of testing apparatus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The application provides a determination method and device for a test flow, an electronic device and a test system. The method comprises the following steps: acquiring model information and control information of the tested equipment in response to a first preset operation acted on the display screen; determining a target test sequence at least based on model information and control information of the tested equipment and according to the priority order of each test sequence in a function module library, wherein a plurality of test sequences are stored in the function module library, each test sequence consists of a plurality of different identifiers, the identifiers are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence; the target test sequence is sent to the display screen to prompt a tester to test the tested equipment based on the target test sequence, so that the problems that the test flow determined in the prior art is unreasonable and the test efficiency is low are solved.

Description

Determination method and determination device for test flow, electronic device and test system
Technical Field
The application relates to the field of test runs, in particular to a determination method, a determination device, an electronic device and a test system for a test flow.
Background
The existing test run is generally formulated according to the technological process of the tested equipment (for example, an engine and a whole car). And the test flow established by the technological flow of the tested equipment is difficult to meet the personalized test requirements of different types of tested equipment because each module in the test flow is mutually independent and has larger granularity.
In addition, in actual test operation, in addition to testing based on a test run formulated by a process flow of the tested device, in a test run engineering, in order to solve the problem of burst, a test run is usually adjusted by personal experience, that is, there are many personalized operations.
However, for a new on-duty test driver, due to the fact that the experience is low, under the condition that sudden problems are encountered, the test flow formulated by the process flow is adjusted and optimized through personal experience, so that the whole test flow is completed.
The problems of unreasonable test run flow and lower test run efficiency exist in the situations.
Disclosure of Invention
The main object of the present application is to provide a method, a device, an electronic device and a system for determining a test procedure, so as to at least solve the problems of unreasonable test procedure and low test efficiency determined in the prior art.
In order to achieve the above object, according to one aspect of the present application, there is provided a determination method of a test procedure, the determination method being applied to a terminal device of a test bed, the terminal device including a display screen, the determination method including: responding to a first preset operation acted on the display screen, acquiring model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment; determining a target test sequence at least based on the model information and the control information of the tested equipment and according to the priority order of each test sequence in a function module library, wherein a plurality of test sequences are stored in the function module library, each test sequence consists of a plurality of different identifiers, the identifiers are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence; and sending the target test sequence to the display screen to prompt a tester to test the tested equipment based on the target test sequence.
Optionally, determining a target test sequence at least based on the model information and the control information of the tested device and according to the priority order of each test sequence in the function module library includes: receiving a test type of the device under test in response to a second predetermined operation acting on the display screen, the test type comprising one of: the device testing system comprises a cold test car and a hot test car, wherein the cold test car is used for testing the tested device under the condition that the tested device does not operate, and the hot test car is used for testing the tested device under the condition that the tested device operates; determining a corresponding technological process of the tested equipment based on the test type of the tested equipment; and determining the target test sequence according to the priority sequence of each test sequence in the function module library based on the technological process, the model information and the control information of the tested equipment.
Optionally, the device under test is an engine, the control information includes ECU type information and ECU data version information, each of the test sequences includes a first test sequence, a second test sequence and a third test sequence, the first test sequence has a highest priority, the third test sequence has a lowest priority, the first test sequence is a sequence in which a test of the engine has been completed, the third test sequence is determined according to the process flow of the engine, the second test sequence includes the third test sequence, the target test sequence is determined based on the process flow of the device under test, the model information and the control information, and according to the priority order of each of the test sequences in the function module library, including: searching the first test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the first test sequence as the target test sequence.
Optionally, if there are multiple first test sequences, determining the first test sequence as the target test sequence includes: and determining the first test sequence with the largest use frequency as the target test sequence, and adding 1 to the use frequency of the first test sequence with the largest use frequency.
Optionally, in a case that the first test sequence is not found out from the functional module library, the determining method further includes: searching the second test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the functional module library; and determining the second test sequence as the target test sequence.
Optionally, in a case that the second test sequence is not found out from the functional module library, the determining method further includes: searching the third test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the third test sequence as the target test sequence.
Optionally, the target test sequence is sent to the display screen, so as to prompt a tester to test the tested device based on the target test sequence, and the determining method further includes: receiving said identifier of a real-time test function in response to a third predetermined operation acting on said display screen; adding the identifier to the target test sequence to obtain an updated target test sequence; and sending the updated target test sequence to the function module library so as to form a first test sequence through the updated target test sequence.
According to another aspect of the present application, there is provided a determining apparatus for a test procedure, the determining apparatus being applied in a terminal device of a test bed, the terminal device including a display screen, the determining apparatus including: the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for responding to a first preset operation acted on the display screen and acquiring model information and control information of tested equipment, the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment; a determining unit, configured to determine a target test sequence based on at least the model information and the control information of the tested device and according to a priority order of each test sequence in a function module library, where the function module library stores a plurality of test sequences, the test sequences are composed of a plurality of different identifiers, and the identifiers are arranged according to a test sequence, and one identifier is used to identify a test function, and the priority order is determined according to a number of times of use of each test sequence; and the sending unit is used for sending the target test sequence to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
According to a further aspect of the present application there is provided an electronic device comprising a memory having a computer program stored therein and a processor arranged to perform any one of the described test procedure determination methods by means of the computer program.
According to yet another aspect of the present application, there is provided a test system comprising: the terminal equipment comprises a determining device of the test flow, wherein the determining device is used for executing any one of the determining methods of the test flow; and the tested equipment is communicated with the terminal equipment.
By applying the technical scheme, firstly, the model information of the tested equipment and the information of the electronic control unit corresponding to the tested equipment are obtained; then, determining a target test sequence for testing the tested equipment at least based on the model information and the control information of the tested equipment according to the priority of each test sequence stored in the function module library; and finally, sending the determined target test sequence to a display screen to prompt a tester to test the tested equipment based on the target test sequence. In the scheme, the target test sequence consists of a plurality of different identifiers, and one identifier is used for identifying one test function, that is, the test module in the test process is scattered, so that the granularity of the test function identified by each identifier in the determined target test sequence is smaller, and the personalized test requirement of a tester is better met. In addition, compared with the prior art that only the technological process of the tested equipment is adopted to determine the target test sequence, the method and the device have the advantages that at least the model information and the control information of the tested equipment are adopted to determine the target test sequence, so that the determined target test sequence is reasonable, the test efficiency of a tester for testing the tested equipment based on the target test sequence is high, and the problems that the test flow determined in the prior art is unreasonable and the test efficiency is low are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal for performing a determination method of a test flow according to an embodiment of the present application;
FIG. 2 is a flow diagram of a method for determining a test flow according to an embodiment of the present application;
FIG. 3 shows a schematic diagram of a library of functional modules provided by an embodiment of the present application;
FIG. 4 shows a schematic diagram of determining a target test sequence provided by an embodiment of the present application;
FIG. 5 is a flow chart of another method for determining a test flow according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of a determining device for a test procedure according to an embodiment of the present application.
Wherein the above figures include the following reference numerals:
102. a processor; 104. a memory; 106. a transmission device; 108. an input-output device; 10. an acquisition unit; 20. a determination unit; 30. and a transmitting unit.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As described in the background art, the test flow determined in the prior art is relatively unreasonable and the test efficiency is relatively low, so as to solve the above problem, the embodiments of the present application provide a determination method, a determination device, an electronic device and a test system for a test flow.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to a method for determining a test procedure according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for determining a test flow in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In the present embodiment, a method for determining a test flow to be run on a mobile terminal, a computer terminal, or a similar computing device is provided, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different from that herein.
Fig. 2 is a flow chart of a method of determining a test flow according to an embodiment of the present application. As shown in fig. 2, the determination method includes the steps of:
step S201, responding to a first preset operation acted on the display screen, obtaining model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment;
in an actual application process, the device to be tested may be one or more devices on a vehicle. For example, the device under test may be an engine. In addition, the model information of the device under test may be model information of the device under test. The electronic control unit corresponding to the tested device can be a control unit for controlling the tested device to execute corresponding functions.
Specifically, the first predetermined operation may be an operation that triggers the start of the test flow for the tester. For example, before the device under test is tested, the "initialization" operation identifier displayed on the display screen may be touched by the tester, that is, the action of "responding to the" initialization "operation identifier" displayed on the display screen triggered by the tester "is responded to the terminal device, so as to obtain model information and control information of the device under test, and start testing the device under test.
Step S202, determining a target test sequence according to the priority order of each test sequence in a function module library at least based on the model information and the control information of the tested equipment, wherein the function module library stores a plurality of test sequences which are composed of a plurality of different identifiers and are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence;
specifically, the function module library includes, but is not limited to, storing a plurality of test sequences, and may also store an identifier and a test function corresponding to the identifier. For example, in the case where the identifier is "1", its corresponding test function may be "initialization". In the case where the identifier is "2", the corresponding test function may be "engine information" or the like.
For the identifier mentioned in the above step S202, the identifier may be, in particular, a number, a letter, or the like. Of course, other identifiers are possible, such as a combination of numbers and letters, etc.
In addition, an identifier mentioned in the above step S202 is used to identify a test function, and of course, it is also understood that an identifier is used to identify a test step. In the actual application process, the test function identified by the identifier can be a sub-function with smaller test granularity. Specifically, as shown in fig. 3, in the process of testing the tested device, the sub-functions of each functional module in the test process are scattered and numbered. And according to the process flow of different model information, a main module sequence (namely a third test sequence mentioned later) is formed, for example, 2-3-1- [5-4] -6 can be used for identifying the completion of engine information-IQA correction-initialization- [ data stream-fault code ] -test run. The basic module sub-functional sequence (i.e. the second test sequence mentioned later) may also be formed according to the specific functional requirements of each main module, e.g. 2-3-1.1-1.2-1.3- [5-4.1] -6.1-6.2-6.3, which may be used to identify the engine information-IQA correction-clearing fault-function calibration 1-function calibration 2- [ data stream-read fault ] -write engine information-CVN check-T15 (i.e. key switch, or ignition switch) to be powered down (i.e. ignition signal to stop power to the electronic control unit ECU), wherein [ ] indicates a loop execution function. Of course, a test sub-function sequence (i.e., the first test sequence mentioned later) may also be formed according to an actual test call sequence, for example, 2-3-1.1-1.2-1.3-4.1-4.2- [5-4.1] -7.1-7.2-6.1-6.2-6.3 may be used to identify engine information-IQA (image quality evaluation, image Quality Assessment) correct-clear fault-function calibration 1-function calibration 2-read fault-clear fault- [ data stream-read fault ] -oil amount-smoke adjustment-write engine information-CVN (check verification number) check-T15 power-down. The test sub-function sequence includes sub-function interrelationships between different main modules.
And step S203, the target test sequence is sent to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
In the step S203, the target test sequence is sent to the display screen of the terminal device, which may specifically be: the whole target test sequence is sent to the display screen, so that a tester can know the whole flow of testing the tested equipment in time. Of course, the test sequence may also be sent to the tester step by step according to the sequence of the test steps in the target test sequence, so that the tester may test the tested device step by step according to the steps.
Through the embodiment, firstly, model information of the tested equipment and information of an electronic control unit corresponding to the tested equipment are obtained; then, determining a target test sequence for testing the tested equipment at least based on the model information and the control information of the tested equipment according to the priority of each test sequence stored in the function module library; and finally, sending the determined target test sequence to a display screen to prompt a tester to test the tested equipment based on the target test sequence. In the scheme, the target test sequence consists of a plurality of different identifiers, and one identifier is used for identifying one test function, that is, the test module in the test process is scattered, so that the granularity of the test function identified by each identifier in the determined target test sequence is smaller, and the personalized test requirement of a tester is better met. In addition, compared with the prior art that only the technological process of the tested equipment is adopted to determine the target test sequence, the method and the device have the advantages that at least the model information and the control information of the tested equipment are adopted to determine the target test sequence, so that the determined target test sequence is reasonable, the test efficiency of a tester for testing the tested equipment based on the target test sequence is high, and the problems that the test flow determined in the prior art is unreasonable and the test efficiency is low are solved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
In a specific implementation process, as shown in fig. 4, the step S202 may be implemented by the steps S2021, S2022, and S2023. Specifically, step S2021: receiving a test type of the device under test in response to a second predetermined operation acting on the display screen, the test type including one of: a cold test run and a hot test run, wherein the cold test run is used for testing the tested equipment under the condition that the tested equipment does not operate, and the hot test run is used for testing the tested equipment under the condition that the tested equipment operates; step S2022: determining a corresponding technological process of the tested equipment based on the test type of the tested equipment; step S2023: and determining the target test sequence according to the priority sequence of each test sequence in the function module library based on the process flow, the model information and the control information of the tested equipment. In the embodiment, the process flow corresponding to the tested equipment is determined through the received test type of the tested equipment, and then the target test sequence is determined from the functional module library based on the process flow, the model information and the control information of the tested equipment, so that the determined target test sequence is further ensured to be more reasonable.
In the actual application process, the second predetermined operation may be an operation of inputting the test type of the device under test to the terminal device by the tester through the "test type" operation identifier displayed on the display screen. Specifically, the tester can input the test type of the tested device to the terminal device by touching the operation identifier of the test type displayed on the display screen, namely, the action of inputting the test type of the tested device to the terminal device by the tester through the operation identifier of the test type displayed on the display screen is responded to the terminal device.
In an embodiment of the present application, the device under test is an engine, the control information includes ECU type information and ECU data version information, each of the test sequences includes a first test sequence, a second test sequence and a third test sequence, the first test sequence has a highest priority, the third test sequence has a lowest priority, the first test sequence is a sequence in which the test of the engine has been completed, the third test sequence is determined according to the process flow of the engine, the second test sequence includes the third test sequence, that is, the second test sequence is refined based on the third test sequence, for example, the third test sequence is determined based on the process flow of the engine, that is, the identifier in the third test sequence identifies a different test module. In the actual test process, a tester (i.e. a truckman) can refine the third test sequence based on the actual test requirement to obtain a second test sequence. On this basis, the above step S2023 may also be implemented by the following steps: determining the target test sequence according to the priority order of each test sequence in the function module library based on the process flow, the model information and the control information of the tested equipment, including: searching the first test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the first test sequence as the target test sequence. That is, since the priority order of each test sequence in the function module library is determined according to the number of times of use, in the process of determining the target test sequence, first test sequences matched with the process flow, model information, ECU type information and ECU data version information of the engine are determined from the plurality of first test sequences, so that the determined target test sequence is further ensured to be more reasonable, and even if a new on-duty test operator is involved, the engine can be more efficiently tested based on the determined target test sequence.
Specifically, the first test sequence mentioned in the above embodiment may be that a tester (test handler) has completed the test of the corresponding device under test based on the test sequence. And each test function in the first test sequence can also realize the mutual calling, so that the higher flexibility of the first test sequence is ensured.
In addition, the first test sequence, the second test sequence and the third test sequence mentioned above are all composed by a plurality of different identifiers. That is, the scheme realizes the digital processing of the test flow, so that the determined target test sequence is clearer and clearer.
In some specific implementation processes, in a case that there are a plurality of the first test sequences that are searched, determining the first test sequence as the target test sequence includes: and determining the first test sequence with the largest use number as the target test sequence, and adding 1 to the use number of the first test sequence with the largest use number. In the scheme, under the condition that a plurality of first test sequences exist, the first test sequence with the largest use times is determined as the target test sequence, namely, the more the first test sequence is used, the more reasonable the test of the test flow of the first test sequence is indicated, so that the determined target test sequence is further ensured to be reasonable, and the higher the test efficiency of the tested equipment is further ensured.
In the practical application process, including but not limited to, associating an attribute of the use times for each test sequence in the function module library, the rationality of the corresponding test sequence can be evaluated, and for the test sequence with higher score, the higher score is indicated to be more rational, and then in the process of determining the target test sequence, the test sequence with higher score is preferentially determined.
Specifically, in the actual testing process, there are cases where some newly-online devices under test are tested for the first time. In this case, the library of functional modules has not accumulated the corresponding first test sequence for a while. In order to ensure that the tested device in this case can be tested reasonably and efficiently, in one embodiment of the present application, the determining method further includes, in a case that the first test sequence is not found out from the functional module library: searching the second test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the second test sequence as the target test sequence.
Of course, if there are a plurality of specified second test sequences, the second test sequence having the largest number of uses may be determined as the target test sequence.
Specifically, in some embodiments, in a case that the second test sequence is not found out from the functional module library, the determining method further includes: searching the third test sequence matched with the process flow, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the third test sequence as the target test sequence. In the process of testing the engine based on the third test sequence, the subsequent tester (i.e. the driver) can also modify the target test sequence through personal test experience, namely, add own test behavior into the target test sequence, so that the target test sequence determined again later is more and more reasonable.
In the actual application process, for the newly-online tested device, the initial function module library does not store the corresponding test sequence, but only stores the test function corresponding to each identifier, which can be shown in fig. 3. In this case, in the first test process, the terminal device may push the third test sequence determined based on the process flow of the tested device to the tester (i.e., the test handler), so as to achieve the purpose of prompting the tester (i.e., the test handler) by displaying the third test sequence on the display screen. During the testing of the device under test by a tester (i.e., a test taker), the test sequence may be continually modified and/or the sudden problems encountered during the testing may be resolved, etc., through personal experience. For example, in the process of testing the engine, at least how to adjust the oil quantity and smoke intensity of the engine is not needed first, and by continuously adjusting, how to adjust the oil quantity and smoke intensity of the engine can be given in the second test sequence and the third test sequence which are obtained finally. That is, by constantly modifying and optimizing, the currently most reasonable target test sequence is pushed for the tester (i.e., the fitter) each time.
In order to further meet the personalized test requirement of the tester (i.e. the driver), in the process of sending the target test sequence to the display screen to prompt the tester to test the tested device based on the target test sequence, the determining method further comprises: receiving said identifier of a real-time test function in response to a third predetermined operation acting on said display screen; adding the identifier to the target test sequence to obtain an updated target test sequence; and sending the updated target test sequence to the function module library so as to form a first test sequence through the updated target test sequence. That is, the tester (i.e. the driver) can adjust the target test sequence through his own knowledge and experience in the process of testing the tested device by adopting the target test sequence, so that a new first test sequence can be formed, and then if the number of times of using the first test sequence is higher, the more reasonable the test flow of the first test sequence is indicated.
In order to enable those skilled in the art to more clearly understand the technical solutions of the present application, the implementation process of the determining method of the test procedure of the present application will be described in detail below with reference to specific embodiments.
The embodiment relates to a specific method for determining a test flow of an engine, as shown in fig. 5, including the following steps:
step S1: acquiring model information, ECU type information and ECU data version information of an engine in response to a first predetermined operation acting on a display screen; this step may also be referred to as an initialization step;
step S2: performing static information confirmation based on the obtained model information, ECU type information and ECU data version information of the engine;
step S3: determining a process flow of the engine in response to a second predetermined operation acting on the display screen if the information is a perfect match;
step S4: and determining a target test sequence according to the technological process, the model information, the ECU type information and the ECU data version information of the engine, and according to the priority order of each test sequence (namely, a main module sequence, a basic module sub-function sequence and a test sub-function sequence) in the function module library and the use times of each test sequence. The specific process is as follows:
firstly, searching a test sub-function sequence (namely a first test sequence) matched with the technological process, model information, ECU type information and ECU data version information of a transmitter from a function module library; under the condition that a plurality of determined test sub-function sequences exist, determining the test sub-function sequence with the largest using times as a target test sequence;
Under the condition that a test sub-function sequence (namely a first test sequence) is not determined from the function module library, searching a basic module sub-function sequence (namely a second test sequence) which is matched with the technological process, the model information, the ECU type information and the ECU data version information of the transmitter from the function module library; under the condition that a plurality of basic module sub-function sequences are determined, the basic module sub-function sequence with the largest using times is determined as a target test sequence;
under the condition that the basic module sub-function sequence (namely, a second test sequence) is not determined from the function module library, searching a main module sequence (namely, a third test sequence) which is matched with the technological process, the model information, the ECU type information and the ECU data version information of the transmitter from the function module library; if the number of the determined main module sequences (i.e., the third test sequences) is plural, determining the main module sequence (i.e., the third test sequence) with the largest use number as the target test sequence;
step S5: the target test sequence is sent to a display screen to prompt a tester (i.e., a test taker) to perform a test based on the target test sequence.
Step S6: during the process of testing the engine based on the target test sequence, a tester (i.e., a test taker) determines whether there is an artificial adjustment. Receiving an identifier of the real-time test function in response to a third predetermined operation acting on the screen in the presence of the manual adjustment; the identifier is added to the target test sequence to form a new test sub-functional sequence. And sends the new test sub-function sequence to the library of function modules.
The embodiment of the application also provides a determining device for the test flow, and it should be noted that the determining device for the test flow in the embodiment of the application can be used for executing the determining method for the test flow provided in the embodiment of the application. The device is used for realizing the above embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The following describes a determination device for a test flow provided in an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a determining device of a test flow according to an embodiment of the present application. The determining device is applied to a terminal device of a test bed, the terminal device comprises a display screen, as shown in fig. 6, and the determining device comprises:
an obtaining unit 10, configured to obtain model information and control information of a device under test, where the device under test is a part of a vehicle, in response to a first predetermined operation acting on the display screen, and the control information is information of an electronic control unit corresponding to the device under test;
In an actual application process, the device to be tested may be one or more devices on a vehicle. For example, the device under test may be an engine. In addition, the model information of the device under test may be model information of the device under test. The electronic control unit corresponding to the tested device can be a control unit for controlling the tested device to execute corresponding functions.
Specifically, the first predetermined operation may be an operation that triggers the start of the test flow for the tester. For example, before the device under test is tested, the "initialization" operation identifier displayed on the display screen may be touched by the tester, that is, the action of "responding to the" initialization "operation identifier" displayed on the display screen triggered by the tester "is responded to the terminal device, so as to obtain model information and control information of the device under test, and start testing the device under test.
A determining unit 20, configured to determine a target test sequence based on at least the model information and the control information of the device under test and according to a priority order of each test sequence in a function module library, where a plurality of the test sequences are stored in the function module library, the test sequences are composed of a plurality of different identifiers, and the plurality of different identifiers are arranged according to a test sequence, one of the identifiers is used to identify a test function, and the priority order is determined according to a number of times each of the test sequences is used;
Specifically, the function module library includes, but is not limited to, storing a plurality of test sequences, and may also store an identifier and a test function corresponding to the identifier. For example, in the case where the identifier is "1", its corresponding test function may be "initialization". In the case where the identifier is "2", the corresponding test function may be "engine information" or the like.
For the identifier mentioned in the above-mentioned determination unit, the identifier may be, in particular, a number, a letter, or the like. Of course, other identifiers are possible, such as a combination of numbers and letters, etc.
In addition, an identifier mentioned in the above-mentioned determination unit is used to identify a test function, and it is understood that an identifier is used to identify a test step. In the actual application process, the test function identified by the identifier can be a sub-function with smaller test granularity. Specifically, as shown in fig. 3, in the process of testing the tested device, the sub-functions of each functional module in the test process are scattered and numbered. And according to the process flow of different model information, a main module sequence (namely a third test sequence mentioned later) is formed, for example, 2-3-1- [5-4] -6 can be used for identifying the completion of engine information-IQA correction-initialization- [ data stream-fault code ] -test run. The basic module sub-functional sequence (i.e. the second test sequence mentioned later) may also be formed according to the specific functional requirements of each main module, e.g. 2-3-1.1-1.2-1.3- [5-4.1] -6.1-6.2-6.3, which may be used to identify the engine information-IQA correction-clearing fault-function calibration 1-function calibration 2- [ data stream-read fault ] -write engine information-CVN check-T15 (i.e. key switch, or ignition switch) to be powered down (i.e. ignition signal to stop power to the electronic control unit ECU), wherein [ ] indicates a loop execution function. Of course, a test sub-function sequence (i.e., the first test sequence mentioned later) may also be formed according to an actual test call sequence, for example, 2-3-1.1-1.2-1.3-4.1-4.2- [5-4.1] -7.1-7.2-6.1-6.2-6.3 may be used to identify engine information-IQA (image quality evaluation, image Quality Assessment) correct-clear fault-function calibration 1-function calibration 2-read fault-clear fault- [ data stream-read fault ] -oil amount-smoke adjustment-write engine information-CVN (check verification number) check-T15 power-down. The test sub-function sequence includes sub-function interrelationships between different main modules.
And the sending unit 30 is configured to send the target test sequence to the display screen, so as to prompt a tester to test the device under test based on the target test sequence.
In the foregoing transmitting unit, the target test sequence is transmitted to a display screen of the terminal device, which may specifically be: the whole target test sequence is sent to the display screen, so that a tester can know the whole flow of testing the tested equipment in time. Of course, the test sequence may also be sent to the tester step by step according to the sequence of the test steps in the target test sequence, so that the tester may test the tested device step by step according to the steps.
In the above-mentioned determining device of the test flow, the obtaining unit is used for obtaining the model information of the tested equipment and the information of the electronic control unit corresponding to the tested equipment; the determining unit is used for determining a target test sequence for testing the tested equipment at least based on the model information and the control information of the tested equipment according to the priority of each test sequence stored in the function module library; the sending unit is used for sending the determined target test sequence to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence. In the scheme, the target test sequence consists of a plurality of different identifiers, and one identifier is used for identifying one test function, that is, the test module in the test process is scattered, so that the granularity of the test function identified by each identifier in the determined target test sequence is smaller, and the personalized test requirement of a tester is better met. In addition, compared with the prior art that only the technological process of the tested equipment is adopted to determine the target test sequence, the method and the device have the advantages that at least the model information and the control information of the tested equipment are adopted to determine the target test sequence, so that the determined target test sequence is reasonable, the test efficiency of a tester for testing the tested equipment based on the target test sequence is high, and the problems that the test flow determined in the prior art is unreasonable and the test efficiency is low are solved.
In a specific implementation process, the determining unit includes a first receiving module, a first determining module and a second determining module, where the first receiving module is configured to receive a test type of the device under test in response to a second predetermined operation acting on the display screen, where the test type includes one of the following: a cold test run and a hot test run, wherein the cold test run is used for testing the tested equipment under the condition that the tested equipment does not operate, and the hot test run is used for testing the tested equipment under the condition that the tested equipment operates; the first determining module is used for determining a process flow corresponding to the tested equipment based on the test type of the tested equipment; the second determining module is configured to determine the target test sequence according to the priority order of the test sequences in the function module library based on the process flow, the model information, and the control information of the device under test. In the embodiment, the process flow corresponding to the tested equipment is determined through the received test type of the tested equipment, and then the target test sequence is determined from the functional module library based on the process flow, the model information and the control information of the tested equipment, so that the determined target test sequence is further ensured to be more reasonable.
In the actual application process, the second predetermined operation may be an operation of inputting the test type of the device under test to the terminal device by the tester through the "test type" operation identifier displayed on the display screen. Specifically, the tester can input the test type of the tested device to the terminal device by touching the operation identifier of the test type displayed on the display screen, namely, the action of inputting the test type of the tested device to the terminal device by the tester through the operation identifier of the test type displayed on the display screen is responded to the terminal device.
In an embodiment of the present application, the device under test is an engine, the control information includes ECU type information and ECU data version information, each of the test sequences includes a first test sequence, a second test sequence and a third test sequence, the first test sequence has a highest priority, the third test sequence has a lowest priority, the first test sequence is a sequence in which the test of the engine has been completed, the third test sequence is determined according to the process flow of the engine, the second test sequence includes the third test sequence, that is, the second test sequence is refined based on the third test sequence, for example, the third test sequence is determined based on the process flow of the engine, that is, the identifier in the third test sequence identifies a different test module. In the actual test process, a tester (i.e. a truckman) can refine the third test sequence based on the actual test requirement to obtain a second test sequence. On the basis, the second determining module comprises a searching sub-module and a first determining sub-module, wherein the searching sub-module is used for searching the first test sequence matched with the process flow, the model information, the ECU type information and the ECU data version information of the engine from the functional module library; the first determining submodule is used for determining the first test sequence as the target test sequence. That is, since the priority order of each test sequence in the function module library is determined according to the number of times of use, in the process of determining the target test sequence, first test sequences matched with the process flow, model information, ECU type information and ECU data version information of the engine are determined from the plurality of first test sequences, so that the determined target test sequence is further ensured to be more reasonable, and even if a new on-duty test operator is involved, the engine can be more efficiently tested based on the determined target test sequence.
Specifically, the first test sequence mentioned in the above embodiment may be that a tester (test handler) has completed the test of the corresponding device under test based on the test sequence. And each test function in the first test sequence can also realize the mutual calling, so that the higher flexibility of the first test sequence is ensured.
In addition, the first test sequence, the second test sequence and the third test sequence mentioned above are all composed by a plurality of different identifiers. That is, the scheme realizes the digital processing of the test flow, so that the determined target test sequence is clearer and clearer.
In some specific implementations, the first determining submodule further includes a second determining submodule configured to determine, when there are a plurality of the first test sequences that are searched, the first test sequence with the largest number of uses as the target test sequence, and add 1 to the number of uses of the first test sequence with the largest number of uses. In the scheme, under the condition that a plurality of first test sequences exist, the first test sequence with the largest use times is determined as the target test sequence, namely, the more the first test sequence is used, the more reasonable the test of the test flow of the first test sequence is indicated, so that the determined target test sequence is further ensured to be reasonable, and the higher the test efficiency of the tested equipment is further ensured.
In the practical application process, including but not limited to, associating an attribute of the use times for each test sequence in the function module library, the rationality of the corresponding test sequence can be evaluated, and for the test sequence with higher score, the higher score is indicated to be more rational, and then in the process of determining the target test sequence, the test sequence with higher score is preferentially determined.
Specifically, in the actual testing process, there are cases where some newly-online devices under test are tested for the first time. In this case, the library of functional modules has not accumulated the corresponding first test sequence for a while. In order to ensure that the tested device in this case can be tested reasonably and efficiently, in one embodiment of the present application, the determining device further includes a first searching unit configured to search, in a case where the first test sequence is not found from the function module library, for the second test sequence matching the process flow of the engine, the model information, the ECU type information, and the ECU data version information from the function module library; and determining the second test sequence as the target test sequence.
Of course, if there are a plurality of specified second test sequences, the second test sequence having the largest number of uses may be determined as the target test sequence.
Specifically, in some embodiments, the determining apparatus further includes a second searching unit configured to search, from the function module library, the third test sequence that matches the process flow, the model information, the ECU type information, and the ECU data version information of the engine, without searching the second test sequence from the function module library; and determining the third test sequence as the target test sequence. In the process of testing the engine based on the third test sequence, the subsequent tester (i.e. the driver) can also modify the target test sequence through personal test experience, namely, add own test behavior into the target test sequence, so that the target test sequence determined again later is more and more reasonable.
In the actual application process, for the newly-online tested device, the initial function module library does not store the corresponding test sequence, but only stores the test function corresponding to each identifier, which can be shown in fig. 3. In this case, in the first test process, the terminal device may push the third test sequence determined based on the process flow of the tested device to the tester (i.e., the test handler), so as to achieve the purpose of prompting the tester (i.e., the test handler) by displaying the third test sequence on the display screen. During the testing of the device under test by a tester (i.e., a test taker), the test sequence may be continually modified and/or the sudden problems encountered during the testing may be resolved, etc., through personal experience. For example, in the process of testing the engine, at least how to adjust the oil quantity and smoke intensity of the engine is not needed first, and by continuously adjusting, how to adjust the oil quantity and smoke intensity of the engine can be given in the second test sequence and the third test sequence which are obtained finally. That is, by constantly modifying and optimizing, the currently most reasonable target test sequence is pushed for the tester (i.e., the fitter) each time.
In order to further meet the personalized test requirement of the tester (i.e. the driver), the determining device further comprises a receiving unit, a first updating unit and a second updating unit, wherein the receiving unit is used for receiving the identifier of the real-time test function in response to a third predetermined operation acting on the display screen in the process of sending the target test sequence to the display screen to prompt the tester to test the tested device based on the target test sequence; the first updating unit is configured to add the identifier to the target test sequence to obtain an updated target test sequence; the second updating unit is configured to send the updated target test sequence to the function module library, so as to form a first test sequence according to the updated target test sequence. That is, the tester (i.e. the driver) can adjust the target test sequence through his own knowledge and experience in the process of testing the tested device by adopting the target test sequence, so that a new first test sequence can be formed, and then if the number of times of using the first test sequence is higher, the more reasonable the test flow of the first test sequence is indicated.
The determining device of the test flow comprises a processor and a memory, wherein the acquiring unit, the determining unit, the sending unit and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions. The modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one kernel, and the problems that the determined test run process is unreasonable and the test run efficiency is low in the prior art are solved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the program is used for controlling a device where the computer readable storage medium is located to execute the method for determining the test flow.
Specifically, the method for determining the test flow includes:
step S201, responding to a first preset operation acted on the display screen, obtaining model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment;
step S202, determining a target test sequence according to the priority order of each test sequence in a function module library at least based on the model information and the control information of the tested equipment, wherein the function module library stores a plurality of test sequences which are composed of a plurality of different identifiers and are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence;
and step S203, the target test sequence is sent to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
Optionally, determining the target test sequence according to the priority order of each test sequence in the function module library at least based on the model information and the control information of the tested device includes: receiving a test type of the device under test in response to a second predetermined operation acting on the display screen, the test type including one of: a cold test run and a hot test run, wherein the cold test run is used for testing the tested equipment under the condition that the tested equipment does not operate, and the hot test run is used for testing the tested equipment under the condition that the tested equipment operates; determining a corresponding technological process of the tested equipment based on the test type of the tested equipment; and determining the target test sequence according to the priority sequence of each test sequence in the function module library based on the process flow, the model information and the control information of the tested equipment.
Optionally, the device under test is an engine, the control information includes ECU type information and ECU data version information, each of the test sequences includes a first test sequence, a second test sequence and a third test sequence, the first test sequence has a highest priority, the third test sequence has a lowest priority, the first test sequence is a sequence in which a test on the engine has been completed, the third test sequence is determined according to the process flow of the engine, the second test sequence includes the third test sequence, and the target test sequence is determined according to the priority order of each of the test sequences in the function module library based on the process flow of the device under test, the model information and the control information, and includes: searching the first test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the first test sequence as the target test sequence.
Optionally, when there are a plurality of the first test sequences, determining the first test sequence as the target test sequence includes: and determining the first test sequence with the largest use number as the target test sequence, and adding 1 to the use number of the first test sequence with the largest use number.
Optionally, in the case that the first test sequence is not found out from the functional module library, the determining method further includes: searching the second test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the second test sequence as the target test sequence.
Optionally, in the case that the second test sequence is not found out from the functional module library, the determining method further includes: searching the third test sequence matched with the process flow, the model information, the ECU type information and the ECU data version information of the engine from the function module library; and determining the third test sequence as the target test sequence.
Optionally, the target test sequence is sent to the display screen, so as to prompt a tester to test the tested device based on the target test sequence, and the determining method further includes: receiving said identifier of a real-time test function in response to a third predetermined operation acting on said display screen; adding the identifier to the target test sequence to obtain an updated target test sequence; and sending the updated target test sequence to the function module library so as to form a first test sequence through the updated target test sequence.
An embodiment of the present invention provides an electronic device including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the method for determining the test procedure by using the computer program.
Specifically, the method for determining the test flow includes: step S201, responding to a first preset operation acted on the display screen, obtaining model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment; step S202, determining a target test sequence according to the priority order of each test sequence in a function module library at least based on the model information and the control information of the tested equipment, wherein the function module library stores a plurality of test sequences which are composed of a plurality of different identifiers and are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence; and step S203, the target test sequence is sent to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes at least the following steps when executing the program: step S201, responding to a first preset operation acted on the display screen, obtaining model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment; step S202, determining a target test sequence according to the priority order of each test sequence in a function module library at least based on the model information and the control information of the tested equipment, wherein the function module library stores a plurality of test sequences which are composed of a plurality of different identifiers and are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence; and step S203, the target test sequence is sent to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform a program initialized with at least the following method steps when executed on a data processing device: step S201, responding to a first preset operation acted on the display screen, obtaining model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment; step S202, determining a target test sequence according to the priority order of each test sequence in a function module library at least based on the model information and the control information of the tested equipment, wherein the function module library stores a plurality of test sequences which are composed of a plurality of different identifiers and are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence; and step S203, the target test sequence is sent to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
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 application. 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, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
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 should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) In the method for determining the test flow, firstly, model information of tested equipment and information of an electronic control unit corresponding to the tested equipment are obtained; then, determining a target test sequence for testing the tested equipment at least based on the model information and the control information of the tested equipment according to the priority of each test sequence stored in the function module library; and finally, sending the determined target test sequence to a display screen to prompt a tester to test the tested equipment based on the target test sequence. In the scheme, the target test sequence consists of a plurality of different identifiers, and one identifier is used for identifying one test function, that is, the test module in the test process is scattered, so that the granularity of the test function identified by each identifier in the determined target test sequence is smaller, and the personalized test requirement of a tester is better met. In addition, compared with the prior art that only the technological process of the tested equipment is adopted to determine the target test sequence, the method and the device have the advantages that at least the model information and the control information of the tested equipment are adopted to determine the target test sequence, so that the determined target test sequence is reasonable, the test efficiency of a tester for testing the tested equipment based on the target test sequence is high, and the problems that the test flow determined in the prior art is unreasonable and the test efficiency is low are solved.
2) In the determining device of the test flow, the obtaining unit is used for obtaining the model information of the tested equipment and the information of the electronic control unit corresponding to the tested equipment; the determining unit is used for determining a target test sequence for testing the tested equipment at least based on the model information and the control information of the tested equipment according to the priority of each test sequence stored in the function module library; the sending unit is used for sending the determined target test sequence to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence. In the scheme, the target test sequence consists of a plurality of different identifiers, and one identifier is used for identifying one test function, that is, the test module in the test process is scattered, so that the granularity of the test function identified by each identifier in the determined target test sequence is smaller, and the personalized test requirement of a tester is better met. In addition, compared with the prior art that only the technological process of the tested equipment is adopted to determine the target test sequence, the method and the device have the advantages that at least the model information and the control information of the tested equipment are adopted to determine the target test sequence, so that the determined target test sequence is reasonable, the test efficiency of a tester for testing the tested equipment based on the target test sequence is high, and the problems that the test flow determined in the prior art is unreasonable and the test efficiency is low are solved.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. The method for determining the test flow is characterized by being applied to terminal equipment of a test bed, wherein the terminal equipment comprises a display screen, and the method for determining comprises the following steps:
responding to a first preset operation acted on the display screen, acquiring model information and control information of tested equipment, wherein the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment;
determining a target test sequence at least based on the model information and the control information of the tested equipment and according to the priority order of each test sequence in a function module library, wherein a plurality of test sequences are stored in the function module library, each test sequence consists of a plurality of different identifiers, the identifiers are arranged according to the sequence of the test, one identifier is used for identifying one test function, and the priority order is determined according to the use times of each test sequence;
And sending the target test sequence to the display screen to prompt a tester to test the tested equipment based on the target test sequence.
2. The determination method according to claim 1, wherein determining a target test sequence based on at least the model information and the control information of the device under test and in order of priority of each test sequence in a function module library comprises:
receiving a test type of the device under test in response to a second predetermined operation acting on the display screen, the test type comprising one of: the device testing system comprises a cold test car and a hot test car, wherein the cold test car is used for testing the tested device under the condition that the tested device does not operate, and the hot test car is used for testing the tested device under the condition that the tested device operates;
determining a corresponding technological process of the tested equipment based on the test type of the tested equipment;
and determining the target test sequence according to the priority sequence of each test sequence in the function module library based on the technological process, the model information and the control information of the tested equipment.
3. The determining method according to claim 2, wherein the device under test is an engine, the control information includes ECU type information and ECU data version information, each of the test sequences includes a first test sequence having a highest priority, a second test sequence having a lowest priority, and a third test sequence having a sequence in which a test on the engine has been completed, the third test sequence being determined in accordance with the process flow of the engine, the second test sequence including the third test sequence,
based on the process flow, the model information and the control information of the tested equipment, and according to the priority order of the test sequences in the function module library, determining the target test sequence comprises the following steps:
searching the first test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library;
and determining the first test sequence as the target test sequence.
4. A determining method according to claim 3, wherein in the case where there are a plurality of the first test sequences found, determining the first test sequence as the target test sequence includes:
and determining the first test sequence with the largest use frequency as the target test sequence, and adding 1 to the use frequency of the first test sequence with the largest use frequency.
5. A determination method according to claim 3, wherein in the case where the first test sequence is not found from the function module library, the determination method further comprises:
searching the second test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the functional module library;
and determining the second test sequence as the target test sequence.
6. The method according to claim 5, wherein in the case that the second test sequence is not found from the function module library, the method further comprises:
searching the third test sequence matched with the technological process, the model information, the ECU type information and the ECU data version information of the engine from the function module library;
And determining the third test sequence as the target test sequence.
7. The determination method according to any one of claims 1 to 6, wherein in transmitting the target test sequence to the display screen to prompt a tester to test the device under test based on the target test sequence, the determination method further comprises:
receiving said identifier of a real-time test function in response to a third predetermined operation acting on said display screen;
adding the identifier to the target test sequence to obtain an updated target test sequence;
and sending the updated target test sequence to the function module library so as to form a first test sequence through the updated target test sequence.
8. A determining device for a test procedure, wherein the determining device is applied to a terminal device of a test bed, the terminal device comprises a display screen, and the determining device comprises:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for responding to a first preset operation acted on the display screen and acquiring model information and control information of tested equipment, the tested equipment is a part of a vehicle, and the control information is information of an electronic control unit corresponding to the tested equipment;
A determining unit, configured to determine a target test sequence based on at least the model information and the control information of the tested device and according to a priority order of each test sequence in a function module library, where the function module library stores a plurality of test sequences, the test sequences are composed of a plurality of different identifiers, and the identifiers are arranged according to a test sequence, and one identifier is used to identify a test function, and the priority order is determined according to a number of times of use of each test sequence;
and the sending unit is used for sending the target test sequence to the display screen so as to prompt a tester to test the tested equipment based on the target test sequence.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of determining a test procedure according to any of claims 1 to 7 by means of the computer program.
10. A test system, comprising:
terminal equipment comprising determining means of a test procedure for performing the determining method of a test procedure according to any one of claims 1 to 7;
And the tested equipment is communicated with the terminal equipment.
CN202310326819.6A 2023-03-27 2023-03-27 Determination method and determination device for test flow, electronic device and test system Pending CN116337456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310326819.6A CN116337456A (en) 2023-03-27 2023-03-27 Determination method and determination device for test flow, electronic device and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310326819.6A CN116337456A (en) 2023-03-27 2023-03-27 Determination method and determination device for test flow, electronic device and test system

Publications (1)

Publication Number Publication Date
CN116337456A true CN116337456A (en) 2023-06-27

Family

ID=86882109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310326819.6A Pending CN116337456A (en) 2023-03-27 2023-03-27 Determination method and determination device for test flow, electronic device and test system

Country Status (1)

Country Link
CN (1) CN116337456A (en)

Similar Documents

Publication Publication Date Title
CN110908879B (en) Reporting method, reporting device, reporting terminal and recording medium of buried point data
DE102016125848A1 (en) Container application with dynamic subpack loader
CN107832100A (en) A kind of loading method and its terminal of APK plug-in units
CN108055264A (en) Dispatching device, method and the computer readable storage medium of stream pushing server
CN108681459B (en) Firmware updating method, device and system for intelligent hardware equipment
CN107957888B (en) Application program gray scale upgrading method and device
CN113672441B (en) Method and device for testing intelligent equipment
CN108681504A (en) Automated testing method, test server and computer readable storage medium
WO2017030584A1 (en) Peripheral device pairing
CN111464351B (en) Network distribution method and device for intelligent household equipment, terminal equipment and storage medium
CN114760289B (en) Vehicle data acquisition method, device, computer equipment and storage medium
CN105988841A (en) Update method of application program, and mobile terminal
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN116133160A (en) Automatic pairing method and device of intelligent equipment, processor and electronic equipment
CN113285810B (en) Target equipment login method and device, storage medium and electronic device
CN105117254B (en) Wireless communication module and operation method and device thereof
CN116337456A (en) Determination method and determination device for test flow, electronic device and test system
CN111158947A (en) Method for making pre-copy file, server and readable storage medium
CN111638871A (en) Equipment information processing method, device, equipment and medium
CN110365789A (en) The air-conditioning system means of communication, device, master control set and storage medium
CN108920333B (en) Event state monitoring method and event state monitor
CN112420019B (en) Equipment testing method and device
CN109670093A (en) Crawler recognition methods, device, equipment and readable storage medium storing program for executing
CN109269628A (en) Method, terminal device and the computer readable storage medium of monitoring motor vibration
CN112799910A (en) Hierarchical monitoring method and device

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