6.2 卷主记录 Header Records

  There will be at least one 132-character header record for each data file. The header records contain information to uniquely identify each data file. Header record fields are considered required unless specified otherwise. Header records are identified by HDR in columns 1 through 3 of the record.
  每个数据文件至少会有一个 132 字符的标题记录。标题记录包含用于唯一标识每个数据文件的信息。除非另有规定,否则标题记录字段被视为必填项。标题记录通过记录的第 1 至 3 列中的 “HDR” 来标识。

6.2.1 卷主记录1

Column Field Name Field
Length
Reference
1~3 Header Ident 3 Contains “HDR”
4~5 Header Number 2 Contains decimal 01 to indicate this is the first Header Record.
6~20 File Name 15 Contains the file Name
21~23 Version Number 3 Contains 3 decimal numbers to uniquely identify revision of this file.
Initially set to 001, but will be incremented if the file is created more
than once in the same cycle.
24 Production/Test Flag 1 Contains “P” if this is a production data file.
Contains “T” if this is a file created for test purposes.
25~28 Record Length 4 Contains the decimal number 0132, i.e., the number of characters in
each data record.
29~35 Record Count 7 Contains the decimal count of the number of data records in the file.
36~39 Cycle Date 4 Contain Cycle Date (5.32)
40~41 Blank(Spacing) 2 Contain blanks
42~52 Creation Date 11 Contains the date when the file was created. Format is DD-MMM-
YYYY. Where DD is the two-digit decimal day of month, MMM is
a three-character month abbreviation, and YYYY is the four-digit
decimal year. (Example: 12-APR-2002)
53~60 Creation Time 8 Contains the UTC tiem when the file was created. The format is two
decimal digits each for hours, minutes, and seconds, separated by
colons.(Example:13:12:02=1:12:02 p.m.)
61 Blank(spacing) 1 Contains blank
62~77 Data Supplier Ident 16 Contains information to identify the data supplier. Content defined
by the data supplier.
78~93 Target Customer Ident 16 Contains information to identify the data user/customer (for
example, the customer name(s), file codes). Content defined by the
data supplier and/or customer. (Optional)
94~113 Database Part Ident 20 Unique part number for database. (Optional - Content TBD)
114~124 Reserved 11 Contains blanks
125~132 File CRC 8 File CRC: CRC Polynomial TBD. Size of data blocks to be CRCed
also TDB. Note: if it is determined that multiple CRCs are required
this field will become multiple fields and have to be moved to
another record(s).
CRC value for the ARINC data file (including data and header
records). For purposes of calculating a CRC value, Header record 1,
Columns 125 through 132, shall be considered to contain zeros.
字段名
(字节数)
内容说明
1~3 卷首标识(3) “HDR”
4~5 卷首类型代码(2) 填01,用以说明这是第一种卷主记录。
6~20 文件名称(15) 填文件名称
21~23 版本信息(3) 用3个数字作为文件的唯一标识,从001开始, 当同
一周期生成一个以上版本时,应依次增长。
24 程序/测试标识(1) 如果是飞行程序文件,填”P”
如果是用于测试目的,则填”T”
25~28 记录字节数(4) 填数字0132, 表示每条记录的字节数。
29~35 记录总量(7) 填此文件包含的总记录条数
36~39 周期(4) 填生成周期(5.32)
40~41 空格(2) 两个空格符
42~52 生产日期(11) 填文件的生成日期,格式为DD-MMM-YYYY. 当
DD表示两位数的月份 MMM是三位数的月份简写
而YYYY是四位数的年份.(例如:12-APR-2002)
53~60 生产时间(8) 填文件生成的UTC时间,使用分别用两位数表示
小时、分钟、秒的格式,用:分隔. (例如:
13:12:02=1:12:02 p.m.)
61 空格(1) 一个空格符
62~77 数据供应商代码(16) 填数据供应商信息,格式由数据供应商确
定。
78~93 数据供应商代码(16) 填数据使用人/客户信息(例如,用户名称,
文件代码)。内容由数据供应商和/或客户确
定。(可选项)
94~113 数据库分段编号(20) 唯一的数据库分段编号(可选项-内容TBD)
114~124 预留(11) 包含空格
125~132 File CRC(8) 该字段包含 ARINC 424 数据文件(包括数
据和报头记录)的 32 位 CRC 值;ARINC
报告 665,可加载软件标准,第 4 章规定
了 CRC 代码的使用;用于计算 ARINC
424 数据文件的 CRC 多项式应为 32 位
CRC(0x04C11DB7),如 ARINC 报告 665
所述进行计算;为了计算 CRC 值,标头记
录 1 第 125 至 132 列应被包含零。

6.2.2 卷主记录2

Column Field Name Field
Length
Reference
1~3 Header Ident 3 Contains “HDR”
4~5 Header Number 2 Contains decimal 02 to indicate this is the second Header Record.
6~16 Effective Date 11 If the Effective Date is the date associated with the Cycle Date,
this field will contain blanks. If the file is created outside of
standard cycles, this field will provide the effective date. The
format is the same as the Creation Date. (Optional)
17~27 Expiration Date 11 If the Expiration Date is the date associated with the Cycle Date,
this field will contain blanks. If the file is created outside of
standard cycles, this field will provide the expiration date. The
format is the same as the Creation Date. (Optional)
28 Blank(Spacing) 1 Contains blank
29~58 Supplier Text Field 30 Contains information specific to data supplier, contents to be
defined by data supplier (For example, extract program version)
(Optional)
89~132 Reserved 43 Contains blanks
字段名
(字节数)
内容说明
1~3 卷首标志(3) “HDR”
4~5 卷首类型代码(2) 填02,用以说明这是第二种卷主记录
6~16 生效日期(11) 生效时间与周期有关,这里就是空的。生效时间不是标准的周期,这里就应该填生效日期,格式与生成日期一致(供选项)
17~27 失效日期(11) 失效日期与周期有关,这里就是空的。失效日期不是标准周期,这里就应该填失效日期,格式与生成日期一致(供选项)
28 留白(1) 使用空格符
29~58 供应商信息(30) 填写数据供应商信息,由数据供应商自行
确定内容. (例如,版本信息) (可选项)
59~88 文件内容说明(30) 填写文件内容说明信息,或其他数据供应
商协定内容(例如,文件内容说明, 测试文件
备注等等). (可选项)
89~132 预留(43) 使用空格符

6.2.3 附加 Additional Header Records

  Additional Header Records may be added.
  可以添加额外的标头记录。


本站总访问量

免责声明

本站提供的一切软件、教程和内容信息仅限用于学习和研究目的。

不得将上述内容用于商业或非法用途,否则一切后果自负。

本站信息来自网络收集整理,版权争议与本站无关。

如果有侵权之处请第一时间联系站长删除。敬请谅解!