CN109739626A - A kind of workflow engine and the access control method based on workflow engine - Google Patents

A kind of workflow engine and the access control method based on workflow engine Download PDF

Info

Publication number
CN109739626A
CN109739626A CN201811592897.6A CN201811592897A CN109739626A CN 109739626 A CN109739626 A CN 109739626A CN 201811592897 A CN201811592897 A CN 201811592897A CN 109739626 A CN109739626 A CN 109739626A
Authority
CN
China
Prior art keywords
node
workflow engine
plan
condition
jumps
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
CN201811592897.6A
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.)
Global Elegant Road Group Co Ltd
Original Assignee
Global Elegant Road Group 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 Global Elegant Road Group Co Ltd filed Critical Global Elegant Road Group Co Ltd
Priority to CN201811592897.6A priority Critical patent/CN109739626A/en
Publication of CN109739626A publication Critical patent/CN109739626A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of workflow engine and the access control method based on workflow engine, and workflow engine includes node, step, process and plan;Node is the minimum unit for controlling program and executing, and indicates the signal that equipment obtains or the operation to equipment;Step is made of node, executes step, is met step and is jumped condition and then jumps to next step;Process is made of step, indicates that first step starts the whole process that the last a step terminates, and is ensued relationship by serial front and back between step and step and is carried out process configuration;Plan is made of process, can be executed according to wherein any one process.The invention enables the processes of workflow engine to configure simpler convenient, flexible adaptation more complicated operation flow and rule.

Description

A kind of workflow engine and the access control method based on workflow engine
Technical field
The invention belongs to access control fields, are specifically related to a kind of workflow engine and the door based on the workflow engine Prohibit control method.
Background technique
Workflow engine refers to a part of workflow as application system, and is provided and has certainly to each application system What is be set for determines the Core Solutions such as information transmitting routing, content rating according to the different of role, the division of labor and condition.Business Regulation engine (BRE, business rules engine) is a kind of component software, it allows non-programmers to add or more change trade Service logic in workflow management (BPM) system of business.The two is referred to as service enabler.
Traditional gate access control method uses hard coded, and ticket checking process is directly write extremely, cannot be accomplished simple to process Flexible configuration.Since gate inhibition's service application is extensive, different according to specific scene, operation flow and rule are changeful, root A process is write at being unpractical according to every kind of demand, it is therefore desirable to which a kind of process can configure access control system and method, make It obtains access control system configuration and adapts to complicated business, in addition the system configuration process of existing configurable scheme is cumbersome, Change cost It is higher.
Summary of the invention
Present invention seek to address that the above problem, and a kind of job engine stream and gate inhibition's control based on the workflow engine are provided Method processed.It can effectively improve the flexibility ratio of access control, it can be flexible for different and usage scenario, admission ticket type, terminal Configuration ticket checking process.
A kind of workflow engine, including node, step, process and plan, it is characterised in that:
Node is the minimum unit for controlling program and executing, and indicates the signal that equipment obtains or the operation to equipment;
Step is made of node, executes step, is met step and is jumped condition and then jumps to next step;
Process is made of step, indicates that first step starts the whole process that the last a step terminates, step and step Relationship is ensued by serial front and back between rapid and carries out process configuration.
Plan is made of process, can be executed according to wherein any one process.
It further, include node control logic, that is, regulation management in the node, node logical can be held with configuration rule It is executed automatically according to process variable by rule judgement when row.
Further, the condition that jumps of the step can be set, and the execution relationship between step interior joint can be set For or with also, if be set as jumping condition alternatively, meeting as long as executing one of node;If be set as simultaneously And to execute all nodes and just meet the condition that jumps, satisfaction jumps condition and is then known as validity.
Further, one group of possible process can be set in the plan, as long as one of process meets validity, Guarantee the validity of follow-up process.
The present invention also provides a kind of access control methods based on workflow engine, which is characterized in that the method includes Following steps:
S1: the rule that the base node content and node for defining workflow engine first execute;
S2: the relationship of setting steps include again node and step interior joint and condition is jumped;
S3: the step content that setting procedure includes again;
S4: server is checked according to the admission plan of door, door group, section and/or admission credential information configuration work stream engine;
S5: gate inhibition's client receives and executes admission plan according to the configuration of ticket checking server after ticket checking instructs.
Further, the node step includes synchronizing step or asynchronous step, asynchronous step just refer to manual drive or The step of intervention, synchronizing step refer to the step of not needing manual drive or intervening.
Further, gate inhibition's client may be performed simultaneously several processes, and according to the step conclusion currently passed by Judge whether next step process can continue to execute, to eliminate the process that can not be jumped, workflow engine finally only carries out one A entire flow.
Further, include timer and clocking discipline in the node and process, be more than specified time then admission plan Execute the original state for jumping to present node and process.
Further, the ticket checking status of fail can be used as variable, and the subsequent node of process can be according in node Rule is jumped by do-nothing operation, or executes other operation.
The beneficial effects of the present invention are: workflow engine of the invention, between step and step by serial front and back after The relationship of rising adapts to flexible and changeable use demand so that the configuration of its process is simple and convenient.This method is by answering workflow engine It uses in access control system, and carries out adaptive improvement and innovation, realize many-sided flexible configuration access control process, have Effect improves the flexibility ratio that access control system uses.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the provided workflow engine of the embodiment of the present invention;
Fig. 2 is that the embodiment of the present invention provides the structural schematic diagram of the access control system based on workflow engine;
Fig. 3 is that the embodiment of the present invention provides the flow diagram of the access control method based on workflow engine.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, rather than whole embodiments.Based on this Embodiment in application, those of ordinary skill in the art are obtained every other under the premise of not making creative labor Embodiment shall fall in the protection scope of this application.
Refering to fig. 1, the present invention provides a kind of workflow engine, workflow engine includes node, step, process and meter It draws.
Node is the minimum unit for controlling program and executing, and indicates the signal that equipment obtains or the operation to equipment;
Step is made of node, executes step, is met step and is jumped condition and then jumps to next step;
Process is made of step, indicates that first step starts the whole process that the last a step terminates, step and step Relationship is ensued by serial front and back between rapid and carries out process configuration.
Plan is made of process, can be executed according to wherein any one process.
Specifically, include node control logic, that is, regulation management in node, node logical can with configuration rule, when execution from It is dynamic to be executed according to process variable by rule judgement.
Specifically, the condition that jumps of step can be set, the execution relationship between step interior joint can be set to or With also, if be set as alternatively, as long as executing one of node meet jump condition;If be set as also, to hold All nodes of row just meet the condition that jumps, and satisfaction jumps condition and is then known as validity.
Specifically, one group of possible process can be set in plan, as long as one of process meets validity, after ensuring that The validity of afterflow journey.
For the ease of the understanding to embodiment, first to provided by embodiment based on workflow engine access control System is briefly described.Referring to Fig.2, the access control system according to the present invention based on job engine stream includes: ticket checking Server 11, workflow engine 12 and gate inhibition's client 13, terminal 11 and workflow engine 12 with ticket checking 11 network of server Connection, for realizing data communication with server 11.Wherein, gate inhibition's client 13 of the invention realize various data transmission, The functions such as reception and processing.
Refering to Fig. 3, the present invention provides a kind of access control methods based on workflow engine, which comprises
S1: the rule that the base node content and node for defining workflow engine first execute.
In the present embodiment, first be arranged workflow engine base node content (including two dimensional code verifying, admission ticket verifying, ID card verification, fingerprint recognition, recognition of face, server ticket checking, enabling, display information, casting voice etc.) and node execution Rule.
S2: the relationship of setting steps include again node and step interior joint and condition is jumped;
Specifically, the step of node step includes synchronizing step or asynchronous step, and asynchronous step just refers to manual drive or intervenes, Such as admission ticket verifying, ID card verification, fingerprint recognition, recognition of face;Synchronizing step refers to the step for not needing manual drive or intervention Suddenly, for example, voice broadcast, enabling, display information, when jumping to asynchronous step, system passes through waiting.
It is configured in this example, it is assumed that entering and leaving type of credentials according to gate inhibition.
It is set using the node content and execute relationship that each step of system of real name voucher includes are as follows: step 1 (test by admission ticket Card), step 2 (fingerprint recognition or recognition of face), step 3 (enabling and voice broadcast).
It is set using the node content and execute relationship that the non-each step of system of real name voucher includes are as follows: step 1 (test by admission ticket Card), step 2 (enabling and voice broadcast).
S3: the step content that setting procedure includes again;
It is configured in this example, it is assumed that entering and leaving type of credentials according to gate inhibition.
The executing rule process of configuration system of real name voucher includes: admission ticket verifying, recognition of face or fingerprint recognition, opens the door, broadcasts Report voice.
The executing rule process for configuring non-system of real name voucher includes: admission ticket verifying, opens the door, broadcasts voice.
S4: server is checked according to the admission meter of door, door group, section and/or admission credential information configuration work stream engine It draws;
It is configured in this example, it is assumed that entering and leaving type of credentials according to gate inhibition.
The admission plan of workflow engine includes the executing rule process of system of real name voucher and holding for non-system of real name voucher Line discipline process.
S5: gate inhibition's client receives and executes admission plan according to the configuration of ticket checking server after ticket checking instructs.
It include timer and clocking discipline in specific node and process, more than specified time, then admission plan execution is jumped To the original state of present node and process.
Specific gate inhibition's client may be performed simultaneously several processes, and be judged according to the step conclusion currently passed by next Whether step process can continue to execute, to eliminate the process that can not be jumped, workflow engine finally only carries out a complete stream Journey.
In the present embodiment, system of real name ticket checking process is executed if terminal receives the ticket checking order of system of real name admission ticket, first Admission ticket verifying is carried out, is verified, carries out fingerprint recognition or recognition of face, one of them are verified, admission of opening the door, and are opened the door It is successful then carry out voice broadcast, complete the execution of entire admission plan;If terminal receives expense system of real name admission ticket ticket checking order Non- system of real name ticket checking workflow engine is executed, progress admission ticket verifying first is verified, admission of opening the door, opens the door and successfully then carry out Voice broadcast completes the execution of entire admission plan.
In the present embodiment, it if gate inhibition's client can not receive the type of ticket checking order, may be performed simultaneously multiple Process such as carries out admission ticket verifying first, is verified, and carries out next step and carries out fingerprint recognition and recognition of face, if can not be into Row identification or identification do not pass through, then eliminate the executing rule process of system of real name voucher, execute non-system of real name voucher executes rule Then process.
In the present embodiment, gate inhibition's client starts to open timing after executing admission plan, if not holding within the top set time It has gone a node or complete process, has then carried out initialization and restart to execute the node or process.
Although being disclosed by above embodiments to the present invention, scope of protection of the present invention is not limited thereto, Under conditions of without departing from present inventive concept, made any modifications, equivalent replacements, and improvements etc. be should be included in of the invention Within protection scope.

Claims (9)

1. a kind of workflow engine, including node, step, process and plan, it is characterised in that:
Node is the minimum unit for controlling program and executing, and indicates the signal that equipment obtains or the operation to equipment;
Step is made of node, executes step, is met step and is jumped condition and then jumps to next step;
Process is made of step, indicates that first step starts the whole process that the last a step terminates, step and step Relationship is ensued by serial front and back between rapid and carries out process configuration;
Plan is made of process, can be executed according to wherein any one process.
2. workflow engine according to claim 1, which is characterized in that advised in the node comprising node control logic It then manages, node logical can be with configuration rule, and when execution is executed automatically according to process variable by rule judgement.
3. workflow engine according to claim 1, which is characterized in that the condition that jumps of the step can be set, step As long as the execution relationship between rapid interior joint can be set to or and also, if be set as alternatively, executing one of section Point jumps condition with regard to meeting;If being set as also, executing all nodes just meeting the condition that jumps, satisfaction claims if jumping condition For validity.
4. workflow engine according to claim 1, which is characterized in that one group of possible stream can be set in the plan Journey ensures that the validity of follow-up process as long as one of process meets validity.
5. a kind of access control method based on workflow engine, which is characterized in that described method includes following steps:
S1: the rule that the base node content and node for defining workflow engine first execute;
S2: the relationship of setting steps include again node and step interior joint and condition is jumped;
S3: the step content that setting procedure includes again;
S4: server is checked according to the admission plan of door, door group, section and/or admission credential information configuration work stream engine;
S5: gate inhibition's client receives and executes admission plan according to the configuration of ticket checking server after ticket checking instructs.
6. according to the method described in claim 5, it is characterized in that, the node step includes synchronizing step or asynchronous step, The step of asynchronous step just refers to manual drive or intervenes, synchronizing step refer to the step of not needing manual drive or intervening.
7. according to the method described in claim 5, it is characterized in that, gate inhibition's client may be performed simultaneously several processes, And judge whether next step process can continue to execute according to the step conclusion currently passed by, to eliminate the stream that can not be jumped Journey, workflow engine finally only carry out an entire flow.
8. according to the method described in claim 5, it is characterized in that, being advised in the node and process comprising timer and timing Then, more than specified time, then admission plan executes and jumps to the original state of present node and process.
9. according to the method described in claim 5, it is characterized in that, the ticket checking status of fail can be used as variable, after process Continuous node can be jumped according to the rule in node by do-nothing operation, or execute other operation.
CN201811592897.6A 2018-12-25 2018-12-25 A kind of workflow engine and the access control method based on workflow engine Pending CN109739626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811592897.6A CN109739626A (en) 2018-12-25 2018-12-25 A kind of workflow engine and the access control method based on workflow engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811592897.6A CN109739626A (en) 2018-12-25 2018-12-25 A kind of workflow engine and the access control method based on workflow engine

Publications (1)

Publication Number Publication Date
CN109739626A true CN109739626A (en) 2019-05-10

Family

ID=66359785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811592897.6A Pending CN109739626A (en) 2018-12-25 2018-12-25 A kind of workflow engine and the access control method based on workflow engine

Country Status (1)

Country Link
CN (1) CN109739626A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246255A (en) * 2019-06-18 2019-09-17 深圳市简工智能科技有限公司 Smart lock controls method, apparatus, computer readable storage medium and system
CN110650211A (en) * 2019-10-15 2020-01-03 河北幸福消费金融股份有限公司 Agent technology-based process control method, system, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6074059A (en) * 1983-09-30 1985-04-26 Fujitsu Ltd Access control system for storage device
CN1254145A (en) * 1999-11-12 2000-05-24 成都银晨网讯科技有限公司 Face image identification entrance guard and work attendance checking system
CN102496199A (en) * 2011-12-12 2012-06-13 山东大学 Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN103617066A (en) * 2013-12-16 2014-03-05 中国农业银行股份有限公司 Workflow engine and implementation method thereof
CN208156742U (en) * 2018-01-26 2018-11-27 河南云拓智能科技有限公司 Intelligent cloud access control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6074059A (en) * 1983-09-30 1985-04-26 Fujitsu Ltd Access control system for storage device
CN1254145A (en) * 1999-11-12 2000-05-24 成都银晨网讯科技有限公司 Face image identification entrance guard and work attendance checking system
CN102496199A (en) * 2011-12-12 2012-06-13 山东大学 Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN103617066A (en) * 2013-12-16 2014-03-05 中国农业银行股份有限公司 Workflow engine and implementation method thereof
CN208156742U (en) * 2018-01-26 2018-11-27 河南云拓智能科技有限公司 Intelligent cloud access control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246255A (en) * 2019-06-18 2019-09-17 深圳市简工智能科技有限公司 Smart lock controls method, apparatus, computer readable storage medium and system
CN110650211A (en) * 2019-10-15 2020-01-03 河北幸福消费金融股份有限公司 Agent technology-based process control method, system, device and storage medium
CN110650211B (en) * 2019-10-15 2022-04-01 河北幸福消费金融股份有限公司 Agent technology-based process control method, system, device and storage medium

Similar Documents

Publication Publication Date Title
CN106789851A (en) Auth method, system, service server and authentication server
CN106358065A (en) Multimedia information processing method and system
CN104753909B (en) Method for authenticating after information updating, Apparatus and system
CN108848113A (en) Client device log-in control method, device, storage medium and server
CN110912893A (en) Account number merging method
CN110602252B (en) Block chain enhanced open Internet of things access architecture
CN109739626A (en) A kind of workflow engine and the access control method based on workflow engine
CN109495584A (en) Internet of things equipment cut-in method, device, equipment and medium
CN108574590A (en) A kind of opening network element method and apparatus and computer readable storage medium
CN110198265A (en) Information processing method, system, device, equipment and medium
CN110413528A (en) Test environment intelligent configuration method and system
CN108183911A (en) A kind of method, device and mobile terminal of batch replacement binding cell-phone number
CN107948970A (en) System of real name method of network entry, system and the mobile terminal of subordinate terminal
CN109450708A (en) A kind of Nginx Dynamic Configuration and system
CN106339632A (en) Method for allocating M2M device administration authority, user device and system
CN104092694B (en) A kind of method and system of the account distribution of mobile phone games
CN108960836A (en) Voice payment method, apparatus and system
CN107566513A (en) Test equipment DOS environmental data collecting methods and system
CN107613313A (en) A kind of player method and device of multiple live videos
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
CN106384274B (en) A kind of data synchronizing processing method and system of domain name auction
CN109788528A (en) Access point and its internet business activating method and system
CN106878990A (en) A kind of information-pushing method and device
CN110519258A (en) Equipment accesses account control method, control device and readable storage medium storing program for executing
CN109450656A (en) A kind of charging flow drawing generating method and device

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

Application publication date: 20190510

RJ01 Rejection of invention patent application after publication