CN100451954C - Model driving software generating method of frame customization - Google Patents

Model driving software generating method of frame customization Download PDF

Info

Publication number
CN100451954C
CN100451954C CNB2005101191280A CN200510119128A CN100451954C CN 100451954 C CN100451954 C CN 100451954C CN B2005101191280 A CNB2005101191280 A CN B2005101191280A CN 200510119128 A CN200510119128 A CN 200510119128A CN 100451954 C CN100451954 C CN 100451954C
Authority
CN
China
Prior art keywords
model
field
framework
software
domain
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.)
Expired - Fee Related
Application number
CNB2005101191280A
Other languages
Chinese (zh)
Other versions
CN1794169A (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.)
Jilin University
Original Assignee
Jilin University
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 Jilin University filed Critical Jilin University
Priority to CNB2005101191280A priority Critical patent/CN100451954C/en
Publication of CN1794169A publication Critical patent/CN1794169A/en
Application granted granted Critical
Publication of CN100451954C publication Critical patent/CN100451954C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a model driving software generating method of frame customization, which belongs to the field of computer system software and application software. The method can obtain a field model and a field framework of a certain field through field analysis and field design, and the present invention is used as core properties for reuse. The field model is built by a model tool through field information analysis and abstraction, and solids of fields and the relationship of the solid adopt a class diagram mode; then, customization is carried out from the model to the framework, model information, framework information and rules of assembly of framework interface components are read out, and examples in the model is filled to the framework interface components. When a software framework is fully filled, a customization procedure is completed. The present invention has favorable adaptability and reuse performance. The present invention can form software serial products of the fields by modifying the framework, the mould or newly customization according to the changed of field characteristics and application characteristics.

Description

The model driving software generating method of frame customization
Technical field
The invention belongs to computer system software and application software field, be specifically related to a kind of model driving software generating method of frame customization.
Background technology
In the develop computer software, modeling is the core of developing in all activities of outstanding software, its objective is the behavior of structure that will design and system is linked up, and carry out visual and control to the architecture of system.Model provides the blueprint of system, improves the understandability of people to complexity.But in the present software development, model can't directly act on exploitation nothing but some documents on the paper, next also must translate into code to model.The subject matter that this mode exists is:
1, wastes the development time, also be not easy to keep the consistance of model and code;
2, can't develop with the model immediate constraint;
3, model is reused difficulty.
Summary of the invention
The present invention has overcome in the above-mentioned software development shortcoming that can't reuse difficulty with model immediate constraint exploitation and model, and a kind of model driving software generating method of new frame customization is provided, and makes model directly act on the software product exploitation.
The present invention also aims to, software is divided into software frame and software model according to its business field feature, split constant part and the variable part in the software, higher level software reuse is provided.
Purpose of the present invention further is, can also be according to the variation of field service logic, revise model and again customization generate new software in the business field, software systems family in the formation field.
Technology contents of the present invention is the software development new method, and abstract by to Problem Areas set up domain model and Domain Framework, driving force as development, and according to configurable user's request, model is customized to framework generates field serial application software, step comprises:
1, domain analysis.Its fundamental purpose is (1) field that definition will solve according to realm information.(2) collect relevant realm information, it is integrated into the domain model of a unanimity.The source of realm information comprises existing system in the field, domain expert, system's service manual, text, prototype, standard etc.Domain model is to adopt the mode of class figure to set up domain model by modeling tool to the entity in field and inter-entity relation, is mainly class model, promptly specific area is carried out abstract class in the field and the relation between the class obtained.The relationship type of class comprises: association, polymerization, succession, dependence and realization.Association is that the morphology between the class connects, and makes a class know the public attribute and the operation of another class, is divided into unidirectional and bi-directional association.Polymerization is a special case of incidence relation, is a kind of of incidence relation, is strong association.It is used for, and expression connects on a large scale in a group objects, is the relation between integral body and individuality.Inheritance is the relation of general class and special defects.Parent can be described all common attribute and operations between all subclasses.Dependence shows another class of class reference.Dependence is always unidirectional, shows that a class depends on the definition of another class, and the relation of realization is the class and the interface of table, the relation between bag and interface, assembly and interface and use-case and the use-case.Event relation is connected common interface with the detailed realization of interface.The relation that realizes is separated interface and realization.
2, field design.Its objective is that exploitation is used for a framework of field software systems family.Software frame has defined the public assets that are used to generate the software product family member, and the containing ability of application project difference is provided.Its key is that the extraction of public characteristic and the automatic adaptation of field application of difference are used in the field.Software frame is a kind of software semi-manufacture.The particular content of software frame comprises that the user of field Service Component, domain software presents the object assembling rule of interface and interface assembly.The user presents the interface and comprises menu, tool bar, tabulation type assembly, tree type assembly and graphic element assembly.These assemblies must exist with the form of " model-view-controller ".The field Service Component is the one group of field business processing associated component that realizes according to domain features.The field Service Component can be used for handling the data of interface assembly data model.The object assembling rule of interface assembly comprises that domain model is to the object filling mode of interface assembly and the specification of event-handling method.The assembling rule of interface assembly is according to user's request and domain features, is implemented on the data constraint on the interface assembly data model, and promptly which type of data can be filled on the model of interface assembly.The disposal route of incident is the reactive mode of assembly to the user profile input.
3, realize in the field.Its objective is with suitable technique and interface assembly and come implementation framework.Framework is the software semi-manufacture, be can isolated operation program.
4, model customization.According to being used for demand, Domain Framework median surface assembly is arrived in the information customization in the model exactly.The work of three aspects is finished in the model customization:
(1) class in the model is instantiated as exercisable object in the framework, and according to object framework customized rules and user's request the part object is tied on the interface assembly.So-called binding allows the outside of interface assembly representative object present exactly, and object provides internal data for assembly.
(2) instantiation of the relation between the class in the model, and be used for relation between the assembly of restraint frame median surface.The middle paradigmatic relation of model is converted to the relation of inclusion of assembly in the framework, and incidence relation is converted to annexation.
(3) finish assembly manipulation according to user's request and object assembling rule.
To sum up: the model driving software generating method of frame customization, step comprises:
(1) can obtain the domain model and the Domain Framework of specific area by the design of domain analysis and field, and use as the core reusable resource and to deposit in the related libraries;
(2) domain model is passed through the realm information analysis by the field modeling expert, and is abstract, and the entity in field and the mode of inter-entity relation employing class figure are set up domain model by modeling tool, is mainly class model;
(3) particular content of Domain Framework comprises that the operation flow in field, the user of domain software present the object assembling rule of interface and interface assembly;
(4) with class and relationship exampleization in the model, carry out class example and relationship example to the interface assembly assembling according to the object of user's request and assembly assembling rule, be filled into the framework interface assembly, after software frame was by complete filling, customization procedure was promptly finished.
This frame customization method with the metamessage of model as example in the framework, provides required example of framework and the constraint information between example.Directly act on software development, step is:
(1) class in the model is instantiated as exercisable object in the framework, and according to the framework specification part object is tied on the interface assembly.So-called binding allows the outside of interface assembly representative object present exactly, and object provides internal data for assembly;
(2) instantiation of the relation between the class in the model, and be used for relation between the assembly of restraint frame median surface.The middle paradigmatic relation of model is converted to the relation of inclusion of assembly in the framework, and incidence relation is converted to annexation;
(3) finish assembly manipulation according to user's request and object assembling rule.
Implement this method generation software and have following effect:
1. the present invention has good retractility and adaptability.Can be according to the different situations in field, customization generates again by revising model or configuration parameter, forms the software portfolio product.
2. has good reusability.Domain Framework and domain model are low couplings, all have independently complete logic, can realize reusing with varigrained in various degree, can also move in the close field by modification to a certain degree.
3. can realize the profit of large-scale production.
4. can shorten the time of putting on market.
5. can improve, improve the quality of products.
6. increase customer satisfaction degree greatly.
7. can use mass customized.
8. can remedy the human resources deficiency.
Description of drawings
Fig. 1 is the process flow diagram of the model driving software generating method of frame customization of the present invention.
Embodiment
Embodiment 1
The simply realization of " network management " software.
1. Frame Design.At first according to the service logic and the business characteristic in webmaster field, the software frame of the communications field is finished in abstract and design.Framework is made up of following several parts:
Topological diagram: be used for showing whole topology of networks
Tree: the structure that shows whole network according to tree structure
Table: i.e. alarm is shown.
Master menu: some functions commonly used are put in the master menu, and the user can oneself define the master menu form as required, and can add self-defining function menu.
Toolbar on the topological diagram: some functions commonly used are put into here on the topological diagram.
Toolbar: some functions commonly used in the place system show with the form of icon.
2. modeling
Take out object in the webmaster field and the relation between object, form model and make.Model be mainly class and between relation.It is paradigmatic relation that main class has between Router such as Network, Router, Switch, Port, Host and the Port, is paradigmatic relation between Switch and the Port, is incidence relation between Port and the Host.Relation between Router and Switch and the Network all is polymerization.Port comprises attribute IPAddress.Host comprises attribute IPAddress.
3. customization
The customization instrument custom configuration that uses a model knowledge is responsible for the field business model is customized to framework.Comprise:
(1) customization tree.All nodes that can occur all must be the examples of class in the model in the tree, and defer to the paradigmatic relation constraint between father and son's node.
Root node is the example of Network, and its Name attribute assignment is " network ".Byte point under it is the example " switch 1 " of the example " router one " of 2 Router and " router two ", 1 Switch, the example of 100 Host " main frame ".It is port that the plurality of sub node is all arranged under each router and the switch.
(2) customization topology.Determine the object and the annexation thereof that show on the topological diagram.Topological diagram shows in the level mode, can drill through by layer.The ground floor topology comprises " router one ", " router two ", " switch 1 " and 100 " main frame ".The example of main frame and Port " port " links to each other.
(3) table customization.The table customization is that port information is detected, and the situation that exceeds safety value is alarmed demonstration.Mainly comprise in the alarm table and classify " port/main frame ", " corresponding device " as, " current measured value ".
After customization was finished, framework is filled to be finished, and becomes complete software.When network condition changes, can change model, customization generates new software again.

Claims (1)

1, a kind of model driving software generating method of frame customization, step comprises:
(1) obtains the domain model and the Domain Framework of specific area by the design of domain analysis and field, and use and deposit in the related libraries as the core reusable resource;
(2) domain model is passed through the realm information analysis by the field modeling expert, and is abstract, and the entity in field and the mode of inter-entity relation employing class figure are set up domain model by modeling tool, is class model;
(3) particular content of Domain Framework comprises that the operation flow in field, the user of domain software present the object assembling rule of interface and interface assembly; The object assembling rule of described interface assembly comprises that domain model is to the object filling mode of interface assembly and the specification of event-handling method;
(4) with class and relationship exampleization in the model, carry out class example and relationship example to the interface assembly assembling according to the object of user's request and assembly assembling rule, be filled into the framework interface assembly, after software frame was by complete filling, customization procedure was promptly finished.
CNB2005101191280A 2005-12-29 2005-12-29 Model driving software generating method of frame customization Expired - Fee Related CN100451954C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101191280A CN100451954C (en) 2005-12-29 2005-12-29 Model driving software generating method of frame customization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101191280A CN100451954C (en) 2005-12-29 2005-12-29 Model driving software generating method of frame customization

Publications (2)

Publication Number Publication Date
CN1794169A CN1794169A (en) 2006-06-28
CN100451954C true CN100451954C (en) 2009-01-14

Family

ID=36805649

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101191280A Expired - Fee Related CN100451954C (en) 2005-12-29 2005-12-29 Model driving software generating method of frame customization

Country Status (1)

Country Link
CN (1) CN100451954C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520972A (en) * 2011-12-31 2012-06-27 上海方寸信息科技有限公司 Video game development system and method thereof

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100485612C (en) * 2006-09-08 2009-05-06 中国科学院软件研究所 Software requirement acquiring system
MX2017014472A (en) * 2015-05-13 2018-07-06 Nadia Anali­A Huebra Method implemented by a computer that presents software-type applications based on design specifications.
CN105426175A (en) * 2015-11-03 2016-03-23 用友网络科技股份有限公司 Device and method for providing scene characteristic-based dynamic components
CN106874014B (en) * 2017-03-06 2020-05-22 北京领航里程碑软件技术有限公司 Three-layer code generation method based on model and framework
CN107704243B (en) * 2017-10-19 2020-12-01 用友网络科技股份有限公司 Front-end interface construction method and device, computer equipment and storage medium
CN108170410A (en) * 2017-11-14 2018-06-15 南京协鑫新能源发展有限公司 The design method of investing tip system
CN109144481B (en) * 2018-08-21 2021-07-16 北京航空航天大学 Component software configuration method of domain-oriented software intensive system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330526B1 (en) * 1998-09-30 2001-12-11 Mitsubishi Denki Kabushiki Kaisha Characteristic variation evaluation method of semiconductor device
US20030101251A1 (en) * 2001-11-27 2003-05-29 Varros Telecom Customizable element management system and method using element modeling and protocol adapters
JP2004046895A (en) * 2003-09-08 2004-02-12 Toshiba Corp Work flow conversion method
CN1648907A (en) * 2004-08-24 2005-08-03 徐州润发房地产有限公司 Method of managing real estate enterprise item and managing information system
CN1664779A (en) * 2003-06-26 2005-09-07 微软公司 Software development infrastructure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330526B1 (en) * 1998-09-30 2001-12-11 Mitsubishi Denki Kabushiki Kaisha Characteristic variation evaluation method of semiconductor device
US20030101251A1 (en) * 2001-11-27 2003-05-29 Varros Telecom Customizable element management system and method using element modeling and protocol adapters
CN1664779A (en) * 2003-06-26 2005-09-07 微软公司 Software development infrastructure
JP2004046895A (en) * 2003-09-08 2004-02-12 Toshiba Corp Work flow conversion method
CN1648907A (en) * 2004-08-24 2005-08-03 徐州润发房地产有限公司 Method of managing real estate enterprise item and managing information system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520972A (en) * 2011-12-31 2012-06-27 上海方寸信息科技有限公司 Video game development system and method thereof
CN102520972B (en) * 2011-12-31 2015-09-09 上海方寸信息科技有限公司 Video game development system and method thereof

Also Published As

Publication number Publication date
CN1794169A (en) 2006-06-28

Similar Documents

Publication Publication Date Title
CN100451954C (en) Model driving software generating method of frame customization
Asikainen et al. Kumbang: A domain ontology for modelling variability in software product families
US10908882B2 (en) Object configuration utilities
Fahmy et al. Software architecture transformations
CN102103504A (en) Reflection-type modeling tool and reconstruction method thereof
Grundy et al. Towards an integrated environment for method engineering
Linington Options for expressing ODP enterprise communities and their policies by using UML
Kelleher A reusable traceability framework using patterns
Perrouin et al. Featured model types: towards systematic reuse in modelling language engineering
Lukichev et al. Visual rules modeling
Georgalas et al. MDA-driven development of standard-compliant OSS components: the OSS/J inventory case-study.
Oliveira et al. An ontology for describing ETL patterns behavior
Georg et al. UML aspect specification using role models
Laudy et al. Nested conceptual graphs for information fusion traceability
EP0750254B1 (en) Method and apparatus for providing topology based enterprise management services
Barber et al. Representing domain reference architectures by extending the UML metamodel
Ren et al. Composition and automation of grid services
Concheri et al. MIRAGGIO: a system for the dynamic management of product data and design models
Becker et al. Context-based modeling–Conceptualization of a novel modeling approach and application for the design of business documents
Batory et al. Building Product-Lines with Mixin-Layers
Gupta et al. Towards Enabling Domain-Specific Modeling Language Exchange Between Modeling Tools
de Cesare et al. OntoCom Organization
Sundaram et al. Enterprise model management systems
Zhu et al. HTSN: A complex workflow model based on colored Petri net
Emerson GME-MOF: an MDA metamodeling environment for GME

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090114

Termination date: 20121229