CN102982140A - Extensible markup language-based conversion process defining method and device - Google Patents
Extensible markup language-based conversion process defining method and device Download PDFInfo
- Publication number
- CN102982140A CN102982140A CN201210470633XA CN201210470633A CN102982140A CN 102982140 A CN102982140 A CN 102982140A CN 201210470633X A CN201210470633X A CN 201210470633XA CN 201210470633 A CN201210470633 A CN 201210470633A CN 102982140 A CN102982140 A CN 102982140A
- Authority
- CN
- China
- Prior art keywords
- module
- definition
- markup language
- execution module
- task node
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to an extensible markup language-based conversion process defining method and an extensible markup language-based conversion process defining device. The extensible markup language-based conversion process defining method comprises the following steps of: defining a process definition format file; outputting the process definition format file to an executing unit; calling an executing module by using the executing unit according to the process definition format file; and executing the operation defined by the process definition format file by using the executing module. The extensible markup language-based conversion process defining device comprises a definition module, an output module, a calling module and an execution and operation module, wherein the definition module is used for defining the process definition format file; the output module is used for outputting the process definition format file to the executing unit; the calling module is used for calling the executing module by using the executing unit according to the process definition format file; and the execution and operation module is used for executing the operation defined by the process definition format file by using the executing module. By the method and the device, the encoding process of a plurality of routine data operations is realized in a configuration way; hard codes are reduced; and a compilation and connection process is simplified.
Description
Technical field
The present invention relates to a kind of extensible markup define method, special design a kind of flow path switch define method and device based on extend markup language.
Background technology
For database manipulation, the coded system basic process of common application program all is similar, inquiry/condition judgment/data additions and deletions change etc., and call external module and finish external mutual, and conventional way is to use programming language that the logical process process hard coded of needs is realized, then compile linker, then test.But hard coded is to introduce easily to think wrong, such process will be a very huge workload for the system that a large number of services logic is arranged, a large amount of personnel and a large amount of time, update routine/the compiling that constantly repeats/test, not only inefficiency but also be difficult to ensure the quality of products.
Existing more in the software product of SOA, can obtain to support widely and use based on industry standard, but actual conditions are still to lack interoperability between the product of each manufacturer, and application scenarios is complicated, usually need to dispose SOA platform in large scale, seem outdated for small-scale application.
In addition, usually require functional module to provide operation interface with the WebService agreement based on the flow custom system of SOA, increased so a large amount of outside alternately, cause running efficiency of system low.
Summary of the invention
The cataloged procedure that technical matters to be solved by this invention provides a kind of database manipulation with routine is realized in the mode of configuration, reduce hard coded, simplify flow path switch define method and the device based on extend markup language of the common applications performance history of compiling connection.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of flow path switch define method based on extend markup language may further comprise the steps:
Step 1: definitim flow definition format file;
Step 2: the flow definition formatted file is exported to performance element;
Step 3: performance element calls execution module according to the flow definition formatted file;
Step 4: execution module is carried out the operation of flow definition formatted file definition.
The invention has the beneficial effects as follows: the content according to the flow definition formatted file is carried out executable operations, and the cataloged procedure of the database manipulation of routine is realized with configuration mode, reduces hard coded.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described step 1 further comprises:
Step 1.1: operation Custom Interface module;
Step 1.2: the task node to the custom window that is arranged in the Custom Interface module arranges nodal community;
Step 1.3: form the flow definition formatted file after connecting each task node in the custom window.
The beneficial effect that adopts above-mentioned further scheme is that the task node that needs define is configured definition, unitized operation, and it is redundant to reduce unnecessary task.
Further, the task node correspondence described in the described step 1.2 disposes execution module.
The beneficial effect that adopts above-mentioned further scheme is the execution module that adopts corresponding configuration, in the calling task node, can redirect carry out corresponding execution module.
Further, described execution module is according to task node information connection data storehouse, and success is rreturn value 0 afterwards, failed rreturn value 1.
The beneficial effect that adopts above-mentioned further scheme is according to the operation success or not, returns corresponding rreturn value, prevents system misoperation.
Further, described performance element calls the execution module corresponding with task node according to the flow definition formatted file, detect the rreturn value of execution module, and detect the redirect condition whether execution module has correspondence, have and then continue to call next node, otherwise the termination process that reports an error is carried out.
Whether the beneficial effect that adopts above-mentioned further scheme is to detect operation to carry out, and prevents from omitting a certain step operation.
A kind of based on extend markup language flow definition device, comprise definition module, output module, calling module and executable operations module;
Described definition module is used for definitim flow definition format file; Described output module is used for the flow definition formatted file is exported to performance element; Described calling module is used for performance element and calls execution module according to the flow definition formatted file; Described executable operations module is used for the operation that execution module is carried out the definition of flow definition formatted file.
Adopting the beneficial effect of such scheme is to carry out executable operations according to the content of flow definition formatted file, and the cataloged procedure of the database manipulation of routine is realized with configuration mode, reduces hard coded
Further, described definition module further comprises the operation submodule, submodule and connexon module set a property;
Described operation submodule is used for operation Custom Interface module;
The described submodule that sets a property is used for the task node of the custom window that is positioned at the Custom Interface module is arranged nodal community;
Described connexon module is for forming the flow definition formatted file behind each task node that connects custom window.
The beneficial effect that adopts above-mentioned further scheme is that the task node that needs define is configured definition, unitized operation, and it is redundant to reduce unnecessary task.
Further, the task node correspondence in the described submodule that sets a property disposes execution module.
The beneficial effect that adopts above-mentioned further scheme is the execution module that adopts corresponding configuration, in the calling task node, can redirect carry out corresponding execution module.
Further, the execution module in described calling module and the executable operations module, according to task node information connection data storehouse, rreturn value 0 after the success, failed rreturn value 1.
The beneficial effect that adopts above-mentioned further scheme is according to the operation success or not, returns corresponding rreturn value, prevents system misoperation.
Further, described performance element calls the execution module corresponding with task node according to the flow definition formatted file, detect the rreturn value of execution module, and detect the redirect condition whether execution module has correspondence, have and then continue to call next node, otherwise the termination process that reports an error is carried out.
Whether the beneficial effect that adopts above-mentioned further scheme is to detect operation to carry out, and prevents from omitting a certain step operation.
Description of drawings
Fig. 1 is the inventive method flow chart of steps;
Fig. 2 is the flow chart of steps that step 1 of the present invention further comprises;
Fig. 3 is apparatus of the present invention structural drawing.
In the accompanying drawing, the list of parts of each label representative is as follows:
1, definition module, 2, the operation submodule, 3, the submodule that sets a property, 4, link block, 5, output module, 6, calling module, 7, the executable operations module.
Embodiment
Below in conjunction with accompanying drawing principle of the present invention and feature are described, institute gives an actual example and only is used for explaining the present invention, is not be used to limiting scope of the present invention.
As shown in Figure 1, be the inventive method flow chart of steps; Fig. 2 is the flow chart of steps that step 1 of the present invention further comprises; Fig. 3 is apparatus of the present invention structural drawing.
Embodiment 1
A kind of flow path switch define method based on extend markup language may further comprise the steps:
Step 1: definitim flow definition format file;
Step 2: the flow definition formatted file is exported to performance element;
Step 3: performance element calls execution module according to the flow definition formatted file;
Step 4: execution module is carried out the operation of flow definition formatted file definition.
Described step 1 further comprises:
Step 1.1: operation Custom Interface module;
Step 1.2: the task node to the custom window that is arranged in the Custom Interface module arranges nodal community; Described task node correspondence disposes execution module;
Step 1.3: form the flow definition formatted file after connecting each task node in the custom window.
Described execution module is according to task node information connection data storehouse, and success is rreturn value 0 afterwards, failed rreturn value 1.
Described performance element is according to the flow definition formatted file, call the execution module corresponding with task node, detect the rreturn value of execution module, and detect the redirect condition whether execution module has correspondence, have and then continue to call next node, otherwise the termination process that reports an error is carried out.
Comprise definition module (1), output module (5), calling module (6) and executable operations module (7);
Described definition module (1) is used for definitim flow definition format file; Described output module (5) is used for the flow definition formatted file is exported to performance element; Described calling module (6) is used for performance element and calls execution module according to the flow definition formatted file; Described executable operations module (7) is used for the operation that execution module is carried out the definition of flow definition formatted file.
Described definition module (1) further comprises operation submodule (2), the submodule that sets a property (3) and connexon module (4);
Described operation submodule (2) is used for operation Custom Interface module;
The described submodule that sets a property (3) is used for the task node of the custom window that is positioned at the Custom Interface module is arranged nodal community;
Described connexon module (4) is for forming the flow definition formatted file behind each task node that connects custom window.
Task node correspondence in the described submodule that sets a property (3) disposes execution module.
Execution module in described calling module (6) and the executable operations module (7), according to task node information connection data storehouse, rreturn value 0 after the success, failed rreturn value 1.
Described performance element is according to the flow definition formatted file, call the execution module corresponding with task node, detect the rreturn value of execution module, and detect the redirect condition whether execution module has correspondence, have and then continue to call next node, otherwise the termination process that reports an error is carried out.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the flow path switch define method based on extend markup language is characterized in that, may further comprise the steps:
Step 1: definitim flow definition format file;
Step 2: the flow definition formatted file is exported to performance element;
Step 3: performance element calls execution module according to the flow definition formatted file;
Step 4: execution module is carried out the operation of flow definition formatted file definition.
2. the flow path switch define method based on extend markup language according to claim 1 is characterized in that described step 1 further comprises:
Step 1.1: operation Custom Interface module;
Step 1.2: the task node to the custom window that is arranged in the Custom Interface module arranges nodal community;
Step 1.3: form the flow definition formatted file after connecting each task node in the custom window.
3. the flow path switch define method based on extend markup language according to claim 2, it is characterized in that: the task node correspondence described in the described step 1.2 disposes execution module.
4. the flow path switch define method based on extend markup language according to claim 1 is characterized in that: described execution module is according to task node information connection data storehouse, rreturn value 0 after the success, failed rreturn value 1.
5. according to claim 1 to 3 arbitrary described flow path switch define methods based on extend markup language, it is characterized in that: described performance element is according to the flow definition formatted file, call the execution module corresponding with task node, detect the rreturn value of execution module, and whether the detection execution module has corresponding redirect condition, have and then continue to call next node, otherwise the termination process that reports an error is carried out.
6. the flow path switch definition device based on extend markup language is characterized in that: comprise definition module (1), output module (5), calling module (6) and executable operations module (7);
Described definition module (1) is used for definitim flow definition format file; Described output module (5) is used for the flow definition formatted file is exported to performance element; Described calling module (6) is used for performance element and calls execution module according to the flow definition formatted file; Described executable operations module (7) is used for the operation that execution module is carried out the definition of flow definition formatted file.
7. the flow path switch definition device based on extend markup language according to claim 6 is characterized in that: described definition module (1) further comprises operation submodule (2), the submodule that sets a property (3) and connexon module (4);
Described operation submodule (2) is used for operation Custom Interface module;
The described submodule that sets a property (3) is used for the task node of the custom window that is positioned at the Custom Interface module is arranged nodal community;
Described connexon module (4) is for forming the flow definition formatted file behind each task node that connects custom window.
8. the flow path switch definition device based on extend markup language according to claim 7, it is characterized in that: the task node correspondence in the described submodule that sets a property (3) disposes execution module.
9. the flow path switch definition device based on extend markup language according to claim 6, it is characterized in that: the execution module in described calling module (6) and the executable operations module (7), according to task node information connection data storehouse, rreturn value 0 after the success, failed rreturn value 1.
10. according to claim 6 to 9 arbitrary described flow path switch definition devices based on extend markup language, it is characterized in that: described performance element is according to the flow definition formatted file, call the execution module corresponding with task node, detect the rreturn value of execution module, and whether the detection execution module has corresponding redirect condition, have and then continue to call next node, otherwise the termination process that reports an error is carried out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210470633XA CN102982140A (en) | 2012-11-19 | 2012-11-19 | Extensible markup language-based conversion process defining method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210470633XA CN102982140A (en) | 2012-11-19 | 2012-11-19 | Extensible markup language-based conversion process defining method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102982140A true CN102982140A (en) | 2013-03-20 |
Family
ID=47856157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210470633XA Pending CN102982140A (en) | 2012-11-19 | 2012-11-19 | Extensible markup language-based conversion process defining method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102982140A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224341A (en) * | 2015-11-09 | 2016-01-06 | 中国民生银行股份有限公司 | The implementation method of program development and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070244910A1 (en) * | 2006-04-12 | 2007-10-18 | Microsoft Corporation | Business process meta-model |
CN102169500A (en) * | 2011-04-19 | 2011-08-31 | 北京神州数码思特奇信息技术股份有限公司 | Dynamic service flow display device |
CN102185899A (en) * | 2011-04-18 | 2011-09-14 | 北京神州数码思特奇信息技术股份有限公司 | Method for constructing service flow chart in browser/server (B/S) architecture and B/S architecture |
CN102662656A (en) * | 2012-03-15 | 2012-09-12 | 北京神州数码思特奇信息技术股份有限公司 | Plug-in method and system for program structure |
-
2012
- 2012-11-19 CN CN201210470633XA patent/CN102982140A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070244910A1 (en) * | 2006-04-12 | 2007-10-18 | Microsoft Corporation | Business process meta-model |
CN102185899A (en) * | 2011-04-18 | 2011-09-14 | 北京神州数码思特奇信息技术股份有限公司 | Method for constructing service flow chart in browser/server (B/S) architecture and B/S architecture |
CN102169500A (en) * | 2011-04-19 | 2011-08-31 | 北京神州数码思特奇信息技术股份有限公司 | Dynamic service flow display device |
CN102662656A (en) * | 2012-03-15 | 2012-09-12 | 北京神州数码思特奇信息技术股份有限公司 | Plug-in method and system for program structure |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224341A (en) * | 2015-11-09 | 2016-01-06 | 中国民生银行股份有限公司 | The implementation method of program development and device |
CN105224341B (en) * | 2015-11-09 | 2018-09-14 | 中国民生银行股份有限公司 | The implementation method and device of program development |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104484269A (en) | Method for automatically generating testing script | |
CN104050261A (en) | Stormed-based variable logic general data processing system and method | |
CN104331366A (en) | Test case design efficiency promotion method and system | |
CN104854558A (en) | Systems, methods, and computer program products for a software build and load process using a compilation and deployment service | |
CN104410667A (en) | Method and system for conversion from XML message to JSON message | |
CN111241182A (en) | Data processing method and apparatus, storage medium, and electronic apparatus | |
CN102591724A (en) | Method and device for information interaction | |
CN104267938A (en) | Method and device for rapid application development and deployment for stream-oriented computation | |
CN109460235A (en) | Configuration software Compilation Method | |
CN104462943A (en) | Non-intrusive performance monitoring device and method for service system | |
CN102455903B (en) | Method for generating user application interface | |
CN104199667B (en) | Method and system for newly building MTK project and submitting codes | |
CN104331315A (en) | Analysis and generation method and system of json object of any level | |
CN110264361A (en) | A kind of data analysis method and device of block chain | |
CN104991810B (en) | Method and processing system in automatic addition APK to Android system | |
CN104820604A (en) | Browser applied to POS terminal | |
CN101980546B (en) | Intelligent network platform, service execution method and method for analyzing service abnormality | |
CN103399735A (en) | Method for developing intermediate layer of remote function call interface | |
CN107291522A (en) | A kind of compiling optimization method and system towards custom rule file | |
CN104133676A (en) | Function execution method and function execution device based on scripts | |
CN102147726A (en) | Script-based method for implementing service configuration | |
CN105721451A (en) | Extensible Modbus protocol analyzing method and device | |
CN102999602A (en) | Data parsing method and system | |
CN114173355B (en) | Method and system for dynamically executing network instruction with separated design running states | |
CN111814449A (en) | Form analysis method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130320 |