CN112327815A - Method and device for batch testing of accuracy of data stream of automobile diagnostic instrument - Google Patents
Method and device for batch testing of accuracy of data stream of automobile diagnostic instrument Download PDFInfo
- Publication number
- CN112327815A CN112327815A CN202011369230.7A CN202011369230A CN112327815A CN 112327815 A CN112327815 A CN 112327815A CN 202011369230 A CN202011369230 A CN 202011369230A CN 112327815 A CN112327815 A CN 112327815A
- Authority
- CN
- China
- Prior art keywords
- data stream
- diagnostic
- data
- accuracy
- vehicle
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0218—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
- G05B23/0221—Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
Abstract
The invention discloses a method and a device for testing the accuracy of data streams of automobile diagnostic instruments in batches, wherein the method comprises the following steps: extracting the xml content of the diagnostic instrument data stream configuration file in batches and exporting the xml content into a form of a table; editing the vehicle diagnostic protocol file into a table form; and comparing whether the data are consistent or not through the excel function according to the items correspondingly detected in the diagnostic instrument data stream configuration file and the vehicle diagnostic protocol file, and marking the test result. The method and the device of the invention do not need to use actual vehicles or model vehicles, and all data developed by the test data flow can completely accord with the protocol of the diagnostic instrument by a method of comparing the derived configuration with the standard protocol. Through programmed post-processing, comparison between a plurality of system data stream configuration files and a standard protocol can be completed in batches, accuracy of data stream development of the test diagnosis instrument is improved, and cost of program development and software test processes is reduced.
Description
Technical Field
The invention relates to the technical field of automobile debugging, in particular to a method and a device for testing the accuracy of data streams of automobile diagnostic instruments in batches.
Background
With the development of the after-sale market of automobiles, the automobile diagnostic instrument is more and more popular, the diagnostic instrument is already a necessary tool in the automobile repair industry, the diagnostic instrument is a tool for detecting vehicles, and the requirement on the accuracy of the detection result is high, so in the development process of the diagnostic instrument, a strict means is required for the test work of the program of the diagnostic instrument, and the diagnostic instrument is taken as a common function of the diagnostic instrument: reading data streams of vehicles, wherein each vehicle system of the vehicle system comprises more data stream items and more types of data to be read, and the accuracy and the method of the test data stream detection result of the current diagnostic apparatus are difficult to guarantee, and are embodied as follows:
1. the existing test method has high test cost and incomplete test by carrying out partial detection on a real vehicle;
2. the existing test method tests through a vehicle simulator, detects the accuracy by modifying and simulating the reply data of the vehicle, but needs a lot of manpower for testing a large number of data flow items in a plurality of vehicle types and systems, and reduces the development efficiency;
3. the accuracy of data stream development in a program of the diagnostic instrument is tested, and whether a data stream value read by the diagnostic instrument is accurate or not is detected according to a data stream command reported by a vehicle and the provision of a vehicle diagnostic protocol under a system.
Therefore, it is obvious that the above-mentioned conventional method for testing the accuracy of data stream of the automotive diagnostic apparatus still has inconveniences and defects, and further improvement is urgently needed. How to create a method for detecting the data stream function program in the development process of the automobile diagnostic instrument in batches with low cost, rapidness, accuracy and no need of data stream commands reported by vehicles becomes an extremely improved target in the current industry.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for testing the accuracy of data streams of automobile diagnostic instruments in batches, so that the method and the device can be used for quickly, accurately and batch testing the functional programs of the data streams in the development process of the automobile diagnostic instruments at low cost without data stream commands reported by vehicles, thereby overcoming the defect of the accuracy of the data streams of the existing test diagnostic instruments.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method of batch testing the accuracy of a data stream of automotive diagnostic instruments, comprising: extracting the xml content of the diagnostic instrument data stream configuration file in batches and exporting the xml content into a form of a table; editing the vehicle diagnostic protocol file into a table form; and comparing whether the data are consistent or not through the excel function according to the items correspondingly detected in the diagnostic instrument data stream configuration file and the vehicle diagnostic protocol file, and marking the test result.
As a further improvement of the present invention, the data flow information in table form includes: the name of the data stream, a command sent by the diagnostic instrument for reading the data stream, the effective byte and byte offset digits of the vehicle reply data calculation data, a formula of the vehicle reply data calculation data stream value, the unit of the data stream value and the display format of the data stream value.
Further, the table exported by the xml content of the diagnostic instrument data stream configuration file and the table edited by the vehicle diagnostic protocol file are located in the same excel file.
Further, the excel function is a function for judging whether the cell contents are the same in excel.
Further, the marking test result includes: if the corresponding data stream configuration in the cell is consistent with the vehicle diagnosis protocol, marking as: and the program configuration is correct, otherwise, the program configuration is wrong.
The invention also discloses a device for batch testing of the accuracy of the data stream of the automobile diagnostic device, which comprises the following components: one or more processors; storage means for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the method for batch testing accuracy of automotive diagnostic instrument data streams as described above.
By adopting the technical scheme, the invention at least has the following advantages:
the data stream configuration file (xml) in the development process of the automobile diagnostic instrument is exported into a form of a table, the excel function is utilized to compare the configuration data developed by the data stream with the contents of the vehicle diagnostic protocol, and the comparison method of the exported configuration and the standard protocol is adopted without the help of an actual vehicle or a model vehicle, so that all data developed by the test data stream can completely accord with the vehicle diagnostic protocol. Through programmed post-processing, comparison between a plurality of system data stream configuration files and a vehicle diagnosis protocol can be completed in batches, accuracy of data stream development of the test diagnosis instrument is improved, and cost of program development and software test processes is reduced.
Drawings
The foregoing is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and the detailed description.
FIG. 1 is a flow chart of a method for testing the accuracy of diagnostic instrument data streams in batches in one embodiment of the invention;
FIG. 2 is a data stream information in a diagnostic tool data stream configuration file;
FIG. 3 is a data flow value of internal voltage of a power battery;
FIG. 4 shows the effect of the diagnostic device;
fig. 5 is a data flow profile export table result.
Detailed Description
As shown in fig. 1, the present embodiment provides a method for batch testing accuracy of data streams of automotive diagnostic apparatuses, including:
(1) and extracting the xml content of the diagnostic instrument data stream configuration file in batches.
Any configuration which is configured in the development process of the data stream of the diagnostic apparatus needs to be tested and extracted; as shown in fig. 2, an example of a piece of data flow information in a data flow configuration file of the diagnostic apparatus is data flow information related to the total internal voltage of the power battery, which is in the form of xml.
As shown in fig. 3, which shows the extracted commands sent and received by the diagnostic instrument to read the dataflow values of the internal voltage of the vehicle power battery system. As shown in fig. 4, which shows the display effect of the extracted data stream in the diagnostic instrument.
(2) Exporting the xml content of the diagnostic instrument data stream configuration file into a table form;
the xml content of the diagnostic instrument data stream configuration file is converted into a table form through the contents of the rows and is used for testing the vehicle diagnostic instrument data stream; deriving data flow information forming a tabular form, comprising: the name of the data stream, a command sent by the diagnostic instrument for reading the data stream, the effective byte and byte offset digits of the vehicle reply data calculation data, a formula of the vehicle reply data calculation data stream value, the unit of the data stream value and the display format of the data stream value.
As shown in fig. 5, taking the data flow information as the total internal voltage of the power battery as an example, the data flow information includes: named as the total internal voltage of the power battery; the command ID is CMD2201A0, the command is 07E 1032201A 0 AA AA AA; the effective byte number is 2, the offset byte number is 3, the formula is (a × 256+ B) × 0.02, the unit is V, and the display format is%. 2 f.
(3) Editing the vehicle diagnostic protocol file into a table form;
the vehicle diagnostic instrument protocol file (standard vehicle diagnostic protocol) is usually in a document form, and the document is correspondingly edited into a table form.
(4) And comparing whether the data are consistent or not through the excel function according to the items correspondingly detected in the diagnostic instrument data stream configuration file and the vehicle diagnostic protocol file, and marking the test result.
The two derived tables can be pasted into an excel file, whether the cell contents are the same or not is judged through the excel, whether the corresponding data stream configuration in the cell is consistent with the vehicle diagnosis protocol or not is checked, and if the data stream configuration in the cell is consistent with the vehicle diagnosis protocol, the data stream configuration in the cell is marked as: the program configuration is correct, otherwise, the program configuration is wrong; the mark is automatically formed.
The embodiment also provides a device for testing the accuracy of the data stream of the automobile diagnostic device in batches, which comprises one or more processors; storage means for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the method for batch testing accuracy of automotive diagnostic instrument data streams as described above. Since the hardware design of the above-described apparatus is conventional in the art, it will not be described herein.
In summary, the xml content of the data stream configuration file of the diagnostic apparatus is converted into a table form through content conversion and is used for testing the data stream of the vehicle diagnostic apparatus, the excel function is used for comparing the configuration data developed by the data stream with the content of the vehicle diagnostic protocol, and the comparison between a plurality of system data stream configuration files and the vehicle diagnostic protocol can be completed in batch without the help of actual vehicles or model vehicles, so that the accuracy of data stream development of the test diagnostic apparatus is improved, the cost of program development and software testing process is reduced, and the method is suitable for popularization and application.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the present invention in any way, and it will be apparent to those skilled in the art that the above description of the present invention can be applied to various modifications, equivalent variations or modifications without departing from the spirit and scope of the present invention.
Claims (6)
1. A method for batch testing of accuracy of data streams of automotive diagnostic instruments, comprising:
extracting the xml content of the diagnostic instrument data stream configuration file in batches and exporting the xml content into a form of a table;
editing the vehicle diagnostic protocol file into a table form;
and comparing whether the data are consistent or not through the excel function according to the items correspondingly detected in the diagnostic instrument data stream configuration file and the vehicle diagnostic protocol file, and marking the test result.
2. The method for batch testing the accuracy of automotive diagnostic data streams of claim 1, wherein the tabular form of data stream information comprises: the name of the data stream, a command sent by the diagnostic instrument for reading the data stream, the effective byte and byte offset digits of the vehicle reply data calculation data, a formula of the vehicle reply data calculation data stream value, the unit of the data stream value and the display format of the data stream value.
3. The method for batch testing accuracy of data streams of automotive diagnostic equipment according to claim 1, wherein the table exported by xml content of the diagnostic equipment data stream configuration file and the table compiled by the vehicle diagnostic protocol file are located in the same excel file.
4. The method for testing the accuracy of the data streams of the automobile diagnostic devices in batches as claimed in claim 1, wherein the excel function is a function for judging whether the cell contents are the same in excel.
5. The method for batch testing the accuracy of automotive diagnostic data streams of claim 4, wherein the marking test results comprises: if the corresponding data stream configuration in the cell is consistent with the vehicle diagnosis protocol, marking as: and the program configuration is correct, otherwise, the program configuration is wrong.
6. An apparatus for batch testing accuracy of data streams of automotive diagnostic instruments, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for batch testing automotive diagnostic meter data stream accuracy according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011369230.7A CN112327815A (en) | 2020-11-30 | 2020-11-30 | Method and device for batch testing of accuracy of data stream of automobile diagnostic instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011369230.7A CN112327815A (en) | 2020-11-30 | 2020-11-30 | Method and device for batch testing of accuracy of data stream of automobile diagnostic instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112327815A true CN112327815A (en) | 2021-02-05 |
Family
ID=74309333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011369230.7A Pending CN112327815A (en) | 2020-11-30 | 2020-11-30 | Method and device for batch testing of accuracy of data stream of automobile diagnostic instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112327815A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860563A (en) * | 2021-02-25 | 2021-05-28 | 东风柳州汽车有限公司 | Automobile diagnostic instrument testing method, device, equipment and storage medium |
CN113295423A (en) * | 2021-07-07 | 2021-08-24 | 北京一雄信息科技有限公司 | Method and system for testing engine performance |
CN113852518A (en) * | 2021-09-15 | 2021-12-28 | 武汉光庭信息技术股份有限公司 | Automobile instrument data demonstration method, instrument equipment and system |
CN114625106A (en) * | 2022-03-07 | 2022-06-14 | 深圳市元征科技股份有限公司 | Vehicle diagnosis method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1494697A (en) * | 2000-02-29 | 2004-05-05 | ��ϰ�� | Delivery system and method for vehicles and the like |
KR100892237B1 (en) * | 2007-12-21 | 2009-04-09 | 재단법인대구경북과학기술원 | Vehicle interior test device and method, and vehicle device capable of flexibly configuring an interior |
CN102798833A (en) * | 2012-08-23 | 2012-11-28 | 浙江吉利汽车研究院有限公司杭州分公司 | Automatic test system and method for diagnosis instrument |
CN102981501A (en) * | 2012-11-30 | 2013-03-20 | 重庆邮电大学 | Automobile ECU (Electronic Control Unit) fault diagnosis information matching method based on XML (Extensive Makeup Language) |
CN103838672A (en) * | 2014-03-04 | 2014-06-04 | 中国工商银行股份有限公司 | Automated testing method and device for all-purpose financial statements |
CN104503429A (en) * | 2014-11-26 | 2015-04-08 | 南车青岛四方机车车辆股份有限公司 | Track traffic vehicle static-state test data automatic processing method and apparatus |
CN107992306A (en) * | 2017-12-03 | 2018-05-04 | 中国直升机设计研究所 | A kind of avionics software interface realizes uniformity automatic check method |
CN108885545A (en) * | 2016-03-23 | 2018-11-23 | 雾角系统公司 | Tool and method for real-time stream programming language |
-
2020
- 2020-11-30 CN CN202011369230.7A patent/CN112327815A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1494697A (en) * | 2000-02-29 | 2004-05-05 | ��ϰ�� | Delivery system and method for vehicles and the like |
KR100892237B1 (en) * | 2007-12-21 | 2009-04-09 | 재단법인대구경북과학기술원 | Vehicle interior test device and method, and vehicle device capable of flexibly configuring an interior |
CN102798833A (en) * | 2012-08-23 | 2012-11-28 | 浙江吉利汽车研究院有限公司杭州分公司 | Automatic test system and method for diagnosis instrument |
CN102981501A (en) * | 2012-11-30 | 2013-03-20 | 重庆邮电大学 | Automobile ECU (Electronic Control Unit) fault diagnosis information matching method based on XML (Extensive Makeup Language) |
CN103838672A (en) * | 2014-03-04 | 2014-06-04 | 中国工商银行股份有限公司 | Automated testing method and device for all-purpose financial statements |
CN104503429A (en) * | 2014-11-26 | 2015-04-08 | 南车青岛四方机车车辆股份有限公司 | Track traffic vehicle static-state test data automatic processing method and apparatus |
CN108885545A (en) * | 2016-03-23 | 2018-11-23 | 雾角系统公司 | Tool and method for real-time stream programming language |
CN107992306A (en) * | 2017-12-03 | 2018-05-04 | 中国直升机设计研究所 | A kind of avionics software interface realizes uniformity automatic check method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860563A (en) * | 2021-02-25 | 2021-05-28 | 东风柳州汽车有限公司 | Automobile diagnostic instrument testing method, device, equipment and storage medium |
CN112860563B (en) * | 2021-02-25 | 2023-11-21 | 东风柳州汽车有限公司 | Automobile diagnostic instrument testing method, device, equipment and storage medium |
CN113295423A (en) * | 2021-07-07 | 2021-08-24 | 北京一雄信息科技有限公司 | Method and system for testing engine performance |
CN113852518A (en) * | 2021-09-15 | 2021-12-28 | 武汉光庭信息技术股份有限公司 | Automobile instrument data demonstration method, instrument equipment and system |
CN114625106A (en) * | 2022-03-07 | 2022-06-14 | 深圳市元征科技股份有限公司 | Vehicle diagnosis method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112327815A (en) | Method and device for batch testing of accuracy of data stream of automobile diagnostic instrument | |
CN100349132C (en) | Function coverage ratio analysis method for logic test | |
CN106886003B (en) | Automatic testing system and method for battery monitoring module of electric vehicle | |
CN107450510A (en) | A kind of signal resolution method using diagnostic signal fast positioning CAN signal | |
CN112445197B (en) | Controller version information verification method, processor and whole vehicle test system | |
US20240003953A1 (en) | Vehicle Inspection Method, Apparatus and Device | |
CN111160824A (en) | Engineering data detection method and device, computer equipment and storage medium | |
CN113608518A (en) | Data generation method, device, terminal equipment and medium | |
CN114460439A (en) | Digital integrated circuit test system | |
CN105117334A (en) | XML based test demand description and realization method | |
CN115357494A (en) | Automatic generation method and device of function coverage rate code | |
CN116028365A (en) | Automatic detection method, device, equipment and medium for wafer test codes | |
CN110704252A (en) | Automatic testing device and testing method based on cloud dynamic management | |
CN114879647A (en) | ECU fault code test system, electronic controller and car | |
CN112327800A (en) | Vehicle detection method and device and diagnosis equipment | |
CN210924235U (en) | Data control system | |
CN113447877A (en) | System and method for calibrating upper computer of current measuring shunt | |
CN113253006A (en) | Detection method and device for bill module bottom plate, computer equipment and storage medium | |
CN113434385A (en) | Method and system for automatically generating test case for software model inspection tool | |
CN113821427B (en) | Method and device for detecting test result | |
CN112907694A (en) | Efficiency test data processing method and device for driving motor system | |
CN113011139B (en) | Conversion system and conversion method of wafer MAP | |
JPH05172702A (en) | Trouble diagnosing apparatus for automobile | |
Kis et al. | ATS-PCB: An Effective Automated Testing System for Advanced Driver Assistance Systems | |
CN211906512U (en) | Detection apparatus for DC-DC power module |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210205 |
|
RJ01 | Rejection of invention patent application after publication |