Task parallel processing method for electricity utilization information collection system

A technology of power consumption information and collection system, applied in the field of computer systems, can solve the problems of low task execution efficiency, poor thread utilization, influence, etc., and achieve the effect of improving execution efficiency and shortening execution time.

Active Publication Date: 2014-01-15
STATE GRID CORP OF CHINA +3
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, some information collection systems provide task parallel functions, but their parallel functions are too single, and the corresponding relationship between tasks and threads is relatively fixed, so that the utilization rate of threads will be poor, which will lead to task execution efficiency. Not high, so that data items cannot be collected and stored in a timely manner, affecting the development of time-sensitive businesses such as meter reading and electricity bills in the marketing department, and it is also accompanied by a reduction in QOS

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
  • Task parallel processing method for electricity utilization information collection system
  • Task parallel processing method for electricity utilization information collection system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention is described in detail below in conjunction with accompanying drawing:

[0030] Such as figure 1 As shown, the physical deployment model of the present invention includes a task execution library, a business library, a task scheduling thread (management thread), a collection thread, a data cache area, and a batch storage thread.

[0031] The task queue in the task execution library is used to store m tasks to be executed. Each collection communication unit 1A and 1B task scheduling thread is used to start or suspend 300 collection threads managed by it. The task scheduling thread starts the collection thread and sends it to the task queue According to the different types of n terminals connected by the collection thread, the task is decomposed into several subtasks, and the task processing is executed in parallel. And the collected data are respectively stored in the data cache area according to the divided areas, and the batch storage threads in ...

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 task parallel processing method for an electricity utilization information collection system. Distributed collection communication units are established, parallel collection threads of the collection communication units are correspondingly distributed on terminals of various cities to execute collection tasks, and collected tasks are decomposed according to different types of the terminals; operating states of all the collection threads of current collection communication units are inquired through management of the threads, and when vacant collection threads exist, tasks needing to be executed in a task queue are fetched; parallel processing is carried out on the collection tasks of the cities; data items collected through multiple collection threads are stored at the same time, and the threads are partitioned through a data caching area and are simultaneously read and written. Through the distributed parallel processing method, timeliness of task data of different users is guaranteed, and execution efficiency of the collection system is improved.

Description

[0001] technical field [0002] The invention relates to a task parallel processing method of an electricity consumption information collection system, which belongs to the technical field of computer systems. Background technique [0003] The parallel mechanism is an important part of the electricity consumption information collection system platform, which enables the delivery of different user tasks and the collection and storage of data items to be executed quickly and efficiently. [0004] In order to meet the task requirements of a large number of different users' electricity consumption information, the parallel system should have considerable availability and adaptability. Not only need to provide normal task scheduling, but also need to provide task division; in addition, in order to meet higher execution efficiency, the parallel system also needs to have certain self-adaptive functions. [0005] At present, some information collection systems provide task parallel...

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): G06F17/30
CPCG06F16/25
Inventor 黄奇峰郑海雁范洁熊政李新家陈霄周玉喻伟王红星陈刚易永仙
Owner STATE GRID CORP OF CHINA
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