CN101976213B - Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card - Google Patents

Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card Download PDF

Info

Publication number
CN101976213B
CN101976213B CN2010102973286A CN201010297328A CN101976213B CN 101976213 B CN101976213 B CN 101976213B CN 2010102973286 A CN2010102973286 A CN 2010102973286A CN 201010297328 A CN201010297328 A CN 201010297328A CN 101976213 B CN101976213 B CN 101976213B
Authority
CN
China
Prior art keywords
obd
code reading
reading card
text data
data information
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.)
Active
Application number
CN2010102973286A
Other languages
Chinese (zh)
Other versions
CN101976213A (en
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.)
Shenzhen Launch Software Co Ltd
Original Assignee
Shenzhen Launch Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Software Co Ltd filed Critical Shenzhen Launch Software Co Ltd
Priority to CN2010102973286A priority Critical patent/CN101976213B/en
Publication of CN101976213A publication Critical patent/CN101976213A/en
Application granted granted Critical
Publication of CN101976213B publication Critical patent/CN101976213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • General Factory Administration (AREA)

Abstract

The invention provides a check method for mass data of a vehicle OBD (On Board Diagnostics)code reading card, comprising the following steps of, firstly, supplying an OBD-II code reading card which is provided with a communication interface; secondly, writing a data uploading test code in the OBD-II code reading card; thirdly, making a check tool in a computer, wherein the check tool is internally provided with an original text database; fourthly, electrically connecting the OBD-II code reading card with the computer through the communication interface, displaying text data information in the OBD-II code reading card, and simultaneously uploading the text data information to the computer; and fifthly, after receiving the text data information uploaded by the OBD-II code reading card by the computer, searching original data of the text data information in the original text database by the check tool, and comparing the found original data with the received text data information to automatically check the text data information. The invention can efficiently and accurately check mass text data information in the OBD code reading card, without increasing any material cost.

Description

The method of calibration that is used for automobile OBD code reading card mass data
Technical field
The present invention relates to the method for calibration of data on a kind of code reading card, relate in particular to a kind of automobile OBD code reading card handheld device is carried out verification to mass data method that is used for.
Background technology
Handling for more excellent environmental-protecting performance and Geng Jia; Automobile gets into the automatically controlled epoch from the eighties in last century; Along with microelectric technique application extensively and profoundly; Automobile electric control system not only can carry out real time execution monitoring, state recording etc. to each functional part of automobile, but also progressively possessed the interface of data messages such as these states and record through special use is carried out mutual function.1994 AIAE American institute of automobile engineers (SAE) standard criterion of the second generation with car self-diagnosable system (OBD-II) proposed, it has all made unified regulation at the software protocol of automobile self diagnosis, hardware interface, physical size, DTC, stream data definition etc. aspect many.As time goes on, the standard of OBD-II also development widely, simultaneously with regional EOBD (European Union), JOBD different versions such as (Japan) based on OBD-II appearred also at country variant.
The OBD code reading card is through the vehicle diagnosis interface data in the automobile ECU to be read, and the information of these data representatives carried represents to the user.Continuous development and perfection along with the OBD standard; Its related data content is more and more abundanter, data volume is also more and more huger; With DTC information is example; Among the OBD standard fault codes of defined just have thousands of, if add in the world the self-defined DTC of producer in each series automobiles of main automobile brand then can reach up to ten thousand, if consider country variant and the area multi-lingual problem of using again; Suppose and consider the main language of 10-20 kind, so just only DTC information just can reach ten thousand of 10-20.Correctness in automobile OBD code reading card, how to verify these data be one very important, be again very loaded down with trivial details thing simultaneously.Tens thousand of in the face of among the OBD to hundreds thousand of data messages; At first be the correctness that will guarantee raw data, yet urtext to be passed through text code arrangement, data conversion treatment, data usually and downloaded to a plurality of steps such as code reading card memory, data message inquiry, text data information demonstration and just finally on display screen, seen by the user.Pass through so many step; How to guarantee that each bar data all is that we hope the information seen? If lean on the tester to check it almost is impossible one by one; Take time and effort and very easily appearance careless omission; The tester also unlikely knows tens kinds of language, so the tester just spot-check partial information usually and verifies in the prior art, and in use at random, to chance on certain information wrong for a large number of users often; Feed back to manufacturer's upgrading of making amendment again, the correctness of whole mass data is difficult to be guaranteed.Therefore be necessary very much to provide a kind of efficiently, method is verified the correctness of mass data information accurately.
Summary of the invention
The objective of the invention is to; A kind of method of calibration that is used for automobile OBD code reading card mass data is provided; It increases simple test code in code reading card, cooperate PC work to operate, and can carry out efficiently text data information a large amount of in the OBD code reading card, verification accurately.
For realizing above-mentioned purpose, the present invention provides a kind of method of calibration that is used for automobile OBD code reading card mass data, comprises the steps:
Step 1, an OBD-II code reading card is provided, this OBD-II code reading card is provided with communication interface;
Step 2, in above-mentioned OBD-II code reading card, write the data upload test code;
Step 3, in computer, make the verification instrument, include the urtext database in this verification instrument;
Step 4, OBD-II code reading card and computer are electrically connected display text data information and simultaneously text data message is uploaded to computer in the OBD-II code reading card through communication interface;
After step 5, computer are received the text data information that the OBD-II code reading card uploads; The verification instrument is searched the raw data of text data message in the urtext database; And raw data that finds and the text data information received compared, automatically text data message is carried out verification.
Communication interface on the said OBD-II code reading card is USB interface or COM serial port.
The test code that writes in the said step 2 does not influence the operation logic of OBD-II code reading card Central Plains code.
In the said step 5; The verification instrument is searched the raw data of text data message in the urtext database; And the text data information that raw data that finds and the OBD-II code reading card received are uploaded compares, and wrong text entry is got off, and generation error is reported.
Beneficial effect of the present invention: the method for calibration that is used for automobile OBD code reading card mass data provided by the present invention; It adds simply and does not influence the test code of operation logic in code reading card; In PC, make a cover instruments of inspection software, be connected with PC through the interface on the code reading card, the operation test code is used for data presented with code reading card and is uploaded to computer verification tool software simultaneously; The verification tool software is searched corresponding information and is compared checking from the urtext database; Thereby realized the verification to the data correctness, it does not increase any Material Cost, and proof procedure need not manual intervention; Finally by PC verification instrument output verification result; Save a large amount of manpower test processs, and avoid testing the factor that the mass data human negligence makes mistakes, solved tens thousand of validation problems in the OBD code reading card effectively to hundreds thousand of data correctness.
In order further to understand characteristic of the present invention and technology contents, see also following about detailed description of the present invention and accompanying drawing, yet accompanying drawing only provide reference and the explanation usefulness, be not to be used for the present invention is limited.
Description of drawings
Below in conjunction with accompanying drawing, describe in detail through specific embodiments of the invention, will make technical scheme of the present invention and other beneficial effects obvious.
In the accompanying drawing,
Fig. 1 is the schematic flow sheet that is used for the method for calibration of automobile OBD code reading card mass data of the present invention;
Fig. 2 is the application principle synoptic diagram of the present invention's one specific embodiment.
Embodiment
Technological means and the effect thereof taked for further setting forth the present invention are described in detail below in conjunction with the preferred embodiments of the present invention and accompanying drawing thereof.
As shown in Figure 1, the present invention provides a kind of method of calibration that is used for automobile OBD code reading card mass data, and it comprises the steps:
Step 1, an OBD-II code reading card is provided, this OBD-II code reading card is provided with communication interface.In this invention, the communication interface on the said OBD-II code reading card is USB interface or COM serial port, utilizes these communication interfaces to need not to increase other Material Cost and just can the OBD-II code reading card be connected with PC.
Step 2, in above-mentioned OBD-II code reading card, write the data upload test code.This test code does not influence the operation logic of OBD-II code reading card Central Plains code.As a kind of specific embodiment of the present invention, can in the OBD-II code reading card, write following false code:
GetTxtDataFromLib (TxtID); // obtain the content of text that will show
DisplayTxtOnLcd (TxtData); // content of text is shown on the display
UpLoadTxtToPC (TxtData); // content of text is uploaded PC
Step 3, in computer, make the verification instrument, include the urtext database in this verification instrument.Will carry out verification to data, the standard of check at first will be arranged, we suppose that the data text in the urtext database is correct in this invention.As a kind of specific embodiment of the present invention, the false code in this effect instrument is described below:
GetTxtFromUsbOrCom (); // obtain display text data from communication interfaces such as USB interfaces
LookupTxtInOrignalLib (); // in the urtext database, search videotex
If (False==CompareTxtData ()) // text of demonstration and the raw data in the urtext database are carried out verification
{
AddTxtToErrorReport (); Record in the error reporting if // verification is wrong
}
Step 4, OBD-II code reading card and computer are electrically connected display text data information and simultaneously text data message is uploaded to computer in the OBD-II code reading card through communication interface.
After step 5, computer are received the text data information that the OBD-II code reading card uploads; The verification instrument is searched the raw data of text data message in the urtext database; And raw data that finds and the text data information received compared, automatically text data message is carried out verification.Further; In this step 5, the verification instrument is searched the raw data of text data message in the urtext database, and the text data information that raw data that finds and the OBD-II code reading card of receiving are uploaded compares; And wrong text entry got off the generation error report.As shown in Figure 2; The inventive method is when concrete the application; The OBD-II code reading card electrically connects through OBD-II diagnosis joint 10 and MCU control module 20; This MCU control module 20 respectively also with storer 30, LCDs 40, and keyboard 50 electrically connect, the OBD-II code reading card is read the data in the MCU control module 20 through OBD-II diagnosis joint 10, and is shown to the user through LCDs 40 information that these are data represented.
In sum; The method of calibration that is used for automobile OBD code reading card mass data provided by the present invention, it adds simply and does not influence the test code of operation logic in code reading card, in PC, make a cover instruments of inspection software; Be connected with PC through the interface on the code reading card; The operation test code is used for data presented with code reading card and is uploaded to computer verification tool software simultaneously, and the verification tool software is searched corresponding information and compared checking from the urtext database, thereby has realized the verification to the data correctness; It does not increase any Material Cost; Proof procedure need not manual intervention, finally by PC verification instrument output verification result, saves a large amount of manpower test processs; And avoid testing the factor that the mass data human negligence makes mistakes, solved tens thousand of validation problems in the OBD code reading card effectively to hundreds thousand of data correctness.
The above; For the person of ordinary skill of the art; Can make other various corresponding changes and distortion according to technical scheme of the present invention and technical conceive, and all these changes and distortion all should belong to the protection domain of accompanying Claim of the present invention.

Claims (4)

1. a method of calibration that is used for automobile OBD code reading card mass data is characterized in that, comprises the steps:
Step 1, an OBD-II code reading card is provided, this OBD-II code reading card is provided with communication interface;
Step 2, in above-mentioned OBD-II code reading card, write the data upload test code;
Step 3, in computer, make the verification instrument, include the urtext database in this verification instrument;
Step 4, OBD-II code reading card and computer are electrically connected display text data information and simultaneously text data message is uploaded to computer in the OBD-II code reading card through communication interface;
After step 5, computer are received the text data information that the OBD-II code reading card uploads; The verification instrument is searched the raw data of text data message in the urtext database; And raw data that finds and the text data information received compared, automatically text data message is carried out verification.
2. the method for calibration that is used for automobile OBD code reading card mass data as claimed in claim 1 is characterized in that the communication interface on the said OBD-II code reading card is USB interface or COM serial port.
3. the method for calibration that is used for automobile OBD code reading card mass data as claimed in claim 1 is characterized in that the test code that writes in the said step 2 does not influence the operation logic of OBD-II code reading card Central Plains code.
4. the method for calibration that is used for automobile OBD code reading card mass data as claimed in claim 1; It is characterized in that; In the said step 5, the verification instrument is searched the raw data of text data message in the urtext database, and the text data information that raw data that finds and the OBD-II code reading card of receiving are uploaded compares; And wrong text data information noted the generation error report.
CN2010102973286A 2010-09-29 2010-09-29 Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card Active CN101976213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102973286A CN101976213B (en) 2010-09-29 2010-09-29 Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102973286A CN101976213B (en) 2010-09-29 2010-09-29 Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card

Publications (2)

Publication Number Publication Date
CN101976213A CN101976213A (en) 2011-02-16
CN101976213B true CN101976213B (en) 2012-04-25

Family

ID=43576100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102973286A Active CN101976213B (en) 2010-09-29 2010-09-29 Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card

Country Status (1)

Country Link
CN (1) CN101976213B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076801A (en) * 2013-01-14 2013-05-01 深圳市元征软件开发有限公司 Intelligent sorting method applied to automobile diagnosis equipment and automobile diagnosis equipment
CN103425120B (en) * 2013-07-19 2016-04-06 深圳市元征科技股份有限公司 Code reading card test macro and the method for inspection
CN109828551A (en) * 2019-02-18 2019-05-31 深圳高新兴物联科技有限公司 Automated testing method, device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8600605B2 (en) * 2006-01-30 2013-12-03 GM Global Technology Operations LLC Distributed diagnostics architecture
CN101420306B (en) * 2008-12-12 2010-12-08 肖佐楠 Automobile mounted automatic diagnosis method based on RSA ciphering and signature algorithm
CN101782629A (en) * 2009-01-21 2010-07-21 清华大学 Battery system monitoring method and device based on OBD-II

Also Published As

Publication number Publication date
CN101976213A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN104407980B (en) Mobile solution automatic test device and method
CN106484612B (en) The system and method tested and reported for equipment compatibility
US9027002B2 (en) Method of converting source code and source code conversion program
CN108763743B (en) Verification platform, method and electronic equipment
CN100451988C (en) Method and system for realizing unit test
CN102915303B (en) A kind of method and apparatus of ETL test
US20070061641A1 (en) Apparatus and method for generating test driver
CN102402430A (en) Method and system for generating random test case by using script
CN105070321B (en) The quick test circuit and method of memory device
CN101976213B (en) Check method for mass data of vehicle OBD (On Board Diagnostics) code reading card
CN109960648A (en) A kind of test method of application program, device
CN110750434A (en) Interface testing method and device, electronic equipment and computer readable storage medium
EP3945416A1 (en) Software query information management system and software query information management method
CN114115168A (en) Fault injection test system
CN111104328B (en) Use case generation method and device, computer equipment and readable storage medium
Rajpathak et al. Ontology-driven data collection and validation framework for the diagnosis of vehicle healthmanagement
CN111061244A (en) Automatic testing method for power distribution master station monitoring system
CN102063553A (en) Method for analog simulation development of automobile OBD (On-Board Diagnostics) code reading card
CN112115010B (en) Simulation test method of self-service equipment, intelligent terminal and storage medium
CN108446229A (en) A kind of automated testing method and device
CN107679266A (en) The emulation mode and simulator of flash memory circuit
US20240169096A1 (en) System and method for measurement management
CN112346984A (en) Web end comprehensive test method and system
CN116089282A (en) Automobile automatic test method and device, electronic equipment and storage medium
CN116955134A (en) Page testing method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant