Request concurrent processing method and device, and server

A technology for request processing and business requests, applied to electrical components, transmission systems, etc., can solve problems such as waste of system resources

Inactive Publication Date: 2015-01-21
航天欧华信息技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiment of the present invention is to provide a concurrent request processing method, aiming to solve the problem that the existing power system assigns a separate thread to each client that initiates a request during communication scheduling, resulting in waste of system resources

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0020] In this embodiment of the present invention, different client numbers are given to each client according to the socket carried in the request by each client that initiates a service request, and protocol information for communicating with the client is established for each client table, so as to distinguish different clients in concurrent business request processing, and realize concurrent processing of multiple requests.

[0021] figure 1 A block diagram of the system structure of the concurrent request processing system provided by the first embodiment of the present invention is shown...

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 is applicable to the technical field of communication of power systems and provides a request concurrent processing method and a request concurrent processing device, and a server. The method comprises the following steps of: when request data packets of one or more clients are received, generating corresponding client numbers according to sockets in each request data packet; generating an information table of each client, wherein the information table is associated with the client number of the client and used for recording protocol information communicating with the client; and analyzing the request data packet of each client, and correspondingly processing service data according to the information table which is associated with the client number of the client. All clients are endowed with different client numbers according to the sockets which are carried in a service request by each client who initiates the service request, and a protocol information table which communicates with each client is established for the client, so that during concurrent processing of the service requests, different clients are distinguished, and a plurality of requests can be concurrently processed.

Description

technical field [0001] The invention belongs to the technical field of power system communication, and in particular relates to a concurrent request processing method, device and server. Background technique [0002] In the communication scheduling of the power system, for concurrent client business requests, the existing server-side usually adopts a strategy of assigning a separate thread to each requesting client, and the thread has been connected to the client and the server. It can be recycled after the communication is stopped. Therefore, in order to improve the concurrent business processing capability of the system, a large number of threads must be created between the server and the client. Usually, the utilization rate of a large number of threads created in the system is extremely low, which consumes a lot of time. Limited system resources. At the same time, as the number of threads increases, the behavior of switching between different threads also increases the C...

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): H04L29/08
Inventor 马建春
Owner 航天欧华信息技术有限公司
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