首页>
外国专利>
STRATEGY FOR DYNAMICALLY MODELING ASN.1 DATA TO AN OBJECT MODEL
STRATEGY FOR DYNAMICALLY MODELING ASN.1 DATA TO AN OBJECT MODEL
展开▼
机译:将ASN.1数据动态建模为对象模型的策略
展开▼
页面导航
摘要
著录项
相似文献
摘要
PURPOSE: A mapping a method and system, and a computer program product are provided to dynamically map ASN.1 encoded data to an object model to generate an ASN.1 data structure. CONSTITUTION: If the tag type is simple, the subroutine then determines if the call is from main routine(608). If the call is from the main routine, the tag number is recorded for further reference, and the class is simply return to main routine(611). If the call is not from the main routine, a new attribute name is created, the data value is recorded, and the attribute is associated with its class(609). If the tag analyzed is structured, a new class name is generated(607), and the subroutine returns to step 601 so that it can further parse the data content within the structured type. The subroutine could be recursively called in order to parse all the data contents which is within a structured type, which is within a structured type, etc. Structured types consist of components. Examples of structured types are SEQUENCE, SEQUENCE OF, etc. SEQUENCE consists of one or more different types. SEQUENCE OF consists of one or more of a given type. If the end of encoding data has been reached, the created classes are returned to the main routine(611). If the end of the encoding data has not been reached, the process returns to the start of the subroutine(601) to further parse the rest of the data.
展开▼