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

Service concurrent access control method and device

An access control and service request technology, applied in the computer field, can solve problems such as single concurrency control mode, inability to request emergency treatment channels, inability to request queuing, etc., to achieve the effect of improving accuracy and efficiency

Active Publication Date: 2013-03-27
BEIJING TONGTECH CO LTD +1
View PDF1 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to provide a service concurrent access control method and device, which solves the problem that in the prior art, the concurrency control method is single, the processing weight cannot be set for the service request by domain or node, the request cannot be queued, and the request cannot be provided. Dealing with channel issues

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
  • Service concurrent access control method and device
  • Service concurrent access control method and device
  • Service concurrent access control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] refer to figure 1 with Figure 4 , the service concurrent access control method of this embodiment includes the following steps:

[0057] First, accept and process service requests, such as Figure 4 As shown, the specific process is as follows:

[0058] S401, the service system receives a service request;

[0059] S402, judging whether the number of service requests has reached the maximum number of concurrency that the service system can respond to, if yes, execute S403, otherwise execute S404;

[0060] S403, returning information that the service system is busy to the service requester;

[0061] S404, according to the emergency degree of the service request and the number of processing channels of the service system, that is, according to image 3The logic in the request queuing logic flow shown in is carried out to determine whether the service request needs to be queued. If it needs to be queued, execute S405; if no queue is required, execute S406; if the proc...

Embodiment 2

[0094] The service concurrent access control device provided in this embodiment includes a service request receiving and processing module, a request queuing logic module, a message queue processing module, and a standby queue message module; the service request receiving and processing module is used to receive service requests and determine whether the number of service requests is When the maximum number of concurrency that the service system can respond to is reached, the request queuing logic module is judged to queue up the service request, or directly execute the processing, or return the information that the processing channel is exhausted to the service requester; the request queuing logic module and the above The service request receiving and processing module is connected, and according to the service request message, it is judged how to process the message, including queuing, direct processing, and processing channel exhaustion; the message queue processing module is...

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 service concurrent access control method and a service concurrent access control device. The method comprises the following steps that: S401, a service system receives service requests; S402, whether the number of the service requests achieves the maximum concurrent number to which the service system can respond is judged, if the number of the service requests achieves the maximum concurrence number, the step S403 is executed, or else S404 is executed; S403, information that the service system is busy is fed back to a service requiring part; S404, whether the service requests need to queue up or not is judged according to the emergency degree of the service requests and the processing channel number of the service system, if the service requests need to queue up, S405 is executed, or else S406 is executed, and if the processing channel is used up, S407 is executed; S405, the service requests queue up and wait for being awakened; S406, the service requests are processed; and S407, processing channel use-up information is fed back. The method and the device control the service request concurrence according to demands, and at the same time ensures that access requests of different nodes or node domains are served in accordance with desired weight modes, and moreover emergency channels are provided and at the same time emergency service requests obtain the in-time service, so that the precision and the efficiency in service concurrence control are improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a service concurrent access control method and device. Background technique [0002] As a kind of application implementation with flexible deployment and convenient integration, service is widely used in today's systems. [0003] Usually, there are two ways to control the number of accesses to services. One is the control of concurrency, which controls the large number of accesses at a specific moment, and the other is the control of traffic, which controls the time period. a large number of visits. The following scheme refers to the control of a large amount of visits at a specific moment. [0004] Once an application is published as a service, it can generally be called by all other applications in the system; at this time, the problem of service quality control becomes prominent. In order to ensure the service quality of the service, a concurrency control mechanism...

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 Applications(China)
IPC IPC(8): G06F9/46
Inventor 代卫兴邓鹏飞刘川
Owner BEIJING TONGTECH 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