CN102902574B - 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
CN102902574B
CN102902574B CN201210358825.1A CN201210358825A CN102902574B CN 102902574 B CN102902574 B CN 102902574B CN 201210358825 A CN201210358825 A CN 201210358825A CN 102902574 B CN102902574 B CN 102902574B
Authority
CN
China
Prior art keywords
node
information
task
current information
information stream
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.)
Expired - Fee Related
Application number
CN201210358825.1A
Other languages
Chinese (zh)
Other versions
CN102902574A (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

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, particularly relates to a kind of cooperative processing method and device thereof of multi-information flow node.
Background technology
Along with the development of information technology, information flow product is used widely.Information flow product carries out stepwise enforcement to information handling task, is realized the process of whole information handling task by the process of each node, and this mode simplifies the processing procedure of information handling task, reduces process complexity with the disposal ability of disperseing.Each node on information flow product is called information flow node.Based on the complexity of information handling task, incidence relation may be there is in an information flow node with other information flow nodes, such as ordinal relation, namely the task process of certain information flow node could start after needing the task process of other nodes by the time to complete, also such as synchronized relation, namely the task process of certain information flow node needs to carry out with other synchronisation of nodes.For guaranteeing the information flow successful operation between this information flow node with incidence relation, the coordination system must be provided, with the collaborative internodal task process of each information flow.
The difficult point of the internodal associated treatment of information flow is the diversity of incidence relation between information flow node.See Fig. 1 (a) ~ (e), the figure shows 5 kinds of comparatively common association modes, that is: multiple parallel branch of same information flow all complete after startup subsequent treatment; Information flow node in the multiple parallel branch of same information flow need start simultaneously; Information flow node in certain parallel branch of same information flow need to wait for other branch nodes complete after startup; The information flow node of different information flow need start simultaneously; Information flow node in an information flow node need wait for the information flow node in other information flows complete after startup.Current information flow product all supports the association mode of Fig. 1 (a), and under other association modes, if certain information flow node can not correctly perform, the information handling task comprising this information flow node processes again by out of court, under different mode, different flow process (information flow node) will be run according to respective independently mode, thus cause the overall treatment efficiency of information handling task low.In addition, for the special case occurred in information flow, such as information flow node rollback, node such as to skip at the operation, and existing information flow product cannot realize 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, to adapt to the associated treatment needs between information flow node under multiple association mode, thus improve the treatment effeciency of information handling task generally.
The cooperative processing method of the multi-information flow node that the embodiment of the present application provides comprises:
Obtain the current information stream node of process information task from default associated treatment set of node;
Identify the type of the association mode of current information stream node, described association mode be an information flow node and other information flow node processing information tasks time sequential relationship;
If the association mode of current information stream node is the first kind, start current information stream node then start the complete information task of other node processing presetting other nodes in associated treatment set of node or concentrate in default associated treatment after the complete information task of current information stream node processing after, the described first kind is that an information flow node starts after another or multiple information flow node complete information task process;
If the association mode of current information stream node is Second Type, then judge whether current information stream node is the node being identified as Second Type in default associated treatment set of node the latest, if, then start the whole nodes preset in processing node collection to be synergistic, described Second Type is an information flow node and another or the process of multiple information flow synchronisation of nodes log-on message task.
Preferably, if the association mode of described current information stream node is the first kind, after the complete information task of other node processing that default associated treatment is concentrated, starts current information stream node, specifically comprise:
The notification message sent after the complete information task of other node processing that the default associated treatment of reception is concentrated;
When the association mode of current information stream node is identified as the first kind, judge whether few than the node in default associated treatment set of node one of the quantity of the notification message received, if so, then start current information stream node.
Preferably, if the association mode of described current information stream node is Second Type, then judge whether current information stream node is the node being identified as Second Type in default associated treatment set of node the latest, if, then start the whole nodes preset in 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 whether current information stream node is the node sent a notification message the latest in the node of process to be synergistic, if so, then start the whole nodes preset in processing node collection to be synergistic.
Preferably, described method also comprises: after obtain the current information stream node by process information task from default associated treatment set of node, judge whether described current information stream node has virtual tag, described virtual tag is for marking the information flow node skipped in process information task process, if not, then the step of the type of the association mode identifying current information stream node is performed.
Preferably, described method also comprises: after obtain the current information stream node by process information task from default associated treatment set of node, judge whether described current information stream node started information handling task, if not, then the step of the type of the association mode identifying current information stream node is performed.
The embodiment of the present application additionally 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, for obtaining the current information stream node of process information task from default associated treatment set of node;
Described recognition unit, for identifying the type of the association mode of current information stream node, described association mode be an information flow node and other information flow node processing information tasks time sequential relationship;
Described first start unit, for being the first kind at the association mode of current information stream node and after the complete information task of current information stream node processing, start other nodes preset in associated treatment set of node, or, after the association mode of current information stream node is the first kind and presets the concentrated complete information task of other node processing of associated treatment, start current information stream node, the described first kind is that an information flow node starts after another or multiple information flow node complete information task process;
Described second start unit, for being Second Type at the association mode of current information stream node and current information stream node is when being identified as the node of Second Type the latest in default associated treatment set of node, start the whole nodes preset in processing node collection to be synergistic, described Second Type is an information flow node and another or the process of multiple information flow synchronisation of nodes log-on message task.
Preferably, described device also comprises receiving element, for the notification message sent after receiving the complete information task of other node processing that default associated treatment concentrates, then described first start unit specifically for:
When the association mode of current information stream node is identified as the first kind and the number ratio of the notification message received presets few one of node in associated treatment set of node, start current information stream node.
Preferably, described device also comprises transmitting element, for sending a notification message when the association mode of current information stream node is identified as Second Type, then described second start unit specifically for:
When the association mode of current information stream node is Second Type and current information stream node is the node sent a notification message the latest in default associated treatment set of node, start the whole nodes preset in processing node collection to be synergistic.
Preferably, described device also comprises the first judging unit, for judging after obtain the current information stream node by process information task from default associated treatment set of node whether described current information stream node has virtual tag, described virtual tag is for marking the information flow node skipped in process information task process, if not, then recognition unit is triggered.
Preferably, described device also comprises the second judging unit, for judging after obtain the current information stream node by process information task from default associated treatment set of node whether described current information stream node started information handling task, if not, then triggered recognition unit.
The embodiment of the present application obtain preset information flow node in associated treatment set of node as current information stream node after, its association mode type is identified, then carry out different process according to different types: if type is " notice start " type, then after the complete information task of current information stream node processing, start other nodes in associated treatment set of node or start current information stream node after the complete information task of other node processing concentrated in associated treatment; If type is " synchronous averaging " type, then judge whether current information stream node is the node be identified the latest in associated treatment set of node, if so, then start whole node processing information tasks of process to be synergistic.Compared with prior art, the embodiment of the present application abandoned relevant mould according to the existing way of respective independent mode process, but according to the feature of association mode, various association mode is summed up as two types, and then take corresponding processing mode for different types, adapt to the information task process under multi-information flow node association mode variation environment.In addition, the embodiment of the present application, for specific information stream mode such as node jump, node rollbacks, by judging virtual signage or the whether mode such as instantiation of information flow node, gives good solution.
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, the accompanying drawing that the following describes is only some embodiments recorded in 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 these accompanying drawings.
Fig. 1 (a) ~ (e) is five kinds of association mode schematic diagrames common in multi-information flow nodal information task processes;
Fig. 2 is the cooperative processing method flow chart of the multi-information flow node of the embodiment of the present application one;
Fig. 3 is the cooperative processing method flow chart 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 process;
Fig. 5 is the structured flowchart of the associated treatment device of the multi-information flow node of the embodiment of the present application three.
Detailed description of the invention
Technical scheme in the application is understood better in order to make those skilled in the art person, 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 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 should belong to the scope of the application's protection.
See 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: obtain the current information stream node of process information task from default associated treatment set of node;
" associated treatment " is for " independent process ": the information flow node of independent process information task does not need to rely on other information flow nodes or do not relied on relations such as (be called incidence relation) interdepending between this information flow node, constraints by other information flow nodes and complete the process of information task independently, and it is according to the process 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, or retrain other information flow nodes, therefore, in information task processing procedure, the information flow node that these have constraint or restrained relation must be worked in coordination with, with completing smoothly of guarantee information Processing tasks.The node of associated treatment can be specified before user is information handling task, also can identify according to pre-conditioned the node needing associated treatment by automation equipment according to service needed from information flow, these nodes are integrated among associated treatment set of node.When the information flow of process information task relates to normal information stream node, such as independent process type information flow node, then process according to normal operation flow; When the information flow of process information task relates to associated treatment node, then in the associated treatment set of node preset, read associated treatment node, using this node as current information stream node.
In actual application, associated treatment set of node is reflected by definition associated treatment definition list.Associated treatment definition list can arrange multiple attribute field, for characterizing the incidence relation between the member of associated treatment set of node and each member, such as can comprise: associated treatment set of node mark, each information flow node identification, process identification in associated treatment set of node, whether to wait for, wherein: associated treatment set of node identifies, for identifying each set of node when comprising multiple associated treatment set of node; Process identification, for identifying the information flow described in each information flow node; Whether wait for, be directly start or need to wait for that the triggering of other node starts for identification information stream node.
Step S202: the type identifying the association mode of current information stream node, described association mode be an information flow node and other information flow node processing information tasks time sequential relationship;
After focusing on current information stream node, the present embodiment needs the association mode type identifying current information stream node, association mode embodies the sequential relationship of this information flow node in process information task process and between other information flow nodes, these sequential relationships mainly comprise two types: one has been startup type, namely the information task process of this information flow node needs to wait for that the task process of other one or more information flow node could start after completing (the information flow node 2 as in Fig. 1 (c)), or just start the task process (as the information flow node 3 in Fig. 1 (e) and information flow node 5) of other other information flow nodes one or more after the information task process of this information flow node completes, this relation can be embodied between the two or more information flow nodes in an information flow (as Fig. 1 (a) ~ (c)), also can be embodied in belong to different information flow information flow node between (as Fig. 1 (d), (e)), two is synchronous averaging types, namely the information task process of this information flow node needs the task process synchronous averaging with other one or more information flow node, similarly, this relation can be embodied between the two or more information flow nodes in an information flow, also can be embodied in belong to different information flow information flow node between.In actual application, also may there is the mixed type sequential relationship (as Fig. 1 (c), (e)) be combined into by above-mentioned two types.
Step S203: if the association mode of current information stream node is the first kind, start current information stream node then start the complete information task of other node processing presetting other nodes in associated treatment set of node or concentrate in default associated treatment after the complete information task of current information stream node processing after, the described first kind is that an information flow node starts after another or multiple information flow node complete information task process;
Through association mode type identification step, if the association mode of current information stream node is the first kind, namely startup type is completed, then there are two kinds of situations: one is current information stream node is active node, the pass of other nodes namely in current information stream node and associated treatment set of node is the process of other information flow nodes ability log-on message tasks after the task process of current information stream node completes; Another kind is current information stream node is passive node, the pass of other nodes namely in current information stream node and associated treatment set of node be the task process of current information stream node need other information flow nodes finish the work process after could start.For dissimilar, there is difference in processing mode: for the former, after the complete information task of current information stream node processing, namely starts the task process of other nodes preset in associated treatment set of node; For the latter, after the complete information task of other node processing that default associated treatment is concentrated, start current information stream node.It should be noted that: according to the execution flow process of business, first node in same information flow can be only active node, namely the task process of this node does not need to wait for that other node tasks execute rear startup, end-node in same information flow can be only passive node, namely the task process of this node does not need the task process notifying other nodes after completing, if but the information flow of the business of execution comprises multiple, 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, then judge whether current information stream node is the node being identified as Second Type in default associated treatment set of node the latest, if, then start the whole nodes preset in processing node collection to be synergistic, described Second Type is an information flow node and another or the process of multiple 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, i.e. synchronous averaging type, then illustrate that this information flow node and the task process of other nodes in associated treatment set of node need synchronously to carry out.Under synchronous averaging type, namely the process of full detail stream node is started after not information flow node is identified as Second Type, at this moment also need to judge that current information stream node is identified as the time of Second Type, if this time be in associated treatment set of node the latest, then illustrate that other nodes of associated treatment set of node are stored in wait state, " identification " of current information stream node can trigger the process of the information task starting all nodes in associated treatment set of node; If this time be not in associated treatment set of node the latest, the node also existing in associated treatment set of node and do not have as " current information stream node " is then described, current information stream node will be in wait state, until the node being identified as Second Type in associated treatment set of node the latest triggers, just carry out the process of information task.
The present embodiment obtain preset information flow node in associated treatment set of node as current information stream node after, its association mode type is identified, then carry out different process according to different types: if type is " completing startup " type, then after the complete information task of current information stream node processing, start other nodes in associated treatment set of node or start current information stream node after the complete information task of other node processing concentrated in associated treatment; If type is " synchronous averaging " type, then judge whether current information stream node is the node be identified the latest in associated treatment set of node, if so, then start whole node processing information tasks of process to be synergistic.Compared with prior art, the present embodiment abandoned relevant mould according to the existing way of respective independent mode process, but according to the feature of association mode, various association mode is summed up as two kinds of fundamental types, and then take corresponding processing mode for different types, adapt to the information task process under multi-information flow node association mode variation environment thus, improve the treatment effeciency of information handling task generally.
On above-described embodiment basis, can also be made some and improve, thus form the cooperative processing method embodiment (embodiment two) of another multi-information flow node of the application.See 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 is the situation of passive node for current information stream node, and the mode that other nodes in this information flow node and associated treatment set of node carry out associated treatment can also be carried out in accordance with the following steps:
Step S3031: the notification message sent after the complete information task of other node processing that the default associated treatment of reception is concentrated;
Other nodes in the present embodiment in associated treatment set of node are when it is as " current information stream node ", and it sends a notification message after processing information task, 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, judges whether few than the node in default associated treatment set of node one of the quantity of the notification message received, and if so, then starts current information stream node;
Node in associated treatment set of node can be divided into two classes according to whether being in " current ": one is the current information stream node be focused, two is other information flow nodes be not focused, when in the processing procedure at current information stream node, if when the quantity of the notification message received is N-1 (N is the number of nodes in associated treatment set of node), illustrate that other information flow nodes send a notification message all, then can start the task process of current information stream node.
Improved procedure two: in the step S204 of embodiment one, be the task process of the whole nodes be identified as the latest in default associated treatment set of node in the default processing node collection to be synergistic of node startup of Second Type for current information stream node, 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 whether current information stream node is the node sent a notification message the latest in the node of process to be synergistic, if so, then starts the whole nodes preset in processing node collection to be synergistic.
With the form of receiving notice message, above-mentioned improved procedure one judges whether other information flow nodes in an associated treatment set of node except current information stream node process information task, above-mentioned improved procedure two judges current information stream node whether as the node identified the latest in associated treatment set of node by the notification message sent, these improved procedures make the associated treatment process between multiple information flow node become simple information interactive process, thus facilitate the internodal task process of the information flow with incidence relation.
In actual application, associated treatment example table can also be generated, for recording the task treatment state of each node in associated treatment set of node according to above by message (comprising the notification message sent after the identified association mode type of current information stream node under the notification message and " synchronous averaging type " that other nodes of completing node tasks process in associated treatment set of node under " complete start type " send).This associated treatment example table can arrange multiple attribute field, such as cooperation service major key, associated treatment set of node mark, process identification, node identification etc., wherein: associated treatment major key, the node of associated treatment is needed for unique identification in process information task process; Associated treatment set of node identifies, for identifying the associated treatment set of node at current information stream node place; Process identification, for identifying the information flow at current information stream node place: node identification, for identifying the information flow node in the associated treatment set of node that sends a notification message.After associated treatment example table is set, each information flow node in associated treatment set of node is once send notice, then can insert according to this notice the record that comprises above-mentioned field in this example table, thus the state of each node in associated treatment set of node can be known by this table.
Aforementioned two embodiments describe the internodal cooperative processing method of multi-information flow in the information flow normally circulation situation of process information task, but, in actual application, information flow may occur that special flow turns over journey, such as there is " node jump ", namely some node in information flow is not performed (focusing), as the information flow node 2 in Fig. 4 (a), in this case, other nodes in the associated treatment set of node that this node of all waits triggers cannot start, thus have influence on the normal process of information task.Also such as, occur " node rollback ", namely some node in some information flow is rejected because a variety of causes meets with, as the information flow node 3 in Fig. 4 (b), in this case, because the task process of other synchronization nodes in associated treatment set of node terminates all, reject starting point and will forever cannot start with the information flow node rejected in terminal.Special flow for these information flows turns over journey, this application provides corresponding solution:
Situation for node jumps: system will inquire about the information flow node skipped one by one, and judge whether these nodes skipped belong to the node in associated treatment set of node, if belonged to, then virtual tag is carried out to this node, if adopt the mode of associated treatment example table to record the state of node, system will generate a virtual record for this node, and will be inserted among associated treatment example table by this record.Based on this, the associated treatment mode of multi-information flow node when the application jumps for node is as follows:
After obtain the current information stream node by process information task from default associated treatment set of node, judge whether described current information stream node has virtual tag, if not, then perform the step of the type of the association mode identifying current information stream node.
Situation for node rollback: system will inquire about the information flow node between rollback starting point and rollback terminal one by one, and judge whether these nodes skipped belong to the node in associated treatment set of node, if belonged to, system to inquire about under current business (the business major key in associated treatment example table) whether executed current information stream node, if, illustrate that current information stream node is the node again performed, no longer need Collaborative Control, normally start.Can process in the following manner:
After obtain the current information stream node by process information task from default associated treatment set of node, judge whether described current information stream node started information handling task, if not, then the step of the type of the association mode identifying current information stream node is performed.
Foregoing teachings is all the descriptions to the application's embodiment of the method, correspondingly, present invention also provides the associated treatment device embodiment (embodiment three) of multi-information flow node.See 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, first start unit 503 and the second start unit 504, wherein:
Acquiring unit 501, for obtaining the current information stream node of process information task from default associated treatment set of node;
Recognition unit 502, for identifying the type of the association mode of current information stream node, described association mode be an information flow node and other information flow node processing information tasks time sequential relationship;
First start unit 503, for being the first kind at the association mode of current information stream node and after the complete information task of current information stream node processing, start other nodes preset in associated treatment set of node, or, after the association mode of current information stream node is the first kind and presets the concentrated complete information task of other node processing of associated treatment, start current information stream node, the described first kind is that an information flow node starts after another or multiple information flow node complete information task process;
Second start unit 504, for being Second Type at the association mode of current information stream node and current information stream node is when being identified as the node of Second Type the latest in default associated treatment set of node, start the whole nodes preset in processing node collection to be synergistic, described Second Type is an information flow node and another or the process of multiple information flow synchronisation of nodes log-on message task.
The course of work of this device embodiment is: the information flow node first obtained from default associated treatment set of node by acquiring unit 501 is as current information stream node, then by recognition unit 502, its association mode type is identified, carry out different process according to different types: if type is " completing startup " type, then after the complete information task of current information stream node processing, start other nodes in associated treatment set of node by the first start unit 503 or start current information stream node after the complete information task of other node processing concentrated in associated treatment; If type is " synchronous averaging " type, then judge whether current information stream node is the node be identified the latest in associated treatment set of node by the second start unit, if so, then start whole node processing information tasks of process to be synergistic.
Compared with prior art, the embodiment of the present application abandoned relevant mould according to the existing way of respective independent mode process, but according to the feature of association mode, various association mode is summed up as two types, and then take corresponding processing mode for different types, adapt to the information task process under multi-information flow node association mode variation environment.
Also receiving element is comprised in said apparatus embodiment, for the notification message sent after receiving the complete information task of other node processing that default associated treatment concentrates, then described first start unit specifically for: when the association mode of current information stream node is identified as the first kind and the number ratio of the notification message received presets few one of node in associated treatment set of node, start current information stream node.Said apparatus embodiment also comprises transmitting element, for sending a notification message when the association mode of current information stream node is identified as Second Type, then described second start unit specifically for: when the association mode of current information stream node is Second Type and current information stream node is the node sent a notification message the latest in default associated treatment set of node, start the whole nodes preset in processing node collection to be synergistic.By increasing receiving element, thus judge whether other information flow nodes in an associated treatment set of node except current information stream node process information task with the form of receiving notice message, by increasing transmitting element, thus judge current information stream node whether as the node identified the latest in associated treatment set of node by the notification message sent, these modes make the associated treatment process between multiple information flow node become simple information interactive process, thus facilitate the internodal task process of the information flow with incidence relation.
Aforementioned means embodiment is the structure in the information flow normally circulation situation of process information task, in actual application, also may there are some special circulation control logics in information flow, such as node jumps, node rollback etc., for these situations, present invention also provides corresponding solution: the situation that node is jumped, this device embodiment can comprise the first judging unit 505, for judging after obtain the current information stream node by process information task from default associated treatment set of node whether described current information stream node has virtual tag, described virtual tag is for marking the information flow node skipped in process information task process, if not, then trigger recognition unit, for the situation of node rollback, this device embodiment can comprise the second judging unit 506, for judging after obtain the current information stream node by process information task from default associated treatment set of node whether described current information stream node started information handling task, if not, then recognition unit is triggered.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Embodiment in present specification adopts the mode of going forward one by one to describe, between embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple NE.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The application can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the DCE comprising above any system or equipment etc. based on microprocessor.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these DCEs, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
The above is only the detailed description of the invention of the application; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the protection domain of the application.

Claims (10)

1. a cooperative processing method for multi-information flow node, is characterized in that, the method comprises:
Obtain the current information stream node of process information task from default associated treatment set of node;
After focusing on current information stream node, identify the type of the association mode of current information stream node, described association mode be an information flow node and other information flow node processing information tasks time sequential relationship;
If the association mode of current information stream node is the first kind, after the process that then notice starts the information task of other nodes preset in associated treatment set of node after the complete information task of current information stream node processing or the complete information task of other node processing concentrated in default associated treatment, notice starts the process of the information task of current information stream node, and the described first kind is that an information flow node starts after another or multiple information flow node complete information task process;
If the association mode of current information stream node is Second Type, then judge whether current information stream node is the node being identified as Second Type in default associated treatment set of node the latest, if, then notice starts the process of the information task of the whole nodes preset in processing node collection to be synergistic, and described Second Type is an information flow node and another or the process of multiple information flow synchronisation of nodes log-on message task;
By the process realization process to whole information flow task of each information flow node to information 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, specifically comprise after the complete information task of other node processing that default associated treatment is concentrated:
The notification message sent after the complete information task of other node processing that the default associated treatment of reception is concentrated;
When the association mode of current information stream node is identified as the first kind, judge whether few than the node in default associated treatment set of node one of the quantity of the notification message received, 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, then judge whether current information stream node is the node being identified as Second Type in default associated treatment set of node the latest, if, then start the whole nodes preset in 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 whether current information stream node is the node sent a notification message the latest in the node of process to be synergistic, if so, then start the whole nodes preset in processing node collection to be synergistic.
4. method according to claim 1, it is characterized in that, described method also comprises: after obtain the current information stream node by process information task from default associated treatment set of node, judge whether described current information stream node has virtual tag, described virtual tag is for marking the information flow node skipped in process information task process, if not, then the step of the type of the association mode identifying current information stream node is performed.
5. method according to claim 1, it is characterized in that, described method also comprises: after obtain the current information stream node by process information task from default associated treatment set of node, judge whether described current information stream node started information handling task, if not, then the step of the type of the association mode identifying current information stream node is performed.
6. an associated treatment device for 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, for obtaining the current information stream node of process information task from default associated treatment set of node;
Described recognition unit, for after focusing on current information stream node, identifies the type of the association mode of current information stream node, described association mode be an information flow node and other information flow node processing information tasks time sequential relationship;
Described first start unit, for being the first kind at the association mode of current information stream node and after the complete information task of current information stream node processing, notice starts the process of the information task of other nodes preset in associated treatment set of node, or, after the association mode of current information stream node is the first kind and presets the concentrated complete information task of other node processing of associated treatment, notice starts the process of the information task of current information stream node, the described first kind is that an information flow node starts after another or multiple information flow node complete information task process,
Described second start unit, for being Second Type at the association mode of current information stream node and current information stream node is when being identified as the node of Second Type the latest in default associated treatment set of node, notice starts the process of the information task of the whole nodes preset in processing node collection to be synergistic, and described Second Type is an information flow node and another or the process of multiple information flow synchronisation of nodes log-on message task;
Described device is by the process realization process to whole information flow task of each information flow node to information task.
7. device according to claim 6, is characterized in that, described device also comprises receiving element, for the notification message sent after receiving the complete information task of other node processing that default associated treatment concentrates, then described first start unit specifically for:
When the association mode of current information stream node is identified as the first kind and the number ratio of the notification message received presets few one of node in associated treatment set of node, start current information stream node.
8. device according to claim 6, is characterized in that, described device also comprises transmitting element, for sending a notification message when the association mode of current information stream node is identified as Second Type, then described second start unit specifically for:
When the association mode of current information stream node is Second Type and current information stream node is the node sent a notification message the latest in default associated treatment set of node, start the whole nodes preset in 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, for judging after obtain the current information stream node by process information task from default associated treatment set of node whether described current information stream node has virtual tag, described virtual tag is for marking the information flow node skipped in process information task process, if not, then recognition unit is triggered.
10. device according to claim 6, it is characterized in that, described device also comprises the second judging unit, for judging after obtain the current information stream node by process information task from default associated treatment set of node whether described current information stream node started information handling task, if not, then recognition unit is triggered.
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 CN102902574A (en) 2013-01-30
CN102902574B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721547B (en) * 2016-01-20 2019-05-31 北京京东尚科信息技术有限公司 The method and apparatus for cooperateing with processing business
CN106327143B (en) * 2016-08-05 2020-07-31 东软集团股份有限公司 Method and apparatus for nodes in a flow
CN111080250B (en) * 2019-12-10 2023-04-18 东软集团股份有限公司 Flow backspacing compensation method and device, storage medium and electronic equipment
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

Citations (2)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8332862B2 (en) * 2009-09-16 2012-12-11 Microsoft Corporation Scheduling ready tasks by generating network flow graph using information receive from root task having affinities between ready task and computers for execution

Patent Citations (2)

* 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

Also Published As

Publication number Publication date
CN102902574A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
US10129264B2 (en) Method and apparatus for implementing document sharing between user groups
CN102902574B (en) Cooperative processing method and device of multiple information flow nodes
US20190158626A1 (en) Method, apparatus and computer readable storage medium for processing service
CN103441861B (en) A kind of data record generation method and device
CN105224396B (en) A kind of business data processing method and device
CN105827428A (en) Management method and device of asset information
CN107911483A (en) A kind of information transferring method and device
CN105389160A (en) Information issuing method and device
CN108574718B (en) Cloud host creation method and device
CN108833371A (en) A kind of method of information exchange, client, server and system
CN106993015A (en) Synchronous method, system and the security server of transaction
CN109495350B (en) Office data checking method, office data checking device and storage medium
CN107172112B (en) Computer file transmission method and device
CN110471780A (en) Distributed event processing unit, terminal and computer storage medium
US20130090760A1 (en) Apparatus and method for managing robot components
CN113626002A (en) Service execution method and device
CN106257520A (en) Resolve answer method and system
US20200042940A1 (en) Interactive apparatus, control apparatus, interactive system, interactive method, and control method
CN103490984B (en) A kind of method and apparatus obtaining user profile
US20150106899A1 (en) System and method for cross-cloud identity matching
CN102882910A (en) Distributed operation system applied to image monitoring platform
WO2016184341A1 (en) Method and apparatus for processing service
CN108427599A (en) Method, apparatus and storage medium is uniformly processed in asynchronous task
CN106933932B (en) Data processing method and device and application server

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