CN114526925A - Vehicle offline detection method and device, electronic equipment and storage medium - Google Patents

Vehicle offline detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114526925A
CN114526925A CN202210155159.5A CN202210155159A CN114526925A CN 114526925 A CN114526925 A CN 114526925A CN 202210155159 A CN202210155159 A CN 202210155159A CN 114526925 A CN114526925 A CN 114526925A
Authority
CN
China
Prior art keywords
tested
environment
test
type
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210155159.5A
Other languages
Chinese (zh)
Inventor
汤利顺
张天
王彦聪
赵萌
李玉发
孙克文
边泽宇
孙琦
赵泽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210155159.5A priority Critical patent/CN114526925A/en
Publication of CN114526925A publication Critical patent/CN114526925A/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
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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 invention discloses a vehicle offline detection method, a vehicle offline detection device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the type of an environment to be tested configured by an upper computer; the type of the environment to be tested is a single environment test or a compatible environment test; matching a test case library associated with the type of the environment to be tested as a target test case library according to the type of the environment to be tested; and determining an item to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the item to be tested. Through the technical scheme of this embodiment, can be integrated host computer and single environmental test and compatible environmental test's testing arrangement, realize data sharing and automated testing, be favorable to improving the efficiency of software testing's that rolls off production line.

Description

Vehicle offline detection method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicle control, in particular to a vehicle offline detection method and device, electronic equipment and a storage medium.
Background
Along with the promotion of car function complexity, the controller figure set formula increases, and the car flow of inserting the production line also becomes more and more complicated, and this has improved the requirement to inserting the production line detection greatly to ensure to produce the functional stability that the line detected and production efficiency's stability of inserting the production line loading in-process.
The conventional offline detection process can be generally divided into two parts: observing whether the diagnosis data flow in the offline flow is correct or not through simulating the instruction of the upper computer; and after the corresponding command is sent, observing whether the action of each actuator is normal. The test of the data flow can be executed through a component-level test or an actual vehicle-level test; the latter is generally convenient to be performed in real vehicle-level tests because related actuators are involved. However, with the increase of controllers, the test complexity increases geometrically, which seriously affects the efficiency of off-line detection, and needs to be improved.
Disclosure of Invention
The invention provides an offline detection method and device for a vehicle, electronic equipment and a storage medium, which are used for reducing the influence of a controller on the offline detection efficiency and improving the offline detection efficiency.
In a first aspect, an embodiment of the present invention provides an offline detection method for a vehicle, where the method includes:
acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test;
according to the type of the environment to be tested, matching a test case library associated with the type of the environment to be tested as a target test case library;
and determining an item to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the item to be tested.
In a second aspect, an embodiment of the present invention further provides an offline detection device for a vehicle, where the device includes:
the type acquisition module is used for acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test;
the application library matching module is used for matching a test application library associated with the type of the environment to be tested as a target test application library according to the type of the environment to be tested;
and the to-be-tested item determining module is used for determining to-be-tested items from the target test case library according to the to-be-tested environment type and carrying out automatic test on the to-be-tested items.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the offline detection method of the vehicle according to any embodiment of the present invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the offline detection method of a vehicle according to any embodiment of the present invention.
According to the off-line detection method and device for the vehicle, the electronic equipment and the storage medium, the type of the environment to be detected configured by the upper computer is obtained; the type of the environment to be tested is a single environment test or a compatible environment test; according to the type of the environment to be tested, matching a test case library associated with the type of the environment to be tested as a target test case library; and determining an item to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the item to be tested. Through the technical scheme of this embodiment, can be integrated with the testing arrangement of single environmental test and compatible environmental test with the host computer, realize data sharing and automated testing, be favorable to improving the efficiency of software testing's that rolls off production line, detect for rolling off production line of vehicle and provide a new thinking.
Drawings
FIG. 1A is a block diagram of an offline inspection system for a vehicle according to an embodiment of the present invention;
fig. 1B is a flowchart of a vehicle offline detection method according to an embodiment of the present invention;
fig. 2 is a flowchart of an offline detection method for a vehicle according to a second embodiment of the present invention;
fig. 3 is a flowchart of an offline detection method for a vehicle according to a third embodiment of the present invention;
fig. 4 is a block diagram illustrating a structure of an offline detection device of a vehicle according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
In order to clearly explain the technical solutions in the embodiments of the present application, first, the offline detection system of a vehicle according to the embodiments of the present application will be described in detail.
Referring to fig. 1A, an architecture diagram of an offline detection system of a vehicle according to an embodiment of the present invention is shown, where the offline detection system includes an upper computer, a use case layer, a hardware layer, and a detected piece.
The upper computer comprises single environment testing software, compatible environment testing software and a parallel processing module; the case layer comprises a single-component test case library, a whole vehicle test case library and a test case function library; the hardware layer comprises a test integration cabinet; the tested piece can comprise a whole vehicle and a single controller and a plurality of controllers.
Example one
Fig. 1B is a flowchart of a vehicle offline detection method according to an embodiment of the present invention, which is applicable to an offline process of a vehicle, and is particularly applicable to offline detection of a vehicle with many controllers. The method can be executed by the offline detection device of the vehicle, which can be implemented in a software and/or hardware manner and can be integrated on the electronic equipment.
Specifically, as shown in fig. 1B, the offline detection method for a vehicle according to the embodiment of the present invention may include the following steps:
s110, acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test.
The upper computer comprises single environment testing software, compatible environment testing software and a parallel processing module. The single environment test software is used to off-line test a single part, where the single part is a part in the finished vehicle and not a separate part that is split from the finished vehicle. The compatible environment test software is used for performing offline test on components of the whole vehicle, specifically, all controllers on one network segment, all controllers of the whole vehicle, and at least two arbitrary controllers in the whole vehicle, which have an association relationship.
Specifically, the single environment test software includes: the system comprises a management module, a diagnosis bottom layer module, a configuration module, a derivation module, an execution module and a report generation module. The management module is used for managing a project and vehicle type database; the diagnostic bottom layer module is used for adapting to the diagnostic data sending requirements of different buses through configuration; the configuration module is used for self-defining configurations of a diagnosis sequence, a test force option and the like of a single/multiple Electronic Control Unit (ECU); an export module for exporting the diagnostic configuration package; the execution module is used for automatically executing the test case; and the report generation module is used for generating a test report.
Furthermore, the compatible environment test software comprises a process management module, an automatic execution module and a report generation module. The process management module is used for configuring and managing specific parameters of the finished automobile process; the automatic execution module is used for automatically executing the test case; and the report generation module is used for generating a test report.
It should be noted that the single environment test software and the compatible environment test software are associated through the parallel processing module. The parallel processing module can send and process the diagnosis requests of the multiple controllers in parallel, and can calculate response time for each controller individually and judge response data. Because each diagnosis address is opened up with a processing channel, the number of the diagnosis addresses which support simultaneous transmission can be conveniently added or reduced, and the test data under the environment without environment can be analyzed and integrated. The offline flow in the development stage is often still in the debugging process and may change along with the requirements and the actual project progress, and the parallel processing module can flexibly increase and decrease the offline flow of the test equipment, so that the debugging in the development stage is facilitated.
Preferably, before the type of the environment to be tested configured by the upper computer is obtained, the power state needs to be checked and initialized. And under the condition of power supply readiness, acquiring the type of the environment to be detected configured by the upper computer.
120. And matching the test case library associated with the type of the environment to be tested as a target test case library according to the type of the environment to be tested.
The case layer comprises a single-component test case library, a whole vehicle test case library and a test case function library in a whole view. The single-component test case library is associated with single environment test software in the single chip microcomputer, the whole vehicle test case library is associated with compatible environment test software, and the single-component test case library and the whole vehicle test case library both need to call the test case function library.
Since the association between the environment type to be tested and the test case base is established before the test, in this embodiment, the test case base associated with the environment type to be tested may be matched as the target test case base according to the environment type to be tested based on the previously established association relationship. Specifically, if the type of the environment to be tested is compatible with the environment test, selecting the whole vehicle test case library as a target test case library; and if the type of the environment to be tested is single environment test, selecting the single-component test case library as a target test case library.
And S130, determining an item to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the item to be tested.
The test case library comprises a plurality of candidate test items. In this embodiment, according to the type of the environment to be tested, the matched item to be tested may be determined from the multiple candidate test items in the target test case library, and the item to be tested may be automatically tested. When the items to be tested are automatically tested, the test cases corresponding to the items to be tested are automatically executed.
According to the technical scheme of the embodiment, the type of the environment to be detected configured by the upper computer is obtained; the type of the environment to be tested is a single environment test or a compatible environment test; according to the type of the environment to be tested, matching a test case library associated with the type of the environment to be tested as a target test case library; and determining the items to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the items to be tested. Through the technical scheme of this embodiment, can be integrated with the testing arrangement of single environmental test and compatible environmental test with the host computer, realize data sharing and automated testing, be favorable to improving the efficiency of software testing's that rolls off production line, detect for rolling off production line of vehicle and provide a new thinking.
Example two
Fig. 2 is a flowchart of a vehicle offline detection method according to a second embodiment of the present invention, which is further optimized based on the second embodiment, and provides a detailed description of performing a compatible environment test.
Specifically, as shown in fig. 2, the method includes:
s210, acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test.
And S220, matching the test case library associated with the type of the environment to be tested as a target test case library according to the type of the environment to be tested.
And S230, determining the items to be tested under at least two environments from the target test case library under the condition that the type of the environment to be tested is compatible with the environment test.
Where compatible environment testing is referred to as testing of a non-single environment, it is understood that testing of at least two environments is performed. Under the condition that the environment type to be tested is compatible environment test, the items to be tested can be all controllers on one network segment, can also be all controllers of the whole vehicle, and can also be any at least two controllers in the whole vehicle, wherein the controllers have incidence relation.
The finished automobile test case library comprises a plurality of candidate items to be tested under a plurality of environments. In this embodiment, when the type of the environment to be tested is a compatible environment test, it may be determined that the entire vehicle test case base is a target test case base, and the items to be tested in at least two environments are determined from the entire vehicle test case base.
S240, carrying out automatic test on the items to be tested under at least two environments respectively, and outputting test results.
Further, the automated testing of the items under test in at least two environments may include: respectively carrying out single-environment automatic test on items to be tested in at least two environments; and determining corresponding retest operation according to the test result of the single environment automatic test.
It can be understood that if the test in the single environment does not pass, the test in the compatible environment does not necessarily pass; and the test under the single environment passes, and the test under the compatible environment may not pass because of other abnormal problems such as configuration problems among the single components.
Specifically, determining the corresponding retest operation according to the test result of the single environment automation test may include: if the single environment automatic test fails, determining whether the item to be tested meets the preset retest condition; if yes, switching to other test environments to retest the item to be tested.
And determining whether the item to be tested meets the preset retest condition, namely determining whether retest of the item to be tested is required. In this embodiment, the items to be retested may be predefined, and if the items to be retested are within the predefined range of the items to be retested, it is determined that the items to be retested satisfy the retesting condition. And the other switched environments can be determined according to the configuration and the incidence relation of the piece to be tested.
Preferably, the abnormal environment of the item to be tested can be determined according to the data obtained by retesting; and positioning the abnormal problem of the item to be detected according to the abnormal environment of the item to be detected.
According to the single environment test data and the retest data, the abnormal environment of the item to be tested can be accurately positioned, the efficiency of positioning abnormality is improved, the abnormality can be eliminated in time, the efficiency of whole offline detection is improved, and the quality of offline products is ensured.
The technical solution of this embodiment provides a description of a specific situation of performing the compatible environment test. Determining at least two items to be tested under the environment from the target test case library under the condition that the type of the environment to be tested is compatible with the environment test; and respectively carrying out automatic test on the items to be tested under at least two environments, and outputting test results. And the single environment test and the compatible environment test are associated, so that data sharing is facilitated, and the testing efficiency of offline detection is improved.
EXAMPLE III
Fig. 3 is a flowchart of a vehicle offline detection method according to a third embodiment of the present invention, which is further optimized based on the above-mentioned embodiments, and provides a description of a specific situation of retesting in a compatible environmental test.
Specifically, as shown in fig. 3, the method includes:
s310, acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test.
And S320, matching the test case library associated with the type of the environment to be tested as a target test case library according to the type of the environment to be tested.
S330, determining at least two items to be tested under the environment from the target test case library under the condition that the type of the environment to be tested is compatible with the environment test.
And S340, respectively carrying out single environment automatic test on the items to be tested under at least two environments.
And S350, determining corresponding retest operation according to the test result of the single environment automatic test.
It can be understood that if the test in the single environment does not pass, the test in the compatible environment does not necessarily pass; and the test under the single environment passes, and the test under the compatible environment may not pass because of other abnormal problems such as configuration problems among the single components.
Specifically, determining the corresponding retest operation according to the test result of the single environment automation test may include: if the single environment automatic test fails, determining whether the item to be tested meets the preset retest condition; if yes, switching to other test environments to retest the item to be tested.
And determining whether the item to be tested meets the preset retest condition, namely determining whether retest of the item to be tested is required. In this embodiment, the items to be retested may be predefined, and if the items to be retested are within the predefined range of the items to be retested, it is determined that the items to be retested satisfy the retesting condition. And the other switched environments can be determined according to the configuration and the incidence relation of the piece to be tested.
And S360, determining the abnormal environment of the item to be tested according to the data obtained by retesting.
Based on the single environment test data and the data obtained by retesting, the abnormal environment of the item to be tested can be further accurately positioned by comparing the data with the standard data of the item to be tested.
And S370, positioning the abnormal problem of the item to be detected according to the abnormal environment of the item to be detected.
It can be understood that the abnormal environment and the abnormal problem are in an association relationship, and the abnormal problem is necessarily existed in the abnormal environment. After the abnormal environment of the item to be tested is determined, the abnormal problem can be further determined in the abnormal environment of the item to be tested. The method has the advantages that the range to be checked of abnormal problems can be reduced, the efficiency of positioning abnormity is improved, abnormity can be eliminated in time, the efficiency of whole offline detection is improved, and the quality of offline products is ensured
The technical scheme of the embodiment provides a specific case introduction of retesting in a compatible environment. According to the single environment test data and the retest data, the abnormal environment of the item to be tested can be accurately positioned, the efficiency of positioning abnormality is improved, the abnormality can be eliminated in time, the efficiency of whole offline detection is improved, and the quality of offline products is ensured.
Example four
Fig. 4 is a schematic structural diagram of an offline detection device for a vehicle according to a fourth embodiment of the present invention, where the device is suitable for executing the offline detection method for a vehicle according to the fourth embodiment of the present invention, so as to improve the testing efficiency of offline detection. As shown in fig. 4, the apparatus includes a type obtaining module 410, a use case matching module 420, and a to-be-tested item determining module 430.
The type obtaining module 410 is used for obtaining the type of the environment to be tested configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test;
the case library matching module 420 is used for matching the test case library associated with the type of the environment to be tested as a target test case library according to the type of the environment to be tested;
and the item to be tested determining module 430 is configured to determine an item to be tested from the target test case library according to the type of the environment to be tested, and perform an automated test on the item to be tested.
According to the technical scheme of the embodiment, the type of the environment to be detected configured by the upper computer is obtained; the type of the environment to be tested is a single environment test or a compatible environment test; according to the type of the environment to be tested, matching a test case library associated with the type of the environment to be tested as a target test case library; and determining the items to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the items to be tested. Through the technical scheme of this embodiment, can be integrated with the testing arrangement of single environmental test and compatible environmental test with the host computer, realize data sharing and automated testing, be favorable to improving the efficiency of software testing's that rolls off production line, detect for rolling off production line of vehicle and provide a new thinking.
Preferably, the module 430 for determining the item to be tested specifically includes:
the device comprises a to-be-tested item determining unit, a to-be-tested item determining unit and a to-be-tested item determining unit, wherein the to-be-tested item determining unit is used for determining to-be-tested items under at least two environments from a target test case library under the condition that the to-be-tested environment type is a compatible environment test;
and the item to be tested test unit is used for respectively carrying out automatic test on the items to be tested under at least two environments and outputting test results.
Preferably, the test unit for items to be tested further includes:
the single test subunit is used for respectively carrying out single environment automatic test on the items to be tested under at least two environments;
and the retest determining subunit is used for determining corresponding retest operation according to the test result of the single environment automatic test.
Preferably, the retest determining subunit is specifically configured to determine whether the item to be tested meets a preset retest condition if the single environment automated test fails; if yes, switching to other test environments to retest the item to be tested.
Preferably, the apparatus further comprises: the abnormality determining module is used for determining the abnormal environment of the item to be tested according to the data obtained by the retesting; and positioning the abnormal problem of the item to be detected according to the abnormal environment of the item to be detected.
Preferably, the example library matching module 420 is specifically configured to: if the type of the environment to be tested is compatible with the environment test, selecting the whole vehicle test case library as a target test case library; and if the type of the environment to be tested is single environment test, selecting the single-component test case library as a target test case library.
The offline detection device of the vehicle, provided by the embodiment of the invention, can execute the offline detection method of the vehicle, provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement the offline detection method of the vehicle provided by the embodiment of the present invention.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the offline detection method for a vehicle according to any embodiment of the present invention.
Computer storage media for embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of off-line detection of a vehicle, the method comprising:
acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test;
according to the type of the environment to be tested, matching a test case library associated with the type of the environment to be tested as a target test case library;
and determining an item to be tested from the target test case library according to the type of the environment to be tested, and carrying out automatic test on the item to be tested.
2. The method of claim 1, wherein determining an item to be tested from the target test case library according to the type of the environment to be tested, and performing an automated test on the item to be tested comprises:
determining at least two items to be tested under the environment from the target test case library under the condition that the type of the environment to be tested is a compatible environment test;
and respectively carrying out automatic test on the items to be tested under the at least two environments, and outputting test results.
3. The method of claim 2, wherein the automated testing of the items under test in the at least two environments comprises:
respectively carrying out single-environment automatic test on the items to be tested under the at least two environments;
and determining corresponding retest operation according to the test result of the single environment automatic test.
4. The method of claim 3, wherein determining a corresponding retest operation from the test results of the single environmental automation test comprises:
if the single environment automatic test fails, determining whether the item to be tested meets a preset retest condition;
and if so, switching to other test environments to retest the item to be tested.
5. The method of claim 3 or 4, further comprising:
determining the abnormal environment of the item to be tested according to the data obtained by the retesting;
and positioning the abnormal problem of the item to be detected according to the abnormal environment of the item to be detected.
6. The method of claim 1, wherein matching a test case base associated with the environment type to be tested as a target test case base according to the environment type to be tested comprises:
if the environment type to be tested is compatible with the environment test, selecting the whole vehicle test case library as the target test case library;
and if the environment type to be tested is the single environment test, selecting a single-component test case library as the target test case library.
7. An under-line detection apparatus for a vehicle, the apparatus comprising:
the type acquisition module is used for acquiring the type of the environment to be detected configured by the upper computer; the type of the environment to be tested is a single environment test or a compatible environment test;
the application library matching module is used for matching a test application library associated with the type of the environment to be tested as a target test application library according to the type of the environment to be tested;
and the to-be-tested item determining module is used for determining to-be-tested items from the target test case library according to the to-be-tested environment type and carrying out automatic test on the to-be-tested items.
8. The apparatus of claim 7, wherein the item under test determination module comprises:
the to-be-tested item determining unit is used for determining to-be-tested items under at least two environments from the target test case library under the condition that the to-be-tested environment type is a compatible environment test;
and the item to be tested test unit is used for respectively carrying out automatic test on the items to be tested under the at least two environments and outputting test results.
9. An electronic device, characterized in that the device comprises:
one or more processors;
a storage device to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of downline detection for a vehicle as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of offline detection of a vehicle according to any one of claims 1 to 6.
CN202210155159.5A 2022-02-21 2022-02-21 Vehicle offline detection method and device, electronic equipment and storage medium Pending CN114526925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210155159.5A CN114526925A (en) 2022-02-21 2022-02-21 Vehicle offline detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210155159.5A CN114526925A (en) 2022-02-21 2022-02-21 Vehicle offline detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114526925A true CN114526925A (en) 2022-05-24

Family

ID=81624193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210155159.5A Pending CN114526925A (en) 2022-02-21 2022-02-21 Vehicle offline detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114526925A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226502A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 Automatization test method and system
EP2518225A1 (en) * 2011-04-25 2012-10-31 Deere & Company End of assembly line test system internal to vehicle controllers
CN103412818A (en) * 2013-08-14 2013-11-27 迈普通信技术股份有限公司 Automation testing method and system
CN105302718A (en) * 2015-10-26 2016-02-03 浪潮电子信息产业股份有限公司 Reusable software-oriented test model design method
CN105760296A (en) * 2016-01-21 2016-07-13 深圳市同创国芯电子有限公司 Automation testing control method, device and terminal
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CN114018591A (en) * 2021-11-03 2022-02-08 蔚来汽车科技(安徽)有限公司 Vehicle hardware simulation test system, method, vehicle and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226502A (en) * 2008-02-03 2008-07-23 中兴通讯股份有限公司 Automatization test method and system
EP2518225A1 (en) * 2011-04-25 2012-10-31 Deere & Company End of assembly line test system internal to vehicle controllers
CN103412818A (en) * 2013-08-14 2013-11-27 迈普通信技术股份有限公司 Automation testing method and system
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CN105302718A (en) * 2015-10-26 2016-02-03 浪潮电子信息产业股份有限公司 Reusable software-oriented test model design method
CN105760296A (en) * 2016-01-21 2016-07-13 深圳市同创国芯电子有限公司 Automation testing control method, device and terminal
CN114018591A (en) * 2021-11-03 2022-02-08 蔚来汽车科技(安徽)有限公司 Vehicle hardware simulation test system, method, vehicle and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
北汇信息: "整车下线流程(EOL)测试解决方案介绍", POLELINK.COM, pages 1 - 3 *
鞠炜刚;欧林宝;: "基于环境资源自动匹配的云测试框架研究与应用", 计算机应用与软件, no. 01 *

Similar Documents

Publication Publication Date Title
US8935573B2 (en) Reliable unit testing through cached mocking
US10422828B2 (en) Method and system for utilizing stand-alone controller in multiplexed handler test cell for indexless tandem semiconductor test
US10379158B2 (en) Real-time capture of traffic upon failure for protocol debug
US10614905B2 (en) System for testing memory and method thereof
KR102305872B1 (en) Inspection system, wafer map indicator, wafer map display method, and computer program stored in a recording medium
WO2010001468A1 (en) Test equipment, program, and recording medium
CN104572385A (en) System and method for detecting memory faults
CA2811617C (en) Commit sensitive tests
CN113572658A (en) Vehicle control signal testing method and device, electronic equipment and storage medium
CN114325316A (en) Board card testing method and device, electronic equipment and storage medium
US11536770B2 (en) Chip test method, apparatus, device, and system
CN112905403B (en) Batch synchronous testing method and system for multiple computers
US8260974B1 (en) Techniques for accelerating the processing of enclosures in SAS disk storage arrays
CN108072855B (en) Testing device and testing system
US8516311B2 (en) System and method for testing peripheral component interconnect express switch
CN107515803A (en) A kind of storing performance testing method and device
CN116860608A (en) Interface testing method and device, computing equipment and storage medium
CN114526925A (en) Vehicle offline detection method and device, electronic equipment and storage medium
CN115422091A (en) Firmware debugging method and device, electronic equipment and storage medium
CN113238940A (en) Interface test result comparison method, device, equipment and storage medium
CN113160875A (en) Chip test system and test method
US20110246838A1 (en) Device for use in inspecting a cpu and method thereof
US20180024749A1 (en) Information processing apparatus, non-transitory computer-readable recording medium having stored therein program, and method for processing information
US20230290424A1 (en) Repair system and repair method for semiconductor structure, storage medium and electronic device
TW201928981A (en) System for testing whole memory and method thereof

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