Method and device for task processing

A task processing and task technology, applied in the field of data processing, can solve problems such as large database load and high database processing performance requirements, and achieve the effect of reducing performance requirements and load.

A task processing and task technology, applied in the field of data processing, can solve problems such as large database load and high database processing performance requirements, and achieve the effect of reducing performance requirements and load.

CN107102901AActive Publication Date: 2017-08-29HUAWEI TECH CO LTD

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for task processing
  • Method and device for task processing
  • Method and device for task processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The embodiment of the present invention provides a method and device for processing tasks, specifically: a process agent is set in the first host, and the tasks to be processed in the database are obtained according to the main task process set in the first host, each Each task processing process acquires pending tasks from the process agent, so as to process the acquired pending tasks. Compared with multiple task processing processes directly obtaining pending tasks from the database in the prior art, the embodiment of the present invention does not need to consider the data consistency problem caused by multiple task processing processes accessing the database at the same time, and can reduce the load on the database. Thereby reducing the performance requirements of the database.

[0031] Such as figure 2 As shown in the figure, it is a block diagram of an architecture applicable to the task processing method provided by the embodiment of the present invention. figu...

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 device for task processing and relates to the technical field of data processing. The method and device are used to reduce loads of a database so as to reduce requirements for processing performance of the database. The method is applied to a first host; the first host is connected to the database for communication; a main task process and at least one process agent are disposed in the first host; and each process agent is used to provide a service manner outwards and applies the provided service manner to connect a task processing process for communication. The method comprises the steps that the main task process accesses the database to obtain a to-be-processed task and stores the acquired to-be-processed task in a first host; the process agent receives a first request message sent by one task processing process, and the first request message is used to request task getting; and the process agent sends a to-be-processed task stored in the first host to the task processing process, so that the task processing process can process the to-be-processed task.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a task processing method and device. Background technique [0002] In the telecom task industry, for example, customer relationship management (English full name: customer relationship management, English abbreviation: CRM) system, business analysis support system (English full name: business analysis support system, English abbreviation: BASS) or business operation support system (English abbreviation: BASS) Full name: business operation support system, English abbreviation: BOSS) and other systems, the processing of background tasks (hereinafter referred to as "tasks") is very common. [0003] At present, the frame diagram of the applicable task processing method is as follows: figure 1 shown. figure 1 The shown architecture block diagram includes a database and multiple hosts; wherein, the database is used to store tasks; each host is provided with one or mor...

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
29 Aug 2017
Publication
CN107102901A
IPC
G06F9/54
CPC
G06F9/544
Inventors
马朝辉