CN115657633A - Electronic control unit electric detection method and device, storage medium and electronic equipment - Google Patents

Electronic control unit electric detection method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115657633A
CN115657633A CN202211180122.4A CN202211180122A CN115657633A CN 115657633 A CN115657633 A CN 115657633A CN 202211180122 A CN202211180122 A CN 202211180122A CN 115657633 A CN115657633 A CN 115657633A
Authority
CN
China
Prior art keywords
script
electronic control
control unit
detected
execution
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
CN202211180122.4A
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.)
Beijing Rockwell Technology Co Ltd
Original Assignee
Beijing Rockwell 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 Beijing Rockwell Technology Co Ltd filed Critical Beijing Rockwell Technology Co Ltd
Priority to CN202211180122.4A priority Critical patent/CN115657633A/en
Publication of CN115657633A publication Critical patent/CN115657633A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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]

Abstract

The application provides an electronic control unit electric detection method, an electronic control unit electric detection device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of a detected electronic control unit; and calling scripts corresponding to the script information according to the execution sequence so as to detect the detected functions of the detected electronic control unit according to the execution sequence. The electric detection method of the scheme executes mutually independent scripts instead of complex scripts with multiple detection functions, so that the complexity of the electric detection process is reduced.

Description

Electronic control unit electric detection method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of vehicle equipment technologies, and in particular, to an electronic control unit electrical inspection method, an electronic control unit electrical inspection device, a storage medium, and an electronic device.
Background
At present, as vehicles are rapidly developed toward intellectualization, the number of electronic control units in the vehicles is gradually increased. In order to ensure the normal operation of the vehicle, the electronic control units in the vehicle need to perform detection, and generally, the detection is realized by a script for performing function detection of the engine and the electronic control units, and the process is the electrical detection of the vehicle.
In the prior art, when a vehicle is subjected to electrical inspection, the same engine needs to perform detection on a plurality of electronic control units, detection tasks of the plurality of electronic control units need to be written into the same script and run by the engine, so that the engine needs to execute a very complex script to obtain a detection result, and high complexity exists.
Disclosure of Invention
The application aims to provide an electronic control unit electric detection method, an electronic control unit electric detection device, a storage medium and electronic equipment, so as to solve the technical problem that an electric detection scheme of an existing electronic control unit is complex.
The technical scheme of the first aspect of the application provides an electric detection method of an electronic control unit, which comprises the following steps:
acquiring a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of a detected electronic control unit;
and calling scripts corresponding to the script information according to the execution sequence so as to detect the detected functions of the detected electronic control unit according to the execution sequence.
In some embodiments, the method for electronically inspecting an electronic control unit, where the invoking of the script corresponding to the script information according to the execution order is performed to inspect the inspected function of the inspected electronic control unit according to the execution order, includes:
acquiring script execution information, wherein the script execution information records the execution state of the current script;
and judging whether the current script is executed or not according to the execution state, and if the current script is executed, indicating that the detected function corresponding to the current script is detected.
In some embodiments, the method for electronically inspecting an electronic control unit, in which the script corresponding to the script information is called according to the execution sequence to inspect the inspected function of the inspected electronic control unit according to the execution sequence, further includes:
determining script information of a next script to be executed according to the execution sequence;
determining data required by the execution of the next script according to the script information of the next script;
and when the next script is executed, sending required data to the detected electronic control unit corresponding to the next script.
In some embodiments, the method for electronically inspecting an electronic control unit, where the invoking of the script corresponding to the script information according to the execution order is performed to inspect the inspected function of the inspected electronic control unit according to the execution order, includes:
responding to a completion signal of completion of execution of each script, and acquiring execution result information of each script, wherein the execution result information represents a detection result of the detected function;
and in response to an end signal of finishing the execution of all the scripts, summarizing the execution result information of all the scripts to obtain the detection results of all the detected functions of all the detected electronic control units.
In some embodiments, the method for electronically inspecting an electronic control unit, the acquiring, in response to a completion signal that the execution of each of the scripts is completed, execution result information of each of the scripts, the execution result information representing a detection result of the detected function, includes:
the execution result information includes a detected electronic control unit, a detected function, and a detection time recorded in correspondence with the execution result information.
In some embodiments, the step of executing the script corresponding to the script information according to the calling sequence to detect the detected function of the detected electronic control unit according to the execution sequence further includes:
obtaining the electric detection starting time according to the calling time of the first script in the scripts, and obtaining the electric detection ending time according to the time of the last script in the scripts after the last script in the scripts is executed;
and obtaining the electric detection execution result according to the electric detection starting time, the electric detection ending time and the execution result information of each script.
The technical scheme of the second aspect of the present application provides an electric detection method of an electronic control unit, comprising:
generating a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of a detected electronic control unit;
and sending the script configuration file to a telegraph test engine.
An aspect of the third aspect of the present application provides an electrical detection device of an electronic control unit, including:
the configuration file acquisition module is used for acquiring script configuration files, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration files, and each script corresponds to one detected function of one detected electronic control unit;
and the detection execution module is used for calling scripts corresponding to the script information according to the execution sequence so as to detect the detected functions of the detected electronic control unit according to the execution sequence.
The technical solution of the fourth aspect of the present application provides an electrical inspection server of an electronic control unit, including:
the script configuration file generation module is used for generating script configuration files, script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration files, and each script corresponds to one detected function of one detected electronic control unit;
and the script configuration file sending module is used for sending the script configuration file to the electric examination engine.
A fifth aspect of the present invention provides a storage medium, where program information is stored in the storage medium, and a computer reads the program information and then executes the electrical inspection method of the electronic control unit according to any one of the first aspect or the second aspect.
An embodiment of the sixth aspect of the present application provides an electronic device, including at least one processor and at least one memory, where at least one of the memories stores program information, and after reading the program information, the at least one processor executes the electrical inspection method of the electronic control unit according to any one of the first aspect or the second aspect.
By adopting the technical scheme, the method has the following beneficial effects:
according to the scheme provided by the application, each script only corresponds to one detected function of one detected electronic control unit, in the process of executing the electrical detection, the execution sequence of different scripts can be obtained by acquiring the script configuration file, and different functions of different electronic control units can be detected by sequentially calling each script according to the execution sequence. Therefore, the electric detection process executes mutually independent scripts instead of complex scripts with multiple detection functions, so that the electric detection mode reduces the complexity of the electric detection process.
Drawings
Fig. 1 is a flowchart illustrating a method for performing an electrical test of an electronic control unit by an electrical test engine according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a sequential script execution process of the electronic control unit in another embodiment of the present application;
fig. 3 is a flowchart illustrating an electrical inspection method of the cloud-implemented electronic control unit according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electrical testing device of an electronic control unit according to an embodiment of the present application;
fig. 5 is a block diagram of an electrical inspection server of an electronic control unit according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a hardware connection relationship of an electronic device executing an electrical inspection method of an electronic control unit according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are further described below with reference to the accompanying drawings.
It is easily understood that according to the technical solutions of the present application, those skilled in the art can substitute various structures and implementations without changing the spirit of the present application. Therefore, the following detailed description and the accompanying drawings are merely illustrative of the technical solutions of the present application, and should not be construed as limiting or restricting the technical solutions of the present application in their entirety.
The terms of orientation of up, down, left, right, front, back, top, bottom, and the like referred to or may be referred to in this specification are defined relative to the configuration shown in the drawings, and are relative terms, and thus may be changed correspondingly according to the position and the use state of the device. Therefore, these and other directional terms should not be construed as limiting terms.
The embodiment provides an electrical inspection method of an electronic control unit, which can be applied to an electrical inspection engine, as shown in fig. 1, and the method includes:
s10: the method comprises the steps of obtaining a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to one detected function of one detected electronic control unit.
In this step, the script configuration file may be pre-stored in a certain storage area of the electric examination engine, or stored in an external storage medium (such as a mobile hard disk), or may be obtained from the cloud. In different detected electronic control units, there are separate script files for different detected functions, for example, the cloud sorts the different script files according to the identification information of the detected electronic control unit and the attribute information of the detected function, which is equivalent to arranging the detection order of the detected electronic control unit and the detection order of the detected function, and the script configuration file can be obtained after the arrangement is completed. The script information recorded in the script configuration file may include information such as script ID information, a number of an execution sequence of the script, script description, and a script name, and the detected electronic control unit corresponding to the script can be determined according to the script ID information, and the detected function corresponding to the script can be determined according to the script description.
S20: and calling scripts corresponding to the script information according to the execution sequence so as to detect the detected functions of the detected electronic control unit according to the execution sequence.
In this step, the electrical inspection engine can sequentially call each script according to the execution sequence, and each call of a script is equivalent to the detection of one inspected function of one inspected electronic control unit. After the script is called, the electric test engine can perform interaction of detection information with the tested electronic control unit and judge whether the tested electronic control unit can receive information, processing information or feedback information according to the design requirement corresponding to the script.
In the above scheme, each script corresponds to only one detected function of one detected electronic control unit when the electrical detection is executed, in the process of executing the electrical detection, the execution sequence of different scripts can be obtained by acquiring the script configuration file, and different functions of different electronic control units can be detected by sequentially calling each script according to the execution sequence. Therefore, the electric detection process executes mutually independent scripts instead of complex scripts with multiple detection functions, so that the electric detection mode reduces the complexity of the electric detection process.
In addition, because different detected functions of different detected electronic control units in the scheme adopt mutually independent scripts, different detection tasks are mutually independent and cannot influence each other in the process of executing the electric detection, the coupling among different detection tasks is eliminated, and the accuracy of a detection result is improved.
In the above solution, as shown in fig. 2, the step S20 of calling a script corresponding to the script information according to the execution sequence to detect the detected function of the detected electronic control unit according to the execution sequence includes:
s201: and acquiring script execution information, wherein the script execution information records the execution state of the current script.
In this step, after the electric test engine acquires the script information, an execution state may be obtained through parsing according to the script information, where the execution state may represent an execution progress of a current script, and may include, for example: percentage completed, estimated remaining execution time, etc.
S202: and judging whether the current script is executed or not according to the execution state, and if the current script is executed, indicating that the detected function corresponding to the current script is detected.
In this step, whether the detected function corresponding to each script has completed detection can be judged according to the execution state, so that the automatic monitoring of the electric detection process is realized. In specific implementation, a memory space may be reserved in the electrical inspection engine, and the monitoring process data of the execution state of each script may be stored in the memory space.
Further, in step S20 in the above scheme, the calling a script corresponding to the script information according to the execution order to detect the detected function of the detected electronic control unit according to the execution order further includes:
s203: and determining script information of the next script to be executed according to the execution sequence.
The script information and the execution sequence of each script are already recorded in the script configuration file, so that the next script can be determined according to the execution sequence when the current script is executed.
S204: and determining data required by the execution of the next script according to the script information of the next script.
Since the detected electronic control unit and the detected function corresponding to each script are determined, and the interaction requirements between different detected functions and the electrical detection engine when detection is performed may be different, the electrical detection engine may be required to send different data to perform diagnostic detection on different functions. For example, for some electronic control units with an interactive function, which need to have an information response function, the electronic test engine and the electronic control unit need to send an interactive signal according to a preset communication protocol to diagnose whether the electronic control unit can feed back a response signal within a specified time.
S205: and when the next script is executed, sending required data to the detected electronic control unit corresponding to the next script.
According to the scheme, the electric test engine can prepare the data corresponding to the script to be executed in advance according to the script configuration file and the execution sequence of different scripts, and immediately send the data to the corresponding electronic control unit to be tested when the script is executed, so that the function to be tested of the electronic control unit to be tested can be diagnosed.
In some aspects, the step S20 may further include:
s206: and responding to a completion signal of the completion of the execution of each script, and acquiring the execution result information of each script, wherein the execution result information represents the detection result of the detected function.
The detected electronic control units and the detected functions corresponding to different scripts are different, so that the execution result information of each script corresponds to the detection result of one detected function of one detected electronic control unit, and the detection result can indicate passing detection or detection failure and the like.
S207: and in response to an end signal of the completion of the execution of all the scripts, summarizing the execution result information of all the scripts to obtain the detection results of all the detected functions of all the detected electronic control units.
In the electrical inspection engine, memory spaces for storing script execution result information can be respectively allocated to each script, the script execution result information is stored in the memory spaces, after all the scripts are completely executed, the electrical inspection engine can summarize and analyze the execution result information of all the scripts to obtain the execution result of the electrical inspection task, for example, the execution result of the electrical inspection task can be defined as pass if the detection results of all the detected functions of all the detected electronic control units pass, and the execution result of the electrical inspection task can be defined as fail if the detected electronic control units with detection failure exist.
Further, in step S206, the execution result information further includes a detected electronic control unit, a detected function, and a detection time, which are recorded in correspondence with the execution result information. In the scheme, the execution result information is associated with the corresponding detected electronic control unit and the detected function, so that a worker can conveniently confirm the failure details of the detected task, and the maintenance, the updating and the like are facilitated.
Still more preferably, in the above step S20, the following steps may be further included:
s208: and obtaining the electric detection starting time according to the calling time of the first script in the scripts, and obtaining the electric detection ending time according to the time of the last script in the scripts for completing the execution.
According to the first script and the last script in the execution sequence, the electric examination engine can record the calling time and the execution completion time of the electric examination engine, so that the starting time and the ending time of the electric examination task are determined.
S209: and obtaining the electric detection execution result according to the electric detection starting time, the electric detection ending time and the execution result information of each script.
In the scheme, the electric examination engine fuses the aggregated execution result information and the starting time and the ending time of the electric examination task into an electric examination execution result, so that complete information is formed and stored, and therefore, electric examination personnel can conveniently check the electric examination result subsequently.
Some embodiments of the present application further provide an electronic inspection method for an electronic control unit, which can be applied to a cloud, as shown in fig. 3, the method includes:
s30: and generating a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to one detected function of one detected electronic control unit.
The cloud end can create a configuration file used for recording the execution sequence of the scripts, operators can freely configure the configuration file at the cloud end, and the configuration file of the scripts can comprise configuration information such as foot IDs, execution sequence numbers of the scripts, script descriptions, script names and the like.
S40: and sending the script configuration file to a telegraph test engine.
The step can be automatically executed after the electric detection task is started, the electric detection engine and the cloud end can be in communication connection, the electric detection engine can send a request to the cloud end, and the cloud end can send the script configuration file to the electric detection engine after receiving the request.
According to the scheme, the execution sequence of different scripts can be configured automatically, namely the detection sequence of different detected tasks of different detected electronic control units can be configured automatically, so that the detection tasks of each detected function are independent of each other and are sequentially executed according to the sequence, a complex script file does not need to be constructed, the coupling relation of different detection tasks does not exist, the electric detection process is greatly simplified, and the flexibility and the accuracy of the electric detection process are improved.
Some embodiments of the present application provide an electrical detection device of an electronic control unit, as shown in fig. 4, including:
a configuration file obtaining module 10, configured to obtain a script configuration file, where script information of multiple scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of one detected electronic control unit; the script configuration file can be stored in the electric detection device in advance, or stored in an external storage medium (such as a mobile hard disk), or acquired from the cloud. In different detected electronic control units, there is a separate script file for different detected function detection modes, and the script information recorded in the script configuration file may include information such as script ID information, serial number of the execution sequence of the script, script description, and script name, etc., and the detected electronic control unit corresponding to the script can be determined according to the script ID information, and the detected function corresponding to the script can be determined according to the script description.
And the detection execution module 20 is configured to call a script corresponding to the script information according to the execution sequence, so as to detect the detected function of the detected electronic control unit according to the execution sequence. And sequentially calling each script according to the execution sequence, wherein each calling of one script is equivalent to the detection of one detected function of one detected electronic control unit. After the script is called, the electric test engine can perform interaction of detection information with the tested electronic control unit and judge whether the tested electronic control unit can receive information, processing information or feedback information according to the design requirement corresponding to the script.
In the above apparatus, each script corresponds to only one detected function of one detected electronic control unit when performing the electrical detection, and in the process of performing the electrical detection, the execution sequence of different scripts can be obtained by obtaining the script configuration file, and different functions of different electronic control units can be detected by sequentially calling each script according to the execution sequence. Therefore, the electric detection process executes mutually independent scripts instead of complex scripts with multiple detection functions, so that the electric detection mode reduces the complexity of the electric detection process.
In some embodiments, the detection execution module 20 is further configured to obtain script execution information, where the script execution information records an execution state of a current script. And judging whether the current script is executed or not according to the execution state, and if the current script is executed, indicating that the detected function corresponding to the current script is detected. In the step, whether the detected function corresponding to each script is detected or not can be judged according to the execution state, so that the automatic monitoring of the electric detection process is realized.
In some embodiments, the detection execution module 20 is further configured to determine script information of a next script to be executed according to the execution sequence, determine data required for executing the next script according to the script information of the next script, and send the required data to the detected electronic control unit corresponding to the next script when the next script is executed. Since the detected electronic control unit and the detected function corresponding to each script are determined, and the interaction requirements between different detected functions and the electrical detection engine when detection is performed may be different, the electrical detection engine may be required to send different data to perform diagnostic detection on different functions. According to the scheme, the electric test engine can prepare the data corresponding to the script to be executed in advance according to the script configuration file and the execution sequence of different scripts, and the data can be immediately sent to the corresponding detected electronic control unit when the script is executed. Thereby diagnosing the function of the tested electronic control unit.
In some embodiments, the detection execution module 20 is further configured to, in response to a completion signal that each script completes execution, obtain execution result information of each script, where the execution result information represents a detection result of the detected function, and in response to an end signal that all scripts complete execution, obtain, after summarizing the execution result information of all scripts, detection results of all detected functions of all detected electronic control units. The detected electronic control units and the detected functions corresponding to different scripts are different, so that the execution result information of each script corresponds to the detection result of one detected function of one detected electronic control unit, and the detection result can indicate passing detection or detection failure and the like. According to the scheme, memory spaces for storing script execution result information can be distributed for each script, the script execution result information is stored in the memory spaces, after all the scripts are completely executed, the electric inspection engine can collect and analyze the execution result information of all the scripts to obtain the execution result of the electric inspection task, for example, the execution result of the electric inspection task can be defined as passing if the detection results of all detected functions of all detected electronic control units pass, and the execution result of the electric inspection task can be defined as failing if the detected electronic control units fail to detect.
In the detection execution module 20 of some aspects, the execution result information further includes a detected electronic control unit, a detected function, and a detection time recorded in correspondence with the execution result information. In the scheme, by associating the execution result information with the corresponding detected electronic control unit and the detected function, the failure details of the detected task can be conveniently confirmed by the staff, so that the staff can conveniently maintain, update and the like.
In the detection execution module 20 of some aspects, the electrical detection start time is obtained according to the call time of the first script in the plurality of scripts, and the electrical detection end time is obtained according to the time when the last script in the plurality of scripts completes execution. And obtaining the electric detection execution result according to the electric detection starting time, the electric detection ending time and the execution result information of each script. In the scheme, the electric examination engine fuses the aggregated execution result information and the starting time and the ending time of the electric examination task into an electric examination execution result, so that complete information is formed and stored, and therefore, electric examination personnel can conveniently check the electric examination result subsequently.
Some embodiments of the present application further provide an electrical inspection server of an electronic control unit, as shown in fig. 5, including:
a script configuration file generating module 30, configured to generate a script configuration file, where script information of multiple scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of one detected electronic control unit; the cloud end can establish a configuration file for recording the execution sequence of the script, the configuration file can be freely configured by an operator at the cloud end, and the configuration file of the script can comprise configuration information such as the foot ID, the execution sequence number of the script, the script description, the script name and the like. And the script configuration file sending module 40 is configured to send the script configuration file to the electric examination engine. The electric detection engine and the cloud end can be in communication connection, the electric detection engine can send a request to the cloud end, and the cloud end sends the script configuration file to the electric detection engine after receiving the request.
According to the scheme, the execution sequence of different scripts can be configured automatically, namely the detection sequence of different detected tasks of different detected electronic control units can be configured automatically, so that the detection tasks of each detected function are independent of one another and are sequentially executed according to the sequence, complex script files do not need to be constructed, the coupling relation of different detection tasks does not exist, the electric detection process is greatly simplified, and the flexibility and the accuracy of the electric detection process are improved.
In some embodiments, a storage medium is further provided, in which program information is stored, and a computer reads the program information and executes the electrical detection method of the electronic control unit described in the above method embodiments.
In some embodiments, an electronic device is provided, as shown in fig. 6, and includes at least one processor 51 and at least one memory 52, at least one of the memories 52 stores program information, and after the at least one of the processors 51 reads the program information, the electronic device performs the electrical detection method of the electronic control unit according to any one of the above descriptions. The electronic device may further include: an input device 53 and an output device 54. The processor 51, memory 52, input device 53, and output device 54 may be communicatively coupled. The memory 52, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 51 executes various functional applications and data processing by running nonvolatile software programs, instructions and modules stored in the memory 52, that is, implements the electronic control unit electrical detection method provided by any of the above aspects.
According to the needs, the above technical schemes can be combined to achieve the best technical effect.
The foregoing is considered as illustrative only of the principles and preferred embodiments of the application. It should be noted that, for a person skilled in the art, several other modifications can be made on the basis of the principle of the present application, and these should also be considered as the scope of protection of the present application.

Claims (11)

1. An electrical test method of an electronic control unit, comprising:
acquiring a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of a detected electronic control unit;
and calling scripts corresponding to the script information according to the execution sequence so as to detect the detected functions of the detected electronic control unit according to the execution sequence.
2. The electrical inspection method of the electronic control unit according to claim 1, wherein the calling the script corresponding to the script information according to the execution sequence to detect the inspected function of the inspected electronic control unit according to the execution sequence comprises:
acquiring script execution information, wherein the script execution information records the execution state of the current script;
and judging whether the current script is executed or not according to the execution state, and if the current script is executed, indicating that the detected function corresponding to the current script is detected.
3. The electrical inspection method of an electronic control unit according to claim 2, wherein the calling scripts corresponding to the script information according to the execution sequence to detect the inspected functions of the inspected electronic control unit according to the execution sequence further comprises:
determining script information of a next script to be executed according to the execution sequence;
determining data required by the execution of the next script according to the script information of the next script;
and when the next script is executed, sending required data to the detected electronic control unit corresponding to the next script.
4. The electrical inspection method of the electronic control unit according to claim 3, wherein the calling the script corresponding to the script information according to the execution sequence to detect the inspected function of the inspected electronic control unit according to the execution sequence comprises:
responding to a completion signal of completion of execution of each script, and acquiring execution result information of each script, wherein the execution result information represents a detection result of the detected function;
and in response to an end signal of finishing the execution of all the scripts, summarizing the execution result information of all the scripts to obtain the detection results of all the detected functions of all the detected electronic control units.
5. The electrical inspection method of an electronic control unit according to claim 4, wherein said acquiring execution result information of each script in response to a completion signal that execution of each script is completed, the execution result information representing a detection result of the inspected function, comprises:
the execution result information includes a detected electronic control unit, a detected function, and a detection time recorded in correspondence with the execution result information.
6. The electrical inspection method of an electronic control unit according to claim 5, wherein the step of executing the script corresponding to the script information according to the calling sequence to detect the inspected function of the inspected electronic control unit according to the executing sequence further comprises:
obtaining the electric detection starting time according to the calling time of the first script in the scripts, and obtaining the electric detection ending time according to the time for finishing the execution of the last script in the scripts;
and obtaining the electric detection execution result according to the electric detection starting time, the electric detection ending time and the execution result information of each script.
7. An electrical testing method of an electronic control unit, comprising:
generating a script configuration file, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration file, and each script corresponds to a detected function of a detected electronic control unit;
and sending the script configuration file to a telegraph inspection engine.
8. An electrical testing device of an electronic control unit, comprising:
the configuration file acquisition module is used for acquiring script configuration files, wherein script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration files, and each script corresponds to one detected function of one detected electronic control unit;
and the detection execution module is used for calling scripts corresponding to the script information according to the execution sequence so as to detect the detected functions of the detected electronic control unit according to the execution sequence.
9. An electronic test server of an electronic control unit, comprising:
the script configuration file generation module is used for generating script configuration files, script information of a plurality of scripts and an execution sequence corresponding to the script information are recorded in the script configuration files, and each script corresponds to one detected function of one detected electronic control unit;
and the script configuration file sending module is used for sending the script configuration file to the electric examination engine.
10. A storage medium having program information stored therein, wherein the program information is read by a computer to execute an electrical inspection method of an electronic control unit according to any one of claims 1 to 6 or an electrical inspection method of an electronic control unit according to claim 7.
11. An electronic device comprising at least one processor and at least one memory, at least one of the memory storing program information, at least one of the processor executing the electronic control unit electrical testing method of any one of claims 1-6 or the electronic control unit electrical testing method of claim 7 after reading the program information.
CN202211180122.4A 2022-09-26 2022-09-26 Electronic control unit electric detection method and device, storage medium and electronic equipment Pending CN115657633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211180122.4A CN115657633A (en) 2022-09-26 2022-09-26 Electronic control unit electric detection method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211180122.4A CN115657633A (en) 2022-09-26 2022-09-26 Electronic control unit electric detection method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115657633A true CN115657633A (en) 2023-01-31

Family

ID=84985437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211180122.4A Pending CN115657633A (en) 2022-09-26 2022-09-26 Electronic control unit electric detection method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115657633A (en)

Similar Documents

Publication Publication Date Title
KR102537875B1 (en) Method and apparatus for dinamically injecting fault for vehicle ecu software test
CN110908888B (en) Server testing method and device
US20150370691A1 (en) System testing of software programs executing on modular frameworks
CN110213258B (en) Abnormity monitoring method and device for vehicle CAN bus and computer equipment
CN110674034A (en) Health examination method and device, electronic equipment and storage medium
US8327189B1 (en) Diagnosing an incident on a computer system using a diagnostics analyzer database
CN106980572B (en) Online debugging method and system for distributed system
CN110888804B (en) Interface test method and interface test platform
CN110874311A (en) Database detection method and device, computer equipment and storage medium
CN106294109B (en) Method and device for acquiring defect code
CN110928777B (en) Test case processing method, device, equipment and storage medium
CN111124828B (en) Data processing method, device, equipment and storage medium
CN112506758A (en) Firmware refreshing method and device, computer equipment and storage medium
CN116225802A (en) Fault testing method and device and computing equipment
CN113535538A (en) Application full-link automatic testing method and device, electronic equipment and storage medium
CN109144874B (en) Method and device for monitoring test environment
CN115657633A (en) Electronic control unit electric detection method and device, storage medium and electronic equipment
CN111666200A (en) Testing method and terminal for time consumption of cold start of PC software
CN115934503A (en) Program testing method, device, equipment and storage medium
CN116257437A (en) ADAS system defect verification method and device based on real vehicle data reinjection
CN115344490A (en) Method and device for testing software product, storage medium and electronic equipment
CN108845932B (en) Unit testing method and device of network library, storage medium and terminal
CN109271309B (en) Method and device for automatically testing software, server, equipment and storage medium
CN112506760A (en) Vehicle controller software flash test method, system, device and storage medium
CN112463478A (en) Interface test method and device of circuit board and test equipment

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