CN107220811A - The method and device of flow interior joint activation - Google Patents

The method and device of flow interior joint activation Download PDF

Info

Publication number
CN107220811A
CN107220811A CN201710395468.9A CN201710395468A CN107220811A CN 107220811 A CN107220811 A CN 107220811A CN 201710395468 A CN201710395468 A CN 201710395468A CN 107220811 A CN107220811 A CN 107220811A
Authority
CN
China
Prior art keywords
connecting line
activation
state
flow nodes
line
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
CN201710395468.9A
Other languages
Chinese (zh)
Other versions
CN107220811B (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.)
Hangzhou Di Mdt Infotech Ltd
Original Assignee
Hangzhou Di Mdt Infotech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Di Mdt Infotech Ltd filed Critical Hangzhou Di Mdt Infotech Ltd
Priority to CN201710395468.9A priority Critical patent/CN107220811B/en
Publication of CN107220811A publication Critical patent/CN107220811A/en
Application granted granted Critical
Publication of CN107220811B publication Critical patent/CN107220811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The embodiment of the present invention provides a kind of method and device of flow interior joint activation, and methods described includes:Current process node activates the corresponding logical process mode of each connecting line in its outlet set respectively;Each described connecting line according to its corresponding logical process mode, judges whether each described connecting line meets activation condition respectively;If the connecting line judges that it meets activation condition, the state of the connecting line is changed into state of activation, and send the corresponding flow nodes of the terminal of activation notification to the connecting line;After the corresponding flow nodes of the terminal of the connecting line receive the activation notification, the current state of line set is entered according to it, activation is determined if.Methods described has abandoned the mode of traditional Process-Oriented design of node flow, uses the design centered on " connecting line ", can greatly simplify the complexity of design and the realization of flow.

Description

The method and device of flow interior joint activation
Technical field
The present invention relates to computer application field, the method and device activated in particular to a kind of flow interior joint.
Background technology
Flow is made up of a series of flow nodes, and flow nodes are the objects of flow processing person's operation, according to flow The different operating and service data of processor, to decide whether the one or more links of activation subsequently.At present, common convection current Cheng Jianmo mode is centered on flow nodes, to judge that the condition whether next flow nodes activate is also between node Logical relation is foundation.But, under this implementation, the relation between flow nodes is very complicated, causes follow-up process node The condition of activation is also very complicated, easily error.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of method and device of flow interior joint activation, with Solve the above problems.
To achieve these goals, the technical scheme that the embodiment of the present invention is used is as follows:
In a first aspect, the embodiments of the invention provide a kind of method of flow interior joint activation, applied to procedural model, institute Stating procedural model includes multiple flow nodes and many connecting lines, and each flow nodes correspondence one enters line set and one Outlet set, each flow nodes it is corresponding enter line set be by using the flow nodes as terminal connecting line structure Into each corresponding outlet set of the flow nodes is every by the connecting line of the flow nodes as starting point is constituted The connecting line includes starting point, terminal and corresponding logical process method, and methods described includes:Current process node is activated respectively The corresponding logical process mode of each connecting line in its outlet set;Each described connecting line is respectively according to its corresponding logic Processing mode, judges whether each described connecting line meets activation condition;If the connecting line judges that it meets activation condition, The state of the connecting line is then changed into state of activation, and sends the corresponding flow section of the terminal of activation notification to the connecting line Point;After the corresponding flow nodes of the terminal of the connecting line receive the activation notification, the current of line set is entered according to it State, determines if activation.
Second aspect, the embodiments of the invention provide a kind of device of flow interior joint activation, applied to procedural model, institute Stating procedural model includes multiple flow nodes and many connecting lines, and each flow nodes correspondence one enters line set and one Outlet set, each flow nodes it is corresponding enter line set be by using the flow nodes as terminal connecting line structure Into each corresponding outlet set of the flow nodes is every by the connecting line of the flow nodes as starting point is constituted The connecting line includes starting point, terminal and corresponding logical process method, and described device includes:Active module, for currently flowing Cheng Jiedian activates the corresponding logical process mode of each connecting line in its outlet set respectively;Judge module, for each institute Connecting line is stated respectively according to its corresponding logical process mode, judges whether each described connecting line meets activation condition;First Processing module, if judging that it meets activation condition for the connecting line, the state of the connecting line is changed into activate shape State, and send the corresponding flow nodes of the terminal of activation notification to the connecting line;Second processing module, for when the connection The corresponding flow nodes of terminal of line are received after the activation notification, and the current state of line set is entered according to it, determine that it is No activation.
Compared with prior art, a kind of method and device of flow interior joint activation provided in an embodiment of the present invention, passes through Current process node activates the corresponding logical process mode of each connecting line in its outlet set respectively;Each described connecting line Respectively according to its corresponding logical process mode, judge whether each described connecting line meets activation condition;If the connecting line Judge that it meets activation condition, then the state of the connecting line is changed into state of activation, and send activation notification to the company The corresponding flow nodes of terminal of wiring;When the corresponding flow nodes of the terminal of the connecting line receive the activation notification Afterwards, the current state of line set is entered according to it, activation is determined if, this programme has abandoned the side of traditional Process-Oriented node Formula, uses the design centered on " connecting line ", can greatly simplify the complexity of design and the realization of flow.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of structured flowchart of user terminal provided in an embodiment of the present invention.
Fig. 2 is a kind of schematic diagram of procedural model provided in an embodiment of the present invention.
Fig. 3 is a kind of flow chart of the method for flow interior joint activation that first embodiment of the invention is provided.
Fig. 4 is a kind of schematic diagram for entering line set and outlet set for flow nodes that first embodiment of the invention is provided.
Fig. 5 is a kind of first pass figure of the method for flow interior joint activation that first embodiment of the invention is provided.
Fig. 6 is a kind of second flow chart of the method for flow interior joint activation that first embodiment of the invention is provided.
Fig. 7 is a kind of structured flowchart of the device for flow interior joint activation that second embodiment of the invention is provided.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 shows a kind of structured flowchart for the user terminal 100 that can be applied in the embodiment of the present invention.As shown in figure 1, User terminal 100 includes memory 102, storage control 104, one or more (one is only shown in figure) processors 106, outer If interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components are total by one or more communication Line/signal wire 116 is mutually communicated.
The flow interior joint activation that memory 102 can be used in storage software program and module, such as embodiment of the present invention Method and the corresponding programmed instruction/module of device, processor 106 is stored in software journey in memory 102 by operation Sequence and module, so as to perform various function application and data processing, such as flow interior joint provided in an embodiment of the present invention swashs Method living.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.In some implementations In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface simultaneously between user terminal 100 and user.Specifically, Touch Screen 114 shows video frequency output to user, and the contents of these video frequency outputs may include word, figure, video and its any Combination.
It is appreciated that the structure shown in Fig. 1 be only signal, user terminal 100 may also include it is more more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its Combination is realized.
Fig. 2 is referred to, Fig. 2 shows the schematic diagram of a procedural model.Include 10 flow sections in the procedural model Point, be respectively { A, B ..., H }, it is found by the applicant that in the model, if being used as process object using flow nodes, it is necessary to record institute There is the relation between flow nodes, such as A, to record A and B, C, D relation, to H, record H and E, F, I relation.
Further, the relation between each flow nodes is probably complicated:
(1) there is the permutation and combination relation of the "AND" and "or" between different flow nodes.For example, H nodes will be activated, then Need record " E nodes, which are performed, to be completed or (F nodes perform completion and inode performs completion) " this relation.Equally, for A nodes will be recorded " activation B, C, D entry condition ".
(2) each flow nodes need to record preamble flow nodes and the information of follow-up process node, i.e. direction relationses.
(3) procedural model is probably the structure of net, is not one tree merely.The subsequent node of such as C nodes is probably G Node, that is, correspond to the scene redirected.
Further, it is contemplated that flow nodes will also record the data of flow nodes in itself, for example, the place of the flow nodes People, form data, process limited, processing logic etc. are managed, therefore, the flow data structure of Process-Oriented design of node is doomed to be multiple Miscellaneous, to design, algorithm, safeguard it is all huge challenge.
The method of flow interior joint activation provided in an embodiment of the present invention can run on the user terminal 100 shown in Fig. 1 In.This method activates the corresponding logical process mode of each connecting line in its outlet set by current process node respectively; Each described connecting line according to its corresponding logical process mode, judges whether each described connecting line meets activation bar respectively Part;If the connecting line judges that it meets activation condition, the state of the connecting line is changed into state of activation, and send sharp Live and notify the corresponding flow nodes of terminal of the connecting line;When the corresponding flow nodes of the terminal of the connecting line are received After the activation notification, the current state of line set is entered according to it, determine if activation, this programme abandoned it is traditional towards The mode of flow nodes, uses the design centered on " connecting line ", can greatly simplify the complexity of design and the realization of flow Degree.
The method that the flow interior joint is activated is described in detail below.The method of flow interior joint activation is applied to Procedural model, the procedural model includes multiple flow nodes and many connecting lines, and each flow nodes correspondence one enters Line set and an outlet set, each flow nodes it is corresponding enter line set be by regarding the flow nodes as terminal Connecting line constitute, the corresponding outlet set of each flow nodes be by using the flow nodes as starting point connecting line Constitute, the every connecting line includes starting point, terminal and corresponding logical process method.Wherein, every connecting line connects this The starting point of line, the terminal of connecting line and corresponding logical process method are encapsulated, and the logical process mode of oneself is in oneself Portion computing is completed, and is not outwards exposed so that service logic becomes apparent from, and each connecting line only handles oneself business in itself and patrolled Volume, without considering the relation with other " connections ", realize more preferable encapsulation.Increase for flow in any flow nodes Plus, modification, delete and redirect, retract etc. that business is very convenient, need to only set up one new " connection ", modification, deletion are relatively " connection " answered.
Fig. 3 shows a kind of flow chart of the method for flow interior joint activation that first embodiment of the invention is provided, and please join Fig. 3 is read, the method for flow interior joint activation is run in above-mentioned user terminal, and this method includes:
Step S210, current process node activates the corresponding logical process side of each connecting line in its outlet set respectively Formula.
Fig. 4 is referred to, if current process node is N, current process node N outlet collection is combined into { connecting line ND, connection Line NE ..., connecting line NF }, each connecting line corresponds to a logical process mode, now, and activation outlet collection is combined into { connection Line ND, connecting line NE ..., connecting line NF } in the corresponding logical process mode of each connecting line.
Current process node activates the implementation of the corresponding logical process mode of each connecting line in its outlet set respectively Mode has a variety of, for example, it may be current process node activates the corresponding logic of each connecting line in its outlet set simultaneously Processing mode;Can also be that current process node activates the corresponding logical process side of each connecting line in its outlet set successively Formula.
As a kind of embodiment, if the corresponding outlet collection of current process node is combined into sky, the flow nodes terminate.
Step S220, each described connecting line judges each connection respectively according to its corresponding logical process mode Whether line meets activation condition.
Step S230, if the connecting line judges that it meets activation condition, is changed into sharp by the state of the connecting line State living, and send the corresponding flow nodes of the terminal of activation notification to the connecting line.
Continuation is illustrated with Fig. 4, successively according in outlet set { connecting line ND, connecting line NE ..., connecting line NF } The corresponding logical process mode of each connecting line, judges whether each connecting line meets activation condition, it is assumed that connecting line ND is met Activation condition, then be now changed into state of activation, and send activation by the corresponding flow nodes D of connecting line ND terminal state Notify the corresponding flow nodes D of terminal of the connecting line.It is understood that now, flow nodes D is that have received The notice that connecting line ND is activated, and be not equal to now flow nodes D and be activated, flow nodes D whether be activated, it is necessary to Further judged.
Step S240, after the corresponding flow nodes of the terminal of the connecting line receive the activation notification, according to it Enter the current state of line set, determine if activation.
Continuation is illustrated with Fig. 4, and flow nodes D have received the notice that connecting line ND is activated, due to flow nodes D Entering now only has a connecting line ND in line set, now, flow nodes D is activated.
Further, the connecting line more than one in line set is entered when the corresponding flow nodes correspondence of the terminal of connecting line When, as a kind of embodiment, referring to Fig. 5, the current state for entering line set according to it, determines if activation, bag Include:
Step S250, according to it is described enter line set in each connecting line state, and the logical operation between each connecting line Relation, it is determined that it is described enter line set current state.
As a kind of embodiment, referring to Fig. 6, step S250 can include:
Step S260, by it is described enter line set in each connecting line be grouped.
It can will enter each connecting line in line set to be grouped, wherein, the packet can be "or" group and "AND" group.Group also may be used Comprising group, to be a kind of recursive relation.
The condition that "or" group state is defined as " activating " is:As long as having line (or group) corresponding states in the group " to swash It is living ", then the state of the group is activation.
The condition that "AND" group state is defined as " activating " is:Institute wired (or group) corresponding connection status in group that and if only if For " activation ", then the state of the group is activation.
For example, it is assumed that the line set that enters of node 1 includes { L1, L2, L3, L4, L5, L6, L7, L8 }, wherein, to activate section Point 1 condition be:[L1&&L2) | | L3]s && [(L4&&L5&&L6) | | L7] &&L8, wherein , && represent "AND" relation, | | represent "or" relation.
Each connecting line for entering line set can be grouped, be divided into 3 groups, be respectively according to the activation condition:
Go1:[(L1&&L2)||L3]
Go2:[(L4&&L5&&L6)||L7]
Go3:L8
It can be found that now, Go1, Go2, the relation between these three packets of Go3 be logical operation relation be with relation, i.e., Enter line collection and be combined into "AND" group, the condition that "AND" group state is defined as " activating " is:As long as there is line (or group) correspondence shape in group State is " activation ", then the group is activated;
Further, this 3 packets inners, can further be divided, mark off each subgroup again.For example, Go1 can be further divided into Ga1 and Ga2 again:
Ga1:(L1&&L2)
Ga2:L3
Wherein, the logical operation relation between Ga1 and Ga2 is or relation that the Go1 groups are "or" group, and "or" group state is determined Justice is that the condition of " activation " is:As long as it is " activation " to have line (or group) corresponding states in group, then the group is activated.
Similarly, Go2 can be further divided into Ga3 and Ga4 again:
Ga3:(L4&&L5&&L6)
Ga4:L7
Wherein, the logical operation relation between Ga3 and Ga4 is or relation.
The like, Ga1, Ga3 can again be divided.And finally obtain each connection that each packet is included Logical relation between the state of line and each connecting line:
1)Ga1:"AND" group, including L1 and L2, when L1 and L2 states are simultaneously " activation ", Ga1 states are set to " activate ";
2)Ga3:"AND" group, including L4, L5, L6, when L4, L5, L6 state are simultaneously " activation ", Ga3 states are set to " swash It is living ";
3)Go1:"or" group, including group Ga1 and Ga2, as long as any one state of Ga1 and Ga2 is " activation ", Go1 states are " activation ";
4)Go2:"or" group, including group Ga3 and Ga4, as long as any one state of Ga3 and Ga4 is " activation ", Go2 states are " activation ".
5) enter line set activation condition eventually become Go1, Go2 and Go3 must while be state of activation, while this Determine that this enters whether the corresponding flow nodes of line set activate.
Step S270, respectively according to the logic being each grouped between the state of each connecting line included and each connecting line Relation, calculates the state being each grouped.
After acquisition is each grouped the logical relation between the state of each connecting line included and each connecting line, only need When the activation notification of connecting line is received in flow nodes, whether the activation condition of packet meets where calculating the connecting line, if The packet activation condition is met, then determines whether whether the activation condition for entering line set of the flow nodes meets.
Step S280, according to the state of each packet, it is determined that it is described enter line set current state.
If line set will be entered to divide for "or" group, there is line (or group) corresponding states in the "or" group " to swash It is living ", then it is activation that this, which enters the current state of line set,;
If line set will be entered to divide for "AND" group, institute wired (or group) corresponding connection in the "AND" group that and if only if State is " activation ", then it is activation that this, which enters the current state of line set,.
Step S260, if it is described enter line set current state be state of activation, by the terminal of connecting line correspondence Flow nodes activation.
It is understood that using this group of recursive method, can solve well flow nodes it is corresponding enter line collection The relation that arbitrary arrangement is combined between the connecting line of each in conjunction, and recurrence is a kind very ripe algorithm, in the absence of realizing difficult point, For example, just can easily be realized using the Composition patterns in Object-Oriented Design pattern.
As a kind of embodiment, methods described also includes:It is according to different business scenarios, each service node is abstract For the flow nodes, by the front and rear execution sequence between each service node it is abstract be the connecting line.
For example, for OA (Office Automation) office system, can by each approval node it is abstract be one Flow nodes, the tandem of each approval node can be with the abstract connecting line between each flow nodes.Similarly, Qi Taying It can also abstract be the flow nodes model with scene, and be judged using the method for above-mentioned flow interior joint activation in flow Whether each node activates.In this way, the use scope of the method for flow interior joint activation can further be increased.
The method of flow interior joint activation provided in an embodiment of the present invention, its outlet is activated by current process node respectively The corresponding logical process mode of each connecting line in set;Each described connecting line is respectively according to its corresponding logical process side Formula, judges whether each described connecting line meets activation condition;If the connecting line judges that it meets activation condition, by institute The state for stating connecting line is changed into state of activation, and sends the corresponding flow nodes of the terminal of activation notification to the connecting line;When The corresponding flow nodes of terminal of the connecting line are received after the activation notification, and the current state of line set is entered according to it, Activation is determined if, this programme has abandoned the mode of traditional Process-Oriented node, used setting centered on " connecting line " Meter, can greatly simplify the complexity of design and the realization of flow.
Referring to Fig. 7, being that the functional module of device 300 of the flow interior joint activation that second embodiment of the invention is provided is shown It is intended to.The device 300 of flow interior joint activation includes active module 310, judge module 320, first processing module 330, Second processing module 340.
Active module 310, activates that each connecting line in its outlet set is corresponding to patrol for current process node respectively Collect processing mode;
Judge module 320, for connecting line each described respectively according to its corresponding logical process mode, judges each institute State whether connecting line meets activation condition;
First processing module 330, if judging that it meets activation condition for the connecting line, by the connecting line State is changed into state of activation, and sends the corresponding flow nodes of the terminal of activation notification to the connecting line;
Second processing module 340, for leading to when the corresponding flow nodes of the terminal of the connecting line receive the activation After knowing, the current state of line set is entered according to it, activation is determined if.
As a kind of embodiment, the Second processing module 340 is additionally operable to enter the connection of each in line set according to Logical operation relation between the state of line, and each connecting line, it is determined that it is described enter line set current state;If it is described enter line collection The current state of conjunction is state of activation, then activates the corresponding flow nodes of the terminal of the connecting line.
As a kind of embodiment, the Second processing module 340, be additionally operable to by it is described enter line set in each connecting line Packet;Respectively according to the logical relation being each grouped between the state of each connecting line included and each connecting line, calculate every The state of individual packet;According to the state of each packet, it is determined that it is described enter line set current state.
As a kind of embodiment, described device also includes the 3rd processing module 350, if for current process node correspondence Outlet collection be combined into sky, then the flow nodes terminate.
As a kind of embodiment, described device also includes abstract module 360, for according to different business scenarios, inciting somebody to action Each abstract service node is the flow nodes, and the front and rear execution sequence between each service node is abstract for the connection Line.
Each module can be that now, above-mentioned each module can be stored in depositing for user terminal by software code realization above In reservoir 102.Each module can equally be realized by hardware such as IC chip above.
The technique effect of the device of flow interior joint that the embodiment of the present invention is provided activation, its realization principle and generation and Preceding method embodiment is identical, to briefly describe, and device embodiment part does not refer to part, refers in preceding method embodiment Corresponding contents.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and 3rd or the like relational terms be used merely to an entity or operation Made a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, article or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of method of flow interior joint activation, it is characterised in that applied to procedural model, the procedural model includes multiple Flow nodes and many connecting lines, each flow nodes correspondence one enter line set and an outlet set, each described Flow nodes it is corresponding enter line set be each flow nodes by being constituted the flow nodes as the connecting line of terminal Corresponding outlet set be by the connecting line of the flow nodes as starting point is constituted, every connecting line include starting point, Terminal and corresponding logical process method, methods described include:
Current process node activates the corresponding logical process mode of each connecting line in its outlet set respectively;
Each described connecting line according to its corresponding logical process mode, judges whether each described connecting line meets activation respectively Condition;
If the connecting line judges that it meets activation condition, the state of the connecting line is changed into state of activation, and send The corresponding flow nodes of terminal of activation notification to the connecting line;
After the corresponding flow nodes of the terminal of the connecting line receive the activation notification, the current of line set is entered according to it State, determines if activation.
2. according to the method described in claim 1, it is characterised in that the current state for entering line set according to it, determine it Whether activate, including:
According to it is described enter line set in each connecting line state, and the logical operation relation between each connecting line, it is determined that described Enter the current state of line set;
If it is described enter line set current state be state of activation, the corresponding flow nodes of the terminal of the connecting line are swashed It is living.
3. method according to claim 2, it is characterised in that enter the shape of each connecting line in line set described in the basis Logical operation relation between state, and each connecting line, it is determined that it is described enter line set current state, including:
By it is described enter line set in each connecting line be grouped;
Respectively according to the logical relation being each grouped between the state of each connecting line included and each connecting line, calculate each The state of packet;
According to the state of each packet, it is determined that it is described enter line set current state.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
If the corresponding outlet collection of current process node is combined into sky, the flow nodes terminate.
5. method according to any one of claim 1 to 4, it is characterised in that methods described also includes:
According to different business scenarios, by each service node it is abstract be the flow nodes, by between each service node Abstract front and rear execution sequence is the connecting line.
6. a kind of device of flow interior joint activation, it is characterised in that applied to procedural model, the procedural model includes multiple Flow nodes and many connecting lines, each flow nodes correspondence one enter line set and an outlet set, each described Flow nodes it is corresponding enter line set be each flow nodes by being constituted the flow nodes as the connecting line of terminal Corresponding outlet set be by the connecting line of the flow nodes as starting point is constituted, every connecting line include starting point, Terminal and corresponding logical process method, described device include:
Active module, the corresponding logical process side of each connecting line in its outlet set is activated for current process node respectively Formula;
Judge module, for connecting line each described respectively according to its corresponding logical process mode, judges each connection Whether line meets activation condition;
First processing module, if judging that it meets activation condition for the connecting line, the state of the connecting line is become For state of activation, and send the corresponding flow nodes of the terminal of activation notification to the connecting line;
Second processing module, for after the corresponding flow nodes of the terminal of the connecting line receive the activation notification, root Enter the current state of line set according to it, determine if activation.
7. device according to claim 6, it is characterised in that the Second processing module, is additionally operable to enter line according to Logical operation relation between the state of the connecting line of each in set, and each connecting line, it is determined that it is described enter line set current shape State;If it is described enter line set current state be state of activation, the corresponding flow nodes of the terminal of the connecting line are activated.
8. device according to claim 7, it is characterised in that the Second processing module, be additionally operable to by it is described enter line collection The connecting line of each in conjunction is grouped;Basis is each grouped patrolling between the state of each connecting line included and each connecting line respectively The relation of collecting, calculates the state being each grouped;According to the state of each packet, it is determined that it is described enter line set current state.
9. device according to claim 6, it is characterised in that described device also includes the 3rd processing module, if for working as The corresponding outlet collection of preceding flow nodes is combined into sky, then the flow nodes terminate.
10. the device according to any one of claim 6 to 9, it is characterised in that described device also includes abstract module, For according to different business scenarios, by each service node it is abstract be the flow nodes, by between each service node Abstract front and rear execution sequence is the connecting line.
CN201710395468.9A 2017-05-27 2017-05-27 Method and device for activating nodes in process Active CN107220811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710395468.9A CN107220811B (en) 2017-05-27 2017-05-27 Method and device for activating nodes in process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710395468.9A CN107220811B (en) 2017-05-27 2017-05-27 Method and device for activating nodes in process

Publications (2)

Publication Number Publication Date
CN107220811A true CN107220811A (en) 2017-09-29
CN107220811B CN107220811B (en) 2021-02-12

Family

ID=59946985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710395468.9A Active CN107220811B (en) 2017-05-27 2017-05-27 Method and device for activating nodes in process

Country Status (1)

Country Link
CN (1) CN107220811B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108335217A (en) * 2018-01-25 2018-07-27 中国平安财产保险股份有限公司 Simulation Claims Resolution method, apparatus, equipment and the computer storage media that vehicle is in danger
CN109104306A (en) * 2018-07-26 2018-12-28 东软集团股份有限公司 Process analytic method, device, computer readable storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530740A (en) * 2013-10-25 2014-01-22 金蝶软件(中国)有限公司 Method and device for carrying out node control on task flow
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化系统设备有限公司 Work flow management system and work flow handling method
US20140341225A1 (en) * 2013-05-14 2014-11-20 Dell Products L.P. System and method for flexible switching fabric
CN106155718A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 Flow engine implementation method and flow engine system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140341225A1 (en) * 2013-05-14 2014-11-20 Dell Products L.P. System and method for flexible switching fabric
CN103530740A (en) * 2013-10-25 2014-01-22 金蝶软件(中国)有限公司 Method and device for carrying out node control on task flow
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化系统设备有限公司 Work flow management system and work flow handling method
CN106155718A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 Flow engine implementation method and flow engine system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周静: ""轻量级工作流管理系统生成平台的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
范玉顺等: "《企业建模理论与方法学导论》", 31 October 2001, 清华大学出版社 *
范玉顺等: "《工作流管理技术基础 实现企业业务过程重组、过程管理与过程自动化的核心技术》", 30 April 2001, 清华大学出版社 *
范玉顺等: "《集成化企业建模方法与系统》", 28 February 2007, 清华大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108335217A (en) * 2018-01-25 2018-07-27 中国平安财产保险股份有限公司 Simulation Claims Resolution method, apparatus, equipment and the computer storage media that vehicle is in danger
CN109104306A (en) * 2018-07-26 2018-12-28 东软集团股份有限公司 Process analytic method, device, computer readable storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107220811B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN106951925A (en) Data processing method, device, server and system
CN104091276B (en) The method of on-line analysis clickstream data and relevant apparatus and system
CN107196930B (en) The method of computer network abnormality detection
CN104539502B (en) A kind of method of self-defined addition modbus equipment
CN107104824A (en) A kind of network topology determines method and apparatus
CN107220811A (en) The method and device of flow interior joint activation
CN108921508A (en) Overall process Engineering Cost Management system
CN106650610A (en) Human face expression data collection method and device
CN107368606A (en) Data classification method, device and data sorting system
CN108182282A (en) Address authenticity verification methods, device and electronic equipment
CN107247695A (en) Coding rule generation method, system and storage device
CN107071386A (en) Recognize the method and device of 3D format videos
CN107135084A (en) A kind of tactics configuring method and device
CN108737487A (en) Method of data synchronization and device, storage medium and electronic device
CN108234687A (en) A kind of smart IP address configuration method, device and terminal device
CN107885691A (en) Serial data transmission method, distributed apparatus and main frame
CN107844645A (en) Cooperation initiating method and device based on BIM
CN106304084A (en) Information processing method and device
CN110213123A (en) A kind of flux monitoring method, device and equipment
CN104378329B (en) The method, apparatus and system of safety verification
CN108111577A (en) Shield collecting method, device and computer readable storage medium
CN111767036B (en) Block chain platform capable of customizing business model
CN107943857A (en) Automatic method, apparatus, terminal device and the storage medium for reading AutoCAD forms
CN115019901A (en) Drug screening and synthesizing processing method based on block chain and quantum computation
CN108040064A (en) Data transmission method, device, electronic equipment and storage medium

Legal Events

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