Parallel processing method and device for complex tasks

A technology for parallel processing and complex tasks, applied in the computer field, it can solve the problems of reduced response speed, reduced request processing capability, slow processing, etc., to reduce the response time, improve the efficiency of resource use, and improve the response speed.

Active Publication Date: 2013-04-03
JUHAOKAN TECH CO LTD
View PDF4 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, in the implementation of the Client/Server mode in the prior art, there are not many implementation methods for the processing mechanism of a single request. Usually, a single request is serially processed and a layered mode is used for processing. Load balancing, using caching technology to improve access speed
And if the synchronous method cannot meet the processing within a limited time, a complex asynchronous processing mode will be used
Therefore, for complex request processing, if the client/server mode adopts the synchronous mode, it will cause the problem of slow processing, resulting in poor user experience
Moreover, if the corresponding processing cannot be completed withi

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
  • Parallel processing method and device for complex tasks
  • Parallel processing method and device for complex tasks
  • Parallel processing method and device for complex tasks

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0082] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0083] figure 1 It is a schematic flowchart of a parallel processing method for complex tasks in an embodiment of the present invention.

[0084] like figure 1 As shown, the parallel processing method for complex tasks in this embodiment includes the following steps:

[0085] Step 101, decompose the received client request into multiple subtasks without dependencies.

[0086] When a client needs to request a certain service of the server, the client will send a client request corresponding to the required service to the server. Wherein, the client request may include various parameters of required services.

[0087] Therefore, in the technical solution of the present invention, a request processing unit (Accept Unit) can be set in the server to rece...

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 parallel processing method and a parallel processing device for complex tasks. The method comprises the following steps that: a request processing unit decomposes a received client request into a plurality of independent subtasks, and sends each subtask to an independent unit for processing; the request processing unit receives a successful processing result or a failed processing result returned by each working unit; when successful processing results of all subtasks are received within a predetermined period of time, the request processing unit combines all successful processing results and sends to a corresponding client; and when the successful processing result of at least one subtask is not returned in a predetermined period of time, the request processing unit interrupts processing of all non-completed subtasks, and performs roll returning operation on subtasks required to be rolled back. Due to the adoption of the parallel processing method and the parallel processing device, the response speed of a single unit request can be increased effectively, response time is shortened, and the resource utilization efficiency of a server side is increased.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a parallel processing method and device for complex tasks. Background technique [0002] In existing software systems, the client (Client) / server (Server) mode is widely used. In this mode, the client generally submits the request, and then the client waits for the server to return the result; after receiving the client's request, the server performs corresponding processing according to the request, and then returns the processing result to the client. Since a Server can generally connect to multiple Clients, the Server side is usually designed to handle multiple concurrent requests at the same time, and all requests arriving at the same time can be processed in parallel without interfering with each other; and in many key important applications, The client also has certain requirements for the response time of the request. [0003] With the increase in the complexity of var...

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): G06F9/38G06F9/40
Inventor 纪震寰
Owner JUHAOKAN 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