Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing lock application

A processing method and technology of a processing device, which are applied in the field of communication, can solve the problems of low efficiency, shorten the lock application time, slow database system processing speed, etc., and achieve the effect of improving speed and efficiency and shortening lock application time.

Active Publication Date: 2017-12-05
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The lock application processing method and device provided by the embodiments of the present invention solve the problem of the slow processing speed and low efficiency of the database system caused by the lock manager processing each lock application and release separately in the prior art and continuously updating the lock management status. To solve the problem, by building a lock request queue with compatible lock application requests and obtaining the corresponding locks at the same time, the lock application time is shortened, and the speed and efficiency of the database system for processing user terminal access are effectively improved.

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
  • Method and device for processing lock application
  • Method and device for processing lock application
  • Method and device for processing lock application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] In the process of accessing shared resources in the database system, locks are needed to protect the competing access of multiple user terminals to shared resources, especially when modifying a certain target object, locks are required so that other user terminals cannot Read and write operations are performed, so the management of the lock...

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 embodiment of the invention provides a method and device for processing a lock application. The method for processing the lock application comprises the steps that a lock manager receives a first lock application request, the first lock application request is added to a first lock request queue, if it is detected that any lock application request in the lock request queue meets pre-configured authorization conditions, authorization is carried out on each lock application request in the lock request queue, and each lock application request in the first lock request queue obtains a corresponding lock; the lock corresponding to the first lock application request is sent to a terminal service proxy so that the terminal service proxy can carry out locking operations on a target object according to the lock corresponding to the first lock application request; the first lock application request is compatible with each lock application request in the first lock request queue. According to the method and device for processing the lock application, the lock request queue of compatible lock application requests is established, corresponding locks are obtained at the same time, lock application time is shortened, and the speed and efficiency of a database system for processing accessing of user terminals are improved effectively.

Description

technical field [0001] The embodiments of the present invention relate to communication technology, and in particular to a method and device for processing a lock application. Background technique [0002] In the database system, when multiple user terminals access shared resources, locks are needed to protect the competing access of multiple user terminals to shared resources. Currently, the commonly used lock management mechanism is centralized lock management. [0003] The specific implementation of the above-mentioned centralized lock management is as follows: the user terminal sends an access message to the database system, and the database system sends a lock application request to the lock manager for managing locks according to the access object of the access message to apply for the corresponding lock. The lock manager detects whether the lock to be acquired in the lock application request conflicts with the previous unreleased lock, and if it does not conflict with...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/2343
Inventor 朱阅岸周烜
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More