CN105808624A - Node data processing method and device - Google Patents

Node data processing method and device Download PDF

Info

Publication number
CN105808624A
CN105808624A CN201410857095.9A CN201410857095A CN105808624A CN 105808624 A CN105808624 A CN 105808624A CN 201410857095 A CN201410857095 A CN 201410857095A CN 105808624 A CN105808624 A CN 105808624A
Authority
CN
China
Prior art keywords
data
node
outlet
expression formula
data outlet
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.)
Pending
Application number
CN201410857095.9A
Other languages
Chinese (zh)
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.)
Aisino Corp
Original Assignee
Aisino 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 Aisino Corp filed Critical Aisino Corp
Priority to CN201410857095.9A priority Critical patent/CN105808624A/en
Publication of CN105808624A publication Critical patent/CN105808624A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention discloses a node data processing method and device. The method comprises the following steps: obtaining node data of a business process node, wherein the node data carries a plurality of first node parameters and first parameter values of the first node parameters; obtaining outlet numbers of first data outlets of the business process node and expressions corresponding to the outlet numbers; extracting expression parameters in the expressions; reading second parameter values of second node parameters, wherein the second node parameters are parameters matched with the expression parameters in the first node parameters; calculating expression values of the expressions by using the second parameter values; determining second data outlets, for outputting the node data, in the first data outlets on the basis of the expression values. Through the node data processing method and device, the problem that the enterprise information management systems in the prior art need to manually configure new business processes is solved, and the effect of automatically configuring the business processes of the enterprise information management systems is realized.

Description

The treating method and apparatus of node data
Technical field
The present invention relates to internet arena, in particular to the treating method and apparatus of a kind of node data.
Background technology
At present, Workflow system is widely deployed in the enterprise information management system, and enterprise comes pre-according to the concrete business of oneself First arranging the operation flow of oneself, the automatization that Workflow system dynamically controls business by the engine of bottom circulates and performs, Accelerate the business handling efficiency of enterprise, also enhance the market competitiveness of enterprise.
Most of flow processs in prior art, be all business personnel according to what a operation flow of the most existing business process definition, often One examination & approval link is all fixing, personnel or the change of department or reconstruct once occurs, and whole operation flow is required for again joining Put, have a strong impact on efficiency.
Along with the Workflow system continuous utilization in enterprise information management, the business of enterprises is increasingly personalized, complication And mobilism, static operation flow no longer meets the current situation of enterprise, and unification and the immobilization of static flow process seriously limit The extension of the current business of enterprise, manual configuration operation flow can not meet the efficiency requirements of enterprise.
The problem needing operation flow that manual configuration is new for the enterprise information management system in prior art, the most not yet proposes effectively Solution.
Summary of the invention
The problem needing operation flow that manual configuration is new for the enterprise information management system in correlation technique, the most not yet proposes effectively Solution, to this end, present invention is primarily targeted at the treating method and apparatus providing a kind of node data, with solve on State problem.
To achieve these goals, according to an aspect of the invention, it is provided the processing method of a kind of node data, the method Including: obtain the node data of operation flow node, wherein, node data carries multiple primary nodal point parameter and each the First parameter value of one node parameter, primary nodal point parameter is the description data of the variable in node data;Acquisition operation flow saves The exit numbers of each the first data outlet of point and expression formula corresponding to each exit numbers;Extract the expression formula in expression formula Parameter;Reading the second parameter value of secondary nodal point parameter, wherein, secondary nodal point parameter is to join with expression formula in primary nodal point parameter The parameter that number matches;Use the transition formula evaluation of the second parameter value calculation expression formula;The first data outlet is determined based on transition formula evaluation In for the second data outlet of data output node.
Further, determine in the first data outlet that the second data outlet for data output node includes based on transition formula evaluation: Whether the transition formula evaluation judging the expression formula of the first data outlet is preset value;If the transition formula evaluation of the expression formula of the first data outlet For preset value, it is determined that the first data outlet is the second data outlet of data output node;If the expression formula of the first data outlet Transition formula evaluation be not preset value, it is determined that the first data outlet is not the second data outlet of data output node.
Further, the exit numbers and each exit numbers that obtain each the first data outlet of operation flow node are corresponding Expression formula includes: obtain the priority of the exit numbers of each the first data outlet;According to priority order from high to low successively Obtain the expression formula of exit numbers;The transition formula evaluation using the second parameter value calculation expression formula includes: according to the expression formula got Order use the transition formula evaluation of the second parameter value calculation expression formula successively.
Further, determine in the first data outlet that the second data outlet for data output node includes based on transition formula evaluation: Judge that whether the first data outlet of operation flow node is the second data outlet of data output node successively;If each first number It is not the most the second data outlet of data output node according to outlet, then the first minimum for the priority of exit numbers data outlet is made It it is the second data outlet.
Further, before obtaining the node data of operation flow node, processing method includes: arrange operation flow node Expression formula that the exit numbers of each the first data outlet, each exit numbers are corresponding and the priority of each exit numbers.
To achieve these goals, according to a further aspect in the invention, it is provided that the processing means of a kind of node data, this device Including the first acquisition module, for obtaining the node data of operation flow node, wherein, node data carries multiple the One node parameter and the first parameter value of each primary nodal point parameter, primary nodal point parameter is the description number of the variable in node data According to;Second acquisition module, compiles for the exit numbers and each outlet obtaining each the first data outlet of operation flow node Number corresponding expression formula;Extraction module, for extracting the expression argument in expression formula;Read module, is used for reading second section Second parameter value of some parameter, wherein, secondary nodal point parameter is the parameter matched with expression argument in primary nodal point parameter; Computing module, for using the transition formula evaluation of the second parameter value calculation expression formula;Determine module, for determining based on transition formula evaluation For the second data outlet of data output node in first data outlet.
Further, it is determined that module includes: judge module, for whether judging the transition formula evaluation of the expression formula of the first data outlet For preset value;First determines submodule, if the transition formula evaluation for the expression formula of the first data outlet is preset value, it is determined that the One data outlet is the second data outlet of data output node;Second determines submodule, if for the expression of the first data outlet The transition formula evaluation of formula is not preset value, it is determined that the first data outlet is not the second data outlet of data output node.
Further, the second acquisition module includes: first obtains submodule, compiles for obtaining the outlet of each the first data outlet Number priority;Second obtains submodule, for obtaining the expression formula of exit numbers successively according to priority order from high to low; Computing module includes: calculating sub module, for using the second parameter value calculation to express successively according to the order of the expression formula got The transition formula evaluation of formula.
Further, it is determined that module includes: the second judge module, for judging the first data outlet of operation flow node successively It it is whether the second data outlet of data output node;3rd determines submodule, if not being the most defeated for each first data outlet Second data outlet of egress data, then using the first minimum for the priority of exit numbers data outlet as the second data outlet.
Further, processing means includes: arrange module, before obtaining the node data of operation flow node, is used for arranging Expression formula and each outlet that the exit numbers of each the first data outlet of operation flow node, each exit numbers are corresponding are compiled Number priority.
Using the present invention, obtain operation flow node carries multiple primary nodal point parameter and the node data of the first parameter value, Obtain the exit numbers of each the first data outlet of operation flow node and the expression formula that each exit numbers is corresponding, then carry Take the expression argument in expression formula, read the second parameter value matched with expression argument in primary nodal point parameter, use the The transition formula evaluation of two parameter value calculation expression formulas, determines in the first data outlet for data output node based on transition formula evaluation Two data outlet.By the present invention, after the node data receiving operation flow, the data automatically configuring node data go out Mouth (i.e. determining the data flow of node data), solves the enterprise information management system in prior art and needs the business that manual configuration is new The problem of flow process, it is achieved that automatically configure the effect of the operation flow of the enterprise information management system.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the present invention shows Meaning property embodiment and explanation thereof are used for explaining the present invention, are not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the processing method of node data according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the optional calculation expression value of according to embodiments of the present invention;
Fig. 3 is the flow chart of the processing method of an optional node data according to embodiments of the present invention;And
Fig. 4 is the schematic diagram of the processing means of node data according to embodiments of the present invention.
Detailed description of the invention
First, the part noun or the term that occur during being described the embodiment of the present invention are applicable to description below:
Metadata: describe the data of data, to data and the descriptive information of information resources.
SQL: English full name Structured Query Language, Chinese is SQL, is a kind of data Library inquiry and programming language.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, Technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention The embodiment of a part rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Have and make the every other embodiment obtained under creative work premise, all should belong to the scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " etc. It is for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that the data of so use Can exchange in the appropriate case, in order to embodiments of the invention described herein can with except here illustrate or describe that Order beyond Xie is implemented.Additionally, term " includes " and " having " and their any deformation, it is intended that cover not Exclusive comprises, and such as, contains series of steps or the process of unit, method, system, product or equipment are not necessarily limited to clearly Those steps listed to Chu or unit, but can include the most clearly listing or for these processes, method, product or Other step that equipment is intrinsic or unit.
Fig. 1 is the flow chart of the processing method of node data according to embodiments of the present invention, as it is shown in figure 1, the method include as Lower step:
Step S102, obtains the node data of operation flow node.
Wherein, node data carries the first parameter value of multiple primary nodal point parameter and each primary nodal point parameter, first segment Point parameter is the description data of the variable in node data.
Step S104, the exit numbers and each exit numbers that obtain each the first data outlet of operation flow node are corresponding Expression formula.
Step S106, extracts the expression argument in expression formula.
Step S108, reads the second parameter value of secondary nodal point parameter.
Wherein, the parameter matched with expression argument during secondary nodal point parameter is primary nodal point parameter.
Step S110, uses the transition formula evaluation of the second parameter value calculation expression formula.
Step S112, determines in the first data outlet the second data outlet for data output node based on transition formula evaluation.
Using the present invention, obtain operation flow node carries multiple primary nodal point parameter and the node data of the first parameter value, Obtain the exit numbers of each the first data outlet of operation flow node and the expression formula that each exit numbers is corresponding, then carry Take the expression argument in expression formula, read the second parameter value matched with expression argument in primary nodal point parameter, use the The transition formula evaluation of two parameter value calculation expression formulas, determines in the first data outlet for data output node based on transition formula evaluation Two data outlet.By using the present invention, after the node data receiving operation flow, automatically configure the number of node data According to outlet (i.e. determining the data flow of node data), solving the enterprise information management system in prior art needs manual configuration new The problem of operation flow, it is achieved that automatically configure the effect of the operation flow of the enterprise information management system.
By above-described embodiment, need the Business Process Control mechanism of a kind of relatively intelligentization, mobilism for enterprise, so that enterprise The current business flow process of industry can adapt to the operation flow demand in various change, and the application is by the collaborative of workflow or examination & approval In nodal basis, newly increasing a kind of decision node (i.e. operation flow node), this node can be based on dynamic variable by arranging Expression formula, flow engine carries out morphology, the analysis of grammer and parsing by concrete variate-value after business is initiated to expression formula, Calculate the result (transition formula evaluation) of expression formula, thus in flow process in running, move according to operation result (transition formula evaluation) State selects operation flow to flow to, and this control mechanism drastically increases dynamic and the adaptability of flow process, has reached to believe enterprise The effect that the operation flow of breath management system automatically configures, thus improve the efficiency of enterprise.
Needing, it is further noted that step S108, to read the second parameter value of secondary nodal point parameter, wherein, secondary nodal point is joined Number is parameter consistent with expression argument in primary nodal point parameter.
In the above embodiment of the present invention, determine in the first data outlet second for data output node based on transition formula evaluation Data outlet may include that whether the transition formula evaluation of the expression formula judging the first data outlet is preset value;If the first data outlet The transition formula evaluation of expression formula be preset value, it is determined that the first data outlet is the second data outlet of data output node;If the The transition formula evaluation of the expression formula of one data outlet is not preset value, it is determined that the first data outlet is not the second of data output node Data outlet.
Alternatively, the preset value in above-described embodiment can be " 1 ", if the expression formula of current first data outlet numbering correspondence Transition formula evaluation is " 1 ", then current first data outlet is used for data output node;If current first data outlet numbering correspondence The transition formula evaluation of expression formula be not " 1 ", the most current first data outlet is not used in data output node, and according to priority from High to Low order calculates the transition formula evaluation of next expression formula.
According to the abovementioned embodiments of the present invention, obtain the exit numbers of each the first data outlet of operation flow node and each The expression formula that exit numbers is corresponding may include that the priority of the exit numbers obtaining each the first data outlet;According to priority Order from high to low obtains the expression formula of exit numbers successively;The transition formula evaluation using the second parameter value calculation expression formula can wrap Include: use the transition formula evaluation of the second parameter value calculation expression formula successively according to the order of the expression formula got.
Specifically, one exit numbers is set for each first data outlet and the priority of exit numbers, then basis are set Exit numbers priority from high to low calculates the transition formula evaluation of expression formula of correspondence successively, by transition formula evaluation determine whether from Current first data outlet data output node.
By above-described embodiment, can be by operation flow node (judgement type node) be carried out dynamically in Workflow system Configuration, arranges the first data outlet of the operation flow node that can customize order, and corresponding one of each first data outlet moves State expression formula, is then based on the secondary nodal point parameter of concrete operation flow to calculate Expression formula value, to determine node data Data flow.
In the above-described embodiments, arrange (can e.g., may be used with custom order for each decision node (i.e. operation flow node) Order with according to priority from top to bottom) Egress node (the i.e. first data outlet), corresponding one of each Egress node Complicated expression formula, workflow background engine by user-defined decision node attribute (such as the attribute of secondary nodal point parameter), and In conjunction with the concrete data (the second parameter value) of current business, introduce expression formula solution to model parser, carry out the unification of expression formula relation Resolve and calculate, return a Boolean (such as " 0 " or " 1 ") determining that flow process (i.e. operation flow) is moved towards, this Boolean Determine present node (the first data outlet) whether for data output node, if Boolean is " 0 ", according to set preferential Level order proceeds computing, without correct outlet, then takes the outlet of acquiescence, thus has reached to automatically configure Business Stream The effect of journey.
By the above embodiment of the present invention, exit numbers is set for each first data outlet and defines different priority, from And make operation flow node can select the first data outlet of coupling according to different node datas.So that the present invention is carried The method of confession, compared with existing static flow process, adds dynamic arbitration functions, this dynamic control mechanism is transferred to Business Stream In journey running, this judgement can custom-configure, and is adapted to the workflow of complexity, greatly supports operation flow Dynamic and autgmentability so that same type of flow process is no longer necessary to redefine by business personnel, this dynamic compatibility, pole The earth improves work efficiency.
Further, determine in the first data outlet that the second data outlet for data output node can wrap based on transition formula evaluation Include: judge that whether the first data outlet of operation flow node is the second data outlet of data output node successively;If each is years old One data outlet is not the most the second data outlet of data output node, then the first minimum for the priority of exit numbers data gone out Mouth is as the second data outlet.
Specifically, corresponding one or more first data outlet of each operation flow node, each first data outlet can be certainly Definition of order (as in accordance with the order from top to bottom), last first data outlet exports by default, can be each first Data outlet one complicated expression formula of configuration.As current business flow process node the first data outlet middle outlet numbering priority High expression formula is f (x)=(x > 3000)?1:0, this expression formula correspondence exit numbers is first data outlet of 1, this table Reach the second parameter x in formula and be meant that reimbursed sum, if the meaning of this expression formula is that reimbursed sum is more than 3000 (unit is unit) Then node data is from the first data outlet output that exit numbers is 1, if the second parameter corresponding in node data during concrete execution Value is 5000, then judge that the value of expression formula is " 1 ", then node data is exported by the first data outlet that exit numbers is 1.
By the above embodiment of the present invention, devise a kind of control mechanism based on mobilism, by introducing joining of workflow The judgement type node (operation flow node) put, for judging that type node setting can customize outlet (first number of sequencing According to outlet), each outlet one Expression formula of definition, the change operationally based on operation flow variable of this expression formula comes Dynamic calculation end value (transition formula evaluation), determines the concrete flow direction of flow process by end value.Thus it is no longer necessary to manual configuration business Flow process, has reached to automatically generate according to node data the effect of operation flow, has improve enterprise efficiency.
In the above embodiment of the present invention, before obtaining the node data of operation flow node, processing method may include that Expression formula corresponding to the exit numbers of each the first data outlet of operation flow node, each exit numbers is set and each goes out The priority of mouth numbering.
Below in conjunction with Fig. 2 and Fig. 3 in detail above-described embodiment is described in detail.In the above-described embodiments, need pre-set and preserve operation flow Expression formula that the numbering of the first data outlet of node, each exit numbers are corresponding and the priority of each exit numbers.Wherein, Step S304 in each exit numbers i.e. Fig. 3 of corresponding expression formula, configuration determination outlet expression formula are set.Such as Fig. 3 institute That shows needed to perform step S302 before configuration determination outlet expression formula, arranged expression atom data, and wherein, metadata is to use In the data describing data.Specifically, can be the attribute that secondary nodal point parameter is set.
It is alternatively possible to define unified interface is set, in interface is set to the numbering of the first data outlet, each export volume The priority of number corresponding expression formula and each exit numbers is configured.
Further, above-mentioned arrange in interface can also according to expression formula model (atomic expression as shown in Figure 2), for Each business datum of a certain class document, arranges the attribute of decision node, as arranged the type of left and right operand, the many-valued genus of monodrome Property, obtaining value method (including the SQL script of value, service name, value device title).Each traffic value institute of each class document The decision node attribute of definition, by backstage (can be data base) persistent storage, as the number of flow engine dynamic analysis According to source.
Specifically, when operation flow node is set for reimbursement class bill, it is required for submitting an expense account each field of class bill and carries out relation Computing, now can be with custom field attribute (i.e. arranging primary nodal point parameter), it is also possible to carry out automatically by referring to existing type Configuration, mainly configures left and right operand type, monodrome or multi-valued attribute, may participate in the operator of computing, business datum source. By above-mentioned configuration, select to participate in the field of computing, operator and target fiducial value, wherein target fiducial value (the rightest operand) Can be character type, numeric type, reference type, combobox categorical data.Each atomic expression in expression formula is by patrolling Collecting "AND" and logical "or" is connected, be finally combined into a complicated logical expression, system is by obtaining calculating The Boolean Class offset of expression formula, is used for making a decision.
Need it is further noted that the source obtaining business datum may include that the SQL containing business paper numbering (id) Script, a server or a value device (value device can configure ctg parameter).Wherein, above-mentioned acquisition business datum is i.e. schemed Step S306 in 3, performs business datum (i.e. node data in above-described embodiment) value.
By the above embodiment of the present invention, the exit numbers of the first data outlet, each can be preserved by using a data base Expression formula that individual exit numbers is corresponding and the priority of each exit numbers and other need the data that pre-set, such industry Business flow nodes just by reading the priority of above-mentioned exit numbers and can carry out computing from high to low according to priority, until permissible By node data from current first data outlet output.Wherein expression formula is carried out step S308 in calculating i.e. Fig. 3, expression formula solution Analysis and calculating, if transition formula evaluation is preset value (can be " 1 ") after having calculated expression formula, then perform step S310 in Fig. 3, Determine judgement outlet (i.e. the second data outlet in above-described embodiment), i.e. by node data from current first data outlet (i.e. The second data outlet determined in above-described embodiment) output.By above-described embodiment, reach operation flow is joined automatically The effect put.
As shown in Figure 2: operation flow node obtains this exit numbers according to the priority of the exit numbers of current first data outlet Corresponding expression formula, then disassembles this expression formula as one or more atomic expressions (as shown in Figure 21 ... n atom Expression formula), calculate the value of each atomic expression respectively, the value further according to each atomic expression determines transition formula evaluation.
In the above embodiment of the present invention, expression formula is made up of one or more expression formula model (i.e. atomic expression), Expression formula model belongs to typical three mesh computings, and the computing of left operand, operator and right operand composition as shown in Figure 2 is former Submodel, this model includes two types computing, arithmetic operator and logical operations, and its operation result is Boolean type.Count Computing, according to the type of operand, is divided into character type, numeric type and date type;Logical operations is divided into logic according to operand type "AND" and logical "or" computing, an expression formula is grasped by model solution parser from operand type and two angles of priority Make symbol initialization, dynamic combined and result of calculation value (transition formula evaluation).Operator is defined as follows:
Being equal to, be not equal to: be applicable to character type and numeric type operand, left and right operand is monadic operation.
Being more than, be more than or equal to: be applicable to numeric type operand, left and right operand is monadic operation.
Being less than, be less than or equal to: be applicable to numeric type operand, left and right operand is monadic operation.
Comprising, do not comprise: be applicable to character type and numeric type operand, left operand is many-valued, and right operand is monodrome or many Value, does not carries out computing according to comprising of set and inclusion relation.
Belonging to, be not belonging to: be applicable to character type and numeric type operand, right operand is many-valued, and left operand is monodrome or many Value, according to combine belong to and the relation that is not belonging to carries out computing.
Early than, be later than: being applicable to the computing of date type, left and right operand is monodrome.
Logical AND: the boolean results value of arithmetic operator is carried out the calculation of logical AND unit.
Logic or: the boolean results value of arithmetic operator is carried out logic or unit calculates.
Need, it is further noted that above-mentioned expression formula is during calculating, to need to use the decision node (Business Stream of configuration Cheng Jiedian) metadata, target compare data (can be the right operand in Fig. 2) and current business parameter (the second parameter value). When calculation expression, the Data Source that expression formula calculates can be carried out SQL script and obtain data, from server or value device Read data, and then by being calculated final result value (transition formula evaluation), so that the complicated stream being dynamically determined Journey arranges algorithm and is achieved.
It should be noted that can be at the computer of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing System performs, and, although show logical order in flow charts, but in some cases, can be to be different from this The step shown or described by order execution at place.
Fig. 4 is the schematic diagram of the processing means of node data according to embodiments of the present invention, and as shown in Figure 4, this processing means can To include: first acquisition module the 10, second acquisition module 20, extraction module 30, read module 40, computing module 50 and Determine module 60.
Wherein, the first acquisition module 10, for obtaining the node data of operation flow node, wherein, node data carries Multiple primary nodal point parameters and the first parameter value of each primary nodal point parameter, primary nodal point parameter is the variable in node data Data are described;Second acquisition module 20, for obtaining the exit numbers of each the first data outlet of operation flow node and each The expression formula that individual exit numbers is corresponding;Extraction module 30, for extracting the expression argument in expression formula;Read module 40, uses In read secondary nodal point parameter the second parameter value, wherein, secondary nodal point parameter be in primary nodal point parameter with expression argument phase The parameter of coupling;Computing module 50, for using the transition formula evaluation of the second parameter value calculation expression formula;Determine module 60, be used for The second data outlet for data output node is determined in the first data outlet based on transition formula evaluation.
Use the present invention, first acquisition module obtain operation flow node carry multiple primary nodal point parameter and the first parameter value Node data, the second acquisition module obtains the exit numbers of each the first data outlet and each outlet of operation flow node The expression formula that numbering is corresponding, the expression argument during then extraction module extracts expression formula, read module reads primary nodal point parameter In the second parameter value of matching with expression argument, computing module uses the transition formula evaluation of the second parameter value calculation expression formula, base In transition formula evaluation, determine that module determines the second data outlet in the first data outlet for data output node.By using this Invention, after the node data receiving operation flow, the data outlet automatically configuring node data (i.e. determines node data Data flow), solve the problem that the enterprise information management system in prior art needs operation flow that manual configuration is new, it is achieved that Automatically configure the effect of the operation flow of the enterprise information management system.
Needing, it is further noted that read module, to read the second parameter value of secondary nodal point parameter, wherein, secondary nodal point is joined Number is parameter consistent with expression argument in primary nodal point parameter.
In the above embodiment of the present invention, determine that module may include that judge module, for judging the table of the first data outlet Whether the transition formula evaluation reaching formula is preset value;First determines submodule, if the transition formula evaluation of the expression formula for the first data outlet For preset value, it is determined that the first data outlet is the second data outlet of data output node;Second determines submodule, if for The transition formula evaluation of the expression formula of the first data outlet is not preset value, it is determined that the first data outlet is not the of data output node Two data outlet.
Alternatively, the preset value in above-described embodiment can be " 1 ", if the expression formula of current first data outlet numbering correspondence Transition formula evaluation is " 1 ", then current first data outlet is used for data output node;If current first data outlet numbering correspondence The transition formula evaluation of expression formula be not " 1 ", the most current first data outlet is not used in data output node, and according to priority from High to Low order calculates the transition formula evaluation of next expression formula.
According to the abovementioned embodiments of the present invention, the second acquisition module may include that the first acquisition submodule, be used for obtaining each The priority of the exit numbers of one data outlet;Second obtains submodule, for obtaining successively according to priority order from high to low The expression formula of conveying end numbering;Computing module may include that calculating sub module, for depending on according to the order of the expression formula got The transition formula evaluation of secondary use the second parameter value calculation expression formula.
Specifically, one exit numbers is set for each first data outlet and the priority of exit numbers, then basis are set Exit numbers priority from high to low calculates the transition formula evaluation of expression formula of correspondence successively, by transition formula evaluation determine whether from Current first data outlet data output node.
By above-described embodiment, can be by operation flow node (judgement type node) be carried out dynamically in Workflow system Configuration, arranges the first data outlet of the operation flow node that can customize order, and corresponding one of each first data outlet moves State expression formula, is then based on the secondary nodal point parameter of concrete operation flow to calculate Expression formula value, to determine node data Data flow.
In the above-described embodiments, arrange (can e.g., may be used with custom order for each decision node (i.e. operation flow node) Order with according to priority from top to bottom) Egress node (the i.e. first data outlet), corresponding one of each Egress node Complicated expression formula, workflow background engine by user-defined decision node attribute (such as the attribute of secondary nodal point parameter), and In conjunction with the concrete data (the second parameter value) of current business, introduce expression formula solution to model parser, carry out the unification of expression formula relation Resolve and calculate, return a Boolean (such as " 0 " or " 1 ") determining that flow process (i.e. operation flow) is moved towards, this Boolean Determine present node (the first data outlet) whether for data output node, if Boolean is " 0 ", according to set preferential Level order proceeds computing, without correct outlet, then takes the outlet of acquiescence, thus has reached to automatically configure Business Stream The effect of journey.
By the above embodiment of the present invention, exit numbers is set for each first data outlet and defines different priority, from And make operation flow node can select the first data outlet of coupling according to different node datas.So that the present invention is carried The method of confession, compared with existing static flow process, adds dynamic arbitration functions, this dynamic control mechanism is transferred to Business Stream In journey running, this judgement can custom-configure, and is adapted to the workflow of complexity, greatly supports operation flow Dynamic and autgmentability so that same type of flow process is no longer necessary to redefine by business personnel, this dynamic compatibility, pole The earth improves work efficiency.
Further, it is determined that module may include that the second judge module, for judging the first data of operation flow node successively Whether outlet is the second data outlet of data output node;3rd determines submodule, if for each first data outlet the most not For the second data outlet of data output node, then using the first minimum for the priority of exit numbers data outlet as the second data Outlet.
Specifically, corresponding one or more first data outlet of each operation flow node, each first data outlet can be certainly Definition of order (as in accordance with the order from top to bottom), last first data outlet exports by default, can be each first Data outlet one complicated expression formula of configuration.As current business flow process node the first data outlet middle outlet numbering priority High expression formula is f (x)=(x > 3000)?1:0, this expression formula correspondence exit numbers is first data outlet of 1, this table Reach the second parameter x in formula and be meant that reimbursed sum, if the meaning of this expression formula is that reimbursed sum is more than 3000 (unit is unit) Then node data is from the first data outlet output that exit numbers is 1, if the second parameter corresponding in node data during concrete execution Value is 5000, then judge that the value of expression formula is " 1 ", then node data is exported by the first data outlet that exit numbers is 1.
By the above embodiment of the present invention, devise a kind of control mechanism based on mobilism, by introducing joining of workflow The judgement type node (operation flow node) put, for judging that type node setting can customize outlet (first number of sequencing According to outlet), each outlet one Expression formula of definition, the change operationally based on operation flow variable of this expression formula comes Dynamic calculation end value (transition formula evaluation), determines the concrete flow direction of flow process by end value.Thus it is no longer necessary to manual configuration business Flow process, has reached to automatically generate according to node data the effect of operation flow, has improve enterprise efficiency.
Further, processing means can also include: arranges module, before obtaining the node data of operation flow node, uses In expression formula corresponding to the exit numbers of each the first data outlet that operation flow node is set, each exit numbers and each The priority of exit numbers.
It is alternatively possible to define unified interface is set, in interface is set to the numbering of the first data outlet, each export volume The priority of number corresponding expression formula and each exit numbers is configured.
Further, above-mentioned arrange in interface can also according to expression formula model (atomic expression as shown in Figure 2), for Each business datum of a certain class document, arranges the attribute of decision node, as arranged the type of left and right operand, the many-valued genus of monodrome Property, obtaining value method (including the SQL script of value, service name, value device title).Each traffic value institute of each class document The decision node attribute of definition, by backstage (can be data base) persistent storage, as the number of flow engine dynamic analysis According to source.
Specifically, when operation flow node is set for reimbursement class bill, it is required for submitting an expense account each field of class bill and carries out relation Computing, now can be with custom field attribute (i.e. arranging primary nodal point parameter), it is also possible to carry out automatically by referring to existing type Configuration, mainly configures left and right operand type, monodrome or multi-valued attribute, may participate in the operator of computing, business datum source. By above-mentioned configuration, select to participate in the field of computing, operator and target fiducial value, wherein target fiducial value (the rightest operand) Can be character type, numeric type, reference type, combobox categorical data.Each atomic expression in expression formula is by patrolling Collecting "AND" and logical "or" is connected, be finally combined into a complicated logical expression, system is by obtaining calculating The Boolean Class offset of expression formula, is used for making a decision.
Need it is further noted that the source obtaining business datum may include that the SQL containing business paper numbering (id) Script, a server or a value device (value device can configure ctg parameter).Wherein, above-mentioned acquisition business datum is i.e. schemed Step S306 in 3, performs business datum (i.e. node data in above-described embodiment) value.
By the above embodiment of the present invention, the exit numbers of the first data outlet, each can be preserved by using a data base Expression formula that individual exit numbers is corresponding and the priority of each exit numbers and other need the data that pre-set, such industry Business flow nodes just by reading the priority of above-mentioned exit numbers and can carry out computing from high to low according to priority, until permissible By node data from current first data outlet output.Wherein expression formula is carried out step S308 in calculating i.e. Fig. 3, expression formula solution Analysis and calculating, if transition formula evaluation is preset value (can be " 1 ") after having calculated expression formula, then perform step S310 in Fig. 3, Determine judgement outlet (i.e. the second data outlet in above-described embodiment), i.e. by node data from current first data outlet (i.e. The second data outlet determined in above-described embodiment) output.By above-described embodiment, reach operation flow is joined automatically The effect put.
The using method that modules provided in the present embodiment step corresponding with embodiment of the method is provided is identical, application scenarios Can also be identical.It is noted, of course, that the scheme that above-mentioned module relates to can be not limited to the content in above-described embodiment one And scene, and above-mentioned module may operate in terminal or mobile terminal, can be realized by software or hardware.
As can be seen from the above description, present invention achieves following technique effect:
Using the present invention, obtain operation flow node carries multiple primary nodal point parameter and the node data of the first parameter value, Obtain the exit numbers of each the first data outlet of operation flow node and the expression formula that each exit numbers is corresponding, then carry Take the expression argument in expression formula, read the second parameter value matched with expression argument in primary nodal point parameter, use the The transition formula evaluation of two parameter value calculation expression formulas, determines in the first data outlet for data output node based on transition formula evaluation Two data outlet.By using the present invention, after the node data receiving operation flow, automatically configure the number of node data According to outlet (i.e. determining the data flow of node data), solving the enterprise information management system in prior art needs manual configuration new The problem of operation flow, it is achieved that automatically configure the effect of the operation flow of the enterprise information management system.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general calculating Device realizes, and they can concentrate on single calculating device, or is distributed on the network that multiple calculating device is formed, Alternatively, they can realize with calculating the executable program code of device, it is thus possible to be stored in storing device In perform by calculating device, or they are fabricated to respectively each integrated circuit modules, or by the multiple modules in them Or step is fabricated to single integrated circuit module and realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for those skilled in the art For, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of being made, etc. With replacement, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. the processing method of a node data, it is characterised in that including:
Obtain operation flow node node data, wherein, described node data carries multiple primary nodal point parameter and First parameter value of each described primary nodal point parameter, described primary nodal point parameter is retouching of the variable in described node data State data;
The exit numbers and each the described exit numbers that obtain each the first data outlet of described operation flow node are corresponding Expression formula;
Extract the expression argument in described expression formula;
Reading the second parameter value of secondary nodal point parameter, wherein, described secondary nodal point parameter is in described primary nodal point parameter The parameter matched with described expression argument;
Use the transition formula evaluation of expression formula described in described second parameter value calculation;
Determine in described first data outlet to go out for exporting the second data of described node data based on described transition formula evaluation Mouthful.
Processing method the most according to claim 1, it is characterised in that determine that described first data go out based on described transition formula evaluation The second data outlet being used for exporting described node data in Kou includes:
Whether the transition formula evaluation judging the expression formula of described first data outlet is preset value;
If the transition formula evaluation of the expression formula of described first data outlet is described preset value, it is determined that described first data outlet For exporting described second data outlet of described node data;
If the transition formula evaluation of the expression formula of described first data outlet is not described preset value, it is determined that described first data go out Mouth is not for exporting described second data outlet of described node data.
Processing method the most according to claim 1, it is characterised in that
The exit numbers and each the described exit numbers that obtain each the first data outlet of described operation flow node are corresponding Expression formula include: obtain the priority of the exit numbers of each described first data outlet;According to described priority from height The expression formula of described exit numbers is obtained successively to low order;
The transition formula evaluation of expression formula described in described second parameter value calculation is used to include: according to the described expression formula got Order uses the transition formula evaluation of expression formula described in described second parameter value calculation successively.
Processing method the most according to claim 3, it is characterised in that determine that described first data go out based on described transition formula evaluation The second data outlet being used for exporting described node data in Kou includes:
Whether described first data outlet judging described operation flow node successively is the second number exporting described node data According to outlet;
If each described first data outlet is not the most for exporting the second data outlet of described node data, then by described outlet Minimum described first data outlet of priority of numbering is as described second data outlet.
Processing method the most as claimed in any of claims 1 to 4, it is characterised in that obtaining operation flow node Before node data, the treating method comprises:
The exit numbers of each described first data outlet of described operation flow node, each described exit numbers pair are set The expression formula answered and the priority of each described exit numbers.
6. the processing means of a node data, it is characterised in that including:
First acquisition module, for obtaining the node data of operation flow node, wherein, carries in described node data Multiple primary nodal point parameters and the first parameter value of each described primary nodal point parameter, described primary nodal point parameter is described joint The description data of the variable in point data;
Second acquisition module, for obtaining the exit numbers of each the first data outlet of described operation flow node and each The expression formula that individual described exit numbers is corresponding;
Extraction module, for extracting the expression argument in described expression formula;
Read module, for reading the second parameter value of secondary nodal point parameter, wherein, described secondary nodal point parameter is described The parameter matched with described expression argument in primary nodal point parameter;
Computing module, for using the transition formula evaluation of expression formula described in described second parameter value calculation;
Determine module, for determining in described first data outlet for exporting described node data based on described transition formula evaluation The second data outlet.
Processing means the most according to claim 6, it is characterised in that described determine that module includes:
Whether judge module, be preset value for judging the transition formula evaluation of the expression formula of described first data outlet;
First determines submodule, if the transition formula evaluation for the expression formula of described first data outlet is described preset value, then Determine that described first data outlet is described second data outlet exporting described node data;
Second determines submodule, if the transition formula evaluation for the expression formula of described first data outlet is not described preset value, Then determine that described first data outlet is not for exporting described second data outlet of described node data.
Processing means the most according to claim 6, it is characterised in that
Described second acquisition module includes: first obtains submodule, for obtaining the outlet of each described first data outlet The priority of numbering;Second obtains submodule, goes out described in obtaining successively according to described priority order from high to low The expression formula of mouth numbering;
Described computing module includes: calculating sub module, for using institute successively according to the order of the described expression formula got State the transition formula evaluation of expression formula described in the second parameter value calculation.
Processing means the most according to claim 8, it is characterised in that described determine that module includes:
Whether the second judge module, be output institute for judging described first data outlet of described operation flow node successively State the second data outlet of node data;
3rd determines submodule, if for each described first data outlet the most not for exporting the second number of described node data According to outlet, then using described first data outlet minimum for the priority of described exit numbers as described second data outlet.
10. according to the processing means described in any one in claim 6 to 9, it is characterised in that described processing means includes:
Module is set, before obtaining the node data of operation flow node, for arranging each of described operation flow node Expression formula and each described outlet that the exit numbers of individual described first data outlet, each described exit numbers are corresponding are compiled Number priority.
CN201410857095.9A 2014-12-31 2014-12-31 Node data processing method and device Pending CN105808624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410857095.9A CN105808624A (en) 2014-12-31 2014-12-31 Node data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410857095.9A CN105808624A (en) 2014-12-31 2014-12-31 Node data processing method and device

Publications (1)

Publication Number Publication Date
CN105808624A true CN105808624A (en) 2016-07-27

Family

ID=56465456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410857095.9A Pending CN105808624A (en) 2014-12-31 2014-12-31 Node data processing method and device

Country Status (1)

Country Link
CN (1) CN105808624A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775906A (en) * 2016-11-22 2017-05-31 武汉斗鱼网络科技有限公司 Business flow processing method and device
CN115293655A (en) * 2022-09-30 2022-11-04 神州数码融信云技术服务有限公司 Flow control method and device, computer equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102771086A (en) * 2009-12-23 2012-11-07 思杰系统有限公司 Systems and methods for listening policies for virtual servers of an appliance
CN103353848A (en) * 2013-06-28 2013-10-16 华为技术有限公司 Multiple-queue or device selection method and computing node

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102771086A (en) * 2009-12-23 2012-11-07 思杰系统有限公司 Systems and methods for listening policies for virtual servers of an appliance
CN103353848A (en) * 2013-06-28 2013-10-16 华为技术有限公司 Multiple-queue or device selection method and computing node

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775906A (en) * 2016-11-22 2017-05-31 武汉斗鱼网络科技有限公司 Business flow processing method and device
CN106775906B (en) * 2016-11-22 2020-08-04 武汉斗鱼网络科技有限公司 Business process processing method and device
CN115293655A (en) * 2022-09-30 2022-11-04 神州数码融信云技术服务有限公司 Flow control method and device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
Korman et al. Distributed verification of minimum spanning trees
CN106776544A (en) Character relation recognition methods and device and segmenting method
CN104809168B (en) The division of ultra-large RDF graph data and Serial Distribution Processing method
CN104020994B (en) Stream process definition device and stream process based on streaming system define method
CN104536997A (en) Method and device for data batch processing of client interface
CN106874247A (en) A kind of report form generation method and device
CN114818553B (en) Chip integrated design method
CN104796300B (en) A kind of packet feature extracting method and device
US20190050376A1 (en) Automatic value formatting based on intrinsic structural semantics
CN104461548B (en) The adding method and device of code snippet
CN109446155B (en) Intelligent station description file import and export configuration method and system
CN105893615A (en) Owner feature attribute excavation method based on mobile phone forensics data and system thereof
CN106547522A (en) A kind of method and device of stream application optimization
CN106789309A (en) A kind of business configuration file migration method based on OLT device
Sanchez et al. Bigraphical modelling of architectural patterns
CN105808624A (en) Node data processing method and device
CN102521713A (en) Data processing device and data processing method
CN109933591A (en) The system and method for data encoding optimum management is implemented in combination under big data environment based on multimode
CN114513410A (en) Method and system for equipment to rapidly access Internet of things platform
CN104021147B (en) A kind of code stream analyzing method and device
CN110287603A (en) A kind of circuit auxiliary design method and device based on CBB circuit library
CN107656755A (en) The edit methods and device of regulation engine
CN109376981A (en) Determination method, apparatus, server and the data processing method of data processing method
CN107958345A (en) A kind of SCD file collocation method and device based on database and file fragment
CN103019663B (en) The method and system of intermodule function interface in a kind of acquisition program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication