CN115454840A - Vehicle testing method and system - Google Patents

Vehicle testing method and system Download PDF

Info

Publication number
CN115454840A
CN115454840A CN202211075647.1A CN202211075647A CN115454840A CN 115454840 A CN115454840 A CN 115454840A CN 202211075647 A CN202211075647 A CN 202211075647A CN 115454840 A CN115454840 A CN 115454840A
Authority
CN
China
Prior art keywords
test
board card
current
characteristic
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211075647.1A
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.)
Jiangling Motors Corp Ltd
Original Assignee
Jiangling Motors Corp 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 Jiangling Motors Corp Ltd filed Critical Jiangling Motors Corp Ltd
Priority to CN202211075647.1A priority Critical patent/CN115454840A/en
Publication of CN115454840A publication Critical patent/CN115454840A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/757Matching configurations of points or features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/761Proximity, similarity or dissimilarity measures

Abstract

The invention provides a vehicle testing method and a vehicle testing system, wherein the method comprises the steps of obtaining an actual detection image of a test board card, and identifying a characteristic area in the actual detection image; finding out the test type of the test board card in a preset board card database according to the characteristic area, and calling out a corresponding test program according to the test type; respectively converting the test cases into corresponding target test cases in an XML format, and establishing communication connection with a test board card so as to burn the target test cases into the test board card; calling a test port corresponding to the target test case from the test board card, and enabling the test board card to correspondingly execute the target test case through the test port; and receiving a test result fed back by the test board card, and generating a corresponding test report according to the test result. Through the mode, on the premise that manual testing of workers is not needed, testing of various board cards can be completed simply and quickly, and testing efficiency is greatly improved.

Description

Vehicle testing method and system
Technical Field
The invention relates to the technical field of automobiles, in particular to a vehicle testing method and system.
Background
The board card is one of printed circuit boards (PCB for short), and has a plug core during manufacturing, and can be inserted into a slot of a main circuit board (motherboard) of a computer to control the operation of hardware, such as a display, a collection card and other devices, and after a driver is installed, the corresponding hardware function can be realized.
Wherein, also install a large amount of integrated circuits boards in the current car to in order to guarantee the product quality of the inside integrated circuit board of car, current board card all need carry out capability test before dispatching from the factory, and discover the defective products in time.
At present, prior art need the staff skilled to master the test condition and the corresponding test environment of each kind of integrated circuit board when testing the integrated circuit board, however, because the kind of integrated circuit board is various, the simultaneous production quantity is also numerous to need consume a large amount of cost of labor and time cost, reduced the efficiency of software testing of integrated circuit board simultaneously, be unfavorable for the mass production of integrated circuit board.
Disclosure of Invention
Therefore, the invention aims to provide a vehicle testing method and a vehicle testing system, so as to solve the problem that in the prior art, when a board card is tested, a worker needs to be skilled in the testing condition and the corresponding testing environment of each board card, however, due to the fact that the board cards are various in types and numerous in production quantity, a large amount of labor cost and time cost are consumed, and the board card testing efficiency is reduced.
In a first aspect, an embodiment of the present invention provides a vehicle testing method, where the method includes:
acquiring an actual detection image of a current test board card, and identifying a characteristic area in the actual detection image, wherein the characteristic area has uniqueness;
finding out the test type of the current test board card in a preset board card database according to the characteristic area, and calling out a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases;
respectively converting the test cases into corresponding target test cases in an XML format, and establishing communication connection with the current test board card so as to burn the target test cases into the current test board card;
calling a test port corresponding to the target test case from the current test board card, and enabling the current test board card to correspondingly execute the target test case through the test port;
and receiving a test result fed back by the current test board card, and generating a corresponding test report according to the test result.
The invention has the beneficial effects that: firstly, acquiring an actual detection image of a current test board card, and identifying a characteristic area in the current actual detection image, wherein the characteristic area has uniqueness; then, searching the test type of the current test board card in a preset board card database according to the characteristic area, and calling a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases; further, the test cases are respectively converted into corresponding target test cases in an XML format, and communication connection with a current test board card is established so as to burn the target test cases into the current test board card; meanwhile, calling a test port corresponding to the target test case from the current test board card, and enabling the current test board card to correspondingly execute the target test case through the test port; and finally, only the test result fed back by the current test board card needs to be received, and a corresponding test report is generated according to the test result. According to the mode, on the premise that manual testing of workers is not needed, testing of various board cards can be simply and quickly completed, so that testing time of the board cards is greatly shortened, testing efficiency of the board cards is correspondingly greatly improved, and the board card testing device is suitable for large-scale popularization and use.
The algorithm for finding out the current test type of the test board card in a preset board card database according to the characteristic area is as follows:
Figure BDA0003830642780000021
wherein S represents the test category, T represents the search coefficient, b represents the total number of test categories, and x i Representing the characteristic region, and a representing similarity;
the algorithm for respectively converting the test cases into the target test cases in the corresponding XML format is as follows:
Figure BDA0003830642780000031
wherein E represents the target test case, n represents the total number of the test cases, x (m) represents the test case, and w (n) represents a window function;
wherein, the algorithm for generating the corresponding test report according to the test result is as follows:
Figure BDA0003830642780000032
wherein H represents the test report, c represents the total number of the test results, P (x) i ) And representing the test result of the ith target test case.
Preferably, the step of identifying the characteristic region in the actual detection image includes:
and when the actual detection image is acquired, identifying the characteristic identifier in the actual detection image, and dividing the characteristic area in the actual detection image by taking the characteristic identifier as the center.
Preferably, the step of identifying the feature identifiers in the actually detected image includes:
when the feature identifier is identified, judging whether the feature identifier is complete;
and if the characteristic identification is not complete, repairing the characteristic identification to determine the characteristic area.
Preferably, after the step of receiving the test result fed back by the current test board and generating the corresponding test report according to the test result, the method further includes:
identifying a plurality of test values in the test report, and judging whether the plurality of test values are within a preset standard range;
and if the test values are not within the preset standard range, judging that the current test board card is a defective product.
Preferably, after the step of receiving the test result fed back by the current test board card and generating the corresponding test report according to the test result, the method further includes:
and establishing communication connection with a display terminal, and sending the test report to the display terminal in real time so as to display the test report on a display interface of the display terminal in real time.
A second aspect of an embodiment of the present invention provides a vehicle test system, where the system includes:
the system comprises an acquisition module, a detection module and a processing module, wherein the acquisition module is used for acquiring an actual detection image of a current test board and identifying a characteristic area in the actual detection image, and the characteristic area has uniqueness;
the searching module is used for searching the current test type of the test board card in a preset board card database according to the characteristic area and calling a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases;
the conversion module is used for respectively converting the test cases into corresponding target test cases in an XML format and establishing communication connection with the current test board card so as to burn the target test cases into the current test board card;
the test module is used for calling a test port corresponding to the target test case from the current test board card and enabling the current test board card to correspondingly execute the target test case through the test port;
the output module is used for receiving a test result fed back by the current test board card and generating a corresponding test report according to the test result;
the algorithm for finding the test type of the current test board card in the preset board card database according to the characteristic area is as follows:
Figure BDA0003830642780000041
wherein S represents the test category, T represents the search coefficient, b represents the total number of test categories, and x i Representing the characteristic region, and a representing similarity;
the algorithm for respectively converting the test cases into the corresponding target test cases in the XML format is as follows:
Figure BDA0003830642780000051
wherein E represents the target test case, n represents the total number of the test cases, x (m) represents the test case, and w (n) represents a window function;
wherein, the algorithm for generating the corresponding test report according to the test result is as follows:
Figure BDA0003830642780000052
wherein H represents the test report, cRepresents the total number of the test results, P (x) i ) And representing the test result of the ith target test case.
In the vehicle test system, the obtaining module is specifically configured to:
and when the actual detection image is acquired, identifying the characteristic identifier in the actual detection image, and dividing the characteristic area in the actual detection image by taking the characteristic identifier as the center.
In the vehicle testing system, the obtaining module is further specifically configured to:
when the characteristic identification is identified, judging whether the characteristic identification is complete or not;
and if the characteristic identification is not complete, repairing the characteristic identification to determine the characteristic area.
In the vehicle testing system, the vehicle testing system further includes a determination module, and the determination module is specifically configured to:
identifying a plurality of test values in the test report, and judging whether the plurality of test values are within a preset standard range;
and if the test values are not within the preset standard range, judging that the current test board card is a defective product.
Among the above-mentioned vehicle test system, vehicle test system still includes the display module, the display module is specifically used for:
and establishing communication connection with a display terminal, and sending the test report to the display terminal in real time so as to display the test report on a display interface of the display terminal in real time.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart of a vehicle testing method according to a first embodiment of the present invention;
fig. 2 is a block diagram of a vehicle testing system according to a second embodiment of the present invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
At present, in the prior art, when the board cards are tested, a worker needs to master the test conditions and the corresponding test environments of each board card skillfully, however, the board cards are various in types, and the number of the board cards produced simultaneously is also numerous, so that a large amount of labor cost and time cost need to be consumed, the test efficiency of the board cards is reduced, and the board cards are not beneficial to mass production.
Referring to fig. 1, a vehicle testing method according to a first embodiment of the present invention is shown, and the vehicle testing method according to this embodiment can simply and quickly complete testing of various boards without manual testing by a worker, so as to greatly shorten the testing time of the boards, correspondingly greatly improve the testing efficiency of the boards, and is suitable for wide popularization and use.
Specifically, the vehicle testing method provided in this embodiment specifically includes the following steps:
step S10, acquiring an actual detection image of a current test board card, and identifying a characteristic area in the actual detection image, wherein the characteristic area has uniqueness;
specifically, in this embodiment, it should be noted that the vehicle testing method provided in this embodiment is specifically applied to the produced board card to test the usability of the produced board card, so as to ensure the product quality of the board card, and further meet the requirement of mass production of the board card.
In addition, in this embodiment, it should be noted that the vehicle testing method provided in this embodiment is completed based on a testing server arranged in the background, where a plurality of algorithms are pre-stored in the testing server, so that data generated in the board card testing process can be conveniently collected and processed, the board card testing efficiency is correspondingly improved, and the board card testing cost is saved.
Therefore, in this step, it should be noted that, when the test server detects the board to be tested, the current test server immediately acquires an actual detection image of the current test board in real time through an image acquisition device such as a camera, where the actual detection image includes an entire image of the current test board. On this basis, in order to accurately acquire the category of the current test board, that is, the type of the current board, in this embodiment, a feature area in the current actual detection image is further identified in this step, so as to determine the category of the current test board according to the currently identified feature area, where it is to be noted that the feature area provided in this embodiment has uniqueness, that is, each board has a unique feature area, so as to identify each board through the feature area.
In this embodiment, it should be noted that the step of identifying the feature region in the actually detected image includes:
and when the actual detection image is acquired, identifying the characteristic identifier in the actual detection image, and dividing the characteristic area in the actual detection image by taking the characteristic identifier as the center.
Specifically, it should be noted that, after the test server obtains the actual detection image of the current test board, in order to accurately identify the category of the current test board, the current test server may further identify a feature identifier in the current actual detection image, where it is noted that the feature identifier may be automatically marked in the process of producing each board to distinguish the identity of each board.
On this basis, after the test server identifies the feature identifier, the current test server immediately divides a corresponding feature area in the actual detection image by taking the currently identified feature identifier as a center, so as to further identify the category of the current test board.
Further, in this step, it should be further noted that the step of identifying the feature identifier in the actually detected image includes:
when the characteristic identification is identified, judging whether the characteristic identification is complete or not;
and if the characteristic identification is not complete, repairing the characteristic identification to determine the characteristic area.
It should be noted that each feature identifier provided in this embodiment is equivalent to an identification of each board card, and therefore, only on the premise that the feature identifier is complete, the type of the current test board card can be accurately identified.
Step S20, finding out the test type of the current test board card in a preset board card database according to the characteristic area, and calling out a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases;
furthermore, in this step, it should be noted that, after the test server obtains the feature area of the current test board through the above steps, the current test server may correspondingly find the test type of the current test board in a board database that is preset in the current test server, and meanwhile, the current test server may further correspondingly call a test program in the current test server according to the found test type, where the test program provided in this embodiment includes a plurality of test cases.
Step S30, converting the test cases into corresponding target test cases in XML format respectively, and establishing communication connection with the current test board card so as to burn the target test cases into the current test board card;
specifically, in this step, it should be noted that, after the test server calls the test program corresponding to the current test board card, the current test server further converts a plurality of test cases in the current test program into corresponding target test cases in an XML format, and at the same time, establishes an effective or wireless communication connection with the current test board card to correspondingly burn the converted target test cases into the current test board card.
Step S40, calling a test port corresponding to the target test case from the current test board card, and enabling the current test board card to correspondingly execute the target test case through the test port;
furthermore, in this step, it should be noted that, after the test server burns the target test case into the current test board card, the current test server calls a corresponding test port in the current test board card, so that the current test server can correspondingly execute the received target test case through the currently called test port.
Step S50, receiving a test result fed back by the current test board card, and generating a corresponding test report according to the test result;
finally, in this step, it should be noted that, after the performance test on the current test board is completed through the target test case, the test server further receives the test result fed back by the current test board in real time, and on this basis, the current test server further generates a corresponding test report according to the obtained test result in real time.
In this embodiment, the algorithm for finding the current test type of the test board in the preset board card database according to the characteristic area is as follows:
Figure BDA0003830642780000091
wherein S represents the test category, T represents the search coefficient, b represents the total number of test categories, and x i Representing the characteristic region, and a representing similarity;
in this embodiment, the algorithm for converting the test cases into the target test cases in the corresponding XML format respectively includes:
Figure BDA0003830642780000092
wherein E represents the target test case, n represents the total number of the test cases, x (m) represents the test case, and w (n) represents a window function;
in this embodiment, the algorithm for generating the corresponding test report according to the test result is as follows:
Figure BDA0003830642780000101
wherein H represents the test report, c represents the total number of the test results, P (x) i ) Represents the ithAnd testing results of the target test case.
In addition, in this embodiment, it should be noted that, after the step of receiving the test result fed back by the current test board and generating the corresponding test report according to the test result, the method further includes:
identifying a plurality of test values in the test report, and judging whether the plurality of test values are within a preset standard range;
if the test values are not within the preset standard range, the current test board is judged to be a defective product, and therefore whether the current test board is a good product or a defective product can be accurately judged according to the test report.
Further, in this embodiment, it should be further noted that, after the step of receiving the test result fed back by the current test board and generating the corresponding test report according to the test result, the method further includes:
and establishing communication connection with a display terminal, and sending the test report to the display terminal in real time so as to display the test report on a display interface of the display terminal in real time, thereby enabling a worker to visually observe the test report of the current test board card.
When the test board is used, the actual detection image of the current test board card is obtained firstly, and the characteristic area in the current actual detection image is identified, wherein the characteristic area has uniqueness; then, searching the test type of the current test board card in a preset board card database according to the characteristic area, and calling a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases; further, the test cases are respectively converted into corresponding target test cases in an XML format, and communication connection with a current test board card is established so as to burn the target test cases into the current test board card; meanwhile, calling a test port corresponding to the target test case from the current test board card, and enabling the current test board card to correspondingly execute the target test case through the test port; and finally, only the test result fed back by the current test board card needs to be received, and a corresponding test report is generated according to the test result. According to the mode, on the premise that manual testing of workers is not needed, testing of various board cards can be simply and quickly completed, so that testing time of the board cards is greatly shortened, testing efficiency of the board cards is correspondingly greatly improved, and the board card testing device is suitable for large-scale popularization and use.
It should be noted that the above implementation process is only for illustrating the applicability of the present application, but this does not represent that the vehicle testing method of the present application has only the above-mentioned one implementation flow, and on the contrary, the vehicle testing method of the present application can be incorporated into the feasible embodiments of the present application as long as the vehicle testing method of the present application can be implemented.
In summary, the vehicle testing method provided by the embodiment of the invention can simply and rapidly complete the test of various board cards without manual testing by workers, thereby greatly shortening the board card testing time, correspondingly greatly improving the board card testing efficiency, and being suitable for large-scale popularization and use.
Referring to fig. 2, a vehicle testing system according to a second embodiment of the present invention is shown, the system includes:
the acquisition module 12 is configured to acquire an actual detection image of a current test board, and identify a feature area in the actual detection image, where the feature area has uniqueness;
the searching module 22 is configured to search a test category of the current test board card in a preset board card database according to the characteristic area, and call a corresponding test program according to the test category, where the test program includes a plurality of test cases;
the conversion module 32 is configured to convert the test cases into corresponding target test cases in an XML format, and establish a communication connection with the current test board so as to burn the target test cases into the current test board;
the test module 42 is configured to call a test port corresponding to the target test case from the current test board, and enable the current test board to correspondingly execute the target test case through the test port;
the output module 52 is configured to receive a test result fed back by the current test board, and generate a corresponding test report according to the test result;
the algorithm for finding the test type of the current test board card in the preset board card database according to the characteristic area is as follows:
Figure BDA0003830642780000121
wherein S represents the test class, T represents the search coefficient, b represents the total number of test classes, x i Representing the characteristic region, and a represents similarity;
the algorithm for respectively converting the test cases into the corresponding target test cases in the XML format is as follows:
Figure BDA0003830642780000122
wherein E represents the target test case, n represents the total number of the test cases, x (m) represents the test case, and w (n) represents a window function;
wherein, the algorithm for generating the corresponding test report according to the test result is as follows:
Figure BDA0003830642780000123
wherein H represents the test report, c represents the total number of the test results, P (x) i ) And representing the test result of the ith target test case.
In the vehicle testing system, the obtaining module 12 is specifically configured to:
and when the actual detection image is acquired, identifying the characteristic identifier in the actual detection image, and dividing the characteristic area in the actual detection image by taking the characteristic identifier as the center.
In the vehicle testing system, the obtaining module 12 is further specifically configured to:
when the characteristic identification is identified, judging whether the characteristic identification is complete or not;
and if the characteristic identification is judged to be incomplete, repairing the characteristic identification to determine the characteristic area.
In the vehicle testing system, the vehicle testing system further includes a determining module 62, where the determining module 62 is specifically configured to:
identifying a plurality of test values in the test report, and judging whether the plurality of test values are within a preset standard range;
and if the test values are not within the preset standard range, judging that the current test board card is a defective product.
In the vehicle testing system, the vehicle testing system further includes a display module 72, and the display module 72 is specifically configured to:
and establishing communication connection with a display terminal, and sending the test report to the display terminal in real time so as to display the test report on a display interface of the display terminal in real time.
In summary, the vehicle testing method and system provided by the embodiments of the present invention can simply and rapidly complete the testing of various boards without manual testing by the staff, so as to greatly shorten the board testing time, correspondingly greatly improve the board testing efficiency, and are suitable for wide popularization and use.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that various changes and modifications can be made by those skilled in the art without departing from the spirit of the invention, and these changes and modifications are all within the scope of the invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A vehicle testing method is characterized by being applied to a test board card of a vehicle, and the method comprises the following steps:
acquiring an actual detection image of the current test board card, and identifying a characteristic area in the actual detection image, wherein the characteristic area has uniqueness;
finding out the test type of the current test board card in a preset board card database according to the characteristic area, and calling out a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases;
respectively converting the test cases into corresponding target test cases in an XML format, and establishing communication connection with the current test board card so as to burn the target test cases into the current test board card;
calling a test port corresponding to the target test case from the current test board card, and enabling the current test board card to correspondingly execute the target test case through the test port;
receiving a test result fed back by the current test board card, and generating a corresponding test report according to the test result;
the algorithm for finding the test type of the current test board card in the preset board card database according to the characteristic area is as follows:
Figure FDA0003830642770000011
wherein S represents the test class, T represents the search coefficient, b represents the total number of test classes, x i Representing the characteristic region, and a represents similarity;
the algorithm for respectively converting the test cases into the corresponding target test cases in the XML format is as follows:
Figure FDA0003830642770000012
wherein E represents the target test case, n represents the total number of the test cases, x (m) represents the test case, and w (n) represents a window function;
wherein, the algorithm for generating the corresponding test report according to the test result is as follows:
Figure FDA0003830642770000021
wherein H represents the test report, c represents the total number of the test results, P (x) i ) And representing the test result of the ith target test case.
2. The vehicle testing method according to claim 1, characterized in that: : the step of identifying the characteristic region in the actual detection image comprises:
and when the actual detection image is acquired, identifying the characteristic identifier in the actual detection image, and dividing the characteristic area in the actual detection image by taking the characteristic identifier as the center.
3. The vehicle testing method according to claim 2, characterized in that: : the step of identifying the feature identifiers in the actual detection image comprises:
when the feature identifier is identified, judging whether the feature identifier is complete;
and if the characteristic identification is judged to be incomplete, repairing the characteristic identification to determine the characteristic area.
4. The vehicle testing method according to claim 1, characterized in that: : after the step of receiving the test result fed back by the current test board card and generating the corresponding test report according to the test result, the method further includes:
identifying a plurality of test values in the test report, and judging whether the plurality of test values are within a preset standard range;
and if the test values are not within the preset standard range, judging that the current test board card is a defective product.
5. The vehicle testing method according to claim 1, characterized in that: : after the step of receiving the test result fed back by the current test board card and generating the corresponding test report according to the test result, the method further includes:
and establishing communication connection with a display terminal, and sending the test report to the display terminal in real time so as to display the test report on a display interface of the display terminal in real time.
6. A vehicle test system is characterized in that the system is applied to a test board card of a vehicle, and comprises:
the system comprises an acquisition module, a detection module and a processing module, wherein the acquisition module is used for acquiring an actual detection image of a current test board and identifying a characteristic area in the actual detection image, and the characteristic area has uniqueness;
the searching module is used for searching the current test type of the test board card in a preset board card database according to the characteristic area and calling a corresponding test program according to the test type, wherein the test program comprises a plurality of test cases;
the conversion module is used for respectively converting the test cases into corresponding target test cases in an XML format and establishing communication connection with the current test board card so as to burn the target test cases into the current test board card;
the test module is used for calling a test port corresponding to the target test case from the current test board card and enabling the current test board card to correspondingly execute the target test case through the test port;
the output module is used for receiving a test result fed back by the current test board card and generating a corresponding test report according to the test result;
the algorithm for finding the test type of the current test board card in the preset board card database according to the characteristic area is as follows:
Figure FDA0003830642770000031
wherein S represents the test class, T represents the search coefficient, b represents the total number of test classes, x i Representing the characteristic region, and a representing similarity;
the algorithm for respectively converting the test cases into the corresponding target test cases in the XML format is as follows:
Figure FDA0003830642770000041
wherein E represents the target test case, n represents the total number of the test cases, x (m) represents the test case, and w (n) represents a window function;
wherein, the algorithm for generating the corresponding test report according to the test result is as follows:
Figure FDA0003830642770000042
wherein H represents the test report, c represents the total number of the test results, P (x) i ) And representing the test result of the ith target test case.
7. The vehicle testing system of claim 6, wherein: : the acquisition module is specifically configured to:
and when the actual detection image is acquired, identifying the characteristic identifier in the actual detection image, and dividing the characteristic area in the actual detection image by taking the characteristic identifier as the center.
8. The vehicle testing system of claim 7, wherein: : the obtaining module is further specifically configured to:
when the feature identifier is identified, judging whether the feature identifier is complete;
and if the characteristic identification is not complete, repairing the characteristic identification to determine the characteristic area.
9. The vehicle testing system of claim 6, wherein: : the vehicle testing system further comprises a judging module, and the judging module is specifically used for:
identifying a plurality of test values in the test report, and judging whether the plurality of test values are within a preset standard range;
and if the test values are judged to be out of the preset standard range, judging that the current test board card is a defective product.
10. The vehicle testing system of claim 6, wherein: the vehicle testing system further comprises a display module, wherein the display module is specifically used for:
and establishing communication connection with a display terminal, and sending the test report to the display terminal in real time so as to display the test report on a display interface of the display terminal in real time.
CN202211075647.1A 2022-09-02 2022-09-02 Vehicle testing method and system Pending CN115454840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211075647.1A CN115454840A (en) 2022-09-02 2022-09-02 Vehicle testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211075647.1A CN115454840A (en) 2022-09-02 2022-09-02 Vehicle testing method and system

Publications (1)

Publication Number Publication Date
CN115454840A true CN115454840A (en) 2022-12-09

Family

ID=84301917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211075647.1A Pending CN115454840A (en) 2022-09-02 2022-09-02 Vehicle testing method and system

Country Status (1)

Country Link
CN (1) CN115454840A (en)

Similar Documents

Publication Publication Date Title
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN109361562B (en) Automatic testing method based on associated network equipment access
CN110908888B (en) Server testing method and device
CN104914845B (en) A kind of car body controller fault testing method and system based on industrial personal computer
CN105652185A (en) Functional test equipment-based testing method and device for main board of air conditioner
CN108683556B (en) Method and device for detecting functional state of network card and computer storage medium
CN113758514A (en) Automobile instrument automatic testing method and system, readable storage medium and vehicle
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN113433923A (en) Vehicle remote diagnosis method, system, readable storage medium and device
CN103913150B (en) Intelligent electric energy meter electronic devices and components consistency detecting method
CN115080328A (en) Board card testing method and system
CN113985840A (en) Vehicle offline detection method, system, equipment and computer storage medium
CN112903308A (en) Performance detection method and device for automobile equipment, electronic equipment and storage medium
CN115454840A (en) Vehicle testing method and system
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
CN113341300B (en) Matrix key circuit automatic detection method, device, medium and equipment
CN109542726B (en) Power consumption detection method and device
CN116047266A (en) Vehicle part testing method and system
CN113408475A (en) Indication signal recognition method, indication signal recognition apparatus, and computer storage medium
CN109309748B (en) Cloud mobile phone hardware quality batch test method and system
CN106886800B (en) Leakage current fault positioning device and method
CN114968827B (en) Vehicle bus signal information verification method and system
CN114234816B (en) New energy vehicle-mounted connector connection test method, system and storage medium
CN112180890B (en) Test case generation method, device and 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