CN102622237B - A kind of collocation method of business function procedure and system - Google Patents
A kind of collocation method of business function procedure and system Download PDFInfo
- Publication number
- CN102622237B CN102622237B CN201210067416.6A CN201210067416A CN102622237B CN 102622237 B CN102622237 B CN 102622237B CN 201210067416 A CN201210067416 A CN 201210067416A CN 102622237 B CN102622237 B CN 102622237B
- Authority
- CN
- China
- Prior art keywords
- interface
- parameter
- business
- configuration
- service parameter
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of business function procedure collocation method, comprising: step 1, request processor accept request, and is directed to the design action layer of concrete business according to the parameter in data; Step 2, service parameter initialization module, the service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment; Step 3, business flow processing device, according to agreement and the parameter of flow process in functional parameter, carry out flow processing, when needing to call external interface, then starts calling interface converter; Step 4, interface convertor, interface interchange message body imported into by agreement reception business flow processing device, returns response message body by transformation rule assembling; Step 5, response results processor, get every result data from the response message body that interface convertor returns, and resolves the engagement outcome variable in Message-text, carry out assignment to variable, then the Message-text after process is turned back to foreground show.
Description
Technical field
The present invention relates to a kind of business function procedure collocation method and system, particularly press the method and system of flow process configuration when WAP (wireless application protocol) WAP (Wireless Application Protocol) business hall interior business carries.
Background technology
In existing software development process, be all develop from front to back by function or from back to front, develop successively to design (action) layer to service (service) layer from interface layer.Often the more abstract models of division are carried out according to function during exploitation, its Problems existing relates to repeatedly and user interactions in this flow process, configuration cannot be realized when repeatedly calling service, and list transmits mainly with acquisition (get) mode, the connection of system is that a label realizes mostly, and the form of expression is bad; All services of calling, if never call before this service, then must increase logical block in interface convertor.
Summary of the invention
The object of this invention is to provide a kind of business function procedure collocation method, can be realized the needs of increase business, reach the standard grade simple to operate by configuration, exploitation is simple, and it is easier to safeguard.
On the one hand, embodiments provide a kind of collocation method of business function procedure, comprising:
Step 1, request processor accept request, and resolve, and be directed to the design action layer of concrete business according to the parameter in data to the data in request;
Step 2, the service parameter initialization module service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment;
Step 3, business flow processing device, according to the agreement of flow process in functional parameter and parameter, carry out flow processing, when needing to call external interface, then start calling interface converter;
Interface interchange message body that step 4, interface convertor import into by agreement reception business flow processing device, resolve message body, the interface name that acquisition will be called, Logical processing unit corresponding to this interface is being directed to according to this title, Logical processing unit according to interface reality need carry out second parameter encapsulation, and executive's interface calls, at parsing interface return data, then return response message body by transformation rule assembling;
The configuration that step 5, response results processor are made an appointment according to system, every result data is got from the response message body that interface convertor returns, according to configuration return messages text, resolve the engagement outcome variable in Message-text, assignment is carried out to variable, then the Message-text after process is turned back to foreground and shows.
Collocation method described above, also comprises, and the described design level being directed to concrete business according to the parameter in data is specially: the design level being directed to concrete business according to the method attribute in URL(uniform resource locator).
Collocation method described above, also comprises, described service parameter initialization module according to the Function Identification value of parameter, the service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment.
Collocation method described above, also comprises, and the method is applied to the business function configuration during interior business carrying of WAP (wireless application protocol) WAP business hall.
On the other hand, the embodiment of the present invention additionally provides a kind of configuration-system for business function procedure, comprises request processor, service parameter initialization module, business flow processing device, interface convertor, response results processor;
Described request processor, for accepting request, resolving the data in request, and being directed to the design action layer of concrete business according to the parameter in data;
Described service parameter initialization module, for the service parameter that value-added tax function module is in systems in which concrete, and resolves and assignment the variable in service parameter;
Described business flow processing device, for according to the agreement of flow process in functional parameter and parameter, carries out flow processing, when needing to call external interface, then starts to call described interface convertor;
Described interface convertor, for receiving interface interchange message body that described business flow processing device imports into by agreement, resolve message body, the interface name that acquisition will be called, be directed to Logical processing unit corresponding to this interface according to this title again, described Logical processing unit according to interface reality need carry out second parameter encapsulation, and executive's interface calls, at parsing interface return data, then return response message body by transformation rule assembling;
Described response results processor, for the configuration of making an appointment according to system, every result data is got from the response message body that described interface convertor returns, according to configuration return messages text, resolve the engagement outcome variable in Message-text, assignment is carried out to variable, then the Message-text after process is turned back to foreground and shows.
Above-mentioned configuration-system, also comprises, and the described design action layer being directed to concrete business according to the parameter in data is specially: the design level being directed to concrete business according to the method attribute in URL(uniform resource locator).
Above-mentioned configuration-system, also comprises, described service parameter initialization module according to the Function Identification value of parameter, the service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment.
Above-mentioned configuration-system, also comprises, and described system is applied to the business function configuration during interior business carrying of WAP (wireless application protocol) business hall.
The invention has the beneficial effects as follows: by considering from entirety, summarize abstract by the flow process of all business, thus easily realize the needs of increase business, and it is simple to operate to reach the standard grade, exploitation is simple, and it is easier to safeguard.
Accompanying drawing explanation
Fig. 1 is business function procedure collocation method process flow diagram of the present invention;
Fig. 2 is the schematic diagram of the point of configuration feature in the tree of the present invention;
Fig. 3 is the design action that configuration node of the present invention is corresponding, and the schematic diagram of each control of authority parameter;
Fig. 4 of the present inventionly arranges flow process corresponding to function point (instruction) schematic diagram;
Fig. 5 is process parameter configuration schematic diagram of the present invention;
Fig. 6 is the schematic diagram showing user version content of the present invention;
Fig. 7 of the present inventionly calls service configuration schematic diagram;
Fig. 8 be of the present invention when service returns 000000 configuration flow (instruction) schematic diagram;
Fig. 9 be of the present invention when service return non-zero 00000 be other other time configuration flow (instruction) schematic diagram.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 1 is business function procedure collocation method process flow diagram of the present invention.Business function procedure configuration-system performs flow process, main point several pieces, request processor primary responsibility accepts request, and resolves, and be directed to the design action of concrete business according to the method method attribute in URL(uniform resource locator) url to the data in request.
Service parameter initialization module, mainly according to the Function Identification id value of parameter, the service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment.
Business flow processing device, according to agreement and the parameter of flow process in functional parameter, carries out flow processing, when needing to call external interface, then starts calling interface converter, and the message body that receiving interface converter returns.
Interface convertor effect is interface interchange message body imported into by agreement reception business flow processing device, resolves message body, obtains the interface name that will call, then be directed to Logical processing unit corresponding to this interface according to this title.In logical block according to interface reality need carry out second parameter encapsulation, and executive's interface calls, and at parsing interface return data, then returns response message body by transformation rule assembling.
Response results processor, according to the configuration that system is made an appointment, gets every result data from the message body that interface convertor returns.According to the Message-text that will return in configuration, resolve the engagement outcome variable in Message-text, assignment is carried out to variable.Again the Message-text after process is turned back to foreground to show.
The configuration flow of business function procedure is as follows:
Request processor accepts request, and resolves, and be directed to the design action layer of concrete business according to the parameter in data to the data in request; The service parameter initialization module service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment; Business flow processing device, according to the agreement of flow process in functional parameter and parameter, carries out flow processing, when needing to call external interface, then starts calling interface converter; Interface interchange message body that interface convertor imports into by agreement reception business flow processing device, resolve message body, the interface name that acquisition will be called, Logical processing unit corresponding to this interface is being directed to according to this title, Logical processing unit according to interface reality need carry out second parameter encapsulation, and executive's interface calls, at parsing interface return data, then return response message body by transformation rule assembling; The configuration that response results processor is made an appointment according to system, every result data is got from the response message body that interface convertor returns, according to configuration return messages text, resolve the engagement outcome variable in Message-text, assignment is carried out to variable, then the Message-text after process is turned back to foreground and shows.
Configuration-system for business function procedure comprises request processor, service parameter initialization module, business flow processing device, interface convertor, response results processor; Above-mentioned modules function is as follows:
Described request processor, for accepting request, resolving the data in request, and being directed to the design action layer of concrete business according to the parameter in data; Described service parameter initialization module, for the service parameter that value-added tax function module is in systems in which concrete, and resolves and assignment the variable in service parameter; Described business flow processing device, for according to the agreement of flow process in functional parameter and parameter, carries out flow processing, when needing to call external interface, then starts to call described interface convertor; Described interface convertor, for receiving interface interchange message body that described business flow processing device imports into by agreement, resolve message body, the interface name that acquisition will be called, be directed to Logical processing unit corresponding to this interface according to this title again, described Logical processing unit according to interface reality need carry out second parameter encapsulation, and executive's interface calls, at parsing interface return data, then return response message body by transformation rule assembling; Described response results processor, for the configuration of making an appointment according to system, every result data is got from the response message body that described interface convertor returns, according to configuration return messages text, resolve the engagement outcome variable in Message-text, assignment is carried out to variable, then the Message-text after process is turned back to foreground and shows.
As shown in Figure 2, functional tree increases new service node, as increased by 0,301 seven color bell sound node under 03 business handling node, then the design action that configuration node is corresponding, and each control of authority parameter, such as configuration access path (as shown in Figure 3), as needs are configured corresponding flow process (instruction), then click " instruction is set " button (as shown in Figure 4) on the page, then the process parameter configuration page is as shown in Figure 5 demonstrated, node is selected to be called the signal deployment information of 0301, there is the configuration page as shown in Figure 6, be configured, with realize user click request above flow process time, after execution, this node will be returned one section of text, and show on a web browser.
When calling external system, flow process configuration (service parameter configuration) as shown in Figure 7, " calling service " button is chosen on reply classification hurdle, and in content of parameter, write corresponding " billQuery, 8, 3, 1, %s1, 0, %s30, 0, WWS, 0, 0, : retCode, : s71, : s72 ", and reply page when configuring " when service returns 000000 configuration flow (instruction) " on the page as shown in Figure 8, on the page as shown in Figure 9 configure " when service return non-zero 00000 be other other time configuration flow (instruction) " time the reply page.
Parameter initialization work example, certain business configuration service of calling billQuery: the following billQuery of form, 8,3,1, %s1,0, %s30,0, WWS, 0,0: retCode: s71: s72
Parameter initialization is resolved and assignment parameter, %s1 represents and gets Subscriber Number, %s30, represent and take the variable imported at family, variable name is s30: retCode, the error code that the service of sign returns,: S71 indicates second data item and is put in No. 71 variablees: s72 unlabeled data item is put in the 72nd variable.
After resolving, value is:
billQuery,8,3,1,18900000000,0,201109,0,WWS,0,0,:retCode,:s71,:s72
Interface convertor DealThread principle of work: as above DealThread gets and imports message body into
" billQuery, 8,3,1; 18900000000,0,201109,0; WWS, 0,0: retCode: s71: s72 ", then first resolve, by "; " be separated into array R, array R [0] is logical block title, and R [1] is input parameter number N, R [2] is the data item number returned, and R [3] to R [3+N] is the value of input parameter, value in order.
Reflex to again and land unit billQuery, start in billQuery to call external interface, after calling, start to splice return parameters
eg:000000&20.00&2011100901006
It is 000000 that response results processor carries out parsing retCode assignment after obtaining the message body " 000000 & 20.00 & 2011100901006 " that interface convertor returns, s71 assignment is 20.00, s71 assignment is 2011100901006.
Response (increase result) processor is finding corresponding return messages text according to retCode, replace s71 and s72 in Message-text, then the Message-text after replacement is turned back to foreground.
Claims (8)
1. a collocation method for business function procedure, comprising:
Step 1, request processor accept request, and resolve, and be directed to the design action layer of concrete business according to the parameter in data to the data in request;
Step 2, the service parameter initialization module service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment;
Step 3, business flow processing device, according to the agreement of flow process in functional parameter and parameter, carry out flow processing, when needing to call external interface, then start calling interface converter;
Interface interchange message body that step 4, interface convertor import into by agreement reception business flow processing device, resolve message body, the interface name that acquisition will be called, Logical processing unit corresponding to this interface is being directed to according to this title, Logical processing unit according to interface reality need carry out second parameter encapsulation, and executive's interface calls, at parsing interface return data, then return response message body by transformation rule assembling;
The configuration that step 5, response results processor are made an appointment according to system, every result data is got from the response message body that interface convertor returns, according to configuration return messages text, resolve the engagement outcome variable in Message-text, assignment is carried out to variable, then the Message-text after process is turned back to foreground and shows.
2. collocation method according to claim 1, is characterized in that, the described design level being directed to concrete business according to the parameter in data is specially: the design level being directed to concrete business according to the method attribute in URL(uniform resource locator).
3. collocation method according to claim 1, is characterized in that, described service parameter initialization module according to the Function Identification value of parameter, the service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment.
4. collocation method according to claim 1, is characterized in that, the method is applied to the business function configuration during interior business carrying of WAP (wireless application protocol) business hall.
5. for a configuration-system for business function procedure, comprise request processor, service parameter initialization module, business flow processing device, interface convertor, response results processor;
Described request processor, for accepting request, resolving the data in request, and being directed to the design action layer of concrete business according to the parameter in data;
Described service parameter initialization module, for the service parameter that value-added tax function module is in systems in which concrete, and resolves and assignment the variable in service parameter;
Described business flow processing device, for according to the agreement of flow process in functional parameter and parameter, carries out flow processing, when needing to call external interface, then starts to call described interface convertor;
Described interface convertor, for receiving interface interchange message body that described business flow processing device imports into by agreement, resolve message body, the interface name that acquisition will be called, be directed to Logical processing unit corresponding to this interface according to this title again, described Logical processing unit according to interface reality need carry out second parameter encapsulation, and executive's interface calls, at parsing interface return data, then return response message body by transformation rule assembling;
Described response results processor, for the configuration of making an appointment according to system, every result data is got from the response message body that described interface convertor returns, according to configuration return messages text, resolve the engagement outcome variable in Message-text, assignment is carried out to variable, then the Message-text after process is turned back to foreground and shows.
6. configuration-system according to claim 5, is characterized in that, the described design action layer being directed to concrete business according to the parameter in data is specially: the design level being directed to concrete business according to the method attribute in URL(uniform resource locator).
7. configuration-system according to claim 5, is characterized in that, described service parameter initialization module according to the Function Identification value of parameter, the service parameter that value-added tax function module is concrete in systems in which, and the variable in service parameter is resolved and assignment.
8. configuration-system according to claim 5, is characterized in that, described system is applied to the business function configuration during interior business carrying of WAP (wireless application protocol) business hall.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210067416.6A CN102622237B (en) | 2012-03-14 | 2012-03-14 | A kind of collocation method of business function procedure and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210067416.6A CN102622237B (en) | 2012-03-14 | 2012-03-14 | A kind of collocation method of business function procedure and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102622237A CN102622237A (en) | 2012-08-01 |
CN102622237B true CN102622237B (en) | 2015-09-09 |
Family
ID=46562167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210067416.6A Active CN102622237B (en) | 2012-03-14 | 2012-03-14 | A kind of collocation method of business function procedure and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102622237B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683386B (en) * | 2013-11-26 | 2019-01-04 | 腾讯科技(深圳)有限公司 | The stake service implementing method and device of customizable response |
CN105278928A (en) * | 2014-06-11 | 2016-01-27 | 中兴通讯股份有限公司 | IVR external interface configuration method and IVR external interface configuration device |
CN104407783A (en) * | 2014-10-30 | 2015-03-11 | 北京思特奇信息技术股份有限公司 | Interface information modularization display method and system |
CN105447265A (en) * | 2015-12-11 | 2016-03-30 | 南车青岛四方机车车辆股份有限公司 | Business need treating method and device of high speed train design platform |
CN106648610B (en) * | 2016-10-24 | 2019-12-31 | 广州华多网络科技有限公司 | Method and device for remotely calling and responding functional interface |
CN106681734A (en) * | 2016-12-30 | 2017-05-17 | 广州华多网络科技有限公司 | Response method and device for function interface call |
CN109542556B (en) * | 2018-10-30 | 2022-04-15 | 珠海伟诚科技股份有限公司 | Method and system for interaction between process and form based on Activiti |
CN113765868B (en) * | 2020-08-17 | 2023-08-08 | 北京沃东天骏信息技术有限公司 | Service processing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929486A (en) * | 2006-09-22 | 2007-03-14 | 华为技术有限公司 | Communication business processing system and method |
CN102081605A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团上海有限公司 | Data warehouse-based data encapsulation device and service data acquisition method |
-
2012
- 2012-03-14 CN CN201210067416.6A patent/CN102622237B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929486A (en) * | 2006-09-22 | 2007-03-14 | 华为技术有限公司 | Communication business processing system and method |
CN102081605A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团上海有限公司 | Data warehouse-based data encapsulation device and service data acquisition method |
Non-Patent Citations (1)
Title |
---|
王滔.业务流程可配置的自助营业厅系统设计与实现.业务流程可配置的自助营业厅系统设计与实现.2010, * |
Also Published As
Publication number | Publication date |
---|---|
CN102622237A (en) | 2012-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102622237B (en) | A kind of collocation method of business function procedure and system | |
CN103559040A (en) | System and method based on SDK for rapidly building mobile internet application module | |
CN109189381B (en) | Method and device for creating service flow component | |
CN106331135B (en) | A kind of part interface update method, system, client and server-side | |
CN107133064B (en) | Page hot updating method and device for native application | |
CN102866925B (en) | Communication method and system for middleware and user interface | |
CN102591724A (en) | Method and device for information interaction | |
CN103150154B (en) | The implementation method and device of a kind of application plug | |
CN106569880B (en) | Method and system for dynamically sharing resources between Android applications | |
CN103077024A (en) | Device and method for supporting customization and running of software-as-a-service (SaaS) application processes | |
CN114064024A (en) | Method, apparatus, device, storage medium, and program product for developing micro-application | |
CN109976737B (en) | RTE code generation method and device | |
CN106533926A (en) | Webpage information dissemination method and device | |
CN109086147B (en) | Service interface calling method and device of application program and storage medium | |
CN104216698A (en) | Webpage registration method and relative device | |
CN106502717A (en) | application program operation method and device | |
CN101021786A (en) | Method for calling universal structure | |
CN107193565B (en) | Method for developing native APP (application) across mobile terminals | |
CN111880786A (en) | Multi-application sharing method, system, device, electronic equipment and storage medium | |
CN117149469B (en) | Method, device, equipment and storage medium for calling host function by H5 page | |
CN102609253B (en) | A kind of application implementation method of smart card and system | |
CN110673827A (en) | Resource calling method and device based on android system and electronic equipment | |
CN104053135B (en) | A kind of method and device for realizing unstructured supplementary data traffic | |
WO2017084515A1 (en) | Method and device for transmitting data code stream | |
CN115857878A (en) | Development framework generation method and application method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 100085 Haidian District, Zhongguancun, South Street, No. 6,, building information, floor, No. 16 Applicant after: SI-TECH Information Technology Ltd. Address before: 100085 Haidian District, Zhongguancun, South Street, No. 6,, building information, floor, No. 16 Applicant before: Beijing Digital China SI-TECH Information Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: BEIJING DIGITAL CHINA SI-TECH INFORMATION TECHNOLOGY LTD. TO: BEIJING SI-TECH INFORMATION TECHNOLOGY LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |