CN105446902A - Motormeter road test data recording method - Google Patents

Motormeter road test data recording method Download PDF

Info

Publication number
CN105446902A
CN105446902A CN201410468327.1A CN201410468327A CN105446902A CN 105446902 A CN105446902 A CN 105446902A CN 201410468327 A CN201410468327 A CN 201410468327A CN 105446902 A CN105446902 A CN 105446902A
Authority
CN
China
Prior art keywords
data
instrument
storage space
volatile storage
record
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.)
Granted
Application number
CN201410468327.1A
Other languages
Chinese (zh)
Other versions
CN105446902B (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

Landscapes

  • Recording Measured Values (AREA)

Abstract

The invention discloses a motormeter road test data recording method. The motormeter road test data recording method comprises the following steps: S1, a storage space data removal step; S2, a data detection step; S3, a data recording step; and S4, a data reading step. The motormeter road test data recording method disclosed by the invention can be used for directly storing important road test data of the motormeter in a reserved space by the remaining nonvolatile storage space of the motormeter and guaranteeing the timeliness and the effectiveness of the data, the operation is simple, and the implementation is convenient.

Description

A kind of automobile instrument road examination data record method
Technical field
The present invention relates to a kind of automobile instrument road examination data record method.
Background technology
Current automobile instrument is substantially all the validity needing to verify by gathering proving ground test data some function.Traditional recording method needs the supplier of instrument to be equipped with slip-stick artist, follow proving ground test and record road examination data, analyze again, so not only take manpower and financial resources, add the cost of development of product, and the not timely record of partial data can be caused, in addition, hand-kept data can not ensure the accuracy of data.
Summary of the invention
Above-mentioned in order to solve, the invention provides the design proposal of a kind of automobile instrument road examination data record method.
A kind of automobile instrument road examination data record method, comprises the following steps:
S1, storage space data dump step: before storage space starts to record data, host computer sends clear instruction to instrument, and instrument program is by the data dump in reserved non-volatile storage space; S2, data detecting step: instrument detects the need of record data according to the record rule preset in program, is enter step S3, otherwise continue to perform step S2; S3, sub-data recording step: instrument writes function according to non-volatile storage space, be stored into need the data stored in reserved non-volatile storage space; S4, data reading step: after road has been tried, fetch the instrument in the examination of road, host computer sends reading command to instrument, and instrument program is sent to host computer the data in reserved non-volatile storage space, and host computer is resolved according to default storage format.
Described S1 specifically comprises the following steps: S11, instrument receive clear command; The data segment of the reserved non-volatile storage space system number of specifying covers by S22, gauge internal; S12, after instrument powers on, utilize and specify system number location to record data from assigned address.
Described step S2 specifically comprises: arrange a global variable in a program, judges whether to store data according to design variables value.
Described step S3 specifically comprises: S31, establishment designated period detection function; S32, periodic function start the global variable arranged in trace routine; S33, when detecting that global variable is design variables value, data are stored to reserved non-volatile storage space according to default storage format.
In sum, the present invention has following beneficial effect: (1) can utilize the remaining non-volatile storage space of instrument, road important for instrument examination data is directly stored in this space, does not need deviser's proving ground test record data; (2) can cost of development be reduced, and ensure promptness and the validity of data, simple to operate, realization convenience.
Accompanying drawing explanation
Fig. 1 is the realization flow schematic diagram of a kind of automobile instrument road examination data record method of the present invention.
Embodiment
In order to allow those skilled in the art can understand technical scheme of the present invention better, below in conjunction with accompanying drawing, the invention will be further elaborated.
As shown in Figure 1, present invention is disclosed a kind of automobile instrument road examination data record method, comprise the following steps:
S1, storage space data dump step: before storage space starts to record data, host computer sends clear instruction to instrument, and instrument program is by the data dump in reserved non-volatile storage space; S2, data detecting step: instrument detects the need of record data according to the record rule preset in program, is enter step S3, otherwise continue to perform step S2; S3, sub-data recording step: instrument program writes function according to non-volatile storage space, be stored into need the data stored in reserved non-volatile storage space; S4, data reading step: after road has been tried, fetch the instrument in the examination of road, host computer sends reading command to instrument, and instrument program is sent to host computer the data in reserved non-volatile storage space, and host computer is resolved according to default storage format.
Before storage space starts to record data, instrument receives clear command, and the data segment of the reserved non-volatile storage space system number of specifying covers by gauge internal; After instrument powers on, utilize and specify system number location to record data from assigned address.
In order to ensure that this logging modle program and the normal application program module of instrument are independently opened, reducing the interference to instrument normal procedure, can following methods be adopted: a global variable is set in a program, judge whether to store data according to design variables value.If desired store data, oneself thinking that program runs to the place that should store data here and variate-value is set to 1.
Designated period detection function is created by the operating system of gauge internal; Periodic function starts the global variable set in trace routine; When detecting that global variable value is preset value, data are stored in reserved non-volatile storage space according to default storage format.
The present embodiment is more excellent embodiment of the present invention, and the part be not described in detail all adopts known mature technology.It should be noted that; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (4)

1. an automobile instrument road examination data record method, is characterized in that, comprise the following steps:
S1, storage space data dump step: before storage space starts to record data, host computer sends clear instruction to instrument, and instrument program is by the data dump in reserved non-volatile storage space;
S2, data detecting step: instrument detects the need of record data according to the record rule preset in program, is enter step S3, otherwise continue to perform step S2;
S3, sub-data recording step: instrument program writes function according to non-volatile storage space, be stored into need the data stored in reserved non-volatile storage space;
S4, data reading step: after road has been tried, fetch the instrument in the examination of road, host computer sends reading command to instrument, and instrument program is sent to host computer the data in reserved non-volatile storage space, and host computer is resolved according to default storage format.
2. a kind of automobile instrument road examination data record method according to claim 1, it is characterized in that, described S1 specifically comprises the following steps:
S11, instrument receive clear command;
The data segment of the reserved non-volatile storage space system number of specifying covers by S22, gauge internal;
S12, after instrument powers on, utilize and specify system number location to record data from assigned address.
3. a kind of automobile instrument road examination data record method according to claim 2, it is characterized in that, described step S2 specifically comprises: arrange a global variable in a program, judges whether to store data according to design variables value.
4. a kind of automobile instrument road examination data record method according to claim 3, it is characterized in that, described step S3 specifically comprises:
S31, establishment designated period detection function;
S32, periodic function start the global variable arranged in trace routine;
S33, when detecting that global variable value is preset value, data are stored to reserved non-volatile storage space according to default storage format.
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 true CN105446902A (en) 2016-03-30
CN105446902B 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 (8)

* 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
CN201503607U (en) * 2008-12-30 2010-06-09 成都新欣神风电子科技有限公司 Vehicle-mounted data acquisition recorder
CN101995262A (en) * 2009-08-26 2011-03-30 孙婷婷 Embedded automobile digital instrument
CN103593265A (en) * 2012-08-16 2014-02-19 现代自动车株式会社 Method and system for preventing loss of trip data in vehicle
EP2725764A1 (en) * 2012-03-12 2014-04-30 Huawei Technologies Co., Ltd Data storage method and data storage device

Patent Citations (8)

* 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
CN201503607U (en) * 2008-12-30 2010-06-09 成都新欣神风电子科技有限公司 Vehicle-mounted data acquisition recorder
CN201362188Y (en) * 2009-01-21 2009-12-16 比亚迪股份有限公司 Automobile combination instrument
CN101995262A (en) * 2009-08-26 2011-03-30 孙婷婷 Embedded automobile digital instrument
EP2725764A1 (en) * 2012-03-12 2014-04-30 Huawei Technologies Co., Ltd Data storage method and data storage device
CN103593265A (en) * 2012-08-16 2014-02-19 现代自动车株式会社 Method and system for preventing loss of trip data in vehicle

Also Published As

Publication number Publication date
CN105446902B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN102662833B (en) Method for managing test cases
CN102541676B (en) Method for detecting and mapping states of NAND FLASH
CN101923568B (en) Method for increasing and canceling elements of Bloom filter and Bloom filter
CN102280125B (en) Method for restoring lost data in abnormal shutdown and hard-disk recorder
CN103500516A (en) High-efficiency trace replay method and system based on electronic map
JP5904989B2 (en) Method and adjusting unit for adjusting a control device
CN102831072B (en) Flash memory device and management method, data read-write method and read-write equipment
CN104133733B (en) A kind of detecting memory errors method
CN103186471B (en) The management method of bad block and system in storage device
CN102623069B (en) Random excitation flash model verification method
CN104978534A (en) Method and system for preventing vehicle mileage tampering
CN103136211A (en) Automatic generation method and device for A2L file
CN102508779A (en) Automatic performance test script generating system based on web crawler logs and automatic performance test script generating method based on same
CN105068909A (en) Simulation test development platform for embedded storage
CN107193560A (en) Config update method and device
CN103279401B (en) A kind of method and device of accessing storer
CN104732611A (en) Log recording and reading method and device based on flight controller
CN104035862A (en) Method and device for closure testing
CN106373616A (en) Method and apparatus for detecting failure of random access memory, and network processor
CN104573514B (en) The detection method and device of compressed file
CN106844079A (en) The FLASH bad block managements system and management method of a kind of armored vehicle
CN102841894A (en) Data storage method of file allocation table
CN103970967A (en) Electromagnetic transient simulation analysis system of electric power system
CN103593301A (en) Bad block management method and system
CN103034582B (en) Location returns the method and system of use-case

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