CN109656528A - Measured modularization software development methodology - Google Patents

Measured modularization software development methodology Download PDF

Info

Publication number
CN109656528A
CN109656528A CN201811268486.1A CN201811268486A CN109656528A CN 109656528 A CN109656528 A CN 109656528A CN 201811268486 A CN201811268486 A CN 201811268486A CN 109656528 A CN109656528 A CN 109656528A
Authority
CN
China
Prior art keywords
component
osgi
software
service
modularization
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.)
Pending
Application number
CN201811268486.1A
Other languages
Chinese (zh)
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.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
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 China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN201811268486.1A priority Critical patent/CN109656528A/en
Publication of CN109656528A publication Critical patent/CN109656528A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of measured modularization software development methodologies, including component model and life cycle management method, the Groupware encapsulation method based on template, modularization software interactive and collaboration method and modularization software integrating method based on OSGI standard.By using the present invention, basis can be provided for software modularity, software development is converted into Components Development, the dynamic and flexibility of software are improved, development cost is reduced, improves development rate, it realizes seamless migration of the component between different software simultaneously, achievees the purpose that reusable software.

Description

Measured modularization software development methodology
Technical field
The present invention relates to the software development techniques of avionics system, in particular to based on clothes between different platform and software The interaction of business and a kind of modularization software development methodology of cooperation.
Background technique
The complexity of Avionics Software Development is being continuously increased, and this complexity is led by following reason Cause: the shortening of software development cycle, software function be significantly increased and more and more product platforms, meanwhile, aviation electronics Other than needing to design new software function, how also to design makes new software function can adapt to existing ring for software development Border enables the function of whole system to be updated and be upgraded, and on the other hand, different software may be by difference in whole system Team go to develop, very high requirement also is proposed to the integrated of software.
As can be seen that for platform-neutral, easy adaptability and the co-development of complex software etc. of avionics hardware The problem of restricting software development process and development cost rising, there is an urgent need to a kind of adaptive different platforms of energy, Yi Yizhi, easily expand The software development technique of exhibition, while having the development mode of support team's loose couplings concurrently, and the modularization based on OSGI standard is soft Part development approach naturally has the characteristics that such.OSGI standard component (Bundle) is the software entity minimized, it allows to answer Component members that are smaller, reusable, can cooperating are provided with program, these components can be assembled into an application program and transport It goes and disposes.The dynamic installation of component may be implemented using the software of OSGI standard development, update and unload, and can be for not Function shared service is provided with component.The prominent advantage such as OSGI modularization, dynamic, can adapt to variation and the software of demand Function increases the change of brought software module, the change and insertion of quick execution new function.
Summary of the invention
In order to which platform-neutral, bad adaptability and the co-development difficulty etc. that solve complicated Avionics Software Development are asked Topic, the present invention provides a kind of modularization software development methodologies based on OSGI standard, avionics hardware can be built into It supports series of standards component that is cross-platform, reusable, can cooperating, shortens software development progress, make software as hardware, it can To be assembled on demand, to improve the reuse degree of software, the development cost of software is reduced.
Goal of the invention of the invention is achieved through the following technical solutions:
A kind of measured modularization software development methodology, including following methods:
Component model and life cycle management method based on OSGI standard: OSGi standard group is defined with component model approach The form of part and the loading strategy of OSGi standard component;Life cycle management internally defines component accesses and executes context Mode externally defines the relevant operation to component lifecycle, for application software provide one group of management assembly life cycle and The API of operating status;
Groupware encapsulation method based on template: using on the basis of inheriting defined template, pass through realization template The mode of virtual interface generates the component plug-in unit for meeting OSGI standard;
Modularization software interactive and collaboration method: using application programming model, provides a kind of service-oriented hair for component Cloth, lookup and binding interactive mode, make each component while having the ability of ISP and user;
Modularization software integrating method: on the basis of OSGI frame, using QT development technique, realization is a set of to meet standard Component lifecycle process executes the basic integrated platform with management, by way of reading assembly loading configuration file, to group Part carries out plus unloading, starting and integrated execution.
It is unrelated that the present invention solves platform present in complex avionics system software development from Software Architecture Design The problems such as property, environment-adapting ability and co-development ability, propose a kind of component software development for meeting certain standard criterion Method.By using this method, basis can be provided for software modularity, software development is converted into Components Development, is improved soft The dynamic and flexibility of part reduce development cost, improve development rate, while realizing that component is seamless between different software Migration, achievees the purpose that reusable software.
Detailed description of the invention
Fig. 1 is OSGI component model schematic diagram;
Fig. 2 is OSGI component states switching schematic diagram;
Fig. 3 is component lifecycle management schematic diagram;
Fig. 4 is the Groupware encapsulation method schematic diagram based on template;
Fig. 5 is modularization software interactive and collaboration method schematic diagram;
Fig. 6 is modularization software integrating method schematic diagram.
Specific embodiment
In order to be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, tie below Closing drawings and examples, the present invention is further explained.
A kind of measured modularization software development methodology shown in the present embodiment, including following work: it is marked based on OSGI It Groupware encapsulation method of the quasi- component model with life cycle management method, based on template, modularization software interactive and cooperates Method, modularization software integrating method.
The component model and life cycle management method based on OSGI standard, component model define OSGi standard The form and loading strategy of component;Its life cycle management internally defines component accesses and executes the mode of context, externally The relevant operation to component lifecycle is defined, provides one group of management assembly life cycle and operating status for application software API。
Fig. 1 describes the component model of OSGI standard proposed by the present invention, includes metadata (data of description data), class File and related resource composition, constitute the form of a standard OSGi component, OSGi standard component model is realized in Java may It is a jar file, then may be a dll file in C/C++ realization, but it generally all has several states, wherein Installed indicates that component has been installed;Resolved expression has parsed;Active is indicated in component activation;Uninstalled table Show that component is unloaded;Starting is indicated in component starting;During Stopping indicates that component stops.It is several that Fig. 2 describes component Handoff relation between state.
1) component is mounted first, into having installed (Installed) state.Component enters after installation condition, can To update or refresh, component at this time is still in installation condition;
2) component of installation condition is parsed, component, which will enter, has parsed (Resolved) state, this state Indicate that the component of the procedure set that component relies on or dependence has met, this component can normally be started;
3) start component at this time, component will enter (Starting) state in starting: in start-up course, if there is different Often, then component can go back to Resolved state automatically.
If 4) component successfully starts up, enter activation (Active) state.
5) stop component under this state, in the stopping of another transitory state (Stopping), then component will go into After the Stop method for calling activator appliance, component, which is again introduced into, has parsed (Resolved) state.
6) it will be returned to in the component execution update or refresh operation, component for having parsed (Resolved) state Installed state.
7) component be in installed or analysis state when, if unloading assembly, component enters unloaded (Uninstalled) state, this state indicate that component is successfully unloaded.
Fig. 3 describes component lifecycle management proposed by the present invention, mainly includes the minimum for running OSGi component Change the standard environment of configuration, life cycle layer, service registration layer and module layer.It runs OSGI component standard environment and is mainly responsible for Basic environment required for providing component creation and running, component can obtain certain services automatically, for executing context;It is raw Life period layer is mainly responsible for dynamic installation and management of the component in OSGi framework;Service registration layer is mainly responsible for the hair of service Cloth, lookup and binding interactive mode processing provide registration service for service publisher, while providing lookup clothes for service user Business;Module layer is the lowest logical level of OSGi framework, and mode, shared mechanism and the class for defining modular unit realization add Carrier aircraft system.Simultaneously according to the definition of life cycle layer, a set of management component lifecycle is also provided external application API realizes that dynamic installation, starting, stopping, upgrading and unloading to avionic component etc. are programmed operation.
The Groupware encapsulation method based on template passes through on the basis of this method is using defined template is inherited It realizes the mode of its virtual interface, generates the component plug-in unit for meeting OSGI standard.
Fig. 4 describes the Groupware encapsulation method in the present invention based on template.Template is usually to shift to an earlier date according to component specifications The reusable module designed and developed, subsequent components developer using template can easily, efficiently develop and meet The functional unit of standard.It can be by guide or human-edited's two ways come package assembling according to template.One use to The mode led, it is only necessary to which then selection creation OSGI component engineering when creating engineering in VS2010 is provided according to guide Selection create step by step, finally click and complete that the component template engineering an of standard can be created, developer is basic herein Assembly function can be completed in upper programming service code.Secondly by the way of human-edited, by replicating the standard generated OSGI component template file, then modifies the module information of engineering on this basis, including component mark, export interface, first right As etc., and add correlation function code and enter the component, a standard compliant Service Component can be realized.
The modularization software interactive and collaboration method, this method use application programming model, provide one kind for component Service-oriented publication, lookup and binding interactive mode, makes each component while having the ability of ISP and user.
Fig. 5 describes modularization software interactive and collaboration method in the present invention.Main concept is related to service-oriented hair Cloth, lookup and binding interactive mode: service is published to service register center by ISP, and then service user is by searching Rope service register center searches available service.Typical case such as certain component (A) can apply for the registration of to service centre to be taken Business, after succeeding in registration, component (B) can by searching for mode subscribe to the service, realize the interaction with the component (A), such as Fruit has a new component (C) to be also required to the service provided using component (A) at this time, then only needing component (C) to service centre The service is subscribed in application, and other components do not need to do any change.Also, it can also be by calling event communication between component Mode realizes the transmitting of data, to complete the interaction set up.This service-oriented interactive mode passes through dynamic based on service State property (service can appear or disappear at any time) extends life cycle layer dynamic component-based.
The modularization software integrating method, this method, using QT development technique, are realized on the basis of OSGI frame A set of basic integrated platform for meeting standard component life-cycle processes and executing with managing, passes through reading assembly loading configuration file Mode, component is carried out plus is unloaded, starting and integrated is executed.
Fig. 6 describes modularization software integrating method in the present invention.The main exploitation for relying on " platform+component " and integrated mould Formula, platform are the component integrated environments for having already passed through test, and include the starter for allowing assembly operating, the loading of component, Starting, operation, service etc. all rely on the platform.Starter initialization can be read from component profile according to component model The basic description information of component is taken, and is loaded into calculator memory in sequence, then according to component lifecycle management tune Start component with starter, finally according to the integration environment integrated package in integrated configuration table.The integration environment is responsible for each component Integrated position, look & feel, mode setting etc., so that the operation for avionics hardware (component) provides Environmental support, reality The modularization of existing software, customizations flexibly integrate etc..

Claims (7)

1. a kind of measured modularization software development methodology, it is characterised in that including following methods:
Component model and life cycle management method based on OSGI standard: OSGi standard component is defined with component model approach The loading strategy of form and OSGi standard component;Life cycle management internally defines component accesses and executes the side of context Formula externally defines the relevant operation to component lifecycle, provides one group of management assembly life cycle and fortune for application software The API of row state;
Groupware encapsulation method based on template: using on the basis of inheriting defined template, pass through the virtual connection of realization template The mode of mouth generates the component plug-in unit for meeting OSGI standard;
Modularization software interactive and collaboration method: using application programming model, provides the service-oriented publication of one kind for component, looks into Interactive mode is looked for and bound, each component is made while there is the ability of ISP and user;
Modularization software integrating method: on the basis of OSGI frame, using QT development technique, realization is a set of to meet standard component Life-cycle processes execute with management basic integrated platform, by way of reading assembly loading configuration file, to component into Row, which adds unloading, starting and integrates, to be executed.
2. a kind of measured modularization software development methodology according to claim 1, it is characterised in that the component Module is metadata, class file and related resource come by way of constituting a standard OSGi component.
3. a kind of measured modularization software development methodology according to claim 1, it is characterised in that the OSGi The loading strategy of standard component are as follows:
Component is mounted first, into installation condition;
The component of installation condition is parsed, component will enter analysis state;
The procedure set that the component of analysis state is relied on or the component of dependence have met, and component will enter shape in starting State: in start-up course, if there is exception, then component can go back to analysis state automatically.
If component successfully starts up, enter state of activation.
Stop the component for entering state of activation, component will go into the stopping of another transitory state, then call activator appliance Method of shutting down after, component is again introduced into analysis state.
Update is executed to the component in analysis state or refresh operation, component will be returned to installation condition.
Component be in installed or analysis state when, if unloading assembly, component enters unloaded state.
4. a kind of measured modularization software development methodology according to claim 1, it is characterised in that the life Cycle management mainly includes standard environment, life cycle layer, service registration layer and the mould for running the minimum configuration of OSGi component Block layer, standard environment are responsible for basic environment required for providing component creation and running, and component obtains certain services automatically and is used for Execute context;Life cycle layer is responsible for dynamic installation and management of the component in OSGi framework;Service registration layer is mainly responsible for Publication, lookup and the binding interactive mode processing of service, provide registration service for service publisher, while mentioning for service user It is serviced for searching;Module layer is the lowest logical level of OSGi framework, defines mode, the shared mechanism of modular unit realization And class load mechanism.
5. a kind of measured modularization software development methodology according to claim 1, it is characterised in that the component Change encapsulation and uses guide or human-edited's two ways package assembling on the basis of template.
6. a kind of measured modularization software development methodology according to claim 1, it is characterised in that the component Component is published to service centre using ISP with collaboration method by change software interactive, service makes the person's of having search service center Method make each component while there is the ability of ISP and user.
7. a kind of measured modularization software development methodology according to claim 1, it is characterised in that modularization is soft Part integrated approach comprises the steps of:
Firstly, basic description information of the starter according to component model reading assembly from component profile, and in sequence Charging assembly is into calculator memory;
Then, starter is called to start component according to component lifecycle management;
Finally, according to the integration environment integrated package in integrated configuration table.
CN201811268486.1A 2018-10-29 2018-10-29 Measured modularization software development methodology Pending CN109656528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811268486.1A CN109656528A (en) 2018-10-29 2018-10-29 Measured modularization software development methodology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811268486.1A CN109656528A (en) 2018-10-29 2018-10-29 Measured modularization software development methodology

Publications (1)

Publication Number Publication Date
CN109656528A true CN109656528A (en) 2019-04-19

Family

ID=66110396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811268486.1A Pending CN109656528A (en) 2018-10-29 2018-10-29 Measured modularization software development methodology

Country Status (1)

Country Link
CN (1) CN109656528A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417598A (en) * 2019-07-30 2019-11-05 普信恒业科技发展(北京)有限公司 The management method and component manager of gateway component
CN111158674A (en) * 2019-12-30 2020-05-15 广州市百果园信息技术有限公司 Component management method, system, device and storage medium
CN112068871A (en) * 2020-08-12 2020-12-11 海信集团有限公司 Electronic device and application management method
CN114995792A (en) * 2022-07-19 2022-09-02 深圳市星卡软件技术开发有限公司 Modularized development method, device, medium and electronic device of automobile diagnosis device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060140144A1 (en) * 2004-12-27 2006-06-29 Motorola, Inc. Method and system for providing an open gateway initiative bundle over the air
CN102158490A (en) * 2011-04-07 2011-08-17 山东中创软件商用中间件股份有限公司 Service switching method based on OSGi and device thereof
CN103543992A (en) * 2012-07-11 2014-01-29 神州数码信息系统有限公司 Service-orientated software construction method
CN104360846A (en) * 2014-10-27 2015-02-18 江西博微新技术有限公司 OSGi-based adaptive design method for authority management of Web application development platform based on OSGi
CN105701005A (en) * 2014-11-28 2016-06-22 阿里巴巴集团控股有限公司 OSGI (Open Service Gateway Initiative) based application frame test method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060140144A1 (en) * 2004-12-27 2006-06-29 Motorola, Inc. Method and system for providing an open gateway initiative bundle over the air
CN102158490A (en) * 2011-04-07 2011-08-17 山东中创软件商用中间件股份有限公司 Service switching method based on OSGi and device thereof
CN103543992A (en) * 2012-07-11 2014-01-29 神州数码信息系统有限公司 Service-orientated software construction method
CN104360846A (en) * 2014-10-27 2015-02-18 江西博微新技术有限公司 OSGi-based adaptive design method for authority management of Web application development platform based on OSGi
CN105701005A (en) * 2014-11-28 2016-06-22 阿里巴巴集团控股有限公司 OSGI (Open Service Gateway Initiative) based application frame test method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JAISON JOSE等: "Extending OSGi bundle level resource monitoring for implementation portability", 《2017 INTERNATIONAL CONFERENCE ON RECENT INNOVATIONS IN SIGNAL PROCESSING AND EMBEDDED SYSTEMS (RISE)》 *
PAULLINJIE: "【OSGirl】OSGi生命周期", 《HTTPS://BLOG.CSDN.NET/PAULLINJIE/ARTICLE/DETAILS/70046122》 *
QINGCHEN1984: "OSGi 和 C++", 《HTTPS://WWW.CNBLOGS.COM/QINGCHEN1984/P/6371122.HTML》 *
吴波: ""OSGI框架分析和应用研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417598A (en) * 2019-07-30 2019-11-05 普信恒业科技发展(北京)有限公司 The management method and component manager of gateway component
CN111158674A (en) * 2019-12-30 2020-05-15 广州市百果园信息技术有限公司 Component management method, system, device and storage medium
CN112068871A (en) * 2020-08-12 2020-12-11 海信集团有限公司 Electronic device and application management method
CN112068871B (en) * 2020-08-12 2021-09-14 海信集团有限公司 Electronic device and application management method
CN114995792A (en) * 2022-07-19 2022-09-02 深圳市星卡软件技术开发有限公司 Modularized development method, device, medium and electronic device of automobile diagnosis device

Similar Documents

Publication Publication Date Title
CN109656528A (en) Measured modularization software development methodology
CN110989976A (en) Web application componentization development method based on J2EE, storage medium and electronic device
CN111309291B (en) Modularized embedded software architecture, customization method and customization system thereof
CN109948201A (en) A kind of model component management system and scheduling implementation method based on platform and plug-in unit
CN109445323B (en) WEB-based distributed intelligent measurement and control software platform design method
CN114995811B (en) Container interface architecture system supporting multiple onboard embedded operating systems
CN113312245B (en) Integrated waveform management terminal and management method
CN112148278A (en) Visual block chain intelligent contract framework and intelligent contract development and deployment method
CN108733589A (en) The implementation method and device of distributed transaction heat deployment
CN112015371B (en) Software development device under non-embedded software platform
CN112579049B (en) Customized software productization management method and device based on cloud platform
CN112114896A (en) Plug-in framework and method for service function expansion
Socci et al. Modeling mixed-critical systems in real-time BIP
CN105677424A (en) Method for hot loading of component-based development integration based on microkernel
Lanese et al. The evolution of Jolie: from orchestrations to adaptable choreographies
CN112925575A (en) Airborne simulation operation method based on framework and plug-in
CN112347117A (en) Method and system for realizing PCB design resource sharing based on ERP system
CN111522623A (en) Multi-process running system of modular software
CN109298851B (en) Expansion mechanism adaptation method of OSGi heterogeneous software framework
Bambagini et al. A code generation framework for distributed real-time embedded systems
CN117931270A (en) Control method and system for Maven square library
Schade et al. Automatic Deployment of Embedded Real-time Software Systems to Hypervisor-managed Platforms
Richardson Developing Dynamically Reconfigurable Real-time Systems with Real-time OSGi (RT-OSGi).
CN108491193A (en) Eclipse RCP products construction method, device, terminal and medium
Muli et al. Data management in the model-based design paradigm

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190419