Patent ID: 7447787

Claim:
A data structure converting method, which is for converting a protocol executing data structure into a protocol PDU common data structure, the method comprising: (a) a protocol executing block requesting conversion of the protocol executing data structure; (b) analyzing the conversion-requested protocol executing data structure; (c) searching for a conversion function for converting the analyzed protocol executing data structure into the protocol PDU common data structure, using a conversion table of protocol executing data structure and protocol PDU common data structure; (d) allocating a memory to the protocol PDU common data structure in the searched conversion function, and copying a value of the protocol executing data structure on the memory-allocated protocol PDU common data structure to operate the conversion function; and (e) selecting a protocol PDU encoding/decoding block of a type designated by the protocol executing block, and requesting the protocol PDU encoding/decoding block of the selected type to encode the protocol PDU common data structure, wherein the protocol PDU encoding/decoding block is among a plurality of protocol PDU encoding/decoding blocks including a first protocol PDU encoding/decoding block of an augmented Backus-Naur format, a second protocol PDU encoding/decoding block of an Abstract Syntax Notation One format, the protocol PDU common data converting block including: a second conversion function searching unit for analyzing input information on the protocol PDU common data structure from the protocol PDU encoding/decoding blocks, and searching for a conversion function for converting the protocol PDU common data structure into the protocol executing data structure from the conversion table of protocol executing data structure and protocol PDU common data structure, a second memory allocating unit for allocating a memory to the protocol executing data structure, in the searched conversion function, a second copying unit for copying a value of the protocol PDU common data structure on the memory-allocated protocol executing data structure.