CN106803143A - The method that flow engine cloud service is provided based on workflow engine for cloud platform - Google Patents

The method that flow engine cloud service is provided based on workflow engine for cloud platform Download PDF

Info

Publication number
CN106803143A
CN106803143A CN201611074204.5A CN201611074204A CN106803143A CN 106803143 A CN106803143 A CN 106803143A CN 201611074204 A CN201611074204 A CN 201611074204A CN 106803143 A CN106803143 A CN 106803143A
Authority
CN
China
Prior art keywords
workflow
user
service
data
flow
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
CN201611074204.5A
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.)
CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CLP SECTION HUAYUN INFORMATION TECHNOLOGY 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 CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd filed Critical CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201611074204.5A priority Critical patent/CN106803143A/en
Publication of CN106803143A publication Critical patent/CN106803143A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/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 discloses a kind of method for providing flow engine cloud service for cloud platform based on workflow engine, it comprises the following steps:Step one, the customization and interface of workflow service;Step 2, carries out user authentication when operation system is using workflow service;Step 3, workflow service divides flow data by user;Step 4, workflow service flow data rights management data;Step 5, workflow service treatment external parameter data;Step 6, PUSH message when workflow service runs.The method that the present invention provides flow engine cloud service based on Open Source Workflow engine implementation facing cloud platform, solves the problems, such as that the business service system based on common platform uses the workflow service of Activiti 5.

Description

The method that flow engine cloud service is provided based on workflow engine for cloud platform
Technical field
It is more particularly to a kind of to be based on work the present invention relates to a kind of method that flow engine cloud service is provided for cloud platform The method that stream engine provides flow engine cloud service for cloud platform.
Background technology
Activiti 5 (Open Source Workflow engine) Workflow system is the important component of operation system, in business system More and more it is used in the business functions such as application, examination & approval in system.Management that is unified and concentrating is needed in actual production process With safeguard the workflow services of Activiti 5, and for multiple operation systems provide workflow service.Operation system under normal circumstances Possess the user authentication and user grouping function of uniqueness, and the characteristic based on respective business carries out data permission management.Make During with 5 workflows of Activiti, it is often necessary to carry out data processing and the data type conversion of external parameter.Using During 5 workflows of Activiti, it is often necessary to initiate operation system certain functional interface and call.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of workflow engine that is based on for cloud platform provides flow engine The method of cloud service, it can solve the problem that the business service system based on common platform uses the workflow service of Activiti 5 Problem.
The present invention is to solve above-mentioned technical problem by following technical proposals:Based on workflow engine for cloud platform is carried For the method for flow engine cloud service, it comprises the following steps:
Step one, the customization and interface of workflow service;
Step 2, carries out user authentication when operation system is using workflow service;
Step 3, workflow service divides flow data by user;
Step 4, workflow service flow data rights management data;
Step 5, workflow service treatment external parameter data;
Step 6, PUSH message when workflow service runs.
Preferably, the step one comprises the following steps:
Step 7, operation system is initiated user and is applied to the workflow services of Activiti 5, submits operation system title, industry to Business system user authentication interface address, the user grouping query interface address of operation system;
Step 8, the workflow services of Activiti 5 store this application information and generate user and return to operation system.
Preferably, the step 2 comprises the following steps:
Step 9, operation system initiates interface interchange according to workflow interfacing requirement, wherein contains user in interface parameters Information and user profile;
Step 10, workflow service gets user profile and verifies user profile in systems, and user is present then to be carried out Step 11, in the absence of then authentification failure;
Step 11, workflow service checks interface further according to the user authentication interface of user profile access service system Whether legal access user, be to go to step 12, otherwise go to step 13;
Step 12, when it is legal to check interface access user, obtains the packet details of user;
Step 13, when it is illegal to check interface access user, the user's request will be returned, authentification failure.
Preferably, the step 3 comprises the following steps:
Step 14, finishing service system use workflow service the step of;
Step 15, workflow service will carry out user's checking in Processing Interface logic to the resource data for accessing;
Step 10 six, when the resource data for checking access belongs to the user, then carries out traffic flow logical process;
Step 10 seven, when the resource data for checking access is not belonging to the user, the request will return to resource data not Belong to the prompt message of user.
Preferably, the step 4 comprises the following steps:
Step 10 eight, finishing service system use workflow service the step of;
Step 10 nine, workflow service in Processing Interface logic, using the user grouping query interface of operation system Address, obtains the data permission data of user, the checking of data permission will be carried out when being inquired about in flow data, processed;
Step 2 ten, when the resource data for checking access meets data permission verification condition, then carries out traffic flow Logical process;
Step 2 11, when the resource data for checking access is unsatisfactory for data permission verification condition, the request will be returned Return the prompt message that resource data is not belonging to user.
Preferably, the step 5 comprises the following steps:
Step 2 12, creates unified Data Format Transform class;
Step 2 13, in flow scheme design, the ginseng of data conversion is needed in the place configuration of requirements of process data conversion The type of several titles and transformation result;
Step 2 14, in process flow operation, data converting function carries out data form treatment by parameter.
Preferably, the step 6 comprises the following steps:
Step 2 15, during operation system start flow, the interface IP address of incoming reception message, it is desirable to be REST types simultaneously And method is the interface of POST;
Step 2 16, in flow scheme design, in flow initiation, tasks carrying starts, tasks carrying terminates, flow terminates Position on configure message send monitoring module;
Step 2 17, when flow instance runs, flow is initiated, tasks carrying starts, tasks carrying terminates, flow knot The data for monitoring position are sent to operation system using the interface IP address for receiving message during the execution of beam;
Step 2 18, operation system passes through the message content for receiving, the task node letter where judging certain flow instance Breath, corresponding logical process is carried out according to the information.
Positive effect of the invention is:The present invention provides stream based on Open Source Workflow engine implementation facing cloud platform The method of journey engine cloud service, solves the business service system based on common platform and uses the workflow service of Activiti 5 Problem.Workflow service and operation system stand-alone development, flow engine function is provided in interface interchange mode.According to tenant's information Isolate the flow data of each operation system, the present invention can provide workflow service, facilitate workflow for multiple operation systems The unitized overall development and maintenance and the unified management to procedure information of service.The present invention can provide the treatment of unified service role Function, it is also possible to carry out personalized exploitation, but development function not in operation system side, but workflow service by actual demand Provider develop on demand, it is ensured that background program it is controllable, it is to avoid the implantation of the logic of overlapping development and malice.
Specific embodiment
With reference to specific embodiment, the present invention is described in detail.Following examples will be helpful to the technology of this area Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that to the ordinary skill of this area For personnel, without departing from the inventive concept of the premise, various modifications and improvements can be made.These belong to the present invention Protection domain.
The present invention is based on workflow engine for the method that cloud platform provides flow engine cloud service comprises the following steps:
Step one, the customization and interface of workflow service;
Step 2, carries out user authentication when operation system is using workflow service;
Step 3, workflow service divides flow data by user;
Step 4, workflow service flow data rights management data;
Step 5, workflow service treatment external parameter data;
Step 6, PUSH message when workflow service runs.
Step one comprises the following steps:
Step 7, operation system is initiated user and is applied to the workflow services of Activiti 5, submits operation system title, industry to Business system user authentication interface address, the user grouping query interface address of operation system;
Step 8, the workflow services of Activiti 5 store this application information and generate user and return to operation system.
Step 2 comprises the following steps:
Step 9, operation system initiates interface interchange according to workflow interfacing requirement, wherein contains user in interface parameters Information and user profile;
Step 10, workflow service gets user profile and verifies user profile in systems, and user is present then to be carried out Step 11, in the absence of then authentification failure;
Step 11, workflow service checks interface further according to the user authentication interface of user profile access service system Whether legal access user, be to go to step 12, otherwise go to step 13;
Step 12, when it is legal to check interface access user, obtains the packet details of user;
Step 13, when it is illegal to check interface access user, the user's request will be returned, authentification failure.
Step 3 comprises the following steps:
Step 14, finishing service system use workflow service the step of;
Step 15, workflow service will carry out user's checking in Processing Interface logic to the resource data for accessing;
Step 10 six, when the resource data for checking access belongs to the user, then carries out traffic flow logical process;
Step 10 seven, when the resource data for checking access is not belonging to the user, the request will return to resource data not Belong to the prompt message of user.
Step 4 comprises the following steps:
Step 10 eight, finishing service system use workflow service the step of;
Step 10 nine, workflow service in Processing Interface logic, using the user grouping query interface of operation system Address, obtains the data permission data of user, the checking of data permission will be carried out when being inquired about in flow data, processed;
Step 2 ten, when the resource data for checking access meets data permission verification condition, then carries out traffic flow Logical process;
Step 2 11, when the resource data for checking access is unsatisfactory for data permission verification condition, the request will be returned Return the prompt message that resource data is not belonging to user.
Step 5 comprises the following steps:
Step 2 12, creates unified Data Format Transform class;
Step 2 13, in flow scheme design, the ginseng of data conversion is needed in the place configuration of requirements of process data conversion The type of several titles and transformation result;
Step 2 14, in process flow operation, data converting function carries out data form treatment by parameter.
Step 6 comprises the following steps:
Step 2 15, during operation system start flow, the interface IP address of incoming reception message, it is desirable to be REST types simultaneously And method is the interface of POST;
Step 2 16, in flow scheme design, in flow initiation, tasks carrying starts, tasks carrying terminates, flow terminates Position on configure message send monitoring module;
Step 2 17, when flow instance runs, flow is initiated, tasks carrying starts, tasks carrying terminates, flow knot The data for monitoring position are sent to operation system using the interface IP address for receiving message during the execution of beam;
Step 2 18, operation system passes through the message content for receiving, the task node letter where judging certain flow instance Breath, corresponding logical process is carried out according to the information.
For the defect of prior art in background material, the technical problem to be solved in the present invention be embodied in it is following some:
(1) workflows of Activiti 5 are needed to carry out customization offer management for operation system, and flow data is pressed User is isolated, and prevents flow data from being accessed by other operation systems, so as to ensure flow data safety.
(2) workflows of Activiti 5 need that functional interface is strengthened the interface function of calling service.
(3) function of primary Activiti 5 cannot meet the data permission phase of distinctive user authentication and user grouping Pass demand, each operation system cannot be unified to use primary user authentication and user grouping function, for each operation system Itself the characteristics of, the present invention will solve the problems, such as user authentication and user grouping, and the problems such as solve flow data rights management.
(4) when using 5 workflows of Activiti, it is often necessary to carry out the Data Format Transform of external parameter, and it is existing Need to write background program in the workflows of Activiti 5 to complete the data process method so that the workflows of Activiti 5 make There is great risk during with outside background program, the data form conversion that the present invention will solve to be commonly used in flow is asked Topic.
(5) when using 5 workflows of Activiti, it is often necessary to initiate operation system certain functional interface and call, and initiate The interface for calling all disunities, increased the exploitation and maintenance work of the background program of Activiti 5, and the present invention will use system One message notification mechanism solves problems.
In sum, the present invention provides the side of flow engine cloud service based on Open Source Workflow engine implementation facing cloud platform Method, solves the problems, such as that the business service system based on common platform uses the workflow service of Activiti 5.
Particular embodiments described above, technical problem, technical scheme and beneficial effect to solution of the invention are carried out Further describe, should be understood that and the foregoing is only specific embodiment of the invention, be not limited to The present invention, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc., should be included in this Within the protection domain of invention.

Claims (7)

1. a kind of method that flow engine cloud service is provided based on workflow engine for cloud platform, it is characterised in that under it includes Row step:
Step one, the customization and interface of workflow service;
Step 2, carries out user authentication when operation system is using workflow service;
Step 3, workflow service divides flow data by user;
Step 4, workflow service flow data rights management data;
Step 5, workflow service treatment external parameter data;
Step 6, PUSH message when workflow service runs.
2. it is as claimed in claim 1 to be based on the method that workflow engine provides flow engine cloud service for cloud platform, its feature It is that the step one comprises the following steps:
Step 7, operation system is initiated user and is applied to the workflow services of Activiti 5, submits operation system title, business system to System user authentication interface IP address, the user grouping query interface address of operation system;
Step 8, the workflow services of Activiti 5 store this application information and generate user and return to operation system.
3. it is as claimed in claim 1 to be based on the method that workflow engine provides flow engine cloud service for cloud platform, its feature It is that the step 2 comprises the following steps:
Step 9, operation system initiates interface interchange according to workflow interfacing requirement, wherein contains user profile in interface parameters And user profile;
Step 10, workflow service gets user profile and verifies user profile in systems, and user is present then carries out step 11, in the absence of then authentification failure;
Step 11, workflow service checks that interface is accessed further according to the user authentication interface of user profile access service system Whether user is legal, is, goes to step 12, otherwise goes to step 13;
Step 12, when it is legal to check interface access user, obtains the packet details of user;
Step 13, when it is illegal to check interface access user, the user's request will be returned, authentification failure.
4. it is as claimed in claim 1 to be based on the method that workflow engine provides flow engine cloud service for cloud platform, its feature It is that the step 3 comprises the following steps:
Step 14, finishing service system use workflow service the step of;
Step 15, workflow service will carry out user's checking in Processing Interface logic to the resource data for accessing;
Step 10 six, when the resource data for checking access belongs to the user, then carries out traffic flow logical process;
Step 10 seven, when the resource data for checking access is not belonging to the user, the request is not belonging to resource data is returned The prompt message of user.
5. it is as claimed in claim 1 to be based on the method that workflow engine provides flow engine cloud service for cloud platform, its feature It is that the step 4 comprises the following steps:
Step 10 eight, finishing service system use workflow service the step of;
Step 10 nine, workflow service in Processing Interface logic, using the user grouping query interface address of operation system, The data permission data of user are obtained, the checking of data permission will be carried out when being inquired about in flow data, processed;
Step 2 ten, when the resource data for checking access meets data permission verification condition, then carries out traffic flow logic Treatment;
Step 2 11, when the resource data for checking access is unsatisfactory for data permission verification condition, the request will be returned and provided Source data is not belonging to the prompt message of user.
6. it is as claimed in claim 1 to be based on the method that workflow engine provides flow engine cloud service for cloud platform, its feature It is that the step 5 comprises the following steps:
Step 2 12, creates unified Data Format Transform class;
Step 2 13, in flow scheme design, the parameter name of data conversion is needed in the place configuration of requirements of process data conversion Claim the type with transformation result;
Step 2 14, in process flow operation, data converting function carries out data form treatment by parameter.
7. it is as claimed in claim 1 to be based on the method that workflow engine provides flow engine cloud service for cloud platform, its feature It is that the step 6 comprises the following steps:
Step 2 15, during operation system start flow, the interface IP address of incoming reception message, it is desirable to be REST types and Method is the interface of POST;
Step 2 16, in flow scheme design, in flow initiation, the position that tasks carrying starts, tasks carrying terminates, flow terminates Put the monitoring module that configuration message sends;
Step 2 17, when flow instance runs, flow is initiated, tasks carrying starts, tasks carrying terminates, flow terminates The data for monitoring position are sent to operation system using the interface IP address for receiving message during execution;
Step 2 18, operation system passes through the message content for receiving, the task node information where judging certain flow instance, root Corresponding logical process is carried out according to the information.
CN201611074204.5A 2016-11-29 2016-11-29 The method that flow engine cloud service is provided based on workflow engine for cloud platform Pending CN106803143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611074204.5A CN106803143A (en) 2016-11-29 2016-11-29 The method that flow engine cloud service is provided based on workflow engine for cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611074204.5A CN106803143A (en) 2016-11-29 2016-11-29 The method that flow engine cloud service is provided based on workflow engine for cloud platform

Publications (1)

Publication Number Publication Date
CN106803143A true CN106803143A (en) 2017-06-06

Family

ID=58983957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611074204.5A Pending CN106803143A (en) 2016-11-29 2016-11-29 The method that flow engine cloud service is provided based on workflow engine for cloud platform

Country Status (1)

Country Link
CN (1) CN106803143A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280567A (en) * 2017-12-29 2018-07-13 三盟科技股份有限公司 A kind of intelligent cloud Service Workflow engine control method and system
CN108920135A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 A kind of customized business generating method, device, computer equipment and storage medium
CN111258773A (en) * 2018-12-01 2020-06-09 阿里巴巴集团控股有限公司 Service call flow information processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984600A (en) * 2014-05-07 2014-08-13 丽水桉阳生物科技有限公司 Financial data processing method based on cloud computing
CN104850405A (en) * 2015-05-25 2015-08-19 武汉众联信息技术股份有限公司 Intelligent configurable workflow engine and implementation method therefor
CN104881736A (en) * 2015-05-15 2015-09-02 西安电子科技大学 Multi-Agent worksteam access control method based on improved role

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984600A (en) * 2014-05-07 2014-08-13 丽水桉阳生物科技有限公司 Financial data processing method based on cloud computing
CN104881736A (en) * 2015-05-15 2015-09-02 西安电子科技大学 Multi-Agent worksteam access control method based on improved role
CN104850405A (en) * 2015-05-25 2015-08-19 武汉众联信息技术股份有限公司 Intelligent configurable workflow engine and implementation method therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280567A (en) * 2017-12-29 2018-07-13 三盟科技股份有限公司 A kind of intelligent cloud Service Workflow engine control method and system
CN108920135A (en) * 2018-06-27 2018-11-30 杭州贝店科技有限公司 A kind of customized business generating method, device, computer equipment and storage medium
CN108920135B (en) * 2018-06-27 2021-09-10 杭州贝店科技有限公司 User-defined service generation method and device, computer equipment and storage medium
CN111258773A (en) * 2018-12-01 2020-06-09 阿里巴巴集团控股有限公司 Service call flow information processing method and device and electronic equipment
CN111258773B (en) * 2018-12-01 2023-05-26 阿里巴巴集团控股有限公司 Service call flow information processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112804310B (en) Multi-chain intelligent security gateway for application of Internet of things and implementation method
CN111988338B (en) Permission-controllable Internet of things cloud platform based on block chain and data interaction method
CN104333556B (en) Based on resource service management system Security Certificate gateway decentralized configuration management method
US9813398B2 (en) Method and system for Internet of things capability integration
CN112491960A (en) SCM (Single chip microcomputer) -oriented industrial internet identifier registration and analysis method, identifier connection platform and system
CN106803143A (en) The method that flow engine cloud service is provided based on workflow engine for cloud platform
CN101729541B (en) Method and system for accessing resources of multi-service platform
CN107426152B (en) Multitask security isolation system and method under cloud platform actual situation Interconnection Environment
CN113037831A (en) Service gateway message processing method and device
CN111092910B (en) Database security access method, device, equipment, system and readable storage medium
CN113114498A (en) Architecture system of trusted block chain service platform and construction method thereof
CN107770192A (en) Identity authentication method and computer-readable recording medium in multisystem
CN106341369A (en) Security control method and device
US8938801B2 (en) Managing domain name abuse
US8745387B2 (en) Security management for an integrated console for applications associated with multiple user registries
CN106888191A (en) Hierarchical protection multilevel security interacted system and its interconnected method
Huo et al. A blockchain-enabled trusted identifier co-governance architecture for the industrial internet of things
WO2024067161A1 (en) Method for realizing application-free mobile officing by means of 5g message
CN106682821A (en) Unified management control method for rail transit system users
CN106127573A (en) A kind of lightness operation system and method
CN201557132U (en) Cross-domain management device based on PKI/PMI technology
Guermouche et al. Privacy-aware web service protocol replaceability
CN111597585B (en) Privacy protection method, system and related components of blockchain data
CN114154193A (en) Cross-domain access control method based on block chain
CN106993060A (en) A kind of master data integrated approach based on service architecture

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: 20170606

RJ01 Rejection of invention patent application after publication