首页> 外国专利> 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.
机译:目的:提供一种映射方法,系统和计算机程序产品,以将ASN.1编码的数据动态映射到对象模型,以生成ASN.1数据结构。构成:如果标签类型很简单,则子例程确定调用是否来自主例程(608)。如果调用来自主例程,则记录标签号以供进一步参考,并且该类仅返回主例程(611)。如果该调用不是来自主例程,则创建新的属性名称,记录数据值,并将该属性与其类关联(609)。如果所分析的标签是结构化的,则生成新的类名称(607),并且该子例程返回到步骤601,以便它可以进一步解析结构化类型内的数据内容。可以递归调用子例程,以便解析结构化类型内,结构化类型内等的所有数据内容。结构化类型由组件组成。结构化类型的示例是SEQUENCE,SEQUENCE OF等。SEQUENCE由一种或多种不同类型组成。 SEQUENCE OF由一个或多个给定类型组成。如果已经到达编码数据的末尾,则将创建的类返回到主例程(611)。如果尚未到达编码数据的末尾,则处理返回到子例程(601)的开始,以进一步解析其余数据。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号