Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Persistence method of workflow data in workflow management system

A technology of workflow management and workflow, applied in data processing applications, electrical digital data processing, special data processing applications, etc., can solve the problems of occupying system resources, large performance consumption of computer systems, and low efficiency of persistent processing, and achieve The effect of improving processing efficiency and improving concurrent processing capabilities

Inactive Publication Date: 2010-07-14
INSPUR COMMON SOFTWARE
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the operation of a computer system, a large amount of data is usually generated. It is understandable that the processing of data persistence will inevitably bring a large performance consumption to the computer system, and this performance consumption will directly affect the processing efficiency of persistence. , especially when the amount of data is large, the problem of low persistence processing efficiency is more serious
Taking the workflow system as an example, since the running process of the workflow system usually includes complex business processes, a large number of workflow data persistence requests will be generated during the running process, such as internal objects such as multiple activities and tasks in the process. State changes, etc., the data persistence process of this kind of workflow system is an ordinary database persistence process, that is, the workflow system directly stores the workflow data according to the persistence request of the corresponding workflow data through its own data persistence interface. The association is loaded into the database. Obviously, this processing process will excessively occupy system resources, thereby causing the problem of inefficient persistence; in the above process, if there are multiple persistent requests to persist the same workflow data at the same time, At this time, the database is likely to have concurrency conflicts (blocking or deadlock)
For a long-running workflow system, the amount of persistent data in the storage medium is very large. If backup and partition processing are not used, they are all stored in the same table in the database. As the system continues to run, the system's data access and retrieval Efficiency will inevitably decrease

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Persistence method of workflow data in workflow management system
  • Persistence method of workflow data in workflow management system
  • Persistence method of workflow data in workflow management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0067] The present invention will be described in detail below with reference to the accompanying drawings.

[0068] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0069] The core idea of ​​the present invention is that, after starting the workflow transaction, first lock the resource, and for any persistent operation of the internal object of the workflow in the same workflow transaction, the method of modifying the workflow data in the memory cache Complete and generate modification records, but the real data persistence operation is not performed at this time, but is delayed until the workflow transaction is submitted, that is, when the workflow transaction is submitted, the modified records are obtained from the cached workflow data according to the memory cache For p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a persistence method of workflow data in a workflow management system, which comprises the following steps that: after a workflow transaction is started, the resource is firstly locked; any persistence operation of an internal target of the workflow is completed by changing the workflow data inside a memory caching, and at the same time, a changing record is generated; the real data persistence operation is not performed when the workflow data inside the caching is changed and is delayed to be performed when the workflow transaction is submitted, i.e. when the workflow transaction is submitted, the data requiring persistence is obtained from the workflow data caching according to the memory caching changing record; and after the workflow transaction is submitted, the resource lock is released. The data of living examples which are in finished situation are backed up through via a scheduled task, so the processing efficiency and the current processing capacity of the workflow data persistence can be effectively improved.

Description

technical field [0001] The invention relates to the field of computer system data processing, in particular to a persistent processing method for workflow data in a workflow management system and a persistent processing device for workflow data. Background technique [0002] Persistence, that is, saving data (such as objects in memory) to a storage device (such as a disk) that can be stored permanently. In practice, the main application of persistence is to store in-memory data in a relational database, and of course it can also be stored in disk files, XML data files, and so on. Persistence technology encapsulates data access details and provides an object-oriented API for most business logic. Persistence technology can reduce the number of visits to database data and increase the execution speed of applications; moreover, code reusability is high, and most database operations can be completed; and, loosely coupled, persistence does not depend on the implementation of unde...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06Q10/00G06F17/30G06Q10/08
Inventor 高伟马超孙立新
Owner INSPUR COMMON SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products