[go: up one dir, main page]

CN107092478A - The integrated system and method for a kind of software component library and component development instrument - Google Patents

The integrated system and method for a kind of software component library and component development instrument Download PDF

Info

Publication number
CN107092478A
CN107092478A CN201710102978.2A CN201710102978A CN107092478A CN 107092478 A CN107092478 A CN 107092478A CN 201710102978 A CN201710102978 A CN 201710102978A CN 107092478 A CN107092478 A CN 107092478A
Authority
CN
China
Prior art keywords
component
information
description
library
development tool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710102978.2A
Other languages
Chinese (zh)
Other versions
CN107092478B (en
Inventor
赵晓哲
陈行军
杨建�
史红权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Naval Vessels College Navy P L A
Original Assignee
Dalian Naval Vessels College Navy P L A
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian Naval Vessels College Navy P L A filed Critical Dalian Naval Vessels College Navy P L A
Priority to CN201710102978.2A priority Critical patent/CN107092478B/en
Publication of CN107092478A publication Critical patent/CN107092478A/en
Application granted granted Critical
Publication of CN107092478B publication Critical patent/CN107092478B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明涉及一种软件构件库与构件开发工具的集成系统与方法。所述集成系统包括构件开发工具集成接口和构件开发工具集成模块。本发明针对构件的开发,实现了构件管理系统与构件开发工具的集成,通过构件开发工具集成接口与外部的构件开发工具之间进行数据交换,通过构件开发工具集成模块为构件开发工具提供构件库访问接口,实现构件加载与解析入库、构件导出以及构件删除,并用于更新构件库从而实现构件开发工具的结果与构件库同步。

The invention relates to an integrated system and method of a software component library and a component development tool. The integration system includes a component development tool integration interface and a component development tool integration module. The invention aims at component development, realizes the integration of the component management system and the component development tool, performs data exchange between the component development tool integration interface and the external component development tool, and provides the component library for the component development tool through the component development tool integration module The access interface implements component loading and parsing into the library, component export and component deletion, and is used to update the component library so that the results of the component development tool are synchronized with the component library.

Description

一种软件构件库与构件开发工具的集成系统与方法System and method for integrating software component library and component development tool

技术领域technical field

本发明面向软件过程管理领域,特别涉及一种软件构件库与构件开发工具的集成系统与方法。The invention faces the field of software process management, and in particular relates to an integrated system and method of a software component library and a component development tool.

背景技术Background technique

软件过程(Software Process)是由一套关于项目的阶段、状态、方法、技术和开发、维护软件的人员以及整个软件生命周期的各个阶段(计划、文档、模型、编码、测试、手册等)组成。The software process (Software Process) is composed of a set of project phases, states, methods, techniques and personnel who develop and maintain the software and the various stages of the entire software life cycle (plans, documents, models, coding, testing, manuals, etc.) .

软件开发过程包括设计软件的功能和实现的算法和方法、软件的总体结构设计和需求、模型、构件等模块设计、编程和调试、程序联调和测试以及编写、提交程序等一系列操作,软件工程过程的管理等方面。The software development process includes a series of operations such as designing software functions and implementing algorithms and methods, overall software structure design and requirements, module design such as models and components, programming and debugging, program joint debugging and testing, and writing and submitting programs. Software engineering process management etc.

软件过程的控制、预测和改进需要可信的和准确的数据,随着计算机软件的自身规模和精细程度的日益提升,软件开发过程已经发展为一个多要素相互联系、支持、影响和制约的复杂过程,为了对软件开发的整体过程实施有效的决策、规划、管理与考核,为了确保软件质量和提高产品竞争力,需要对软件开发过程进行数据管理,为快速开发高质量软件、有效地维护软件运行等各类活动提供指导性框架、实施方法和最佳实践。The control, prediction and improvement of the software process require credible and accurate data. With the increasing scale and sophistication of computer software, the software development process has developed into a complex system of multi-element interconnection, support, influence and restriction. Process, in order to implement effective decision-making, planning, management and assessment of the overall process of software development, in order to ensure software quality and improve product competitiveness, it is necessary to manage data in the software development process, in order to quickly develop high-quality software and effectively maintain software Provides a guiding framework, implementation methodology and best practices for various activities, including operations.

构件是软件开发过程中需要管理的重要对象。构件是可供组装和复用的软件组成部分,具有相对独立的功能,以及按预定规则定义的接口,可被用来构造软件。构件一般是由第三方通过构件开发工具所开发的。Components are important objects that need to be managed in the software development process. Components are software components that can be assembled and reused. They have relatively independent functions and interfaces defined by predetermined rules, and can be used to construct software. Components are generally developed by third parties through component development tools.

构件作为软件开发过程当中的管理对象,其是由独立的构件开发工具产生的,来源广泛,而且其组成和形式都更为复杂。因此,面向构件的管理形成可用、高效的数据库,并且实现与构件开发工具的集成化的难度比较大,是现有技术中需要解决的一个关键性问题。Components, as management objects in the software development process, are produced by independent component development tools, have a wide range of sources, and their composition and form are more complex. Therefore, it is relatively difficult to form a usable and efficient database through component-oriented management and realize integration with component development tools, which is a key problem to be solved in the prior art.

发明内容Contents of the invention

本发明的目的在于针对软件开发过程中对构件的管理存在不足的现状,提出了一种软件构件库与构件开发工具的集成系统与方法。本发明针对构件的开发,实现了构件管理系统与构件开发工具的集成,通过约定的数据接口实现构件开发工具与构件库的数据交换。为构件开发工具提供构件库访问接口,支持构件设计、删除、新建和修改的功能,实现构件开发工具的结果与构件库同步。The object of the present invention is to propose an integrated system and method of a software component library and a component development tool aiming at the current situation of insufficient component management in the software development process. The invention aims at component development, realizes the integration of the component management system and the component development tool, and realizes the data exchange between the component development tool and the component library through the agreed data interface. Provide component library access interface for component development tools, support the functions of component design, deletion, creation and modification, and realize the synchronization between the results of component development tools and the component library.

本发明的技术方案具体如下面所描述:Technical scheme of the present invention is specifically described as follows:

一种软件构件库与构件开发工具的集成系统,其特征在于,包括:An integrated system of a software component library and a component development tool, characterized in that it includes:

构件开发工具集成接口,用于与外部的构件开发工具之间的数据交换,该接口的交换数据包括构件描述XML文件和构件包;Component development tool integration interface, used for data exchange with external component development tools, the exchange data of this interface includes component description XML files and component packages;

构件开发工具集成模块,是构件库的构件管理系统的一部分,用于通过构件开发工具集成接口实现构件开发工具与构件库的数据交换,为构件开发工具提供构件库访问接口,实现构件加载与解析入库、构件导出以及构件删除,并用于更新构件库从而实现构件开发工具的结果与构件库同步。The component development tool integration module is a part of the component management system of the component library, which is used to realize the data exchange between the component development tool and the component library through the component development tool integration interface, provide the component library access interface for the component development tool, and realize component loading and analysis Storage, component export, and component deletion are used to update the component library so that the results of the component development tool are synchronized with the component library.

优选的是,所述构件描述XML文件包括由构件开发工具生成的描述构件基本信息和构件内部关联信息的XML标记;所述构件包是由构件开发工具对构件模型文件和构件实现代码文件按照规定的文件目录结构打包压缩形成的。Preferably, the component description XML file includes XML tags generated by the component development tool to describe the basic information of the component and the internal association information of the component; The file directory structure is packaged and compressed.

优选的是,为了将构件研发工具所生成的构件高效加入构件库,并实时更新构件库的状态,所述构件开发工具集成模块包括:加载构件并解析入库单元,该单元用于加载构件研发工具所生成的构件描述XML文件和构件包,通过解析构件描述XML文件获取构件基本信息,构件模型描述信息和构件实现代码描述信息,并将以上信息以及构件包保存到构件库;相应地更新构件库的构件时态信息和状态信息。Preferably, in order to efficiently add the components generated by the component development tool to the component library and update the status of the component library in real time, the component development tool integration module includes: loading components and analyzing the storage unit, which is used for loading component development The component description XML file and component package generated by the tool can obtain the basic component information, component model description information and component implementation code description information by parsing the component description XML file, and save the above information and component package to the component library; update the component accordingly Component temporal information and state information of the library.

优选的是,为了便于对构件库中的构件进行高效和方便的导出和应用,所述构件开发工具集成模块进一步包括:出库构件并导出单元,该单元用于浏览构件,并且根据构件基本信息、构件模型描述信息和构件实现代码描述信息、构件包生成构件描述XML文件和构件包,对外导出所生成的构件描述XML文件和构件包,并更新构件库的构件时态信息和状态信息。Preferably, in order to facilitate the efficient and convenient export and application of the components in the component library, the component development tool integration module further includes: a library component and export unit, which is used to browse the component, and according to the basic information of the component , Component model description information, component implementation code description information, and component packages generate component description XML files and component packages, export the generated component description XML files and component packages, and update component temporal information and status information of component libraries.

优选的是,为了便于删除构件库中已有的构件,从而实现构件库的精简与更新,所述构件开发工具集成模块进一步包括:删除构件并更新构件库单元,该单元用于将构件删除,并更新构件时态信息和状态信息。Preferably, in order to facilitate the deletion of existing components in the component library, so as to realize the simplification and update of the component library, the component development tool integration module further includes: deleting components and updating component library units, the unit is used to delete components, And update the component temporal information and state information.

本发明提供了一种软件构件库与构件开发工具的集成方法,其特征在于,包括以下步骤:The invention provides a method for integrating a software component library and a component development tool, which is characterized in that it comprises the following steps:

通过构件开发工具集成接口与外部的构件开发工具之间进行数据交换,该接口的交换数据包括构件描述XML文件和构件包;Data exchange is performed between the component development tool integration interface and the external component development tool, and the exchange data of the interface includes component description XML files and component packages;

通过构件开发工具集成模块为构件开发工具提供构件库访问接口,实现构件加载与解析入库、构件导出以及构件删除,并用于更新构件库从而实现构件开发工具的结果与构件库同步。The component library access interface is provided for the component development tool through the component development tool integration module, which realizes component loading and parsing into the library, component export and component deletion, and is used to update the component library so that the results of the component development tool are synchronized with the component library.

优选的是,所述构件描述XML文件包括由构件开发工具生成的描述构件基本信息和构件内部关联信息的XML标记;所述构件包是由构件开发工具对构件模型文件和构件实现代码文件按照规定的文件目录结构打包压缩形成的。Preferably, the component description XML file includes XML tags generated by the component development tool to describe the basic information of the component and the internal association information of the component; The file directory structure is packaged and compressed.

优选的是,为了将构件研发工具所生成的构件高效加入构件库,并实时更新构件库的状态,所述集成方法包括加载构件并解析入库步骤,该步骤中,加载构件研发工具所生成的构件描述XML文件和构件包,通过解析构件描述XML文件获取构件基本信息,构件模型描述信息和构件实现代码描述信息,并将以上信息以及构件包保存到构件库;相应地更新构件库的构件时态信息和状态信息。Preferably, in order to efficiently add the components generated by the component development tool to the component library and update the state of the component library in real time, the integration method includes the steps of loading components and analyzing them into the library, in this step, loading the components generated by the component development tool Component description XML file and component package, get basic component information, component model description information and component implementation code description information by parsing the component description XML file, and save the above information and component package to the component library; correspondingly update the components of the component library status information and status information.

优选的是,为了便于对构件库中的构件进行高效和方便的导出和应用,所述集成方法包括导出构件步骤,该步骤中,浏览构件,并且根据构件基本信息、构件模型描述信息和构件实现代码描述信息、构件包生成构件描述XML文件和构件包,对外导出所生成的构件描述XML文件和构件包,并更新构件库的构件时态信息和状态信息。Preferably, in order to facilitate the efficient and convenient export and application of the components in the component library, the integration method includes the step of exporting the components, in this step, browsing the components, and according to the basic information of the components, the description information of the component model and the component realization Code description information, component package Generate component description XML files and component packages, export the generated component description XML files and component packages, and update component temporal information and status information of component libraries.

优选的是,为了便于删除构件库中已有的构件,从而实现构件库的精简与更新,所述集成方法进一步包括:删除构件并更新构件库步骤,该步骤中,将构件删除,并更新构件时态信息和状态信息。Preferably, in order to facilitate the deletion of existing components in the component library, so as to simplify and update the component library, the integrated method further includes: the step of deleting the component and updating the component library, in this step, deleting the component and updating the component Temporal information and status information.

可见,通过本发明的软件构件库与构件开发工具的集成系统与方法,提供了软件构件库及其构件管理系统与外部的构件开发工具之间有效的交互方式,本发明既是构件管理系统的一部分,又是构件管理系统与构件开发工具之间的接口,实现了面向第三发构件开发工具的集成,有利于将开发构件纳入构件库进行维护、管理以及应用,达到了构件开发过程管理的规范化和系统化。It can be seen that, through the integrated system and method of software component library and component development tool of the present invention, an effective interaction mode between the software component library and its component management system and external component development tools is provided, and the present invention is a part of the component management system , which is also the interface between the component management system and the component development tool, realizes the integration of the third-party component development tool, which is beneficial to include the development component into the component library for maintenance, management and application, and achieves the standardization of component development process management and systematize.

附图说明Description of drawings

下面结合附图对本发明进行进一步详细的描述,以使得本发明的上述优点更加明确。The present invention will be described in further detail below in conjunction with the accompanying drawings, so as to make the above-mentioned advantages of the present invention clearer.

图1是本发明所述系统的构件开发工具集成接口示意图;Fig. 1 is a schematic diagram of the component development tool integration interface of the system of the present invention;

图2是本发明的构件包文件目录结构示意图;Fig. 2 is a schematic diagram of the component package file directory structure of the present invention;

图3是本发明所述构件管理系统的组成结构示意图;3 is a schematic diagram of the composition and structure of the component management system of the present invention;

图4是本发明所述构件管理系统的部件关系示意图;Fig. 4 is a schematic diagram of the component relationship of the component management system of the present invention;

图5是本发明所述加载构件并解析入库单元的操作流程图;Fig. 5 is the operation flowchart of loading components and analyzing storage units according to the present invention;

图6是本发明所述出库构件并导出单元的操作流程图;Fig. 6 is the operation flow diagram of the outbound component and export unit of the present invention;

图7是本发明所述删除构件并更新构件库单元的操作流程示意图。Fig. 7 is a schematic diagram of the operation flow of deleting a component and updating a component library unit according to the present invention.

具体实施方式detailed description

下面结合附图对本发明作进一步详细的描述。The present invention will be described in further detail below in conjunction with the accompanying drawings.

为了实现与位于本系统外部的构件开发工具的集成,本系统提供了一个构件开发工具集成接口。该接口作为本系统连通外部的接口,如图1所示,实现与外部的构件开发工具之间的数据交换,该接口的交换数据包括构件描述XML文件和构件包。In order to realize the integration with the component development tools located outside the system, the system provides a component development tool integration interface. This interface serves as the interface connecting the system to the outside, as shown in Figure 1, to realize data exchange with external component development tools. The exchange data of this interface includes component description XML files and component packages.

构件开发工具开发生成对于构件基本信息和构件内部关联信息的构件描述XML文件;同时,构件开发工具将构件模型文件和构件实现代码文件按照规定的文件目录结构打包压缩形成构件包。The component development tool develops and generates the component description XML file for the basic information of the component and the internal correlation information of the component; at the same time, the component development tool packs and compresses the component model file and the component implementation code file according to the specified file directory structure to form a component package.

构件描述XML文件采用XML标记文本的格式,具体如下所示:The component description XML file adopts the format of XML markup text, as follows:

构件包所采用的文件目录结构如图2所示,每个构件的构件包包括若干的构件模型,构件模型包含模型描述文件、CDL文件、图形描述文件、说明文件以及一个或多个构件实现代码。构件实现代码包括.project文件、测试桩代码、驱动程序和边界值测试用例。The file directory structure adopted by the component package is shown in Figure 2. The component package of each component includes several component models, and the component model includes model description files, CDL files, graphic description files, description files and one or more component implementation codes . Component implementation code includes .project file, test stub code, driver program and boundary value test cases.

图3所示为软件构件管理系统的结构组成示意图。软件构件管理系统用于软件开发过程中对构件库的实现和管理。该系统包括5个一级部件和21个二级部件。其中5个一级部件如下:构件开发工具集成模块、构件库存储模块、构件库管理模块、构件时态应用模块和构件开发过程支持模块。构件开发工具集成模块包括3个二级部件:加载构件并解析入库单元,出库构件并导出单元,以及,删除构件并更新构件库单元。构件库存储模块包括5个二级部件:构件基本信息存储单元,构件模型存储单元,构件实现代码存储单元,构件应用情况信息存储单元,以及,构件时态信息存储单元。构件库管理模块包括5个二级部件:构件浏览单元、构件入库单元、构件修改单元、构件出库单元和构件删除单元。构件库时态应用模块包括2个二级部件:时态查询单元和时态演化图生成单元。构件开发过程支持模块包括6个二级部件:构件出入库单元,构件评审单元,构件变更单元,构件跟踪单元,版本控制单元,以及,构件管理数据统计分析单元。Figure 3 is a schematic diagram of the structural composition of the software component management system. The software component management system is used to realize and manage the component library in the process of software development. The system consists of 5 primary components and 21 secondary components. The five first-level components are as follows: component development tool integration module, component library storage module, component library management module, component temporal application module and component development process support module. The component development tool integration module includes three secondary components: loading components and analyzing storage units, output components and exporting units, and deleting components and updating component library units. The component library storage module includes five secondary components: component basic information storage unit, component model storage unit, component implementation code storage unit, component application information storage unit, and component temporal information storage unit. The component library management module includes five secondary components: component browsing unit, component storage unit, component modification unit, component storage unit and component deletion unit. The temporal application module of the component library includes two secondary components: the temporal query unit and the temporal evolution graph generation unit. The component development process support module includes six secondary components: component storage unit, component review unit, component change unit, component tracking unit, version control unit, and component management data statistical analysis unit.

图4示出了本系统的上述各部件的部件关系。下面结合图4,对该软件构件管理系统各部件的功能及其实现方式与流程进行详细介绍。Fig. 4 shows the component relationship of the above-mentioned components of the system. The functions of each component of the software component management system and their implementation methods and processes will be introduced in detail below in conjunction with FIG. 4 .

构件开发工具集成模块用于实现本系统与构件研发工具的集成,通过约定的数据接口(即上述构件开发工具集成接口)实现构件开发工具与构件库的数据交换;为构件开发工具提供构件库访问接口;支持构件新建、修改和删除的功能。The component development tool integration module is used to realize the integration of this system and the component development tool, realize the data exchange between the component development tool and the component library through the agreed data interface (ie the above-mentioned component development tool integration interface); provide component library access for the component development tool Interface; supports the functions of creating, modifying and deleting components.

构件库存储模块用于存储构件基本信息、构件模型、构件实现代码、构件应用情况和构件时态信息。The component library storage module is used to store the basic information of components, component models, component implementation codes, component application conditions and component temporal information.

构件库管理模块用于对构件库执行基本操作,包括构件浏览、构件入库、构件修改、构件删除和构件出库。The component library management module is used to perform basic operations on the component library, including component browsing, component storage, component modification, component deletion and component output.

构件时态应用模块用于实现构件时态查询,以及生成和显示时态演化图。The component temporal application module is used to realize component temporal query, and generate and display temporal evolution diagram.

构件研发过程支持模块用于实现软件研发过程中的支持功能,包含构件出入库、构件评审、构件变更、构件跟踪、版本控制和构件管理数据统计分析。The component development process support module is used to realize the support functions in the software development process, including component storage, component review, component change, component tracking, version control and statistical analysis of component management data.

本发明所提供的一种软件构件库与软件研发工具的集成系统用于实现上述软件构件管理系统与外部的软件构件开发工具之间的集成与交互,从而将软件构件开发工具的构件纳入构件库,并且通过构件库对构件开发工具的开发提供支持和管理。The integration system of a software component library and software development tools provided by the present invention is used to realize the integration and interaction between the above-mentioned software component management system and external software component development tools, so as to incorporate the components of the software component development tools into the component library , and provide support and management for the development of component development tools through the component library.

本发明所述的集成系统包括所述构件开发工具集成接口和所述构件开发工具集成模块。所述构件开发工具集成接口用于实现与外部的构件开发工具之间的数据交换;所述构件开发工具集成模块在通过该接口与构件开发工具实现数据交换的基础上,进而为构件开发工具提供构件库访问接口,支持构件设计、删除、新建和修改的功能,实现构件开发工具的结果与构件库同步。The integration system of the present invention includes the component development tool integration interface and the component development tool integration module. The component development tool integration interface is used to realize data exchange with external component development tools; the component development tool integration module realizes data exchange with component development tools through this interface, and then provides component development tools with The component library access interface supports the functions of component design, deletion, creation and modification, and realizes the synchronization of the results of the component development tool and the component library.

具体来说,所述构件开发工具集成模块包括:加载构件并解析入库单元,该单元用于加载构件研发工具所生成的构件描述XML文件和构件包,通过解析构件描述XML文件获取构件基本信息,构件模型描述信息(模型描述和物理地址)和构件实现代码描述信息(实现代码描述和物理地址),并将此信息保存到构件库;相应地更新构件库的构件时态信息和状态信息。加载构件并解析入库单元通过所述接口输入构件描述XML文件和构件包,向系统输出构件基本信息,模型描述信息,构件实现代码描述信息,构件包,以及入库成功或入库失败的提示信息。加载构件并解析入库单元的具体操作流程如图5所示,包括以下流程:Specifically, the component development tool integration module includes: loading the component and analyzing the storage unit, which is used to load the component description XML file and component package generated by the component development tool, and obtain the basic information of the component by parsing the component description XML file , component model description information (model description and physical address) and component implementation code description information (implementation code description and physical address), and save this information to the component library; correspondingly update the component temporal information and status information of the component library. Load components and analyze storage units Input component description XML files and component packages through the interface, output component basic information, model description information, component implementation code description information, component packages, and prompts for successful or failed storage to the system information. The specific operation process of loading components and analyzing storage units is shown in Figure 5, including the following processes:

(1)构件研发人员在构件研发工具中开发构件,生成构件基本信息和构件内部关联信息的构件描述XML文件,同时将构件模型文件和构件实现代码文件按照图2中的文件目录结构打包压缩生成构件包。(1) Component R&D personnel develop components in component R&D tools, generate component description XML files of basic component information and component internal related information, and at the same time pack and compress component model files and component implementation code files according to the file directory structure in Figure 2 Component package.

(2)通过构件开发工具集成接口将构件描述XML文件和构件包上传到本系统,由加载构件并解析入库单元解析构件描述XML文件;判断解析是否成功,如果失败则重新加载构件描述XML文件和构件包再次解析,如果成功则进入下一步;(2) Upload the component description XML file and component package to the system through the component development tool integration interface, load the component and analyze the storage unit to analyze the component description XML file; judge whether the analysis is successful, and reload the component description XML file if it fails Parse again with the component package, if successful, go to the next step;

(3)加载构件并解析入库单元将解析出的构件基本信息、构件模型描述信息(模型描述和物理地址)和构件实现代码描述信息(实现代码描述和物理地址)、构件包(服务器端的物理文件)加上构件标识和版本标识。调用构件导入的数据接口将数据存入构件库并更新构件库的构件时态信息和状态信息。(3) Load the component and analyze the basic information of the component, component model description information (model description and physical address) and component implementation code description information (implementation code description and physical address), component package (physical file) plus the component ID and version ID. Call the data interface of component import to store data into the component library and update the component temporal information and status information of the component library.

(4)判断入库是否成功,若成功则结束本操作;或失败则返回上一步(3)。(4) Determine whether the storage is successful, if successful, end the operation; or fail to return to the previous step (3).

所述构件开发工具集成模块进一步包括:出库构件并导出单元,该单元用于浏览构件,并且根据构件基本信息、构件模型描述信息(模型描述和物理地址)和构件实现代码描述信息(实现代码描述和物理地址)、构件包(服务器端的物理文件)生成构件描述XML文件和构件包,对外导出所生成的构件描述XML文件和构件包,并更新构件库的构件时态信息和状态信息。出库构件并导出单元输入构件基本信息、构件模型描述信息、构件实现代码描述信息和构件包,对外输出构件描述XML文件和构件包,以及出库成功或出库失败的提示信息。具体处理流程如图6所示,包括以下流程:The component development tool integration module further includes: component out of the library and export unit, which is used to browse component, and according to component basic information, component model description information (model description and physical address) and component realization code description information (implementation code description and physical address), component package (physical file on the server side), generate component description XML file and component package, export the generated component description XML file and component package, and update component temporal information and status information of component library. Outbound components and export unit input basic component information, component model description information, component implementation code description information and component packages, externally output component description XML files and component packages, and prompt information about successful or failed outbound. The specific processing flow is shown in Figure 6, including the following flow:

(1)调用构件库的构件浏览功能,浏览构件库,由用户选择需要导出的构件。(1) Call the component browsing function of the component library, browse the component library, and let the user select the component to be exported.

(2)出库构件并导出单元调用构件库的构件导出功能导出构件,生成构件描述XML文件和构件包,并更新构件库的构件时态信息和状态信息。(2) Export components from the library and export the unit to call the component export function of the component library to export components, generate component description XML files and component packages, and update the component temporal information and status information of the component library.

(3)判断导出是否成功,如果导出成功则对外输出导出的构件描述XML文件和构件包;如果失败则返回步骤(1);并且,返回导出成功/失败提示信息。(3) Judging whether the export is successful, if the export is successful, output the exported component description XML file and component package; if it fails, return to step (1); and return the export success/failure prompt information.

所述构件开发工具集成模块进一步包括:删除构件并更新构件库单元,该单元用于将构件删除,并更新构件时态信息和状态信息。该单元输入为构件目录,输出为删除标识,构件描述XML文件,以及删除成功或删除失败的提示信息。具体处理流程如图7所示,包括以下流程:The component development tool integration module further includes: deleting components and updating component library unit, the unit is used to delete components, and update component temporal information and state information. The input of this unit is the component directory, and the output is the deletion mark, the component description XML file, and the prompt information of deletion success or failure. The specific processing flow is shown in Figure 7, including the following flow:

(1)调用构件库的构件浏览功能,通过构件库的构件目录树浏览构件库,用户选择需要删除的构件(1) Call the component browsing function of the component library, browse the component library through the component directory tree of the component library, and the user selects the component to be deleted

(2)删除构件并更新构件库单元删除该构件,并将删除标识记录在构件描述XML文件中,生成构件描述XML文件,并通过构件修改功能更新构件时态信息和状态信息(2) Delete the component and update the component library unit to delete the component, record the deletion mark in the component description XML file, generate the component description XML file, and update the temporal information and status information of the component through the component modification function

(3)判断删除是否成功,如果删除成功则结束本操作;如果失败则返回步骤(1);并且,返回删除成功/失败提示信息。(3) Determine whether the deletion is successful, and if the deletion is successful, end the operation; if it fails, return to step (1); and return a deletion success/failure prompt message.

可见,通过本发明的软件构件库与构件开发工具的集成系统与方法,提供了软件构件库及其构件管理系统与外部的构件开发工具之间有效的交互方式,本发明既是构件管理系统的一部分,又是构件管理系统与构件开发工具之间的接口,实现了面向第三发构件开发工具的集成,有利于将开发构件纳入构件库进行维护、管理以及应用,达到了构件开发过程管理的规范化和系统化。It can be seen that, through the integrated system and method of software component library and component development tool of the present invention, an effective interaction mode between the software component library and its component management system and external component development tools is provided, and the present invention is a part of the component management system , which is also the interface between the component management system and the component development tool, realizes the integration of the third-party component development tool, which is beneficial to include the development component into the component library for maintenance, management and application, and achieves the standardization of component development process management and systematize.

上述具体实施仅仅是示例性的,在本发明的上述教导下,本领域技术人员可以在上述实施例的基础上进行各种改进和变形,而这些改进或者变形落在本发明的保护范围内。本领域技术人员应该明白,上面的具体描述只是为了解释本发明的目的,并非用于限制本发明。本发明的保护范围由权利要求及其等同物限定。The specific implementation above is only exemplary. Under the teaching of the present invention, those skilled in the art can make various improvements and modifications on the basis of the above embodiments, and these improvements or modifications fall within the protection scope of the present invention. Those skilled in the art should understand that the above specific description is only for the purpose of explaining the present invention, and is not intended to limit the present invention. The protection scope of the present invention is defined by the claims and their equivalents.

Claims (10)

1. the integrated system of a kind of software component library and component development instrument, it is characterised in that including:
Component development Tool integration interface, for the data exchange between outside component development instrument, the exchange of the interface Data include component description XML file and component bag;
Component development Tool integration module, is a part for the component management system of component base, for passing through component development instrument Integrated interface realizes the data exchange of component development instrument and component base, and component base access interface is provided for component development instrument, Realize that component loading is deleted with parsing storage, component export and component, and for updating component base so as to realize component development The result of instrument is synchronous with component base.
2. integrated system according to claim 1, it is characterised in that the component description XML file includes being opened by component The description component essential information of hair instrument generation and the XML tag of component inside related information;The component bag is opened by component Hair instrument realizes that code file compresses what is formed according to the document directory structure packing of regulation to component model file and component.
3. integrated system according to claim 2, it is characterised in that the component development Tool integration module includes:Plus Carry component and parse storage unit, the unit is used for loaded members and researches and develops component description XML file and the component that instrument is generated Bag, describes XML file by resolution component and obtains component essential information, component model description information and component realize that code is described Information, and information above and component bag are saved in component base;Correspondingly update the component temporal information and state of component base Information.
4. integrated system according to claim 2, it is characterised in that the component development Tool integration module includes:Go out Storehouse component and lead-out unit, the unit are used to browse component, and according to component essential information, component model description information and structure Part realizes code description information, component bag generation component description XML file and component bag, externally the generated component description of export XML file and component bag, and update the component temporal information and status information of component base.
5. integrated system according to claim 2, it is characterised in that the component development Tool integration module is further wrapped Include:Delete component and update component library unit, the unit is used to delete component, and more new structural member temporal information and state letter Breath.
6. the integrated approach of a kind of software component library and component development instrument, it is characterised in that comprise the following steps:
By carrying out data exchange, the exchange of the interface between component development Tool integration interface and the component development instrument of outside Data include component description XML file and component bag;
Based on the data exchange between the component development Tool integration interface and the component development instrument, pass through component development Tool integration module provides component base access interface for component development instrument, realizes that component loading is exported with parsing storage, component And component is deleted, and for updating component base so as to which the result for realizing component development instrument is synchronous with component base.
7. integrated approach according to claim 6, it is characterised in that the component description XML file includes being opened by component The description component essential information of hair instrument generation and the XML tag of component inside related information;The component bag is opened by component Hair instrument realizes that code file compresses what is formed according to the document directory structure packing of regulation to component model file and component.
8. integrated approach according to claim 7, it is characterised in that loaded members simultaneously parse storage and comprised the following steps: Component description XML file and component bag that loaded members research and development instrument is generated, describe XML file by resolution component and obtain structure Part essential information, component model description information and component realize code description information, and information above and component bag are preserved To component base;Correspondingly update the component temporal information and status information of component base.
9. integrated approach according to claim 7, it is characterised in that export component comprises the following steps:Component is browsed, and And realize that code description information, component bag generate component description according to component essential information, component model description information and component XML file and component bag, externally the generated component description XML file of export and component bag, and when updating the component of component base State information and status information.
10. integrated approach according to claim 7, it is characterised in that deleting component and updating component base includes following step Suddenly:Component is deleted, and more new structural member temporal information and status information.
CN201710102978.2A 2017-02-24 2017-02-24 A kind of integrated system and method for software component library and component development tool Expired - Fee Related CN107092478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710102978.2A CN107092478B (en) 2017-02-24 2017-02-24 A kind of integrated system and method for software component library and component development tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710102978.2A CN107092478B (en) 2017-02-24 2017-02-24 A kind of integrated system and method for software component library and component development tool

Publications (2)

Publication Number Publication Date
CN107092478A true CN107092478A (en) 2017-08-25
CN107092478B CN107092478B (en) 2018-09-21

Family

ID=59646131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710102978.2A Expired - Fee Related CN107092478B (en) 2017-02-24 2017-02-24 A kind of integrated system and method for software component library and component development tool

Country Status (1)

Country Link
CN (1) CN107092478B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228170A (en) * 2017-12-07 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of embedded software componentization customizes assemble method
CN108255466A (en) * 2017-12-20 2018-07-06 中国人民解放军海军大连舰艇学院 A kind of software configuration management data system and method based on tense
CN108491218A (en) * 2018-03-12 2018-09-04 浙江中控技术股份有限公司 A kind of method and apparatus of databases comparison file generated
CN111177828A (en) * 2019-12-18 2020-05-19 深圳市华阳国际工程设计股份有限公司 Linkage method and device applied to standard floor model and computer storage medium
CN112540754A (en) * 2020-12-04 2021-03-23 中科三清科技有限公司 Component multiplexing method and device based on B/S architecture, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655797A (en) * 2009-09-25 2010-02-24 深圳创维数字技术股份有限公司 Establishing method of member and function library with description information
CN102520958A (en) * 2011-12-20 2012-06-27 上海互联网软件有限公司 Software production line system and software production method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655797A (en) * 2009-09-25 2010-02-24 深圳创维数字技术股份有限公司 Establishing method of member and function library with description information
CN102520958A (en) * 2011-12-20 2012-06-27 上海互联网软件有限公司 Software production line system and software production method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李千目 等: "《软件体系结构设计》", 29 February 2008, 清华大学出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228170A (en) * 2017-12-07 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of embedded software componentization customizes assemble method
CN108228170B (en) * 2017-12-07 2020-12-29 中国航空工业集团公司西安航空计算技术研究所 Embedded software component customization assembling method
CN108255466A (en) * 2017-12-20 2018-07-06 中国人民解放军海军大连舰艇学院 A kind of software configuration management data system and method based on tense
CN108491218A (en) * 2018-03-12 2018-09-04 浙江中控技术股份有限公司 A kind of method and apparatus of databases comparison file generated
CN111177828A (en) * 2019-12-18 2020-05-19 深圳市华阳国际工程设计股份有限公司 Linkage method and device applied to standard floor model and computer storage medium
CN112540754A (en) * 2020-12-04 2021-03-23 中科三清科技有限公司 Component multiplexing method and device based on B/S architecture, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107092478B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
Miles et al. Prime: A methodology for developing provenance-aware applications
CN112380213B (en) Information acquisition method and device, computer equipment and storage medium
CN107092478B (en) A kind of integrated system and method for software component library and component development tool
CN111666296B (en) SQL data real-time processing method and device based on Flink, computer equipment and medium
CN110275861B (en) Data storage method and device, storage medium and electronic device
CN110377336A (en) Interface document generation method, device, computer equipment and storage medium
CN112784501B (en) A modeling system and method for predicting the remaining life of equipment, and a prediction system
CN107844424A (en) Model-based testing system and method
US20070061354A1 (en) System for modeling architecture for business systems and methods thereof
US8407235B2 (en) Exposing and using metadata and meta-metadata
US10713152B2 (en) Automated path generator for optimized application testing
CN107301130A (en) A kind of VR all-in-ones testing tool and its method
CN108255479B (en) Creation method, device, storage medium and the terminal of cube file
CN107608895A (en) Software testing generation method, system and storage medium based on static models
CN105279138A (en) Automatic generation system of message research report
Clarisó et al. Towards domain refinement for UML/OCL bounded verification
JP5576570B2 (en) Method, program and system for generating a workflow from business specifications
Konur Towards Light‐Weight Probabilistic Model Checking
Nakatani et al. A requirements description metamodel for use cases
Buffoni et al. Traceability and impact analysis in requirement verification
Eijkhout et al. A proposed standard for numerical metadata
Liu Integrating process mining with discrete-event simulation modeling
Eijkhout et al. A standard and software for numerical metadata
CN118917296B (en) Report generation method, device and storage medium based on large language model
CN117931372B (en) Data editing method and device for simulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180921