CN101957754A - Man-machine interaction method in service-oriented service process - Google Patents

Man-machine interaction method in service-oriented service process Download PDF

Info

Publication number
CN101957754A
CN101957754A CN2010102810310A CN201010281031A CN101957754A CN 101957754 A CN101957754 A CN 101957754A CN 2010102810310 A CN2010102810310 A CN 2010102810310A CN 201010281031 A CN201010281031 A CN 201010281031A CN 101957754 A CN101957754 A CN 101957754A
Authority
CN
China
Prior art keywords
service
man
machine interaction
engine
services request
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
CN2010102810310A
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.)
Peking University
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CN2010102810310A priority Critical patent/CN101957754A/en
Publication of CN101957754A publication Critical patent/CN101957754A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a man-machine interaction method in a service-oriented service process, which belongs to the field of service process management and service calculation. The method comprises the following steps of: 1) selecting a plurality of services in a service process model, setting the services to be man-machine interaction services and generating the man-machine interaction services into man-machine interaction service implementation; 2) arranging the service process model onto a service process engine; 3) sending a service request of the set services to a task engine through the service process engine and hanging service-oriented service process embodiment corresponding to the service request; 4) instantiating the man-machine interaction service implementation corresponding to the service request and analyzing the service request for operators to process by a browser terminal; 5) submitting a list to the man-machine interaction service implementation by the operators, generating a response message of the service request and returning the response message to a task engine; 6) sending the response message to the service process engine according to a service process identifier by the task engine; and 7) continuously carrying out the hung service-oriented service process embodiment by the service process engine after receiving the response message.

Description

Man-machine interaction method in a kind of service operation flow
Technical field
The present invention relates to man-machine interaction method in a kind of service operation flow, belong to the service compute field, be applicable to the flow process modeling and the execution of service.
Background technology
Widespread use along with service-oriented architecture (Service Oriented Architecture), more and more enterprises is packaged into various Enterprise Resource has the Web service that standard interface is described, and then use is based on the operation flow descriptive model of Web service, with various resources with more fast, flexibly, the mode of loose coupling carries out integratedly, improves resource multiplex and integrated efficient.In the practical application, operation flow comprises the man-machine interaction task inevitably.The purpose of many operation flows is exactly the action for each link related personnel in the standard flow process, and clear and definite its working range, responsibility, to finish its task with helping task execution staff.But present service operation flow descriptive model stresses to support operation flow that robotization is carried out, promptly the robotization Web service flow process of not having artificial participation is carried out layout, and man-machine interaction method is not provided.When this caused using these flow process descriptive models, personnel can't describe the man-machine interaction task in the modelling phase modeling of serviceization operation flow, can't carry out alternately with task execution staff in process flow operation stage flow process.
Summary of the invention
The purpose of this invention is to provide a kind of service operation flow man-machine interaction method.Use exchange method provided by the invention to allow under the prerequisite of not revising existing serviceization operation flow descriptive model, with the modeling of man-machine interaction service with carry out in the seamless modeling that is integrated into the serviceization operation flow and the execution.The present invention comprises three partial contents: 1, the introducing of serviceization operation flow modelling phase man-machine interaction service; 2, serve automatic generting machanism based on the man-machine interaction of Web Services Description Language (WSDL) (Web Service Description Language) and rich client (Rich Client) technology; 3, serviceization operation flow and man-machine interaction service operation moment interoperability mechanism.
Technical scheme of the present invention is:
Man-machine interaction method in a kind of service operation flow the steps include:
1) set up a business process model, and the some service initializations in this business process model that will choose is man-machine interactive service;
2) waiter that will be set at man-machine interaction service becomes man-machine interactive service to realize;
3) business process model that step 1) is built is deployed on the serviceization business process engine;
4) the serviceization business process engine sends to the services request of the man-machine interaction that sets service on the man-machine interaction service role engine, and hangs up the service orchestration instance of this services request correspondence;
5) man-machine interaction service role engine is served the service operation flow identifier record of realization and this services request in a to-be-processed task list with the man-machine interaction of this services request, this services request correspondence;
6) man-machine interaction of this services request correspondence of browser end instantiation service realizes, resolves this services request and handles for operating personnel;
7) operating personnel's submission form realizes for this man-machine interaction service, generates the response message of this services request and returns to man-machine interaction service role engine;
8) man-machine interaction service role engine sends to the serviceization business process engine according to serviceization operation flow identifier with this response message;
9) after the serviceization business process engine is received this response message, continue to carry out the service flow instance of this hang-up.
Further, be that the method for man-machine interactive service is: the IP address or the domain name that the endpoint value of selected man-machine interaction service are set at task engine with the service initialization of this business process model.
Further, the serviceization business process engine determines to send the task engine of described services request according to the endpoint value that sets the man-machine interaction service.
Further, described man-machine interaction service is embodied as the rich client man-machine interaction service realization based on browser.
Further, the generation method that described man-machine interaction service realizes is: task engine adopts the rich client technology to generate the man-machine interaction service and realizes according to describing service language.
Further, described man-machine interaction service is embodied as a JavaScript file.
Further, described browser end is provided with a task audiomonitor, the described to-be-processed task list of described task audiomonitor automatic regular polling.
Further, man-machine interaction service realize resolving this services request method be: at first resolve the format information of this services request, wherein format information comprises: the input parameter title of services request, type; Input parameter with services request is formatted as character string according to its type then; Data after will handling at last are shown on the interface with form and check for operating personnel.
Further, described services request is the services request of XML form.
Each module of the present invention is alternately as shown in Figure 1:
(1) exchange method provided by the invention does not need existing serviceization operation flow descriptive model is made amendment.In the operation flow modelling phase, the standard Web service that flow process modeling personnel at first use existing serviceization operation flow descriptive model to provide is carried out modeling to operation flow.At this moment, business process model does not comprise the information of which service as the man-machine interaction service.Then, flow process modeling personnel need be on the business process model that modeling finishes, and setting which Web service is the man-machine interaction service.This setting operation is by finishing the IP address or the domain name that the end points in the attribute of standard Web service (endpoint) value are set at man-machine interaction time of running task engine.The business process model that modelling phase finishes meets existing service operation flow descriptive model, and wherein the information of man-machine interaction service is included in the endpoint value of standard Web service attribute.This business process model can be deployed on the existing service business process engine, the position that flow engine is sent out according to different endpoint value decision Web service requests, wherein the request to the man-machine interaction service can be sent on the man-machine interaction task engine.
(2) the rich client technology is a kind of novel Web client-side technology that combines traditional Web client and desktop client end advantage.At present the rich client technology of main flow is based on Web browser, have powerful, user experience good, need not to install advantages such as disposing upgrading, is fit to the amateur developer's use of operation flow modeling personnel and this class of man-machine interaction task execution staff.The present invention uses the rich client technology automatically to generate the man-machine interaction service according to Web Services Description Language (WSDL) (WSDL).Web service in the serviceization operation flow all uses WSDL to describe the detailed input and output of this service.Can obtain the long form of Web service Simple Object Access Protocol (SOAP) request response by parsing, then use following method just can generate the man-machine interaction service wsdl document:
● for the SOAP request message, the format information of the SOAP request that comprises among the WSDL is resolved in the man-machine interaction service.In the format information, comprise input parameter title, type (floating number, the date) information of SOAP request message.Man-machine interaction service then is formatted as character string (for example floating number reservation several decimals, dates show in the date mode) with input parameter in the SOAP request of XML form according to its type, is shown on the interface with form at last and checks for man-machine interaction service processing personnel;
● for the SOAP response message, the format information of the SOAP response that comprises among the WSDL is resolved in the man-machine interaction service.In the format information, comprise title, type (floating number, the date) information of each rreturn value in the SOAP response message.Man-machine interaction service then generates list according to the title and the type of output parameter.This list uses the rich client technology, and the verifying function based on parameter type (for example the rreturn value of date type can not be filled in floating-point numerical value) is provided.Behind man-machine interaction service processing personnel submission form, man-machine interaction service meeting is converted into the rreturn value of list form the SOAP response message of XML form.
After concrete man-machine interaction service generated, the corresponding relation of man-machine interaction service code, this man-machine interaction service and soap message can be deployed in the man-machine interaction task engine.
(3) under the prerequisite of existing service business process engine not being made amendment, the interoperability of realization serviceization operation flow and man-machine interaction service the invention provides man-machine interaction service role engine and the task audiomonitor is supported interoperability.The man-machine interaction task engine shows as a server, is independent of existing serviceization business process engine operation.Because in the flow process modelling phase, the endpoint value of man-machine interaction service is set to the IP address or the domain name of man-machine interaction task engine, so when operation flow request one personal-machine interactive service, flow engine can send to task engine with this SOAP request message.After flow engine sends request, flow process to be finished can be hung up up to receiving the SOAP response message.After task engine is received the SOAP request, can be according to the corresponding relation of the SOAP request of wherein writing down with the man-machine interaction service, determine to handle the man-machine interaction service that this SOAP asks, and SOAP request, man-machine interaction service are realized and initiate that the only indications of operation flow that SOAP asks records in the pending man-machine interaction service list.The performance of man-machine interaction task audiomonitor embeds the functional module of browser.Pending man-machine interaction service list in the task audiomonitor automatic regular polling task engine.When existence waited to finish service, the task audiomonitor was downloaded man-machine interaction service code, created corresponding man-machine interaction service rich client example, generated the interface according to SOAP request and response format again.After man-machine interaction service processing personnel found and finish the man-machine interaction service, the list of submission can be formatted as the SOAP response message and be sent to task engine.Task engine will send it back business process engine with the SOAP response message according to the only indications of operation flow of record.Business process engine can allow flow instance continue operation after receiving the SOAP response message.The interaction figure of business process engine, task engine, task audiomonitor and man-machine interaction service, as shown in Figure 2.
Compared with prior art, good effect of the present invention is:
1) the present invention is with the modeling of man-machine interaction service with carry out in the seamless modeling that is integrated into serviceization operation flow and the execution.This exchange method does not need to revise existing serviceization operation flow descriptive model.Therefore existing serviceization operation flow modeling tool, flow engine can use in exchange method of the present invention.The operation flow modeling personnel, the management maintenance personnel that are familiar with existing instrument can use familiar instrument can finish the man-machine interaction service modeling.
2) the present invention uses the realization technology of rich client technology as the man-machine interaction service.That the rich client technology has is powerful, user experience good, need not to install advantages such as disposing upgrading, is fit to amateur developers' uses such as operation flow modeling personnel and man-machine interaction task execution staff.More than two aspect advantages make exchange method lower deployment cost provided by the invention, training cost, application cost etc. reduce greatly than additive method.
Description of drawings
Fig. 1, each module interaction figure of the present invention;
Fig. 2, modelling phase method flow diagram of the present invention;
Fig. 3, operation phase method flow diagram of the present invention.
Embodiment
This section provides a realization that comprises hotel reservation WS-BPEL (hereinafter to be referred as the BPEL) flow process of man-machine interaction.The service business process model of a BPEL standard, it uses XML to describe operation flow based on the standard Web service.Had BPEL modeling tool and flow engine at present, these instruments need not revised or expand to exchange method of the present invention can serve man-machine interaction seamless integration in the BPEL flow process.
The hotel reservation service procedure of this section example is moved according to following steps: 1, the user import its expectation hotel querying condition (such as: move in departure time, star etc.); 2, the related personnel can recommend some hotels to the user according to the querying condition flow process; If 3 users find suitable hotel, then continue to finish predetermined and payment; If 4 do not have suitable hotel, then return step 1 and inquire about again.In this flow process, step 2 is man-machine interactive service.
Fig. 2 has showed the method flow diagram of modelling phase of the present invention.For realizing example process, comprise following steps in the modelling phase: 1, BPEL flow process modeling personnel use standard BP EL flow process modeling tool to make up standard BP EL flow process, and this flow process comprises a plurality of Web services such as " input inquiry parameter ", " inquiry hotel ", " finishing predetermined ", " payment "; 2, BPEL flow process modeling personnel revise the endpoint value of " inquiry hotel " this Web service, are set the IP address into task engine; 3, BPEL flow process modeling personnel serve automatic Core Generator with the wsdl document input man-machine interaction of " inquiry hotel " this Web service.Man-machine interaction service Core Generator can realize that it shows as a JavaScript file according to the rich client man-machine interaction service that the request of the SOAP in wsdl document format information generates based on browser; 4, the system manager is deployed to the BPEL flow process description document that the BPEL modeling tool generates in the standard BP EL flow engine; 5, the system manager is deployed to the JavaScript Documents Department that the man-machine interaction service realizes in the man-machine interaction service role engine.
Fig. 3 has showed the method flow diagram of operation phase of the present invention.For realizing example process, comprise following steps in the process flow operation stage: 1, user input query condition; 2, the BPEL flow engine starts the new technological process example; 3, the BPEL flow engine calls " inquiry hotel " service, according to the service end point value, the SOAP request is sent to task engine, the BPEL flow instance is hung up waited until the SOAP response; 4, task engine receives the SOAP request, and the JavaScript that inquires corresponding man-machine interaction service realizes file; SOAP request, realization file and the only indications of BPEL flow process are recorded in the to-be-processed task list; 5, after the task audiomonitor in the browser is found new pending man-machine interaction task, download JavaScript and realize file, the SOAP request is resolved in instantiation man-machine interaction service, reminds the related personnel to handle in browser interface display; 6, after the related personnel finishes dealing with, submission form, the result is encoded as the SOAP response.Send it back task engine; 7, after task engine receives the SOAP response,, the SOAP response is sent it back the BPEL engine according to the only indications of BPEL flow process of record; 8, after the BPEL engine receives the SOAP response, the BPEL flow instance of hanging up is continued operation.

Claims (9)

1. man-machine interaction method in the serviceization operation flow the steps include:
1) set up a business process model, and the some service initializations in this business process model that will choose is man-machine interactive service;
2) waiter that will be set at man-machine interaction service becomes man-machine interactive service to realize;
3) business process model that step 1) is built is deployed on the serviceization business process engine;
4) the serviceization business process engine sends to the services request of the man-machine interaction that sets service on the man-machine interaction service role engine, and hangs up the service orchestration instance of this services request correspondence;
5) man-machine interaction service role engine is served the service operation flow identifier record of realization and this services request in a to-be-processed task list with the man-machine interaction of this services request, this services request correspondence;
6) man-machine interaction of this services request correspondence of browser end instantiation service realizes, resolves this services request, handles for operating personnel;
7) operating personnel's submission form realizes for this man-machine interaction service, generates the response message of this services request and returns to man-machine interaction service role engine;
8) man-machine interaction service role engine sends to the serviceization business process engine according to serviceization operation flow identifier with this response message;
9) after the serviceization business process engine is received this response message, continue to carry out the service flow instance of this hang-up.
2. the method for claim 1 is characterized in that service initialization with this business process model is that the method for man-machine interactive service is: the IP address or the domain name that the endpoint value of selected man-machine interaction service are set at task engine.
3. method as claimed in claim 2 is characterized in that the service business process engine is according to the definite task engine that sends described services request of the endpoint value that sets the man-machine interaction service.
4. the method for claim 1 is characterized in that the rich client man-machine interaction service that described man-machine interaction service is embodied as based on browser realizes.
5. method as claimed in claim 4 is characterized in that the generation method that described man-machine interaction service realizes is: task engine adopts the rich client technology to generate the man-machine interaction service and realizes according to describing service language.
6. as claim 1 or 4 or 5 described methods, it is characterized in that described man-machine interaction service is embodied as a JavaScript file.
7. the method for claim 1 is characterized in that described browser end is provided with a task audiomonitor, the described to-be-processed task list of described task audiomonitor automatic regular polling.
8. the method for claim 1, it is characterized in that the man-machine interaction service realize resolving this services request method be: at first resolve the format information of this services request, wherein format information comprises: the input parameter title of services request, type; Input parameter with services request is formatted as character string according to its type then; Data after will handling at last are shown on the interface with form and check for operating personnel.
9. method as claimed in claim 8 is characterized in that described services request is the services request of XML form.
CN2010102810310A 2010-09-14 2010-09-14 Man-machine interaction method in service-oriented service process Pending CN101957754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102810310A CN101957754A (en) 2010-09-14 2010-09-14 Man-machine interaction method in service-oriented service process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102810310A CN101957754A (en) 2010-09-14 2010-09-14 Man-machine interaction method in service-oriented service process

Publications (1)

Publication Number Publication Date
CN101957754A true CN101957754A (en) 2011-01-26

Family

ID=43485098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102810310A Pending CN101957754A (en) 2010-09-14 2010-09-14 Man-machine interaction method in service-oriented service process

Country Status (1)

Country Link
CN (1) CN101957754A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760074A (en) * 2011-04-26 2012-10-31 Sap股份公司 High-load business process scalability
CN109492083A (en) * 2018-11-05 2019-03-19 北京奥法科技有限公司 A method of more wheel human-computer intellectualizations are realized based on list content
CN114637450A (en) * 2022-03-23 2022-06-17 上海弘玑信息技术有限公司 Automatic processing method and system of business process and electronic equipment
CN114662916A (en) * 2022-03-23 2022-06-24 上海弘玑信息技术有限公司 Process automation operation method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1605380A1 (en) * 2003-02-03 2005-12-14 Poweroffice, S.A. Service and application integration system
CN101004800A (en) * 2006-01-20 2007-07-25 中国科学院计算技术研究所 Model conversion method of supporting synergetic running multiple flows in transaction level

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1605380A1 (en) * 2003-02-03 2005-12-14 Poweroffice, S.A. Service and application integration system
CN101004800A (en) * 2006-01-20 2007-07-25 中国科学院计算技术研究所 Model conversion method of supporting synergetic running multiple flows in transaction level

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵晓敏等: "一种服务组合工作流的人机交互协调方法", 《计算机工程与设计》, vol. 28, no. 5, 15 March 2007 (2007-03-15), pages 1133 - 1136 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760074A (en) * 2011-04-26 2012-10-31 Sap股份公司 High-load business process scalability
CN102760074B (en) * 2011-04-26 2017-07-14 Sap欧洲公司 Method and its system for high load capacity operation flow scalability
CN109492083A (en) * 2018-11-05 2019-03-19 北京奥法科技有限公司 A method of more wheel human-computer intellectualizations are realized based on list content
CN114637450A (en) * 2022-03-23 2022-06-17 上海弘玑信息技术有限公司 Automatic processing method and system of business process and electronic equipment
CN114662916A (en) * 2022-03-23 2022-06-24 上海弘玑信息技术有限公司 Process automation operation method and electronic equipment

Similar Documents

Publication Publication Date Title
US8335862B2 (en) Programmatic management of software resources in a content framework environment
US9990595B2 (en) Modeled service endpoints in business process model and notation tools
US9489194B2 (en) Rapidly configurable program
JP2014194814A (en) System, method and graphical user interface for workflow generation, deployment and/or execution
CN101820428A (en) Composite service optimizing method and device based on protocol composition mechanism
US8380549B2 (en) Architectural design for embedded support application software
CN108874757A (en) Report form generation method and system, computer-readable medium, electronic equipment
CN101957754A (en) Man-machine interaction method in service-oriented service process
Li et al. Model-based services convergence and multi-clouds integration
Chen et al. Soar-dsgrid: Service-oriented architecture for distributed simulation on the grid
D'Agostino et al. Lessons learned implementing a science gateway for hydro‐meteorological research
CN1799059A (en) Method and system for automatically transforming a provider offering into a customer specific service environment definiton executable by resource management systems
CN101706901B (en) Device and method for realizing shielding of different working flow products
Holm et al. CloudFlow-an infrastructure for engineering workflows in the cloud
JP2008243070A (en) Environmental transition server device, terminal device, environmental transition method and environmental transition program
Zhou et al. Enabling integrated information framework as cloud services for chemical and petroleum industry
Andrikopoulos et al. Collaborative, Dynamic Complex Systems-Modeling, Provision Execution
JP2009009207A (en) System design support method for soa architecture and system design support deice for soa architecture
Sun et al. A model-driven reverse engineering approach for semantic web services composition
Weinreich et al. Enhancing presentation level integration of remote applications and services in web portals
Rümpel et al. Requirements-driven quality modeling and evaluation in web mashups
CN103186659B (en) The user interface annotation of community-based network service
CN103679432A (en) A VNMS system supporting a dynamic structured application platform
JP2011133925A (en) Data processing apparatus and method
Stanganelli et al. Eclipse and Web Services.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110126