CN105573851A - Cooperative flow processing method and system - Google Patents

Cooperative flow processing method and system Download PDF

Info

Publication number
CN105573851A
CN105573851A CN201510944075.XA CN201510944075A CN105573851A CN 105573851 A CN105573851 A CN 105573851A CN 201510944075 A CN201510944075 A CN 201510944075A CN 105573851 A CN105573851 A CN 105573851A
Authority
CN
China
Prior art keywords
flow
cooperation
server
main flow
mark
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.)
Granted
Application number
CN201510944075.XA
Other languages
Chinese (zh)
Other versions
CN105573851B (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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN201510944075.XA priority Critical patent/CN105573851B/en
Publication of CN105573851A publication Critical patent/CN105573851A/en
Application granted granted Critical
Publication of CN105573851B publication Critical patent/CN105573851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a cooperative flow processing method and system, wherein when determining that a current active node to which a main flow runs requires cooperative flow processing, a main flow server sends a cooperation message comprising an identifier of a cooperative flow and an address of a cooperative flow server where the cooperative flow is located to a service platform, the service platform sends notification information comprising the identifier of the cooperative flow to the cooperative flow server according to the address of the cooperative flow server, so that the cooperative flow server is triggered to start the cooperative flow corresponding to the identifier of the cooperative flow, receive feedback information indicating a cooperative flow execution result sent by the cooperative flow server, and send operation indication information to the main flow server when determining that the feedback information satisfies a preset condition, in order to notify the main flow server to continue to operate the main flow. According to the cooperative flow processing method and system in the scheme of the invention, the cooperative flow processing of the main flow server and the cooperative flow server can be realized, and a series of cross-system complicated service operation is completed.

Description

A kind of flow process cooperative processing method and system
Technical field
The application relates to workflow processing technical field, more particularly, relates to a kind of flow process cooperative processing method and system.
Background technology
Workflow middleware is ripe middleware product, is widely used in the workflow management machine problem solving government, enterprise.Wherein, workflow be to business rule between workflow and each operation steps thereof abstract, summarize, describe.
Based on all kinds of operation systems that workflow engine creates; because user distribution is in different geographic position, organizational structure; be operated on different hardware and software platforms; often there will be situation about calling mutually between workflow engine, need the process that a kind of flow process associated treatment scheme carrys out collaborative finishing service for this reason badly.
Summary of the invention
In view of this, this application provides a kind of flow process cooperative processing method and system, for providing a kind of flow process cooperative processing method, working in coordination with finishing service process to impel main flow server and cooperation flow server.
To achieve these goals, the existing scheme proposed is as follows:
A kind of flow process cooperative processing method, be applied to business platform, the method comprises:
Receive the collaborative message of the address of the mark comprising cooperation flow of main flow server transmission and the cooperation flow server residing for cooperation flow, described collaborative message is described main flow server collaborative message to business platform transmission when the current active node determining that main flow moves to needs to carry out flow process associated treatment;
According to the address of described cooperation flow server, announcement information is sent to described cooperation flow server, described announcement information comprises the mark of described cooperation flow, and described notification message is used for for the cooperation flow startup of server cooperation flow corresponding with the mark of described cooperation flow;
Receive the feedback information showing cooperation flow execution result that described cooperation flow server sends, when determining that described feedback information meets prerequisite, send to described main flow server and run indication information, described operation indication information is used for notifying that described main flow server continues to run described main flow.
Preferably, described collaborative message also comprises the mark of described main flow, and then the operation indication information to described main flow server transmission carries the mark of described main flow, for notifying that described main flow server continues the main flow of the mark correspondence running described main flow.
Preferably, in the described address according to described cooperation flow server, before sending announcement information to described cooperation flow server, also comprise:
Work in coordination with visioning procedure associated treatment event in log in flow process, described flow process associated treatment event comprises the mark of described main flow and the mark of described cooperation flow.
Preferably, the described cooperation flow server of described reception send show the feedback information of cooperation flow execution result after, the method also comprises:
Described feedback information is saved in described flow process associated treatment event.
Preferably, determine that the process whether described feedback information meets prerequisite is:
Judge whether described feedback information shows that cooperation flow is initiated, if so, then determine that feedback information meets prerequisite;
Or,
Judge whether described feedback information shows that cooperation flow is finished, if so, then determine that feedback information meets prerequisite.
A kind of flow process cooperative processing method, be applied to the main flow server running main flow, the method comprises:
When the current active node determining that main flow moves to needs to carry out flow process associated treatment, locking current active node, the type of querying flow associated treatment;
If the type of described flow process associated treatment is wheel synchronization type, then send collaborative message to business platform, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow, described collaborative message is used for trigger business platform according to the address of described cooperation flow server, announcement information is sent, to start the cooperation flow corresponding with the mark of described cooperation flow to described cooperation flow server;
Receive the operation indication information that described business platform sends, continue to run described main flow, described operation indication information is the feedback information showing cooperation flow execution result that described business platform receives the transmission of described cooperation flow server, and judges the operation indication information that feedback information sends to described main flow server when meeting prerequisite.
Preferably, if the type of described flow process associated treatment is wheel synchronization type, then perform described send the step of collaborative message to business platform while, the method also comprises:
Continue to run described main flow.
Preferably, described collaborative message also comprises the mark of described main flow, and then the operation indication information of the business platform transmission of reception carries the mark of described main flow.
A kind of flow process cooperative processing method, be applied to the cooperation flow server running cooperation flow, the method comprises:
Receive the announcement information that business platform sends, described announcement information comprises the mark of cooperation flow, the collaborative message of the address of the mark comprising cooperation flow that described announcement information is the transmission of business platform response main flow server and the cooperation flow server residing for cooperation flow, to the announcement information that described cooperation flow server sends;
Start the cooperation flow corresponding with the mark of described cooperation flow, and the execution result of described cooperation flow is sent to described business platform as feedback information.
A kind of flow process coprocessing system, comprising: main flow server, business platform and cooperation flow server, wherein:
Described main flow server, when the current active node determining that main flow moves to needs to carry out flow process associated treatment, locks current active node, the type of querying flow associated treatment; If the type of described flow process associated treatment is wheel synchronization type, then send collaborative message to business platform, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow;
Described business platform is according to the address of described cooperation flow server, and send announcement information to described cooperation flow server, described announcement information comprises the mark of described cooperation flow;
Described cooperation flow server, when receiving the announcement information that business platform sends, starts the cooperation flow corresponding with the mark of described cooperation flow, and the execution result of described cooperation flow is sent to described business platform as feedback information;
Described business platform, when determining that described feedback information meets prerequisite, sends to described main flow server and runs indication information, continues to run described main flow to trigger described main flow server.
As can be seen from above-mentioned technical scheme, the flow process cooperative processing method that the embodiment of the present application provides, main flow server is when the current active node determining that main flow moves to needs to carry out flow process associated treatment, the collaborative message of the address of the cooperation flow server residing for the mark and cooperation flow comprising cooperation flow is sent to business platform, business platform is according to the address of described cooperation flow server, the announcement information comprising the mark of described cooperation flow is sent to described cooperation flow server, to trigger the cooperation flow startup of server cooperation flow corresponding with the mark of described cooperation flow, and receive the feedback information showing cooperation flow execution result of described cooperation flow server transmission further, when determining that described feedback information meets prerequisite, send to described main flow server and run indication information, to notify that described main flow server continues to run described main flow.According to the scheme of the application, the flow process associated treatment between main flow server and cooperation flow server can be realized, complete the complicated business operation of a series of cross-system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is a kind of flow process associated treatment Signalling exchange schematic diagram disclosed in the embodiment of the present application;
Fig. 2 is for the embodiment of the present application is from a kind of flow process cooperative processing method process flow diagram disclosed in main flow server side;
Fig. 3 is for the embodiment of the present application is from a kind of flow process cooperative processing method process flow diagram disclosed in business platform angle;
Fig. 4 is for the embodiment of the present application is from a kind of flow process cooperative processing method process flow diagram disclosed in cooperation flow server side;
Fig. 5 is a kind of flow process coprocessing system structural representation disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
First, see Fig. 1, Fig. 1 a kind of flow process associated treatment Signalling exchange schematic diagram disclosed in the embodiment of the present application.
In the process of flow process associated treatment, main flow server 11, between business platform 12 and cooperation flow server 13, carry out the mutual of signaling, shown in Figure 1 in detail.
As shown in Figure 1, the method comprises:
Step S1, main flow server 11, when the current active node determining that main flow moves to needs to carry out flow process associated treatment, lock current active node, the type of querying flow associated treatment;
Particularly, main flow server runs and has main flow, main flow comprises multiple active node, runs according to the flow direction of setting.When moving to certain active node, current active node can be inquired about the need of carrying out flow process associated treatment.
For inquiry current active node the need of the process of carrying out flow process associated treatment, the application can pre-configured flow process conspiracy relation, have recorded the mark needing to carry out several flow processs of working in coordination with in flow process conspiracy relation, and carries out the node of working in coordination with in flow process.
Suppose to determine that certain active node needs to carry out flow process associated treatment, then lock current active node, the type of further querying flow associated treatment.After locking after active node, main flow cannot continue to run.
The type of flow process associated treatment comprises wheel synchronization type and asynchronous type.Wheel synchronization type is that the implementation status of cooperation flow and the execution of main flow are independent of each other, and does not have sequence requirement.And the execution that asynchronous type is main flow must rely on the implementation status of cooperation flow, initiate as only having cooperation flow or can main flow be performed after being finished.
Step S2, main flow server 11, when the type determining flow process associated treatment is wheel synchronization type, send collaborative message to business platform 12;
Wherein, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow.The number of cooperation flow server may be multiple, and each cooperation flow server may run multiple cooperation flow simultaneously.Therefore, the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow is needed to carry in the collaborative message that main flow server 11 sends to business platform 12.
Optionally, in collaborative message, can further include the mark of main flow.
Step S3, business platform 12, according to the address of described cooperation flow server, send announcement information to described cooperation flow server 13;
Wherein, described announcement information comprises the mark of described cooperation flow.Described notification message starts cooperation flow for triggering cooperation flow server 13.
Step S4, cooperation flow server 13, when receiving the announcement information that business platform 12 sends, start the cooperation flow corresponding with the mark of described cooperation flow;
Particularly, if the cooperation flow corresponding with the mark of described cooperation flow creates, then directly can start the collaborative distance of establishment, otherwise, first can create cooperation flow, and then start the cooperation flow created.
The execution result of described cooperation flow is sent to described business platform 12 as feedback information by step S5, cooperation flow server 13;
Particularly, the execution result of cooperation flow, after startup cooperation flow, can be sent to business platform 12 by cooperation flow server 13.
Optionally, the announcement information that business platform 12 sends to cooperation flow server 13 can comprise collaborative configuration parameter, this collaborative configuration parameter is for informing that when cooperation flow server 13 feeds back the execution result of cooperation flow to business platform 12, it is such as execution result back after cooperation flow is initiated, or, execution result back after cooperation flow is finished.
Step S6, business platform 12, when determining that described feedback information meets prerequisite, send to described main flow server 11 and run indication information;
Particularly, for each cooperation flow, the application sets the prerequisite corresponding with it, when the feedback information determining that cooperation flow server 13 sends meets prerequisite, sends run indication information to main flow server 11.Wherein, prerequisite can comprise feedback information and show that cooperation flow is initiated, or feedback information shows that cooperation flow is finished.
Step S7, main flow server 11, when receiving described operation indication information, continue to run described main flow.
On the basis of the above, if main flow server 11 determines that the type of flow process associated treatment is asynchronous type in above-mentioned steps S2, then main flow server 11 is while sending collaborative message to business platform 12, can continue to perform main flow.
According to the scheme of the application, the flow process associated treatment between main flow server and cooperation flow server can be realized, complete the complicated business operation of a series of cross-system.
Optionally, the business platform that the application is above-mentioned can provide the entrance of user collaborative relation configure and maintenance.User can carry out the configure and maintenance of conspiracy relation by business platform, as: conspiracy relation increases newly, delete, forbid, enable.
The configure and maintenance interface of the conspiracy relation that user is provided by business platform, the flow process can selecting to work in coordination with, asynchronous or wheel synchronization type, needs collaborative operation etc.
The conspiracy relation that user configures can be stored in collaborative configuration database, for main flow server and cooperation flow server lookup.
Next, from the angle of main flow server, business platform and cooperation flow server, the application's scheme is described in detail respectively.
First, see Fig. 2, Fig. 2 for the embodiment of the present application is from a kind of flow process cooperative processing method process flow diagram disclosed in main flow server side.
As shown in Figure 2, the method comprises:
Step S200, when the current active node determining that main flow moves to needs to carry out flow process associated treatment, locking current active node, the type of querying flow associated treatment;
Particularly, main flow operates on main flow server, and main flow comprises several active nodes, performs successively according to setting order.When running to certain active node, when determining that current active node needs to carry out flow process associated treatment, first lock current active node, and the type of querying flow associated treatment.
After locking current active node, main flow will temporarily cannot continue to run.The type of flow process associated treatment comprises wheel synchronization type and asynchronous type.
Further, judge that current active node is the need of the process of carrying out flow process associated treatment, preset conspiracy relation storehouse can be inquired about, each flow process conspiracy relation is configured with in conspiracy relation storehouse, have recorded the relevant information of the flow process needing associated treatment (such as, the address etc. of the mark of flow process, the server residing for flow process), and in flow process, which active node needs to carry out flow process associated treatment.
If the type of the described flow process associated treatment of step S210 is wheel synchronization type, then send collaborative message to business platform;
Wherein, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow, described collaborative message is used for trigger business platform according to the address of described cooperation flow server, announcement information is sent, to start the cooperation flow corresponding with the mark of described cooperation flow to described cooperation flow server.
Main flow server can be that the preset conspiracy relation storehouse of inquiry obtains to the collaborative message that business platform sends.
Step S220, receive described business platform send operation indication information, continue run described main flow.
Particularly, described operation indication information is the feedback information showing cooperation flow execution result that described business platform receives the transmission of described cooperation flow server, and judges the operation indication information that feedback information sends to described main flow server when meeting prerequisite.
The current active node be in the lock state, when receiving operation indication information, unlocks by main flow server, and then continues to run described main flow.
According to the scheme of the application, the main flow that main flow server runs when running to certain and needing the active node carrying out flow process associated treatment, by business platform and cooperation flow server, the associated treatment of realization flow.
Optionally, when the type of above-mentioned judgement flow process associated treatment, if determine, the type of described flow process associated treatment is wheel synchronization type, then, while execution step S210, the method can further include:
Continue to run described main flow.
Also namely, if the type of flow process associated treatment is wheel synchronization type, then the execution sequence of main flow and cooperation flow is arranged side by side, and main flow does not need to wait for that cooperation flow execution result feedback restarts execution.
Optionally, above-mentioned collaborative message can also comprise the mark of main flow.Also namely, the mark of main flow, when sending collaborative message to business platform, also sends by main flow server in the lump.The mark of main flow can be used for business platform to carry out the record of flow process associated treatment event.In addition, if when multiple main flow sends collaborative message to business platform, business platform can carry out uniquely tagged main flow by the mark of main flow.Business platform receive the cooperation flow in described collaborative message mark correspondence cooperation flow send feedback information and determine that feedback information meets prerequisite time, send to main flow server and run indication information, the mark of main flow is carried in this operation indication information, main flow server can determine corresponding main flow according to the mark of this main flow, and then continues to run main flow.
Next, see Fig. 3, Fig. 3 for the embodiment of the present application is from a kind of flow process cooperative processing method process flow diagram disclosed in business platform angle.
As shown in Figure 3, the method comprises:
The collaborative message of the address of step S300, the mark comprising cooperation flow of reception main flow server transmission and the cooperation flow server residing for cooperation flow;
Particularly, from a upper embodiment, described collaborative message is described main flow server collaborative message to business platform transmission when the current active node determining that main flow moves to needs to carry out flow process associated treatment.
Step S310, address according to described cooperation flow server, send announcement information to described cooperation flow server;
Wherein, described announcement information comprises the mark of described cooperation flow, and described notification message is used for for the cooperation flow startup of server cooperation flow corresponding with the mark of described cooperation flow.
Step S320, receive the feedback information showing cooperation flow execution result that described cooperation flow server sends, when determining that described feedback information meets prerequisite, sending to described main flow server and running indication information.
Described operation indication information is used for notifying that described main flow server continues to run described main flow.
The business platform that the present embodiment provides achieves the mutual of communication instruction between main flow server and cooperation flow server, ensure that the associated treatment of flow process.
Optionally, above-mentioned collaborative message can also comprise the mark of main flow.And then, when business platform sends operation indication information to main flow server again, the write of the mark of main flow can be run indication information, to notify that main flow server continues the main flow of the mark correspondence running described main flow.
Optionally, before above-mentioned steps S310, the method can also comprise:
Work in coordination with visioning procedure associated treatment event in log in flow process, described flow process associated treatment event comprises the mark of described main flow and the mark of described cooperation flow.
The flow process of business platform works in coordination with in log and have recorded some flow process associated treatment events, flow process associated treatment the logout main flow of associated treatment and the mark of cooperation flow.
Further, business platform receive cooperation flow server send show the feedback information of cooperation flow execution result time, feedback information can be saved in above-mentioned flow process associated treatment event.
Optionally, business platform can also inquire about the collaborative configuration parameter of cooperation flow, and then when sending announcement information to cooperation flow server, collaborative configuration parameter is sent to cooperation flow server in the lump.Collaborative configuration parameter is used to indicate Collaboration Server and when the execution result of cooperation flow is sent to business platform as feedback information.General, can be monitoring after cooperation flow initiates, or monitor after cooperation flow is finished, the execution result of cooperation flow is sent to business platform as feedback information.
On this basis, above-mentionedly determine the process whether feedback information meets prerequisite, also namely judge whether feedback information meets the requirement of collaborative configuration parameter:
Judge whether described feedback information shows that cooperation flow is initiated, if so, then determine that feedback information meets prerequisite; Or,
Judge whether described feedback information shows that cooperation flow is finished, if so, then determine that feedback information meets prerequisite.
Further, see Fig. 4, Fig. 4 for the embodiment of the present application is from a kind of flow process cooperative processing method process flow diagram disclosed in cooperation flow server side.
As shown in Figure 4, the method comprises:
The announcement information that step S400, reception business platform send, described announcement information comprises the mark of cooperation flow;
Wherein, the collaborative message of the address of the mark comprising cooperation flow that described announcement information is the transmission of business platform response main flow server and the cooperation flow server residing for cooperation flow, to the announcement information that described cooperation flow server sends.
Step S410, start the cooperation flow corresponding with the mark of described cooperation flow, and the execution result of described cooperation flow is sent to described business platform as feedback information.
Cooperation flow server, when receiving the announcement information that business platform sends, starts the cooperation flow corresponding with the mark of the cooperation flow in announcement information.And the execution result of cooperation flow is sent to business platform as feedback information.
Wherein, can carry the collaborative configuration parameter of cooperation flow in announcement information, then cooperation flow server with reference to the feedback opportunity of collaborative configuration parameter instruction, can send and feeds back to business platform after cooperation flow is initiated or cooperation flow is finished.
Further, if the cooperation flow of the mark correspondence of the cooperation flow in announcement information does not also create in cooperation flow server, then first create cooperation flow, and then restart the cooperation flow of establishment.
The various embodiments described above are introduced from the angle of main flow server, business platform and cooperation flow server the application's scheme respectively.
On the basis of the various embodiments described above, the business platform of the application can also provide user to carry out the interface of flow process cooperative monitoring.From above-described embodiment, the flow process of business platform is worked in coordination with in log and be have recorded each flow process associated treatment event.Therefore, corresponding flow process associated treatment event can be inquired about according to the process identification of user's input.Certainly, according to the Query Dates of user's input, qualified flow process associated treatment event can also be showed user.
Finally, the embodiment of the present application discloses a kind of flow process coprocessing system.See Fig. 5, Fig. 5 a kind of flow process coprocessing system structural representation disclosed in the embodiment of the present application.
As shown in Figure 5, this system comprises:
Main flow server 11, business platform 12 and cooperation flow server 13, wherein:
Described main flow server 11, when the current active node determining that main flow moves to needs to carry out flow process associated treatment, locks current active node, the type of querying flow associated treatment; If the type of described flow process associated treatment is wheel synchronization type, then send collaborative message to business platform 12, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server 13 residing for cooperation flow;
Described business platform 12 is according to the address of described cooperation flow server 13, and send announcement information to described cooperation flow server 13, described announcement information comprises the mark of described cooperation flow;
Described cooperation flow server 13, when receiving the announcement information that business platform 12 sends, starts the cooperation flow corresponding with the mark of described cooperation flow, and the execution result of described cooperation flow is sent to described business platform 12 as feedback information;
Described business platform 12, when determining that described feedback information meets prerequisite, sends to described main flow server 11 and runs indication information, continues to run described main flow to trigger described main flow server 11.
According to the flow process coprocessing system provided of the application, the flow process associated treatment between main flow server and cooperation flow server can be realized, complete the complicated business operation of a series of cross-system.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a flow process cooperative processing method, is characterized in that, is applied to business platform, and the method comprises:
Receive the collaborative message of the address of the mark comprising cooperation flow of main flow server transmission and the cooperation flow server residing for cooperation flow, described collaborative message is described main flow server collaborative message to business platform transmission when the current active node determining that main flow moves to needs to carry out flow process associated treatment;
According to the address of described cooperation flow server, announcement information is sent to described cooperation flow server, described announcement information comprises the mark of described cooperation flow, and described notification message is used for for the cooperation flow startup of server cooperation flow corresponding with the mark of described cooperation flow;
Receive the feedback information showing cooperation flow execution result that described cooperation flow server sends, when determining that described feedback information meets prerequisite, send to described main flow server and run indication information, described operation indication information is used for notifying that described main flow server continues to run described main flow.
2. method according to claim 1, it is characterized in that, described collaborative message also comprises the mark of described main flow, and then, operation indication information to described main flow server transmission carries the mark of described main flow, for notifying that described main flow server continues the main flow of the mark correspondence running described main flow.
3. method according to claim 2, is characterized in that, in the described address according to described cooperation flow server, before sending announcement information, also comprises to described cooperation flow server:
Work in coordination with visioning procedure associated treatment event in log in flow process, described flow process associated treatment event comprises the mark of described main flow and the mark of described cooperation flow.
4. method according to claim 3, is characterized in that, the described cooperation flow server of described reception send show the feedback information of cooperation flow execution result after, the method also comprises:
Described feedback information is saved in described flow process associated treatment event.
5. method according to claim 1, is characterized in that, determines that the process whether described feedback information meets prerequisite is:
Judge whether described feedback information shows that cooperation flow is initiated, if so, then determine that feedback information meets prerequisite;
Or,
Judge whether described feedback information shows that cooperation flow is finished, if so, then determine that feedback information meets prerequisite.
6. a flow process cooperative processing method, is characterized in that, be applied to the main flow server running main flow, the method comprises:
When the current active node determining that main flow moves to needs to carry out flow process associated treatment, locking current active node, the type of querying flow associated treatment;
If the type of described flow process associated treatment is wheel synchronization type, then send collaborative message to business platform, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow, described collaborative message is used for trigger business platform according to the address of described cooperation flow server, announcement information is sent, to start the cooperation flow corresponding with the mark of described cooperation flow to described cooperation flow server;
Receive the operation indication information that described business platform sends, continue to run described main flow, described operation indication information is the feedback information showing cooperation flow execution result that described business platform receives the transmission of described cooperation flow server, and judges the operation indication information that feedback information sends to described main flow server when meeting prerequisite.
7. method according to claim 6, is characterized in that, if the type of described flow process associated treatment is wheel synchronization type, then perform described send the step of collaborative message to business platform while, the method also comprises:
Continue to run described main flow.
8. method according to claim 6, is characterized in that, described collaborative message also comprises the mark of described main flow, and then the operation indication information of the business platform transmission of reception carries the mark of described main flow.
9. a flow process cooperative processing method, is characterized in that, be applied to the cooperation flow server running cooperation flow, the method comprises:
Receive the announcement information that business platform sends, described announcement information comprises the mark of cooperation flow, the collaborative message of the address of the mark comprising cooperation flow that described announcement information is the transmission of business platform response main flow server and the cooperation flow server residing for cooperation flow, to the announcement information that described cooperation flow server sends;
Start the cooperation flow corresponding with the mark of described cooperation flow, and the execution result of described cooperation flow is sent to described business platform as feedback information.
10. a flow process coprocessing system, is characterized in that, comprising: main flow server, business platform and cooperation flow server, wherein:
Described main flow server, when the current active node determining that main flow moves to needs to carry out flow process associated treatment, locks current active node, the type of querying flow associated treatment; If the type of described flow process associated treatment is wheel synchronization type, then send collaborative message to business platform, described collaborative message comprises the address of the mark of cooperation flow and the cooperation flow server residing for cooperation flow;
Described business platform is according to the address of described cooperation flow server, and send announcement information to described cooperation flow server, described announcement information comprises the mark of described cooperation flow;
Described cooperation flow server, when receiving the announcement information that business platform sends, starts the cooperation flow corresponding with the mark of described cooperation flow, and the execution result of described cooperation flow is sent to described business platform as feedback information;
Described business platform, when determining that described feedback information meets prerequisite, sends to described main flow server and runs indication information, continues to run described main flow to trigger described main flow server.
CN201510944075.XA 2015-12-16 2015-12-16 Flow cooperative processing method and system Active CN105573851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510944075.XA CN105573851B (en) 2015-12-16 2015-12-16 Flow cooperative processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510944075.XA CN105573851B (en) 2015-12-16 2015-12-16 Flow cooperative processing method and system

Publications (2)

Publication Number Publication Date
CN105573851A true CN105573851A (en) 2016-05-11
CN105573851B CN105573851B (en) 2020-06-12

Family

ID=55884020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510944075.XA Active CN105573851B (en) 2015-12-16 2015-12-16 Flow cooperative processing method and system

Country Status (1)

Country Link
CN (1) CN105573851B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909330A (en) * 2017-08-31 2018-04-13 平安科技(深圳)有限公司 Work stream data processing method, device, storage medium and computer equipment
CN110675130A (en) * 2019-09-30 2020-01-10 佛山市众联成云科技有限公司 Cross-main-body workflow collaboration method
CN111291091A (en) * 2020-02-07 2020-06-16 北京神州泰岳智能数据技术有限公司 Data processing method and device and data processing system
CN117314354A (en) * 2023-10-07 2023-12-29 广州石伏软件科技有限公司 Cross-system collaboration method and system based on flow engine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070101179A1 (en) * 2005-10-27 2007-05-03 International Business Machines Corporation Method for fault handling in a co-operative workflow environment
CN104463508A (en) * 2014-12-30 2015-03-25 山东中创软件商用中间件股份有限公司 Coordination method and device between multiple workflow systems
CN104750544A (en) * 2013-12-30 2015-07-01 中国银联股份有限公司 Process management system and process management method applied to distributed system
CN104992271A (en) * 2015-06-23 2015-10-21 四川久远银海软件股份有限公司 Different-process-instance coordinated operation system and different-process-instance coordinated operation implementation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070101179A1 (en) * 2005-10-27 2007-05-03 International Business Machines Corporation Method for fault handling in a co-operative workflow environment
CN104750544A (en) * 2013-12-30 2015-07-01 中国银联股份有限公司 Process management system and process management method applied to distributed system
CN104463508A (en) * 2014-12-30 2015-03-25 山东中创软件商用中间件股份有限公司 Coordination method and device between multiple workflow systems
CN104992271A (en) * 2015-06-23 2015-10-21 四川久远银海软件股份有限公司 Different-process-instance coordinated operation system and different-process-instance coordinated operation implementation method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909330A (en) * 2017-08-31 2018-04-13 平安科技(深圳)有限公司 Work stream data processing method, device, storage medium and computer equipment
CN107909330B (en) * 2017-08-31 2020-10-09 平安科技(深圳)有限公司 Workflow data processing method and device, storage medium and computer equipment
CN110675130A (en) * 2019-09-30 2020-01-10 佛山市众联成云科技有限公司 Cross-main-body workflow collaboration method
CN111291091A (en) * 2020-02-07 2020-06-16 北京神州泰岳智能数据技术有限公司 Data processing method and device and data processing system
CN117314354A (en) * 2023-10-07 2023-12-29 广州石伏软件科技有限公司 Cross-system collaboration method and system based on flow engine
CN117314354B (en) * 2023-10-07 2024-04-16 广州石伏软件科技有限公司 Cross-system collaboration method and system based on flow engine

Also Published As

Publication number Publication date
CN105573851B (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN105573851A (en) Cooperative flow processing method and system
WO2021063277A1 (en) Vehicle service management method and system, and vehicle service digital detection system
KR101501352B1 (en) Safety management system and method for building construction using portable terminal
CN107071005A (en) A kind of method of data synchronization and system
CN105991363B (en) Monitoring processing method and device
CN105657152A (en) Remote control method and remote control system
KR102434530B1 (en) Information Intercommunication Methods and Systems
CN104463508A (en) Coordination method and device between multiple workflow systems
CN104021141A (en) Method, device and system for data processing and cloud service
US20110261757A1 (en) Field communication system and field communication method
CN110278223B (en) Video monitoring system and management method of video monitoring resources
CN112905364A (en) Calling method of micro service and electronic equipment
WO2019183414A1 (en) System and methods for tracking an item in a distributed environment
CN102131205A (en) Network management method and system used for multimode system
US10333939B2 (en) System and method for authentication
CN106713289A (en) Communication method and system for borrowing articles
JP2010267051A (en) Database device, database matching system, and database matching method
CN116389385A (en) System resource processing method, device, storage medium and equipment
CN106484778A (en) Material distribution method and material dispensing device based on SOA
CN111767580B (en) Physical object handover method and device based on blockchain
CN110413246B (en) Information display method, device, helmet, electronic equipment and storage medium
WO2023015545A1 (en) Interaction method for heavy-load ganrty robot and mes system
CN114781979A (en) Warehouse operation management method and device, electronic equipment and storage medium
KR102605290B1 (en) Task management system and method using kiosk hub
CN113242305A (en) Cross-chain transaction processing method, device, computer equipment and medium

Legal Events

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