CN104376054A - Persistent instance object processing method and device - Google Patents
Persistent instance object processing method and device Download PDFInfo
- Publication number
- CN104376054A CN104376054A CN201410613369.XA CN201410613369A CN104376054A CN 104376054 A CN104376054 A CN 104376054A CN 201410613369 A CN201410613369 A CN 201410613369A CN 104376054 A CN104376054 A CN 104376054A
- Authority
- CN
- China
- Prior art keywords
- instances object
- persisted instances
- unit
- persisted
- database
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
- G06F16/24534—Query rewriting; Transformation
- G06F16/24549—Run-time optimisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/466—Transaction processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a persistent instance object processing method. The method comprises the steps of obtaining a persistent instance object, putting the persistent instance object into a thread, labeling the persistence state of the persistent instance object, extracting the persistent instance object from the thread for operation when a process engine needs to operate the persistent instance object, putting the persistent instance object into the thread again after operation is finished, changing the persistence state according to operation content, generating an SQL sentence according to the current persistence state of the persistent instance object after the process engine finishes operation on the persistent instance object, and submitting the SQL sentence to a database. The embodiment of the invention further provides a persistent instance object processing device. The access pressure of the database is reduced, the processing performance of the database is improved, and the persistent instance object processing efficiency is also improved.
Description
Technical field
The present invention relates to computer realm, particularly relate to a kind of disposal route and device of persisted instances object.
Background technology
Along with the fast development of IT application in enterprises, BPM (Business Process Management the is called for short BPM) effect in Process of Information is more and more outstanding.Flow engine is a kind of computerized identification model, is the finite state machine that completely or partially can automatically perform business process, and its effect is according to a series of process rule, and document, information or task are carried out transmitting and performed between different executors.
There are three kinds of instance objects in flow engine inside: flow instance, node instance and work item example, flow engine according to state transition diagram and relevant contention mechanism the state to these three kinds of objects make and repeatedly revise, finally make flow state reach a metastable state.
Prior art when revising instance objects first turn-on data storehouse affairs obtain persisted instances object, so-called " persistence " is for " non-persistentization ", and for the data in buffer memory, its attribute is non-persistence; And for the data of database, its attribute is then persistence, that is, if not initiatively deleting, the data of persistence can not disappear automatically, but not the data of persistence can be deleted over time automatically.
After obtaining persisted instances object, when flow engine needs the state of persisted instances object described in Update Table storehouse, flow engine generates corresponding SQL statement according to the content of amendment and submits to database.When flow engine is complete to described persisted instances Object Operations, then submit db transaction to, to perform these SQL statement, the amendment of the state of persisted instances object in database.
Wherein, affairs (Transaction) are the base units of con current control, and a transaction definition working cell scope, can carry out sequence of operations to resource in this working cell, these operations or all perform, or do not perform.Affairs should have four characteristics: atomicity, consistance, isolation, continuation, and these four characteristics are commonly referred to the ACID characteristic of affairs.SQL refers to Structured Query Language (SQL), i.e. a kind of data base querying and programming language, for access data and inquiry, renewal and administrative relationships Database Systems.
In prior art, all to generate corresponding SQL statement and submit to database during each flow engine amendment instance objects, due to SQL statement One's name is legion, causing Database Systems pressure heavy, seriously reduce the performance of database, cause flow engine inefficient operation.
Summary of the invention
In order to solve the above-mentioned technical matters of prior art, the embodiment of the present invention provides a kind of disposal route and device of persisted instances object, reduce the access pressure of database, improve the handling property of database, also improve the treatment effeciency of persisted instances object simultaneously.
Embodiments provide a kind of disposal route of persisted instances object, described method comprises:
Obtain persisted instances object, described persisted instances object is placed in thread;
Mark the persistence state of described persisted instances object;
When flow engine needs to operate described persisted instances object, from thread, extract described persisted instances object operate, be reentered in thread after end of operation, and change described persistence state according to described content of operation;
At the end of flow engine is to described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement;
Described SQL statement is submitted to database.
Preferably, when the described persisted instances object obtained is not stored in database, then mark the persistence state of described persisted instances object for " INSERT ";
When flow engine to described persisted instances object carry out be operating as renewal time, then described persistence state changes to " INSERT ";
When flow engine to described persisted instances object carry out be operating as deletion time, then delete described persisted instances object and described persistence state.
Preferably, when the described persisted instances object obtained is stored in data, then mark the persistence state of described persisted instances object for " SELECT ";
When flow engine to described persisted instances object carry out be operating as renewal time, then described persistence state changes to " UPDATE ";
When flow engine to described persisted instances object carry out be operating as deletion time, then described persistence state changes to " DELETE ".
Preferably, described submit described SQL statement step to database before, described method also comprises:
Turn-on data storehouse affairs;
Described submit described SQL statement step to database after, described method also comprises:
Submit db transaction to.
Preferably, described submit described SQL statement to database before, described method also comprises:
The database priority order from high to low corresponding according to described SQL statement sorts to described SQL statement.
The embodiment of the present invention additionally provides a kind for the treatment of apparatus of persisted instances object, and described device comprises: acquiring unit, mark unit, processing unit, generation unit and statement commit unit;
Wherein, described acquiring unit is connected with described mark unit, and described mark unit is connected with described processing unit, and described processing unit is connected with described generation unit, and described generation unit is connected with described statement commit unit;
Described acquiring unit, for obtaining persisted instances object, is placed in thread by described persisted instances object;
Described mark unit, for marking the persistence state of described persisted instances object;
Described processing unit, during for needing to operate described persisted instances object when flow engine, from thread, extract described persisted instances object operate, be reentered in thread after end of operation, and change described persistence state according to described content of operation;
Described generation unit, for working as flow engine at the end of described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement;
Described statement commit unit, for submitting described SQL statement to database.
Preferably, described device also comprises: affairs open unit and affairs commit unit;
Wherein, described generation unit and described affairs are opened unit and are connected, and described affairs are opened unit and are connected with described statement commit unit, and described statement commit unit is connected with described affairs commit unit;
Described affairs open unit, for turn-on data storehouse affairs;
Described affairs commit unit, for submitting db transaction to.
Preferably, described device also comprises: sequencing unit, is connected between described generation unit and described statement commit unit, sorts to described SQL statement for the database priority order from high to low corresponding according to described SQL statement.
Compared with prior art, the present invention has the following advantages:
The disposal route of persisted instances object provided by the invention and device only change persisted instances object and persistence state in thread, the participation of database is not needed when flow engine operates described persisted instances object, after flow engine terminates described persisted instances Object Operations, SQL statement is generated according to its current persisted instances object, therefore, each persisted instances object generates a SQL statement at the most.In terms of existing technologies, the disposal route of the persisted instances object provided due to this enforcement has simplified SQL statement, so reduce the access pressure of database, improve the handling property of database, also improve the treatment effeciency of persisted instances object simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the disposal route embodiment one of a kind of persisted instances object provided by the invention;
Fig. 2 is the process flow diagram of the disposal route embodiment two of a kind of persisted instances object provided by the invention;
Fig. 3 is the structured flowchart of the treating apparatus embodiment one of a kind of persisted instances object provided by the invention;
Fig. 4 is the structured flowchart of the treating apparatus embodiment two of a kind of persisted instances object provided by the invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment of the method one:
See Fig. 1, this figure is disposal route embodiment one process flow diagram of a kind of persisted instances object provided by the invention.
The disposal route of the persisted instances object that the present embodiment provides comprises the steps:
S101: obtain persisted instances object, and described persisted instances object is placed in thread.
Because thread has caching period short feature, will remove after one time service logic is finished, internal memory can not be occupied for a long time, also can not produce the problem that internal memory overflows, therefore, persisted instances object is placed on the treatment effeciency that can improve persisted instances object in thread.
S102: the persistence state marking described persisted instances object.
Whether according to being present in database in advance, described persisted instances object comprises two kinds: the new persisted instances object produced, is not namely present in database in advance, and has been present in the persisted instances object in database in advance.
For the new persisted instances object produced, be directly put in thread, and described persistence state be labeled as " INSERT ", its implication is " insertion "; For the persisted instances object in prior Already in database, inquire about from database, be then put in thread, and be " SELECT " by its persistence status indication, its implication is " choosing ".
S103: when flow engine needs to operate described persisted instances object, extract described persisted instances object and operate from thread, be reentered in thread after end of operation, and change described persistence state according to described content of operation.
For the new persisted instances object produced, when the operation of flow engine to it is renewal, flow engine extracts described persisted instances object and upgrades from thread, after renewal rewards theory completes, persisted instances object after upgrading is reentered in thread, and described persistence state is changed to " INSERT ", or it is constant also to can be understood as maintenance " INSERT " state; When the operation of flow engine to the persisted instances object of described new generation is deletion, flow engine extracts described persisted instances from thread, deletes together with its persistence state, and therefore in step S104 being does not need to generate SQL statement.
For the persisted instances object be present in advance in database, when the operation of flow engine to it is renewal, flow engine extracts described persisted instances object and upgrades from thread, after renewal rewards theory completes, persisted instances object after upgrading is reentered in thread, and described persistence object is changed to " UPDATE "; When the operation of flow engine to the persisted instances object of described new generation is deletion, flow engine extracts described persisted instances object and deletes from thread, and its persistence state is changed to " DELETE ".
S104: at the end of flow engine is to described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement.
S105: submit described SQL statement to database.
In prior art, flow engine operates persisted instances object at every turn, the corresponding generation in capital SQL statement, and submit to database, and due to the atomicity of affairs, all operations in affairs or all perform, or do not perform, therefore for same persisted instances object, the SQL statement finally generated is only effectively.Because flow engine often needs carry out a large amount of to same persistence object to operate in actual applications, so the method for operating of this flow engine of prior art causes very large access pressure to database, reduce the handling property of database, also reduce the treatment effeciency of persisted instances object simultaneously.
The disposal route of the persisted instances object that the present embodiment provides only changes persisted instances object and persistence state in thread, the participation of database is not needed when flow engine operates described persisted instances object, after flow engine terminates described persisted instances Object Operations, SQL statement is generated according to its current persisted instances object, therefore, each persisted instances object generates a SQL statement at the most.In terms of existing technologies, the disposal route of the persisted instances object provided due to this enforcement has simplified SQL statement, so reduce the access pressure of database, improve the handling property of database, also improve the treatment effeciency of persisted instances object simultaneously.
For example, when the persisted instances object that flow engine obtains is the persisted instances object be stored in advance in database, suppose that flow engine has carried out three operations to it, these three times operations are respectively: upgrade, upgrade and delete.Three SQL statement can be produced in prior art, database also correspondence can carry out three change operations, wherein, first time change result can by second time change result cover, and second time change result can third time operation in deleted, therefore, although delete this persisted instances object to be only net result, the change operation of first twice still needs to be performed.
And according to the scheme that the present embodiment provides, after flow engine gets the persisted instances object realizing being stored in database, mark the persistence state " SELECT " of described persisted instances object.When flow engine to described persisted instances object carry out first time and second time upgrade time, its persistence state changes to " UPDATE ", and the persisted instances object only more in new thread.When flow engine carries out deletion action to described persisted instances object, its persistence state changes to " DELETE ", and generates SQL statement according to this persistence state.For database, after receiving described SQL statement, directly the persisted instances object of correspondence is deleted, and without the need to carrying out renewal rewards theory, play the effect of simplifying SQL statement.
Embodiment of the method two:
See Fig. 2, this figure is disposal route embodiment two process flow diagram of a kind of persisted instances object provided by the invention.
The disposal route of the persisted instances object that the present embodiment provides comprises the steps:
S201: obtain persisted instances object, described persisted instances object is placed in thread.
S202: the persistence state marking described persisted instances object.
S203: when flow engine needs to operate described persisted instances object, extract described persisted instances object and operate from thread, be reentered in thread after end of operation, and change described persistence state according to described content of operation.
S204: at the end of flow engine is to described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement.
S205: the database priority order from high to low corresponding according to described SQL statement sorts to described SQL statement.
In actual applications, flow engine can much operate, such as flow process initiation, node initiation, flow process rollback, flow process hang-up etc., and each operation may for multiple database table, under complications, because the order of each operational access database table is different, just likely submit to SQL statement time produce database deadlocks, concurrency is larger, and the probability of produce of deadlock is larger.
For example, suppose have two database Table As and B, have two thread first, second to carry out SQL statement submit operation to these two tables simultaneously, but order is different.A-wire journey first performs submission (having locked A table) to A table, second thread first performs submission (having locked B table) to B table, when continuing to find when submitting B table to that B table is by second thread locked after A-wire journey has submitted to A to show, A-wire journey can only wait for that the locking of second thread release to B table could to continue execution; When in like manner second thread continues to submit to A table, find that A has shown by first thread locked, second thread can only wait for that the lock of A-wire journey release to A table could continue to perform, the first and second two threads are so just caused all to discharge the lock resource of having occupied wait the other side, finally all can not perform downwards, thus cause deadlock.
In the present embodiment, each thread is sorted to described SQL statement according to the database priority order from high to low that described SQL statement is corresponding, ensure that all threads all submit database table to according to fixing order, so just effectively can avoid the unordered database deadlocks problem brought.
For above-mentioned example, in the present embodiment, suppose that A-wire journey has a, b, c tri-SQL statement, wherein a, b corresponding A table, the corresponding B table of c; Second thread has d, e, f, g tetra-SQL statement, wherein, and the corresponding B table of d, e, f, g corresponding A table.Suppose that A shows priority and shows higher than B, so A-wire journey and the execution sequence of second thread to A table and B table are the SQL statement first performing A table, the SQL statement that rear execution B shows.If A-wire journey first performs A table than second thread, so second thread will be waited for, until all SQL statement of A table and B table all run succeeded by A-wire journey, second thread just order can perform A table and B table.
Certainly, also can sort according to priority for the SQL statement in same table, such as A-wire journey is respectively 80 and 100 for the SQL statement a of database table A and the priority of b, so just first performs b statement, rear execution a statement.See table, table 1 is the SQL statement without sequence, and table 2 is the SQL statement after sequence.
Table 1 is without the SQL statement of sequence
SQL statement after table 2 sorts
S206: turn-on data storehouse affairs.
Obtain persisted instances object when turn-on data storehouse affairs in prior art, after all SQL statement are submitted to, submit db transaction to, therefore, the treatment scheme of whole persisted instances object all needs to take databases.The BPM system of, high traffic concurrent for height, database resource is narrow resources, if take databases for a long time, then can have a strong impact on the access performance of database.In addition, under normal circumstances, application server can preserve a database connection pool, because database connection pool number is limited, long db transaction can affect DataBase combining and can not discharge in time, takies a large amount of connections, may exhaust connection time serious, other threads are caused to be in waiting status, the speed of impact access.
In order to solve the technical matters affecting database access performance caused because the treatment scheme of whole persisted instances object all needs to take databases in prior art, the present embodiment is ability turn-on data storehouse before submitting SQL statement to database, therefore, the db transaction time is only the time of submitting SQL statement to, therefore greatly reduce the time span of affairs, effectively improve database resource access efficiency.
S207: submit described SQL statement to database.
S208: submit db transaction to.
In sum, the disposal route of the persisted instances object that the present embodiment provides overcomes the problem of database deadlocks in prior art, and shortens the time span of affairs, effectively improves database resource access efficiency.
Based on the disposal route of a kind of persisted instances object that above embodiment provides, the embodiment of the present invention additionally provides a kind for the treatment of apparatus of persisted instances object, describes its principle of work in detail below in conjunction with accompanying drawing.
Device embodiment one:
See Fig. 3, this figure is treating apparatus embodiment one structured flowchart of a kind of persisted instances object provided by the invention.
The treating apparatus of the persisted instances object that the present embodiment provides comprises:
Acquiring unit 301, mark unit 302, processing unit 303, generation unit 304 and statement commit unit 305;
Wherein, described acquiring unit 301 is connected with described mark unit 302, and described mark unit 302 is connected with described processing unit 303, and described processing unit 303 is connected with described generation unit 304, and described generation unit 304 is connected with described statement commit unit 305;
Described acquiring unit 301, for obtaining persisted instances object, is placed in thread by described persisted instances object;
Described mark unit 302, for marking the persistence state of described persisted instances object;
Described processing unit 303, during for needing to operate described persisted instances object when flow engine, from thread, extract described persisted instances object operate, be reentered in thread after end of operation, and change described persistence state according to described content of operation;
Described generation unit 304, for working as flow engine at the end of described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement;
Described statement commit unit 305, for submitting described SQL statement to database.
The treating apparatus of the persisted instances object that the present embodiment provides only changes persisted instances object and persistence state in thread, the participation of database is not needed when flow engine operates described persisted instances object, after flow engine terminates described persisted instances Object Operations, SQL statement is generated according to its current persisted instances object, therefore, each persisted instances object generates a SQL statement at the most.In terms of existing technologies, the disposal route of the persisted instances object provided due to this enforcement has simplified SQL statement, so reduce the access pressure of database, improve the handling property of database, also improve the treatment effeciency of persisted instances object simultaneously.
Device embodiment two:
See Fig. 4, this figure is treating apparatus embodiment two structured flowchart of a kind of persisted instances object provided by the invention.
On the basis of said apparatus embodiment one, the treating apparatus of a kind of persisted instances object that the embodiment of the present invention provides also comprises:
Sequencing unit 306, is connected between described generation unit 304 and described statement commit unit 305, sorts to described SQL statement for the database priority order from high to low corresponding according to described SQL statement.
In the present embodiment, each thread is sorted to described SQL statement according to the database priority order from high to low that described SQL statement is corresponding, ensure all threads all according to fixing sequential operation database table, so just effectively can avoid the unordered database deadlocks problem brought.
In order to solve the technical matters affecting database access performance caused because the treatment scheme of whole persisted instances object all needs to take databases in prior art, in the present embodiment, described device also comprises:
Affairs open unit 307 and affairs commit unit 308;
Wherein, described sequencing unit 306 and described affairs are opened unit 307 and are connected, and described affairs are opened unit 307 and are connected with described statement commit unit 305, and described statement commit unit 305 is connected with described affairs commit unit 308;
Described affairs open unit 307, for turn-on data storehouse affairs;
Described affairs commit unit 308, for submitting db transaction to.
The present embodiment is ability turn-on data storehouse before submitting SQL statement to database, and therefore, the db transaction time is only the time of submitting SQL statement to, therefore greatly reduces the time span of affairs, effectively improves database resource access efficiency.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, and the wherein said unit that illustrates as separating component and module can or may not be physically separates.In addition, some or all of unit wherein and module can also be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (8)
1. a disposal route for persisted instances object, is characterized in that, described method comprises:
Obtain persisted instances object, described persisted instances object is placed in thread;
Mark the persistence state of described persisted instances object;
When flow engine needs to operate described persisted instances object, from thread, extract described persisted instances object operate, be reentered in thread after end of operation, and change described persistence state according to described content of operation;
At the end of flow engine is to described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement;
Described SQL statement is submitted to database.
2. the disposal route of persisted instances object according to claim 1, is characterized in that, when the described persisted instances object obtained is not stored in database, then marks the persistence state of described persisted instances object for " INSERT ";
When flow engine to described persisted instances object carry out be operating as renewal time, then described persistence state changes to " INSERT ";
When flow engine to described persisted instances object carry out be operating as deletion time, then delete described persisted instances object and described persistence state.
3. the disposal route of persisted instances object according to claim 1, is characterized in that, when the described persisted instances object obtained is stored in data, then marks the persistence state of described persisted instances object for " SELECT ";
When flow engine to described persisted instances object carry out be operating as renewal time, then described persistence state changes to " UPDATE ";
When flow engine to described persisted instances object carry out be operating as deletion time, then described persistence state changes to " DELETE ".
4. the disposal route of persisted instances object according to claim 1, is characterized in that, described submit described SQL statement step to database before, described method also comprises:
Turn-on data storehouse affairs;
Described submit described SQL statement step to database after, described method also comprises:
Submit db transaction to.
5. the disposal route of persisted instances object according to claim 1, is characterized in that, described submit described SQL statement to database before, described method also comprises:
The database priority order from high to low corresponding according to described SQL statement sorts to described SQL statement.
6. a treating apparatus for persisted instances object, is characterized in that, described device comprises: acquiring unit, mark unit, processing unit, generation unit and statement commit unit;
Wherein, described acquiring unit is connected with described mark unit, and described mark unit is connected with described processing unit, and described processing unit is connected with described generation unit, and described generation unit is connected with described statement commit unit;
Described acquiring unit, for obtaining persisted instances object, is placed in thread by described persisted instances object;
Described mark unit, for marking the persistence state of described persisted instances object;
Described processing unit, during for needing to operate described persisted instances object when flow engine, from thread, extract described persisted instances object operate, be reentered in thread after end of operation, and change described persistence state according to described content of operation;
Described generation unit, for working as flow engine at the end of described persisted instances Object Operations, the persistence state current according to described persisted instances object generates SQL statement;
Described statement commit unit, for submitting described SQL statement to database.
7. the treating apparatus of persisted instances object according to claim 6, is characterized in that, described device also comprises: affairs open unit and affairs commit unit;
Wherein, described generation unit and described affairs are opened unit and are connected, and described affairs are opened unit and are connected with described statement commit unit, and described statement commit unit is connected with described affairs commit unit;
Described affairs open unit, for turn-on data storehouse affairs;
Described affairs commit unit, for submitting db transaction to.
8. the treating apparatus of persisted instances object according to claim 6, it is characterized in that, described device also comprises: sequencing unit, be connected between described generation unit and described statement commit unit, for the database priority order from high to low corresponding according to described SQL statement, described SQL statement sorted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410613369.XA CN104376054B (en) | 2014-11-04 | 2014-11-04 | A kind of processing method and processing device of persisted instances object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410613369.XA CN104376054B (en) | 2014-11-04 | 2014-11-04 | A kind of processing method and processing device of persisted instances object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104376054A true CN104376054A (en) | 2015-02-25 |
CN104376054B CN104376054B (en) | 2017-12-29 |
Family
ID=52554961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410613369.XA Active CN104376054B (en) | 2014-11-04 | 2014-11-04 | A kind of processing method and processing device of persisted instances object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104376054B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912384A (en) * | 2016-04-01 | 2016-08-31 | 广东凯通软件开发有限公司 | Transaction processing method and device for workflow engine |
CN110717074A (en) * | 2019-09-26 | 2020-01-21 | 上海依图网络科技有限公司 | Object persistence methods, apparatus, media and systems |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090019079A1 (en) * | 2007-07-11 | 2009-01-15 | Mats Stefan Persson | Method, system and computer-readable media for managing software object handles in a dual threaded environment |
CN101777154A (en) * | 2010-02-01 | 2010-07-14 | 浪潮集团山东通用软件有限公司 | Persistence method of workflow data in workflow management system |
CN102043625A (en) * | 2010-12-22 | 2011-05-04 | 中国农业银行股份有限公司 | Workflow operation method and system |
CN102521712A (en) * | 2011-12-27 | 2012-06-27 | 东软集团股份有限公司 | Process instance data processing method and device |
-
2014
- 2014-11-04 CN CN201410613369.XA patent/CN104376054B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090019079A1 (en) * | 2007-07-11 | 2009-01-15 | Mats Stefan Persson | Method, system and computer-readable media for managing software object handles in a dual threaded environment |
CN101777154A (en) * | 2010-02-01 | 2010-07-14 | 浪潮集团山东通用软件有限公司 | Persistence method of workflow data in workflow management system |
CN102043625A (en) * | 2010-12-22 | 2011-05-04 | 中国农业银行股份有限公司 | Workflow operation method and system |
CN102521712A (en) * | 2011-12-27 | 2012-06-27 | 东软集团股份有限公司 | Process instance data processing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912384A (en) * | 2016-04-01 | 2016-08-31 | 广东凯通软件开发有限公司 | Transaction processing method and device for workflow engine |
CN110717074A (en) * | 2019-09-26 | 2020-01-21 | 上海依图网络科技有限公司 | Object persistence methods, apparatus, media and systems |
CN110717074B (en) * | 2019-09-26 | 2023-04-07 | 上海依图网络科技有限公司 | Object persistence methods, apparatus, media and systems |
Also Published As
Publication number | Publication date |
---|---|
CN104376054B (en) | 2017-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8244686B2 (en) | High throughput, reliable replication of transformed data in information systems | |
US8977626B2 (en) | Indexing and searching a data collection | |
CN100495400C (en) | Indexes on-line updating method of full text retrieval system | |
US20070198566A1 (en) | Method and apparatus for efficient storage of hierarchical signal names | |
CN109144994A (en) | Index updating method, system and relevant apparatus | |
CN107077495A (en) | High performance transaction in data base management system | |
CN102955792A (en) | Method for implementing transaction processing for real-time full-text search engine | |
CN103810212A (en) | Automated database index creation method and system | |
CN107526746B (en) | Method and apparatus for managing document index | |
CN103198108B (en) | A kind of index data update method, retrieval server and system | |
US20120124106A1 (en) | Garbage collection of interned strings | |
CN110162522A (en) | A kind of distributed data search system and method | |
CN105912384A (en) | Transaction processing method and device for workflow engine | |
CN104077385A (en) | Classification and retrieval method of files | |
CN104423982A (en) | Request processing method and device | |
CN109815240A (en) | For managing method, apparatus, equipment and the storage medium of index | |
CN103077192A (en) | Data processing method and system thereof | |
CN110083617B (en) | DDL statement processing method and device, electronic device and medium | |
US8024374B2 (en) | Computer object conversion using an intermediate object | |
CN104376054A (en) | Persistent instance object processing method and device | |
CN106055646A (en) | Lock-free operation method of concurrent hash tables | |
CN113722600A (en) | Data query method, device, equipment and product applied to big data | |
KR101955376B1 (en) | Processing method for a relational query in distributed stream processing engine based on shared-nothing architecture, recording medium and device for performing the method | |
CN102193987B (en) | Method and system for increasing node data relationship based on OLTP (online transaction processing) | |
CN112037003A (en) | File account checking processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |