首页> 外国专利> Two meta-level modeling approach for mapping typed data

Two meta-level modeling approach for mapping typed data

机译:映射类型数据的两种元级别建模方法

摘要

The present invention is directed to an improved mapping system and code generation system. Embodiments of the present invention separate the mapping of data elements into two metalevels. The first metalevel maps between types of elements (e.g., string, int, float, varchar, etc.). This first metalevel mapping is associated with an object that contains a method (i.e., a function) which performs the conversion between the type of the element from a first data structure to the type of element in a second data structure. The second metalevel describes the actual mapping between the data elements at issue. Accordingly, the second metalevel results in an instance of the first metalevel object. Source code or scripts generated in accordance with this separation provide numerous advantages including improved flexibility, reduced storage space usage and others. The two metalevel modeling of the invention can be embodied in source code (or script) generators to generate more efficient source code (or scripts).
机译:本发明针对一种改进的映射系统和代码生成系统。本发明的实施例将数据元素的映射分为两个元级。第一个元级别在元素类型之间进行映射(例如,字符串,整数,浮点数,varchar等)。该第一元级映射与包含方法(即函数)的对象相关联,该方法执行从第一数据结构的元素类型到第二数据结构的元素类型之间的转换。第二个元级别描述了有争议的数据元素之间的实际映射。因此,第二元级别导致第一元级别对象的实例。根据这种分离生成的源代码或脚本提供了许多优点,包括改进的灵活性,减少的存储空间使用率等。本发明的两个元级建模可以体现在源代码(或脚本)生成器中,以生成更有效的源代码(或脚本)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号