Movatterモバイル変換


[0]ホーム

URL:


CN104714789A - Calibration data storage method - Google Patents

Calibration data storage method
Download PDF

Info

Publication number
CN104714789A
CN104714789ACN201310689571.6ACN201310689571ACN104714789ACN 104714789 ACN104714789 ACN 104714789ACN 201310689571 ACN201310689571 ACN 201310689571ACN 104714789 ACN104714789 ACN 104714789A
Authority
CN
China
Prior art keywords
data
field
nominal data
nominal
address
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
CN201310689571.6A
Other languages
Chinese (zh)
Other versions
CN104714789B (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.)
AVIC No 631 Research Institute
Original Assignee
AVIC No 631 Research Institute
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 AVIC No 631 Research InstitutefiledCriticalAVIC No 631 Research Institute
Priority to CN201310689571.6ApriorityCriticalpatent/CN104714789B/en
Publication of CN104714789ApublicationCriticalpatent/CN104714789A/en
Application grantedgrantedCritical
Publication of CN104714789BpublicationCriticalpatent/CN104714789B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention provides a calibration data storage method which can be used for effectively managing bulk data and ensuring effective data storage under the situation that addresses are discontinuous. The calibration data storage method comprises the following steps that 1 calibration data information is obtained and includes data head addresses and calibration data; 2 the calibration data information is stored in data fields; 3 control fields are added in front of the data fields and checking fields are added behind the data fields, wherein the control fields are used for marking the property of the data fields and data length, and the checking fields are used for ensuring the correctness of the calibration data. By means of the calibration data storage method, the problem of reasonable organization of calibration files is efficiently and simply solved, and arrangement of the calibration data with addresses as communication basis in the files is achieved. The data identification problem during communication starting, communication ending, big data transmission and communication is solved, the data correctness and high-efficiency communication are ensured by means of a simple algorithm, and the calibration data storage method has very high practical value on the aspect of calibration tool design.

Description

A kind of design of nominal data storage means
Technical field
The invention belongs to computer realm, relate to a kind of storage means of nominal data.
Background technology
Along with the develop rapidly of China's automobile industry, domestic a lot of Automobile Enterprises and colleges and universities are devoted to the research and development of automobile control software design.For automobile control software design, gordian technique not only comprises the algorithm realization of control law, also adopts the mode that theory and experimental result combine, and final input/output relation is converted to the MAP table of mapping.Ripe product software remodeling only needs retouch MAP to show just can complete.MAP table is the significant data information of automobile software.
The design of software can cover dissimilar automobile product, and concrete entrucking product can realize the agreement of particular type by the change of nominal data, the important content of therefore nominal data Ye Shi producer protection.
As gordian technique control method, the secret important method being automobile software enterprise and protecting advanced technology of software kernels technology.Software should be allowed can to upgrade on auto production line, ensure that gordian technique does not leak again, demarcating file is very important method, and it comprises code information and the data message of software, they are realizations of the gordian techniquies such as control law, comprise most important technical information.But the size of code of automobile control software design is often all very large, and compiled code amount is MB data magnitudes.Therefore the content represented with data mode after how managing these compilings is the key of demarcating document design, and it is the prerequisite that calibration tool and target machine carry out file interaction, and good file organization form is conducive to simplified communication protocol, realizes effective transmission of file.
The design of demarcating file mainly completes the stipulations of software code and data layout.This technology is monopolized by Foreign Automobile Enterprises at present, is the important means of restriction Automobile Industry in China development.This patent is devoted to solve this problem, for the realization of calibration tool provides technical support.
Summary of the invention
The object of the invention is: the storage means providing a kind of nominal data, effectively can manage chunk data, and effective storage of data under the discontinuous situation in address can be ensured.
Technical solution of the present invention is:
A design for nominal data storage means, is characterized in that: comprise the following steps:
1] obtain nominal data information, nominal data information is divided into two classes: data first address and nominal data;
2] nominal data information is stored in data field:
When nominal data information is data first address, data field stores first address Product-factor;
When nominal data information is nominal data, data field stores offset address and nominal data;
3] before data field, add control field, after data field, add check field;
Control field comprises for the field of identification data field character and the field for identifying nominal data message length;
Check field is for ensureing the correctness of nominal data.
With 2 bytes store first address Product-factors; With 2 bytes store offset addresss, 1 bytes store nominal data.
Step 3] in control field, for a field bytes store of identification data field character; For identifying the field of nominal data message length.
Step 3] comprise 3 kinds for the field of identification data field character: mark first address information, mark nominal data and identification document terminate.
Check field adopts the method for School Affairs to arrange.
Advantage of the present invention is: the method efficiently simply solves demarcates rationalization's problem of file, and achieving with address is the nominal data arrangement hereof of communication infrastructure.Consider communication to start, terminate, large data transmission, and the identified problems of communication intermediate data, and ensure that data correctness and the high efficiency communicated with simple algorithm, at the design aspect of calibration tool, there is very large practical value.
Accompanying drawing explanation
Fig. 1 is the storage organization of nominal data;
Fig. 2 is control field form;
Fig. 3 is the address presentation format of data field
Fig. 4 is the presentation format of nominal data;
Fig. 5 is 04 control field data representation;
Fig. 6 is 00 control field data representation;
Fig. 7 is 01 control field data representation.
Embodiment
1. the design of data structure: object is to mark off three partial datas clearly, enables calibration tool obtain with as far as possible little computing cost and store data.
As shown in Figure 1, control field is used for character and the nominal data message length of marker data field to the unitized construction of three data segments, is the information that calibration tool primarily obtains, and is placed on row first, is convenient to search.Data field is the entity of nominal data, is placed in thereafter, and check field ensures the overall correctness of the row data, is placed on end of line.In order to the readability of file, the nominal data that often row stores is no more than 0x20.
The data length of different processor single treatment differs, and consider the compatibility of demarcating file, nominal data adopts single digital independent amount-4 byte of higher level 32 machines general at present.
1.1 control field designs:
Packet in enormous quantities is containing two kinds of information, data address and data itself.In the transmission of data in enormous quantities, can not all data of disposable transmission, so data need segmentation, every segment data should state start address separately.Field for identification data field character is divided three classes according to application needs:
1. identify nominal data;
2. identification document terminates;
3. identify first address information.
Field for identification data field character adopts a bytes store, due to the data that the length of nominal data and first address is variable within 0x20, in the design of control field, consider this problem, the field for identifying nominal data message length adopts a bytes store.Format is as Fig. 2.
The character of data field is defined as follows:
0x00: represent nominal data;
0x01: represent the end of file;
0x04: represent data first address.
Be as the criterion often to go the physical length of actual nominal data and data first address for the field that identifies nominal data message length, be less than or equal to 0x20.
1.2 data field designs:
Nominal data information comprises two classes: data first address and nominal data itself; Nominal data information is stored in data field;
When storing data first address, data first address=base address * Product-factor; Base address adopts 0x10000, Product-factor two byte representations, and denotable address realm is [0,0xFFFF0000], adds address offset, and denotable address space is 4GB, is far longer than the space that current automobile nominal data needs.As shown in Figure 3, first address Product-factor is exactly data field.
When storing nominal data, data field represents as shown in Figure 4:
Offset address is made up of two bytes, and scope is [0x0,0xFFFC]; Nominal data length is [0x4,0x20].
The design of 1.3 check field
The object that check field is arranged is to ensure the correctness in each row of data transmitting procedure.Because nominal data is at the MB order of magnitude, the data of often row transmission all need verification, and the time overhead of verification computing affects the key factor of transmission performance.In order to reduce computing overhead, adopt the method for School Affairs.The method communication two ends operand all very little, be conducive to communicate high efficiency.
Below by embodiment, the present invention is described in further detail.
Certain data volume is 0x11FF86 byte, the design in continuous data district, two different addresses, and first address and the length of two segment datas are respectively:
First address: 0x1000 data length: 0x10FF80;
First address: 0x15000 data length: 0x1006.
The design of this example considers all problems that high order of magnitude data assignment may run into, and data volume can arbitrarily be expanded, and the method for designing of file is constant.
Data assignment: first address is 0x1000, the data acquisition of data in 0x10000 offset address mode, acquiescence base address is 0x0; The data of more than 0x10000, by 02 control word statement first address, are 0x10000=0x10000*1; Therefore base address multiplication factor is 0x1; First paragraph data length is the integral multiple of 0x20, all adopts 0x20 memory length.
The start address of second segment data is 0x15000, and start address does not need again to state, offset address is from 0x5000, and the number before 0x16000 address adopts the storage mode of often row 0x20 data, last 6 independent a line of character.
As Fig. 5,04 is control field, and what represent data field storage is first address Product-factor; 02 is data length, and 0001 is first address Product-factor, and 07 is check field;
As Fig. 6,00 is control field, and 06 is data length, often row 0x06 nominal data, and 6000 is offset address.
As Fig. 7,01 is control field, and 00 represents that data field does not have data, and 01 is verification.

Claims (5)

CN201310689571.6A2013-12-142013-12-14A kind of design of nominal data storage methodActiveCN104714789B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310689571.6ACN104714789B (en)2013-12-142013-12-14A kind of design of nominal data storage method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310689571.6ACN104714789B (en)2013-12-142013-12-14A kind of design of nominal data storage method

Publications (2)

Publication NumberPublication Date
CN104714789Atrue CN104714789A (en)2015-06-17
CN104714789B CN104714789B (en)2018-08-03

Family

ID=53414168

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310689571.6AActiveCN104714789B (en)2013-12-142013-12-14A kind of design of nominal data storage method

Country Status (1)

CountryLink
CN (1)CN104714789B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040148073A1 (en)*2002-12-052004-07-29Heinrich HawigMethod for programming flash EEPROMS in microprocessor-equipped vehicle control electronics
CN101055228A (en)*2007-05-312007-10-17上海依波尔汽车电子有限公司K line based electric-control motor fault diagnosis system
CN101334662A (en)*2008-07-252008-12-31重庆邮电大学 Automobile electronic control unit calibration system and method based on ASAP standard
CN102446138A (en)*2011-09-192012-05-09清华大学 A Calibration Method of MAP Data in Single Chip Microcomputer System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040148073A1 (en)*2002-12-052004-07-29Heinrich HawigMethod for programming flash EEPROMS in microprocessor-equipped vehicle control electronics
CN101055228A (en)*2007-05-312007-10-17上海依波尔汽车电子有限公司K line based electric-control motor fault diagnosis system
CN101334662A (en)*2008-07-252008-12-31重庆邮电大学 Automobile electronic control unit calibration system and method based on ASAP standard
CN102446138A (en)*2011-09-192012-05-09清华大学 A Calibration Method of MAP Data in Single Chip Microcomputer System

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周洋: "发动机标定数据管理系统开发", 《中国学位论文全文数据库(万方数据)》*
徐鲁花: "嵌入式开发系统编程文件格式解析", 《单片机与嵌入式系统应用》*

Also Published As

Publication numberPublication date
CN104714789B (en)2018-08-03

Similar Documents

PublicationPublication DateTitle
CN111176976B (en)Test data generation method and device, storage medium and electronic device
CN105830022B (en) Method and apparatus for accessing files
CN103902653A (en)Method and device for creating data warehouse table blood relationship graph
CN103914324B (en)A kind of method and its system of automatic programming embedded device firmware
CN104539685B (en)The USB flash disk identifying system and method for a kind of OpenStack clouds desktop
CN103455437A (en)Data storage device and data storage device operation method
CN104281601B (en)Build method and device, character display method and the device of super large character library
CN101271463A (en) Method and system for expressing logical structure information of format file
CN103034544A (en)Management method and device for user mode and kernel mode to share memory
CN101963912A (en)Implementation method for storing and checking hardware configuration information of system
CN104079613A (en)Method and system for multiple tenants to share application program objects
CN103297554B (en)The method and device of IPv4 and IPv6 compatible processing
CN110515951A (en) A BOM standardization method, system, electronic equipment and storage medium
CN102073633A (en)Method and device for storing and accessing resource file
CN102799660A (en)JAVA card object management method
CN108897742A (en)A kind of log method for internationalizing, system, equipment and computer readable storage medium
CN105138632A (en)Organization and management method for file data and file management server
CN106598885A (en)Configurable multiport general data bridging system and working method thereof
CN105247618B (en) Method and device for executing application code on hard disk
CN104714789A (en)Calibration data storage method
CN101739391A (en)Method for generating electronic book with binary file format and electronic book generated by same
CN106775586A (en)Data reordering method and device
US9258258B2 (en)Implementing injection of formal numerical message identifiers in cloud stacks
CN105700825A (en)Thumbnail storage method and device based on Android system
CN102624732A (en)Network storage system based on cloud computing

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp