CN106886406A - The generation method and device of exploitation code or document - Google Patents

The generation method and device of exploitation code or document Download PDF

Info

Publication number
CN106886406A
CN106886406A CN201710046683.8A CN201710046683A CN106886406A CN 106886406 A CN106886406 A CN 106886406A CN 201710046683 A CN201710046683 A CN 201710046683A CN 106886406 A CN106886406 A CN 106886406A
Authority
CN
China
Prior art keywords
metadata
code
document
business
exploitation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710046683.8A
Other languages
Chinese (zh)
Inventor
熊务真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710046683.8A priority Critical patent/CN106886406A/en
Publication of CN106886406A publication Critical patent/CN106886406A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

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

Abstract

The application provides the generation method of a kind of exploitation code or document, including:Obtain Configuration Values of the metadata in exploration project;The metadata is used for describing the alterable element of the affiliated business of the exploration project;The Configuration Values of metadata are applied to the exploitation output template of the business, the code or document of the exploration project is obtained;The exploitation output template includes that the business is realized in the code or document of all spans of metadata.The technical scheme of the application significantly reduces the workload of developer when business realizing changes, and avoids and manually omit and change inconsistent, reduces wrong generation.

Description

The generation method and device of exploitation code or document
Technical field
The application is related to technical field of data processing, more particularly to a kind of exploitation code or document generation method and dress Put.
Background technology
With the development of network technology, increasing work and life affairs migration are carried out on the net.By network reality Existing miscellaneous service not only constantly extends to more industries and a greater variety of services, and the business having been carried out also with The change of user's request and be continually changing.For the developer of these operation systems, then need to provide for realizing in time The exploitation output of these business services.
Various codes that exploitation output includes being provided during the completion of development task, document etc., different development platform, Development language and developing instrument potentially include different particular types.For example, for Java exploitations, the type for developing output can be with Including:API (Application Programming Interface, application programming interface), API documents, API Mock (simulation), UI (User Interface, user interface) etc..
In the prior art, when the business to be realized changes, developer needs what the manual modification business was related to All codes or document, could be by the business on-line running after change.Even and the slight change of business also frequently results in one The different types of code of series or document need to change therewith, not only need to expend the substantial amounts of workload of developer, and not Easily mistake is caused to occur because omitting or changing mismatch between the code or document of same type.
The content of the invention
In view of this, the application provides the generation method of a kind of exploitation code or document, including:
Obtain Configuration Values of the metadata in exploration project;The metadata is used for describing the affiliated business of the exploration project Alterable element;
The Configuration Values of metadata are applied to the exploitation output template of the business, obtain the exploration project code or Document;The exploitation output template includes that the business is realized in the code or document of all spans of metadata.
Present invention also provides a kind of exploitation code or the generating means of document, including:
Configuration Values acquiring unit, for obtaining Configuration Values of the metadata in exploration project;The metadata is used for describing The alterable element of the affiliated business of exploration project;
Code document generation unit, the exploitation output template for the Configuration Values of metadata to be applied to the business, obtains To the exploitation code or document of the exploration project;The exploitation output template includes the business in all value models of metadata The code or document for enclosing are realized.
From above technical scheme, in embodiments herein, the alterable element of business is described with metadata, The code or document of all spans of metadata are realized in exploitation output template, to the exploration project of the business, by metadata Configuration Values in the exploration project are applied to develop output template, you can automatically generate the code or document of the exploration project, , without developer's manual modification code or document, the work of developer is significantly reduced so as to when business realizing changes Measure, and avoid and manually omit and change inconsistent, reduce wrong generation.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the generation method of exploitation code or document in the embodiment of the present application;
Fig. 2 is the operation schematic diagram of payment transaction code or document generator in the application application example;
Fig. 3 is a kind of hardware structure diagram of the equipment for running the embodiment of the present application;
Fig. 4 is a kind of building-block of logic of the generating means of exploitation code or document in the embodiment of the present application.
Specific embodiment
Typically, a business can be based on different flows, different interfaces, different service parameters etc. come real It is existing;And when the development task of the business is carried out, can appreciate that within following a period of time, the change that the business may occur Change.Various may the change of the business can be concluded, the metadata for describing each alterable element be extracted, by developing Personnel write out the exploitation output template for implementing for covering all spans of metadata.The business each is specifically opened For hair project, the alterable element of business is determined, and in other words metadata has the value for determining in exploration project, by unit The fixed Configuration Values of data are applied to the exploitation output template of the business, you can obtain exploration project exploitation output (including Code or document), without manually generating exploitation output respectively for each exploration project of the business by developer.
Based on above-mentioned thinking, embodiments herein proposes the generation method of a kind of new exploitation code or document, can be with New code or document is generated by changing the Configuration Values of metadata when business changes, it is manual without developer Modification original code or document, reduce the workload of developer, and will not be because to different types of code or document Modification omit or mismatch cause mistake to occur, so as to solve the problems, such as prior art.
It should be noted that in the prior art, metadata is also using in program code, by the difference to metadata Assignment, carrys out the running or operation result of reprogramming.And in embodiments herein, program code is during exploitation is exported One kind, to the exploitation output including program code, when the assignment of metadata is different in the embodiment of the present application, will generate different journeys Sequence code.That is, being in the prior art constant program code, the metadata in program code is for determining operation Metadata;And be that program code is determined by the value of metadata in itself in the embodiment of the present application, the value of different metadata is corresponding In different program codes, such metadata is to determine the metadata of program code.Certainly, in the embodiment of the present application, as The exploitation output for automatically generating, can also not limited in program code using being used for determining the metadata how program is run It is fixed.
Embodiments herein may operate in any physically or logically equipment with calculating and store function, example Such as, can be mobile device, panel computer, PC (Personal Computer, PC), notebook, server, virtual Machine, computer cluster etc..
In embodiments herein, business can be a rounded system for providing the user certain aspect service, such as prop up Pay platform, shopping platform etc.;Can also be a relatively independent part in certain integral framework, for completing the body Part of functions or a kind of special services etc. in the system are provided in system, do not limited.These function or services etc., can To be realized using different mechanism (such as different flow, different interfaces, different service parameters), every kind of realization will be produced A kind of different exploitation output of life.These factors for causing exploitation output different reflect the alterable element of business.The application Described exploration project in embodiment, refers to a kind of implementation of determination of business, that is to say, that when exploration project is started, The alterable element of the affiliated business of the exploration project is determined.
Developer may be referred to the conditions such as the limitation of practical application scene, available technological means to enumerate one Different factors in the various possible realization of individual business.According to development language, developing instrument, the needs of realizing that the business is used Type of exploitation output of offer etc., it is the metadata with respective span that these different factors are refined, each first number According to for describing a kind of alterable element of business, the combination of all metadata and its span can cover above-mentioned various May realize.
For example, an a certain Branch Tasks for business can be realized using different flows, then can be using a job Flow metadata to describe the variable flow, each value of the workflow metadata corresponds to a kind of alternative flow, The span of the workflow metadata is all flows for realizing the Branch Tasks of the business support.In this example, If certain formula can be used in realizing the flow of the Branch Tasks, and can be met not using different formula in the business Same business demand, then can be expressed the formula with metadata, and its span is each the specific formula that possible use; Similar, certain parameter in the formula is variable, and the parameter can be equally expressed with metadata.
By taking certain payment transaction of payment system as an example, can be including in following all kinds of metadata in the metadata of the business One to multiple:
1), the metadata of API is described:For the payment transaction of calling interface is provided to other external systems, its exploitation Generally include API and its correlation output in code or document, such as API in itself, API examples (Sample), API documents (Documentation), for testing the API Mock etc. of API.The metadata for describing API is used for representing above-mentioned code or document In alterable factor.For example, can be defined using metadata in the message header and message body of API request and response message It is required that the data form for using;
2), the metadata of network configuration is described:Payment transaction generally needs to be completed by network service, network service Ways of carrying out is related to the network configuration of application scenarios, therefore usually includes description network configuration in the metadata of payment transaction Metadata;
3), the metadata of data storage is described:The transient data produced in payment transaction will generally be converted to persistant data, To be stored in database for a long time.The metadata for describing data storage can be used to the data persistence for implementing difference Store code is summarized as template, the templating of such as Hibernate (a kind of Object Relation Mapping framework of open source code) code;
4), the metadata of description data mapping:Be related to it is related to the function such as data log analyzing and processing, data mining In payment transaction, it will usually need to carry out the conversion of data model, now can by describe data map metadata by The Code Template of data model translation, such as templating ETL (Extract-Transform-Load extracts-conversion-and loads) generation Code;
5), the metadata of UI is described:Payment transaction would generally be related to the information exchange with user, if the payment transaction Realization includes the function related to user interface, UI controls, UI can be laid out, UI render etc. it is related to user interface can Changing factor is described with metadata, so as to templating UI codes.It is for instance possible to use metadata will in the payment page to define Ask user input field quantity and each field particular content (such as:Bank account, payment and password this 3 words Section, or 2 fields of payment and password);
6), the metadata of workflow is described:If payment transaction includes that certain needs carries out a series of interaction with user Handling process, and this series of interaction can be completed using different page flows, then can be abstract by every kind of page flow It is a kind of specific workflow, and workflow is described using metadata such that it is able to the realization of templating page stream code.
7), the metadata of description rule:For describing the business rule in payment transaction, templating is related to business rule Code or document realization.
It is determined that after all metadata of business, developer writes the exploitation output of the business using metadata Template.Exploitation output template includes exploitation output realization (including code and text of the business in all spans of metadata Shelves are realized), therefore after the value of metadata determines, exploitation of the exploitation output template generation corresponding to these values can be based on Output.For example, span for workflow metadata is 3 values, each value corresponds to a kind of workflow, it is assumed that code or Document includes the UI page stream codes determined by the workflow metadata, then develop in output template will be comprising can give birth to respectively Into the realization of this corresponding page stream code of 3 kinds of workflows;For another example, a metadata is joined for describing one in judgment rule Number, the span of the metadata is certain continuum, it is assumed that used the rule in certain API as exploitation output, Then will be comprising such realization in exploitation output template:It is this yuan of number that the realization can use parameter value in the code of the API According to the rule of value, and the API code can all run to any one value in metadata span.
That develops output template writes mode with the object phase described by the development language, developing instrument and metadata for using Close.Specifically, what developer write in the prior art is code or document, and developer writes in the embodiment of the present application Exploitation output template be code for producing code or document;Developer can generate code or text using any The programming language or instrument of shelves, exploitation output template is write according to metadata, and embodiments herein is not limited.
In output template is developed, the basis that metadata is exported as the exploitation of generation business difference implementation, application In the place being associated with business alterable factor.For example, metadata can apply the public affairs in exploitation output template as parameter In formula or rule, can apply in Workflow decision points, can apply in Pageflow drivings, can also be in UI templates In, the UI templates can be used to render UI controls and UI layouts;In other words, exploitation output template can include:It is with metadata The formula of parameter, the rule with metadata as parameter, the Workflow workflows decision point based on metadata, based on metadata Pageflow page flows drive, and/or the UI templates for rendering UI controls and UI layouts based on metadata.
In addition, code or document in the embodiment of the present application can include various in the prior art being write by developer Code or document, do not limit.For example, it may be API, API Mock, API example, API documents, network configuration, data model Transcode, data persistence store code, UI codes, and/or page stream code etc..
In actual development work, different types of exploitation output template, one species develop the different portions of output template Dividing may all be write by different developers, and these developers often use identical unit in output template is developed Data.All metadata of business can be defined in the form of service metadata model, mould is exported in different exploitations Unified each metadata using in model in plate, consequently facilitating developer completes and clearly understands metadata definition, and Accurately metadata is used in output template is developed such that it is able to one or more exploitations are generated using metadata defeated Go out.Can be according to situations such as actual service feature, the selection of metadata in the way of service metadata model metadata, ginseng Realized according to prior art, repeated no more.
After metadata definition, exploitation output template in finishing service are write, you can using exploitation output template come automatic Generation exploitation output.
In embodiments herein, the flow of the generation method of exploitation code or document is as shown in Figure 1.
Step 110, obtains Configuration Values of the metadata in exploration project.Metadata is used for describing the affiliated industry of the exploration project The alterable element of business.
As it was previously stated, one kind that the alterable element that exploration project is its affiliated business is determined is implemented.Also It is to say, the metadata of the affiliated business of exploration project all has the Configuration Values for determining.
The concrete mode for obtaining the Configuration Values of metadata in exploration project is not limited, for example, developer can pass through Specify the mode of metadata configurations value to create a new exploration project, the Configuration Values of the exploration project can be developed with receiving The mode of personnel's input is obtained;Each yuan of number can also be read by certain predetermined network location (such as reservations database table) Obtained according to the mode of Configuration Values.
Step 120, the Configuration Values of metadata are applied to the exploitation output template of the business, obtain the exploration project Code or document.
The implementation of application metadata configurations value is relevant with the form of exploitation output template on exploitation output template, this The embodiment of application is not limited.For example, to by multiple can the exploitation output template that constitutes of call subroutine, each subprogram can With the code or document of the Configuration Values generating portion according to metadata, then Configuration Values that can successively with metadata are as parameter call Corresponding subprogram, and the output of subprogram is combined as complete code or document.
In some exploration projects, the same different types of code of exploration project or document, one species code or document Different piece may all be generated by different application programs, all these codes or document should correspond to identical unit number According to Configuration Values.If the source that different application programs obtains metadata configurations value is different, may be because of the configuration of separate sources Value is unable to Complete Synchronization and causes code or document to produce mistake.In order to avoid such case, can be by exploration project metadata Configuration Values stored with single True Data (Single Truth) form centralization so that all of application program is all from single Data source obtains metadata and similarly configures value, so as to avoid the inconsistent of various types of or each several part code or document.Especially Be, by all metadata definitions of business for service metadata model application scenarios in, to metadata schema in first number The centralization storage in the form of single True Data is postponed according to match somebody with somebody, an exploitation can be generated by disposable configuration The code or document of project various species (or obtain institute after an exploration project is changed by disposable modification Configuration Values Have the code or document of species), greatly simplify the work of developer.
When the implementation of business changes, if the implementation after change is in the business development output template In the range of realization, then new code or document can be generated by changing metadata configurations value;Can otherwise be opened by modification Hair output template come generate be matched with change after implementation code or document.Therefore, when business exploitation output template or When the Configuration Values of metadata change in exploration project, step 110 and 120 can be re-executed, i.e.,:The unit that will be reacquired Data configuration value is applied to the exploitation output template of the business, the code or document of the exploration project after being updated.Can be Step 110 and 120 are re-executed after the change for detecting exploitation output template or metadata configurations value automatically, it is also possible to heavy manually It is new to perform, do not limit.
It can be seen that, in embodiments herein, the various alterable elements of business are described using metadata, and it is defeated developing Going out template includes that the code of all spans of metadata or document are realized, to the exploration project of the business, obtains metadata Configuration Values and be applied to exploitation output template, you can automatically generate the code or document of the exploration project, without by Developer writes the code or document of each exploration project of the business manually, significantly reduces the workload of developer, and And avoid and manually omit and change inconsistent, reduce wrong generation.
Embodiments herein is highly suitable for changing the exploitation of rapid business, code and is reached the standard grade if desired for quickly generating Marketing activity of operation etc..
In an application example of the application, the exploitation code or document of a kind of payment transaction include API, API Mock, API example, API documents, data model translation code, data persistence store code, UI codes and page stream code 8 Individual species.Developer summarizes the various possible different implementations of the payment transaction, returns from these different implementations The metadata of the payment transaction received out describes the various alterable factors of the payment transaction.Using first number of the payment transaction According to developer has write the exploitation output template corresponding to every kind of code or document, and each exploitation output template includes this The realization of all correspondence codes or document species of the payment transaction in metadata span.
Based on the code or document to be generated, developer has write 6 different types of codes or document generator, point It is not API/API Mock makers, API examples/document generator, data model translation maker, data persistence storage life Grow up to be a useful person, UI makers and page flow maker, each maker with the Configuration Values of the payment transaction metadata be input, by unit The Configuration Values of data are applied to one or two exploitation output templates of correspondence species, one or two generations of output correspondence species Code or document.
When an exploration project of the payment transaction is created, developer specifies matching somebody with somebody for each metadata of payment transaction Value is put, and predetermined network site is centrally stored in the form of single True Data.Above-mentioned 6 makers are predetermined from this respectively Network site read the metadata configurations value of the exploration project, the code or document of output correspondence species, as shown in Figure 2.
Corresponding with the realization of above-mentioned flow, embodiments herein additionally provides the generation dress of a kind of exploitation code or document Put.The device can be realized by software, it is also possible to be realized by way of hardware or software and hardware combining.It is implemented in software to be Example, is by the CPU (Central Process Unit, central processing unit) of place equipment as the device on logical meaning Run what is formed during corresponding computer program instructions are read into internal memory.From for hardware view, except the CPU shown in Fig. 3, Outside internal memory and nonvolatile memory, equipment where the generating means of exploitation code or document generally also include being used for into The chip etc. of row wireless signal transmitting-receiving other hardware, and/or for realizing the board etc. of network communicating function other hardware.
Fig. 4 show a kind of exploitation code of the embodiment of the present application offer or the generating means of document, including Configuration Values are obtained Unit and code document generation unit are taken, wherein:Configuration Values acquiring unit is used to obtain configuration of the metadata in exploration project Value;The metadata is used for describing the alterable element of the affiliated business of the exploration project;Code document generation unit is used for will The Configuration Values of metadata are applied to the exploitation output template of the business, obtain the code or document of the exploration project;It is described Exploitation output template includes that the business is realized in the code or document of all spans of metadata.
Optionally, the metadata include it is following at least one:Describe the metadata of application programming interface API, retouch State the metadata of network configuration, the metadata of description data mapping, the metadata of description data storage, description user interface UI Metadata, the metadata of description rule of metadata, description workflow.
Optionally, the exploitation output template of the business include it is following at least one:Formula with metadata as parameter, Rule with metadata as parameter, the Workflow workflows decision point based on metadata, Pageflow pages based on metadata Surface current drives, the UI templates for rendering UI controls and UI layouts based on metadata.
Optionally, the Configuration Values of metadata are stored with single True Data form centralization in the exploration project.
Optionally, the metadata is with the formal definition of service metadata model, the unit in the service metadata model Data are used to generate one or more codes or document.
Optionally, the code or document include following at least one:API, API Mock simulations, API examples, API text Shelves, network configuration, data model translation code, data persistence store code, UI codes, page stream code.
Optionally, described device also includes:Code document updating block, for the exploitation output template when the business or When the Configuration Values of metadata change in the exploration project, the Configuration Values of the metadata of reacquisition are applied to the industry The exploitation output template of business, the code or document of the exploration project after being updated.
The preferred embodiment of the application is the foregoing is only, is not used to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information Store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, can be used to store the information that can be accessed by a computing device.Defined according to herein, calculated Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.And, the application can be used to be can use in one or more computers for wherein including computer usable program code and deposited The shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.

Claims (14)

1. the generation method of a kind of exploitation code or document, it is characterised in that including:
Obtain Configuration Values of the metadata in exploration project;What the metadata was used for describing the affiliated business of the exploration project can Change element;
The Configuration Values of metadata are applied to the exploitation output template of the business, the code or text of the exploration project is obtained Shelves;The exploitation output template includes that the business is realized in the code or document of all spans of metadata.
2. method according to claim 1, it is characterised in that the metadata include it is following at least one:Description application The metadata of Program Interfaces API, the metadata of description network configuration, the metadata of description data mapping, description data are deposited The metadata of storage, the metadata of description user interface UI, metadata, the metadata of description rule of description workflow.
3. method according to claim 1, it is characterised in that the exploitation output template of the business include it is following at least One:Formula with metadata as parameter, the rule with metadata as parameter, the Workflow workflow decision-makings based on metadata Point, the Pageflow page flows based on metadata drive, the UI templates for rendering UI controls and UI layouts based on metadata.
4. method according to claim 1, it is characterised in that the Configuration Values of metadata are with single true in the exploration project The centralization of real data form is stored.
5. method according to claim 1, it is characterised in that the metadata is determined in the form of service metadata model Justice, the metadata in the service metadata model is used to generate one or more codes or document.
6. method according to claim 1, it is characterised in that the code or document include following at least one:API、 API Mock simulations, API examples, API documents, network configuration, data model translation code, data persistence store code, UI Code, page stream code.
7. method according to claim 1, it is characterised in that methods described also includes:When the exploitation of the business is exported When the Configuration Values of metadata change in template or the exploration project, the Configuration Values of the metadata of reacquisition are applied to The exploitation output template of the business, the code or document of the exploration project after being updated.
8. generating means of a kind of exploitation code or document, it is characterised in that including:
Configuration Values acquiring unit, for obtaining Configuration Values of the metadata in exploration project;The metadata is used for describing described The alterable element of the affiliated business of exploration project;
Code document generation unit, the exploitation output template for the Configuration Values of metadata to be applied to the business, obtains institute State the code or document of exploration project;The exploitation output template includes code of the business in all spans of metadata Or document is realized.
9. device according to claim 8, it is characterised in that the metadata include it is following at least one:Description application The metadata of Program Interfaces API, the metadata of description network configuration, the metadata of description data mapping, description data are deposited The metadata of storage, the metadata of description user interface UI, metadata, the metadata of description rule of description workflow.
10. device according to claim 8, it is characterised in that the exploitation output template of the business include it is following extremely One item missing:Formula with metadata as parameter, the rule with metadata as parameter, the Workflow workflows based on metadata are determined Plan point, the Pageflow page flows based on metadata drive, the UI moulds for rendering UI controls and UI layouts based on metadata Plate.
11. devices according to claim 8, it is characterised in that the Configuration Values of metadata are with single in the exploration project The centralization of True Data form is stored.
12. devices according to claim 8, it is characterised in that the metadata is determined in the form of service metadata model Justice, the metadata in the service metadata model is used to generate one or more codes or document.
13. devices according to claim 8, it is characterised in that the code or document include following at least one:API、 API Mock simulations, API examples, API documents, network configuration, data model translation code, data persistence store code, UI Code, page stream code.
14. devices according to claim 8, it is characterised in that described device also includes:Code document updating block, uses In when the Configuration Values of metadata in the exploitation output template of the business or the exploration project change, will reacquire The Configuration Values of metadata be applied to the exploitation output template of the business, the code or text of the exploration project after being updated Shelves.
CN201710046683.8A 2017-01-19 2017-01-19 The generation method and device of exploitation code or document Pending CN106886406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710046683.8A CN106886406A (en) 2017-01-19 2017-01-19 The generation method and device of exploitation code or document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710046683.8A CN106886406A (en) 2017-01-19 2017-01-19 The generation method and device of exploitation code or document

Publications (1)

Publication Number Publication Date
CN106886406A true CN106886406A (en) 2017-06-23

Family

ID=59176595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710046683.8A Pending CN106886406A (en) 2017-01-19 2017-01-19 The generation method and device of exploitation code or document

Country Status (1)

Country Link
CN (1) CN106886406A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977236A (en) * 2017-12-21 2018-05-01 上海智臻智能网络科技股份有限公司 Generation method, terminal device, storage medium and the question answering system of question answering system
CN108829395A (en) * 2018-06-19 2018-11-16 中国电子科技集团公司第四十研究所 A kind of signal-oriented driver code automatic generation method and device
CN109032571A (en) * 2018-08-28 2018-12-18 苏州艾利特机器人有限公司 A kind of robot process generation method
CN109597603A (en) * 2018-11-16 2019-04-09 湖南大学 A kind of requirement documents automatic generation method based on document component
CN109634607A (en) * 2018-12-13 2019-04-16 泰康保险集团股份有限公司 A kind of method and device of Code automatic build
CN110377282A (en) * 2019-06-26 2019-10-25 扬州大学 The method for generating Web code based on the UI for generating confrontation and convolutional neural networks
CN111008051A (en) * 2018-10-04 2020-04-14 甲骨文国际公司 Dynamic layout based on multidimensional rules
CN112256266A (en) * 2020-11-11 2021-01-22 平安普惠企业管理有限公司 Grammar prompting method, grammar prompting device, computer equipment and storage medium
CN112612774A (en) * 2020-12-17 2021-04-06 武汉达梦数据技术有限公司 Metadata analysis method and device based on page and database comparison
CN113127541A (en) * 2021-04-29 2021-07-16 四川虹美智能科技有限公司 Fault code management method and device
CN113296763A (en) * 2021-05-24 2021-08-24 北京思特奇信息技术股份有限公司 Application capability management method and system
CN113419996A (en) * 2021-05-28 2021-09-21 济南浪潮数据技术有限公司 Method, system, equipment and medium for converting metadata file
CN114721647A (en) * 2022-06-10 2022-07-08 杭州普数软件有限公司 Object-oriented programming method based on codeless application development

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604241A (en) * 2009-07-10 2009-12-16 杭州电子科技大学 A kind of code generating method of embedded system
CN102368217A (en) * 2011-10-20 2012-03-07 镇江睿泰信息科技有限公司 Metadata driven REST (representational state transfer) style application development method and system
CN105242914A (en) * 2015-09-06 2016-01-13 江苏马上游科技股份有限公司 Model driven code generation method and system
CN106325852A (en) * 2016-08-10 2017-01-11 浙江温商贷互联网金融服务有限公司 Application dynamic interface customizing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604241A (en) * 2009-07-10 2009-12-16 杭州电子科技大学 A kind of code generating method of embedded system
CN102368217A (en) * 2011-10-20 2012-03-07 镇江睿泰信息科技有限公司 Metadata driven REST (representational state transfer) style application development method and system
CN105242914A (en) * 2015-09-06 2016-01-13 江苏马上游科技股份有限公司 Model driven code generation method and system
CN106325852A (en) * 2016-08-10 2017-01-11 浙江温商贷互联网金融服务有限公司 Application dynamic interface customizing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
万军民: ""基于Java的代码生成器的设计与实现"", 《计算机工程》 *
冯英英: ""基于MDA的代码生成技术的研究与应用"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977236A (en) * 2017-12-21 2018-05-01 上海智臻智能网络科技股份有限公司 Generation method, terminal device, storage medium and the question answering system of question answering system
CN107977236B (en) * 2017-12-21 2020-11-13 上海智臻智能网络科技股份有限公司 Question-answering system generation method, terminal device, storage medium and question-answering system
CN108829395A (en) * 2018-06-19 2018-11-16 中国电子科技集团公司第四十研究所 A kind of signal-oriented driver code automatic generation method and device
CN109032571A (en) * 2018-08-28 2018-12-18 苏州艾利特机器人有限公司 A kind of robot process generation method
CN111008051A (en) * 2018-10-04 2020-04-14 甲骨文国际公司 Dynamic layout based on multidimensional rules
CN111008051B (en) * 2018-10-04 2024-04-23 甲骨文国际公司 Dynamic layout based on multidimensional rules
CN109597603B (en) * 2018-11-16 2021-07-06 湖南大学 Demand document automatic generation method based on document component
CN109597603A (en) * 2018-11-16 2019-04-09 湖南大学 A kind of requirement documents automatic generation method based on document component
CN109634607A (en) * 2018-12-13 2019-04-16 泰康保险集团股份有限公司 A kind of method and device of Code automatic build
CN110377282A (en) * 2019-06-26 2019-10-25 扬州大学 The method for generating Web code based on the UI for generating confrontation and convolutional neural networks
CN110377282B (en) * 2019-06-26 2021-08-17 扬州大学 Method for generating Web code based on UI generating countermeasure and convolutional neural network
CN112256266A (en) * 2020-11-11 2021-01-22 平安普惠企业管理有限公司 Grammar prompting method, grammar prompting device, computer equipment and storage medium
CN112612774A (en) * 2020-12-17 2021-04-06 武汉达梦数据技术有限公司 Metadata analysis method and device based on page and database comparison
CN112612774B (en) * 2020-12-17 2022-07-26 武汉达梦数据技术有限公司 Metadata analysis method and device based on page and database comparison
CN113127541A (en) * 2021-04-29 2021-07-16 四川虹美智能科技有限公司 Fault code management method and device
CN113127541B (en) * 2021-04-29 2022-09-20 四川虹美智能科技有限公司 Fault code management method and device
CN113296763A (en) * 2021-05-24 2021-08-24 北京思特奇信息技术股份有限公司 Application capability management method and system
CN113296763B (en) * 2021-05-24 2023-07-04 北京思特奇信息技术股份有限公司 Application capability management method and system
CN113419996A (en) * 2021-05-28 2021-09-21 济南浪潮数据技术有限公司 Method, system, equipment and medium for converting metadata file
CN114721647A (en) * 2022-06-10 2022-07-08 杭州普数软件有限公司 Object-oriented programming method based on codeless application development

Similar Documents

Publication Publication Date Title
CN106886406A (en) The generation method and device of exploitation code or document
US10198425B2 (en) Methods and apparatus for reusing report design components and templates
RU2390822C2 (en) Method and device for creating user interfaces based on automation with possibility of complete setup
US7624349B2 (en) Declarative definition enabling graphical designer reuse
CN103718155B (en) runtime system
US20080256432A1 (en) System and Method of Defining a Hierarchical Datamodel and Related Computation and Instruction Rules Using Spreadsheet Like User Interface
US8667019B2 (en) Placement goal-based database instance consolidation
US20120254435A1 (en) Placement goal-based database instance dynamic consolidation
US10140355B2 (en) Compiling extract, transform, and load job test data cases
EP3163436A1 (en) Visual software modeling method based on software meta-view for constructing software view
CN115964038A (en) Low code development method based on dual-model drive
CN104424522B (en) A kind of transaction processing system and its configuration method
US20130074033A1 (en) Designing a configurable pipelined processor
CN111061475A (en) Software code generation method and device, computer equipment and storage medium
WO2009065209A1 (en) Systems and methods for transforming a business process into reusable services
Singh et al. Analysis of software development life cycle models
CN114238808A (en) Page display method and device, computer equipment and storage medium
Kasalica et al. APE: A command-line tool and API for automated workflow composition
US11315208B2 (en) Conceptual representation of business processes for cross-domain mapping
US11704345B2 (en) Inferring location attributes from data entries
CN116075899A (en) Generation of organic synthetic programs from simplified molecular input linear entry system reactions
US10706225B2 (en) Form management system and method
Rokis et al. Exploring Low-Code Development: A Comprehensive Literature Review
US11386108B2 (en) Mining data transformation flows in spreadsheets
Wojszczyk et al. The process of verifying the implementation of design patterns—used data models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication