CN102004660A - Realizing method and device of business flows - Google Patents

Realizing method and device of business flows Download PDF

Info

Publication number
CN102004660A
CN102004660A CN2010105360255A CN201010536025A CN102004660A CN 102004660 A CN102004660 A CN 102004660A CN 2010105360255 A CN2010105360255 A CN 2010105360255A CN 201010536025 A CN201010536025 A CN 201010536025A CN 102004660 A CN102004660 A CN 102004660A
Authority
CN
China
Prior art keywords
business
business step
operation flow
service code
realizing
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
CN2010105360255A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010105360255A priority Critical patent/CN102004660A/en
Publication of CN102004660A publication Critical patent/CN102004660A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses realizing method and device of business flows, which are used for improving the development efficiency of the operation flows. The method comprises the following steps of: acquiring business demands to be developed, confirming needed business steps according to business information contained in the business demands and acquiring business codes for realizing the business steps; combining the selected business codes into business flows according to the logic relation of the business steps; and loading the business flows. Accordingly, the invention can improve the reuse rate of codes and improve the development efficiency of the business flows. The invention also discloses a realizing device of the business flows.

Description

A kind of implementation method of operation flow and device
Technical field
The present invention relates to computer software fields, relate in particular to a kind of implementation method and device of operation flow.
Background technology
Along with arrival and the development of internet technology of information age, operation system miscellaneous emerges in an endless stream.Because the difference of business demand, the operation flow that each operation system comprised is also inequality.Operation flow is meant to have the operation steps set sequence of execution sequence successively, in general, operation flow defines alternately according to this flow process and executor and other flow processs, be two-way interactive between executor and the operation flow, promptly generate corresponding application programming interfaces, call for executor or other operation flow according to operation flow.Under prior art, the operation flow that each operation system comprised has very high customization, operation flow of promptly every increase, and the developer need develop again according to this operation flow, as increasing a new operation flow again, then need from the beginning develop this operation flow.For example, for realizing a certain business demand, need A->B->four steps of C->D, the developer need be according to this four step exploitation corresponding application and corresponding application interface, and for another business demand, need A->B->three steps of C, then the developer need generate corresponding application and corresponding application interface at above-mentioned three steps.
Simultaneously, when operation flow was tested, the operation flow data had very high complicacy, were difficult to carry out test data and shared, and therefore, it also is the bottleneck of current operation system development that operation flow is tested.
In sum, need to improve the development efficiency and the testing efficiency of operation flow.
Summary of the invention
The invention provides a kind of implementation method and device of operation flow, in order to improve the development efficiency of operation flow.
The concrete technical scheme that the embodiment of the invention provides is as follows:
A kind of implementation method of operation flow comprises:
Obtain business demand leaved for development, determine each required business step according to the business information that described business demand comprises;
Acquisition is used to realize the service code of described each business step;
The service code selected is combined as operation flow according to the logical relation of described each business step;
Load described operation flow.
A kind of implement device of operation flow comprises:
First processing unit is used to obtain business demand leaved for development, determines each required business step according to the business information that described business demand comprises;
Second processing unit is used to obtain to be used to realize the service code of described each business step;
The 3rd processing unit is used for the service code that will select and is combined as operation flow according to the logical relation of described each business step;
Manages the unit everywhere, is used to load described operation flow.
Based on technique scheme, in the embodiment of the invention, by after obtaining business demand, determine each required business step according to the business information that this business demand comprises, obtain the service code that is used to realize each business step again, the logical relation of selecting service code according to each business step is combined as operation flow, load this operation flow, thereby can utilize each business step service code composite service flow process of obtaining, improve the rate of reusing of code, and improved development efficiency.
Description of drawings
Fig. 1 is the detail flowchart of operation flow implementation method of the present invention;
Fig. 2 is the structural drawing of operation flow implement device of the present invention.
Embodiment
In order to improve the development efficiency of operation flow, a kind of implementation method of operation flow is provided in the embodiment of the invention, can improve the rate of reusing of code, improve the development efficiency of operation flow.This method is: obtain business demand leaved for development, determine each required business step according to the business information that this business demand comprises, acquisition is used to realize the service code of above-mentioned each business step, the logical relation of each business step of service code of selecting is combined as operation flow, loads this operation flow.
Below in conjunction with accompanying drawing the preferred embodiment of the present invention is elaborated.
Consult shown in the accompanying drawing 1, in the embodiment of the invention, the detailed process that operation flow realizes is as follows:
Step 101: obtain business demand leaved for development, determine each required business step according to the business information that this business demand comprises.
Waiting to develop the business information that business demand comprises promptly is the description that is used for business step, can determine each business step that above-mentioned business demand is required according to this description.
Step 102: the service code that obtains to be used to realize above-mentioned each business step.
Obtain the service code that is used to realize above-mentioned each business step, be specially: when determining to have the service code of realizing above-mentioned each business step in the local business step set of preserving, directly from this business step set, obtain the service code of realizing above-mentioned each business step; Determine local preserve the business step set in when not having the service code of above-mentioned each business step of part or all of realization, obtain the source code of writing at the business step that does not have service code according to user's indication, and compile the service code that generates new business step, and will realize that the service code of the business step that this is new is saved in the described business step set.
Wherein, determine local preserve the business step set in when not having the service code of above-mentioned each business step of part or all of realization, business platform will not exist the identification information of the business step of service code to feed back to the user by user interface; The user at the required function of finishing of this business step, writes the source code of this business step according to the identification information of this business step; Business platform obtains the source code of this business step by user interface.
Wherein, at the service code of the realization business step that exists in the set of the above-mentioned business step corresponding relation of default input and output parameter respectively, to be used for the service code that verification realizes business step; When the service code with new business step is saved in the above-mentioned business step set, preserve corresponding relation simultaneously at the input and output parameter of this business step.
In the embodiment of the invention, at the service code of realizing each business step, adopt unified interface standard that the interface of the service code of realizing each business step is set, adopt unified input standard that the input and output parameter of the service code of realizing each business step is set.
For example, when adopting unified interface standard that the interface of the service code of realizing each business step is set, can be interface name, number of parameters, parameter type and the rreturn value that interface is set.
Step 103: the service code selected is combined as operation flow according to the logical relation of above-mentioned each business step.
In the embodiment of the invention, be provided with unified interface standard and input standard at the service code of realizing each business step, according to the logical relation that realizes between each required business step of above-mentioned business demand, the service code of realizing each business step is made up, generate corresponding operation flow.
Step 104: load above-mentioned operation flow.
Wherein, load above-mentioned operation flow, and after input parameter is set, move above-mentioned operation flow.It can be to obtain from the default input parameter in this locality that input parameter is set, and also can be to obtain the User Defined input parameter by user interface.
In the embodiment of the invention, after loading above-mentioned operation flow, move this operation flow to verify, be specially: after loading above-mentioned operation flow, for this operation flow is provided with input parameter, and move above-mentioned operation flow, and determine the default input and output parameter corresponding relation of service code of each business step that corresponding above-mentioned operation flow comprises, according to the corresponding relation of this input and output parameter above-mentioned operation flow is verified.
Wherein, according to corresponding relation at the default input and output parameter of the service code of each business step, each business step is verified,, shown that then above-mentioned operation flow is by checking if each business step checking that above-mentioned operation flow comprises is passed through.In the embodiment of the invention, when the service code to each business step makes up, directly generate each business step service code code of directly connecting, by this series connection code, can be with the input parameter of the service code of the first business step of this operation flow, pass to the service code of follow-up each business step, the input parameter of the service code of each business step of feasible composition operation flow is identical, according to default input and output parameter corresponding relation the service code of each business step is verified, after the service code checking of each business step was passed through, the corresponding business flow verification passed through.
In the embodiment of the invention, after above-mentioned operation flow checking is passed through, this operation flow can be saved in the local operation flow set, when needing to realize new business demand, after the business information that comprises according to this new business demand is determined required business step, in the set of the operation flow of this locality, search and whether exist and the corresponding operation flow of above-mentioned business demand,, then directly from the operation flow set of this locality, obtain and get final product with the corresponding operation flow of above-mentioned business demand if exist.
In the embodiment of the invention, can be after loading above-mentioned operation flow, single input parameter to be set, move this operation flow at this operation flow; Also can be after loading above-mentioned operation flow, at this operation flow different input parameters is set respectively, and the above-mentioned operation flow of different input parameters to be adopted in parallel running.
Based on the said method flow process, to consult shown in the accompanying drawing 2, the embodiment of the invention also provides a kind of implement device of operation flow, mainly comprises following processing unit:
First processing unit 201 is used to obtain business demand leaved for development, determines each required business step according to the business information that this business demand comprises;
Second processing unit 202 is used to obtain to be used to realize the service code of above-mentioned each business step;
The 3rd processing unit 203 is used for the service code that will select and is combined as operation flow according to the logical relation of above-mentioned each business step;
Manages unit 204 everywhere, is used to load above-mentioned operation flow.
Below by a specific embodiment method that operation flow of the present invention realizes is elaborated.
For example, business platform obtains business demand A-leaved for development>B->C, can determine that according to the business information that this business demand comprised required business step is A, B, C.In the operation flow set that preserve this locality, search whether there is the corresponding operation flow of above-mentioned business demand, if exist, then directly from the operation flow set of this locality, obtain and the corresponding operation flow of above-mentioned business demand, otherwise, by obtaining the service code of realizing each business step, be combined as operation flow.When obtaining the service code of each business step, at first, judge in the local business step set of preserving, whether there is the service code of realizing business step A, B, C in the above-mentioned business demand, when in determining local business step set, having the service code of realizing business step A, B, C, directly from the business step set of this locality, obtain the service code of realizing business step A, B, C; Otherwise, when in determining local business step set of preserving, not having the service code of business step C, obtain the source code of writing at business step C according to user's indication, compiling generates the service code of realizing business step C, and the service code of business step C is saved in the business step set.Wherein, adopt unified interface standard and input standard at the service code of realizing each business step.After obtaining the service code of realizing business step A, B, C, logical relation according to each business step is combined as operation flow, because the service code of each business step has adopted unified interface standard and input standard, can directly generate the series connection code between each business step, obtain the corresponding business flow process with the service code series connection that will realize each business step.At last, the loaded with traffic flow process, and move this operation flow to verify, be specially: after loading above-mentioned operation flow,, and move this operation flow for this operation flow is provided with input parameter, the default input and output parameter corresponding relation of service code according to corresponding each business step A, B, C, service code to each business step verifies that after each business step checking was passed through, then the corresponding business flow process was also by checking.Wherein, when the loaded with traffic flow process, can a plurality of different input parameters be set, and parallel running adopts the operation flow of a plurality of different input parameters, to raise the efficiency at this operation flow.
Based on technique scheme, in the embodiment of the invention, by after obtaining business demand, determine each required business step according to the business information that this business demand comprises, obtain the service code that is used to realize each business step again, the logical relation of selecting service code according to each business step is combined as operation flow, load this operation flow, thereby can utilize each business step service code composite service flow process of obtaining, improve development efficiency.Wherein, when obtaining the service code of realizing each business step, if when not having the service code of part or all of business step in the local service set of steps, compile by the source code of writing at the function of business step, generate the service code of realizing business step, and it is saved in the local business step set, for follow-up use, provide the code reuse rate, with further raising development efficiency.In the embodiment of the invention, by adopting unified interface standard that the interface of the service code of realizing each business step is provided with, adopt same input standard that the input and output parameter of the service code of realizing each business step is provided with, thereby can directly generate the series connection code between a business step, the service code of realizing each business step is combined as operation flow, simultaneously, make and realize to share test datas such as input between the service code of each business step.In the embodiment of the invention, after the loaded with traffic flow process, can to operation flow a plurality of different input parameters be set simultaneously, parallel running is provided with the operation flow of a plurality of different input parameters, thereby improves testing efficiency.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. the implementation method of an operation flow is characterized in that, comprising:
Obtain business demand leaved for development, determine each required business step according to the business information that described business demand comprises;
Acquisition is used to realize the service code of described each business step;
The service code selected is combined as operation flow according to the logical relation of described each business step;
Load described operation flow.
2. the method for claim 1 is characterized in that, described acquisition is used to realize the service code of described each business step, comprising:
When determining to have the service code of realizing described each business step in the local business step set of preserving, directly from this business step set, obtain the service code of realizing described each business step;
Determine local preserve the business step set in when not having the service code of described each business step of part or all of realization, obtain the source code of writing at the business step that does not have service code according to user's indication, and compiling generates the service code of new business step, and the service code of will be described new business step is saved to during described business step gathers.
3. method as claimed in claim 1 or 2, it is characterized in that, at the service code of realizing described each business step, adopt unified interface standard that the interface of the service code of realizing each business step is set, adopt unified input standard that the input and output parameter of the service code of realizing each business step is set.
4. method as claimed in claim 3 is characterized in that, load described operation flow after, further comprise:
The input parameter of described operation flow is set, and moves described operation flow;
Determine the default input and output parameter corresponding relation of service code of each business step that corresponding described operation flow comprises;
According to described input and output parameter corresponding relation described operation flow is verified.
5. method as claimed in claim 3 is characterized in that, load described operation flow after, further comprise:
At this operation flow different input parameters is set respectively, and the described operation flow of different input parameters is adopted in parallel running.
6. the implement device of an operation flow is characterized in that, comprising:
First processing unit is used to obtain business demand leaved for development, determines each required business step according to the business information that described business demand comprises;
Second processing unit is used to obtain to be used to realize the service code of described each business step;
The 3rd processing unit is used for the service code that will select and is combined as operation flow according to the logical relation of described each business step;
Manages the unit everywhere, is used to load described operation flow.
7. device as claimed in claim 6 is characterized in that, when described second processing unit obtains to be used to realize the service code of described each business step,
When determining to have the service code of realizing described each business step in the local business step set of preserving, directly from this business step set, obtain the service code of realizing described each business step;
Determine local preserve the business step set in when not having the service code of described each business step of part or all of realization, obtain the source code of writing at the business step that does not have service code according to user's indication, and compiling generates the service code of new business step, and the service code of will be described new business step is saved to during described business step gathers.
8. as claim 6 or 7 described devices, it is characterized in that, service code at each business step of realization that obtains in described second processing unit, adopt unified interface standard that the interface of the service code of realizing each business step is set, adopt unified input standard that the input and output parameter of the service code of realizing each business step is set.
9. device as claimed in claim 8 is characterized in that, described manages the unit everywhere load described operation flow after, the input parameter of described operation flow is set, and moves described operation flow;
Determine the default input and output parameter corresponding relation of service code of each business step that corresponding described operation flow comprises;
According to described input and output parameter corresponding relation described operation flow is verified.
10. device as claimed in claim 8 is characterized in that, described manages the unit everywhere load described operation flow after, at this operation flow different input parameters is set respectively, and the described operation flow of different input parameters is adopted in parallel running.
CN2010105360255A 2010-11-08 2010-11-08 Realizing method and device of business flows Pending CN102004660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105360255A CN102004660A (en) 2010-11-08 2010-11-08 Realizing method and device of business flows

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105360255A CN102004660A (en) 2010-11-08 2010-11-08 Realizing method and device of business flows

Publications (1)

Publication Number Publication Date
CN102004660A true CN102004660A (en) 2011-04-06

Family

ID=43812039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105360255A Pending CN102004660A (en) 2010-11-08 2010-11-08 Realizing method and device of business flows

Country Status (1)

Country Link
CN (1) CN102004660A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766424A (en) * 2017-09-13 2018-03-06 深圳市宇数科技有限公司 A kind of Data Mining management method, system, electronic equipment and storage medium
CN107888681A (en) * 2017-11-09 2018-04-06 北京中电普华信息技术有限公司 A kind of business flow processing method and device
CN109408112A (en) * 2018-09-25 2019-03-01 平安科技(深圳)有限公司 In line development document structure tree method, apparatus, terminal and readable storage medium storing program for executing
CN110288324A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of generation of service code executes method and device
CN111988157A (en) * 2019-05-23 2020-11-24 北京京东尚科信息技术有限公司 Service system and service processing method
CN113342686A (en) * 2021-06-30 2021-09-03 建信金融科技有限责任公司 Test data generation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101391A1 (en) * 2004-10-19 2006-05-11 Markus Ulke Spreadsheet application builder
CN101075192A (en) * 2007-06-14 2007-11-21 高建强 Method and apparatus for defining service flow in data system
CN101650652A (en) * 2009-09-17 2010-02-17 中兴通讯股份有限公司 Method and device for developing business processes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101391A1 (en) * 2004-10-19 2006-05-11 Markus Ulke Spreadsheet application builder
CN101075192A (en) * 2007-06-14 2007-11-21 高建强 Method and apparatus for defining service flow in data system
CN101650652A (en) * 2009-09-17 2010-02-17 中兴通讯股份有限公司 Method and device for developing business processes

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766424A (en) * 2017-09-13 2018-03-06 深圳市宇数科技有限公司 A kind of Data Mining management method, system, electronic equipment and storage medium
CN107888681A (en) * 2017-11-09 2018-04-06 北京中电普华信息技术有限公司 A kind of business flow processing method and device
CN109408112A (en) * 2018-09-25 2019-03-01 平安科技(深圳)有限公司 In line development document structure tree method, apparatus, terminal and readable storage medium storing program for executing
CN109408112B (en) * 2018-09-25 2024-01-16 平安科技(深圳)有限公司 Online development document generation method, device, terminal and readable storage medium
CN111988157A (en) * 2019-05-23 2020-11-24 北京京东尚科信息技术有限公司 Service system and service processing method
CN110288324A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of generation of service code executes method and device
CN113342686A (en) * 2021-06-30 2021-09-03 建信金融科技有限责任公司 Test data generation method and device

Similar Documents

Publication Publication Date Title
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
US10579349B2 (en) Verification of a dataflow representation of a program through static type-checking
CN102004660A (en) Realizing method and device of business flows
CN102054217B (en) Entity morphing in metamodel-based tools
CN105700956A (en) Distributed job processing method and system
CN101226502B (en) Automatization test method and system
CN104461649B (en) chip compatible method and device
CN106557307B (en) Service data processing method and system
CN114139475A (en) Chip verification method, system, device and storage medium
CN102279766A (en) Method and system for concurrently simulating processors and scheduler
CN104252472A (en) Method and device for parallel data processing
CN110399208A (en) Methods of exhibiting, device and the equipment of distributed task dispatching topological diagram
CN106055375A (en) Application program installation method and device
CN101650652A (en) Method and device for developing business processes
CN110795331A (en) Software testing method and device
CN104166570B (en) A kind of method, equipment and the system of online updating file
CN102968371A (en) Method and device for testing JAVA API unit component
CN104133768A (en) Program code review method and program code review device
CN106547545A (en) A kind of computer software development approach
CN102981946A (en) Extract Transform and Load (ETL) smoke test method
CN111880803B (en) Software construction method and device applied to multiple platforms
CN103186384A (en) Business-component-oriented software designing and analyzing system and using method thereof
CN110019207A (en) Data processing method and device and script display methods and device
CN100507842C (en) Method, device for controlling relation between control piece on interface and control piece display system
CN109977005B (en) End-to-end test method, medium, device and computing equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110406