Information Object Class (ASN.1) - Introduction

Introduction

The simplest way of thinking of ASN.1 Information Object Classes is to regard them as a way to represent IDL specification in ASN.1 using concepts derived from the relational databases theory and SQL syntax in particular.

The concepts used in ASN.1 are more flexible than the ones used in IDL, because, continuing the analogy, they allow to "customize grammar" of the "IDL specification". ASN.1 encoding rules are used as a transfer syntax for remote invocations that resemble CORBA/IIOP.

In the light of this comparison, we can draw an approximate analogy between concepts used in Information Object Classes and SQL and IDL concepts as shown in Table 1.

Table 1: Analogy between concepts in ASN.1 Information Object Classes, SQL, and IDL
ASN.1 term Analogy in SQL Analogy in IDL

Information Object Class (IOC)

SQL table structure descriptor (CREATE TABLE statement)

IDL grammar specification (BNF rules)

IOC field declaration

SQL table column descriptor in CREATE TABLE statement (type of a column)

IDL grammar production

Information Object (IO)

SQL table row (INSERT INTO statement)

IDL operation declaration

IO field definition

Cell of SQL table row in INSERT INTO statement (cell value)

Portion of IDL operation declaration, typically related to declaration of an operation type code, parameter list, operation return value, or list of exceptions

Information Object Set (IOS) (collection of Information Objects)

Completely defined SQL table (collection of rows) (see Note 1)

IDL interface definition (collection of operations)

ASN.1 data type using references to IOC fields parameterized with IOS (typically a collection of semantically related types designating request, response, and exception, all parameterized with the same IOS)

-

High-level format (grammar specification) of a frame (marshalling buffer) carrying CORBA request, response, or exception

ASN.1 encoding rules and transfer syntaxes (BER, PER)

-

Low-level encoding of requests, responses and exception indicators suitable for physical transfer over the medium

Note 1. The analogy between IOS and an SQL table is not quite correct. SQL permits only one instance of a table of given type (OPERATION in the example below), while ASN.1 permits multiple Information Object Sets derived from the same Information Object Class, what should be most correctly related to multiple instances of the same table in terms of SQL (OPERATION in the example below).

Read more about this topic:  Information Object Class (ASN.1)

Famous quotes containing the word introduction:

    For the introduction of a new kind of music must be shunned as imperiling the whole state; since styles of music are never disturbed without affecting the most important political institutions.
    Plato (c. 427–347 B.C.)

    The role of the stepmother is the most difficult of all, because you can’t ever just be. You’re constantly being tested—by the children, the neighbors, your husband, the relatives, old friends who knew the children’s parents in their first marriage, and by yourself.
    —Anonymous Stepparent. Making It as a Stepparent, by Claire Berman, introduction (1980, repr. 1986)

    We used chamber-pots a good deal.... My mother ... loved to repeat: “When did the queen reign over China?” This whimsical and harmless scatological pun was my first introduction to the wonderful world of verbal transformations, and also a first perception that a joke need not be funny to give pleasure.
    Angela Carter (1940–1992)