CN105446902B - A kind of automobile instrument road test data record method - Google Patents

A kind of automobile instrument road test data record method Download PDF

Info

Publication number
CN105446902B
CN105446902B CN201410468327.1A CN201410468327A CN105446902B CN 105446902 B CN105446902 B CN 105446902B CN 201410468327 A CN201410468327 A CN 201410468327A CN 105446902 B CN105446902 B CN 105446902B
Authority
CN
China
Prior art keywords
data
instrument
road test
program
volatile storage
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
CN201410468327.1A
Other languages
Chinese (zh)
Other versions
CN105446902A (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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201410468327.1A priority Critical patent/CN105446902B/en
Publication of CN105446902A publication Critical patent/CN105446902A/en
Application granted granted Critical
Publication of CN105446902B publication Critical patent/CN105446902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of automobile instrument road test data record methods, comprising the following steps: S1, memory space data dump step;S2, data detecting step;S3, sub-data recording step;S4, data reading step.The present invention can utilize the remaining non-volatile storage space of instrument, and the important road test data of instrument are stored directly in reserved space, not need designer's proving ground test record data;Development cost can be reduced, and guarantees the timeliness and validity of data, easy to operate, realization is conveniently.

Description

A kind of automobile instrument road test data record method
Technical field
The present invention relates to a kind of automobile instrument road test data record methods.
Background technique
Current automobile instrument is substantially the validity for needing that certain functions are verified by acquisition proving ground test data. Traditional recording method is that the supplier of instrument is needed to be equipped with engineer, follows proving ground test and records road test data, then into Row analysis, not only takes manpower and financial resources in this way, increases the development cost of product, and will lead to partial data not in time Record, in addition, hand-kept data cannot guarantee that the accuracy of data.
Summary of the invention
Above-mentioned in order to solve, the present invention provides a kind of design scheme of automobile instrument road test data record method.
A kind of automobile instrument road test data record method, comprising the following steps:
S1, memory space data dump step: before memory space start recording data, host computer send clearance order to Instrument, instrument program is by the data dump in reserved non-volatile storage space;S2, data detecting step: instrument is according to program In preset record rule detect whether to need to record data, be to enter step S3, otherwise continue to execute step S2;S3, number According to recording step: instrument writes function according to non-volatile storage space, and the storage of data that needs store non-volatile is deposited to reserved It stores up in space;S4, data reading step: after the completion of road test, the instrument in road test is fetched, host computer sends to instrument and reads Data in reserved non-volatile storage space are sent to host computer by instruction, instrument program, and host computer is according to default storage lattice Formula is parsed.
The S1 is specifically includes the following steps: S11, instrument receive clear command;S22, gauge internal are non-by what is reserved The specified system number covering of the data segment of volatile memory space;S12, after instrument powers on, using specified system number positioning from Designated position start recording data.
The step S2 is specifically included: a global variable being arranged in a program, judges whether to store according to design variables value Data.
The step S3 is specifically included: S31, creating specified cycle detection function;S32, periodic function start to detect program The global variable of middle setting;S33, when detect global variable be design variables value when, data are deposited according to default storage format It stores up to reserved non-volatile storage space.
In conclusion the invention has the following advantages: (1) can utilize the remaining non-volatile storage space of instrument, The important road test data of instrument are stored directly in the space, do not need designer's proving ground test record data;(2) it can reduce Development cost, and guarantee the timeliness and validity of data, easy to operate, realization is conveniently.
Detailed description of the invention
Fig. 1 is a kind of implementation process schematic diagram of automobile instrument road test data record method of the present invention.
Specific embodiment
In order to allow those skilled in the art that can be best understood from technical solution of the present invention, with reference to the accompanying drawing to this Invention is further elaborated.
As shown in Figure 1, present invention discloses a kind of automobile instrument road test data record methods, comprising the following steps:
S1, memory space data dump step: before memory space start recording data, host computer send clearance order to Instrument, instrument program is by the data dump in reserved non-volatile storage space;S2, data detecting step: instrument is according to program In preset record rule detect whether to need to record data, be to enter step S3, otherwise continue to execute step S2;S3, number According to recording step: instrument program writes function according to non-volatile storage space, the data storage that needs are stored to it is reserved it is non-easily It loses in memory space;S4, data reading step: after the completion of road test, the instrument in road test is fetched, host computer sends to instrument and reads Data in reserved non-volatile storage space are sent to host computer by instruction fetch, instrument program, and host computer is according to default storage Format is parsed.
Before memory space start recording data, instrument receives clear command, and gauge internal non-volatile is deposited reserved The data segment for storing up space is covered with specified system number;After instrument powers on, positioned using specified system number from specific bit Set start recording data.
In order to guarantee that the logging modle program is independently opened with the normal application program module of instrument, reduce to the normal journey of instrument The interference of sequence can use following methods: a global variable being arranged in a program, judges whether to store according to design variables value Data.Variate-value is set to 1 with regard to the place of the storing data here oneself thinking that program is run to by if desired storing data.
Specified cycle detection function is created by the operating system of gauge internal;Periodic function starts to detect to be set in program Global variable;When detecting global variable value is preset value, data are stored according to default storage format to reserved non- In volatile memory space.
The present embodiment is more excellent embodiment of the invention, and the part not being described in detail is all made of well known maturation Technology.It should be noted that without deviating from the spirit and substance of the present invention, those skilled in the art work as can Various corresponding changes and modifications are made according to the present invention, but these change and modification all should belong to right appended by the present invention and want The protection scope asked.

Claims (3)

1. a kind of automobile instrument road test data record method, which comprises the following steps:
S1, memory space data dump step: before memory space start recording data, host computer sends clearance order to instrument Table, instrument program is by the data dump in reserved non-volatile storage space;
S2, data detecting step: instrument detects whether to need to record data according to record rule preset in program, is to enter Otherwise step S3 continues to execute step S2;
S3, sub-data recording step: instrument program writes function according to non-volatile storage space, and the data that needs are stored are stored to pre- In the non-volatile storage space stayed;
S4, data reading step: after the completion of road test, the instrument in road test is fetched, host computer sends to instrument and reads instruction, instrument Data in reserved non-volatile storage space are sent to host computer by list procedure, and host computer is solved according to default storage format Analysis;
The step S2 includes anti-interference step: a global variable being arranged in a program, is judged whether according to design variables value Storing data;Variate-value is then set to 1 in the node for needing storing data by if desired storing data.
2. a kind of automobile instrument road test data record method according to claim 1, which is characterized in that the S1 is specifically wrapped Include following steps:
S11, instrument receive clear command;
S22, gauge internal cover the specified system number of the data segment of reserved non-volatile storage space;
S12, after instrument powers on, using the positioning of specified system number from designated position start recording data.
3. a kind of automobile instrument road test data record method according to claim 2, which is characterized in that the step S3 tool Body includes:
S31, specified cycle detection function is created;
S32, periodic function start to detect the global variable being arranged in program;
S33, when detecting global variable value is preset value, data are stored according to default storage format to reserved non-volatile Memory space.
CN201410468327.1A 2014-09-16 2014-09-16 A kind of automobile instrument road test data record method Active CN105446902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410468327.1A CN105446902B (en) 2014-09-16 2014-09-16 A kind of automobile instrument road test data record method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410468327.1A CN105446902B (en) 2014-09-16 2014-09-16 A kind of automobile instrument road test data record method

Publications (2)

Publication Number Publication Date
CN105446902A CN105446902A (en) 2016-03-30
CN105446902B true CN105446902B (en) 2019-02-19

Family

ID=55557125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410468327.1A Active CN105446902B (en) 2014-09-16 2014-09-16 A kind of automobile instrument road test data record method

Country Status (1)

Country Link
CN (1) CN105446902B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2639064Y (en) * 2003-08-25 2004-09-08 姚揆一 Multifunction vehicle instrument
CN2685136Y (en) * 2004-02-13 2005-03-16 江苏瑞通信息产业有限公司 Vehicle electronic liquid crystal intelligent combined instrument panel
CN201272251Y (en) * 2008-08-27 2009-07-15 深圳市天昊科技有限公司 Vehicle monitoring instrument
CN201362188Y (en) * 2009-01-21 2009-12-16 比亚迪股份有限公司 Automobile combination instrument
CN101995262A (en) * 2009-08-26 2011-03-30 孙婷婷 Embedded automobile digital instrument

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201503607U (en) * 2008-12-30 2010-06-09 成都新欣神风电子科技有限公司 Vehicle-mounted data acquisition recorder
CN102541475B (en) * 2012-03-12 2015-02-04 华为数字技术(成都)有限公司 Data storage method and data storage device
KR101337940B1 (en) * 2012-08-16 2013-12-09 현대자동차주식회사 Method for preventing trip data clear of vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2639064Y (en) * 2003-08-25 2004-09-08 姚揆一 Multifunction vehicle instrument
CN2685136Y (en) * 2004-02-13 2005-03-16 江苏瑞通信息产业有限公司 Vehicle electronic liquid crystal intelligent combined instrument panel
CN201272251Y (en) * 2008-08-27 2009-07-15 深圳市天昊科技有限公司 Vehicle monitoring instrument
CN201362188Y (en) * 2009-01-21 2009-12-16 比亚迪股份有限公司 Automobile combination instrument
CN101995262A (en) * 2009-08-26 2011-03-30 孙婷婷 Embedded automobile digital instrument

Also Published As

Publication number Publication date
CN105446902A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN106095620B (en) A kind of development approach of built-in Linux partition holding
CN104932973B (en) A kind of edition compatibility test method and device
CN104133733B (en) A kind of detecting memory errors method
CN102623069B (en) Random excitation flash model verification method
CN102662833A (en) Method for managing test cases
CN109154813A (en) Adaptive refresh rate and method based on memory device mistake
CN105224309B (en) A kind of method and apparatus for transferring function
CN104714882B (en) The method and device of code information processing
Mendez et al. Towards transformation migration after metamodel evolution
CN104156314A (en) Code reuse method applied to test system
CN104598274A (en) Automatic instrumentation, compiling and installing method and system
WO2016026328A1 (en) Information processing method and device and computer storage medium
CN104331662A (en) Method and device for detecting Android malicious application
CN103186468B (en) A kind of method and apparatus of verifying software upgrading accuracy
CN107451064A (en) Automatic test approach, device, computer equipment and readable storage medium storing program for executing
CN106294157A (en) A kind of operating system testing method and device
CN104133699A (en) Equipment system software updating method and equipment system software updating system
JP2021501953A (en) Software environment for controlling engine debugging, testing, calibration, and tuning
CN104035862A (en) Method and device for closure testing
CN103049374A (en) Automatic testing method and device
CN110321127A (en) A kind of method that forms pages flexibly render, system and medium
CN105446902B (en) A kind of automobile instrument road test data record method
CN106341684A (en) Method and system for automatically generating Android TV test script
US9965491B2 (en) Method and device for recording system log
CN110609703B (en) Performance detection tool implementation method and device, readable storage medium and terminal 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
GR01 Patent grant
GR01 Patent grant