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

Electricity consumption data acquisition and pre-processing method and system

A pre-data processing and power consumption information technology, applied in the field of data processing, can solve problems such as high concurrency and congestion, and achieve the effect of solving high concurrency and congestion

Active Publication Date: 2014-12-24
STATE GRID CORP OF CHINA +3
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The present invention aims at the access "bottleneck" problem of mass metering terminals such as smart meters based on IP endpoints, improves the frame module of the acquisition system, and proposes a method for mass data access of electricity consumption information, which solves the problem of ultra-large-scale connection High concurrency and congestion problems

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
  • Electricity consumption data acquisition and pre-processing method and system
  • Electricity consumption data acquisition and pre-processing method and system
  • Electricity consumption data acquisition and pre-processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0064] The specific steps of a method for pre-data processing of electricity consumption information collection are as follows:

[0065] (1) Establish a certain number of threads on the front-end server and manage them uniformly by the thread pool;

[0066] (2) When the client connects, the main thread establishes communication for this connection and adds the client to the epoll monitoring event;

[0067] (3) When epoll detects that a certain connection has a readable event, it notifies the receiving thread to read the data, and judges whether the length of the data receiving linked list reaches the maximum value, if not, inserts the read data into the linked list; otherwise, reads The received data is cached in the form of local files and waits for the file operation thread to process the local files;

[0068] (4) The data processing thread continuously takes out data from the data receiving linked list for analysis and processing; when there is a downlink data command, the...

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 relates to an electricity consumption data acquisition and pre-processing method and system. The method includes: 1, creating a file description through an epoll_create () function, and setting a number of socket descriptors to be managed; 2, creating a receiving thread related to epoll; 3, creating a listening socket descriptor listenSock, setting a non-blocking mode, and calling a Listen () function to listen to new connection requests on sockets; 4, in case of a new connection request occurring, calling an accept () function, adding a client socket descriptor to an epoll_data union, setting the client socket descriptor in the non-blocking mode, setting the type of an event to be processed in an epoll_event structure in read and write modes; 5, if the client socket descriptor has data available for reading, adding the client socket descriptor to a readable queue, informing the receiving thread of reading data, adding the received data into a linked list of received data, and adding a fed-back data packet into the linked list of received data to be transmitted by a transmitting thread.

Description

technical field [0001] The invention relates to a data processing method and system, in particular to a method and system for pre-data processing of electricity information collection. Background technique [0002] People refer to the intelligence of (smart power grids) grid as "grid 2.0", and summarize it as the application of sensing and measurement technology, equipment technology, control method and decision support system based on integrated, high-speed two-way communication network To achieve the purpose of reliability, security, economy, high efficiency, environmental friendliness and safe use of the power grid. The main features include self-healing, incentives and inclusion of users, resistance to attacks, provision of power quality that meets the needs of users in the 21st century, and access to different forms of power generation. Enable efficient and optimized operation of electricity markets and assets. [0003] With the further development of intelligent power...

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): H04L29/06H04L29/08
Inventor 栾文鹏周逢权徐大青张展国
Owner STATE GRID CORP OF CHINA
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