CN102902574A - Cooperative processing method and device of multiple information flow nodes - Google Patents

Cooperative processing method and device of multiple information flow nodes Download PDF

Info

Publication number
CN102902574A
CN102902574A CN2012103588251A CN201210358825A CN102902574A CN 102902574 A CN102902574 A CN 102902574A CN 2012103588251 A CN2012103588251 A CN 2012103588251A CN 201210358825 A CN201210358825 A CN 201210358825A CN 102902574 A CN102902574 A CN 102902574A
Authority
CN
China
Prior art keywords
node
information
current information
task
processing
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
CN2012103588251A
Other languages
Chinese (zh)
Other versions
CN102902574B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201210358825.1A priority Critical patent/CN102902574B/en
Publication of CN102902574A publication Critical patent/CN102902574A/en
Application granted granted Critical
Publication of CN102902574B publication Critical patent/CN102902574B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application discloses a cooperative processing method of multiple information flow nodes. The cooperative processing method comprises the following steps of: obtaining the current information flow node of a cooperative processing node set, distinguishing the associated mode type of the current information flow node and carrying out different processing according to different types; if the associated mode type is a first type, starting other nodes of the cooperative processing node set after an information task is processed by the current information flow node or starting the current information flow node after the information task is processed by other nodes of the cooperative processing set; and if the associated mode type is a second type, starting all of to-be-processed node processing information tasks when the current information flow node is the node distinguished at latest from the cooperative processing node set. The embodiment of the application also provides a cooperative processing device of the multiple information flow nodes. The technical scheme of the embodiment of the application is suitable for cooperative processing among the information flow nodes in a multi-association mode, and the processing efficiency of the information processing tasks is improved generally.

Description

A kind of cooperative processing method of multi-information flow node and device
Technical field
The application relates to technical field of information processing, relates in particular to a kind of cooperative processing method and device thereof of multi-information flow node.
Background technology
Along with the development of infotech, the information flow product is used widely.The information flow product carries out stepwise to information handling task to be implemented, and realizes the processing of whole information handling task by the processing of each node, and this mode has been simplified the processing procedure of information handling task, has lowered the processing complexity with the processing power of disperseing.Each node on the information flow product is called the information flow node.Complicacy based on information handling task, may there be incidence relation in an information flow node with other information flow nodes, such as ordinal relation, the task processing that is certain information flow node need to be waited until after the task of other nodes is finished dealing with and could start, also such as synchronized relation, namely the task of certain information flow node is processed and need to be carried out with other synchronisation of nodes.For guaranteeing to have between this information flow node the information flow successful operation of incidence relation, the coordination system must be provided, process with the internodal task of collaborative each information flow.
The difficult point of the internodal associated treatment of information flow is the diversity of incidence relation between the information flow node.Referring to Fig. 1 (a)~(e), the figure shows 5 kinds of comparatively common association modes, that is: startup subsequent treatment after a plurality of parallel branchs of same information flow are all finished; Information flow node in a plurality of parallel branchs of same information flow needs to start simultaneously; Information flow node in certain parallel branch of same information flow need to wait for other branch nodes finish after startup; The information flow node of different information flows needs to start simultaneously; Information flow node in information flow node need wait for the information flow node in other information flows finish after startup.Present information flow product is all supported the association mode of Fig. 1 (a), and under other association modes, if certain information flow node can not correctly be carried out, the information handling task that comprises this information flow node is processed again with out of court, different flow processs under the different mode (information flow node) will according to separately independently mode move, thereby cause the overall treatment efficiency of information handling task low.In addition, for the special case that occurs in the information flow, the operation such as skip such as information flow node rollback, node, existing information flow product can't be realized the associated treatment of multi-information flow node especially.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of cooperative processing method and device thereof of multi-information flow node, adapting to the associated treatment needs under multiple association mode between the information flow node, thereby improve generally the treatment effeciency of information handling task.
The cooperative processing method of the multi-information flow node that the embodiment of the present application provides comprises:
From default associated treatment set of node, obtain the current information stream node with the process information task;
The type of the association mode of identification current information stream node, the sequential relationship when described association mode is an information flow node and other information flow node processing information tasks;
If the association mode of current information stream node is the first kind, start current information stream node after then starting other nodes of presetting in the associated treatment set of node or presetting the concentrated complete information task of other node processing of associated treatment behind the complete information task of current information stream node processing, the described first kind is that an information flow node is finished the rear startup of information task processing at another or a plurality of information flow node;
If the association mode of current information stream node is Second Type, judge then whether current information stream node presets the node that is identified as the latest Second Type in the associated treatment set of node, if, then start the whole nodes in the default processing node collection to be synergistic, described Second Type is an information flow node and another or the processing of a plurality of information flow synchronisation of nodes log-on message task.
Preferably, if the association mode of described current information stream node is the first kind, behind the complete information task of other node processing that default associated treatment is concentrated, start current information stream node, specifically comprise:
Receive the notification message that sends behind the concentrated complete information task of other node processing of default associated treatment;
When the association mode of current information stream node is identified as the first kind, judge whether the quantity of the notification message that receives lacks one than the node in the default associated treatment set of node, if so, then start current information stream node.
Preferably, if the association mode of described current information stream node is Second Type, judge then whether current information stream node presets the node that is identified as the latest Second Type in the associated treatment set of node, if, then start the whole nodes in the default processing node collection to be synergistic, specifically comprise:
When the association mode of current information stream node is identified as Second Type, send a notification message;
Judge the node whether current information stream node sends a notification message in the node of processing to be synergistic the latest, if so, then start the whole nodes in the default processing node collection to be synergistic.
Preferably, described method also comprises: behind the current information stream node that obtains from default associated treatment set of node the process information task, judge whether described current information stream node has virtual tag, described virtual tag is used for mark and processes the information flow node that the information task process is skipped, if not, then carry out the step of the type of the association mode of identifying current information stream node.
Preferably, described method also comprises: behind the current information stream node that obtains from default associated treatment set of node the process information task, judge whether described current information stream node had started information handling task, if not, then carry out the step of the type of the association mode of identifying current information stream node.
The embodiment of the present application also provides a kind of associated treatment device of multi-information flow node.This device comprises: acquiring unit, recognition unit, the first start unit and the second start unit, wherein:
Described acquiring unit is used for flowing node from the current information that default associated treatment set of node obtains the process information task;
Described recognition unit is used for the type that the identification current information flows the association mode of node, the sequential relationship when described association mode is an information flow node and other information flow node processing information tasks;
Described the first start unit, be used for after the association mode of current information stream node is the first kind and the complete information task of current information stream node processing, start other nodes in the default associated treatment set of node, perhaps, after the association mode of current information stream node is the concentrated complete information task of other node processing of the first kind and default associated treatment, start current information stream node, the described first kind is that an information flow node is finished the rear startup of information task processing at another or a plurality of information flow node;
Described the second start unit, when being used for association mode at current information stream node and being Second Type and current information stream node and be default associated treatment set of node and being identified as the latest the node of Second Type, start the whole nodes in the default processing node collection to be synergistic, described Second Type is an information flow node and another or the processing of a plurality of information flow synchronisation of nodes log-on message task.
Preferably, described device also comprises receiving element, is used for receiving the notification message that sends behind the concentrated complete information task of other node processing of default associated treatment, and then described the first start unit specifically is used for:
Be identified as the first kind and the quantity of the notification message that receives when lack one than the node in the default associated treatment set of node at the association mode of current information stream node, the startup current information flows node.
Preferably, described device also comprises transmitting element, is used for sending a notification message when the association mode of current information stream node is identified as Second Type, and then described the second start unit specifically is used for:
Association mode at current information stream node is that Second Type and current information stream node are when presetting the node that sends a notification message the latest in the associated treatment set of node, starts the whole nodes in the default processing node collection to be synergistic.
Preferably, described device also comprises the first judging unit, be used for behind the current information stream node that obtains from default associated treatment set of node the process information task, judging whether described current information stream node has virtual tag, described virtual tag is used for mark and processes the information flow node that the information task process is skipped, if not, then trigger recognition unit.
Preferably, described device also comprises the second judging unit, be used for behind the current information stream node that obtains from default associated treatment set of node the process information task, judging whether described current information stream node had started information handling task, if not, then triggered recognition unit.
After the information flow node of the embodiment of the present application in obtaining default associated treatment set of node flows node as current information, its association mode type is identified, then carry out different processing according to different types: if type is " notice start " type, then behind the complete information task of current information stream node processing, starts in the associated treatment set of node other nodes or behind the complete information task of other node processing that associated treatment is concentrated, start current information stream node; If type is " start synchronously " type, then judge the node whether current information stream node is identified in the associated treatment set of node the latest, if so, then start whole node processing information tasks of processing to be synergistic.Compared with prior art, the embodiment of the present application abandoned the existing way processed according to independent mode separately of relevant mould, but according to the characteristics of association mode, various association modes are summed up as two types, and then take corresponding processing mode for different types, the information task that has adapted under the multi-information flow node association mode variation environment is processed.In addition, the embodiment of the present application is for specific information stream mode such as node jump, node rollbacks, and the modes such as the virtual signage by judging the information flow node or no instantiation have provided preferably solution.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, the accompanying drawing that the following describes only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 (a)~(e) is five kinds of common in multi-information flow nodal information task processes association mode schematic diagram;
Fig. 2 is the cooperative processing method process flow diagram of the multi-information flow node of the embodiment of the present application one;
Fig. 3 is the cooperative processing method process flow diagram of the multi-information flow node of the embodiment of the present application two;
Fig. 4 (a), (b) are the special circulation situation schematic diagram of multi-information flow node in information task is processed;
Fig. 5 is the structured flowchart of associated treatment device of the multi-information flow node of the embodiment of the present application three.
Embodiment
In order to make those skilled in the art person understand better technical scheme among the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all should belong to the scope of the application's protection.
Referring to Fig. 2, the figure shows the flow process of the cooperative processing method embodiment (embodiment one) of a kind of multi-information flow node of the application.This embodiment comprises:
Step S201: from default associated treatment set of node, obtain the current information stream node with the process information task;
" associated treatment " is for " independent processing ": the information flow node of independent processing information task need not rely on other information flow nodes or do not relied on (relations such as interdepending between this information flow node, constraint are called incidence relation) by other information flow nodes and finish independently the processing of information task, and it gets final product according to the processing of regular traffic flow process; And the information flow node of associated treatment information task or be subject to the constraint of other information flow nodes, perhaps retrain other information flow nodes, therefore, in the information task processing procedure, must work in coordination with the information flow node that these have constraint or restrained relation, with finishing smoothly of guarantee information Processing tasks.The node of associated treatment can be specified before information handling task begins by the user, also can be according to service needed by automation equipment according to the pre-conditioned node that from information flow, identifies the needs associated treatment, these nodes are integrated among the associated treatment set of node.When the information flow of process information task relates to normal information stream node, such as independent processing type information flow node, then process according to normal operation flow; When the information flow of process information task relates to the associated treatment node, then in default associated treatment set of node, read the associated treatment node, this node is flowed node as current information.
In actual application, the associated treatment set of node can be reflected by definition associated treatment definition list.The associated treatment definition list can arrange a plurality of attribute fields, be used for characterizing the member of associated treatment set of node and the incidence relation between each member, such as comprising: each information flow node identification, process identification in associated treatment set of node sign, the associated treatment set of node, whether wait for etc., wherein: associated treatment set of node sign is used for identifying each set of node when comprising a plurality of associated treatment set of node; Process identification is used for the described information flow of each information flow node of sign; Whether wait for, being used for identification information stream node is that directly startup or the triggering that needs to wait for other node start.
Step S202: the type of the association mode of identification current information stream node, the sequential relationship when described association mode is an information flow node and other information flow node processing information tasks;
After focusing on current information stream node, the present embodiment need to be identified the association mode type of current information stream node, association mode has embodied this information flow node in the process information task process and the sequential relationship between other information flow nodes, these sequential relationships mainly comprise two types: the one, finish the startup type, be that the information task of this information flow node process to need is waited for after the task of other one or more information flow nodes is finished dealing with and could be started (such as the information flow node 2 among Fig. 1 (c)), perhaps the information task of this information flow node rear task of just starting other one or more other information flow nodes of finishing dealing with is processed (such as the information flow node 3 among Fig. 1 (e) and information flow node 5), this relation can be embodied between the interior two or more information flow nodes of an information flow (such as Fig. 1 (a)~(c)), also can be embodied between the information flow node that belongs to different information flows (such as Fig. 1 (d), (e)); The 2nd, start synchronously type, the information task that is this information flow node is processed synchronous startup of task processing that needs with other one or more information flow nodes, similarly, this relation can be embodied between the interior two or more information flow nodes of an information flow, also can be embodied between the information flow node that belongs to different information flows.In actual application, also may occur by the above-mentioned two types mixed type sequential relationships that are combined into (such as Fig. 1 (c), (e)).
Step S203: if the association mode of current information stream node is the first kind, start current information stream node after then starting other nodes of presetting in the associated treatment set of node or presetting the concentrated complete information task of other node processing of associated treatment behind the complete information task of current information stream node processing, the described first kind is that an information flow node is finished the rear startup of information task processing at another or a plurality of information flow node;
Through association mode type identification step, if the association mode of current information stream node is the first kind, namely finish the startup type, then have two kinds of situations: a kind of is that current information stream node is active node, and namely the pass of other nodes in current information stream node and the associated treatment set of node is the processing of other information flow nodes ability log-on message tasks after the task of current information stream node is finished dealing with; Another kind is that current information stream node is passive node, and namely the pass of other nodes in current information stream node and the associated treatment set of node is that the task of current information stream node is processed and need to could be started after other information flow nodes are finished the work processing.For dissimilar, there is difference in processing mode: for the former, behind the complete information task of current information stream node processing, the task of namely starting other nodes in the default associated treatment set of node is processed; For the latter, behind the complete information task of other node processing that default associated treatment is concentrated, start current information stream node.Need to prove: according to the execution flow process of business, first node in the same information flow only can be active node, namely the task of this node is processed does not need to wait for the complete rear startup of other node tasks carryings, end-node in the same information flow only can be passive node, do not need to notify the task of other nodes to process after namely the task of this node is finished dealing with, if comprise a plurality of but carry out professional information flow, then the first node of this flow process may become the passive node of other flow processs, and the end-node of this flow process may become the active node of other flow processs.
Step S204: if the association mode of current information stream node is Second Type, judge then whether current information stream node presets the node that is identified as the latest Second Type in the associated treatment set of node, if, then start the whole nodes in the default processing node collection to be synergistic, described Second Type is an information flow node and another or the processing of a plurality of information flow synchronisation of nodes log-on message task;
Through association mode type identification step, if the association mode of current information stream node is Second Type, namely start synchronously type, illustrate that then the task of other nodes in this information flow node and the associated treatment set of node is processed and need to be carried out synchronously.Starting under the type synchronously, be not that the information flow node is identified as namely starting the processing that full detail flows node behind the Second Type, at this moment need also to judge that current information stream node is identified as the time of Second Type, if this time be in the associated treatment set of node the latest, other nodes that the associated treatment set of node then is described have been stored in waiting status, and " identification " of current information stream node can trigger and start all processing of the information task of node in the associated treatment set of node; If should the time not be in the associated treatment set of node the latest, then illustrate and also have the node that does not have as " current information stream node " in the associated treatment set of node, current information stream node will be in waiting status, trigger until be identified as the latest the node of Second Type in the associated treatment set of node, just carry out the processing of information task.
After the information flow node of the present embodiment in obtaining default associated treatment set of node flows node as current information, its association mode type is identified, then carry out different processing according to different types: if type is " finishing startup " type, then behind the complete information task of current information stream node processing, starts in the associated treatment set of node other nodes or behind the complete information task of other node processing that associated treatment is concentrated, start current information stream node; If type is " start synchronously " type, then judge the node whether current information stream node is identified in the associated treatment set of node the latest, if so, then start whole node processing information tasks of processing to be synergistic.Compared with prior art, the present embodiment abandoned the existing way processed according to independent mode separately of relevant mould, but according to the characteristics of association mode, various association modes are summed up as two kinds of fundamental types, and then take corresponding processing mode for different types, the information task that has adapted to thus under the multi-information flow node association mode variation environment is processed, and has improved generally the treatment effeciency of information handling task.
On above-described embodiment basis, can also make some and improve, thus the cooperative processing method embodiment (embodiment two) of another multi-information flow node of formation the application.Referring to Fig. 3, the figure shows the cooperative processing method flow process of the multi-information flow node of embodiment two, this figure provides two kinds of improved procedures:
One of improved procedure: in the step S203 of embodiment one, be the situation of passive node for current information stream node, other nodes in this information flow node and the associated treatment set of node carry out the mode of associated treatment and can also carry out in accordance with the following steps:
Step S3031: receive the notification message that sends behind the concentrated complete information task of other node processing of default associated treatment;
During as " current information stream node ", it sends a notification message after handling information task other nodes in the present embodiment in the associated treatment set of node at it, in order to show it self state.When information flow proceeds to the current information stream node of the present embodiment, receive the notification message that other nodes send.
Step S3032: when the association mode of current information stream node is identified as the first kind, judge whether the quantity of the notification message that receives lacks one than the node in the default associated treatment set of node, if so, then start current information stream node;
Node in the associated treatment set of node can be divided into two classes according to whether being in " current ": the one, and the current information stream node that is focused, the 2nd, other information flow nodes that are not focused, when in the processing procedure of current information stream node, when if the quantity of the notification message that receives is N-1 (N is the number of nodes in the associated treatment set of node), illustrate that other information flow nodes all send a notification message, the task that then can start current information stream node is processed.
Two of improved procedure: in the step S204 of embodiment one, flowing node for current information is that the node that is identified as the latest Second Type in the default associated treatment set of node starts the task processing of presetting the whole nodes in the processing node collection to be synergistic, can carry out in accordance with the following steps:
Step S3041: when the association mode of current information stream node is identified as Second Type, send a notification message;
Step S3042: judge the node whether current information stream node sends a notification message in the node of processing to be synergistic the latest, if so, then start the whole nodes in the default processing node collection to be synergistic.
Above-mentioned improved procedure one judges with the form of receiving notice message whether other information flow nodes except current information stream node handle information task in the associated treatment set of node, above-mentioned improved procedure two judges by the notification message that sends whether current information stream node is the node of identifying the latest in the associated treatment set of node, these improved procedures make the associated treatment process between a plurality of information flow nodes become simple information interactive process, thereby have made things convenient for the internodal task of the information flow with incidence relation to process.
In actual application, can also be according to above-mentioned by message (comprising that the notification message of other nodes transmissions of finishing the processing of node task under " finish and start type " in associated treatment set of node and " starting synchronously type " lower current information flow the notification message that sends after the identified association mode type of node) generation associated treatment example table, for the task treatment state of each node in the record associated treatment set of node.This associated treatment example table can arrange a plurality of attribute fields, such as cooperation service major key, associated treatment set of node sign, process identification, node identification etc., wherein: the associated treatment major key, for the node that needs associated treatment at process information task process unique identification; Associated treatment set of node sign is used for the associated treatment set of node that the sign current information flows the node place; Process identification is used for the information flow that the sign current information flows the node place: node identification is used for identifying the information flow node in the associated treatment set of node that sends a notification message.After the associated treatment example table is set, each information flow node in the associated treatment set of node is in case send notice, then can in this example table, insert a record that comprises above-mentioned field according to this notice, thereby can know by this table the state of each node in the associated treatment set of node.
Aforementioned two embodiment have described the internodal cooperative processing method of multi-information flow in the normally circulation situation of information flow of process information task, but, in actual application, information flow special flow may occur and turn over journey, such as " node jump " occurring, be that some node in the information flow is not performed (focusing), such as the information flow node 2 among Fig. 4 (a), in this case, all other interior nodes of associated treatment set of node of waiting for that this node triggers can't start, thereby have influence on the normal process of information task.Also such as, occur " node rollback ", be that some node in some information flow is rejected because a variety of causes meets with, such as the information flow node 3 among Fig. 4 (b), in this case, all finish because the task of other synchronization nodes in the associated treatment set of node is processed, reject starting point and will forever can't start with the information flow node of rejecting in the terminal point.Special flow for these information flows turns over journey, and the application provides corresponding solution:
Situation for the node jump: system will inquire about the information flow node of skipping one by one, and judge whether these nodes of skipping belong to the node in the associated treatment set of node, if belong to, then this node is carried out virtual tag, if adopt the mode of associated treatment example table to record the state of node, system will be that this node generates a virtual record, and this record is inserted among the associated treatment example table.Based on this, the associated treatment mode of the multi-information flow node when the application jumps for node is as follows:
Behind the current information stream node that from default associated treatment set of node, obtains the process information task, judge that whether described current information stream node has virtual tag, if not, then carries out the step of the type of the association mode of identifying current information stream node.
Situation for the node rollback: system will inquire about the information flow node between rollback starting point and the rollback terminal point one by one, and judge whether these nodes of skipping belong to the node in the associated treatment set of node, if belong to, system can inquire about whether the executed current information flows node under current business (the professional major key in the associated treatment example table), if, illustrate that current information stream node is the node of again carrying out, no longer need Collaborative Control, the normal startup gets final product.Can process in the following manner:
Behind the current information stream node that from default associated treatment set of node, obtains the process information task, judge whether described current information stream node had started information handling task, if not, then carry out the step of the type of the association mode of identifying current information stream node.
Aforementioned content all is the descriptions to the application's embodiment of the method, and correspondingly, the application also provides the associated treatment device embodiment (embodiment three) of multi-information flow node.Referring to Fig. 5, the figure shows the structural framing of the multi-information flow node associated treatment device of this device embodiment.This device embodiment 500 comprises: acquiring unit 501, recognition unit 502, the first start unit 503 and the second start unit 504, wherein:
Acquiring unit 501 is used for flowing node from the current information that default associated treatment set of node obtains the process information task;
Recognition unit 502 is used for the type that the identification current information flows the association mode of node, the sequential relationship when described association mode is an information flow node and other information flow node processing information tasks;
The first start unit 503, be used for after the association mode of current information stream node is the first kind and the complete information task of current information stream node processing, start other nodes in the default associated treatment set of node, perhaps, after the association mode of current information stream node is the concentrated complete information task of other node processing of the first kind and default associated treatment, start current information stream node, the described first kind is that an information flow node is finished the rear startup of information task processing at another or a plurality of information flow node;
The second start unit 504, when being used for association mode at current information stream node and being Second Type and current information stream node and be default associated treatment set of node and being identified as the latest the node of Second Type, start the whole nodes in the default processing node collection to be synergistic, described Second Type is an information flow node and another or the processing of a plurality of information flow synchronisation of nodes log-on message task.
The course of work of this device embodiment is: the information flow node that is obtained from default associated treatment set of node by acquiring unit 501 first flows node as current information, then by recognition unit 502 its association mode type is identified, carry out different processing according to different types: if type is " finishing startup " type, then behind the complete information task of current information stream node processing, starts in the associated treatment set of node other nodes or behind the complete information task of other node processing that associated treatment is concentrated, start current information stream node by the first start unit 503; If type is " start synchronously " type, then judge the node whether current information stream node is identified in the associated treatment set of node the latest by the second start unit, if so, then start whole node processing information tasks of processing to be synergistic.
Compared with prior art, the embodiment of the present application abandoned the existing way processed according to independent mode separately of relevant mould, but according to the characteristics of association mode, various association modes are summed up as two types, and then take corresponding processing mode for different types, the information task that has adapted under the multi-information flow node association mode variation environment is processed.
Also comprise receiving element among the said apparatus embodiment, be used for receiving the notification message that sends behind the concentrated complete information task of other node processing of default associated treatment, then described the first start unit specifically is used for: be identified as the first kind and the quantity of the notification message that receives when lack one than the node in the default associated treatment set of node at the association mode of current information stream node, the startup current information flows node.Said apparatus embodiment also comprises transmitting element, be used for when the association mode of current information stream node is identified as Second Type, sending a notification message, then described the second start unit specifically is used for: the association mode of current information stream node be Second Type and current information stream node be default associated treatment set of node send a notification message the latest node the time, start the whole nodes in the default processing node collection to be synergistic.By increasing receiving element, thereby judge with the form of receiving notice message whether other information flow nodes except current information stream node handle information task in the associated treatment set of node, by increasing transmitting element, thereby judge by the notification message that sends whether current information stream node is the node of identifying the latest in the associated treatment set of node, these modes make the associated treatment process between a plurality of information flow nodes become simple information interactive process, thereby have made things convenient for the internodal task of the information flow with incidence relation to process.
Aforementioned means embodiment is the structure in the normally circulation situation of information flow of process information task, in actual application, some special circulation steering logics also may appear in information flow, jump such as node, node rollback etc., for these situations, the application also provides corresponding solution: for the situation of node jump, this device embodiment can comprise the first judging unit 505, be used for behind the current information stream node that obtains from default associated treatment set of node the process information task, judging whether described current information stream node has virtual tag, described virtual tag is used for mark and processes the information flow node that the information task process is skipped, if not, then trigger recognition unit; Situation for the node rollback, this device embodiment can comprise the second judging unit 506, be used for behind the current information stream node that obtains from default associated treatment set of node the process information task, judging whether described current information stream node had started information handling task, if not, then trigger recognition unit.
For the convenience of describing, be divided into various unit with function when describing above device and describe respectively.Certainly, when implementing the application, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Embodiment in the present specification adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between the embodiment, and each embodiment stresses is difference with other embodiment.Especially, for device embodiment, because its basic simlarity is in embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method.Embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of the present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation that do not pay creative work.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment, put into practice the application, in these distributed computing environment, be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
The above only is the application's embodiment; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection domain.

Claims (10)

1. the cooperative processing method of a multi-information flow node is characterized in that, the method comprises:
From default associated treatment set of node, obtain the current information stream node with the process information task;
The type of the association mode of identification current information stream node, the sequential relationship when described association mode is an information flow node and other information flow node processing information tasks;
If the association mode of current information stream node is the first kind, start current information stream node after then starting other nodes of presetting in the associated treatment set of node or presetting the concentrated complete information task of other node processing of associated treatment behind the complete information task of current information stream node processing, the described first kind is that an information flow node is finished the rear startup of information task processing at another or a plurality of information flow node;
If the association mode of current information stream node is Second Type, judge then whether current information stream node presets the node that is identified as the latest Second Type in the associated treatment set of node, if, then start the whole nodes in the default processing node collection to be synergistic, described Second Type is an information flow node and another or the processing of a plurality of information flow synchronisation of nodes log-on message task.
2. method according to claim 1 is characterized in that, if the association mode of described current information stream node is the first kind, starts current information stream node behind the complete information task of other node processing that default associated treatment is concentrated, and specifically comprises:
Receive the notification message that sends behind the concentrated complete information task of other node processing of default associated treatment;
When the association mode of current information stream node is identified as the first kind, judge whether the quantity of the notification message that receives lacks one than the node in the default associated treatment set of node, if so, then start current information stream node.
3. method according to claim 1, it is characterized in that, if the association mode of described current information stream node is Second Type, judge then whether current information stream node presets the node that is identified as the latest Second Type in the associated treatment set of node, if, then start the whole nodes in the default processing node collection to be synergistic, specifically comprise:
When the association mode of current information stream node is identified as Second Type, send a notification message;
Judge the node whether current information stream node sends a notification message in the node of processing to be synergistic the latest, if so, then start the whole nodes in the default processing node collection to be synergistic.
4. method according to claim 1, it is characterized in that, described method also comprises: behind the current information stream node that obtains from default associated treatment set of node the process information task, judge whether described current information stream node has virtual tag, described virtual tag is used for mark and processes the information flow node that the information task process is skipped, if not, then carry out the step of the type of the association mode of identifying current information stream node.
5. method according to claim 1, it is characterized in that, described method also comprises: behind the current information stream node that obtains from default associated treatment set of node the process information task, judge whether described current information stream node had started information handling task, if not, then carry out the step of the type of the association mode of identifying current information stream node.
6. the associated treatment device of a multi-information flow node is characterized in that, this device comprises: acquiring unit, recognition unit, the first start unit and the second start unit, wherein:
Described acquiring unit is used for flowing node from the current information that default associated treatment set of node obtains the process information task;
Described recognition unit is used for the type that the identification current information flows the association mode of node, the sequential relationship when described association mode is an information flow node and other information flow node processing information tasks;
Described the first start unit, be used for after the association mode of current information stream node is the first kind and the complete information task of current information stream node processing, start other nodes in the default associated treatment set of node, perhaps, after the association mode of current information stream node is the concentrated complete information task of other node processing of the first kind and default associated treatment, start current information stream node, the described first kind is that an information flow node is finished the rear startup of information task processing at another or a plurality of information flow node;
Described the second start unit, when being used for association mode at current information stream node and being Second Type and current information stream node and be default associated treatment set of node and being identified as the latest the node of Second Type, start the whole nodes in the default processing node collection to be synergistic, described Second Type is an information flow node and another or the processing of a plurality of information flow synchronisation of nodes log-on message task.
7. device according to claim 6 is characterized in that, described device also comprises receiving element, is used for receiving the notification message that sends behind the concentrated complete information task of other node processing of default associated treatment, and then described the first start unit specifically is used for:
Be identified as the first kind and the quantity of the notification message that receives when lack one than the node in the default associated treatment set of node at the association mode of current information stream node, the startup current information flows node.
8. device according to claim 6 is characterized in that, described device also comprises transmitting element, is used for sending a notification message when the association mode of current information stream node is identified as Second Type, and then described the second start unit specifically is used for:
Association mode at current information stream node is that Second Type and current information stream node are when presetting the node that sends a notification message the latest in the associated treatment set of node, starts the whole nodes in the default processing node collection to be synergistic.
9. device according to claim 6, it is characterized in that, described device also comprises the first judging unit, be used for behind the current information stream node that obtains from default associated treatment set of node the process information task, judging whether described current information stream node has virtual tag, described virtual tag is used for mark and processes the information flow node that the information task process is skipped, if not, then trigger recognition unit.
10. device according to claim 6, it is characterized in that, described device also comprises the second judging unit, be used for behind the current information stream node that obtains from default associated treatment set of node the process information task, judging whether described current information stream node had started information handling task, if not, then trigger recognition unit.
CN201210358825.1A 2012-09-24 2012-09-24 Cooperative processing method and device of multiple information flow nodes Expired - Fee Related CN102902574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210358825.1A CN102902574B (en) 2012-09-24 2012-09-24 Cooperative processing method and device of multiple information flow nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210358825.1A CN102902574B (en) 2012-09-24 2012-09-24 Cooperative processing method and device of multiple information flow nodes

Publications (2)

Publication Number Publication Date
CN102902574A true CN102902574A (en) 2013-01-30
CN102902574B CN102902574B (en) 2015-03-25

Family

ID=47574820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210358825.1A Expired - Fee Related CN102902574B (en) 2012-09-24 2012-09-24 Cooperative processing method and device of multiple information flow nodes

Country Status (1)

Country Link
CN (1) CN102902574B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721547A (en) * 2016-01-20 2016-06-29 北京京东尚科信息技术有限公司 Method and device for cooperative processing business
CN106327143A (en) * 2016-08-05 2017-01-11 东软集团股份有限公司 Method and apparatus for node in flow
CN111080250A (en) * 2019-12-10 2020-04-28 东软集团股份有限公司 Flow backspacing compensation method and device, storage medium and electronic equipment
CN111612424A (en) * 2020-05-21 2020-09-01 浩云科技股份有限公司 Flow management method and device based on free task node and readable storage medium
CN113434323A (en) * 2021-06-28 2021-09-24 浙江大华技术股份有限公司 Task flow control method of data center station and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093445A (en) * 2007-07-27 2007-12-26 中国科学院软件研究所 Multistep prediction method and system based on automatic mining sequential data in software procedure
CN101615139A (en) * 2009-08-04 2009-12-30 南京大学 The task cooperation method that sequential logic drives under the inter-organization synergetic environment
US20110067030A1 (en) * 2009-09-16 2011-03-17 Microsoft Corporation Flow based scheduling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093445A (en) * 2007-07-27 2007-12-26 中国科学院软件研究所 Multistep prediction method and system based on automatic mining sequential data in software procedure
CN101615139A (en) * 2009-08-04 2009-12-30 南京大学 The task cooperation method that sequential logic drives under the inter-organization synergetic environment
US20110067030A1 (en) * 2009-09-16 2011-03-17 Microsoft Corporation Flow based scheduling

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721547A (en) * 2016-01-20 2016-06-29 北京京东尚科信息技术有限公司 Method and device for cooperative processing business
CN105721547B (en) * 2016-01-20 2019-05-31 北京京东尚科信息技术有限公司 The method and apparatus for cooperateing with processing business
CN106327143A (en) * 2016-08-05 2017-01-11 东软集团股份有限公司 Method and apparatus for node in flow
CN106327143B (en) * 2016-08-05 2020-07-31 东软集团股份有限公司 Method and apparatus for nodes in a flow
CN111080250A (en) * 2019-12-10 2020-04-28 东软集团股份有限公司 Flow backspacing compensation method and device, storage medium and electronic equipment
CN111080250B (en) * 2019-12-10 2023-04-18 东软集团股份有限公司 Flow backspacing compensation method and device, storage medium and electronic equipment
CN111612424A (en) * 2020-05-21 2020-09-01 浩云科技股份有限公司 Flow management method and device based on free task node and readable storage medium
CN111612424B (en) * 2020-05-21 2024-03-19 浩云科技股份有限公司 Flow management method and device based on free task node and readable storage medium
CN113434323A (en) * 2021-06-28 2021-09-24 浙江大华技术股份有限公司 Task flow control method of data center station and related device

Also Published As

Publication number Publication date
CN102902574B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
EP3360314B1 (en) Natural language processing for session establishment with service providers
CN107277086B (en) Service processing system, service processing method and service updating method
US10019717B2 (en) Prioritizing threads for agent routing
CN102902574B (en) Cooperative processing method and device of multiple information flow nodes
CN105827428A (en) Management method and device of asset information
CN106230922A (en) A kind of news subscribing method, message production unit and message reception units
CN108090664A (en) A kind of workflow adaptation dispatching method, device, equipment and storage medium
CN105389160A (en) Information issuing method and device
CN109309712A (en) Data transmission method, server and the storage medium called based on interface asynchronous
CN109981303B (en) Conference information pushing method and device, storage medium and terminal equipment
CN112740323B (en) Voice understanding method and device
CN110781180A (en) Data screening method and data screening device
CN106028306A (en) Method and device for restoring factory settings of terminal equipment and terminal equipment
CN108574718B (en) Cloud host creation method and device
CN108833371A (en) A kind of method of information exchange, client, server and system
CN110471780A (en) Distributed event processing unit, terminal and computer storage medium
CN108881766A (en) Method for processing video frequency, device, terminal and storage medium
CN105573934B (en) Method and device for operating multi-system slave device to access master device through USB connection
WO2016184341A1 (en) Method and apparatus for processing service
CN109558222B (en) Batch business process monitoring method and device, computer and readable storage medium
CN110516176A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of user's request
CN106372857A (en) Method and system for automatically establishing project
CN112291254B (en) Message processing method and device for reliable transaction
CN109743248A (en) Content delivery method, device, terminal, server and storage medium
CN105430153A (en) Voice reminding information generation method and device, and voice reminding method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150325

Termination date: 20210924