title>Information technology—Notation of format for data element values - GB/T 19253-2003 - Chinese standardNet - bzxz.net
Home > GB > Information technology—Notation of format for data element values
Information technology—Notation of format for data element values

Basic Information

Standard ID: GB/T 19253-2003

Standard Name:Information technology—Notation of format for data element values

Chinese Name: 信息技术 数据元值的格式表示法

Standard category:National Standard (GB)

state:Abolished

Date of Release2003-07-02

Date of Implementation:2003-01-02

Date of Expiration:2005-10-14

standard classification number

Standard ICS number:Information technology, office machinery and equipment >> 35.040 Character sets and information coding

Standard Classification Number:Comprehensive>>Basic Standards>>A24 Classification Code

associated standards

alternative situation:void;

Procurement status:ISO/IEC 14957:1996, IDT

Publication information

publishing house:China Standards Press

ISBN:155066.1-20141

Publication date:2004-04-17

other information

Release date:2003-07-25

Review date:2004-10-14

Drafting unit:China Standards Research Center

Focal point unit:National Information Technology Standardization Technical Committee

Publishing department:General Administration of Quality Supervision, Inspection and Quarantine of the People's Republic of China

competent authority:National Standardization Administration

Introduction to standards:

This standard specifies the format representation of data values ​​and additional representations related to digital representation. It is applicable to any field where these characteristics need to be specified, including data dictionaries, information processing and electronic data interchange. GB/T 19253-2003 Information technology Format representation of data element values ​​GB/T19253-2003 standard download decompression password: www.bzxz.net
This standard specifies the format representation of data values ​​and additional representations related to digital representation. It is applicable to any field where these characteristics need to be specified, including data dictionaries, information processing and electronic data interchange.


Some standard content:

GB/T19253--2003/IS0/IEC14957:1996 This standard is equivalent to the international standard ISO/IEC14957:1996 "Information Technology For ease of use, this standard has made the following editorial changes: a) "This international standard" is changed to "this standard"; b) The international standard number that has been adopted is replaced by the national standard number; the format representation of data element values ​​(English version). c) The first paragraph of the "Normative Reference Documents" chapter is written in accordance with the requirements of GB/T1.12000. This standard was proposed and coordinated by the China Standards Research Center. The drafting unit of this standard: China Standards Research Center. The main drafters of this standard: Liu Zhiting, Zhang Yanqi, Zhang Ai, Xing Liqiang, Li Xiaolin. GB/T19253--2003/ISO/IEC14957:1996ISO/IEC Foreword
The International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC) are global specialized standardization organizations. National bodies that are members of ISO or IEC participate in the development of international standards through technical committees. Technical committees are maintained by organizations involved in technical activities in various professional fields. ISO and IEC technical committees cooperate in areas of common interest. Official and non-official international organizations in contact with ISO and IEC may also participate in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC1. Draft international standards adopted by the joint technical committee are submitted to national bodies for voting. The promulgation of an international standard requires at least 75% of the votes of the national bodies participating in the voting.
International Standard ISO/IEC14957 was drafted by the Data Element Principles Subcommittee (SC14) of the Joint Technical Committee for Information Technology (ISO/IECJTC1).
GB/T19253-2003/ISO/IEC14957:1996Data exchange within the commercial, technical and public sectors is developing rapidly, which increases the work between different groups that often independently develop information processing applications and communication networks to meet special needs. But the general situation is lack of commonality. In order to change this situation, it is urgent to standardize the representation of data elements. Data element representation first means specifying the format of representation, that is, the character type used to represent and indicate the length. These specifications are equally important to everyone involved, and it is necessary to represent them according to standard conventions. This rule is likely to eliminate all ambiguities, misunderstandings and errors. These plans are also conducive to the comparison of data element dictionaries, the design and establishment of information systems, and electronic data interchange (EDI). These representations have been given different expressions by different standards according to their specific applications, such as application-level syntax rules for electronic data interchange in administration, commerce and transportation (EDIFACT) (GB/T14805), banking standards (such as GB/T15948.1-1995), character sets (GB/T15273), and information processing (ISO6093). Therefore, the purpose of this standard is to provide a unique reference source that is independent of the application scenario for all standards that use these representations. 1 Scope
GB/T19253--2003/ISO/IEC14957:1996 Format representation of data element values
Information technology
This standard specifies the format representation of data element values, that is, the character type used in data element representation and the length of representation. It also specifies additional representations related to digital representation. The scope of this standard is limited to graphic characters, such as numbers, letters and special characters, excluding control characters. These rules apply to any field that requires the specification of these features, including data element dictionaries, information processing and electronic data interchange (EDI).
2 Normative references
The clauses in the following documents become clauses of this standard through the adoption of this standard. For any dated referenced documents, all subsequent amendments (excluding errata) or revisions are not applicable to this standard. However, parties to an agreement based on this standard are encouraged to study whether the latest versions of these documents can be used. For any undated referenced documents, the latest versions apply to this standard. GB/T5271.4—2000 Information technology vocabulary Part 4: Organization of data (eg VISO2382~4: 1987) GB/T17564.1-1998 Standard data element types and related classification schemes for electrical components Part 1: Definitions, principles and methods (idtIEC1360-1: 1995) GB/T18391.3-2001 Information technology Specification and standardization of data elements Part 3: Basic attributes of data elements (idtISO/IEC 11179-3: 1994)
ISO6093: 1985 Information processing Characteristic representation of values ​​for information exchange 3 Terms and definitions www.bzxz.net
The following definitions apply to this standard.
Data element
A data unit whose definition, identification, representation and allowed values ​​are described by a set of attributes. EGB/T 18391. 3--2001J
character setcharacter set
A finite set of different characters that is complete for a given purpose. [GB/T 5271.4-2000]
character type
character type
a set of characters of the same type or with the same purpose. For example: letters, numbers, special characters, etc. 3.4
(representation) lengthlength(of representation) is used to represent the number of characters of a data element. 4Representation of the character type and length of the data element representationThe type and number of characters shall be specified for the representation of the data element. 1
GB/T 19253--2003/IS0/IEC 14957:19964.1Representation of character types
The following rules apply to the types of printable characters used in the representation of data elements and defined in national or ISO standards. These rules do not include communication control codes or field separators. Character types are indicated by the following notation. 4.1.1 Standard Type
A: uppercase letters (A to Z)
a: lowercase letters (a to z)
n: digits (0 to 9).
4.1.2 Mixed Type
Aa: uppercase letters (A to Z) and/or lowercase letters (a to 2)
An: uppercase letters (A to Z) and/or digits (0 to 9)
an: lowercase letters (a to z) and/or digits (0 to 9); Aan: uppercase letters (A to Z) and/or lowercase letters (a to z) and/or math (0 to 9). 4.1.3 Extended Type
This type of characters involves characters that are extended to the character set of symbols and are not standardized. The following notation is used:
S: all allowed characters in an authorized set. One of the following notations shall be used to specify the character set it refers to: sa: all characters permitted by the character set authorized by GB/T15273.1; sb: all characters permitted by the character set authorized by GB/T15273.2; Sc: all characters permitted by the character set authorized by ISO8859-5; sd: all characters permitted by the character set authorized by GB/T15273.7. 4.2 Length
The length of the data element representation may be fixed or variable. 4.2.1 Fixed length
The fixed length representation is to write the number of characters representing the data element after the character type without any spaces or intermediate characters. Examples:
a3: fixed length is 3 lowercase letters;
n6: fixed length is 6 digits.
4.2.2 Variable length
The variable length representation is to write two dots ",," after the indication of the character type. a) Variable length not exceeding the defined maximum number of characters represents a variable length representation of the defined maximum number of characters, written after the character type, without spaces in between, and the variable length representation followed by the maximum number of characters.
Examples:
a..6: variable length up to 6 lowercase letters: An.5: variable length up to 5 uppercase letters and/or numbers; sa..16, variable length up to 16 characters. b) Variable length between the defined minimum and maximum number of characters represents a variable length representation between the defined minimum and maximum number of characters, written after the character type, the minimum number of characters and the variable length representation followed by the maximum number of characters. 1) Additional representations may be added.
Examples:
a3,6: variable length from 3 to 6 lowercase letters: an6..9: variable length from 6 to 9 lowercase letters and/or numbers. 4.2.3 Length represented by several character lines
GB/T 192532003/IS0/EC 14957:1996 The representation of a data element sometimes requires several character lines. The length of these lines can be fixed or variable, not exceeding a defined maximum number.
The representation method for multiple lines is to add the letter "×" before the number of lines, and the "x" is located after the line length indication symbol in accordance with 4.2.1 and 4.2.2. Examples:
an..35x4: 4 lines with a maximum length of 35 lowercase letters and/or numbers; sb25x5: 5 lines with 25 characters each (Authorized set GB/T15273.2-1995 Information Processing Eight-bit Single-byte Coded Graphic Character Set Part 2: Latin Alphabet II). 5 Additional representation of numbers
The rules specified in the previous clauses also apply to numbers. However, it may be more ideal to distinguish between numerical values ​​by a specific representation. 5.1 Numbering system
If it is necessary to indicate which numbering system a data element uses, the notation shown in the following table may be used. The table includes only the main numbering systems in common use2.
Table notation
Binary
Octal
Decimal
Hexadecimal
Sexagesimal
Numbering system
This letter shall be placed after the character type and before the specified length. Unless otherwise specified, the numbering system is assumed to be decimal (base 10). 5.2 Representation of non-computable format
Numbers are represented by lowercase letters "n\" followed by the maximum number of digits that can represent the number, with no spaces or characters in between. Example:
n3: Numbers from 000 to 999.
5.2.2 Positive and negative numbers
a) Explicit notation: Use a plus sign "+" or a minus sign before the lowercase letter "n\". Example:
+n2: Positive numbers from 00 to 99;
n3 Negative numbers from -999 to 000.
b) Implicit notation can be used to represent positive numbers
Example:
n4: Positive numbers from 0000 to 9999.
2) Additional notations may be added.
GB/T 19253---2003/ISO/IEC 14957:1996c) The lowercase letter "n" can be replaced by the uppercase letter "N\ to indicate a given number, which can be negative. Example:
N..2: A positive or negative number from 99 to +99, including 0. 5.3 Representation of computable format specifications
5.3.1 Types of computable formats
The familiar expressions in ISO6093 and GB/T17564.1 are the same as the formal formats used in the descriptions specified in this standard!
I. Integer format (I is consistent with "NRI"); D: Decimal format (D is consistent with \NR2\); F. Floating point number (F is consistent with "NR3");
The letter S indicates that this value can be negative.
5.3.2 Integer format
Integer indicates the maximum length of digits.
Example:
16: Maximum 6 digits that can be calculated Integer format: IS6: Maximum 6 digits that can be calculated for negative values 5.3.3 Decimal format
A decimal number consists of an integer part and a decimal part. The integer indicates the maximum length of the digits;
The integer after the dot indicates the maximum number of decimal places. Example:
D12.3 A decimal number in a 12-digit computable format with a maximum of 3 digits to the right of the decimal point. 5.3.4 Floating-point format
Floating-point numbers follow the convention of exponential representation (ISO60 93). An integer indicates the maximum length of digits;
The integer after the dot indicates the maximum number of decimal places; -The letter S after the letter E indicates that the exponent can be negative; -The last integer indicates the maximum length of the exponent. Example:
F6.3E2 A floating-point number in a computable format, up to 6 digits, with a maximum of 3 digits to the right of the decimal place and a maximum of 2 digits for the exponent.
F4.3ES3 A floating-point number in a computable format, up to 4 digits, with a maximum of 3 digits to the right of the decimal place and a maximum of 3 digits for the exponent, which can be negative.
FS4.3ES1: A floating-point number in a computable format, which can be negative, up to 4 digits, with a maximum of 3 digits to the right of the decimal place and a maximum of digits for the exponent, which can be negative. Note: Sometimes the "floating-point number" form referred to in this standard is called "floating point". In order to be consistent with GB/T15000.4 (neaISO31), the term "floating-point number" is used in this standard.3ES3 A floating point number in a computable format, up to 4 digits long, with up to 3 digits to the right of the decimal place, and an exponent of up to 3 digits, which can be negative.
FS4.3ES1: A floating point number in a computable format, which can be negative, up to 4 digits long, with up to 3 digits to the right of the decimal place, and an exponent of up to digits, which can be negative. Note: Sometimes the "floating point number" form referred to in this standard is called "floating point". In order to be consistent with GB/T15000.4 (neaISO31), the term "floating point number" is used in this standard.3ES3 A floating point number in a computable format, up to 4 digits long, with up to 3 digits to the right of the decimal place, and an exponent of up to 3 digits, which can be negative.
FS4.3ES1: A floating point number in a computable format, which can be negative, up to 4 digits long, with up to 3 digits to the right of the decimal place, and an exponent of up to digits, which can be negative. Note: Sometimes the "floating point number" form referred to in this standard is called "floating point". In order to be consistent with GB/T15000.4 (neaISO31), the term "floating point number" is used in this standard.
Tip: This standard content only shows part of the intercepted content of the complete standard. If you need the complete standard, please go to the top to download the complete standard document for free.