Movatterモバイル変換


[0]ホーム

URL:


CN102034343A - Data reporting method of power utilization information acquisition terminal based on random value - Google Patents

Data reporting method of power utilization information acquisition terminal based on random value
Download PDF

Info

Publication number
CN102034343A
CN102034343ACN 200910307972CN200910307972ACN102034343ACN 102034343 ACN102034343 ACN 102034343ACN 200910307972CN200910307972CN 200910307972CN 200910307972 ACN200910307972 ACN 200910307972ACN 102034343 ACN102034343 ACN 102034343A
Authority
CN
China
Prior art keywords
task
data
terminal
module
main website
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200910307972
Other languages
Chinese (zh)
Other versions
CN102034343B (en
Inventor
涂莹
王伟峰
宣玉华
王中原
唐健毅
贺燕
张炜靓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Electric Power Co
State Grid Corp of China SGCC
Original Assignee
Zhejiang Electric Power Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Electric Power CofiledCriticalZhejiang Electric Power Co
Priority to CN 200910307972priorityCriticalpatent/CN102034343B/en
Publication of CN102034343ApublicationCriticalpatent/CN102034343A/en
Application grantedgrantedCritical
Publication of CN102034343BpublicationCriticalpatent/CN102034343B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a data reporting method of a power utilization information acquisition terminal based on a random value, relating to the field of communication of power systems. The data reporting mode of the current data acquisition system can not make a compromise between the magnitude of communication flow and the distribution uniformity of the communication flow. In the invention, a master station is provided with a task setup module, wherein the task setup module sets up tasks for terminals, sets a data reporting time period for each task and randomly generates data reporting time points for each terminal in the data reporting time period. Since the task setup module randomly generates data reporting time points for each terminal in the data reporting time period of each task and the reporting time points are uniformly distributed in the reporting time period, the invention avoids the possible unexpected load caused by the active reporting of a terminal, balances the message reporting time and prevents the unexpected load from impacting the communication channel and the master station.

Description

Translated fromChinese
一种基于随机值的用电信息采集终端数据上送方法A random value-based method for sending data to a power consumption information collection terminal

【技术领域】【Technical field】

本发明涉及电力系统通信领域,尤指一种基于随机值的用电信息采集终端数据上送方法。The invention relates to the field of power system communication, in particular to a random value-based method for sending data to a power consumption information collection terminal.

【背景技术】【Background technique】

数据采集系统的数据上送方式大体上分两种方法:There are generally two ways to send data to the data acquisition system:

1、主站轮询方式。这种方式下,主站循环对各终端进行召测。单线程时,一般不会产生通道或者主机处理能力的瓶颈;多线程时,可以根据通道容量或者主机处理能力决定线程数,一般也不会出现不可控的情况。但存在的不足是,每次数据上送之前都要下发一次命令,大大增加了通信流量。1. The polling method of the master station. In this way, the master station calls and tests each terminal in a loop. When single-threaded, there will generally not be a bottleneck in the processing capacity of the channel or the host; when multi-threaded, the number of threads can be determined according to the capacity of the channel or the processing capacity of the host, and generally there will be no uncontrollable situation. However, the disadvantage is that a command must be issued before each data upload, which greatly increases the communication traffic.

2、终端主动上送方式。这种方式下,通讯流量大大减少,但通常固定时间的数据上送将带来突发性的负载,带来通信通道和通信处理设备的巨大压力。2. The terminal actively uploads the method. In this way, the communication traffic is greatly reduced, but usually the fixed-time data upload will bring sudden loads, which will bring huge pressure on the communication channels and communication processing equipment.

为了解决终端主动上送可能带来的突发性负载,可以考虑采取分组的方式,每一组规定一个数据上送时间。但是这种方式需要将终端分成相当多的组并且手工配置上送时间才能得到大致的均衡上送,而且在终端增加时,很难做到动态的调整。In order to solve the sudden load that may be caused by the active uploading of the terminal, the grouping method can be considered, and each group specifies a data sending time. However, in this way, it is necessary to divide the terminals into quite a few groups and manually configure the sending time to obtain roughly balanced sending, and it is difficult to make dynamic adjustments when the number of terminals increases.

【发明内容】【Content of invention】

本发明要解决的技术问题和提出的技术任务是对现有技术方案进行完善与改进,提供一种基于随机值的用电信息采集终端数据上送方法,使主站系统自动实现终端主动上送在时间上的负载均衡。为此,本发明采取以下技术方案:The technical problem to be solved and the technical task proposed by the present invention are to improve and improve the existing technical solutions, and to provide a random value-based power consumption information collection terminal data upload method, so that the main station system can automatically realize the active terminal data transmission. Load balancing over time. For this reason, the present invention takes the following technical solutions:

一种基于随机值的用电信息采集终端数据上送方法,其特征在于:主站设任务制定模块,所述的任务制定模块为终端制定任务、设定每个任务的数据上送时间段并在上送时间段内随机生成每一终端的数据上送时间点。任务制定模块在每一任务数据的上送时间段中随机生成每一终端的上送时间点,上送时间点在上送时间段中均匀分布,解决终端主动上送可能带来的突发性负载,实现了上送报文在时间上的均衡,避免突发性负载对通信通道和主站的冲击。A random value-based method for uploading terminal data for electricity consumption information collection, characterized in that: the master station is provided with a task formulation module, and the task formulation module is for the terminal to formulate tasks, set the time period for data uploading of each task, and The data upload time point of each terminal is randomly generated within the upload time period. The task formulation module randomly generates the uploading time points of each terminal in the uploading time period of each task data, and the uploading time points are evenly distributed in the uploading time period, so as to solve the suddenness that may be caused by the active uploading of the terminal The load realizes the time balance of the sent message and avoids the impact of sudden load on the communication channel and the master station.

作为对上述技术方案的进一步完善和补充,本发明还包括以下附加技术特征:As a further improvement and supplement to the above technical solution, the present invention also includes the following additional technical features:

在任务制定模块制定任务前,需根据通道带宽和主站处理能力来确定每秒钟最大处理的报文数量,在此基础之上,根据终端数量计算处理所有终端对应于每一任务的报文所需的最短时间;任务制定模块根据任务数量及每一任务数据处理的最短时间确定对应任务数据的允许上送的时间范围。每一类终端任务数据上送时间范围在业务允许的时间范围内,按照不少于最短时间的要求确定,终端上送任务数据的时间段大于或等于处理该任务数据的最短时间。由于在一任务的时间段内,数据上送时间点随机分布,故可避免网络和服务器的冲击。Before the task formulation module formulates tasks, it is necessary to determine the maximum number of messages processed per second according to the channel bandwidth and the processing capacity of the master station. On this basis, calculate and process the messages corresponding to each task of all terminals according to the number of terminals The shortest time required; the task formulation module determines the allowable time range for uploading corresponding task data according to the number of tasks and the shortest time for data processing of each task. The time range for uploading task data of each type of terminal is within the time range allowed by the business, determined according to the requirement of not less than the shortest time, and the time period for the terminal to send task data is greater than or equal to the shortest time for processing the task data. Since the time points of data uploading are randomly distributed within the time period of a task, the impact on the network and server can be avoided.

主站的任务制定模块通过主站的通讯模块将任务下达给每一个终端,终端的通讯模块收到任务后,通知一设于终端的任务调度模块,任务调度模块在任务规定的上送时间段内通过终端通讯模块将任务数据上送给主站的通讯模块,主站的通讯模块将任务数据交于一设于主站的任务数据解析处理模块进行解析处理。The task formulation module of the master station sends tasks to each terminal through the communication module of the master station. After the communication module of the terminal receives the task, it notifies a task scheduling module located in the terminal. The task data is sent to the communication module of the master station through the terminal communication module, and the communication module of the master station submits the task data to a task data analysis and processing module located in the master station for analysis and processing.

主站的任务制定模块下达的每项任务包含数据上送基准时间、上送时间间隔以及数据内容。Each task issued by the task formulation module of the master station includes the reference time for data upload, the upload time interval and the data content.

有益效果:在主动上送方式通讯的大型用电信息采集系统中,实现了上行报文在时间上的均衡,避免突发性负载对网络和服务器的冲击。Beneficial effects: in the large-scale power consumption information collection system that communicates in the active uploading mode, the time balance of the uplink message is realized, and the impact of sudden load on the network and the server is avoided.

【附图说明】【Description of drawings】

图1是本发明结构原理图。Fig. 1 is a structural schematic diagram of the present invention.

图2是本发明流程图。Fig. 2 is a flowchart of the present invention.

【具体实施方式】【Detailed ways】

以下结合说明书附图对本发明的技术方案做进一步的详细说明。The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings.

如图1所示,本发明所涉及主站、终端及两者之间的通讯,主站的任务制定模块通过主站的通讯模块将任务下达给每一个终端的通讯模块,所述终端通讯模块收到任务后,通知一设于终端的任务调度模块,任务调度模块在任务规定的上送时间段内通过终端通讯模块将任务数据上送给主站的通讯模块,主站的通讯模块将任务数据交于一设于主站的任务数据解析处理模块解析处理。As shown in Figure 1, the master station, the terminal and the communication between the two involved in the present invention, the task formulation module of the master station assigns the task to the communication module of each terminal through the communication module of the master station, and the terminal communication module After receiving the task, notify a task scheduling module located in the terminal, and the task scheduling module will send the task data to the communication module of the master station through the terminal communication module within the time period specified in the task, and the communication module of the master station will send the task The data is analyzed and processed by a task data analysis and processing module located at the master station.

如图2所示,本发明包括以下步骤:As shown in Figure 2, the present invention comprises the following steps:

1)根据通道带宽和主站处理能力来确定每秒钟最大处理的报文数量;1) Determine the maximum number of messages processed per second according to the channel bandwidth and the processing capacity of the master station;

2)根据终端数量计算处理所有终端对应于每一任务的报文所需的最短时间;2) Calculate the minimum time required to process the messages of all terminals corresponding to each task according to the number of terminals;

3)根据任务数量及每一任务数据处理的最短时间计算对应任务数据的允许上送的时间范围;3) Calculate the allowable upload time range of corresponding task data according to the number of tasks and the shortest time for data processing of each task;

4)任务制定模块为每一个终端制定任务、设定每一个终端每个任务的数据上送时间段,并在该上送时间段内随机生成各终端的数据上送时间点。4) The task formulation module formulates a task for each terminal, sets a data upload time period for each task of each terminal, and randomly generates data upload time points for each terminal within the upload time period.

5)任务制模块通过主站通讯模块将任务分发给每一个终端的任务调度模块。5) The task system module distributes tasks to the task scheduling module of each terminal through the communication module of the master station.

6)任务调度模块将终端数据采集模块的数据在任务规定的上送时间段内的任一时间点随机通过终端通讯模块将任务数据上送给主站的通讯模块。6) The task scheduling module sends the data of the terminal data acquisition module to the communication module of the master station randomly through the terminal communication module at any time point within the uploading time period specified in the task.

主站的任务制定模块下达的每项任务包含数据上送基准时间、上送时间间隔以及数据内容。Each task issued by the task formulation module of the master station includes the reference time for data upload, the upload time interval and the data content.

如:当有两个不同任务时:For example: when there are two different tasks:

1、首先,按照业务的特点,人工确定零点电量数据在每天0点15分到1点之间上送,每小时的负荷数据在整点后的0分到15分钟上送。零点电量任务的数据内容包括正向有功总、峰、谷和最大需量,小时负荷任务的数据内容包括有功功率、无功功率、三相电流、三相电压。当一个终端需要配置多个任务时,每一类任务的上送时间范围需要综合考虑负载均衡。例如,一个20万台终端的用电信息采集系统,需要配置两个任务:每天一次上送零点电量数据、每小时一次采集整点负荷数据。假设零点抄表数据在每天0:00-0:15上送,整点负荷数据在每个小时的0分-10分上送,那么,按照随机的概率分布,在每个小时的0-10分,每秒钟有333条整点负荷报文上送;而在0:00-0:15,则每秒钟有222条零点电量报文上送,因而在0:00-0:10,每秒钟有555条报文上送。如果将零点负荷任务错开,安排在0:10-0:25上送,则0:00-0:10期间,仍然保持每秒333条报文。1. First, according to the characteristics of the business, it is manually determined that the zero-point power data is sent between 0:15 and 1:00 every day, and the hourly load data is sent between 0 and 15 minutes after the hour. The data content of the zero-point power task includes the total forward active power, peak, valley and maximum demand, and the data content of the hourly load task includes active power, reactive power, three-phase current, and three-phase voltage. When a terminal needs to configure multiple tasks, the upload time range of each type of task needs to consider load balancing comprehensively. For example, a power consumption information collection system with 200,000 terminals needs to be configured with two tasks: sending zero-point electricity data once a day and collecting hourly load data once an hour. Assuming that the zero-point meter reading data is sent at 0:00-0:15 every day, and the hourly load data is sent at 0-10 minutes per hour, then, according to the random probability distribution, at 0-10 minutes per hour At 0:00-0:15, there are 222 zero-point load messages sent per second, so at 0:00-0:10, 555 packets are sent every second. If the zero-point load task is staggered and scheduled to be sent at 0:10-0:25, then 333 messages per second will still be maintained during 0:00-0:10.

2、其次,主站给终端下发设置命令,并在每次设置时,主站自动按照上述要求随机生成上送基准时间,即零点电量数据任务为900秒~3600秒之间的随机值,小时负荷数据任务为0秒~900秒之间的随机值,上送间隔时间分别为1天和1小时。2. Secondly, the master station sends a setting command to the terminal, and every time it is set, the master station automatically generates a random reference time for uploading according to the above requirements, that is, the zero-point power data task is a random value between 900 seconds and 3600 seconds, The hourly load data task is a random value between 0 seconds and 900 seconds, and the upload intervals are 1 day and 1 hour respectively.

3、最终,每一终端各自按照主站设定的时间上送任务数据。当终端数量达到一定规模后,通过步骤2确定的时间,可以实现同一任务在规定时间段的数据均衡上送;按照步骤1,合理确定各任务的上送时间范围可以实现不同任务之间数据的均衡上送。3. Finally, each terminal sends task data according to the time set by the master station. When the number of terminals reaches a certain scale, through the time determined in step 2, the balanced data uploading of the same task in the specified time period can be realized; according to step 1, the reasonable determination of the uploading time range of each task can realize the data sharing between different tasks Balanced upload.

以上图1、2所示的一种基于随机值的用电信息采集终端数据上送方法是本发明的具体实施例,已经体现出本发明实质性特点和进步,可根据实际的使用需要,在本发明的启示下,对其进行形状、结构等方面的等同修改,均在本方案的保护范围之列。The above random value-based power consumption information collection terminal data sending method shown in Figures 1 and 2 is a specific embodiment of the present invention, which has already reflected the substantive features and progress of the present invention, and can be used according to actual needs. Under the enlightenment of the present invention, equivalent modifications to it in terms of shape, structure, etc., all fall within the scope of protection of this proposal.

Claims (4)

CN 2009103079722009-09-292009-09-29Data reporting method of power utilization information acquisition terminal based on random valueActiveCN102034343B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN 200910307972CN102034343B (en)2009-09-292009-09-29Data reporting method of power utilization information acquisition terminal based on random value

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN 200910307972CN102034343B (en)2009-09-292009-09-29Data reporting method of power utilization information acquisition terminal based on random value

Publications (2)

Publication NumberPublication Date
CN102034343Atrue CN102034343A (en)2011-04-27
CN102034343B CN102034343B (en)2013-05-01

Family

ID=43887182

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN 200910307972ActiveCN102034343B (en)2009-09-292009-09-29Data reporting method of power utilization information acquisition terminal based on random value

Country Status (1)

CountryLink
CN (1)CN102034343B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104716393A (en)*2013-12-172015-06-17北汽福田汽车股份有限公司Battery parameter acquisition control method, device and battery management system
CN104979909A (en)*2015-06-302015-10-14广东电网有限责任公司电力调度控制中心Power distribution and utilization service collection system and method
CN105118280A (en)*2015-08-252015-12-02国网北京市电力公司Method, device and system for reporting data
CN110138828A (en)*2019-04-082019-08-16青岛民航凯亚系统集成有限公司Airport dynamic terminal real time data inspecting processing method
CN112379986A (en)*2020-11-162021-02-19北京字跳网络技术有限公司Task processing method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101118655A (en)*2007-07-312008-02-06惠州市新天健服装有限公司Data acquisition based on radio frequency card and processing equipment, and method thereof
CN101415011B (en)*2008-10-312011-11-23北京工业大学 A Safe and Effective Data Aggregation Method in Wireless Sensor Networks

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104716393A (en)*2013-12-172015-06-17北汽福田汽车股份有限公司Battery parameter acquisition control method, device and battery management system
CN104979909A (en)*2015-06-302015-10-14广东电网有限责任公司电力调度控制中心Power distribution and utilization service collection system and method
CN105118280A (en)*2015-08-252015-12-02国网北京市电力公司Method, device and system for reporting data
CN110138828A (en)*2019-04-082019-08-16青岛民航凯亚系统集成有限公司Airport dynamic terminal real time data inspecting processing method
CN112379986A (en)*2020-11-162021-02-19北京字跳网络技术有限公司Task processing method and device and electronic equipment
CN112379986B (en)*2020-11-162023-12-12北京字跳网络技术有限公司Task processing method and device and electronic equipment

Also Published As

Publication numberPublication date
CN102034343B (en)2013-05-01

Similar Documents

PublicationPublication DateTitle
CN101547150B (en)method and device for scheduling data communication input port
CN105119769B (en)It is a kind of that the system for carrying out time hash is reported to periodic data
CN102034343B (en)Data reporting method of power utilization information acquisition terminal based on random value
CN101252602B (en)System and method for downloading and distributing files
CN109639470B (en)VSAT satellite communication system bandwidth allocation method based on star networking
CN103533081B (en)A kind of charge system and its implementation based on cloud computing
CN104540234B (en)A kind of associated task scheduling mechanism synchronously constrained based on CoMP under C RAN frameworks
CN105847139A (en)Data transmission method, apparatus and system
CN109614228B (en)Comprehensive monitoring front-end system based on dynamic load balancing mode and working method
CN104935622A (en)Method used for message distribution and consumption and apparatus thereof, and system used for message processing
CN103685461A (en)Cluster management device, system and method
CN105049531A (en)Message pushing system and method
CN104301241B (en)A kind of SOA dynamic load distributing methods and system
CN103138293A (en)Optimal distribution method and system for heat-engine plant plant-level loads
CN114585093A (en)Method, device and equipment for sending service data
CN110969829B (en) A method of power failure data sharing based on cloud platform computing and message bus technology
CN105471107A (en)Time-sharing task collection method for power grid electric energy measuring system
CN102299937A (en)Method and system for distributing clock server based on network
CN102724121A (en)Distributed network data transmission method for LAN
CN106612310A (en)A server scheduling method, apparatus and system
CN103078806A (en)Load balance scheduling algorithm based on quota (Q) value method
CN110381134B (en)Scheduling method, system, scheduler and CDN system
CN102025609A (en)Packet message-based load balancing distribution system and method thereof
CN105792223B (en)A kind of method and apparatus distributing frequency spectrum
CN105451357B (en)A kind of ticket dispatching method and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
ASSSuccession or assignment of patent right

Owner name:STATE GRID CORPORATION OF CHINA

Effective date:20121231

C41Transfer of patent application or patent right or utility model
TA01Transfer of patent application right

Effective date of registration:20121231

Address after:310007 Huanglong Road, Hangzhou, Zhejiang, No. 8, No.

Applicant after:Zhejiang Electric Power Company

Applicant after:State Grid Corporation of China

Address before:310007 Huanglong Road, Hangzhou, Zhejiang, No. 8, No.

Applicant before:Zhejiang Electric Power Company

C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp