首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 109 毫秒
1.
企业信息系统在企业的经营管理中发挥着至关重要的作用,然而,在企业信息系统的开发过程中,存在着相似代码重复编写、系统架构不一致、开发周期长等问题.目前已有的代码生成工具或无法将系统概念设计与软件实现技术分离,或无法满足由可视化设计直接生成完整功能代码的要求.针对上述问题,设计了一种基于业务模型和界面模型的代码生成工具,开发人员只需要对业务模型和界面模型进行可视化设计,由代码生成工具完成完整的代码生成功能.当模型修改时,由代码生成工具完成代码的重构.目前该代码生成工具已应用于国家电网公司统一应用开发平台中,实践表明,代码生成工具的使用可以减少开发人员80%以上的编码量,实现设计成果的复用和共享,统一企业信息系统的开发架构,提高企业信息系统开发的质量和效率.  相似文献   

2.
企业信息系统在企业的经营管理中发挥着至关重要的作用,然而,在企业信息系统的开发过程中,存在着开发效率低下、系统架构不一致、开发周期长等问题.针对上述问题,设计了一种基于J2EE平台的信息化系统代码生成工具,开发人员只需要进行模型的可视化设计,由代码生成工具完成代码的生成.目前该代码生成工具已应用于实际的开发平台中,实践表明,代码生成工具的使用可以统一企业信息系统的开发架构,大幅度减少开发人员编写重复性代码的工作量,实现设计成果的复用和共享,提高企业信息系统开发的质量和效率.  相似文献   

3.
文中介绍了一种中小规模MIS系统快速开发策略,在对自动代码生成所需的数据库操作模型进行了分析的基础上,提出了一种改进的PetShop分层模型,通过采用文档化需求+生成模板的方式实现了代码生成模块,设计了适应框架目标的类和接口结构.结合河南省工业能源利用管理信息系统项目对这种开发模式的实际应用效果进行了验证.对开发过程中的阶段划分以及各个阶段的开发过程进行了分析和定义,对系统代码生成器生成的代码和最终代码中的代码行数情况进行了统计分析.实际工程应用表明,文中的开发策略能够有效缩短开发周期,同时提高系统代码的质量  相似文献   

4.
基于Java的代码生成器的设计与实现   总被引:1,自引:0,他引:1  
万军民 《计算机工程》2004,30(Z1):122-124
采用代码生成技术能大幅提高软件开发的质量和生产率,降低软件开发的风险.目前,大多数代码生成器由于灵活性欠佳,不能完全满足软件开发的实际需要,难以在软件开发项目中得到充分的应用.该文讨论的代码生成器Generator是一个基于Java的代码生成工具,它支持多种类型的数据库设计模型,允许用户自定义代码模板和代码生成任务,适合生成基于数据库模型的任意形式的代码及相关的文本文件,具有广泛的通用性.  相似文献   

5.
基于Java的代码生成器的设计与实现   总被引:3,自引:0,他引:3  
万军民 《计算机工程》2004,30(12):122-124
采用代码生成技术能大幅提高软件开发的质量和生产率,降低软件开发的风险。目前,大多数代码生成器由于灵活性欠佳,不能完全满足软件开发的实际需要,难以在软件开发项目中得到充分的应用。该讨论的代码生成器Generator是一个基于Java的代码生成工具,它支持多种类型的数据库设计模型,允许用户自定义代码模板和代码生成任务,适合生成基于数据库模型的任意形式的代码及相关的本件,具有广泛的通用性。  相似文献   

6.
数据库应用系统的层次化设计方法与实现   总被引:1,自引:4,他引:1  
为了满足大型数据库应用系统开发中客户需求的不断变化和个性化的要求,缩短软件开发周期,提高代码可维护性,提出了一个基于6层的软件设计方法,并描述了各层的主要功能和接口机制。在此基础上实现了一个代码生成工具,并应用于具体的工程实践中,满足了系统的快速开发和良好的适应性、扩展性要求。  相似文献   

7.
复杂的信息系统通常有许多的功能模块,开发工作量很大,考虑到各功能模块的实现有许多相似的代码,可以利用工具来帮助产生代码;介绍利用代码生成工具CodeSm ith来生成数据库应用系统的代码,大大提高了信息系统开发的效率,并增强了代码的可维护性。  相似文献   

8.
为快速开发嵌入式应用中的接口通讯程序,提高其效率和可靠性,本文提出了一种基于ICD的代码自动生成技术.首先确定了目标代码的形式,通过设计系统结构、建立驱动模型和代码生成单元结构,最终实现了代码生成器.本文设计的代码生成器,能够根据ICD数据库自动生成符合ANSI C标准的接口通讯程序,并在某航天工程的集成仿真测试系统中得到应用验证.  相似文献   

9.
虽然基于模型的设计逐步取代基于文本规范的传统的嵌入式软件开发模式,但是目前RTW(Real-Time Workshop)代码生成工具仅仅将控制算法模型自动转换为源代码,对于实时系统的开发来说,目标芯片的驱动代码还需要用户手动编写,然后添加到控制算法的模型源代码中。针对上述问题,提出基于RTW的驱动代码快速生成技术,它能有效地实现在生成代码的同时将驱动程序嵌入到控制模型的源代码中,真正实现由仿真模型到目标芯片应用程序的代码自动生成。最后以汽车电子主流芯片MPC5634的代码生成为例,结果表明了该技术的实用性和高效性。  相似文献   

10.
丁月华  王颂贞  徐浩 《计算机工程》2009,35(12):235-238
针对如何快速高效率开发手机游戏,提出一个代码生成器的设计方案,用来在手机开发过程中实现手机游戏代码的自动生成。介绍模型驱动架构以及代码生成技术的相关知识。讨论代码生成技术的实现原理和代码生成器的结构,并使用代码生成器生成一个通用的手机游戏的例子。  相似文献   

11.
代码生成器充分利用代码重用性,避免的繁琐的重复编码,为快速软件开发提供可靠的解决方案。目前,对于代码生成器的理论研究已经比较完善。但实际工程使用时,存在操作不灵活、使用不方便、功能整合能力不足。本文通过可视化拖、拉、拽等可视化操作,实现页面设计以及关键属性的设置,通过对页面内容解析、转换、以及基于模板代码生成技术,从而快速生成目标代码。实现了将代码生成器整合于应用系统开发平台,方便开发者使用代码生成器进行应用开发。  相似文献   

12.
根据J2EE体系结构特点,提出基于模板技术的代码自动生成模型,实现由业务模型描述文件到业务组件的自动生成。从分析J2EE结构入手,确定生成的目标代码,讨论基于模板技术的代码生成器原理和模型,设计模板文件,定义业务模型描述文件的规格,实现了代码生成器。介绍了应用代码生成器的开发模式。  相似文献   

13.
Metamorphic software changes its internal structure across generations with its functionality remaining unchanged. Metamorphism has been employed by malware writers as a means of evading signature detection and other advanced detection strategies. However, code morphing also has potential security benefits, since it can serve to increase the “genetic diversity” of software. We have created a metamorphic code generator within the LLVM compiler framework. LLVM is a three-phase compiler that supports multiple source languages and target architectures. It uses a common intermediate representation (IR) bytecode in its optimizer. Consequently, any supported high-level programming language is transformed to this IR bytecode as part of the LLVM compilation process. Our metamorphic generator functions at the IR bytecode level, which provides many advantages over morphing at the assembly or source code level. The morphing techniques that we employ include dead code insertion and transposition, where the dead code is actually executed within the morphed code, making its detection and removal more challenging. We have verified the effectiveness of our code morphing using hidden Markov model analysis.  相似文献   

14.
Alonso  O. 《Software, IEEE》2003,20(3):98-105
To develop reusable domain-based assets, the author shows how to connect a domain analysis tool's output to a program generator and then to a domain implementation's input. The generator he built using Java, XML, and Oracle tools can produce code for JSP, PL/SQL, and PSP. This domain engineering research project demonstrated that it is possible to successfully implement software product lines in industrial environments using existing tools.  相似文献   

15.
The extension of frameworks with domain-specific modeling languages (DSML) has proved to be an effective way of improving the productivity in software product-line engineering. However, developing and evolving a DSML is typically a difficult and time-consuming task because it requires to develop and maintain a code generator, which transforms application models into framework-based code. In this paper, we propose a new approach for extending object-oriented frameworks that aims to alleviate this problem. The approach is based on developing an additional aspect-oriented layer that encodes a DSML for building framework-based applications, eliminating the need of implementing a code generator. We further show how a language workbench is capable of automating the construction of DSMLs using the proposed layer.  相似文献   

16.
介绍一种易于软件实现的新型离散卷积编译码器的数学模型,通过修改生成矩阵的表述方法来完成一个普通的卷积码编译过程,并给出该算法的流程.这种数学模型与传统数学模型相比,时间复杂度低,且易于软件实现.  相似文献   

17.
基于MDA的代码生成器设计与实现   总被引:3,自引:1,他引:2  
针对如何将业务模型转换为程序代码的问题,提出一种代码生成器设计方案,用以实现模型驱动架构中代码的自动生成。介绍采用XML描述的面向业务对象的平台无关模型,在此基础上设计实现代码生成器,完成从平台无关模型到代码的自动转换,以支持在业务模型变化后系统行为的快速变化和代码的自动生成,通过实例演示该代码生成器的应用。  相似文献   

18.
提高基于web services的应用程序的开发速度,是当今软件产业界研究的重点.本文分析和设计了一个web services代码生成器的,通过它可以大大提高软件的开发效率,降低开发成本.  相似文献   

19.
Simulation of legal policies is an important decision-support tool in domains such as taxation. The primary goal of legal policy simulation is predicting how changes in the law affect measures of interest, e.g., revenue. Legal policy simulation is currently implemented using a combination of spreadsheets and software code. Such a direct implementation poses a validation challenge. In particular, legal experts often lack the necessary software background to review complex spreadsheets and code. Consequently, these experts currently have no reliable means to check the correctness of simulations against the requirements envisaged by the law. A further challenge is that representative data for simulation may be unavailable, thus necessitating a data generator. A hard-coded generator is difficult to build and validate. We develop a framework for legal policy simulation that is aimed at addressing the challenges above. The framework uses models for specifying both legal policies and the probabilistic characteristics of the underlying population. We devise an automated algorithm for simulation data generation. We evaluate our framework through a case study on Luxembourg’s Tax Law.  相似文献   

20.
Model-driven engineering (MDE), implicitly based upon meta-model principles, is gaining more and more attention in software systems due to its inherent benefits. Its use normally improves the quality of the developed systems in terms of productivity, portability, inter-operability and maintenance. Therefore, its exploitation for the development of multi-agent systems (MAS) emerges in a natural way. In this paper, agent-oriented software development (AOSD) and MDE paradigms are fully integrated for the development of MAS. Meta-modeling techniques are explicitly used to speed up several phases of the process. The Prometheus methodology is used for the purpose of validating the proposal. The meta-object facility (MOF) architecture is used as a guideline for developing a MAS editor according to the language provided by Prometheus methodology. Firstly, an Ecore meta-model for Prometheus language is developed. Ecore is a powerful tool for designing model-driven architectures (MDA). Next, facilities provided by the Graphical Modeling Framework (GMF) are used to generate the graphical editor. It offers support to develop agent models conform to the meta-model specified. Afterwards, it is also described how an agent code generator can be developed. In this way, code is automatically generated using as input the model specified with the graphical editor. A case of study validates the method put in practice for the development of a multi-agent surveillance system.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号