CN110084525A - A kind of work management engine method and device based on business demand - Google Patents

A kind of work management engine method and device based on business demand Download PDF

Info

Publication number
CN110084525A
CN110084525A CN201910368467.4A CN201910368467A CN110084525A CN 110084525 A CN110084525 A CN 110084525A CN 201910368467 A CN201910368467 A CN 201910368467A CN 110084525 A CN110084525 A CN 110084525A
Authority
CN
China
Prior art keywords
node
xml
flow template
flow
configuration
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
CN201910368467.4A
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.)
Chongqing Tianpeng Network Co Ltd
Original Assignee
Chongqing Tianpeng Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Tianpeng Network Co Ltd filed Critical Chongqing Tianpeng Network Co Ltd
Priority to CN201910368467.4A priority Critical patent/CN110084525A/en
Publication of CN110084525A publication Critical patent/CN110084525A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Abstract

The invention belongs to financial fields, and in particular to a kind of financial work management engine method and device based on business demand.Described device includes: flow template configuration unit, for the flow template XML according to the predefined XML stream journey element arrangements business scenario;Template elements detection unit, whether the element for verifying flow template XML for engine apparatus is legal, whether correct verifies process torsion logic;Template storage unit saves the relevant configuration informations such as flow template configuration, torsion configuration logic in database process release unit, which is issued online.Has the advantages that easy to operate, personalized customization and vdiverse in function.

Description

A kind of work management engine method and device based on business demand
Technical field
The invention belongs to technical field of information management, and in particular to a kind of work management engine method based on business demand And device.
Background technique
The China's Financial current IT application that works is essentially confined to service application, and business application system is to calculate mostly Machine is that stage property runs the computer system without computer thought.Backwardness, defect and the loophole of version especially ignore enterprise operation The important of globality is managed, the development of China's Financial work is constrained.Whom the victory or defeat of future competition is dependent on and can excavate more Big competitiveness, the marketization of enterprise and internationalization, which seek to bring up, has modern operational management level and the system of modern enterprise special The business bank of sign.For at present, realize that the important channel of this target is to build finance management information system.
Finance management information system (Finance Manage InformationSystems.FMIS) is by people and calculating Machine equipment or other information processing means form and apply to the system of financial management.The system can be by defeated people, processing, defeated Out, it feeds back, control 5 fundamental compositions, management information is by information collection, information transmitting, information storage, Information procession, letter Breath maintenance and information are formed for the use of 6.The key element of system design is to want forward-looking, globality, purpose, phase It is scientific to pursue standardization, best overall efficiency and maximum for Guan Xing, dynamic and adaptability.To make to manage by IT technology Reach standardization and standardization, enterprise is made to realize effectively operation and modern management.
However, since the workflow examination and approval demand of each operation system application of enterprise is more and more extensive, and process personalized customization Obviously, although there are many flow engine frame of existing industry, exploitation access Applied Learning is at high cost, and it is higher to be proficient in threshold, configuration Excessively complicated, project framework weight, technology stack applied by project does not meet enterprise's current technology stack, and is unsatisfactory for financial business Personalized customization demand of aspect etc..
Summary of the invention
In view of this, the main purpose of the present invention is to provide a kind of work management engine system based on business demand System, method and device, it is intended to solve the problem of that each operation system workflow examination and approval demand of company customizes personalized process demand;It is low The solution process relevant issues of cost reduce manpower learning cost, with easy to operate, personalized customization and vdiverse in function excellent Point.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of work management engine apparatus based on business demand, which is characterized in that the management engine device includes:
Flow template configuration unit, for the flow template according to predefined XML stream journey element arrangements business scenario XML;
Template elements detection unit, whether the element for flow template XML described in flow engine system check is legal, school Whether correct test process torsion logic;
Template storage unit, for the configuration information of the flow template XML, process torsion logic to be stored in number According in library;
Process release unit, it is online for issuing the flow template XML.
Further, the management engine device further include: call unit, for calling the flow template XML.
Further, the flow template configuration unit is further used for:
The corresponding business demand of business scenario is obtained, and according to the business demand, it is pre- by flow template configuration unit The flow template XML of business scenario described in the XML stream journey element arrangements of definition.
Further, the template elements detection unit is further used for:
Whether the element that template elements detection unit verifies the flow template XML is legal, and checking process torsion logic is No correct, whether the included permission of each approval node of checking process, event sets, set of circumstances are reasonable, if check results are institute The element for stating flow template XML is legal, and checking process torsion is logically true, and each approval node of checking process includes power Limit, event sets, set of circumstances are reasonable, then pass through verification.
Further, the template storage unit is further used for:
After verification, the configuration information of flow template XML configuration, process torsion logic is stored in data In library;
After configuration information saves in the database, the flow template XML after configuration information will be saved and sent out Cloth generates unique online example, and the information for saving the online example corresponds in database, while by the online example The process torsion configuration snapshot be saved in data buffer storage, issue it is online after, operation system can be according to process encoding Carry out workflow examination and approval.
A kind of work management engine method based on business demand, this method are applied to as described in one of claim 1 to 5 Work management engine apparatus, which is characterized in that the described method comprises the following steps:
Step 1 obtains the corresponding business demand of business scenario, and according to the business demand, is configured by flow template The flow template XML of business scenario described in the predefined XML stream journey element arrangements of unit;
Whether the element that step 2, template elements detection unit verify the flow template XML is legal, checking process torsion Whether logic is correct, and whether the included permission of each approval node of checking process, event sets, set of circumstances are reasonable, if verification knot Fruit is that the element of the flow template XML is legal, and checking process torsion is logically true, and each approval node of checking process is wrapped It is reasonable containing permission, event sets, set of circumstances, then pass through verification;
After passing through verification, the configuration information of flow template XML configuration, process torsion logic is saved for step 3 In the database;
After step 4, configuration information save in the database, the flow template XML after configuration information will have been saved It is issued, generates unique online example, and save the information of the online example in database, while by the online reality The snapshot of the corresponding process torsion configuration of example is saved in data buffer storage, and after publication is online, operation system is just according to process Coding carries out workflow examination and approval.
Further, the corresponding business demand of the acquisition business scenario, and according to the business demand, pass through process mould The flow template XML of business scenario described in the predefined XML stream journey element arrangements of plate configuration unit, specifically includes: opening in process When the beginning, start node configuration is initiated, is met required for each node and each node of the business demand with configuration User right and the event that triggers of needs.
Further, start node configuration is initiated to specifically include:
The event for configuring user right required for each node and needing to trigger includes the next section of synchronization notice Point need go examination & approval user processing, either synchronously or asynchronously calling processing tripartite service interface, if next node type is Branch node, while configuring corresponding aggregation.
Further, the template elements detection unit verify the flow template XML element it is whether legal, verification stream Journey reverses whether logic is correct, and whether the included permission of each approval node of checking process, event sets, set of circumstances are reasonable, tool Body includes:
The flow template XML is loaded into Memory Checkout element property by template elements detection unit, then again into Row parsing;Product process object after parsing, the flow object include flow definition, each node definition of process, each node Corresponding user right, set of circumstances, event sets related definition;
The flow object is successively verified from level, whether correct, verification if verifying process torsion logic Whether the included permission of each approval node of the process, event sets, set of circumstances are reasonable.
Further, after publication described in step 4 is online, operation system just carries out workflow examination and approval, tool according to process encoding Body includes:
After issuing online success, operation system can configured process unique encodings carry out workflow examination and approval, the process It include start flow and circulation process in examination & approval;
The start flow and circulation process specifically include: the online example of corresponding process is found by process encoding, according to The online example finds workflow information in the buffer and the workflow information is converted to workflow object, and It is temporarily placed in memory, the workflow object includes all information of flow definition, if caching does not find the process stream Transfering the letter breath or cache server connection failure then directly access the database inquiry, and are process stream by the data assembling inquired Turn object and temporarily puts in memory;First node is found in workflow object, and whether checking process is expired and works as Whether the user right of front nodal point meets, if satisfied, then in memory in workflow object the event of the node be collected, And handle, present node circulation information and the copending information of next node are saved after the completion.
Based on a kind of work of the business demand base of the invention based on the work of business demand based on the work of business demand In the work management engine method and device of business demand, have the following beneficial effects: the present invention by predefined XML stream journey Element, and the element that can customize can rapidly assemble the stream to meet individual requirements by being freely combined and arranging in pairs or groups The functions such as Cheng Liuzhuan logic, approval node permission and node triggering event, then follow-up process parsing is completed by engine apparatus And online function.Therefore individual demand is both met, increases functional expansionary, reduces development cost.With individual character Change customization, advantage easy to operate and vdiverse in function.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the work management engine apparatus of the invention based on business demand.
Fig. 2 is the method flow schematic diagram of the work management engine method of the invention based on business demand.
Specific embodiment
With reference to the accompanying drawing and the embodiment of the present invention is described in further detail method of the invention.
As shown in Figure 1, a kind of work management engine apparatus based on business demand, the management engine device include:
Flow template configuration unit, for the flow template according to predefined XML stream journey element arrangements business scenario XML;
Template elements detection unit, whether the element for verifying the flow template XML for engine apparatus is legal, verification stream Whether journey reverses logic correct;
Template storage unit, for the configuration information of the flow template XML, process torsion logic to be stored in number According in library;
Process release unit, it is online for issuing the flow template XML.
Further, described device further include: call unit, for calling the flow template.
Specifically, flow template configuration unit, according to the process demand of each operation system according to the XML element becheduleding for The XML template of configuration flow.Initiation specifically since process configures start node, and configures user required for the node Event that permission and needs trigger (needs to go user's processing, either synchronously or asynchronously of examination & approval comprising the next node of synchronization notice Call the service interface of the tripartite of processing), if next node type is branch node, while configuring corresponding aggregation.With This analogizes, and defines and user right required for all nodes and each node needed for configuration service and needs trigger event.
Template elements detection unit loads XML template by engine apparatus and is parsed again to Memory Checkout element property, The parsing SAX method parsing primary with JAVA, this method be it is primary provide thus not repetition of explanation.Product process pair after parsing As the object includes flow definition, each node definition of process, and each node corresponds to user right, set of circumstances, event sets etc. Relevant definition.The flow object is successively verified from level again, verify the process torsion logic it is whether correct, verification Rationally whether the included permission of each approval node of the process, event sets, set of circumstances etc.;Such as whether process encoding is unique, Whether process includes beginning and end node and whether type is ordinary node type, the polymerization and branch node that process is included Whether it is closed, node examines whether successfully pointed next node forms closed loop, and whether the event that node includes and condition Matching, a series of associated checks such as whether condition reasonable.
Template storage unit saves the relevant configurations such as the flow template business configuration, torsion configuration logic after verification For information in database, data model includes flow definition, node definition, event group definition, event definition, the definition of condition group, item Part definition, user right definition.
Process release unit then carries out process publication, generates unique online example and saves example information in database Process is saved simultaneously reverses configuration snapshot into caching (REDIS).After the same version number's publication of one flow template on line An online instance objects only can be generated to guarantee uniqueness, circulation configuration, which is slowed down, deposits database when having mitigated work flow Pressure.
As shown in Fig. 2, a kind of work management engine method based on business demand, this method is applied to above-mentioned work management In engine apparatus, it the described method comprises the following steps:
Step 1 obtains the corresponding business demand of business scenario, and according to the business demand, is configured by flow template The flow template XML of business scenario described in the predefined XML stream journey element arrangements of unit;
Further, in the step 1, according to business demand, pass through the predefined XML stream journey element arrangements of engine apparatus The method of the flow template XML of the business scenario executes following steps: when process starts, initiating configuration start node, and match The event set user right required for the node and need to trigger needs to go the use of examination & approval comprising the next node of synchronization notice The service interface for the tripartite that family processing, calling either synchronously or asynchronously are handled configures simultaneously if next node type is branch node Corresponding aggregation;And so on, it defines and user required for all nodes needed for configuration service and each node weighs Limit and the event for needing to trigger.
Whether the element that step 2, template elements detection unit verify the flow template XML is legal, checking process torsion Whether logic is correct, and whether the included permission of each approval node of checking process, event sets, set of circumstances are reasonable, if verification knot Fruit is that the element of the flow template XML is legal, and checking process torsion is logically true, and each approval node of checking process is wrapped It is reasonable containing permission, event sets, set of circumstances, then pass through verification;
Further, in the step 2, whether the element that engine apparatus verifies flow template XML is legal, verifies the stream Whether journey torsion logic is correct, whether rationally to verify the included permission of each approval node of the process, event sets, set of circumstances etc. Method execute following steps: XML template is added in by Memory Checkout element property by engine apparatus, is then solved again Analysis;Product process object after parsing, the object include flow definition, each node definition of process, each node correspond to user right, The relevant definition such as set of circumstances, event sets;The flow object is successively verified from level again, verifies process torsion Whether correct turn logic, whether rationally to verify the included permission of each approval node of the process, event sets, set of circumstances etc..
After passing through verification, the configuration information of flow template XML configuration, process torsion logic is saved for step 3 In the database;
After step 4, configuration information save in the database, the flow template XML after configuration information will have been saved It is issued, generates unique online example, and save the information of the online example in database, while by the online reality The snapshot of the corresponding process torsion configuration of example is saved in data buffer storage, and after publication is online, operation system can be according to stream Journey coding carries out workflow examination and approval.
Further, in the step 4, which is issued into online method and executes following steps: by the process Template is at unique online example and saves example information in database while saving process torsion configuration snapshot into caching;One An online instance objects can be only generated on line after the same version number's publication of flow template.
Specifically, after issuing online success, operation system can configured process unique encodings progress start flow, stream Turn of tidal stream journey.
Start flow process: the online example of corresponding process is found by process encoding, finds stream in the buffer according to example Cheng Liuzhuan information is simultaneously converted to workflow object and temporarily puts in memory, which includes all information of flow definition, if slow It deposits and does not find workflow information or cache server connection failure, then immediate data library inquiry and be assembled into workflow object It temporarily puts in memory, first node is found in workflow object, whether checking process first is expired, the use of present node Whether family permission meets.After satisfaction, into memory in workflow object the event of the node be collected and handle (packet Handled or called the service of tripartite to carry out business processing containing the next node users of mail notification or user group).It completes Present node circulation information and the copending information of next node are saved afterwards.
Approval process, user get the mail or short message remind after, from act on behalf task list enter examination & approval interface, into examination & approval Logic.
Beginning and start flow always, after obtaining workflow object, find the section according to current approval node ID Point configuration information, verification user right etc. carry out corresponding further according to the state (success, is rejected failure) of active user's examination & approval Event, cocurrent go to the matched next node of event institute, while database save present node circulation information and next The copending information of node.
A kind of work management engine apparatus based on business demand, described device include: a kind of computer of non-transitory Readable storage medium storing program for executing, the storage medium store computations comprising: it is used for according to business demand, it is pre- by engine apparatus The code segment of the flow template XML of the XML stream journey element arrangements of the definition business scenario;For verifying the stream by engine apparatus Whether the element of journey template XML is legal, verifies whether process torsion logic is correct, and verifying each approval node of the process is included The whether reasonable code segment such as permission, event sets, set of circumstances;After through verification, saves the flow template business and match It sets, reverse the relevant configuration informations such as configuration logic in the code segment of database;For to saved the process after configuration information into Row publication generates unique online example and saves example information in database, while saving process and reversing configuration snapshot to caching Code segment;Online for issuing the flow template, after publication is online, operation system can carry out process according to process encoding The code segment of examination & approval.
Specifically, code segment above-mentioned can arbitrarily be combined work, and implementation procedure includes but is not limited to: firstly, root According to each operation system process demand according to the XML element configuration flow becheduleding for XML template.Specifically since process Initiation configure start node, and configure user right required for the node and need the event that triggers (logical comprising synchronizing Know the service interface for the tripartite that next node needs to go user's processing of examination & approval, calling either synchronously or asynchronously to handle), if next section Vertex type is branch node, while configuring corresponding aggregation.And so on, define and configuration service needed for all nodes and User right required for each node and need trigger event.
It is parsed again next, loading XML template by engine apparatus to Memory Checkout element property, which uses JAVA primary SAX method parsing, this method be it is primary provide thus not repetition of explanation.Product process object after parsing, the object Comprising flow definition, each node definition of process, it is relevant fixed that each node corresponds to user right, set of circumstances, event sets etc. Justice.
The flow object is successively verified from level again, verifies whether process torsion logic is correct, and verification should Rationally whether the included permission of each approval node of process, event sets, set of circumstances etc.;Such as whether process encoding is unique, stream Whether journey includes beginning and end node and whether type is ordinary node type, and the polymerization that process is included is with branch node No closure, node examine whether successfully pointed next node forms closed loop, the event that node includes and condition whether Match, a series of associated checks such as whether condition is reasonable.
After verification, the flow template business configuration, torsion configuration logic etc. relevant configuration informations are saved in database, Data model includes flow definition, node definition, event group definition, event definition, the definition of condition group, conditional definition, Yong Huquan Limit justice.
Followed by process publication is carried out, generates unique online example and save example information in database while saving process Configuration snapshot is reversed into caching (REDIS).One can be only generated on line after the same version number's publication of one flow template Online instance objects circulate to configure to slow down and deposit database pressure when having mitigated work flow to guarantee uniqueness.
After issuing online success, operation system can configured process unique encodings carry out start flow, circulate process.
Start flow process: the online example of corresponding process is found by process encoding, finds stream in the buffer according to example Cheng Liuzhuan information is simultaneously converted to workflow object and temporarily puts in memory, which includes all information of flow definition, if slow It deposits and does not find workflow information or cache server connection failure, then immediate data library inquiry and be assembled into workflow object It temporarily puts in memory, first node is found in workflow object, whether checking process first is expired, the use of present node Whether family permission meets.After satisfaction, into memory in workflow object the event of the node be collected and handle (packet Handled or called the service of tripartite to carry out business processing containing the next node users of mail notification or user group).It completes Present node circulation information and the copending information of next node are saved afterwards.
Approval process, user get the mail or short message remind after, from act on behalf task list enter examination & approval interface, into examination & approval Logic.
Beginning and start flow always, after obtaining workflow object, find the section according to current approval node ID Point configuration information, verification user right etc. carry out corresponding further according to the state (success, is rejected failure) of active user's examination & approval Event, cocurrent go to the matched next node of event institute, while database save present node circulation information and next The copending information of node.
Person of ordinary skill in the field can be understood that, for convenience and simplicity of description, foregoing description The specific work process of system and related explanation, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
It should be noted that system provided by the above embodiment, only illustrate with the division of above-mentioned each functional module It is bright, in practical applications, it can according to need and complete above-mentioned function distribution by different functional modules, i.e., it will be of the invention Module or step in embodiment are decomposed or are combined again, for example, the module of above-described embodiment can be merged into a module, It can also be further split into multiple submodule, to complete all or part of the functions described above.The present invention is implemented Module, the title of step involved in example, it is only for distinguish modules or step, be not intended as to of the invention improper It limits.
Person of ordinary skill in the field can be understood that, for convenience and simplicity of description, foregoing description The specific work process and related explanation of storage device, processing unit, can refer to corresponding processes in the foregoing method embodiment, Details are not described herein.
Those skilled in the art should be able to recognize that, mould described in conjunction with the examples disclosed in the embodiments of the present disclosure Block, method and step, can be realized with electronic hardware, computer software, or a combination of the two, software module, method and step pair The program answered can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electric erasable and can compile Any other form of storage well known in journey ROM, register, hard disk, moveable magnetic disc, CD~ROM or technical field is situated between In matter.In order to clearly demonstrate the interchangeability of electronic hardware and software, in the above description according to function generally Describe each exemplary composition and step.These functions are executed actually with electronic hardware or software mode, depend on technology The specific application and design constraint of scheme.Those skilled in the art can carry out using distinct methods each specific application Realize described function, but such implementation should not be considered as beyond the scope of the present invention.
Term " first ", " second " etc. are to be used to distinguish similar objects, rather than be used to describe or indicate specific suitable Sequence or precedence.
Term " includes " or any other like term are intended to cover non-exclusive inclusion, so that including a system Process, method, article or equipment/device of column element not only includes those elements, but also including being not explicitly listed Other elements, or further include the intrinsic element of these process, method, article or equipment/devices.
So far, it has been combined preferred embodiment shown in the drawings and describes technical solution of the present invention, still, this field Technical staff is it is easily understood that protection scope of the present invention is expressly not limited to these specific embodiments.Without departing from this Under the premise of the principle of invention, those skilled in the art can make equivalent change or replacement to the relevant technologies feature, these Technical solution after change or replacement will fall within the scope of protection of the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of work management engine apparatus based on business demand, which is characterized in that the management engine device includes:
Flow template configuration unit, for the flow template XML according to predefined XML stream journey element arrangements business scenario;
Template elements detection unit, whether the element for verifying the flow template XML for engine apparatus is legal, and checking process is turned round Whether correct turn logic;
Template storage unit, for the configuration information of the flow template XML, process torsion logic to be stored in database In;
Process release unit, it is online for issuing the flow template XML.
2. the work management automotive engine system based on business demand as described in claim 1, which is characterized in that the management engine Device further include: call unit, for calling the flow template XML.
3. the work management automotive engine system based on business demand as described in claim 1, which is characterized in that the flow template Configuration unit is further used for:
The corresponding business demand of business scenario is obtained, and according to the business demand, it is predefined by flow template configuration unit XML stream journey element arrangements described in business scenario flow template XML.
4. the work management automotive engine system based on business demand as described in claim 1, which is characterized in that the template elements Detection unit is further used for:
Whether the element that template elements detection unit verifies the flow template XML is legal, and whether just checking process reverses logic Really, whether the included permission of each approval node of checking process, event sets, set of circumstances are reasonable, if check results are the stream The element of journey template XML is legal, and checking process torsion is logically true, and the included permission of each approval node of checking process, thing Part set, set of circumstances are reasonable, then pass through verification.
5. the work management automotive engine system based on business demand as described in claim 1, which is characterized in that the template saves Unit is further used for:
After verification, the configuration information of flow template XML configuration, process torsion logic is stored in database In;
After configuration information saves in the database, the flow template XML after configuration information will be saved and issued, it is raw At unique online example, and the information of the online example is saved in database, while by the corresponding institute of the online example The snapshot for stating process torsion configuration is saved in data buffer storage, and after publication is online, operation system can be carried out according to process encoding Workflow examination and approval.
6. a kind of work management engine method based on business demand, this method is applied to as described in one of claim 1 to 5 Work management engine apparatus, which is characterized in that the described method comprises the following steps:
Step 1 obtains the corresponding business demand of business scenario, and according to the business demand, passes through flow template configuration unit The flow template XML of business scenario described in predefined XML stream journey element arrangements;
Whether the element that step 2, template elements detection unit verify the flow template XML is legal, and checking process reverses logic Whether correct, whether the included permission of each approval node of checking process, event sets, set of circumstances are reasonable, if check results are The element of the flow template XML is legal, and checking process torsion is logically true, and each approval node of checking process includes power Limit, event sets, set of circumstances are reasonable, then pass through verification;
The configuration information of flow template XML configuration, process torsion logic after passing through verification, is stored in number by step 3 According in library;
After step 4, configuration information save in the database, the flow template XML after configuration information will be saved and carried out Publication generates unique online example, and saves the information of the online example in database, while by the online example pair The snapshot for the process torsion configuration answered is saved in data buffer storage, and after publication is online, operation system is just according to process encoding Carry out workflow examination and approval.
7. the work management engine method based on business demand as claimed in claim 3, which is characterized in that acquisition business field The corresponding business demand of scape, and according to the business demand, matched by the predefined XML stream journey element of flow template configuration unit The flow template XML for setting the business scenario, specifically includes: when process starts, initiating start node configuration, is met with configuring User right required for each node of the business demand and each node and the event for needing to trigger.
8. the work management engine method based on business demand as claimed in claim 4, which is characterized in that initiate start node and match It sets and specifically includes:
The event for configuring user right required for each node and needing to trigger is needed comprising the next node of synchronization notice The service interface for the tripartite that the user for going examination & approval is handled, calling either synchronously or asynchronously is handled, if next node type is branch Node, while configuring corresponding aggregation.
9. the management engine method as described in one of claim 4 or 5, which is characterized in that template elements detection unit school Whether the element for testing the flow template XML is legal, and whether checking process torsion logic is correct, each approval node institute of checking process It is whether reasonable comprising permission, event sets, set of circumstances, it specifically includes:
The flow template XML is loaded into Memory Checkout element property by template elements detection unit, is then solved again Analysis;Product process object after parsing, the flow object are corresponding comprising flow definition, each node definition of process, each node User right, set of circumstances, event sets related definition;
The flow object is successively verified from level, whether correct, verify the stream if verifying process torsion logic Whether the included permission of each approval node of journey, event sets, set of circumstances are reasonable.
10. management engine method as claimed in claim 6, which is characterized in that after publication described in step 4 is online, business system System just carries out workflow examination and approval according to process encoding, specifically includes:
After issuing online success, operation system can configured process unique encodings carry out workflow examination and approval, the workflow examination and approval In include start flow and circulation process;
The start flow and circulation process specifically include: the online example of corresponding process are found by process encoding, according to described Online example finds workflow information in the buffer and the workflow information is converted to workflow object, and temporarily It puts in memory, the workflow object includes all information of flow definition, if caching does not find the workflow letter Breath or cache server connection failure then directly access the database inquiry, and are workflow pair by the data assembling inquired As and temporarily put in memory;First node is found in workflow object, and whether checking process is expired and works as prosthomere Whether the user right of point meets, if satisfied, then to the event of the node is collected and locates in workflow object in memory Reason saves present node circulation information and the copending information of next node after the completion.
CN201910368467.4A 2019-05-05 2019-05-05 A kind of work management engine method and device based on business demand Pending CN110084525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910368467.4A CN110084525A (en) 2019-05-05 2019-05-05 A kind of work management engine method and device based on business demand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910368467.4A CN110084525A (en) 2019-05-05 2019-05-05 A kind of work management engine method and device based on business demand

Publications (1)

Publication Number Publication Date
CN110084525A true CN110084525A (en) 2019-08-02

Family

ID=67418509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910368467.4A Pending CN110084525A (en) 2019-05-05 2019-05-05 A kind of work management engine method and device based on business demand

Country Status (1)

Country Link
CN (1) CN110084525A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069054A (en) * 2020-07-22 2020-12-11 北京思特奇信息技术股份有限公司 Method and system for end-to-end configuration test of configuration requirement class
CN112085473A (en) * 2020-09-11 2020-12-15 杭州安恒信息技术股份有限公司 Event notification method and related device for workflow engine and business strategy machine
CN112784199A (en) * 2021-01-28 2021-05-11 北京有竹居网络技术有限公司 Event flow processing method, device, storage medium and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105556552A (en) * 2013-03-13 2016-05-04 加迪安分析有限公司 Fraud detection and analysis
CN106021594A (en) * 2016-06-06 2016-10-12 福建榕基软件股份有限公司 Database table and XML message mapping processing method and system
CN109614568A (en) * 2018-12-07 2019-04-12 微梦创科网络科技(中国)有限公司 A kind of page generation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105556552A (en) * 2013-03-13 2016-05-04 加迪安分析有限公司 Fraud detection and analysis
CN106021594A (en) * 2016-06-06 2016-10-12 福建榕基软件股份有限公司 Database table and XML message mapping processing method and system
CN109614568A (en) * 2018-12-07 2019-04-12 微梦创科网络科技(中国)有限公司 A kind of page generation method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069054A (en) * 2020-07-22 2020-12-11 北京思特奇信息技术股份有限公司 Method and system for end-to-end configuration test of configuration requirement class
CN112069054B (en) * 2020-07-22 2023-11-21 北京思特奇信息技术股份有限公司 Method and system for testing end-to-end configuration of configuration requirement class
CN112085473A (en) * 2020-09-11 2020-12-15 杭州安恒信息技术股份有限公司 Event notification method and related device for workflow engine and business strategy machine
CN112784199A (en) * 2021-01-28 2021-05-11 北京有竹居网络技术有限公司 Event flow processing method, device, storage medium and program product

Similar Documents

Publication Publication Date Title
CN110084525A (en) A kind of work management engine method and device based on business demand
US9037549B2 (en) System and method for testing data at a data warehouse
CN111459821B (en) Software automation unit test method based on TestNG
CN109783581A (en) Right management method, device, electronic equipment and storage medium
CN109683953A (en) A kind of method and device carrying out configuration file processing based on visualization interface
Martin et al. Retrieving batch organisation of work insights from event logs
CN105844422A (en) Business flow execution method and device
CN109379326B (en) XML message rule checking method, equipment and storage medium
CN110110269B (en) Event subscription method and device based on block chain
CN113723623B (en) Federal learning auditing device, system and method
CN107862425B (en) Wind control data acquisition method, device and system and readable storage medium
Zankl et al. Labelings for decreasing diagrams
CN106548326A (en) Linking accepts scene and handles the method and its system of the workflow engine of scene
CN110189102A (en) A kind of business policy redemption system based on cloud database
CN111815169A (en) Business approval parameter configuration method and device
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
Wen et al. Mining batch processing workflow models from event logs
CN114219596A (en) Data processing method based on decision tree model and related equipment
Oktaviandri et al. Design and development of visitor management system
Jin et al. FinExpert: Domain-specific test generation for FinTech systems
CN111400187A (en) Parameter dynamic verification system and method based on customized data source
CN103577940A (en) Method and device for diagnosing service model
US7979361B2 (en) Composition of web services using representations
CN110322346A (en) A kind of condition that supporting uxto model can set method of payment and system
CN109447440A (en) A kind of environmental objective appraisal management method and apparatus, terminal device 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190802