CN111857805A - Configuration-adjustable business process engine middleware system and use method thereof - Google Patents

Configuration-adjustable business process engine middleware system and use method thereof Download PDF

Info

Publication number
CN111857805A
CN111857805A CN202010730047.9A CN202010730047A CN111857805A CN 111857805 A CN111857805 A CN 111857805A CN 202010730047 A CN202010730047 A CN 202010730047A CN 111857805 A CN111857805 A CN 111857805A
Authority
CN
China
Prior art keywords
main server
execution module
flow
engine middleware
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.)
Granted
Application number
CN202010730047.9A
Other languages
Chinese (zh)
Other versions
CN111857805B (en
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.)
Guangxi Meicube Engineering Consulting Co Ltd
Original Assignee
Guangxi Meicube Engineering Consulting 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 Guangxi Meicube Engineering Consulting Co Ltd filed Critical Guangxi Meicube Engineering Consulting Co Ltd
Priority to CN202010730047.9A priority Critical patent/CN111857805B/en
Publication of CN111857805A publication Critical patent/CN111857805A/en
Application granted granted Critical
Publication of CN111857805B publication Critical patent/CN111857805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a configuration-adjustable business process engine middleware system, which comprises: the system comprises a main server, engine middleware and a plurality of process execution modules; the main server is respectively connected with each process execution module through an engine middleware, and the engine middleware is used for recoding data when the main server is communicated with the process execution modules, so that a receiver can acquire identifiable data information. The configuration-adjustable business process engine middleware system provided by the invention avoids the limitation that the process execution module and the main server need to adopt the same coding and decoding rules through the setting of the engine middleware, is favorable for improving the flexible application of the process execution module, and further improves the execution efficiency and the accuracy of the process task. Meanwhile, the problem of bidirectional decoding of the main server and the flow execution module in the communication engineering is avoided, and the storage space is saved.

Description

Configuration-adjustable business process engine middleware system and use method thereof
Technical Field
The invention relates to the technical field of middleware, in particular to a configuration-adjustable business process engine middleware system.
Background
With the rapid development of computer technology, various application software needs to be transplanted among various platforms, or one platform needs to support multiple application families and manage multiple application systems, and reliable and efficient data transmission or conversion is needed between a software and hardware platform and the application systems, so that the cooperativity of the systems is ensured.
Meanwhile, with the wide application of computers in daily work, more and more work of people needs to be completed by the computers. Meanwhile, the social productivity is improved, the division of labor of people is more and more refined, most of business logics are refined into multiple steps, and the business logics need to be completed through cooperative work. Therefore, the function expansion of the workflow management system is increasingly emphasized.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides a configuration-adjustable business process engine middleware system.
A configuration-tunable business process engine middleware system comprising: the system comprises a main server, engine middleware and a plurality of process execution modules;
each process execution module is respectively used for processing the corresponding process task;
the main server is used for distributing tasks to each flow execution module and monitoring the execution of each flow task;
the main server is respectively connected with each process execution module through an engine middleware, and the engine middleware is used for recoding data when the main server is communicated with the process execution modules, so that a receiver can acquire identifiable data information.
Preferably, the engine middleware comprises a communication unit, a cache unit and an information processing unit; the cache unit is used for receiving data information of the main server and each flow execution module through the communication unit; and the information processing unit is used for processing the data information acquired by the cache unit, acquiring a receiver of the data information, recoding the data information according to the coding and decoding rules of the receiver and sending the recoded data information to the receiver through the communication module.
Preferably, the information processing unit stores coding and decoding models of the main server and each process execution module, and each coding and decoding model in the information processing unit is updated synchronously with a coding and decoding rule in the corresponding main server or process execution module.
Preferably, the engine middleware adopts an open source coding structure.
Preferably, each process execution module is provided with a source database and a process cache database, the source database is used for storing process definition data, and the process cache database is used for storing process data generated in real time.
Preferably, the main server is further provided with a process monitoring module, and the process monitoring module is respectively connected to the source database of each process execution module and is used for monitoring the process task execution condition of each process monitoring module through data source information.
A method for using a configuration-adjustable business process engine middleware system comprises the following steps:
s1, the main server acquires the tasks and divides the tasks into a plurality of flow tasks according to a preset flow dividing model;
s2, the engine middleware acquires the divided flow tasks and recodes the corresponding flow tasks according to the coding and decoding rules of each flow execution module;
s3, each flow executing module acquires the corresponding recoded flow task and analyzes and executes the flow task;
s4, the engine middleware acquires the feedback information of each process execution module and recodes the feedback information according to the coding and decoding model of the main server;
and S5, the main server reads the recoded feedback information and integrates the task execution progress according to the feedback information.
Preferably, the method further comprises the following steps:
s6, the main server judges the actual progress of the flow task according to the data source information in the source database of each flow execution module;
and S7, the main server compares the obtained actual progress of each flow execution module with the analysis result of the feedback information, and performs exception checking and correction on each flow execution module according to the comparison result.
According to the configuration-adjustable business process engine middleware system, the main server is used for monitoring and partitioning and distributing the whole tasks, and the process execution module is used for independently executing and completing the partitioned process tasks, so that the multi-thread parallel processing and the flow-oriented special processing of the work process are realized, and the processing efficiency and the accuracy of the work process are improved.
In the invention, through the setting of the engine middleware, the limitation that the process execution module and the main server need to adopt the same coding and decoding rules is avoided, the flexible application of the process execution module is favorably improved, and the execution efficiency and the execution accuracy of the process task are further improved. Meanwhile, the problem of bidirectional decoding of the main server and the process execution module in the communication engineering is also solved, the main server and the process execution module can directly apply the acquired information through recoding of the engine middleware, the working efficiency of the main server and the process execution module is improved, the burden reduction is realized for the main server and the process execution module, and the storage space is saved.
Drawings
FIG. 1 is a schematic diagram of a configuration-adjustable business process engine middleware system according to the present invention;
FIG. 2 is a schematic diagram of another configuration-tunable business process engine middleware system proposed by the present invention;
FIG. 3 is a flow chart of a method for using a configuration-adjustable business process engine middleware system according to the present invention;
FIG. 4 is a flow chart of another method for using a configuration-tunable business process engine middleware system according to the present invention.
Detailed Description
Referring to fig. 1, a configuration-adjustable business process engine middleware system provided by the present invention includes: the system comprises a main server, engine middleware and a plurality of process execution modules.
Each flow execution module is used for processing the corresponding flow task.
The main server is used for distributing tasks to each flow execution module and monitoring the execution of each flow task.
Therefore, in the embodiment, the main server monitors and divides the whole task, and the flow execution module independently executes and completes the divided flow task, so that the multi-thread parallel processing and the flow-oriented special processing of the workflow are realized, and the processing efficiency and the accuracy of the workflow are improved.
The main server is respectively connected with each process execution module through an engine middleware, and the engine middleware is used for recoding data when the main server is communicated with the process execution modules, so that a receiver can acquire identifiable data information.
In the embodiment, through the setting of the engine middleware, the limitation that the process execution module and the main server need to adopt the same encoding and decoding rules is avoided, the flexible application of the process execution module is favorably improved, and the execution efficiency and the accuracy of the process task are further improved. Meanwhile, the problem of bidirectional decoding of the main server and the process execution module in the communication engineering is also solved, the main server and the process execution module can directly apply the acquired information through recoding of the engine middleware, the working efficiency of the main server and the process execution module is improved, the burden reduction is realized for the main server and the process execution module, and the storage space is saved.
Referring to fig. 2, in the present embodiment, the engine middleware includes a communication unit, a cache unit, and an information processing unit. The cache unit is used for receiving data information of the main server and each flow execution module through the communication unit. And the information processing unit is used for processing the data information acquired by the cache unit, acquiring a receiver of the data information, recoding the data information according to the coding and decoding rules of the receiver and sending the recoded data information to the receiver through the communication module.
Specifically, in this embodiment, the information processing unit adopts a multi-thread operation mode, and in specific implementation, the data information is sequentially processed according to the time sequence information. That is, after the encoding work of any thread is completed, the data information with the earliest receiving time is obtained from the buffer unit and is added into the thread for re-encoding. Therefore, the data information cached in the cache unit is sequentially processed according to the receiving time, and the characteristic of front-to-back connection of the work flow is fully considered, so that the orderly execution of the flow tasks by each flow execution module and the connection between the whole tasks are ensured.
In addition, in the embodiment, the communication data between the main server and the process execution module is cached through the arrangement of the cache unit, and the information processing pressure of the engine middleware is reduced, so that the risk of mutual crosstalk of multiple threads is reduced, and the accuracy of data processing is favorably ensured.
In this embodiment, the information processing unit stores the coding and decoding models of the main server and each process execution module, and each coding and decoding model in the information processing unit is updated synchronously with the coding and decoding rule in the corresponding main server or process execution module. Therefore, the accuracy of the information processing unit in analyzing the data information sent by the protection server and the flow execution module is ensured, and the consistency of the recoded data information and the original data information is ensured.
In the embodiment, the engine middleware adopts an open-source coding structure, so that when a new flow is added, a new flow execution module can be conveniently and quickly inserted through the engine middleware. Therefore, the inclusion of various workflows of the system and the applicability of the system to various application scenes are ensured.
In this embodiment, each process execution module is provided with a source database and a process cache database, the source database is used for storing process definition data, and the process cache database is used for storing process data generated in real time. Therefore, through the arrangement of the source database and the process cache database, the internal calling of the process data of the process execution module is facilitated, so that the work independence of each process execution module is further improved, and the execution efficiency of the process task is improved. Meanwhile, the source database and the process cache database are separately arranged, so that process data which are generated in the process of executing the process task and serve as intermediate data can be conveniently and independently managed, and the source data can be favorably prevented from being adversely affected by frequent operation of the process data.
In this embodiment, the main server is further provided with a process monitoring module, and the process monitoring module is respectively connected to the source database of each process execution module, and is configured to monitor the process task execution condition of each process monitoring module through the data source information. Therefore, in the embodiment, the flow task execution condition of each flow execution module is monitored through the data source information, which is equivalent to monitoring the working precision of the engine middleware, thereby being beneficial to ensuring the reliability monitoring in the middle of the engine, and further ensuring that the system can work efficiently while considering the working safety and precision.
In this embodiment, the operation of the process monitoring module is independent of the operation of the main server for allocating and coordinating the services, thereby avoiding the interference of the process monitoring module for allocating and coordinating the services.
Referring to fig. 3, the present invention further provides a method for using a configuration-adjustable business process engine middleware system, which includes the following steps.
S1, the main server acquires the tasks and divides the tasks into a plurality of flow tasks according to a preset flow dividing model so as to facilitate independent execution of each flow task, and therefore multithread processing of the tasks is achieved and task processing efficiency is improved.
And S2, the engine middleware acquires the divided flow tasks and recodes the corresponding flow tasks according to the coding and decoding rules of each flow execution module.
And S3, each flow execution module acquires the corresponding recoded flow task, analyzes and executes the flow task.
The process tasks acquired by the process execution module are recoded by the engine middleware, so that the problem that the process execution module cannot analyze the process tasks due to different coding and decoding rules is solved.
And S4, the engine middleware acquires the feedback information of each flow execution module and recodes the feedback information according to the coding and decoding model of the main server.
And S5, the main server reads the recoded feedback information and integrates the task execution progress according to the feedback information. Similarly, the feedback information is effectively acquired by the main server through recoding the engine middleware.
In the embodiment, the communication information between the main server and the process execution module is recoded through the engine middleware, so that the coding gap between a sender and a receiver is solved, the feasibility of the process execution module for autonomously defining the coding and decoding rules is ensured, and the process task execution efficiency is improved.
Referring to fig. 4, the method for using the configuration-adjustable business process engine middleware system in this embodiment further includes the following steps.
And S6, the main server judges the actual progress of the flow task according to the data source information in the source database of each flow execution module.
And S7, the main server compares the obtained actual progress of each flow execution module with the analysis result of the feedback information, and performs exception checking and correction on each flow execution module according to the comparison result.
Specifically, in this embodiment, when the actual progress of any one of the process execution modules acquired by the main server does not match the feedback information, the main server performs exception checking on the engine middleware, specifically, checks the encoding and decoding history data of the engine middleware, and corrects the encoding and decoding model in the engine middleware according to the checking result.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (8)

1. A configuration-tunable business process engine middleware system, comprising: the system comprises a main server, engine middleware and a plurality of process execution modules;
each process execution module is respectively used for processing the corresponding process task;
the main server is used for distributing tasks to each flow execution module and monitoring the execution of each flow task;
the main server is respectively connected with each process execution module through an engine middleware, and the engine middleware is used for recoding data when the main server is communicated with the process execution modules, so that a receiver can acquire identifiable data information.
2. The configuration-adjustable business process engine middleware system of claim 1, wherein the engine middleware comprises a communication unit, a cache unit and an information processing unit; the cache unit is used for receiving data information of the main server and each flow execution module through the communication unit; and the information processing unit is used for processing the data information acquired by the cache unit, acquiring a receiver of the data information, recoding the data information according to the coding and decoding rules of the receiver and sending the recoded data information to the receiver through the communication module.
3. The configuration-adjustable business process engine middleware system of claim 2, wherein the information processing unit stores the codec models of the main server and each process execution module, and each codec model in the information processing unit is updated synchronously with the codec rule in the corresponding main server or process execution module.
4. The configuration-tunable business process engine middleware system of claim 1 wherein the engine middleware employs an open source coding structure.
5. The configuration-adjustable business process engine middleware system of claim 1, wherein each process execution module is provided with a source database and a process cache database, the source database is used for storing process definition data, and the process cache database is used for storing process data generated in real time.
6. The configuration-adjustable business process engine middleware system of claim 5, wherein a process monitoring module is further disposed in the main server, and the process monitoring module is respectively connected to the source database of each process execution module, and is configured to monitor the process task execution status of each process monitoring module through data source information.
7. The use method of the configuration-adjustable business process engine middleware system according to any one of claims 1 to 6, comprising the following steps:
s1, the main server acquires the tasks and divides the tasks into a plurality of flow tasks according to a preset flow dividing model;
s2, the engine middleware acquires the divided flow tasks and recodes the corresponding flow tasks according to the coding and decoding rules of each flow execution module;
s3, each flow executing module acquires the corresponding recoded flow task and analyzes and executes the flow task;
s4, the engine middleware acquires the feedback information of each process execution module and recodes the feedback information according to the coding and decoding model of the main server;
and S5, the main server reads the recoded feedback information and integrates the task execution progress according to the feedback information.
8. The method for using the configuration-adjustable business process engine middleware system according to claim 7, further comprising the steps of:
s6, the main server judges the actual progress of the flow task according to the data source information in the source database of each flow execution module;
and S7, the main server compares the obtained actual progress of each flow execution module with the analysis result of the feedback information, and performs exception checking and correction on each flow execution module according to the comparison result.
CN202010730047.9A 2020-07-27 2020-07-27 Configuration-adjustable business process engine middleware system and using method thereof Active CN111857805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010730047.9A CN111857805B (en) 2020-07-27 2020-07-27 Configuration-adjustable business process engine middleware system and using method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010730047.9A CN111857805B (en) 2020-07-27 2020-07-27 Configuration-adjustable business process engine middleware system and using method thereof

Publications (2)

Publication Number Publication Date
CN111857805A true CN111857805A (en) 2020-10-30
CN111857805B CN111857805B (en) 2024-05-31

Family

ID=72947164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010730047.9A Active CN111857805B (en) 2020-07-27 2020-07-27 Configuration-adjustable business process engine middleware system and using method thereof

Country Status (1)

Country Link
CN (1) CN111857805B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483545A (en) * 2008-12-31 2009-07-15 中国建设银行股份有限公司 Financial service monitoring method and system
CN102404350A (en) * 2010-09-07 2012-04-04 捷达世软件(深圳)有限公司 Process integration server and method for achieving system integration by using same
CN102542414A (en) * 2011-12-28 2012-07-04 焦点科技股份有限公司 Business process and loose coupling method and system of business data processing based on rule engine
CN105704137A (en) * 2016-03-11 2016-06-22 北京邮电大学 Method and system for transmitting voices based on TCP in VoIP
CN105786567A (en) * 2016-02-25 2016-07-20 四川长虹电器股份有限公司 Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483545A (en) * 2008-12-31 2009-07-15 中国建设银行股份有限公司 Financial service monitoring method and system
CN102404350A (en) * 2010-09-07 2012-04-04 捷达世软件(深圳)有限公司 Process integration server and method for achieving system integration by using same
CN102542414A (en) * 2011-12-28 2012-07-04 焦点科技股份有限公司 Business process and loose coupling method and system of business data processing based on rule engine
CN105786567A (en) * 2016-02-25 2016-07-20 四川长虹电器股份有限公司 Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method
CN105704137A (en) * 2016-03-11 2016-06-22 北京邮电大学 Method and system for transmitting voices based on TCP in VoIP

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王爱喜: "基于Python的农业物联网网关软件中间件的研究与应用", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, no. 06, 15 June 2015 (2015-06-15), pages 138 - 579 *

Also Published As

Publication number Publication date
CN111857805B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
US20180285093A1 (en) Automated deployment and servicing of distributed applications
US10764370B2 (en) Hybrid cloud migration delay risk prediction engine
CN107016480B (en) Task scheduling method, device and system
US20150142949A1 (en) System and method for collaborative designing, development, deployment, execution, monitoring and maintenance of enterprise applications
US20200401397A1 (en) Intelligent software agent to facilitate software development and operations
CN111338791A (en) Method, device and equipment for scheduling cluster queue resources and storage medium
US20180137431A1 (en) Multimodal, small and big data, machine learing systems and processes
CN107239675A (en) Biological information analysis system based on cloud platform
CN110750291A (en) Edge device algorithm updating method, system, device and storage medium
CN112181477A (en) Complex event processing method and device and terminal equipment
CN110738459A (en) quick fault reporting and automatic work order circulation system
CN108268351A (en) A kind of accurate monitoring method of running state of process and system
CN101937334A (en) Calculation support method and system
CN111857805A (en) Configuration-adjustable business process engine middleware system and use method thereof
CN103164776B (en) A kind of medicine traceability system and medicine retroactive method thereof and flow monitoring method
CN113452852B (en) Method and device for regulating and controlling number of outbound calls of machine, electronic equipment and storage medium
CN102567024A (en) Script executing system and method
CN110727457A (en) Component management method, device, storage medium and electronic equipment
CN111552674A (en) Log processing method and device
CN117149361B (en) Multi-terminal collaborative optimization system for training model
CN116383471B (en) Method and system for extracting data by data browser in large data scene of resource management industry
CN112035450B (en) Data warehouse real-time construction method based on button
US9459939B2 (en) In-memory approach to extend semantic event processing with domain insights
CN113641670B (en) Data storage and data retrieval method and device, electronic equipment and storage medium
US20170052820A1 (en) System and Method for Tracking Commitment Made by a User

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
GR01 Patent grant
GR01 Patent grant