首页> 外国专利> Computer-executable model reverse engineering method and apparatus

Computer-executable model reverse engineering method and apparatus

机译:计算机可执行模型逆向工程的方法和装置

摘要

A computer-executable model reverse engineering method comprises the steps of: receiving an input of a source code; receiving an input of a conversion rule for converting the source code into a target model; parsing the source code through a parser associated with the source code and storing parsing data having a particular data structure in a memory; converting the stored parsing data into a meta model; converting the meta model into the target model according to the input conversion rule; receiving an input of the target model and performing environment configurations for source code generation; reading elements of the target model so as to identify whether the corresponding elements are elements to be generated into the source code; verifying the model elements to be generated into the source code, according to validation rules which the corresponding elements have; and generating the source code according to the result of the verification.
机译:一种计算机可执行模型逆向工程方法,包括以下步骤:接收源代码的输入;以及接收用于将源代码转换为目标模型的转换规则的输入;通过与源代码相关联的解析器解析源代码,并将具有特定数据结构的解析数据存储在存储器中;将存储的解析数据转换为元模型;根据输入的转换规则将元模型转换为目标模型;接收目标模型的输入并执行环境配置以生成源代码;读取目标模型的元素,以识别相应的元素是否为要在源代码中生成的元素;根据相应元素具有的验证规则,对将要生成的模型元素进行验证;根据验证结果生成源代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号