Method and device for configuring data lock for data

A data configuration and data technology, applied in the computer field, can solve problems such as consuming system resources, deadlocks, and data operation errors, and achieve the effects of improving processing efficiency, increasing operating speed, and reducing system resources

Active Publication Date: 2016-12-07
BEIJING QIHOO TECH CO LTD +1
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, on the one hand, the consistency and integrity of the data is ensured by allocating corresponding data locks to each data processing request; It will consume a lot of system resources, and it is prone to deadlock, resulting in the inability to respond to data processing requests; When the data is operated, since the data processing request has obtained the corresponding data lock, when processing the data processing request and receiving other data processing requests in the data block, it will result in rejection of other data requests to opera

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 configuring data lock for data
  • Method and device for configuring data lock for data
  • Method and device for configuring data lock for data

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0048] The embodiments of the present invention are described in detail below. Examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary, and are only used to explain the present invention, and cannot be construed as limiting the present invention.

[0049] Those skilled in the art can understand that, unless specifically stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, compo...

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 provides a method and a device for configuring a data lock for data. The method comprises the following steps of: receiving a data processing request; determining target data according to the received data processing request; determining identification information of the data lock corresponding to the data processing request according to the target data; according to the identification information of the data lock, determining position information of the data lock in a pre-stored data lock list, wherein the plurality of data locks corresponding to the identification information are pre-stored in the data lock list; and based on the position information, extracting the corresponding data locks from the pre-stored data lock list and distributing the extracted data locks to the data processing request. By adopting the scheme, the aim of accurately and rapidly acquiring the corresponding data locks is realized, so that the consistency of the data is guaranteed; and furthermore, a condition that the corresponding data lock of each data request cannot be accurately distributed when a plurality of data operation requests acquire the data locks is avoided, and the processing efficiency of the data requests is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular, the present invention relates to a method for configuring data locks for data, and a device for configuring data locks for data. Background technique [0002] With the development of the times, computer technology has penetrated into all aspects of people's lives, and people's lives have become more and more dependent on various terminal applications. Various powerful terminal applications continue to emerge, bringing users a more convenient experience . However, in the process of using various terminal applications, a large number of concurrent data operations will be generated. In order to ensure the consistency and integrity of data, any database has a locking mechanism. The quality of the locking mechanism directly affects the concurrent processing capability and performance of a database system. The database locking mechanism simply means that the database makes acc...

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): G06F17/30
CPCG06F16/2343
Inventor 郭军
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products