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

Request processing method and device

A technology of request processing and processing conditions, which is applied in the computer field, can solve the problems of low processing efficiency and high limitation of parallel processing, achieve the effect of low possibility of conflict and improve parallel processing efficiency

Active Publication Date: 2021-10-22
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present disclosure provides a request processing method and device, which can solve the problems of high limitation and low processing efficiency of parallel processing in the prior art

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
  • Request processing method and device
  • Request processing method and device
  • Request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.

[0037] figure 1 It is a schematic diagram of an implementation environment of a request processing method provided by an embodiment of the present disclosure. see figure 1 , the implementation environment includes:

[0038] At least one server 101 and at least one terminal 102. The server 101 is used to provide network services for the terminal 102. In one implementation, the server 101 may include a request reader module (request readers), a request processor module (request processors) and a response return module (response sender). The request reading module is used to read the request of the terminal; the request processing module is used to process the request and generate a response result; the response return module is us...

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 disclosure provides a request processing method and device, which belong to the technical field of computers. The method includes: acquiring a first request of a terminal; and assigning a lock to the first request based on the operation type and operation path corresponding to the first request when the first request meets the processing conditions, and the operation type refers to the operation type indicated by the first request. The type of operation to be performed, the operation path refers to the storage path of the operation object indicated by the first request; the operation corresponding to the first request is executed based on the lock; where the processing conditions include the operation corresponding to the first request and the operation corresponding to each second request No conflict; when the second request allocates a lock for the first request, the request has already been allocated a lock by the server. The present disclosure improves parallel processing efficiency.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular to a request processing method and device. Background technique [0002] In the current client / server (Client / Server, C / S) communication architecture, the demand for terminal services is increasing. In order to quickly provide services to each terminal, the server usually needs to process requests from multiple terminals in parallel. , for example, to read or write to what the server has stored. Among them, the write operation involves the modification of the content, and the read operation does not involve the modification of the content. [0003] At present, in order to avoid the processing data from being destroyed in the process of processing requests in parallel, the request is generally processed based on the lock mechanism. Under the lock mechanism, the server will perform the operation corresponding to the request assigned the lock, or temporarily suspend the req...

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): G06F16/176G06F16/182
CPCG06F16/1774G06F16/182
Inventor 孙桂林施浩亮毗奈耶库马尔·B
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