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

Method and device for processing concurrent access requests

A technology for accessing requests and processing devices, applied in special data processing applications, electrical components, transmission systems, etc., can solve problems such as inability to complete data rewriting, object loss, affecting the performance of B-tree structure writing, and avoid concurrency. Effects of Access Violation

Active Publication Date: 2014-03-12
HUAWEI TECH CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when there are multiple concurrency conflicts, it will affect the writing performance of the B-tree structure, and even result in the inability to complete data rewriting, eventually resulting in the loss of objects in the container

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 concurrent access requests
  • Method and device for processing concurrent access requests
  • Method and device for processing concurrent access requests

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Embodiment 1 of the present invention provides a concurrent access request processing method, such as Figure 4 shown, including:

[0056] S101: Receive at least two concurrent access requests for the same data resource.

[0057] Specifically, for data resources with hotspot access, in the object storage system based on the underlying distributed storage engine, different clients based on the HTTP protocol will initiate access requests to the data resources, that is, there are at least Two concurrent access requests. The upper layer application receives the at least two concurrent access requests to the same data resource.

[0058] S102: Sort the received at least two concurrent access requests.

[0059] Specifically, in the embodiment of the present invention, at least two concurrent access requests of the same data resource received by the upper-layer application are sorted, which can be directly sorted on different engine access agents that request data resources ...

Embodiment 2

[0063] Embodiment 2 of the present invention will describe in detail the method for processing concurrent access requests involved in Embodiment 1 in combination with practical applications.

[0064] For the object storage technology based on the two-tier business model of containers and objects, when more than one client adds objects to a container at the same time, the sub-data block data of the index relational table will become a hotspot, that is, there are more than one access ask. To request access to the index table between the container and the object, the embodiment of the present invention will sort the concurrent access requests of the same index table to ensure that there is only one read and write operation for the same index table at the same time, and avoid concurrent access conflicts.

[0065] In the embodiment of the present invention, the process of sorting the access requests is described in detail. For other processing steps of concurrent access requests, r...

Embodiment 3

[0083] Based on the concurrent access request processing methods provided in Embodiment 1 and Embodiment 2, this embodiment of the present invention provides a device for processing concurrent access requests, such as Figure 8 As shown, the concurrent access request processing device provided by the embodiment of the present invention includes a receiving unit 801, a sorting unit 802, and an accessing unit 803, wherein,

[0084] The receiving unit 801 is configured to receive at least two concurrent access requests for the same data resource, and transmit at least two concurrent access requests to the sorting unit 802;

[0085] The sorting unit 802 is configured to receive at least two concurrent access requests transmitted by the receiving unit 801, sort the at least two concurrent access requests, and transmit the sorted concurrent access requests to the access unit 803;

[0086] The access unit 803 is configured to receive the sorted concurrent access requests transmitted ...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for processing concurrent access requests, and aims to avoid the concurrent access conflict. The method comprises the following steps: receiving at least two concurrent access requests of the same data resource, and sequencing the at least two concurrent access requests; accessing the same data resource in sequence according to sequenced concurrent access requests. According to the method and the device, only one data resource corresponding to the access requests can be provided at one moment, so that the concurrent access conflict can be avoided.

Description

technical field [0001] The invention relates to the technical field of computer data storage, in particular to a method and device for processing concurrent access requests. Background technique [0002] The object storage technology based on HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) develops rapidly, and the object storage technology based on the two-tier business model of container Container and object object is more and more widely used. [0003] A container can be understood as a special top-level directory, an object can be a file or a directory, and an object belongs to a container. Usually, user data is stored in containers in the form of objects, using the technical architecture of object storage established by upper-level applications on the underlying distributed storage engine. The number of objects in the container is not limited. When there are many objects in the container, there will be a very large index relationship table between the ...

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): H04L29/08
CPCG06F16/1767
Inventor 童燕群李成林
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products