Automatic translation between CMIP PDUs and custom data structures
First Claim
1. A method for use in a computer to translate data between CMIP PDUs and user-designed data structures, comprising in combination the steps of:
- a) providing GDMO definitions to a GDMO compiler to generate GDMO meta data;
b) providing ASN.1 definitions to an ASN.1 compiler to generate ASN.1meta data;
c) loading said GDMO meta data and said ASN.1 meta data into said computer'"'"'s memory;
d) analyzing said GDMO meta data and said ASN.1 meta data in said computer'"'"'s memory to generate default configuration specifications for Managed Object classes and attributes present in said GDMO meta data and all ASN.1 data types referenced by said attributes in a first configuration file, wherein said step of generating default configuration specifications further comprises the steps of;
i) creating an MOClassTable in said computer'"'"'s memory for storing configuration specifications of the Managed Object classes present in said GDMO meta data;
ii) creating a GlobalAttributeTable in said computer'"'"'s memory for storing the configuration specifications of the attributes belonging to said Managed Object classes;
iii) creating an ASN1TypeTable in said computer'"'"'s memory for storing the configuration specifications of the ASN.1 types referenced by said attributes;
iv) processing the meta data of each Managed Object class present in said GDMO meta data and populating said MOClassTable, said GlobalAttributeTable and said ASN1TypeTable with Managed Object Class, Attribute and ASN.1 Type configurations, respectively; and
v) writing said configuration information from said tables into said first configuration file.e) allowing the user to modify said configuration file to incorporate his/her preferences on the data structures to be used for representing instances of said Managed Object classes by modifying said generated configuration specifications for said Managed Object classes, attributes belonging to said Managed Object classes and ASN.1 types referenced by said attributes;
f) analyzing said modified configuration specifications for said Managed Object classes, said attributes and said ASN.1 types to generate translation tables, and data structures based on user'"'"'s preferences as recorded in said modified configuration specifications for storing instance data of said Managed Object classes; and
g) performing translations between CMIP PDUs and said user-designed data structures according to said translation tables.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for translating attribute data carried in Common Management Information Protocol (CMIP) Protocol Data Units (PDUs) to/from custom designed data structures. A supplementary method for incorporating user'"'"'s preferences on the data structures and the relationships between different fields in these data structures and the corresponding attribute values is also provided. The translation method automatically performs conversions between the user-designed data structures and various CMIP requests/responses automatically, and, in accordance with user'"'"'s preferences. The method allows users to simplify and/or compact the storage representation of the Managed Objects by taking advantage of application specific knowledge, and by eliminating unnecessary fields from CHOICE data types in the target data structures. Benefits of the methods presented in this disclosure include automatic translation of CMIP PDUs to/from user-designed data structures, ability to store Managed Object data in space-efficient manner, and automatic generation of data structures for use in communicating with devices using proprietary data representation.
102 Citations
13 Claims
-
1. A method for use in a computer to translate data between CMIP PDUs and user-designed data structures, comprising in combination the steps of:
-
a) providing GDMO definitions to a GDMO compiler to generate GDMO meta data; b) providing ASN.1 definitions to an ASN.1 compiler to generate ASN.1meta data; c) loading said GDMO meta data and said ASN.1 meta data into said computer'"'"'s memory; d) analyzing said GDMO meta data and said ASN.1 meta data in said computer'"'"'s memory to generate default configuration specifications for Managed Object classes and attributes present in said GDMO meta data and all ASN.1 data types referenced by said attributes in a first configuration file, wherein said step of generating default configuration specifications further comprises the steps of; i) creating an MOClassTable in said computer'"'"'s memory for storing configuration specifications of the Managed Object classes present in said GDMO meta data; ii) creating a GlobalAttributeTable in said computer'"'"'s memory for storing the configuration specifications of the attributes belonging to said Managed Object classes; iii) creating an ASN1TypeTable in said computer'"'"'s memory for storing the configuration specifications of the ASN.1 types referenced by said attributes; iv) processing the meta data of each Managed Object class present in said GDMO meta data and populating said MOClassTable, said GlobalAttributeTable and said ASN1TypeTable with Managed Object Class, Attribute and ASN.1 Type configurations, respectively; and v) writing said configuration information from said tables into said first configuration file. e) allowing the user to modify said configuration file to incorporate his/her preferences on the data structures to be used for representing instances of said Managed Object classes by modifying said generated configuration specifications for said Managed Object classes, attributes belonging to said Managed Object classes and ASN.1 types referenced by said attributes; f) analyzing said modified configuration specifications for said Managed Object classes, said attributes and said ASN.1 types to generate translation tables, and data structures based on user'"'"'s preferences as recorded in said modified configuration specifications for storing instance data of said Managed Object classes; and g) performing translations between CMIP PDUs and said user-designed data structures according to said translation tables. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for use in a computer to translate data between CMIP PDUs and user-designed data structures, comprising in combination the steps of:
-
a) providing GDMO definitions to a GDMO compiler to generate GDMO meta data; b) providing ASN.1 definitions to an ASN.1 compiler to generate ASN.1 meta data; c) loading said GDMO meta data and said ASN.1 meta data into said computer'"'"'s memory; d) analyzing said GDMO meta data and said ASN.1 meta data in said computer'"'"'s memory to generate default configuration specifications for Managed Object classes and attributes present in said GDMO meta data and all ASN.1 data types referenced by said attributes in a first configuration file, e) allowing the user to modify said configuration file to incorporate his/her preferences on the data structures to be used for representing instances of said Managed Object classes by modifying said generated configuration specifications for said Managed Object classes, attributes belonging to said Managed Object classes and ASN.1 types referenced by said attributes; f) analyzing said modified configuration specifications for said Managed Object classes, said attributes and said ASN.1 types to generate translation tables, and data structures based on user'"'"'s preferences as recorded in said modified configuration specifications for storing instance data of said Managed Object classes, wherein said step of analyzing modified configuration specifications and generating translation-tables comprises the steps of; i) reading each configuration specification from the modified configuration file; ii) creating an entry in said MOClassTable if said configuration specification is a CLASS specification; iii) creating an entry in said GlobalAttributeTable if said configuration specification is an ATTRIBUTE specification; and iv) creating an entry in said ASN.1TypeTable if said configuration specification is a TYPE specification and g) performing translations between CMIP PDUs and said user-designed data structures according to said translation tables. - View Dependent Claims (7, 8, 9)
-
-
10. A method for use in a computer to translate data between CMIP PDUs and user-designed data structures, comprising in combination the steps of:
-
a) providing GDMO definitions to a GDMO compiler to generate GDMO meta data; b) providing ASN.1 definitions to an ASN.1 compiler to generate ASN.1 meta data; c) loading said GDMO meta data and said ASN.1 meta data into said computer'"'"'smemory; d) analyzing said GDMO meta data and said ASN.1 meta data in said computer'"'"'s memory to generate default configuration specifications for Managed Object classes and attributes present in said GDMO meta data and all ASN.1 data types referenced by said attributes in a first configuration file; e) allowing the user to modify said configuration file to incorporate his/her preferences on the data structures to be used for representing instances of said Managed Object classes by modifying said generated configuration specifications for said Managed Object classes, attributes belonging to said Managed Object classes and ASN.1 types referenced by said attributes; f) analyzing said modified configuration specifications for said Managed Object classes, said attributes and said ASN.1 types to generate translation tables, and data structures based on user'"'"'s preferences as recorded in said modified configuration specifications for storing instance data of said Managed Object classes; and g) performing translations between CMIP PDUs and said user-designed data structures according to said translation tables, wherein said step of performing translations from a CMIP PDU to said user-designed data structure comprises the steps of; i) retrieving the Managed Object Class information from CMIP PDU; ii) locating an entry for said Managed Object class in said MOClassTable using said Managed Object Class Information; iii) retrieving size of the C data structure from said MOClassTable entry; iv) creating a C data structure of said size; and v) for each attribute included in said CMIP PDU, and translating said attribute'"'"'s information into desired C data type, and storing the C value at appropriate location in said C structure created above. - View Dependent Claims (11)
-
-
12. A method for use in a computer to translate data between CMIP PDUs and user-designed data structures, comprising in combination the steps of:
-
a) providing GDMO definitions to a GDMO compiler to generate GDMO meta data; b) providing ASN.1 definitions to an ASN.1 compiler to generate ASN.1 meta data; c) loading said GDMO meta data and said ASN.1 meta data into said computer'"'"'s memory; d) analyzing said GDMO meta data and said ASN.1 meta data in said computer'"'"'s memory to generate default configuration specifications for Managed Object classes and attributes present in said GDMO meta data and all ASN.1 data types referenced by said attributes in a first configuration file; e) allowing the user to modify said configuration file to incorporate his/her preferences on the data structures to be used for representing instances of said Managed Object classes by modifying said generated configuration specifications for said Managed Object classes, attributes belonging to said Managed Object classes and ASN.1 types referenced by said attributes; f) analyzing said modified configuration specifications for said Managed Object classes, said attributes and said ASN.1 types to generate translation tables, and data structures based on user'"'"'s preferences as recorded in said modified configuration specifications for storing instance data of said Managed Object classes; and g) performing translations between CMIP PDUs and said user-designed data structures according to said translation tables, wherein said step of performing translations from said user-designed data structure to a CMIP PDU comprises the steps of; i) retrieving the Managed Object Class information from a user-provided parameter that identifies Managed Object Class associated with said user data structure; ii) locating the entry for said Managed Object class in said MOClassTable using said Managed Object class Information; iii) retrieving said Managed Object Class'"'"'s ClassAttributeTable entry by following ClassAttributeTablePointer in said MOClassTable entry; iv) creating an instance of said CMIP PDU'"'"'s type; and v) retrieving bit-mask information from said user data structure, and for each bit in the bit-mask with a value of one, noting index of said bit, and identifying corresponding attribute by looking up an entry at said index position in said ClassAttributeTable entry, and creating an entry for said attribute in CMIP PDU. - View Dependent Claims (13)
-
Specification