CN103207809A - Method and system for removing mutual exclusive lock - Google Patents
Method and system for removing mutual exclusive lock Download PDFInfo
- Publication number
- CN103207809A CN103207809A CN2012100112224A CN201210011222A CN103207809A CN 103207809 A CN103207809 A CN 103207809A CN 2012100112224 A CN2012100112224 A CN 2012100112224A CN 201210011222 A CN201210011222 A CN 201210011222A CN 103207809 A CN103207809 A CN 103207809A
- Authority
- CN
- China
- Prior art keywords
- mutual exclusion
- exclusion lock
- session object
- session
- lock
- 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
Images
Abstract
The invention discloses a method for removing a mutual exclusive lock. The method comprises the steps that a mutual exclusive lock is obtained, and a preset corresponding relationship is formed between the mutual exclusive lock and a session object; the session object is obtained according to the mutual exclusive lock and the corresponding relationship between the mutual exclusive lock and the session object; and the mutual exclusive lock is removed before the session object logs off. Besides, a system for removing the mutual exclusive lock is also provided. The method and the system for removing the mutual exclusive lock further facilitate user operation.
Description
[technical field]
The present invention relates to software technology field, particularly a kind of method and system of removing mutual exclusion lock.
[background technology]
In the conventional art, the user is when accessing database or other data resources, in order to prevent that a plurality of users from carrying out mutually exclusive operation to the data resource, when the user begins that the data resource carried out read or write, according to user's user ID the data resource is added mutual exclusion lock usually.Mutual exclusion lock can be the object in the internal memory, also can be the table lock in the database.When the user finishes read or write to the data resource, then discharge this mutual exclusion lock.After data resource had been added mutual exclusion lock, other users (users that user ID is different) can only wait for synchronously to mutual exclusion lock and being released, and then begin the data resource is carried out read or write.
Yet, after according to user's user ID the data resource having been added mutual exclusion lock.Cause system's machine of delaying suddenly if meet accident fault, this moment, the user did not also finish the read or write of data resource, so mutual exclusion lock does not discharge yet.And because after system restarted, the user can not continue to finish the read or write to the data resource, so mutual exclusion lock will be released never, thus the rubbish lock become, and then cause other users can't visit the data resource of this mutual exclusion lock correspondence.
When cleaning rubbish lock, removed by administrator hand in the conventional art.If the rubbish lock is the lock of the table in the database, then administrator hand is revised the data item in the database.If the rubbish lock is memory object, then administrator hand is removed this memory object.The keeper needs to judge that according to a large amount of daily records whether mutual exclusion lock is the rubbish lock, operates very inconvenient earlier when manually removing mutual exclusion lock.
[summary of the invention]
Based on this, be necessary to provide a kind of method of removing mutual exclusion lock of handled easily.
A kind of method of removing mutual exclusion lock may further comprise the steps:
Obtain mutual exclusion lock, have default corresponding relation between described mutual exclusion lock and the session object;
Obtain session object according to the corresponding relation between described mutual exclusion lock, described mutual exclusion lock and the session object;
When described session object is nullified, remove described mutual exclusion lock.
Preferably, the described step of obtaining mutual exclusion lock also comprises before:
Create mutual exclusion lock, and set up the corresponding relation between mutual exclusion lock and the session object.
Preferably, described session object has session identification;
The described step of setting up the corresponding relation between mutual exclusion lock and the session object is specially:
Obtain session object, obtain session identification according to described session object, and set up the corresponding relation of session identification and mutual exclusion lock;
The described step of obtaining session object according to the corresponding relation between mutual exclusion lock, described mutual exclusion lock and the session object is specially:
Corresponding relation according to described mutual exclusion lock, described session identification and mutual exclusion lock obtains session identification, obtains session object according to described session identification.
Preferably, described mutual exclusion lock has the mutual exclusion lock sign;
The described step of setting up the corresponding relation between mutual exclusion lock and the session object also comprises:
By in the attribute of described session object, adding the corresponding relation that the mutual exclusion lock sign is set up described mutual exclusion lock and session object.
Preferably, described method also comprises:
Function is removed in registration in default session eavesdropping target;
Described when described session object is nullified, the step of removing described mutual exclusion lock also comprises:
Listen to session object when nullifying described session eavesdropping target, obtain mutual exclusion lock according to the corresponding relation of described session object, described mutual exclusion lock and session object;
Call described removing function and remove described mutual exclusion lock.
In addition, also be necessary to provide a kind of system of removing mutual exclusion lock of handled easily.
A kind of system that removes mutual exclusion lock comprises with lower module:
The mutual exclusion lock acquisition module is used for obtaining mutual exclusion lock, has default corresponding relation between described mutual exclusion lock and the session object;
The session object acquisition module is used for obtaining session object according to the corresponding relation between described mutual exclusion lock, described mutual exclusion lock and the session object;
Mutual exclusion lock is removed module, is used for removing described mutual exclusion lock when described session object is nullified.
Preferably, also comprise the mutual exclusion lock creation module, be used for creating mutual exclusion lock, and set up the corresponding relation between mutual exclusion lock and the session object.
Preferably, described session object has session identification;
Described mutual exclusion lock creation module also is used for obtaining session object, obtains session identification according to described session object, and sets up the corresponding relation of session identification and mutual exclusion lock;
Described session object acquisition module also is used for obtaining session identification according to the corresponding relation of described mutual exclusion lock, described session identification and mutual exclusion lock, obtains session object according to described session identification.
Preferably, described mutual exclusion lock has the mutual exclusion lock sign;
Described mutual exclusion lock creation module also is used for adding the corresponding relation that the mutual exclusion lock sign is set up described mutual exclusion lock and session object by the attribute at described session object.
Preferably, comprise that also mutual exclusion lock monitoring module is used for removing function in default session eavesdropping target registration; Described mutual exclusion lock is removed module and also is used for listening to session object when nullifying described session eavesdropping target, obtains mutual exclusion lock according to the corresponding relation of described session object, described mutual exclusion lock and session object, calls described removing function and removes described mutual exclusion lock.
The method and system of above-mentioned removing mutual exclusion lock when being pre-created mutual exclusion lock, has been set up the corresponding relation of mutual exclusion lock and session object.Because session object can be created and extinction according to request of access, when session object is canceled, represent that namely the user has stopped carrying out data access operation, remove mutual exclusion lock and can this user's visit not be exerted an influence this moment, and reasonably discharged data resource, made things convenient for other user's visits.Therefore, when removing mutual exclusion lock, only need judge that session object is whether canceled can judge that whether mutual exclusion lock is that rubbish is locked, and can be automatically performed by program, thereby made things convenient for user's operation.
[description of drawings]
Fig. 1 is the process flow diagram of removing the method for mutual exclusion lock among the embodiment;
Fig. 2 is the structural representation of removing the system of mutual exclusion lock among the embodiment;
Fig. 3 is the structural representation of removing the system of mutual exclusion lock among another embodiment.
[embodiment]
As shown in Figure 1, in one embodiment, a kind of method of removing mutual exclusion lock may further comprise the steps:
Step S102 obtains mutual exclusion lock, has default corresponding relation between mutual exclusion lock and the session object.
Mutual exclusion lock can be the table lock in the database, also can be the object lock in the internal memory.Session object (session object) is the object that a kind of user of expression connects session.Can be corresponding with user ID in the session object and storage area connect parameter, when the user goes offline when reconnecting, in the default time limit, can obtain this session object according to user ID, and recover session according to the connection parameter in the session object.
Among the embodiment, before obtaining mutual exclusion lock, can also be pre-created mutual exclusion lock, and set up the corresponding relation of mutual exclusion lock and session object.
Creating mutual exclusion lock can be that the database level establishment also can be that internal memory is created.When the data recording in the user accesses data storehouse, can utilize the lock mechanism of database that the data record is added mutual exclusion lock.Also can add mutual exclusion lock to the data record by adding entry.For example, can in database, be listed as by newdata, in this data rows, add identifier then.Close when data records being carried out in the read or write identifier is made as, after read or write finished in the data record, identifier is made as unlatching.When the data resource in user's access memory, can be used as mutual exclusion lock by the visit thread is added object lock, for example, in java and .net framework, can utilize wait and notify mechanism to come the visit thread is added object lock.
Further, session object has session identification.Can obtain session object, obtain session identification according to session object, and set up the corresponding relation of session identification and mutual exclusion lock.
Session identification and session object are corresponding one by one, can be UUID (Universally Unique Identifier, general unique identifier), can set up the corresponding relation of session identification and mutual exclusion lock by the mapping table of setting up session identification and mutual exclusion lock, also can set up corresponding relation by in the attribute of mutual exclusion lock, adding session identification.In precedent, can in tables of data, use session identification as identifier, when having session identification in the data rows, lock cuts out, on the contrary lock is opened.
Step S104 obtains session object according to the corresponding relation between mutual exclusion lock, mutual exclusion lock and the session object.
In the relation of mutual exclusion lock and session object, mutual exclusion lock and session object can be many-to-one relations.Session object can corresponding a plurality of mutual exclusion lock (can comprise the thread of a plurality of visit data resources in session, each thread can produce mutual exclusion lock).
In one embodiment, can obtain session identification according to the corresponding relation of mutual exclusion lock, session identification and mutual exclusion lock, obtain session object according to session identification.
Step S106 when session object is nullified, removes mutual exclusion lock.
Can be for session object arrange time-out time, when the user does not carry out any accessing operation in time-out time, then session object will be canceled.When the user conducts interviews operation in time-out time, then refresh time-out time.For example, the time-out time that session object can be set is 30 minutes, if do not receive any request of access in 30 minutes, then nullifies this session object.If receive, then refreshing time-out time is 30 minutes.
Among the embodiment, can be behind the time-out time of session object, judge whether session object is canceled earlier, if canceled, then remove mutual exclusion lock, if cancellation, wait for again that then Preset Time judges that more whether session object is canceled, and is eliminated up to mutual exclusion lock.
Can remove mutual exclusion lock by calling default removing function.For example, if mutual exclusion lock is the table lock in the database, then can the data item that be used for expression mutual exclusion lock state in the database be revised as opening by removing function.If mutual exclusion lock is object lock in the internal memory, then can by remove function discharge this object lock (as, can call the notify function).
In one embodiment, mutual exclusion lock also has the mutual exclusion lock sign.Also can be by in the attribute of session object, adding the corresponding relation that mutual exclusion lock identifies to set up mutual exclusion lock and session object.
Further, can also registration remove function in default session eavesdropping target, the session eavesdropping target listens to session object when nullifying, and obtains mutual exclusion lock according to the corresponding relation of session object, mutual exclusion lock and session object, calls and removes function removing mutual exclusion lock.
The session eavesdropping target is the session audiomonitor of the definition of person's pattern (Observer Pattern can be with reference to GOF, Gang of Four Design Mode) according to the observation.Session object can be registered the removing function corresponding with this session object in the session eavesdropping target when creating.Can generate Logout Events when session object is canceled, the session eavesdropping target can learn that session object will be canceled by monitoring Logout Events.The session eavesdropping target obtains mutual exclusion lock according to the corresponding relation of session object, mutual exclusion lock and session object then, and calls registered removing function and remove mutual exclusion lock.
In one embodiment, can also preset the mutual exclusion lock table.When mutual exclusion lock was created, then this mutual exclusion lock of registration in this table for example, can be identified at by mutual exclusion lock and register mutual exclusion lock in the table.Then, regularly initiate to remove this mutual exclusion lock table of thread traverses, obtain the session object corresponding with mutual exclusion lock, if the session object corresponding with mutual exclusion lock canceled (namely not getting access to) that gets access to then removed the default removing function of thread dispatching and removed mutual exclusion lock.
As shown in Figure 2, in one embodiment, a kind of system that removes mutual exclusion lock comprises mutual exclusion lock acquisition module 102, session object acquisition module 104 and mutual exclusion lock removing module 106, wherein:
Mutual exclusion lock acquisition module 102 is used for obtaining mutual exclusion lock, has default corresponding relation between mutual exclusion lock and the session object.
Mutual exclusion lock can be the table lock in the database, also can be the object lock in the internal memory.Session object (session object) is the object that a kind of user of expression connects session.Can be corresponding with user ID in the session object and storage area connect parameter, when the user goes offline when reconnecting, in the default time limit, can obtain this session object according to user ID, and recover session according to the connection parameter in the session object.
Among the embodiment, as shown in Figure 3, the system that removes mutual exclusion lock also comprises mutual exclusion lock creation module 108, can be used for being pre-created mutual exclusion lock, and sets up the corresponding relation of mutual exclusion lock and session object.
Creating mutual exclusion lock can be that the database level establishment also can be that internal memory is created.When the data recording in the user accesses data storehouse, can utilize the lock mechanism of database that the data record is added mutual exclusion lock.Also can add mutual exclusion lock to the data record by adding entry.For example, can in database, be listed as by newdata, in this data rows, add identifier then.Close when data records being carried out in the read or write identifier is made as, after read or write finished in the data record, identifier is made as unlatching.When the data resource in user's access memory, can be used as mutual exclusion lock by the visit thread is added object lock, for example, in java and .net framework, can utilize wait and notify mechanism to come the visit thread is added object lock.
Further, session object has session identification.Mutual exclusion lock creation module 108 can be used for obtaining session object, obtains session identification according to session object, and sets up the corresponding relation of session identification and mutual exclusion lock.
Session identification and session object are corresponding one by one, can be UUID (Universally Unique Identifier, general unique identifier), can set up the corresponding relation of session identification and mutual exclusion lock by the mapping table of setting up session identification and mutual exclusion lock, also can set up corresponding relation by in the attribute of mutual exclusion lock, adding session identification.In precedent, can in tables of data, use session identification as identifier, when having session identification in the data rows, lock cuts out, on the contrary lock is opened.
Session object acquisition module 104 is used for obtaining session object according to the corresponding relation between mutual exclusion lock, mutual exclusion lock and the session object.
In the relation of mutual exclusion lock and session object, mutual exclusion lock and session object can be many-to-one relations.Session object can corresponding a plurality of mutual exclusion lock (can comprise the thread of a plurality of visit data resources in session, each thread can produce mutual exclusion lock).
In one embodiment, session object acquisition module 104 can be used for obtaining session identification according to the corresponding relation of mutual exclusion lock, session identification and mutual exclusion lock, obtains session object according to session identification.
Mutual exclusion lock is removed module 106, is used for removing mutual exclusion lock when session object is nullified.
Can be for session object can arrange time-out time, when the user does not carry out any accessing operation in time-out time, then session object will be canceled.When the user conducts interviews operation in time-out time, then refresh time-out time.For example, the time-out time that session object can be set is 30 minutes, if do not receive any request of access in 30 minutes, then nullifies this session object.If receive, then refreshing time-out time is 30 minutes.
Among the embodiment, after mutual exclusion lock removing module 106 is used in the time-out time of session object, judge whether session object is canceled earlier, if canceled, then remove mutual exclusion lock, if do not nullify, wait for again that then Preset Time judges that more whether session object is canceled, and is eliminated up to mutual exclusion lock.
Mutual exclusion lock is removed module 106 and be can be used for removing mutual exclusion lock by calling default removing function.For example, if mutual exclusion lock is the table lock in the database, then can the data item that be used for expression mutual exclusion lock state in the database be revised as opening by removing function.If mutual exclusion lock is object lock in the internal memory, then can by remove function discharge this object lock (as, can call the notify function).
In one embodiment, mutual exclusion lock also has the mutual exclusion lock sign.Mutual exclusion lock creation module 108 also can be used for by add the corresponding relation that mutual exclusion lock identifies to set up mutual exclusion lock and session object in the attribute of session object.
Further, as shown in Figure 3, the system that removes mutual exclusion lock also comprises mutual exclusion lock monitoring module 110, is used in registration removing function among the default session eavesdropping target.Mutual exclusion lock is removed module 106 and also is used in the session eavesdropping target and listens to session object when nullifying, and obtains mutual exclusion lock according to the corresponding relation of session object, mutual exclusion lock and session object, calls and removes function removing mutual exclusion lock.
The session eavesdropping target is the session audiomonitor of the definition of person's pattern (Observer Pattern can be with reference to GOF, Gang of Four Design Mode) according to the observation.Session object is when creating, and mutual exclusion lock is monitored module 110 and is used in the registration removing function corresponding with this session object among the session eavesdropping target.Can generate Logout Events when session object is canceled, the session eavesdropping target can learn that session object will be canceled by monitoring Logout Events.The session eavesdropping target obtains mutual exclusion lock according to the corresponding relation of session object, mutual exclusion lock and session object then, and calls registered removing function and remove mutual exclusion lock.
In one embodiment, can also preset the mutual exclusion lock table.When mutual exclusion lock was created, then this mutual exclusion lock of registration in this table for example, can be identified at by mutual exclusion lock and register mutual exclusion lock in the table.Then, regularly initiate to remove this mutual exclusion lock table of thread traverses, obtain the session object corresponding with mutual exclusion lock, if the session object corresponding with mutual exclusion lock canceled (namely not getting access to) that gets access to then removed the default removing function of thread dispatching and removed mutual exclusion lock.
The method and system of above-mentioned removing mutual exclusion lock when being pre-created mutual exclusion lock, has been set up the corresponding relation of mutual exclusion lock and session object.Because session object can be created and extinction according to request of access, when session object is canceled, represent that namely the user has stopped carrying out data access operation, remove mutual exclusion lock and can this user's visit not be exerted an influence this moment, and reasonably discharged data resource, made things convenient for other user's visits.Therefore, when removing mutual exclusion lock, only need judge that session object is whether canceled can judge that whether mutual exclusion lock is that rubbish is locked, and can be automatically performed by program, thereby made things convenient for user's operation.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. method of removing mutual exclusion lock may further comprise the steps:
Obtain mutual exclusion lock, have default corresponding relation between described mutual exclusion lock and the session object;
Obtain session object according to the corresponding relation between described mutual exclusion lock, described mutual exclusion lock and the session object;
When described session object is nullified, remove described mutual exclusion lock.
2. the method for removing mutual exclusion lock according to claim 1 is characterized in that, the described step of obtaining mutual exclusion lock also comprises before:
Create mutual exclusion lock, and set up the corresponding relation between mutual exclusion lock and the session object.
3. the method for removing mutual exclusion lock according to claim 2 is characterized in that, described session object has session identification;
The described step of setting up the corresponding relation between mutual exclusion lock and the session object is specially:
Obtain session object, obtain session identification according to described session object, and set up the corresponding relation of session identification and mutual exclusion lock;
The described step of obtaining session object according to the corresponding relation between mutual exclusion lock, described mutual exclusion lock and the session object is specially:
Corresponding relation according to described mutual exclusion lock, described session identification and mutual exclusion lock obtains session identification, obtains session object according to described session identification.
4. the method for removing mutual exclusion lock according to claim 3 is characterized in that, described mutual exclusion lock has the mutual exclusion lock sign;
The described step of setting up the corresponding relation between mutual exclusion lock and the session object also comprises:
By in the attribute of described session object, adding the corresponding relation that the mutual exclusion lock sign is set up described mutual exclusion lock and session object.
5. the method for removing mutual exclusion lock according to claim 4 is characterized in that, described method also comprises:
Function is removed in registration in default session eavesdropping target;
Described when described session object is nullified, the step of removing described mutual exclusion lock also comprises:
Listen to session object when nullifying described session eavesdropping target, obtain mutual exclusion lock according to the corresponding relation of described session object, described mutual exclusion lock and session object;
Call described removing function and remove described mutual exclusion lock.
6. a system that removes mutual exclusion lock is characterized in that, comprises with lower module:
The mutual exclusion lock acquisition module is used for obtaining mutual exclusion lock, has default corresponding relation between described mutual exclusion lock and the session object;
The session object acquisition module is used for obtaining session object according to the corresponding relation between described mutual exclusion lock, described mutual exclusion lock and the session object;
Mutual exclusion lock is removed module, is used for removing described mutual exclusion lock when described session object is nullified.
7. the system of removing mutual exclusion lock according to claim 6 is characterized in that, also comprises the mutual exclusion lock creation module, is used for creating mutual exclusion lock, and sets up the corresponding relation between mutual exclusion lock and the session object.
8. the system of removing mutual exclusion lock according to claim 7 is characterized in that, described session object has session identification;
Described mutual exclusion lock creation module also is used for obtaining session object, obtains session identification according to described session object, and sets up the corresponding relation of session identification and mutual exclusion lock;
Described session object acquisition module also is used for obtaining session identification according to the corresponding relation of described mutual exclusion lock, described session identification and mutual exclusion lock, obtains session object according to described session identification.
9. the system of removing mutual exclusion lock according to claim 8 is characterized in that, described mutual exclusion lock has the mutual exclusion lock sign;
Described mutual exclusion lock creation module also is used for adding the corresponding relation that the mutual exclusion lock sign is set up described mutual exclusion lock and session object by the attribute at described session object.
10. the system of removing mutual exclusion lock according to claim 9 is characterized in that, comprises that also mutual exclusion lock monitoring module is used for removing function in default session eavesdropping target registration; Described mutual exclusion lock is removed module and also is used for listening to session object when nullifying described session eavesdropping target, obtains mutual exclusion lock according to the corresponding relation of described session object, described mutual exclusion lock and session object, calls described removing function and removes described mutual exclusion lock.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210011222.4A CN103207809B (en) | 2012-01-13 | 2012-01-13 | Remove the method and system of mutual exclusion lock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210011222.4A CN103207809B (en) | 2012-01-13 | 2012-01-13 | Remove the method and system of mutual exclusion lock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103207809A true CN103207809A (en) | 2013-07-17 |
CN103207809B CN103207809B (en) | 2017-07-07 |
Family
ID=48755039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210011222.4A Active CN103207809B (en) | 2012-01-13 | 2012-01-13 | Remove the method and system of mutual exclusion lock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103207809B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106980544A (en) * | 2017-03-31 | 2017-07-25 | 北京奇艺世纪科技有限公司 | A kind of thread synchronization method and thread synchronization system |
CN107229632A (en) * | 2016-03-24 | 2017-10-03 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus for avoiding thread from concurrently accessing database |
CN107402822A (en) * | 2017-07-06 | 2017-11-28 | 腾讯科技(深圳)有限公司 | Deadlock treatment method and device |
CN107704557A (en) * | 2017-09-28 | 2018-02-16 | 金蝶蝶金云计算有限公司 | Processing method, device, computer equipment and the storage medium of operation mutual exclusion data |
CN112636956A (en) * | 2020-12-11 | 2021-04-09 | 武汉飞骥永泰科技有限公司 | Optimization method and device of distributed object storage gateway and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1195144A (en) * | 1997-03-27 | 1998-10-07 | 国际商业机器公司 | Locking tool data objects in framework environment |
US20040025160A1 (en) * | 2002-08-05 | 2004-02-05 | David Dice | System and method for maintaining data synchronization |
CN1953453A (en) * | 2006-10-25 | 2007-04-25 | 北京交通大学 | A system and realization method for high speed capture and quick storage of IPv6 data |
US20080028406A1 (en) * | 2006-07-31 | 2008-01-31 | Hewlett-Packard Development Company, L.P. | Process replication method and system |
CN101216785A (en) * | 2007-01-05 | 2008-07-09 | 三星电子株式会社 | Multi-tasking method according to simple priority inheritance scheme and embedded system therefor |
CN102236705A (en) * | 2010-05-06 | 2011-11-09 | 甲骨文国际公司 | Fine grain synchronization for database replay |
CN102301343A (en) * | 2011-06-14 | 2011-12-28 | 华为技术有限公司 | Method, device and system for monitoring software |
-
2012
- 2012-01-13 CN CN201210011222.4A patent/CN103207809B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1195144A (en) * | 1997-03-27 | 1998-10-07 | 国际商业机器公司 | Locking tool data objects in framework environment |
US20040025160A1 (en) * | 2002-08-05 | 2004-02-05 | David Dice | System and method for maintaining data synchronization |
US20080028406A1 (en) * | 2006-07-31 | 2008-01-31 | Hewlett-Packard Development Company, L.P. | Process replication method and system |
CN1953453A (en) * | 2006-10-25 | 2007-04-25 | 北京交通大学 | A system and realization method for high speed capture and quick storage of IPv6 data |
CN101216785A (en) * | 2007-01-05 | 2008-07-09 | 三星电子株式会社 | Multi-tasking method according to simple priority inheritance scheme and embedded system therefor |
CN102236705A (en) * | 2010-05-06 | 2011-11-09 | 甲骨文国际公司 | Fine grain synchronization for database replay |
CN102301343A (en) * | 2011-06-14 | 2011-12-28 | 华为技术有限公司 | Method, device and system for monitoring software |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229632A (en) * | 2016-03-24 | 2017-10-03 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus for avoiding thread from concurrently accessing database |
CN106980544A (en) * | 2017-03-31 | 2017-07-25 | 北京奇艺世纪科技有限公司 | A kind of thread synchronization method and thread synchronization system |
CN107402822A (en) * | 2017-07-06 | 2017-11-28 | 腾讯科技(深圳)有限公司 | Deadlock treatment method and device |
CN107704557A (en) * | 2017-09-28 | 2018-02-16 | 金蝶蝶金云计算有限公司 | Processing method, device, computer equipment and the storage medium of operation mutual exclusion data |
CN107704557B (en) * | 2017-09-28 | 2019-12-10 | 金蝶蝶金云计算有限公司 | Processing method and device for operating mutually exclusive data, computer equipment and storage medium |
CN112636956A (en) * | 2020-12-11 | 2021-04-09 | 武汉飞骥永泰科技有限公司 | Optimization method and device of distributed object storage gateway and electronic equipment |
CN112636956B (en) * | 2020-12-11 | 2023-03-24 | 武汉飞骥永泰科技有限公司 | Optimization method and device of distributed object storage gateway and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103207809B (en) | 2017-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103207809A (en) | Method and system for removing mutual exclusive lock | |
CN104573611B (en) | A kind of distributed recognition of face group system | |
WO2011134233A1 (en) | Method and device for monitoring database connection pool | |
CN103077339A (en) | Data protection method and device | |
CN104504014B (en) | Data processing method and device based on big data platform | |
CN102917348A (en) | Intelligent multi-user mobile phone and logging method thereof | |
CN106775702B (en) | Container-based service internal interface discovery method | |
RU2017118321A (en) | SYSTEM AND METHOD FOR DETECTION AND PREVENTION IN REAL TIME OF DISTURBANCES OF DIFFERENCE OF PERFORMED TASKS IN CRITICALLY IMPORTANT BUSINESS APPLICATIONS | |
CN103327005B (en) | Equipment cut-in method based on virtual desktop and device | |
CN106293972A (en) | The single page application page means of communication and device | |
CN106339217B (en) | Event management method and system based on Unity | |
CN102833120B (en) | The abnormal method and system of NM server are processed in a kind of rapid automatized test | |
CN105094811B (en) | A kind of method and apparatus of event handling | |
CN105095358A (en) | Method and system for acquiring database operation logs | |
WO2020000731A1 (en) | Data collection method and device for voip gateway, storage medium, and server | |
CN109542583B (en) | Virtual equipment management method based on double buses | |
CN107357791A (en) | A kind of data sharing method and device | |
WO2006061315B1 (en) | Resource management for data storage services | |
CN104917793A (en) | Access control method, device and system | |
WO2015192664A1 (en) | Device monitoring method and apparatus | |
CN112800399B (en) | Rights management method, system and related device of prest query platform | |
CN103580899A (en) | Method and system for managing event logs, cloud service client side and virtualization platform | |
CN102722373A (en) | Method for recording painting process of a player by Flash painting software | |
WO2021093079A1 (en) | Service data processing method and system | |
WO2019000791A1 (en) | Method and apparatus for remote process calling using asynchronous mode |
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 |