CN100520716C - Code automatically generating device based on model component, system and method - Google Patents

Code automatically generating device based on model component, system and method Download PDF

Info

Publication number
CN100520716C
CN100520716C CNB2007101208702A CN200710120870A CN100520716C CN 100520716 C CN100520716 C CN 100520716C CN B2007101208702 A CNB2007101208702 A CN B2007101208702A CN 200710120870 A CN200710120870 A CN 200710120870A CN 100520716 C CN100520716 C CN 100520716C
Authority
CN
China
Prior art keywords
code
layer
model
business
data
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
CNB2007101208702A
Other languages
Chinese (zh)
Other versions
CN101114226A (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.)
BEIJING CE OPEN SOURCE SOFTWARE Co Ltd
Original Assignee
BEIJING CE OPEN SOURCE SOFTWARE Co Ltd
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 BEIJING CE OPEN SOURCE SOFTWARE Co Ltd filed Critical BEIJING CE OPEN SOURCE SOFTWARE Co Ltd
Priority to CNB2007101208702A priority Critical patent/CN100520716C/en
Publication of CN101114226A publication Critical patent/CN101114226A/en
Application granted granted Critical
Publication of CN100520716C publication Critical patent/CN100520716C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a code automatic generation method used for constructing a code automatic generation device, comprising a data layer, a component layer, a process layer, a control layer and a user interface layer, wherein, the five-layer structure is divided in accordance with functions, and every layer is independent and creates a corresponding processing model to complete data processing, component extraction, flow processing, function control and user interface processing. At the same time, a code template is created based on certain rules, and different processing codes are formed for different business objects. Based on the five-layer model and the code template, a code generating engine controls and calls the model of layers and the code template, which cooperate to complete the code automatic generation process. The invention also discloses a code automatic generation device and system; by adopting the invention, the development efficiency, the reusability and the standardization of software can be enhanced and code quality is improved.

Description

A kind of code automatically generating device, system and method based on model component
Technical field
The present invention relates to generation of computers sign indicating number generation technique, particularly relate to a kind of code automatically generating device, system and method based on model component.
Background technology
Along with the fast development of computer utility with popularize, computer program is widely used in the every field, can realize diversified function, business by the computer code programming, therefore, the generation of computer code and operation become requisite committed step.Because the code coding amount sharply increases, for the automatic generating code of energy, industry has proposed the automatic generation technique of a lot of codes, to increase code formation efficiency, the generative process of simplified code.
At present, relate to the automatic technology that generates of code and mainly contain model-driven structure (MDA, the Model Driven Architecture) correlation technique that OMG (OMG) proposes.Specifically, OMG is organized in the calendar year 2001 formulation and has carried out a series of standards, comprise unified modeling language (UML, UnifiedModeling Language), meta object facility (MOF, Meta-Object Facility), the metadata based on XML exchanges (XMI, XML-based Metadata Interchange), model inquiry/view/conversion (QVT) etc., this series of canonical has constituted the basis of MDA.Wherein, MOF is the core of this series of standards; UML is to use MOF to define; XMI then is a kind of mapping of MOF to XML, and the serializing mechanism of MOF etc. is provided; MOF/QVT is the part of MOF, and the QVT standard is based upon on the basis of MOF, and the meta-model in the QVT standard all must meet MOF, could change between different meta-models like this.
The thought of MDA lays particular emphasis on the formalization and the level of model, software systems demand and specific realization technology is separated, thereby can abstract and cheap consuming cost satisfies professional continuous variation or the like advantage by the height of model.But MDA also exists serious problem in actual applications: at first, the complicacy of MDA standard is higher, makes its application be restricted; Secondly, MDA is as general software systems modeling method and standard criterion, itself there are many still unsolved difficult points, as: problem such as synchronous between model conversion, model and code, seldom several model conversion methods and instrument are only arranged at present, isomerism between them has caused the difficulty of model conversion code reuse, and the cost of the study and the conversion method that uses a model is increased; And the stationary problem that exists between model and code makes the developer need carry out both sides and safeguards, also causes the complexity and difficulty of MDA practical application.
Be the performance history of further simplified code, a lot of large-scale application software are finished software development by the development model that makes up hierarchy.Enterprise-level application software is mainly followed the J2EE standard at present, and existing application software application system layered mode commonly used is three layers, four layers traditional or a five-layer structure.Concrete, described three-decker comprises client tier, middle layer and resource layer; Four-layer structure then is the middle layer to be divided into presentation layer and operation layer on the basis of three-decker; Five-layer structure then is resource layer to be divided into integrated layer and resource layer on the basis of four-layer structure.
In actual applications, three layers, four layers or five-layer structure usually can not satisfy the actual conditions needs, can do reasonably to handle flexibly to hierarchy according to actual conditions, that is: may exist level to intersect on every layer, N layer structure occur.Such as: the patent No. be 200410014139.8, denomination of invention mentions five layers of hierarchy in the patent document of " based on the five layer architecture construction methods of J2EE ", comprise: data Layer, data set stratification, Business Logic, interface control layer and customer interface layer, when practical application, need change to N layer structure according to actual conditions; Also mention the construction method of five-layer structure in this patent, on each layer, use technique for fixing to realize, i.e. the architecture of level and specific technology binding, as: data Layer adopts relevant database; The data set stratification adopts Container Management storage (CMP, Container-Managed Persistence) the entity B ean with local interface; Business Logic adopts session Bean (state and stateless are arranged); Server--the Servlet technology that the interface control layer adopts Java to write; The customer interface layer adopts dynamic web page technique standard (Jsp, Java Server Pages) technology.
But, the choice of technology of the implementation of this patent on every layer has only a kind of, and in the practical application exploitation, usually there is situation about between multiple technologies, selecting according to actual conditions, and can only not be fixed on a kind of technical yet, as at the customer interface layer, Jsp is the standard of the page in the J2EE standard, but can not use simple Jsp technology in actual applications usually, may select Struts based on label, Jsf, framework technologies such as WebWork, come integrated realization customer interface layer and showing interface layer, wherein, Struts, Jsf, WebWork is pattern-view-controller (MVC, Model-View-Controller) implementation framework that meets the J2EE standard.Also may there be extend markup language (XML, eXtensible Markup Language) conversion displayed page based on the extending mark language (XSLT) of conversion XML document structure.The choice of technology of Business Logic is more, as Spring framework, common java class technology such as (POJO, Plain Old Java Object).The data set stratification is at present normally used to be Object Relation Mapping (OR-Mapping) technology, as Hibernate, TopLink etc., perhaps uses the technology of handling based on Structured Query Language (SQL) (SQL) such as JdbcTemplate.In a word, very necessary according to concrete actual conditions in the application and development of reality as choices of technology on every layer such as professional scale, data throughout, volumes of transmitted data, but selection result should not be fixed on a certain technology and realizes.
Based on above-mentioned analysis as can be seen, at present at the demand that how to satisfy dissimilar application and developments; How to make N layer architecture flexibly; How on each applying hierarchical, to support the problems such as realization of multiple technologies, be not well solved as yet.And software component is described loaded down with trivial details, is not easy to be programmed personnel and grasps; In addition, communication a lot of and application layer is all finished by some middlewares, like this, is easy to form owing to over-burden bottleneck, thereby influences development efficiency and quality.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of code automatically generating device, system and method, can solve the problem that prior art exists, thereby improves development efficiency, reusing degree and the standardization of software, improves code quality.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of code automatically generating device comprises data Layer, component layer, flow process layer, key-course and user interface layer; Wherein,
Data Layer is used to provide data model, and sets up the corresponding relation between data model and the relevant database;
Component layer, corresponding component model according to the business rule of determining direct extraction assembly from Component Gallery, and is set up the corresponding relation of component model and business unit to be processed;
The flow process layer, corresponding procedural model is assembled the combination of determined assembly and assembly or assembly and assembly bag according to business rule, realizes the business function in the bigger scope of business;
Key-course, corresponding controlling models by the assembling to user interface and assembly, is set up the corresponding relation of controlling models and application program front and back end interaction sequences;
User interface layer, corresponding page model represents needs according to business and sets up page model and the professional corresponding relation that represents.
This device further comprises data object, business object and view object, is used to transmit the information between each layer.
Described each layer further comprises to be described entity and realizes entity, and wherein, described description entity is used to create this layer entity and entity attribute is set; Described realization entity is used to select determine to realize environment.
The invention also discloses a kind of code automatic creation system, comprise that code automatically generating device, Code Template and the code of five-layer structure generates engine; Wherein,
Code automatically generating device is used to provide five layer models, and the data processing in the completion code generative process, assembly extraction, flow processing, function control and user interface process;
Code Template is used for forming different processing codes at different business objects;
Code generates engine, is used for control and calls five layer models and Code Template, automatically generating code.
Wherein, described code automatically generating device comprises data Layer, component layer, flow process layer, key-course and User Page user interface layer; Wherein,
Data Layer is used to provide data model, and sets up the corresponding relation between data model and the relevant database;
Component layer, corresponding component model according to the business rule of determining direct extraction assembly from Component Gallery, and is set up the corresponding relation of component model and business unit to be processed;
The flow process layer, corresponding procedural model is assembled the combination of determined assembly and assembly or assembly and assembly bag according to business rule, realizes the business function in the bigger scope of business;
Key-course, corresponding controlling models by the assembling to user interface and assembly, is set up the corresponding relation of controlling models and application program front and back end interaction sequences;
User interface layer, corresponding page model represents needs according to business and sets up page model and the professional corresponding relation that represents.
Described Code Template comprises constant business rule part and the business object that changes, and described business object is carried out mark with the special marking language.
Described code generates engine and further comprises reader, validator, maker, configuration tool; Wherein, reader is used to read in five layer models or Code Template; Validator, with the model that reads in according to model element data constraint verify, perhaps with the Code Template of reading in according to the Code Template create-rule constraint verify; Maker is searched the value of respective name and is replaced in five layer models according to special marking language tag title in the Code Template, form code; Configuration tool is carried out environment configurations for code generates engine.
Described code generates engine and further comprises keymake, is used for the code after replacing is written to code file.
The invention also discloses a kind of code automatic generation method, comprising:
A, create data model, component model, procedural model, controlling models and page model respectively, and according to create-rule generating code template;
The running environment that B, configuration code generate;
C, read in the model created and the Code Template of generation;
D, the model created of checking whether with the metadata format coupling of respective layer, and judge whether business object all carries out mark with the special marking language in the described Code Template, if do not match or mark, then finish current treatment scheme; If coupling and all mark execution in step E then;
The title of special marking language tag is searched the value of respective name and is replaced, automatically generating code in E, the contrast Code Template in the model of being created.
This method further comprises: the code that is generated is write in the code file.
Code automatically generating device provided by the present invention, system and method, realize that from separating view of function realizes the necessary basic function layering of automatic generating code, by function the code automatic creation system is divided into data Layer, component layer, the flow process layer, key-course and user page surface layer, every layer separate, corresponding respectively transaction module separately, data processing during completion code generates, assembly extracts, flow processing, function control and user interface process, simultaneously, establish mutual association between each layer model again, in order to realize the object transmission and related control of interlayer.The set five-layer structure of the present invention is the abstraction hierarchy that surmounts on program code, and, on five-layer structure and model based thereof, the present invention also introduces Code Template and code generates engine, generate engine control and call each layer model and Code Template, the automatic generative process of the completion code that cooperatively interacts by code.Specifically, the present invention has following advantage and characteristics:
1) the present invention provides a kind of implementation that designs five-layer structure by the model element data of five layer models from the angle of model-driven exploitation (MDD), this scheme is in conjunction with various Code Template, the control that generates engine by code comes automatic generating code, so, make that software configuration is clear, be easy to realize.
2) because the present invention adopts is model and template, thereby make the software frame can be multiplexing, promoted the extent for multiplexing of software; Model-driven is developed direct service-oriented analysis and design, has also improved development efficiency, can accomplish on-demand.Application code template of the present invention can improve software development quality, makes performance history have more standardization, reliability.
3) the present invention uses five layer models based on assembly and package technique, can tackle the N layer structure in the application and development flexibly, make of the exploitation of software developer's script towards program code, change analysis and design into towards model, more approach developer's thinking and use habit, thereby eliminated learning curve and technology barrier to a great extent towards code development.
4) among the present invention, the user only need select required assembly to assemble as required, can realize correspondent service logic, so, make in traditional software exploitation because analyze, the semantic tomography between the design, coding, the problem that the analysis that causes, design idea can not intactly be expressed in code is solved, thereby the code quality of generation is improved, and development efficiency improves, and the construction cycle shortens, and has saved cost of development.
5) the present invention with most of code Core Generator in the prior art only can the generic frame code situation, change generating whole codes into, thereby make exploitation become quick, can accomplish on-demand, have very strong portability and extensibility.
6) can reach irrelevant owing to the present invention is based on the software repeated usage of model,, the software utilizability be improved with the platform independence that uses with the technology that is adopted.
Description of drawings
Fig. 1 is the composition structural representation of code automatically generating device of the present invention;
Fig. 2 is the realization flow synoptic diagram of code automatic generation method of the present invention.
Embodiment
Basic thought of the present invention is: make up the code automatically generating device of being made up of data Layer, component layer, flow process layer, key-course and user interface layer, five-layer structure is wherein realized dividing according to function, every layer separate and create separately and corresponding transaction module is arranged, the data processing in generating with completion code, assembly extraction, flow processing, function control and user interface process; Simultaneously, also according to certain regular generating code template, be used for different business objects is formed different processing codes; Based on five layer models and Code Template, generate engine control and call each layer model and Code Template, the automatic generative process of the completion code that cooperatively interacts by code.
As shown in Figure 1, code automatically generating device of the present invention comprises data Layer 11, component layer 12, flow process layer 13, key-course 14 and user interface layer 15, wherein, and data Layer 11, be used to provide data model, and set up the corresponding relation between data model and the relevant database.Component layer 12, corresponding component model according to the business rule of determining direct extraction assembly from Component Gallery, and is set up the corresponding relation of component model and business unit to be processed.So-called assembly is exactly the unit that is used to finish certain function, to the business unit that comprises business function, can the assembly form have the corresponding business function of realizing in the specific transactions scope from the atomic unit that can not be split.That is to say, when the user need realize certain business function,, just directly select corresponding assembly for use if there is the assembly of directly realizing this business function; If there is no, can realize current business function by the new assembly that constitutes of a plurality of existing assemblies.The interface type of each assembly is the component technology style interface, and described component technology type can be Web service (WebService), Java Bean of enterprise (Ejb) or the like.Flow process layer 13, corresponding procedural model is assembled the combination of determined assembly and assembly or assembly and assembly bag according to business rule, realizes the business function in the bigger scope of business; And, form the N layer structure of using by assembling to different component technology style interfaces.Key-course 14, corresponding controlling models by the assembling to user interface and assembly, is set up the corresponding relation of controlling models and application program front and back end interaction sequences.User interface layer 15, corresponding page model represents the needs design according to business, to set up page model and the professional corresponding relation that represents.
Object in each interlayer transmission comprises: data object, business object and view object exist mapping relations between the three.Data object obtains from data model, and common and database table establishes corresponding relation; Business object is polymerized by data object, and common and Business Entity establishes corresponding relation; View object is polymerized by business object, usually and business represent and establish corresponding relation.
All further include the description entity and realize entity for each layer, wherein, describe entity and platform independence, realize that entity is relevant with platform.Specifically:
The description entity of data Layer is used for setting up or upgrading data entity, and the attribute of data entity and the attribute of entities field is set, and sets up the incidence relation of inter-entity and the incidence relation attribute is set.Described entity attribute comprises the entity title, describes or the like; Described entities field attribute comprise field name, type, length, precision, default value, whether major key, whether external key, whether be empty, describe or the like; Described inter-entity incidence relation attribute comprises attributes such as target entity, target entity field, source entity field.The realization entity of data Layer is used for setting up or the selection data source is provided with data source property, and the data entity attribute is set, and selects the persistence implementation also the persistence scheme attribute to be set.Described data source property comprise type of database, database version, driving class title, uniform resource locator (Uniform Resoure Locator, URL), user's name, password, description or the like; Described data entity attribute comprises MODE name, DSN etc.; Described persistence scheme attribute comprises title, type, version, description or the like.
The description entity of component layer is used for newly-built or upgrades component class and the component class attribute is set, and is newly-built or upgrade in the component class assembly and component property is set, newly-built or upgrade component parameter and the component parameter attribute is set.Described component class attribute comprises title, description etc., and described component property comprises title, description etc., and described component parameter attribute comprises numbering, switch mode, type, shape ginseng, description etc.The realization entity of component layer is used for determining realization type, the implementation language of assembly, and is newly-built or upgrade component technology and realize and component technology is set realizing attribute that described component technology realizes that attribute comprises content, description etc.
The description entity of flow process layer is used for newly-built or new technological process and the flow process attribute is set more, newly-built or new technological process parameter and the flow process parameter attribute is set more, newly-built or new node more.Described flow process attribute comprises title, version, description etc., and described flow process parameter attribute comprises numbering, switch mode, type, shape ginseng, description etc., and described node comprises two stationary nodes: start node and end node.
For each node, to describe entity and also be used to be provided with nodal community, described nodal community comprises title, type, description etc.; Newly-built or upgrade node action, newly-built or new node route and the node routing property is set more, described node routing property comprises acquiescence node, type, description etc.; If the node route-type is the condition route, then newly-built node route conditions at each node route conditions, is provided with node route conditions attribute and comprises destination node, lvalue type, lvalue, operational symbol, r value, r value symbol, description etc.
Newly-built or when upgrading node action, at each node action: action attributes is set, comprises numbering, title, type, description etc.; According to type of action action is set and realizes that described type of action comprises three classes:
I. type of action is an assembly, component property then is set comprises component identification etc., and newly-built or renewal component parameter at each parameter, is provided with parameter attribute and comprises numbering, switch mode, type, shape ginseng, description etc.;
Ii. type of action is a flow process, the flow process attribute then is set comprises process identification etc., and newly-built or new technological process parameter more at each parameter, is provided with parameter attribute and comprises numbering, switch mode, type, shape ginseng, description etc.;
Iii. type of action is self-defined, needs custom action to realize, action is set realizes that attribute comprises content, description etc., and newly-built or undated parameter at each parameter, is provided with parameter attribute and comprises numbering, switch mode, type, shape ginseng, description etc.
The realization entity of flow process layer, be used to select the flow process technology to realize type, newly-built or more the new technological process technology realize and the flow process technology be set realizing attribute, comprise content, description etc., if it is self-defined that the flow nodes action needing to realize, the then self-defined realization type of skill, implementation language, realization content etc.
The description entity of user interface layer is used for newly-built or upgrades screen and the screen attribute is set, and described screen attribute comprises title, row, row etc., and row can form screen partition with row information.Also be used to select subregion, at each subregion:
At first, zone attribute is set, described zone attribute comprises numbering, title etc., and concrete the setting comprises:
A. newly-built or upgrade and to quote the district according to practical application, also can not set up and quote the district.
B. the newly-built or renewal resource-area according to practical application also can not set up resource-area.At resource-area, newly-built or update data set at each data set, is provided with data set according to the view object in the view object model, and described data set comprises data set attribute and data set variable's attribute and binds three partial contents:
The first, according to the view object in the view object model data set and attribute thereof are set, described data set attribute comprises title, identifies, quotes external data collection path and sign etc.;
The second, according to the view object variable in the view object model data set variable and attribute thereof are set, described data set variable's attribute comprises title, sign etc.;
The 3rd, the data set bind properties is set, comprise content etc.
Secondly, newly-built or renewal logic area also can not set up logic area according to practical application.At logic area, newly-built or new logic more at each logic, is provided with logical attribute, comprises numbering, title etc.; Newly-built or upgrade logic parameter, at each parameter, parameter attribute is set, comprise numbering, switch mode, type, shape ginseng, description etc.
The 3rd, newly-built or renewal layout district also can not set up the layout district according to practical application.At the layout district, newly-built or renewal layout, layout can be nested, at each layout, layout attributes is set, and comprises type, title, sign, pattern, arrangement etc.; Newly-built or the renewal user interface components at the cloth intra-office, user interface components is bundled in the cloth intra-office, and user interface components also can be nested, at each user interface components, the user interface components attribute is set, and comprises type, title, sign etc.
The realization entity of user interface layer is used to be provided with the screen attribute, comprises technology implementation language, description etc.At each subregion:
1) zone attribute is set, comprises realizing route etc.;
2) in that to quote the district newly-built or upgrade and to quote, quote at each: be provided with and quote attribute, comprise type, title, sign etc.; According to reference type, design is quoted and is realized that attribute comprises content, description etc.;
3) select logic at logic area, at each logic: select the technology implementation language; Logical attribute is set, comprises and realize content, description etc.;
4) select user interface components in the layout district, at each user interface components: according to the technology implementation language user interface components particular content is set, wherein relates to binding resource data collection variable; With Jsp, list is example, the list attribute is set comprises sign, title, action, method, target etc.; With Jsp, text box is example, the text box attribute is set comprises sign, title, value, pattern etc., its intermediate value and the binding of resource data collection variable.
The description entity of key-course is used for newly-built or upgrades control and controlled attribute is set, and described controlled attribute comprises title, version, description etc.; Newly-built or upgrade controlled variable and the controlled variable attribute is set, described controlled variable attribute comprises numbering, switch mode, type, shape ginseng, description etc.; Newly-built or new node more, described node comprises two stationary nodes: start node and end node, at each node:
Nodal community at first is set, comprises title, type, description etc.;
Secondly, newly-built or renewal node action is provided with action attributes at each node action: a. and comprises numbering, title, type, description etc.; B. according to type of action action is set and realizes, comprise three kinds of type of action:
I. type of action is a user interface, and user interface attributes is set, and comprises user interface sign, URL etc., and is newly-built or upgrade user-interface parameters, at each parameter: parameter attribute is set, comprises numbering, switch mode, type, shape ginseng, description etc.;
Ii. type of action is an assembly, component property is set comprises component identification etc., and is newly-built or upgrade component parameter, at each parameter: parameter attribute is set, comprises numbering, switch mode, type, shape ginseng, description etc.;
Iii. type of action is a flow process, and the flow process attribute is set, and comprises process identification etc., and newly-built or new technological process parameter more is at each parameter: parameter attribute is set comprises numbering, switch mode, type, shape ginseng, description etc.
Three, newly-built or new node route and the node routing property is set more, described node routing property comprises acquiescence node, type, description etc.If the node route-type is the condition route, then newly-built node route conditions is at each node route conditions: node route conditions attribute is set, comprises destination node, lvalue type, lvalue, operational symbol, r value, r value symbol, description etc.
The realization entity of key-course is used to select control technology to realize type, and newly-built or renewal control technology realizes and be provided with its attribute, and described control technology realizes that attribute comprises content, description etc.
Apparatus of the present invention also further comprise: the description entity of the description entity of the description entity of data object and realization entity, business object and realization entity, view object and realization entity.Wherein, the description entity of data object is used for according to the data model data entity data object and attribute thereof being set, and according to data entity field in the data model and inter-entity incidence relation the data object variable is set.The attribute of described data object comprises object oriented, type, description etc.; Described data object variable comprises name variable, types of variables, default value, description etc.The realization entity of data object is used to select the implementation language of data object.
The description entity of business object is used for according to the data object model data object business object and attribute thereof being set; According to data object variable in the data object model business object variable and attribute thereof are set.Described business object attribute comprises object oriented, description etc.; Described business object variable's attribute comprises name variable, types of variables, default value, description etc.The realization entity of business object is used to select the implementation language of business object.
The description entity of view object is used for according to the business object model business object view object and attribute thereof being set, and according to business object variable in the business object model view object variable and attribute thereof is set.Described view object attribute comprises object oriented, description etc., and described view object variable and attribute comprise name variable, types of variables, default value, description etc.The realization entity of view object is used to select the implementation language of view object.
Based on the described device of Fig. 1, the present invention also provides a kind of code automatic creation system, comprising: the code automatically generating device of five-layer structure, Code Template and code generate engine three parts; Wherein, code automatically generating device is used for providing data processing, assembly extraction, flow processing, the function of five layer models and completion code generative process to control and user interface process; Code Template is used for forming different processing codes at different business objects; Code generates engine, is used for control and calls five layer models and Code Template, the automatic generation of completion code.
Wherein, the create-rule of Code Template is: business rule constant in the business is separated with the business object of variation, with the fixed code in the constant business rule formation template, the business object that changes is carried out mark with special SGML, form Code Template.That is to say that constant part is business rule or claims service logic part in the Code Template; The part that changes is a business object, such as: change at the additions and deletions of traffic table and to look into, constant part is that additions and deletions change the business rule of looking into, and the part of variation is a traffic table.
In actual process, can be with the part that changes in the Code Template, promptly business rule business object to be processed uses the special marking language to carry out mark.In code generation process, but uniqueness find special marking language in the template, replace, template special marking language is replaced with code, form needed code, finally form different processing codes at the different business object.
Described code generates engine and further comprises reader, validator, maker, keymake, configuration tool; Wherein, reader is used to read in five layer models or reads in Code Template; Validator, with the model that reads in according to model element data constraint verify, perhaps with the Code Template of reading in according to the Code Template create-rule constraint verify; Maker is searched the value of respective name and is replaced in five layer models according to special marking language tag title in the Code Template, form code; Keymake is used for the code after replacing is written to code file; Configuration tool is carried out environment configurations for code generates engine, generates position or the like as designated model deposit position, Code Template deposit position, code.
The process of described code engine generating code is: by configuration tool code is generated engine earlier and carry out environment configurations, designated model deposit position, Code Template deposit position, code generate position etc.; Then, five layer models and the Code Template that design are read in by reader respectively, respectively data layout and this layer metadata format of five layer models are compared checking by validator, judge whether to be complementary, and respectively business object in the Code Template is judged whether all to mark with template special marking language with this layer metadata format.As the data layout of certain layer model and this layer metadata format do not match or certain business object is not marked, system still continues operation, but to not matching part or be not marked part and do not generate respective code; As the data layout of certain layer model and this layer metadata format is complementary or certain business object is marked, maker just contrasts the title of special marking language tag in the Code Template, the value of searching respective name in model forms respective code, and be written in the code file by keymake, completion code generates.
Code automatic generation method provided by the present invention may further comprise the steps as shown in Figure 2:
Step 201: data model, component model, procedural model, controlling models and the page model of creating data Layer, component layer, flow process layer, key-course and user interface layer correspondence respectively; And according to create-rule generating code template;
Wherein, described create-rule is exactly: business rule constant in the business is separated with the business object of variation, with the fixed code in the constant business rule formation template, the business object that changes is carried out mark with special SGML, form the code of special marking in the template.Such as: for commodity issues, which kind of commodity no matter, its issue flow process all is certain, so will issue the fixed code in the flow process formation template; And corresponding different commodity, information such as its title, type, price, content all are different, so with the business object of these information as variation, carry out mark with special SGML, form several tag entry and then generating code template in template.When the issue of the different commodity of correspondence, read corresponding information respectively and insert tag entry corresponding in the Code Template and get final product.
Step 202: the running environment that configuration code generates includes but not limited to: designated model deposit position, Code Template deposit position, code generate position etc.;
Step 203: read in the model that step 201 creates and the Code Template of generation;
Step 204: the model created of checking whether with the metadata format coupling of respective layer, and judge whether business object all carries out mark with the special marking language in the described Code Template, if do not match or mark, then finish current treatment scheme; If the coupling and all mark, then execution in step 205;
Step 205: the title of special marking language tag in the contrast Code Template, in the model of being created, search the value of respective name and replace, automatically generating code.
This method further comprises: the code that is generated is write in the code file.
Be the process that example explanation code of the present invention generates automatically to make up online store system below, in the present embodiment, online store system mainly comprises following function: stock control, commodity issue, search service, shopping cart service, delivery management, transactional services, log management, customer service etc.Describe in detail with the commodity issue:
Step 1: create data model, component model, procedural model, controlling models and the page model of commodity issue, and generate the Code Template of commodity issue according to create-rule.
Here, at the commodity issue, described generating code template is will issue the flow process of commodity as constant business rule, generates fixed code; With the merchandise news of different commodity, as: title, type, price etc. are carried out mark as the business object that changes by special SGML, form several tag entry.
In this step, model of creation specifically comprises a-e five sub-steps, creates data model, component model, procedural model, page model and controlling models respectively.
Step a: create commodity distributing data model;
Concrete, describe entity and carry out following operation:
Create commodity data entity merchandise and commodity price data entity merchandise_price earlier, and the attribute of two data entities is set, as shown in Table 1:
Parameter Describe Type
ID The commodity sign symbol Long
type Marque Long character type
amount Commodity amount Integer
date_published Date issued The date type
state Condition of merchandise Character type
Table one
Commodity price data entities field attribute is set again, as shown in Table 2:
Parameter Describe Type
ID The commodity sign symbol Long
price_purchase Bid Double
price_mark Marked price Double
price_discount Discounted price Double
data_discount The discount time period Character type
Table two
Afterwards, the incidence relation of two inter-entity is set again, as source entity, merchandise is as target entity with merchandise_price, and both are by the id field association.
Simultaneously, realize that entity newdata source also is provided with data source property, described data source property comprises at least: data source db_sample, type of database MySql, database version 5.0, to drive class title com.mysql.jdbc.Driver, URL be jdbc:mysql: //localhost:3306/sample, user's name root, password.
Realize that entity also is provided with commodity distributing data entity attribute: data source db_sample; Select the persistence implementation and the persistence scheme attribute is set, comprise title orm_sample, type Hibernate, version 3 .2.
Step b: the component model of creating the commodity issue;
Component model only has unique Data Input Interface, i.e. data service object, system at first generates the data service object, data service to as if be polymerized according to packaged data object.In this example, data are carried out polymerization to the field of MerchandisePO, MerchandisePricePO, form the business object Merchandise DO that comprises object MerchandisePO and MerchandisePricePO.
Concrete, describe the newly-built component class of entity and the component class attribute is set, comprise title MerchandiseComponents and description, be described as commodity issue component class; Create newly-built assembly and component property is set, comprise title publishMerchandiseComponent and description, be described as commodity issue assembly; Create component parameter and the component parameter attribute is set, comprising: numbering, switch mode are that in, type are that MerchandiseDO, shape ginseng are Merchandisedo, are described as commodity and price.
Realize entity selection component technology realization type, implementation language earlier, realize that as component technology type is LocalJavaBean; Implementation language is decided to be Java; Create component technology again and realize that wherein, the realization content is doSave (merchandisedo.getId ()); Be described as the commodity issue.
The procedural model of step c, the issue of establishment commodity;
Wherein, describe the 1. first visioning procedure of entity and the flow process attribute is set, described flow process attribute comprises: title publishMerchandiseProcess, and version is made as 0.1, is described as commodity issue flow process; 2. newly-built again flow process parameter also is provided with the flow process parameter attribute, comprise be numbered 0, switch mode be in, type be MerchandiseDO, shape ginseng for Merchandisedo, be described as commodity and price; 3. after, create newly-built start node and nodal community is set, described nodal community comprises: title, type, description and route acquiescence node are described as start node this moment; 4. then, newly-built commodity publisher node also is provided with nodal community, comprise title, type, description and newly-built node action and action attributes is set, described action attributes comprises numbering, type, title, description and component parameter, and described component parameter comprises numbering, switch mode, type, shape ginseng again and describes; Newly-built node route also is provided with the node routing property, comprising: acquiescence node and description are described as end node.5. newly-built end node also is provided with nodal community, comprising: title, type and description.
Realize that entity selection flow process technology realizes and the flow process technology is set realizing attribute, comprise content and description, be described as using JBPM process definition language (JPDL, JBPM Process definition languagc) realization flow to describe.
The user interface model of steps d, the issue of establishment commodity;
Concrete, describe the newly-built screen of entity and the screen attribute is set, comprise that title is commodity issue, row and behavior sky; Create a subregion and zone attribute is set, comprise numbering, title, newly-builtly quote district, newly-built resource-area and resource-area attribute, newly-built logic area are set and logic area attribute, New Layout district are set and layout district attribute is set.
The described resource-area attribute that is provided with specifically comprises: the newdata collection also is provided with data set attribute (sign and title); Data set variable Id, type, amount, priceMark, state are set, as shown in Table 3.
Parameter Describe Type
ID The commodity sign symbol Long
type Marque Character string type
amount Commodity amount Integer
pricePurchase Bid Double
priceMark Marked price Double
state Condition of merchandise Character string type
Table three
The described logic area attribute that is provided with specifically comprises: newly-built logic also is provided with logical attribute numbering and title.
The described layout district attribute that is provided with specifically comprises: New Layout also is provided with layout attributes type, arrangement; Newly-built list user interface components also is provided with list user interface components attribute, and described list user interface components attribute comprises type, title and sign; Newly-built a plurality of text box user interface components also is provided with text box user interface components attribute, and described attribute comprises commodity ID, marque, commodity amount, price and condition of merchandise.
Realize that entity is provided with the screen attribute, the technology implementation language of setting is Jsp; Zone attribute is set, and concrete the setting is embodied as publishMerchandise user interface jsp, selects to quote and be provided with and quotes attribute quoting the district; Select logic and logical attribute is set at logic area, the technology implementation language is JavaScript; Select publishMerchandiseForm list user interface components in the layout district and list user interface components attribute is set; Select the text box user interface components in the layout district, and text box user interface components attribute is set, described attribute comprises commodity ID, marque, commodity amount, price and condition of merchandise.
The controlling models of step e, the issue of establishment commodity;
Concrete, describe the 1. first newly-built control of entity and controlled attribute is set: title, version and description; 2. newly-built again controlled variable also is provided with the controlled variable attribute: numbering, switch mode, type, shape ginseng and description; 3. newly-built start node and nodal community is set after: title, type, description and route acquiescence node; 4. newly-built commodity issue user interface node also is provided with nodal community: title, type, description, newly-built node action also are provided with action attributes, newly-built node route and the node routing property is set: 5. newly-built commodity issue flow nodes also is provided with nodal community; 6. newly-built end node also is provided with nodal community.
Realize that entity selection flow process technology realizes and the flow process technology is set realizing attribute: content is JPDL, is described as using the JPDL realization flow to describe.
Step 2: the configuration tool that generates in the engine by code is configured the code build environment, at least comprise: read the designated model deposit position, as commodity distributing data model deposit position system default be C: model publish_dataModel.xml; Specify the template file deposit position, be as commodity issue template file deposit position system default: C: template publish.vm; Appointment codes generates the position, generates position system as the commodity release code and is defaulted as: C: src publish.
Step 3: five layer models and the Code Template created in the step 1 are read in by reader from above-mentioned assigned address respectively, such as: read in commodity distributing data model, be by read path: C: model publish_dataModel.xml obtain the data model data; As read in commodity issues backstage Code Template, by read path be: C: template publish.vm obtain Code Template.
Step 4: data layout and the respective layer metadata format to five layer models compares checking respectively, judges whether to be complementary with this layer metadata format; As the modelling verification of commodity distributing data, by under this path C: model publish_dataModel.xml verify, obtain the modelling verification success or not.
Step 5: respectively whether business object in the Code Template is all marked with template special marking language, as the Code Template checking of commodity issues backstage by under this path C: template publish.vm verify, obtain Code Template and whether be proved to be successful.
Step 6: under the situation that step 4 and 5 is proved to be successful,, in the model of being created, search the value of respective name and replace, form code with the title of special marking language tag in the Code Template.As: the special marking Yu Yan ${domainObject.Name} in the Code Template, in model, at first search domainObject, search attribute Name then, thereby the value that obtains the title correspondence of special marking language tag is MerchandiseDO, replace template special marking Yu Yan ${domainObject.Name}, thereby form code MerchandiseDO.
Step 7: the code after will replacing is written to code file, thereby realizes generating based on the code of five layer models and various types of traffic Code Template, as commodity issue backstage code file is: C: src publish publishjava.
So far, whole code generation process finishes.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (9)

1, a kind of code automatically generating device is characterized in that, this device comprises data Layer, component layer, flow process layer, key-course and user interface layer; Wherein,
Data Layer is used to provide data model, and sets up the corresponding relation between data model and the relevant database;
Component layer, corresponding component model according to the business rule of determining direct extraction assembly from Component Gallery, and is set up the corresponding relation of component model and business unit to be processed;
The flow process layer, corresponding procedural model is assembled the combination of determined assembly and assembly or assembly and assembly bag according to business rule, realizes the business function in the bigger scope of business;
Key-course, corresponding controlling models by the assembling to user interface and assembly, is set up the corresponding relation of controlling models and application program front and back end interaction sequences;
User interface layer, corresponding page model represents needs according to business and sets up page model and the professional corresponding relation that represents.
2, code automatically generating device according to claim 1 is characterized in that, this device further comprises data object, business object and view object, is used to transmit the information between each layer.
3, code automatically generating device according to claim 1 and 2 is characterized in that, described each layer further comprises to be described entity and realize entity, wherein,
Described description entity is used to create this layer entity and entity attribute is set;
Described realization entity is used to select determine to realize environment.
4, a kind of code automatic creation system is characterized in that, this system comprises that code automatically generating device, Code Template and the code of five-layer structure generate engine; Wherein,
Code automatically generating device is used to provide five layer models, and the data processing in the completion code generative process, assembly extraction, flow processing, function control and user interface process;
Code Template is used for forming different processing codes at different business objects;
Code generates engine, is used for control and calls five layer models and Code Template, automatically generating code;
Wherein, described five-layer structure comprises data Layer, component layer, flow process layer, key-course and user interface layer;
Described five layer models comprise data model, component model, procedural model, controlling models and page model, and are corresponding with described five-layer structure respectively;
Described data Layer is used to provide described data model, and sets up the corresponding relation between data model and the relevant database;
Described component layer, corresponding described component model according to the business rule of determining direct extraction assembly from Component Gallery, and is set up the corresponding relation of component model and business unit to be processed;
Described flow process layer, corresponding described procedural model is assembled the combination of determined assembly and assembly or assembly and assembly bag according to business rule, realizes the business function in the bigger scope of business;
Described key-course, corresponding described controlling models by the assembling to user interface and assembly, is set up the corresponding relation of controlling models and application program front and back end interaction sequences;
Described user interface layer, corresponding described page model represents needs according to business and sets up page model and the professional corresponding relation that represents.
5, code automatic creation system according to claim 4 is characterized in that, described Code Template comprises constant business rule part and the business object that changes, and described business object is carried out mark with the special marking language.
According to claim 4 or 5 described code automatic creation systems, it is characterized in that 6, described code generates engine and further comprises reader, validator, maker, configuration tool; Wherein,
Reader is used to read in five layer models or Code Template;
Validator, with the model that reads in according to model element data constraint verify, perhaps with the Code Template of reading in according to the Code Template create-rule constraint verify;
Maker is searched the value of respective name and is replaced in five layer models according to special marking language tag title in the Code Template, form code;
Configuration tool is carried out environment configurations for code generates engine.
7, code automatic creation system according to claim 6 is characterized in that, described code generates engine and further comprises keymake, is used for the code after replacing is written to code file.
8, a kind of code automatic generation method is characterized in that, this method comprises:
A, create data model, component model, procedural model, controlling models and page model respectively, and according to create-rule generating code template;
The running environment that B, configuration code generate;
C, read in the model created and the Code Template of generation;
D, the model created of checking whether with the metadata format coupling of respective layer, and judge whether business object all carries out mark with the special marking language in the described Code Template, if do not match or mark, then finish current treatment scheme; If coupling and all mark execution in step E then;
The title of special marking language tag is searched the value of respective name and is replaced, automatically generating code in E, the contrast Code Template in the model of being created.
9, code automatic generation method according to claim 8 is characterized in that, this method further comprises: the code that is generated is write in the code file.
CNB2007101208702A 2007-08-28 2007-08-28 Code automatically generating device based on model component, system and method Expired - Fee Related CN100520716C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101208702A CN100520716C (en) 2007-08-28 2007-08-28 Code automatically generating device based on model component, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101208702A CN100520716C (en) 2007-08-28 2007-08-28 Code automatically generating device based on model component, system and method

Publications (2)

Publication Number Publication Date
CN101114226A CN101114226A (en) 2008-01-30
CN100520716C true CN100520716C (en) 2009-07-29

Family

ID=39022590

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101208702A Expired - Fee Related CN100520716C (en) 2007-08-28 2007-08-28 Code automatically generating device based on model component, system and method

Country Status (1)

Country Link
CN (1) CN100520716C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714129A (en) * 2013-12-12 2014-04-09 用友软件股份有限公司 Device and method for buildingg dynamic data structures and relationships based on condition rules
CN106575386A (en) * 2014-07-29 2017-04-19 锡克拜控股有限公司 Mobile device
CN107066248A (en) * 2016-12-29 2017-08-18 北京五八信息技术有限公司 Processing model determines method and device
TWI686719B (en) * 2018-04-03 2020-03-01 鼎新電腦股份有限公司 Program integration system and method

Families Citing this family (59)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8396845B2 (en) * 2008-09-26 2013-03-12 Microsoft Corporation Data-tier application component
CN101593111B (en) * 2009-05-31 2012-10-03 大连新中连软件集团有限公司 Service component, method and system for developing application software based on service component
CN102193793B (en) * 2010-03-02 2015-10-07 腾讯科技(深圳)有限公司 A kind of method and apparatus realizing software repeated usage
CN101853163B (en) * 2010-06-01 2012-12-12 中科软科技股份有限公司 Industry application software system construction method based on assembly business modeling
CN102184105A (en) * 2011-05-13 2011-09-14 中国联合网络通信集团有限公司 Data processing method based on modularity and data center system
CN102279750B (en) * 2011-08-30 2013-07-31 浙江大学 Iterative code generation method based on domain knowledge sharing
CN102289375B (en) * 2011-09-02 2017-10-20 中兴通讯股份有限公司 Code generating method and system
CN102999323B (en) * 2011-09-16 2016-04-27 北京百度网讯科技有限公司 A kind ofly generate the method for object code, the method for data processing and device
CN102508669A (en) * 2011-11-14 2012-06-20 浙江鸿程计算机系统有限公司 Automatic program code generating method
CN102663103B (en) * 2012-04-13 2015-03-04 北京工业大学 Configurable method for automatically generating database and accessing data
CN102662630B (en) * 2012-04-24 2015-07-08 广州市广晟微电子有限公司 Code generation method
CN102722372B (en) * 2012-05-25 2015-04-22 上海学智科技有限公司 Method and system for automatically generating codes through classification and configuration
CN102855280B (en) * 2012-07-31 2015-10-21 北京壹人壹本信息科技有限公司 A kind of Heterogeneous Data Processing method and apparatus
GB201221317D0 (en) * 2012-11-27 2013-01-09 Omron Tateisi Electronics Co Method and device for changing objects in a human-machine interface device
CN104049957A (en) * 2013-03-13 2014-09-17 成都泰聚泰科技有限公司 Rapid modeling frame of general business model based on star structure
CN104216691B (en) 2013-05-31 2017-11-17 华为技术有限公司 A kind of method and device for creating application
CN103593197B (en) * 2013-11-26 2016-09-28 国家电网公司 A kind of code generating method and device
CN103677819B (en) * 2013-12-05 2017-12-05 深圳中兴网信科技有限公司 The implementation method and realization device of code forward engineering based on OSGI
CN103744651A (en) * 2013-12-20 2014-04-23 柳州职业技术学院 Method for automatically generating business processing model oriented to business requirements
CN103699649B (en) * 2013-12-26 2018-05-25 成都市卓睿科技有限公司 Handle interface element and the system and its implementation of data mapping
CN104899011A (en) * 2014-03-05 2015-09-09 张航 Start-topology universal service model
CN104331285A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Automatic code generation method and system
CN104376125B (en) * 2014-12-11 2017-12-19 南威软件股份有限公司 A kind of method that business form dynamic increases and decreases content
CN105988792A (en) * 2015-02-11 2016-10-05 国核(北京)科学技术研究院有限公司 Nuclear power software development automation system and method
CN104932892B (en) * 2015-06-19 2017-11-21 浪潮软件集团有限公司 Web application middleware asynchronous nested calling method realized based on WebWorker
CN105117410B (en) * 2015-07-28 2020-03-27 阿里巴巴集团控股有限公司 Application object creating method and device
CN105117227B (en) * 2015-08-24 2018-09-04 小米科技有限责任公司 The method and device of automatic code generating
CN105138342B (en) * 2015-09-30 2019-03-05 北京奇虎科技有限公司 A kind of service development method and apparatus
CN105224377B (en) * 2015-10-08 2018-07-10 广州华旻信息科技有限公司 A kind of method and device by metadata automatic generating software project code file
CN105224341B (en) * 2015-11-09 2018-09-14 中国民生银行股份有限公司 The implementation method and device of program development
CN105511865A (en) * 2015-11-30 2016-04-20 大连文森特软件科技有限公司 Method and system using multi-language or multi-engine to do code development
CN106815007A (en) * 2015-12-02 2017-06-09 阿里巴巴集团控股有限公司 The treating method and apparatus of application program
US10521199B2 (en) * 2016-03-11 2019-12-31 Tata Consultancy Services Limited System and method for developing mobile based applications using model driven development
CN107220036A (en) * 2016-03-22 2017-09-29 中兴通讯股份有限公司 A kind of visual development method and system of component and template
US10048946B2 (en) * 2016-03-24 2018-08-14 Microsoft Technology Licensing, Llc Converting visual diagrams into code
CN105956830A (en) * 2016-05-11 2016-09-21 中煤电气有限公司 J2EE framework based enterprise-level visualization application development platform
CN106873989A (en) * 2017-01-20 2017-06-20 北京奇虎科技有限公司 Application program building method and device
CN109002279A (en) * 2017-06-01 2018-12-14 如如研创股份有限公司 The generation system of automated software
CN108334446A (en) * 2017-12-29 2018-07-27 五八有限公司 A kind of method of calibration of web page template, device and computer readable storage medium
CN108664568A (en) * 2018-04-24 2018-10-16 科大讯飞股份有限公司 Semantic technical ability creation method and device
CN110580174B (en) * 2018-06-11 2022-07-01 中国移动通信集团浙江有限公司 Application component generation method, server and terminal
CN108846101B (en) * 2018-06-19 2021-06-22 艾普阳科技(深圳)有限公司 Method and device for automatically generating SQL (structured query language) statement
CN109375904A (en) * 2018-09-26 2019-02-22 思朋网络科技(武汉)有限公司 A kind of computer software development approach based on model
CN110968307A (en) * 2018-09-29 2020-04-07 北京数聚鑫云信息技术有限公司 Micro-service construction method and device based on intelligent generation of basic codes
CN111124378B (en) * 2018-10-31 2024-02-13 北京国双科技有限公司 Code generation method and device
CN109445792B (en) * 2018-11-05 2021-12-21 用友网络科技股份有限公司 Interface construction method and device and computer readable storage medium
CN109614095A (en) * 2018-12-07 2019-04-12 北京金山云网络技术有限公司 The method of user's Custom component, the generation method of platform code and device
CN109614097A (en) * 2018-12-07 2019-04-12 北京金山云网络技术有限公司 Generation method, device and the server of platform code
CN109739492B (en) * 2019-01-09 2022-06-17 武汉瓯越网视有限公司 Method, terminal, equipment and medium for generating script code
CN111435300A (en) * 2019-01-15 2020-07-21 北大方正信息产业集团有限公司 Web system development method, device, equipment and storage medium
CN110166493B (en) * 2019-07-01 2021-10-15 武汉斗鱼鱼乐网络科技有限公司 Social client address book dynamic protection method and device
CN110442331B (en) * 2019-08-11 2023-12-26 西藏宁算科技集团有限公司 Method and system for automatically building code frame
CN110989976A (en) * 2019-11-29 2020-04-10 北京美络克思科技有限公司 Web application componentization development method based on J2EE, storage medium and electronic device
CN111399827B (en) * 2020-03-09 2023-01-24 北京国信会视科技有限公司 Descriptive object code automatic generation method for sensor data processing
CN111427567B (en) * 2020-03-20 2023-08-18 杭州涂鸦信息技术有限公司 Intelligent product rapid generation method, system and equipment thereof
CN112052244A (en) * 2020-09-08 2020-12-08 浙江省交通规划设计研究院有限公司 Method and device for establishing model attribute, electronic equipment and storage medium
CN112130849B (en) * 2020-09-27 2023-08-22 建信金融科技有限责任公司 Code automatic generation method and device
CN115544876B (en) * 2022-09-28 2024-02-27 北京能科瑞元数字技术有限公司 Design method for intelligent manufacturing software of productivity center
CN115794067B (en) * 2022-11-07 2024-01-12 苏州数设科技有限公司 Industrial software generation method and device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714129A (en) * 2013-12-12 2014-04-09 用友软件股份有限公司 Device and method for buildingg dynamic data structures and relationships based on condition rules
CN103714129B (en) * 2013-12-12 2016-09-14 用友网络科技股份有限公司 Dynamic data structure based on conditional plan and the construction device of relation and construction method
CN106575386A (en) * 2014-07-29 2017-04-19 锡克拜控股有限公司 Mobile device
CN107066248A (en) * 2016-12-29 2017-08-18 北京五八信息技术有限公司 Processing model determines method and device
TWI686719B (en) * 2018-04-03 2020-03-01 鼎新電腦股份有限公司 Program integration system and method

Also Published As

Publication number Publication date
CN101114226A (en) 2008-01-30

Similar Documents

Publication Publication Date Title
CN100520716C (en) Code automatically generating device based on model component, system and method
US8024397B1 (en) System for generating a services repository using a target services roadmap
US7730123B1 (en) Software application implemented using services from a services repository generated using a target services roadmap
Draheim et al. Form-oriented analysis: a new methodology to model form-based applications
CA2720548C (en) Web portal application customization method and system using profiles
Brambilla et al. Process modeling in web applications
US7761865B2 (en) Upgrading pattern configurations
CN103617037B (en) Development approach and web development system for web development system
US7366723B2 (en) Visual query modeling for configurable patterns
US7953767B2 (en) Developing applications using configurable patterns
US8126937B2 (en) Visual database modeling
US7739228B1 (en) Method of generating a services repository using a target services roadmap
EP1730681A1 (en) A forms development platform
Pleuss et al. User interface engineering for software product lines: the dilemma between automation and usability
EP1454221B1 (en) Tracking user flow of web pages of a web site
CN102521414B (en) Data mining device and data mining method
CN101361042A (en) System and method for managing hierarchically related software components
Bernaschina et al. A big data analysis framework for model-based web user behavior analytics
CN102428460A (en) Database Application Navigation
US6591271B1 (en) Model for the definition of world wide web sites and method for their design and verification
US20050257190A1 (en) Developing and executing applications with configurable patterns
KR100863121B1 (en) Ontology search system
Bochicchio et al. WARP: Web application rapid prototyping
Haller et al. Interacting with linked data via semantically annotated widgets
Henderson-Sellers et al. OPEN process support for web development

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: 20090729

Termination date: 20130828