CN106648573B - Workflow service control method, control system and terminal - Google Patents

Workflow service control method, control system and terminal Download PDF

Info

Publication number
CN106648573B
CN106648573B CN201510744613.0A CN201510744613A CN106648573B CN 106648573 B CN106648573 B CN 106648573B CN 201510744613 A CN201510744613 A CN 201510744613A CN 106648573 B CN106648573 B CN 106648573B
Authority
CN
China
Prior art keywords
workflow
task
application system
service
information
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
Application number
CN201510744613.0A
Other languages
Chinese (zh)
Other versions
CN106648573A (en
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.)
Beijing Glodon Zhengyuan Xingbang Technology Co ltd
Original Assignee
Beijing Glodon Zhengyuan Xingbang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Glodon Zhengyuan Xingbang Technology Co ltd filed Critical Beijing Glodon Zhengyuan Xingbang Technology Co ltd
Priority to CN201510744613.0A priority Critical patent/CN106648573B/en
Publication of CN106648573A publication Critical patent/CN106648573A/en
Application granted granted Critical
Publication of CN106648573B publication Critical patent/CN106648573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention provides a control method, a control system and a terminal of workflow services, wherein the control method of the workflow services comprises the following steps: detecting whether a task trigger event sent by the application system is acquired; when the task trigger event is detected to be acquired, task information is created according to the task trigger event; and sending the task information to the application system through the webpage service interface so that the application system can process corresponding business data according to the task information. By the technical scheme, decoupling of the workflow service and the service data of the application system is realized, intelligent creation and driving of task information of the workflow engine are realized, and the workflow engine is conveniently applied to a plurality of application systems.

Description

Workflow service control method, control system and terminal
Technical Field
The present invention relates to the technical field of workflow control, and in particular, to a method, a system and a terminal for controlling workflow services.
Background
In the related art, for special services such as bid opening and bid evaluation, a workflow engine is required in an approval process to drive a complex processing process of service data, and the workflow engine is generally controlled based on a Structured Query L angle (SQ L), so that the workflow service is coupled with the service data of an application system, which leads to a plurality of disadvantages:
(1) the code maintenance and hair care impurity degree is high;
(2) the execution of workflow business is advanced without reaching the effect of being expandable;
(3) the workflow system and the business data need to be published together, and the same workflow system cannot serve a plurality of application systems.
Therefore, how to provide a new control scheme for workflow services to solve the above disadvantages is a technical problem to be solved.
Disclosure of Invention
The invention is based on at least one of the above technical problems, and provides a new workflow service control scheme, which implements decoupling of workflow services and service data of application systems by creating corresponding task information when a task trigger event is detected and sending the task information to the application systems so that the application systems complete processing of corresponding service data according to the task information, and simultaneously implements intelligent creation and driving of task information of a workflow engine, and the workflow engine is conveniently applied to a plurality of application systems.
In view of this, a first aspect of the present invention provides a method for controlling a workflow service, including: detecting whether a task trigger event sent by an application system is acquired; when detecting that a task trigger event is acquired, creating task information according to the task trigger event; and sending the task information to an application system through a web service interface so that the application system processes corresponding business data according to the task information.
In the technical scheme, the corresponding task information is created when the task trigger event is detected, and the task information is sent to the application system so that the application system can complete the processing of corresponding service data according to the task information, the decoupling of the workflow service and the service data of the application system is realized, meanwhile, the intelligent creation and driving of the task information of the workflow engine are realized, and the workflow engine is conveniently applied to a plurality of application systems.
In the above technical solution, preferably, whether to acquire a task trigger event sent by an application system is further detected, and the method specifically includes the following steps: detecting whether to acquire processing progress information of the business data fed back by the application system; when the acquired processing progress information is detected, judging whether the processing progress information is matched with preset processing progress information or not; and when the processing progress information is judged to be matched with the preset processing progress information, determining the processing progress information as a task triggering event.
In the technical scheme, intelligent creation and driving of the task information of the workflow engine are achieved by detecting the processing progress information of the business data and taking the processing progress information matched with the preset processing progress information as a task trigger event, wherein the preset processing progress information determines logic conditions between steps of the workflow business based on a registration mechanism and a reflection mechanism.
In the above technical solution, preferably, when it is detected that a task trigger event is acquired, task information is created according to the task trigger event, and the method specifically includes the following steps: when the task triggering event is detected to be acquired, workflow node elements corresponding to the task triggering event are determined; determining a node element circulation direction corresponding to a workflow node element; and creating task information according to the workflow node elements and the node element flow turning direction.
In the technical scheme, the workflow node elements and the node element flowing direction are sequentially determined through the task triggering events, so that the visualization effect of the workflow service control process is realized, the complexity of the code maintenance process is reduced, and the workflow service is more favorably applied to a plurality of application systems.
In the above technical solution, preferably, the method further includes: and recording the processing state of the task information and the service data when acquiring the feedback information of the application system for processing the service data.
In the technical scheme, the visual monitoring of the workflow service is more favorably realized by recording the processing states of the task information and the service data, and in addition, the execution efficiency of the workflow service is improved.
In the above technical solution, preferably, the method further includes: and sending the service protocol of the workflow engine to the application system through the webpage service interface.
In the technical scheme, the service protocol is sent to the application system through the webpage service interface, so that a user can intuitively know the execution standard of the workflow service, and a control scheme of the workflow service which is more in line with special service data is selected.
A second aspect of the present invention provides a system for controlling workflow services, including: the detection unit is used for detecting whether a task trigger event sent by an application system is acquired; the creating unit is used for creating task information according to the task triggering event when the task triggering event is detected to be acquired; and the sending unit is used for sending the task information to the application system through the webpage service interface so as to process the corresponding service data according to the task information by the application system.
In the technical scheme, the corresponding task information is created when the task trigger event is detected, and the task information is sent to the application system so that the application system can complete the processing of corresponding service data according to the task information, the decoupling of the workflow service and the service data of the application system is realized, meanwhile, the intelligent creation and driving of the task information of the workflow engine are realized, and the workflow engine is conveniently applied to a plurality of application systems.
In the above technical solution, preferably, the detection unit is further configured to: detecting whether to acquire processing progress information of the business data fed back by the application system; the detection unit further includes: the judging unit is used for judging whether the processing progress information is matched with the preset processing progress information or not when the obtained processing progress information is detected; and the determining unit is used for determining the processing progress information as the task triggering event when the processing progress information is judged to be matched with the preset processing progress information.
In the technical scheme, intelligent creation and driving of the task information of the workflow engine are achieved by detecting the processing progress information of the business data and taking the processing progress information matched with the preset processing progress information as a task trigger event, wherein the preset processing progress information determines logic conditions between steps of the workflow business based on a registration mechanism and a reflection mechanism.
In the foregoing technical solution, preferably, the determining unit is further configured to: when the task triggering event is detected to be acquired, workflow node elements corresponding to the task triggering event are determined; the determination unit is further configured to: determining a node element circulation direction corresponding to a workflow node element; the creation unit is further configured to: and creating task information according to the workflow node elements and the node element flow turning direction.
In the technical scheme, the workflow node elements and the node element flowing direction are sequentially determined through the task triggering events, so that the visualization effect of the workflow service control process is realized, the complexity of the code maintenance process is reduced, and the workflow service is more favorably applied to a plurality of application systems.
In the above technical solution, preferably, the method further includes: and the recording unit is used for recording the task information and the processing state of the service data when the feedback information that the application system completes processing the service data is acquired.
In the technical scheme, the visual monitoring of the workflow service is more favorably realized by recording the processing states of the task information and the service data, and in addition, the execution efficiency of the workflow service is improved.
In the foregoing technical solution, preferably, the sending unit is further configured to: and sending the service protocol of the workflow engine to the application system through the webpage service interface.
In the technical scheme, the service protocol is sent to the application system through the webpage service interface, so that a user can intuitively know the execution standard of the workflow service, and a control scheme of the workflow service which is more in line with special service data is selected.
A third aspect of the present invention provides a terminal, including: the system for controlling workflow services according to any one of the above technical solutions.
Through the technical scheme, the corresponding task information is created when the task trigger event is detected, and the task information is sent to the application system so that the application system can complete the processing of corresponding service data according to the task information, the decoupling of the workflow service and the service data of the application system is realized, meanwhile, the intelligent creation and driving of the task information of the workflow engine are realized, and the workflow engine is conveniently applied to a plurality of application systems.
Drawings
Fig. 1 shows a schematic flow diagram of a method of controlling workflow traffic according to an embodiment of the invention;
FIG. 2 shows a schematic block diagram of a control system for workflow services according to an embodiment of the invention;
fig. 3 shows a schematic block diagram of a terminal according to an embodiment of the invention;
FIG. 4 shows a schematic diagram of a control scheme for workflow traffic according to one embodiment of the invention;
fig. 5 shows a schematic diagram of a control scheme of a workflow service according to another embodiment of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a schematic flow diagram of a method of controlling workflow traffic according to an embodiment of the invention.
As shown in fig. 1, a method for controlling a workflow service according to an embodiment of the present invention includes: step 102, detecting whether a task trigger event sent by an application system is acquired; 104, when detecting that a task trigger event is acquired, creating task information according to the task trigger event; and 106, sending the task information to an application system through a webpage service interface so that the application system can process corresponding service data according to the task information.
In the technical scheme, the corresponding task information is created when the task trigger event is detected, and the task information is sent to the application system so that the application system can complete the processing of corresponding service data according to the task information, the decoupling of the workflow service and the service data of the application system is realized, meanwhile, the intelligent creation and driving of the task information of the workflow engine are realized, and the workflow engine is conveniently applied to a plurality of application systems.
In the above technical solution, preferably, whether to acquire a task trigger event sent by an application system is further detected, and the method specifically includes the following steps: detecting whether to acquire processing progress information of the business data fed back by the application system; when the acquired processing progress information is detected, judging whether the processing progress information is matched with preset processing progress information or not; and when the processing progress information is judged to be matched with the preset processing progress information, determining the processing progress information as a task triggering event.
In the technical scheme, intelligent creation and driving of the task information of the workflow engine are achieved by detecting the processing progress information of the business data and taking the processing progress information matched with the preset processing progress information as a task trigger event, wherein the preset processing progress information determines logic conditions between steps of the workflow business based on a registration mechanism and a reflection mechanism.
In the above technical solution, preferably, when it is detected that a task trigger event is acquired, task information is created according to the task trigger event, and the method specifically includes the following steps: when the task triggering event is detected to be acquired, workflow node elements corresponding to the task triggering event are determined; determining a node element circulation direction corresponding to a workflow node element; and creating task information according to the workflow node elements and the node element flow turning direction.
In the technical scheme, the workflow node elements and the node element flowing direction are sequentially determined through the task triggering events, so that the visualization effect of the workflow service control process is realized, the complexity of the code maintenance process is reduced, and the workflow service is more favorably applied to a plurality of application systems.
In the above technical solution, preferably, the method further includes: and recording the processing state of the task information and the service data when acquiring the feedback information of the application system for processing the service data.
In the technical scheme, the visual monitoring of the workflow service is more favorably realized by recording the processing states of the task information and the service data, and in addition, the execution efficiency of the workflow service is improved.
In the above technical solution, preferably, the method further includes: and sending the service protocol of the workflow engine to the application system through the webpage service interface.
In the technical scheme, the service protocol is sent to the application system through the webpage service interface, so that a user can intuitively know the execution standard of the workflow service, and a control scheme of the workflow service which is more in line with special service data is selected.
Fig. 2 shows a schematic block diagram of a control system of a workflow service according to an embodiment of the invention.
As shown in fig. 2, a control system 200 of workflow services according to an embodiment of the present invention includes: a detecting unit 202, configured to detect whether a task trigger event sent by an application system is acquired; the creating unit 204 is configured to create task information according to a task trigger event when it is detected that a task trigger event is acquired; the sending unit 206 is configured to send the task information to the application system through the web service interface, so that the application system processes corresponding service data according to the task information.
In the technical scheme, the corresponding task information is created when the task trigger event is detected, and the task information is sent to the application system so that the application system can complete the processing of corresponding service data according to the task information, the decoupling of the workflow service and the service data of the application system is realized, meanwhile, the intelligent creation and driving of the task information of the workflow engine are realized, and the workflow engine is conveniently applied to a plurality of application systems.
In the above technical solution, preferably, the detecting unit 202 is further configured to: detecting whether to acquire processing progress information of the business data fed back by the application system; the detection unit 202 further includes: a judging unit 2022, configured to, when it is detected that the processing progress information is acquired, judge whether the processing progress information matches preset processing progress information; a determining unit 2024, configured to determine the processing progress information as a task trigger event when it is determined that the processing progress information matches the preset processing progress information.
In the technical scheme, intelligent creation and driving of the task information of the workflow engine are achieved by detecting the processing progress information of the business data and taking the processing progress information matched with the preset processing progress information as a task trigger event, wherein the preset processing progress information determines logic conditions between steps of the workflow business based on a registration mechanism and a reflection mechanism.
In the foregoing technical solution, preferably, the determining unit 2024 is further configured to: when the task triggering event is detected to be acquired, workflow node elements corresponding to the task triggering event are determined; the determining unit 2024 is further configured to: determining a node element circulation direction corresponding to a workflow node element; the creating unit 204 is further configured to: and creating task information according to the workflow node elements and the node element flow turning direction.
In the technical scheme, the workflow node elements and the node element flowing direction are sequentially determined through the task triggering events, so that the visualization effect of the workflow service control process is realized, the complexity of the code maintenance process is reduced, and the workflow service is more favorably applied to a plurality of application systems.
In the above technical solution, preferably, the method further includes: the recording unit 208 is configured to record the task information and the processing state of the service data when obtaining the feedback information that the application system completes processing the service data.
In the technical scheme, the visual monitoring of the workflow service is more favorably realized by recording the processing states of the task information and the service data, and in addition, the execution efficiency of the workflow service is improved.
In the foregoing technical solution, preferably, the sending unit 206 is further configured to: and sending the service protocol of the workflow engine to the application system through the webpage service interface.
In the technical scheme, the service protocol is sent to the application system through the webpage service interface, so that a user can intuitively know the execution standard of the workflow service, and a control scheme of the workflow service which is more in line with special service data is selected.
Fig. 3 shows a schematic block diagram of a terminal according to an embodiment of the invention.
As shown in fig. 3, a terminal 300 according to an embodiment of the present invention includes: a system 200 for controlling workflow services according to any of the above solutions.
Fig. 4 shows a schematic diagram of a control scheme of a workflow service according to an embodiment of the invention.
As shown in fig. 4, a workflow service control scheme according to an embodiment of the present invention includes: the workflow server 402 comprises a workflow engine 4022 and a workflow entity 4024, and the workflow server 402 and the application system 408 only relate to interaction of task information and do not relate to interaction of service data, that is, decoupling of the workflow service and the service data of the application system is really realized.
Fig. 5 shows a schematic diagram of a control scheme of a workflow service according to another embodiment of the invention.
As shown in fig. 5 and table 1, a workflow service control scheme according to another embodiment of the present invention includes: a workflow server time domain, a workflow server wcf agent (Windows Communication development platform) and a workflow service contract interface, wherein the workflow server wcf agent is used as an interface implementation of the workflow server time domain and an application system (such as the workflow service contract interface shown in fig. 5).
In addition, the time domain of the workflow server determines the task information according to the separated workflow node elements and the node element circulation direction, and the visual effect of the workflow service in the execution process is ensured.
The workflow toolkit is used for controlling and maintaining a workflow server time domain.
TABLE 1
Figure BDA0000839187060000081
The technical solution of the present invention is described in detail above with reference to the accompanying drawings, in view of many technical problems in the prior art of workflow. Therefore, the invention provides a new workflow service control scheme, which establishes corresponding task information when detecting a task trigger event and sends the task information to an application system so as to enable the application system to complete the processing of corresponding service data according to the task information, thereby realizing the decoupling of workflow services and the service data of the application system, simultaneously realizing the intelligent establishment and driving of the task information of the workflow engine, and conveniently applying the workflow engine to a plurality of application systems.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A control method of workflow service is suitable for a workflow engine, the workflow engine performs data interaction with an application system through a web service interface, and the control method of workflow service is characterized by comprising the following steps:
detecting whether a task trigger event sent by the application system is acquired;
when the task trigger event is detected to be acquired, task information is created according to the task trigger event;
the task information is sent to the application system through the webpage service interface so that the application system can process corresponding business data according to the task information;
detecting whether a task trigger event sent by the application system is acquired, specifically comprising the following steps:
detecting whether to acquire processing progress information of the business data fed back by the application system;
when the processing progress information is detected to be obtained, judging whether the processing progress information is matched with preset processing progress information;
and when the processing progress information is judged to be matched with the preset processing progress information, determining the processing progress information as the task triggering event.
2. The method for controlling workflow services according to claim 1, wherein when it is detected that the task trigger event is acquired, task information is created according to the task trigger event, specifically comprising the following steps:
when the task trigger event is detected to be acquired, determining workflow node elements corresponding to the task trigger event;
determining a node element circulation direction corresponding to the workflow node element;
and creating the task information according to the workflow node elements and the node element circulation direction.
3. The method for controlling workflow services according to claim 1 or 2, further comprising:
and recording the task information and the processing state of the service data when acquiring feedback information of the application system for processing the service data.
4. The method for controlling workflow services according to claim 3, further comprising:
and sending the service protocol of the workflow engine to the application system through the webpage service interface.
5. A control system of workflow service is suitable for a workflow engine, the workflow engine performs data interaction with an application system through a web service interface, and the control system of workflow service comprises:
the detection unit is used for detecting whether a task trigger event sent by the application system is acquired or not;
the creating unit is used for creating task information according to the task triggering event when the task triggering event is detected to be acquired;
the sending unit is used for sending the task information to the application system through the webpage service interface so that the application system can process corresponding business data according to the task information;
the detection unit is further configured to: detecting whether to acquire processing progress information of the business data fed back by the application system;
the detection unit further includes:
the judging unit is used for judging whether the processing progress information is matched with preset processing progress information or not when the processing progress information is detected to be acquired;
and the determining unit is used for determining the processing progress information as the task triggering event when the processing progress information is judged to be matched with the preset processing progress information.
6. The workflow service control system of claim 5 wherein,
the determination unit is further configured to: when the task trigger event is detected to be acquired, determining workflow node elements corresponding to the task trigger event;
the determination unit is further configured to: determining a node element circulation direction corresponding to the workflow node element;
the creating unit is further configured to: and creating the task information according to the workflow node elements and the node element circulation direction.
7. The workflow service control system according to claim 5 or 6, further comprising:
and the recording unit is used for recording the task information and the processing state of the service data when the feedback information that the application system completes processing the service data is acquired.
8. The workflow service control system of claim 7,
the sending unit is further configured to: and sending the service protocol of the workflow engine to the application system through the webpage service interface.
9. A terminal, comprising: a control system for workflow services according to any one of claims 5 to 8.
CN201510744613.0A 2015-11-04 2015-11-04 Workflow service control method, control system and terminal Active CN106648573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510744613.0A CN106648573B (en) 2015-11-04 2015-11-04 Workflow service control method, control system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510744613.0A CN106648573B (en) 2015-11-04 2015-11-04 Workflow service control method, control system and terminal

Publications (2)

Publication Number Publication Date
CN106648573A CN106648573A (en) 2017-05-10
CN106648573B true CN106648573B (en) 2020-07-31

Family

ID=58851177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510744613.0A Active CN106648573B (en) 2015-11-04 2015-11-04 Workflow service control method, control system and terminal

Country Status (1)

Country Link
CN (1) CN106648573B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240324B2 (en) * 2001-02-28 2007-07-03 Hewlett-Packard Development Company, L.P. Event-based scheduling method and system for workflow activities
CN102254234A (en) * 2010-05-17 2011-11-23 中兴通讯股份有限公司 Realization method of business process and workflow engine
CN103530095A (en) * 2012-07-03 2014-01-22 山西太钢不锈钢股份有限公司 Dynamic workflow method based on Domino platform

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456185B (en) * 2010-10-29 2014-06-11 金蝶软件(中国)有限公司 Distributed workflow processing method and distributed workflow engine system
CN102542414B (en) * 2011-12-28 2016-03-30 焦点科技股份有限公司 A kind of operation flow of rule-based engine and the loosely coupled method of business data processing and system
US9292815B2 (en) * 2012-03-23 2016-03-22 Commvault Systems, Inc. Automation of data storage activities
CN103617066B (en) * 2013-12-16 2016-08-24 中国农业银行股份有限公司 A kind of workflow engine and its implementation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240324B2 (en) * 2001-02-28 2007-07-03 Hewlett-Packard Development Company, L.P. Event-based scheduling method and system for workflow activities
CN102254234A (en) * 2010-05-17 2011-11-23 中兴通讯股份有限公司 Realization method of business process and workflow engine
CN103530095A (en) * 2012-07-03 2014-01-22 山西太钢不锈钢股份有限公司 Dynamic workflow method based on Domino platform

Also Published As

Publication number Publication date
CN106648573A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
EP3516574B1 (en) Enterprise graph method of threat detection
CN106656932B (en) Service processing method and device
US9843594B1 (en) Systems and methods for detecting anomalous messages in automobile networks
EP3575975B1 (en) Method and apparatus for operating smart network interface card
TW201220116A (en) Information security protection host
US9929930B2 (en) Reducing an amount of captured network traffic data to analyze
CN107786430B (en) Robot chatting method and system
US20180234851A1 (en) Web-based wireless hotspot creation and management
CN104793982A (en) Method and device for establishing virtual machine
US9444703B1 (en) Interconnecting electronic devices for reporting device status
CN113791792A (en) Application calling information acquisition method and device and storage medium
US11068431B1 (en) Edge component redirect for IoT analytics groups
CN106648573B (en) Workflow service control method, control system and terminal
CN111767481B (en) Access processing method, device, equipment and storage medium
CN110460593B (en) Network address identification method, device and medium for mobile traffic gateway
CN111177053A (en) Data communication method, device and system and computer readable storage medium
US9424552B2 (en) Managing website registrations
CN101971562B (en) Method, device and system for controlling automatic running process performance
CN103970515A (en) Control method and system for client and interface resource thereof
CN111951143A (en) Scientific and technological information policy issuing method and system
CN113761306A (en) Vehicle-end data processing method and device
CN106941413B (en) Service management method and device
CN112118247B (en) Internet of vehicles data encryption method and system
CN110976235B (en) Electrostatic powder spraying treatment method and system
CN104794044A (en) Method and device for monitoring cloud host operation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant