CN115204850A - Process approval method and system based on BPMN - Google Patents

Process approval method and system based on BPMN Download PDF

Info

Publication number
CN115204850A
CN115204850A CN202211133618.6A CN202211133618A CN115204850A CN 115204850 A CN115204850 A CN 115204850A CN 202211133618 A CN202211133618 A CN 202211133618A CN 115204850 A CN115204850 A CN 115204850A
Authority
CN
China
Prior art keywords
preset
file
flow
data
target
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
CN202211133618.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.)
Zhongfu Information Co Ltd
Original Assignee
Zhongfu Information 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 Zhongfu Information Co Ltd filed Critical Zhongfu Information Co Ltd
Priority to CN202211133618.6A priority Critical patent/CN115204850A/en
Publication of CN115204850A publication Critical patent/CN115204850A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a process approval method and system based on BPMN, mainly relates to the technical field of process approval, and is used for solving the problems that the existing process approval method is limited in process adaptability, low in processing efficiency and the like. The method comprises the following steps: converting the acquired process management data based on BPMN2.0 specifications and preset configuration parameters, and storing the converted data into a preset process container; acquiring a flow demand, and determining a corresponding target flow file; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; extracting node data corresponding to the target process file node from a preset process container based on the data extraction information; converting the node data into a flow file; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container. The method realizes flexible generation of the flow files and improves the processing efficiency.

Description

Process approval method and system based on BPMN
Technical Field
The application relates to the technical field of process approval, in particular to a process approval method and system based on BPMN.
Background
Process approval is a very important part of the office system. With the continuous development and growth of enterprises, the process approval process becomes extremely complex and troublesome, so that the cooperative work of the enterprises faces great challenges, and in the process of process approval, if the confidentiality, the viewing authority and other aspects of the file transfer process are not well controlled, the internal information of the company can be leaked, and unnecessary loss can be caused.
In the existing business system, the approval of the system process is mainly realized as follows: 1. the examination and approval process is realized by a state machine mode, and a process approver adopts a hard coding mode. 2. And an embedded activity or flowable open-source process library is adopted to realize a plurality of additional functions. 3. And (3) a production process engine platform.
However, the above (1) state machine method has poor robustness, and if the organization is changed, the code needs to be modified, which results in high maintenance cost. The process can not be reused, a new process needs to be developed and maintained manually each time, and the coupling of the process is high. (2) Active or flowable and other open-source process libraries are embedded, requirements on development personnel are high, and synchronization of a large number of front ends is achieved. (3) The process engine platform has limited adaptive capacity and low compatibility in a new service scene.
Disclosure of Invention
In view of the above disadvantages in the prior art, the present invention provides a process approval method and system based on BPMN, so as to solve the above technical problems.
In a first aspect, the present application provides a process approval method based on BPMN, including: converting the acquired process management data based on BPMN2.0 specifications and preset configuration parameters, and storing the converted data into a preset process container; acquiring a flow demand, and determining a corresponding target flow file; the target process file presets data extraction information; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; extracting node data corresponding to the target process file node from a preset process container based on the data extraction information; converting the node data into a flow file based on BPMN2.0 specifications and preset configuration rules; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container.
Further, based on the BPMN2.0 specification and preset configuration parameters, converting the acquired process management data, and storing the converted data in a preset process container, specifically including: based on BPMN2.0 specification, converting the acquired process management data into a BpmnModel object; converting the BpmnModel object into file element structure data which can be identified by a preset workflow frame and a preset form designer based on preset configuration parameters; wherein, presetting configuration parameters at least comprises: the method comprises the following steps that an initiator self-selects parameters, a designated link handler and a designated link handling group; determining a data type corresponding to the file element structure data based on a preset keyword extraction algorithm; calling a storage interface of a preset flow container, and persisting file element structure data into a frame table of the preset flow container based on the data type; wherein the frame table is composed of a plurality of data types.
Further, before acquiring the flow requirement, the method further comprises: acquiring user login information through a preset user login interface; when a flow requirement uploaded by a user is received, acquiring role authority corresponding to user login information; checking whether the flow requirements meet the requirements of role authority; and after the requirements are met, determining a target process file corresponding to the process requirement.
Further, the method further comprises: and opening a process file management interface based on the user authority to manage the process file.
Further, acquiring a process requirement, and determining a corresponding target process file specifically includes: acquiring a flow requirement; reading a requirement keyword corresponding to a flow requirement; and acquiring a target flow file corresponding to the demand keyword.
Further, after the process file is published into the preset target process container, the method further includes: analyzing the process file to obtain a handler account; creating a proxy task for processing the account number of the person; and asynchronously pushing the state data of the agent task to a preset service system through a preset message queue middleware.
In a second aspect, the present application provides a process approval system based on BPMN, the system comprising: a flow core module; the flow core module at least comprises a storage unit, an extraction unit and a release module; the storage unit is used for converting the acquired process management data based on the BPMN2.0 standard and preset configuration parameters and storing the converted data into a preset process container; the extraction unit is used for acquiring the flow requirements and determining a corresponding target flow file; the target process file presets data extraction information; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; extracting node data corresponding to the target process file node from a preset process container based on the data extraction information; the release module is used for converting the node data into a flow file based on BPMN2.0 specifications and preset configuration rules; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container.
Further, the system also comprises a gateway module; the gateway module is used for acquiring user login information through a preset user login interface; when a flow requirement uploaded by a user is received, acquiring role authority corresponding to user login information; checking whether the flow requirements meet the requirements of role authority; and after the requirements are met, determining a target process file corresponding to the process requirement.
As can be appreciated by those skilled in the art, the present invention has at least the following beneficial effects:
according to the method, the data (process management data) related to the process service is preprocessed, the data is provided with the identification information (preset configuration parameters) before being called, excessive table connection is not needed during actual query operation, development efficiency and operation efficiency are improved, and the method has natural advantages in large-user-quantity and multi-transaction type operation; the method has an independent message notification system, and the time-consuming and unnecessary message notification function is asynchronously executed, so that the operation fault of the system caused by the delay of the correlation system is greatly avoided.
Drawings
Some embodiments of the disclosure are described below with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of a BPMN-based process approval method according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram of an internal structure of a process approval system based on BPMN according to an embodiment of the present disclosure.
Detailed Description
It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not mean that the present disclosure can be implemented only by the preferred embodiments, which are merely for explaining the technical principles of the present disclosure and are not intended to limit the scope of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the preferred embodiments provided by the disclosure without inventive step, shall fall within the scope of protection of the disclosure.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
The technical solutions proposed in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The embodiment of the present application further provides a process approval method based on BPMN, as shown in fig. 1, the method provided in the embodiment of the present application mainly includes the following steps:
and step 110, converting the acquired process management data based on the BPMN2.0 specification and preset configuration parameters, and storing the converted data into a preset process container.
It should be noted that the preset configuration parameters are data such as data selected by the initiator, data for specifying link handlers, data for specifying link processing groups, and the like.
As an example, the step may specifically be: based on BPMN2.0 specification, converting the acquired process management data into a BpmnModel object; converting the BpmnModel object into file element structure data which can be identified by a preset workflow frame and a preset form designer based on preset configuration parameters; wherein, presetting configuration parameters at least comprises: the method comprises the following steps that an initiator self-selects parameters, a designated link handler and a designated link handling group; determining a data type corresponding to the file element structure data based on a preset keyword extraction algorithm; calling a storage interface of a preset flow container, and persisting file element structure data into a frame table of the preset flow container based on the data type; wherein the frame table is composed of a plurality of data types. It should be noted that the file element structure data may be in an XML format. The preset workflow frame may be a Flowable frame. The specific content of the data type can be determined by those skilled in the art according to actual situations.
Based on the above description, those skilled in the art can understand that since the present application complies with the BPMN2.0 specification, the file element structure data is maximally avoided in a configuration file, which is beneficial for caching of high-frequency data access. Based on data types, the file element structure data is stored in an identifying way, and the data can be directly positioned and dynamically assembled according to the query instruction and the table index of the file element structure data during query so as to obtain target information, reduce operations such as table connection and the like during query, approach to single-table query as much as possible, and reduce the pressure of data flow
Step 120, acquiring a flow requirement, and determining a corresponding target flow file; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; and extracting node data corresponding to the target process file node from the preset process container based on the data extraction information.
It should be noted that the process requirement is data uploaded by the user. The target process file is preset file data. The data extraction information is keyword retrieval information preset in the target process file. Corresponding data can be extracted from the preset process container through the data extraction information. The preset workflow frame may be a Flowable frame. The concrete process of nodularization can be realized by the prior art, and the application is not limited too much.
Before the flow requirements are acquired, the validity of the operation user can be checked, so that the safety of the system is improved. Specifically, the method comprises the following steps: acquiring user login information through a preset user login interface; when a flow requirement uploaded by a user is received, acquiring role authority corresponding to user login information from Redis; checking whether the flow requirements meet the requirements of role authority; and after the requirements are met, the acquisition of the flow requirements is completed.
In addition, after the user authority is met, the data can be operated. The method specifically comprises the following steps: and opening a process file management interface based on the user authority, managing the process file, performing operations such as passing, returning, informing, signing and the like on the process file, and executing operations such as withdrawing, terminating and the like by the user with the corresponding authority. In addition, the task corresponding to the flow file can be designed to be in a cold-hot table mode, namely once the task corresponding to the flow file is completed, the task is moved to the already-processed table instead of being identified by using the status field, so that the large-table performance problem of high-frequency access data is improved. In the aspect of system connection, other business systems synchronously respond to the data of the flow state through a channel service connection item handling module by all interfaces.
Acquiring a process requirement, and determining a corresponding target process file, which may specifically be: acquiring a flow requirement; reading a requirement keyword corresponding to a flow requirement; and acquiring a target flow file corresponding to the demand keyword.
Step 130, converting the node data into a flow file based on BPMN2.0 specification and preset configuration rules; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container.
After the process file is published into the preset target process container, the method further comprises: analyzing the process file to obtain a handler account; creating a proxy task for processing the account number of the person; in the process of creating the task to be handled, assembling the task instance data object and asynchronously writing the task instance data object into a task library to be handled; asynchronously pushing the state data of the proxy task to a preset service system through a preset message queue middleware; and when the preset service system has errors, the state data is acquired again through a retry mechanism of preset batch processing or a message queue.
In addition, fig. 2 is a flow approval system based on BPMN according to an embodiment of the present disclosure. As shown in fig. 2, the system provided in the embodiment of the present application mainly includes:
a flow core module 210; the flow core module at least comprises a storage unit 211, an extraction unit 212 and an issuing module 213;
the saving unit 211 is configured to convert the acquired process management data based on the BPMN2.0 specification and a preset configuration parameter, and save the converted data in a preset process container;
an extracting unit 212, configured to obtain a process requirement, and determine a corresponding target process file; the target process file presets data extraction information; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; extracting node data corresponding to the target process file node from a preset process container based on the data extraction information;
the issuing module 213 is configured to convert the node data into a flow file based on the BPMN2.0 specification and a preset configuration rule; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container.
The system further includes a gateway module 220;
the gateway module 220 is configured to obtain user login information through a preset user login interface; when a flow requirement uploaded by a user is received, acquiring role authority corresponding to user login information; checking whether the flow requirements meet the requirements of role authority; and after the requirements are met, determining a target process file corresponding to the process requirement.
So far, the technical solutions of the present disclosure have been described in connection with the foregoing embodiments, but it is easily understood by those skilled in the art that the scope of the present disclosure is not limited to only these specific embodiments. A person skilled in the art may split and combine the technical solutions in the above embodiments, and may make equivalent changes or substitutions on the related technical features without departing from the technical principles of the present disclosure, and any changes, equivalents, improvements and the like made within the technical concept and/or technical principles of the present disclosure will fall within the protection scope of the present disclosure.

Claims (8)

1. A process approval method based on BPMN (business process modeling notation), which is characterized by comprising the following steps:
converting the acquired process management data based on BPMN2.0 specifications and preset configuration parameters, and storing the converted data into a preset process container;
acquiring a flow demand, and determining a corresponding target flow file; the target process file presets data extraction information; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; extracting node data corresponding to the target process file node from a preset process container based on the data extraction information;
converting the node data into a flow file based on BPMN2.0 specifications and preset configuration rules; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container.
2. The BPMN-based process approval method according to claim 1, wherein the converting the acquired process management data based on the BPMN2.0 specification and the preset configuration parameters, and storing the converted data in a preset process container specifically includes:
based on BPMN2.0 specification, converting the acquired process management data into a BpmnModel object;
converting the BpmnModel object into file element structure data which can be identified by a preset workflow frame and a preset form designer based on the preset configuration parameters; wherein the preset configuration parameters at least include: the method comprises the following steps that an initiator self-selects parameters, a designated link handler and a designated link handling group;
determining a data type corresponding to the file element structure data based on a preset keyword extraction algorithm;
calling a storage interface of a preset flow container, and persisting file element structure data into a frame table of the preset flow container based on the data type; wherein the frame table is composed of a number of data types.
3. The BPMN-based process approval method of claim 1, wherein prior to obtaining process requirements, the method comprises:
acquiring user login information through a preset user login interface;
when a flow requirement uploaded by a user is received, acquiring role authority corresponding to user login information;
checking whether the process requirement meets the requirement of the role authority;
and after the requirements are met, the acquisition of the flow requirements is completed.
4. The BPMN-based process approval method of claim 3, wherein the method further comprises:
and opening a process file management interface based on the user authority to manage the process file.
5. The BPMN-based process approval method according to claim 1, wherein the obtaining of the process requirement and the determining of the corresponding target process file specifically include:
acquiring a flow requirement; reading a requirement keyword corresponding to the flow requirement; and acquiring a target process file corresponding to the demand keyword.
6. The BPMN-based process approval method of claim 1, wherein after the process file is published into the pre-defined target process container, the method further comprises:
analyzing the process file to obtain a handler account; further creating a proxy task for the processing person account; in the process of creating the task to be handled, assembling the task instance data object and asynchronously writing the task instance data object into a task library to be handled;
asynchronously pushing the state data of the agent task to a preset service system through a preset message queue middleware; and when the preset service system has errors, the state data is acquired again through a retry mechanism of preset batch processing or a message queue.
7. A process approval system based on BPMN, characterized in that the system comprises:
a flow core module; the flow core module at least comprises a storage unit, an extraction unit and a release module;
the storage unit is used for converting the acquired process management data based on BPMN2.0 specifications and preset configuration parameters and storing the converted data into a preset process container;
the extraction unit is used for acquiring the flow requirements and determining a corresponding target flow file; the target process file presets data extraction information; nodularizing the target flow file through a preset workflow frame and a preset form designer to obtain target flow file nodes; extracting node data corresponding to the target process file node from a preset process container based on the data extraction information;
the release module is used for converting the node data into a flow file based on BPMN2.0 specifications and preset configuration rules; and after the flow file passes the test of the preset test environment, the flow file is issued to a preset target flow container.
8. The BPMN-based process approval system of claim 7, wherein the system further comprises a gateway module;
the gateway module is used for acquiring user login information through a preset user login interface; when a flow requirement uploaded by a user is received, acquiring role authority corresponding to user login information; checking whether the process requirement meets the requirement of the role authority; and after the requirements are met, determining a target process file corresponding to the process requirement.
CN202211133618.6A 2022-09-19 2022-09-19 Process approval method and system based on BPMN Pending CN115204850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211133618.6A CN115204850A (en) 2022-09-19 2022-09-19 Process approval method and system based on BPMN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211133618.6A CN115204850A (en) 2022-09-19 2022-09-19 Process approval method and system based on BPMN

Publications (1)

Publication Number Publication Date
CN115204850A true CN115204850A (en) 2022-10-18

Family

ID=83573073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211133618.6A Pending CN115204850A (en) 2022-09-19 2022-09-19 Process approval method and system based on BPMN

Country Status (1)

Country Link
CN (1) CN115204850A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020091687A (en) * 2018-12-06 2020-06-11 コニカミノルタ株式会社 Workflow model generation system, workflow model generation program, and workflow model generation method
CN113128968A (en) * 2021-04-23 2021-07-16 安徽英福泰克信息科技有限公司 Business approval method and system based on workflow engine
CN113506166A (en) * 2021-07-19 2021-10-15 中国建设银行股份有限公司 Data processing method and device of target service and server
CN113918637A (en) * 2021-10-22 2022-01-11 重庆新致金服信息技术有限公司 BPMN2.0 specification-based process engine platform creation method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020091687A (en) * 2018-12-06 2020-06-11 コニカミノルタ株式会社 Workflow model generation system, workflow model generation program, and workflow model generation method
CN113128968A (en) * 2021-04-23 2021-07-16 安徽英福泰克信息科技有限公司 Business approval method and system based on workflow engine
CN113506166A (en) * 2021-07-19 2021-10-15 中国建设银行股份有限公司 Data processing method and device of target service and server
CN113918637A (en) * 2021-10-22 2022-01-11 重庆新致金服信息技术有限公司 BPMN2.0 specification-based process engine platform creation method and system

Similar Documents

Publication Publication Date Title
CN101719149B (en) Data synchronization method and device
CN111506559B (en) Data storage method, device, electronic equipment and storage medium
CN102542382A (en) Method and device for managing business rule
CN110489407A (en) Data filling mining method, apparatus, computer equipment and storage medium
CN107423452A (en) A kind of power network heterogeneous database synchronously replicates moving method
US20020143794A1 (en) Method and system for converting data files from a first format to second format
CN103701720A (en) Communication method with Socket server and online transaction management system
CN103678423A (en) Data file input system, device and method
CN107357809A (en) Magnanimity platform Hisoon real-time database metric data access system
CN115204850A (en) Process approval method and system based on BPMN
CN110022287A (en) A kind of asynchronous distributed document transmission method, terminal device and storage medium
JP2009181495A (en) Job processing system and job management method
CN108337133B (en) Multi-type intermodal message analysis tool
CN116187915A (en) Warehouse management method, device, equipment and storage medium
CN115022402A (en) Agent acquisition method and system based on one-stack integration technology
CN109308606A (en) A kind of cost of construction management system and method based on BIM technology
CN112596806A (en) Data lake data loading script generation method and system
CN112541027B (en) Data processing method and device
CN111563123A (en) Live warehouse metadata real-time synchronization method
CN112053150A (en) Data processing method, device and storage medium
CN111045953A (en) Distributed test case execution system and method
CN115484560B (en) Intelligent short message processing method and device, electronic equipment and storage medium
CN117076546B (en) Data processing method, terminal device and computer readable storage medium
CN112801248B (en) Non-contact page data transmission method suitable for water-electricity SCADA system
US20020133624A1 (en) System and process for routing information in a data processing system

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

RJ01 Rejection of invention patent application after publication