CN111798655A - A minute-level collection method of operation data suitable for power Internet of things station area - Google Patents

A minute-level collection method of operation data suitable for power Internet of things station area Download PDF

Info

Publication number
CN111798655A
CN111798655A CN202010474131.9A CN202010474131A CN111798655A CN 111798655 A CN111798655 A CN 111798655A CN 202010474131 A CN202010474131 A CN 202010474131A CN 111798655 A CN111798655 A CN 111798655A
Authority
CN
China
Prior art keywords
acquisition
task
level
data
collection
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
CN202010474131.9A
Other languages
Chinese (zh)
Other versions
CN111798655B (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.)
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
NARI Information and Communication Technology Co
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
NARI Information and Communication Technology Co
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
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 State Grid Jiangsu Electric Power Co Ltd, NARI Group Corp, NARI Information and Communication Technology Co, Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Jiangsu Electric Power Co Ltd
Priority to CN202010474131.9A priority Critical patent/CN111798655B/en
Publication of CN111798655A publication Critical patent/CN111798655A/en
Application granted granted Critical
Publication of CN111798655B publication Critical patent/CN111798655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G—PHYSICS
    • G08—SIGNALLING
    • G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00—Electric signal transmission systems
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00—Network arrangements or protocols for supporting network services or applications
    • H04L67/01—Protocols
    • H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种适用于电力物联网台区的运行数据分钟级采集方法,智能终端实时采集台区中运行数据,多个采集层级依次通过通信通道相串联,最下层采集层级通过通信通道与智能终端相连接,最上层采集层级通过通信通道与主站系统相连接。本发明在统筹考虑用电数据采集系统和配电自动化系统对电表运行数据需求基础上,并在遵循现有数据采集与传输过程中依据的相关标准的前提下,结合电力物联网基本架构设计,实现对电力物联网台区的电表、关口表、用户表、表箱监测装置等不同业务智能终端设备数据的统一采集、按需使用。

Figure 202010474131

The invention discloses a minute-level collection method of operation data suitable for a power Internet of Things station area. An intelligent terminal collects the operation data in the station area in real time. The intelligent terminal is connected, and the uppermost acquisition level is connected with the master station system through the communication channel. The present invention is based on the overall consideration of the power consumption data acquisition system and the distribution automation system's demand for the operation data of the electric meter, and on the premise of following the relevant standards based on the existing data acquisition and transmission process, combined with the basic structure design of the power Internet of Things, Realize the unified collection and on-demand use of data from different business intelligent terminal equipment such as electricity meters, gateway meters, user meters, and meter box monitoring devices in the power Internet of Things station area.

Figure 202010474131

Description

一种适用于电力物联网台区的运行数据分钟级采集方法A minute-level collection method of operation data suitable for power Internet of things station area

技术领域technical field

本发明涉及一种适用于电力物联网台区的运行数据分钟级采集方法,属于电力物联网信息处理技术领域。The invention relates to a minute-level collection method of operation data suitable for a power internet of things station area, and belongs to the technical field of information processing of the power internet of things.

背景技术Background technique

目前,电力物联网台区的数据采集主要包括归属于电力营销部门的用电数据采集系统和归属于电力运检部门的配电自动化系统。这两大系统分别建设、独立运行,依据各自专业应用的需求不同,采集的数据内容与采集频度既有重叠又有差异,这就导致存在前端采集装置种类繁复、部分功能重叠、已建通信资源利用率低等问题。At present, the data collection in the power Internet of Things station area mainly includes the power consumption data collection system belonging to the power marketing department and the distribution automation system belonging to the power inspection department. These two systems are built and run independently. According to the different needs of their respective professional applications, the collected data content and collection frequency both overlap and differ, which leads to the existence of complex types of front-end collection devices, overlapping functions, and established communications. Problems such as low resource utilization.

随着电力物联网建设的推进,国网公司提出打破专业壁垒,实现运行数据统一采集、按需使用,提高装置利用率的要求。为此,各省(市、自治区)电力公司在国网公司电力物联网整体架构基础上,积极开展以物联边缘代理为依托,统一采集终端设备运行数据,并按需为不同后台业务系统提供数据的边端数据采集子系统。With the advancement of the construction of the Internet of Things in electric power, State Grid Corporation proposed to break the professional barriers, realize the unified collection of operation data, use it on demand, and improve the utilization rate of equipment. To this end, on the basis of the overall architecture of the State Grid Corporation of China's power Internet of Things, power companies in all provinces (municipalities and autonomous regions) actively carry out unified collection of terminal equipment operation data based on the Internet of Things edge agent, and provide data for different background business systems as needed. The edge data acquisition subsystem.

为了统筹考虑用电数据采集系统和配电自动化系统对电表运行数据的需求,本领域技术人员急需要研发出实现对电力物联网台区的电表、关口表、用户表、表箱监测装置等不同业务智能终端设备数据的统一采集、按需使用的技术方案。In order to take into account the needs of the electricity data acquisition system and the distribution automation system for the operation data of the electricity meter, it is urgent for those skilled in the art to develop different types of electricity meters, gateway meters, user meters, and meter box monitoring devices for the power Internet of Things station area. A technical solution for unified collection and on-demand use of business intelligence terminal equipment data.

发明内容SUMMARY OF THE INVENTION

目的:为了克服现有技术中存在的不足,在统筹考虑用电数据采集系统和配电自动化系统对电表运行数据需求基础上,并在遵循现有数据采集与传输过程中依据的相关标准的前提下,结合电力物联网基本架构设计,提供一种适用于电力物联网台区的运行数据分钟级采集方法,实现对电力物联网台区的电表、关口表、用户表、表箱监测装置等不同业务智能终端设备数据的统一采集、按需使用。Purpose: In order to overcome the deficiencies in the existing technology, based on the overall consideration of the data requirements of the power consumption data acquisition system and the distribution automation system for the operation data of the electric meter, and on the premise of following the relevant standards based on the existing data acquisition and transmission process Based on the basic architecture design of the power Internet of things, a method for collecting operation data in minutes suitable for the power Internet of things station area is provided, so as to realize different monitoring devices such as electricity meters, gateway meters, user meters, and meter box monitoring devices in the power Internet of things station area. Unified collection and on-demand use of business intelligence terminal equipment data.

技术方案:为解决上述技术问题,本发明采用的技术方案为:Technical scheme: in order to solve the above-mentioned technical problems, the technical scheme adopted in the present invention is:

一种适用于电力物联网台区的运行数据分钟级运行数据的采集方法,包括如下步骤:A method for collecting minute-level operation data of operation data applicable to a power Internet of Things station area, comprising the following steps:

智能终端实时采集台区中运行数据,并存储在智能终端的存储器中;The intelligent terminal collects the running data in the station area in real time and stores it in the memory of the intelligent terminal;

多个采集层级依次通过通信通道相串联;Multiple acquisition levels are connected in series through communication channels in sequence;

最下层采集层级通过通信通道与智能终端相连接,最上层采集层级通过通信通道与主站系统相连接;The lowermost acquisition level is connected with the intelligent terminal through the communication channel, and the uppermost acquisition level is connected with the master station system through the communication channel;

每个采集层级按不同业务应用需求、不同采集周期对运行数据进行采集,并存储在各自采集层的存储器中;Each collection level collects the operating data according to different business application requirements and different collection periods, and stores it in the memory of its own collection layer;

主站系统根据不同业务应用需求,向相应的采集层发出运行数据上传请求,相应采集层将存储器中的运行数据逐层上传至主站系统供业务应用统一调用。According to different business application requirements, the master station system sends an operation data upload request to the corresponding collection layer, and the corresponding collection layer uploads the operation data in the memory layer by layer to the master station system for unified call by the business application.

作为优选方案:所述采集层级均设置有周期采集任务系统,所述周期采集任务系统包括如下模块:As a preferred solution: the collection levels are all provided with a periodic collection task system, and the periodic collection task system includes the following modules:

对上通信模块:用于接收上级采集层级发送来的数据报文,并分别将配置请求报文和采集任务请求报文发送给配置管理模块和上级采集请求处理模块,接收配置管理模块和上级采集请求处理模块返回的响应报文,将响应报文发送给上级采集层级。Upper communication module: It is used to receive the data message sent by the upper-level collection level, and send the configuration request message and collection task request message to the configuration management module and the upper-level collection request processing module respectively, and receive the configuration management module and the upper-level collection. The response message returned by the request processing module is sent to the upper-level collection level.

配置管理模块:用于接收对上通信模块发送来的配置请求报文,通过解析配置请求报文,在内存中生成配置信息复本,并生成本地配置文件,然后根据配置请求报文的处理结果,生成配置请求响应报文,提交给对上通信模块,由对上通信模块发送给上级采集层级。当本地程序重启时,通过读取本地配置文件,在内存中生成配置信息复本。当接收到配置请求报文时,应判断配置信息是否发生变更,若有变更,则通知任务引擎模块,重新生成周期采集任务模板集。Configuration management module: used to receive the configuration request message sent by the upstream communication module, generate a copy of the configuration information in the memory by parsing the configuration request message, and generate a local configuration file, and then process the result according to the configuration request message , generate a configuration request response message, submit it to the upper communication module, and send it to the upper-level collection level by the upper communication module. When the local program restarts, a copy of the configuration information is generated in memory by reading the local configuration file. When receiving the configuration request message, it should determine whether the configuration information has changed, and if there is a change, notify the task engine module to regenerate the periodic collection task template set.

任务引擎模块:用于实时检查本地配置文件的更新情况,依据本地配置文件生成周期采集任务模板集,以本地实时时钟生成的时间信息为基准,对照周期采集任务模板集中各任务模板,生成需要执行的采集任务,采集任务保存在任务队列中。每一个周期采集任务模板至少包括:触发采集任务的时间条件、需要采集的对象、采集任务失败补采规则、采集任务优先级定义、采集报文样板。Task engine module: It is used to check the update status of the local configuration file in real time, and generate a periodic collection task template set according to the local configuration file. Based on the time information generated by the local real-time clock, the task template in the periodic collection task template set is compared to generate the task templates that need to be executed. The collection tasks are stored in the task queue. Each periodic collection task template includes at least: the time conditions for triggering the collection task, the objects to be collected, the rules for re-collection if the collection task fails, the priority definition of the collection task, and the collection message template.

任务调度与执行模块:用于针对任务队列中的任务,依据是否是补采任务、任务优先级、任务当前执行状态,采用多维度状态机调度算法实现任务调度,选择出当前任务进行执行。对于已选择执行的当前任务,每次执行时,应根据周期采集任务模板中的采集报文样板,重新填写报文中的采集时间和校验位,以实现采集报文的快速组帧,并提交对下通信模块,由对下通信模块发送给下级采集层级;然后通过接收、分析下级采集层级的响应报文的情况,维护当前任务的执行情况。若任务正常完成,则将采集到的运行数据和对应的时间戳提交给采集数据本地存储模块,由采集数据本地存储模块保存到本地数据库中,然后将当前任务从任务队列中删除;若任务执行失败,则进入补采阶段,由任务调度与执行模块重新调度。当补采任务长期不能完成,并经计算确定所需采集的运行数据超出下级采集层级的本地运行数据存储时限,则将该任务从任务队列中删除。Task scheduling and execution module: For tasks in the task queue, based on whether it is a supplementary task, task priority, and the current execution status of the task, the multi-dimensional state machine scheduling algorithm is used to achieve task scheduling, and the current task is selected for execution. For the current task that has been selected for execution, each time it is executed, the collection time and check digit in the message should be refilled according to the collection message template in the periodic collection task template, so as to realize the rapid framing of collected messages, and Submit to the lower-level communication module, and the lower-level communication module sends it to the lower-level collection level; then, by receiving and analyzing the response message of the lower-level collection level, the execution of the current task is maintained. If the task is completed normally, the collected operation data and the corresponding timestamp will be submitted to the local storage module of the collected data, and the local storage module of the collected data will save it to the local database, and then delete the current task from the task queue; if the task is executed If it fails, it will enter the supplementary mining stage, which will be rescheduled by the task scheduling and execution module. When the supplementary acquisition task cannot be completed for a long time, and it is determined by calculation that the operation data to be collected exceeds the local operation data storage time limit of the lower collection level, the task will be deleted from the task queue.

对下通信模块:用于实现与下级采集层级的通信,接收任务调度与执行模块发送来的采集任务请求报文,并将采集任务请求报文发送给下级采集层级,接收下级采集层级返回的采集任务请求响应报文,并将响应报文返回给任务调度与执行模块。To the lower communication module: used to communicate with the lower collection level, receive the collection task request message sent by the task scheduling and execution module, send the collection task request message to the lower collection level, and receive the collection returned by the lower collection level. The task requests a response message, and returns the response message to the task scheduling and execution module.

采集数据本地存储模块:用于接收任务调度与执行模块发送来的采集数据,并按照预定的格式保存到本地数据库中;同时接收上级采集请求处理模块发送来的数据查询请求,并根据该请求组织本地数据,返回给上级采集请求处理模块。采集数据本地存储模块还负责本地已存储运行数据的维护,定期清理超期数据。Collected data local storage module: used to receive the collected data sent by the task scheduling and execution module, and save it to the local database according to a predetermined format; at the same time, receive the data query request sent by the upper-level collection request processing module, and organize according to the request. The local data is returned to the upper-level acquisition request processing module. The local storage module of the collected data is also responsible for the maintenance of the locally stored operating data, and regularly cleans up the overdue data.

上级采集请求处理模块:用于接收对上通信模块发送来的采集任务请求报文,并通过解析该请求,向采集数据本地存储模块查询本地存储的运行数据,然后依据查询结果,组织采集任务请求响应报文,提交给对上通信模块,由对上通信模块发送给上级采集层级。The upper-level collection request processing module: used to receive the collection task request message sent by the upper communication module, and by parsing the request, query the locally stored operation data from the collection data local storage module, and then organize the collection task request according to the query result. The response message is submitted to the upper communication module, and is sent to the upper collection level by the upper communication module.

作为优选方案:所述智能终端至少包括电表、关口表、用户表、表箱监测装置其中一种。As a preferred solution: the smart terminal includes at least one of an electricity meter, a gateway meter, a user meter, and a meter box monitoring device.

作为优选方案:当上层采集层级向下层采集层级发送采集任务请求报文时,下层采集层级已存在需要的运行数据。As a preferred solution: when the upper-level collection level sends a collection task request message to the lower-level collection level, the required operation data already exists at the lower-level collection level.

作为优选方案:补采任务包括如下步骤:As a preferred solution: the supplementary mining task includes the following steps:

(a)本级采集层级通过对下通信模块,向下一级采集层级发起补采任务。(a) The acquisition level at this level initiates the supplementary acquisition task to the next level acquisition level through the communication module.

(b)下一级采集层级通过上级采集请求处理模块接收上级采集层级数据补采任务,并检索自身存储器中已存储的数据,并形成请求响应;当本地存储器中无请求所需数据时,返回NULL。(b) The lower-level acquisition level receives the data supplementary acquisition task of the upper-level acquisition level through the upper-level acquisition request processing module, retrieves the data stored in its own memory, and forms a request response; when there is no data required for the request in the local memory, it returns NULL.

(c)当本级采集层级收到下一级采集层级返回的补采数据时,将获得的采集请求响应数据,存储并更新自身的存储器,并删除本次补采任务;当本级采集层级未收到下一级采集层级响应或者响应内容为NULL时,本级采集层级终止本次补采过程,但不删除本补采任务。(c) When the collection level of this level receives the supplementary collection data returned by the collection level of the next level, it will store and update the acquired data in response to the collection request, and delete this supplementary collection task; When no response is received from the next-level acquisition level or the response content is NULL, the current-level acquisition level terminates the supplementary acquisition process, but does not delete the supplementary acquisition task.

(d)本级采集层级再次发起补采任务或期限超期,本级采集层级删除本次补采任务。(d) The collection level at the same level initiates the supplementary collection task again or the deadline expires, and the collection level at the current level deletes the supplementary collection task.

作为优选方案:补采任务的发起时刻应大于正常采集任务时间+SAT。As a preferred solution: the initiation time of the supplementary collection task should be greater than the normal collection task time + SAT.

作为优选方案:SAT设置为60秒。As a preferred option: SAT is set to 60 seconds.

作为优选方案:各采集层级时间同步精度不大于1s,下级采集层集以上级采集层集的时间为同步依据。As a preferred solution: the time synchronization accuracy of each acquisition level is not greater than 1s, and the time of the lower level acquisition level set and the upper level acquisition level set is the synchronization basis.

有益效果:本发明提供的一种适用于电力物联网台区的运行数据分钟级采集方法,其优点如下Beneficial effects: The present invention provides a minute-level collection method of operation data suitable for the power Internet of Things station area, and its advantages are as follows

1.通过将配、用电环节自动化与用电信息采集等业务系统对运行数据的采集需求汇总为一个运行数据全集,实现将现有营销、运检部门独立采集的系统软硬件功能架构优化调整为统一采集的系统架构,实现业务系统对运行数据“统一采集、按需使用”。1. By summarizing the operation data collection requirements of business systems such as distribution and power consumption link automation and power consumption information collection into a complete set of operation data, the optimization and adjustment of the system software and hardware function structure independently collected by the existing marketing and transportation inspection departments is realized. In order to unify the system architecture of collection, the business system realizes "unified collection and on-demand use" of operational data.

2.本发明提出的“分级采集”的采集方案,可以解决现场通信速率低导致单层采集周期受限的问题。2. The collection scheme of "graded collection" proposed by the present invention can solve the problem that the single-layer collection period is limited due to low on-site communication rate.

现有电力台区对电表等终端设备运行数据采集时,为提高通信可靠性,485串口通信速率一般定义为2400bits/s,这就使得完成一个台区内所有电表运行数据的采集任务需要较长的时间,难以满足分钟级采集的需求。采用分级采集后,可以将电表分组归集,以减少每一个采集节点的采集周期。When the existing power station area collects the operation data of terminal equipment such as electric meters, in order to improve the communication reliability, the communication rate of 485 serial port is generally defined as 2400bits/s, which makes it take a long time to complete the task of collecting the operation data of all electric meters in a station area. It is difficult to meet the needs of minute-level collection. After the hierarchical collection is adopted, the electricity meters can be grouped together to reduce the collection period of each collection node.

3.本发明提出的“本地存储”的采集方案,可以解决现场通信速率低导致单层采集周期受限的问题。3. The "local storage" acquisition scheme proposed by the present invention can solve the problem that the single-layer acquisition period is limited due to the low rate of on-site communication.

同时通过各采集节点将该节点负责采集的电表数据在本地保存,使得本采集节点的上级节点无需直接访问电表,减少了下级采集环节通信链路的通信负荷,使得各采集层级的通信资源能够充分承载本级采集报文的交互。At the same time, through each collection node, the meter data collected by the node is stored locally, so that the upper-level node of this collection node does not need to directly access the electricity meter, which reduces the communication load of the communication link of the lower-level collection link, so that the communication resources of each collection level can be fully It carries the interaction of the collected packets at this level.

4.本发明提出的异常处理和数据补采机制,可以实现通信中断或设备运行异常情况下的处置和数据补采。4. The abnormal processing and data supplementary acquisition mechanism proposed by the present invention can realize the disposal and data supplementary acquisition in the case of communication interruption or abnormal equipment operation.

当由于通信中断或设备运行异常导致采集数据失败时,各采集层级的采集方均可按照预定策略发起补采过程。同时,统筹考虑数据采集任务的实时性和可靠性,通过设定SAT(short Anormal Time)的方式,执行补采任务。When the data collection fails due to communication interruption or abnormal operation of the equipment, the collection party at each collection level can initiate the supplementary collection process according to the predetermined strategy. At the same time, the real-time and reliability of the data collection task are taken into consideration as a whole, and the supplementary collection task is performed by setting the SAT (short Anormal Time) method.

附图说明Description of drawings

图1为本发明的能满足分钟级采用需求的电力台区运行数据采集方案示意图。FIG. 1 is a schematic diagram of a power station area operation data collection scheme capable of meeting minute-level adoption requirements according to the present invention.

图2为本发明的电力台区运行数据分钟级采集方案部署架构示意图。FIG. 2 is a schematic diagram of the deployment architecture of the solution for minute-level collection of operation data in a power station area according to the present invention.

图3为本发明的周期采集任务系统实现逻辑示意图。FIG. 3 is a schematic diagram of the implementation logic of the periodic collection task system of the present invention.

具体实施方式Detailed ways

下面结合具体实施例对本发明作更进一步的说明。The present invention will be further described below in conjunction with specific embodiments.

实施例1:Example 1:

一种适用于电力物联网台区的运行数据分钟级采集方法,多个采集层级至少包括:集中器、采集器、边缘物联代理;其具体步骤如下:A minute-level collection method of operation data suitable for the power Internet of Things station area, the multiple collection levels at least include: a concentrator, a collector, and an edge Internet of Things agent; the specific steps are as follows:

智能终端实时采集台区中运行数据,并存储在智能终端的存储器中;智能终端包括:电表、关口表、用户表、表箱监测装置,通过自身的传感部件实现对运行数据的获取。The intelligent terminal collects the operation data in the station area in real time and stores it in the memory of the intelligent terminal; the intelligent terminal includes: electricity meter, gateway meter, user meter, meter box monitoring device, and realizes the acquisition of operation data through its own sensing components.

集中器对台区中智能终端采集的运行数据按业务应用需求、采集周期进行采集,并存储在集中器的存储器中;The concentrator collects the operation data collected by the intelligent terminals in the station area according to the business application requirements and the collection period, and stores it in the memory of the concentrator;

采集器对集中器的存储器中运行数据按业务应用需求、采集周期进行采集,并存储在采集器的存储器中;The collector collects the running data in the memory of the concentrator according to business application requirements and collection cycle, and stores it in the memory of the collector;

边缘物联代理对采集器的存储器中运行数据按业务应用需求、采集周期进行采集,并存储在边缘物联代理的存储器中;The edge IoT agent collects the running data in the memory of the collector according to business application requirements and collection cycle, and stores it in the memory of the edge IoT agent;

采集周期一般预设为:1分钟任务、15分钟任务、60分钟任务、日冻结任务、月冻结任务;各周期采集任务的优先级为:日冻结任务>月冻结任务>60分钟任务>15分钟任务>1分钟任务。The collection cycle is generally preset as: 1-minute task, 15-minute task, 60-minute task, daily frozen task, monthly frozen task; the priority of collection tasks in each cycle is: daily frozen task>monthly frozen task>60min task>15min Tasks > 1 minute tasks.

边缘物联代理、采集器和集中器的触发采集任务的时间条件应统筹考虑,确保本采集层级发、收采集报文时,下级采集层级上已存在需要的运行数据,以日冻结任务为例,各采集层级的采集时刻如下:The time conditions for triggering collection tasks of edge IoT agents, collectors, and concentrators should be considered as a whole to ensure that when the collection level sends and receives collection packets, the required operation data already exists at the lower collection level. Take the daily freeze task as an example , the collection time of each collection level is as follows:

每日0点,电表通过自身的传感部件生成运行数据,并保存在电表自身的存储器中;At 0:00 every day, the meter generates operating data through its own sensing components and saves it in the meter's own memory;

每日0点过5秒钟时,集中器对电表发起日冻结数据采集任务;After 5 seconds at 0:00 every day, the concentrator initiates the daily freeze data collection task for the meter;

每日0点过10秒钟时,采集器对集中器发起日冻结数据采集任务;After 10 seconds from 0:00 every day, the collector initiates the daily freeze data collection task to the concentrator;

每日0点过15秒钟时,物联边缘代理对采集器发起日冻结数据采集任务。Every 15 seconds after 0:00, the IoT edge agent initiates a daily freeze data collection task for the collector.

根据实际投运的集中器、采集器和物联边缘代理的本地存储资源,规划出集中器、采集器和边缘物联代理对各个周期采集任务能够支持的本地存储容量。According to the local storage resources of the concentrators, collectors and IoT edge agents actually put into operation, plan the local storage capacity that the concentrators, collectors and edge IoT agents can support for each periodic collection task.

正常采集任务失败后,任务进入补采阶段,应按照预设的策略,在预定的时刻发起补采任务,补采发起时刻应大于正常采集任务+SAT。以日周期数据采集的补采为例:After the normal collection task fails, the task enters the supplementary collection stage. According to the preset strategy, the supplementary collection task should be initiated at the predetermined time. The start time of the supplementary collection should be greater than the normal collection task + SAT. Take supplementary collection of daily periodic data collection as an example:

每日的奇数(/偶数)时0分5秒,集中器对电表发起日冻结数据补采任务;At every odd (/even) hour, 0 minutes and 5 seconds, the concentrator initiates the daily frozen data supplementary acquisition task for the meter;

每日的奇数(/偶数)时0分10秒,采集器对集中器发起日冻结数据补采任务;At every odd (/even) hour, 0 minutes and 10 seconds, the collector initiates the daily frozen data supplementary collection task to the concentrator;

每日的奇数(/偶数)时0分15秒,物联边缘代理对采集器发起日冻结数据补采任务。At every odd (/even) hour, 0 minutes and 15 seconds, the IoT edge agent initiates a daily frozen data supplementary acquisition task for the collector.

正常采集任务一般优先于补采任务。Normal collection tasks generally take precedence over supplementary collection tasks.

从电表、集中器、采集器到边缘物联代理之间各采集层级的采集任务都与时间相关,因此各采集层级必须实现一定精度的时间同步,时间同步精度应优于1s。各层级间的时间同步策略为:下级采集层集以上级采集层集的时间为同步依据。The acquisition tasks of each acquisition level from the meter, concentrator, collector to the edge IoT agent are all related to time. Therefore, each acquisition level must achieve time synchronization with a certain accuracy, and the time synchronization accuracy should be better than 1s. The time synchronization strategy between each level is as follows: the time of the lower-level collection layer set and the upper-level collection layer set is the synchronization basis.

主站系统根据不同业务应用需求,向集中器、采集器、边缘物联代理发出运行数据上传请求,对应的集中器、采集器、边缘物联代理将运行数据逐层上传至主站系统供业务应用统一调用。According to different business application requirements, the master station system sends operation data upload requests to the concentrator, collector, and edge IoT agent, and the corresponding concentrator, collector, and edge IoT agent upload the operation data to the master station system layer by layer for business. Apply unified call.

实施例2:Example 2:

如图1所示,将营销业务系统、配电业务系统对运行数据的需求汇总为一个运行数据全集,并通过对运行数据全集中不同运行数据子集设定不同采集周期,利用高频度采集周期对应运行数据子集的数据项对低频度采集周期对应的运行数据子集的相同数据项进行映射,实现不同采集层级进行不同运行数据子集的采集与存储,可实现低频度采集周期为分钟级采集粒度,营销业务系统、配电业务系统对运行数据“统一采集、按需使用”。As shown in Figure 1, the requirements of the marketing business system and the power distribution business system for operation data are summarized into a complete set of operation data, and different collection periods are set for different subsets of the operation data in the complete set of operation data. The data items of the operating data subset corresponding to the period are mapped to the same data items of the operating data subset corresponding to the low-frequency collection period, so that different collection levels can collect and store different operating data subsets, and the low-frequency collection period can be minutes. Level-level collection granularity, the marketing business system and the power distribution business system "collectively collect and use on-demand" operating data.

如图2所示,由于电力台区需要采集的对象(设备、参量)数量多、采集频度快,若采用一级采集方式由业务系统后台直接对现场智能终端如:电表、关口表、用户表、表箱监测装置等进行采集,对采集现场的通信方式在吞吐量、可靠性等性能要求较高,实际应用中无法提供低成本、高速度、高可靠的采集通信方式,因此采用多个采集层级,并按不同采集周期分别对运行数据进行采集,采用“分区覆盖、分级采集”的接入方式,实现对不同的电力台区中电表、关口表、用户表和表箱监测装置等智能终端的全覆盖。As shown in Figure 2, due to the large number of objects (equipment, parameters) that need to be collected in the power station area and the fast collection frequency, if the first-level collection method is adopted, the backend of the business system will directly collect on-site intelligent terminals such as electricity meters, gateway meters, users For the acquisition of meters, meter box monitoring devices, etc., the communication methods on the acquisition site have high performance requirements such as throughput and reliability. In practical applications, low-cost, high-speed, and high-reliability acquisition and communication methods cannot be provided. The collection level, and the operation data are collected according to different collection cycles, and the access method of "district coverage and hierarchical collection" is adopted to realize the intelligent monitoring of electricity meters, gateway meters, user meters and meter box monitoring devices in different power station areas. Full coverage of the terminal.

各采集层级均采用“分级采集、本地存储”的采集策略实现运行数据采集的过程。除智能终端如:电表、关口表、用户表和表箱监测装置外,各采集层级如:集中器、采集器、边缘物联代理均包含上级采集请求处理模块、对下通信模块、存储器。Each collection level adopts the collection strategy of "graded collection, local storage" to realize the process of running data collection. In addition to intelligent terminals such as electricity meters, gateway meters, user meters and meter box monitoring devices, each collection level such as concentrators, collectors, and edge IoT agents all include upper-level collection request processing modules, lower-level communication modules, and memory.

数据采集时,边缘物联代理、采集器、集中器通过上级采集请求处理模块接收上级采集层级数据采集任务,并检索自身存储器中已存储的数据,并形成请求响应;当本地存储器中无请求所需数据时,返回NULL。During data collection, the edge IoT agent, collector, and concentrator receive the upper-level collection-level data collection task through the upper-level collection request processing module, retrieve the data stored in its own memory, and form a request response; when there is no request in the local memory. When data is required, NULL is returned.

边缘物联代理、采集器通过对下通信模块向下级设备发起数据采集任务,并将获得的采集请求响应数据,存储并更新自身的存储器。The edge IoT agent and collector initiate a data collection task to the lower-level device through the lower communication module, and store and update their own memory in response to the obtained collection request data.

集中器通过对下通信模块直接向电表、关口表、用户表和表箱监测装置请求数据,并将获得的采集请求响应数据,存储并更新自身的存储器。The concentrator directly requests data from the electricity meter, gateway meter, user meter and meter box monitoring device through the lower communication module, and stores and updates its own memory in response to the acquired collection request data.

由于通信中断或设备运行异常等原因导致采集数据失败时,边缘物联代理、采集器、集中器均记录并维护一个失败采集任务清单,对于超期补采任务,直接删除本补采任务。对在补采期限内的任务,边缘物联代理、采集器、集中器按照以下策略发起补采任务。When data collection fails due to communication interruption or abnormal equipment operation, the edge IoT agent, collector, and concentrator all record and maintain a list of failed collection tasks. For overdue supplementary acquisition tasks, the supplementary acquisition task is directly deleted. For tasks within the supplementary acquisition period, edge IoT agents, collectors, and concentrators initiate supplementary acquisition tasks according to the following strategies.

(a)本级采集层级通过对下通信模块,向下一级采集层级发起补采任务。(a) The acquisition level at this level initiates the supplementary acquisition task to the next level acquisition level through the communication module.

(b)下一级采集层级通过上级采集请求处理模块接收上级采集层级数据补采任务,并检索自身存储器中已存储的数据,并形成请求响应;当本地存储器中无请求所需数据时,返回NULL。(b) The lower-level acquisition level receives the data supplementary acquisition task of the upper-level acquisition level through the upper-level acquisition request processing module, retrieves the data stored in its own memory, and forms a request response; when there is no data required for the request in the local memory, it returns NULL.

(c)当本级采集层级收到下一级采集层级返回的补采数据时,将获得的采集请求响应数据,存储并更新自身的存储器,并删除本次补采任务;当本级采集层级未收到下一级采集层级响应或者响应内容为NULL时,本级采集层级终止本次补采过程,但不删除本补采任务。(c) When the collection level of this level receives the supplementary collection data returned by the collection level of the next level, it will store and update the acquired data in response to the collection request, and delete this supplementary collection task; When no response is received from the next-level acquisition level or the response content is NULL, the current-level acquisition level terminates the supplementary acquisition process, but does not delete the supplementary acquisition task.

(d)本级采集层级再次发起补采任务或期限超期,本级采集层级删除本次补采任务。(d) The collection level at the same level initiates the supplementary collection task again or the deadline expires, and the collection level at the current level deletes the supplementary collection task.

统筹考虑数据采集任务的实时性和可靠性,补采任务的补采策略必须涵盖短时间通信中断或设备运行异常,以及长时间通信中断或设备运行异常的情况,一般可设定SAT(short Anormal Time)为60秒,以下为短时间异常,可根据实际情况进行调整SAT。Consider the real-time and reliability of the data collection task as a whole. The supplementary collection strategy of the supplementary acquisition task must cover short-term communication interruption or abnormal equipment operation, as well as long-term communication interruption or abnormal equipment operation. Generally, SAT (short Anormal) can be set. Time) is 60 seconds, the following are short-term anomalies, and the SAT can be adjusted according to the actual situation.

针对短时间异常,各采集层级发起补采任务时,在确保数据采集任务实时性的同时,应尽可能保证需要补采的数据已经保存在补采接收方的本地存储器中。一般的,补采任务的发起时刻应大于正常采集任务+SAT。For short-term anomalies, when each collection level initiates a supplementary acquisition task, while ensuring the real-time nature of the data acquisition task, it should be ensured that the data that needs supplementary acquisition has been saved in the local memory of the supplementary acquisition recipient as much as possible. Generally, the start time of the supplementary acquisition task should be greater than the normal acquisition task + SAT.

实施例3:Example 3:

如图3所示,集中器到电表,采集器到集中器,以及边缘物联代理到采集器,包括三个采集层级,每个采集层级均运行周期采集任务系统,从而实现“分层采集、本地存储”采集策略。周期采集任务系统包括如下模块:As shown in Figure 3, the concentrator to the meter, the collector to the concentrator, and the edge IoT agent to the collector, including three collection levels, each collection level runs the periodic collection task system, so as to achieve "hierarchical collection, Local Storage" acquisition policy. The periodic collection task system includes the following modules:

对上通信模块:On the communication module:

实现与上级采集节点的通信。接收上级采集节点发送来的数据报文,并分别将配置请求报文和采集任务请求报文发送给配置管理模块和上级采集请求处理模块,然后接收配置管理模块和上级采集请求处理模块返回的响应报文,将其发送给上级采集节点。Realize the communication with the upper-level collection node. Receive the data message sent by the upper-level collection node, and send the configuration request message and collection task request message to the configuration management module and the upper-level collection request processing module respectively, and then receive the response returned by the configuration management module and the upper-level collection request processing module message, and send it to the upper-level collection node.

配置管理模块:Configuration management module:

接收对上通信模块发送来的的配置请求报文,通过解析这些配置请求,在内存中生成配置信息复本,并生成本地配置文件(这些依据配置请求生成的本地配置文件包含了所有本地采集程序执行采集任务所需要的基本信息),然后根据配置请求的处理结果,生成配置请求响应报文,提交给对上通信模块,由其发送给上级采集节点。当本地程序重启时,本模块通过读取本地配置文件,在内存中生成配置信息复本。当接收到配置请求报文时,应判断配置信息是否发生变更,若有变更,则通知任务引擎模块,重新生成周期采集任务模板集。Receive the configuration request message sent by the upper communication module, generate a copy of the configuration information in the memory by parsing these configuration requests, and generate a local configuration file (these local configuration files generated according to the configuration request include all local collection programs The basic information required to perform the collection task), and then according to the processing result of the configuration request, a configuration request response message is generated and submitted to the upper communication module, which is then sent to the upper-level collection node. When the local program restarts, this module generates a copy of the configuration information in the memory by reading the local configuration file. When receiving the configuration request message, it should determine whether the configuration information has changed, and if there is a change, notify the task engine module to regenerate the periodic collection task template set.

任务引擎模块:Mission Engine Module:

实时检查本地配置文件的更新情况,依据这些配置文件生成周期采集任务模板集,以本地实时时钟生成的时间信息为基准(整个采集系统中涉及采集设备、传感设备均应实现时间同步),对照周期采集任务模板集中各任务模板,生成需要执行的采集任务,这些采集任务保存在任务队列中。Check the update status of local configuration files in real time, generate periodic collection task template sets based on these configuration files, and use the time information generated by the local real-time clock as the benchmark (time synchronization is required for the acquisition equipment and sensing equipment involved in the entire acquisition system), compare The periodic collection task template collects each task template to generate collection tasks that need to be executed, and these collection tasks are stored in the task queue.

每一个周期采集任务模板至少包括:触发采集任务的时间条件、需要采集的对象(采集哪些电表的哪些运行数据)、采集任务失败补采规则、采集任务优先级定义、采集报文样板(一般来说,由同一个周期采集任务模板生成的周期采集任务的采集报文除了采集时间和校验位外,其它数据域基本不变,因此可以预先生成采集报文样本)等信息。The collection task template of each cycle includes at least: the time conditions for triggering the collection task, the objects to be collected (which operating data of which meters are collected), the rules for re-sampling if the collection task fails, the definition of the priority of the collection task, and the collection message template (generally In other words, except for the collection time and check digit, other data fields in the collection message of the periodic collection task generated by the same periodic collection task template are basically unchanged, so the collection message sample can be pre-generated) and other information.

任务调度与执行模块:Task scheduling and execution module:

针对任务队列中的任务,依据是否是补采任务、任务优先级(任务优先级可以通过配置文件进行设置)、任务当前执行状态等信息,采用多维度状态机调度算法实现任务调度,选择出当前任务进行执行。For the tasks in the task queue, according to whether it is a supplementary procurement task, task priority (task priority can be set through the configuration file), the current execution status of the task and other information, the multi-dimensional state machine scheduling algorithm is used to achieve task scheduling, and the current task is selected. task to execute.

对于已选择执行的当前任务,每次执行时,应根据周期采集任务模板中的采集报文样板,重新填写报文中的采集时间和校验位,以实现采集报文的快速组帧,并提交对下通信模块,由其发送给下级采集节点;然后通过接收、分析下级采集节点的响应报文的情况,维护当前任务的执行情况。若任务正常完成,则将采集到的运行数据和对应的时间戳提交给采集数据本地存储模块,由其保存到本地数据库中,然后将当前任务从任务队列中删除;若任务执行失败,则进入(或保持在)补采阶段,由任务调度与执行模块重新调度。当补采任务长期不能完成,并经计算确定所需采集的运行数据超出下级采集节点的本地运行数据存储时限,则将该任务从任务队列中删除。For the current task that has been selected for execution, each time it is executed, the collection time and check digit in the message should be refilled according to the collection message template in the periodic collection task template, so as to realize the rapid framing of collected messages, and Submit the communication module to the lower level and send it to the lower-level collection node; and then maintain the execution of the current task by receiving and analyzing the response message of the lower-level collection node. If the task is completed normally, the collected operation data and the corresponding timestamp will be submitted to the local storage module of the collected data, which will be stored in the local database, and then the current task will be deleted from the task queue; if the task execution fails, enter the (or remain in) the supplementary mining stage, rescheduled by the task scheduling and execution module. When the supplementary acquisition task cannot be completed for a long time, and it is determined by calculation that the operation data to be collected exceeds the local operation data storage time limit of the lower-level collection node, the task is deleted from the task queue.

对下通信模块:For the next communication module:

实现与下级采集节点的通信。负责接收任务调度与执行模块发送来的采集任务请求报文,并将其发送给下级采集节点,然后负责接收下级采集节点返回的采集任务请求响应报文,并将该响应报文返回给任务调度与执行模块。Realize communication with lower-level collection nodes. Responsible for receiving the collection task request message sent by the task scheduling and execution module, and sending it to the lower-level collection node, and then responsible for receiving the collection task request response message returned by the lower-level collection node, and returning the response message to the task scheduler with the execution module.

采集数据本地存储模块:Collect data local storage module:

负责接收任务调度与执行模块发送来的采集数据,并按照预定的格式保存到本地数据库中;同时也接收上级采集请求处理模块发送来的数据查询请求,并根据该请求组织本地数据,返回给上级采集请求处理模块。采集数据本地存储模块还负责本地已存储运行数据的维护,定期清理超期数据。Responsible for receiving the collection data sent by the task scheduling and execution module, and saving it to the local database according to a predetermined format; at the same time, it also receives the data query request sent by the upper-level collection request processing module, organizes local data according to the request, and returns it to the upper-level Collection request processing module. The local storage module of the collected data is also responsible for the maintenance of the locally stored operating data, and regularly cleans up the overdue data.

上级采集请求处理模块:The upper-level collection request processing module:

接收对上通信模块发送来的采集任务请求报文,并通过解析该请求,向采集数据本地存储模块查询本地存储的运行数据,然后依据查询结果,组织采集任务请求响应报文,提交给对上通信模块,由其发送给上级采集节点。Receive the collection task request message sent by the upstream communication module, and by parsing the request, query the locally stored operation data from the collection data local storage module, and then organize the collection task request response message according to the query result, and submit it to the upstream Communication module, which is sent to the upper-level acquisition node.

实施例4:Example 4:

一种适用于电力物联网台区的运行数据分钟级采集方法,其有益效果如下:A minute-level collection method of operation data suitable for power Internet of Things station area, and its beneficial effects are as follows:

1、在电力物联网系统架构上,将现有营销、运检部门独立采集的系统架构优化调整为统一采集的系统架构。并通过对运行数据全集中不同运行数据子集设定不同采集周期,利用高频度采集周期对应运行数据子集的数据项对低频度采集周期对应的运行数据子集的相同数据项进行映射,实现不同采集层级进行不同运行数据子集的采集与存储,兼容现有业务需求,实现营销业务系统、配电业务系统对运行数据“统一采集、按需使用”。1. On the power Internet of Things system architecture, optimize and adjust the existing system architecture of independent collection by marketing and inspection departments into a unified collection system architecture. And by setting different collection periods for different operating data subsets in the full set of operating data, and using the data items of the operating data subsets corresponding to the high-frequency collection periods to map the same data items of the operating data subsets corresponding to the low-frequency collection periods, Realize the collection and storage of different operating data subsets at different collection levels, compatible with existing business needs, and realize the "unified collection and on-demand use" of operating data by the marketing business system and the power distribution business system.

2、在实现方法上,对智能终端,多个采集层级采用“分区覆盖、分级采集”的接入方式,实现对电力台区中电表等智能终端的全覆盖;2. In terms of implementation method, the access method of "zonal coverage and hierarchical collection" is adopted for multiple acquisition levels of smart terminals to achieve full coverage of smart terminals such as electricity meters in the power station area;

3、在实现方法上,各采集层级均采用“分级采集、本地存储”的采集策略,实现数据采集的过程。3. In terms of implementation method, each acquisition level adopts the acquisition strategy of "graded acquisition, local storage" to realize the process of data acquisition.

4、在实现方法上,各采集层级采用异常处理机制。当由于通信中断或设备运行异常导致采集数据失败时,各采集层级的采集方均可按照预定策略发起补采过程。4. In terms of implementation methods, each collection level adopts an exception handling mechanism. When the data collection fails due to communication interruption or abnormal operation of the equipment, the collection party at each collection level can initiate the supplementary collection process according to the predetermined strategy.

5、在实现方法上,各采集层级采用数据补采机制。统筹考虑数据采集任务的实时性和可靠性,通过设定SAT(short Anormal Time)的方式,执行补采任务的处理机制。5. In terms of implementation method, each acquisition level adopts the data supplementary acquisition mechanism. The real-time and reliability of the data collection task is taken into consideration as a whole, and the processing mechanism of the supplementary collection task is performed by setting the SAT (short Anormal Time) method.

以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only the preferred embodiment of the present invention, it should be pointed out: for those skilled in the art, under the premise of not departing from the principle of the present invention, several improvements and modifications can also be made, and these improvements and modifications are also It should be regarded as the protection scope of the present invention.

Claims (9)

1. A method for acquiring minute-level operation data suitable for a power Internet of things platform area is characterized by comprising the following steps of: the method comprises the following steps:
the intelligent terminal collects operation data in the distribution room in real time and stores the operation data in a memory of the intelligent terminal;
a plurality of acquisition levels are connected in series through communication channels in sequence;
the lowest collection level is connected with the intelligent terminal through a communication channel, and the uppermost collection level is connected with the master station system through the communication channel;
each acquisition level acquires the operation data according to different service application requirements and different acquisition periods and stores the operation data in the memories of the respective acquisition levels;
and the master station system sends running data uploading requests to corresponding acquisition layers according to different service application requirements, and the corresponding acquisition layers upload the running data in the memory to the master station system layer by layer for service application uniform calling.
2. The method for acquiring minute-level operation data of the power internet of things area according to claim 1, wherein the method comprises the following steps: the acquisition level is provided with a periodic acquisition task system, and the periodic acquisition task system comprises the following modules:
for the upper communication module: the system comprises a configuration management module, a superior acquisition request processing module, a superior acquisition layer and a superior acquisition layer, wherein the configuration management module is used for receiving data messages sent by the superior acquisition layer, respectively sending configuration request messages and acquisition task request messages to the configuration management module and the superior acquisition request processing module, receiving response messages returned by the configuration management module and the superior acquisition request processing module, and sending the response messages to the superior acquisition layer;
a configuration management module: the system comprises a pair of upper communication modules, a configuration request message, a local configuration file, a configuration request response message and a superior acquisition level, wherein the pair of upper communication modules are used for receiving the configuration request message sent by the pair of upper communication modules, generating a configuration information copy in a memory by analyzing the configuration request message, generating the local configuration file, generating the configuration request response message according to the processing result of the configuration request message, submitting the configuration request response message to the pair of upper communication modules and sending the configuration request response message to the; when the local program is restarted, generating a configuration information copy in a memory by reading a local configuration file; when receiving a configuration request message, judging whether the configuration information is changed, if so, notifying a task engine module, and regenerating a periodic acquisition task template set;
a task engine module: the system comprises a periodic acquisition task template set, a task queue and a task management module, wherein the periodic acquisition task template set is used for checking the updating condition of a local configuration file in real time, generating a periodic acquisition task template set according to the local configuration file, generating acquisition tasks to be executed by contrasting each task template in the periodic acquisition task template set by taking time information generated by a local real-time clock as a reference, and storing the acquisition tasks in the task queue; each period of collecting the task template at least comprises the following steps: triggering the time condition of an acquisition task, an object to be acquired, an acquisition task failure complementary acquisition rule, an acquisition task priority definition and an acquisition message template;
the task scheduling and executing module: the task scheduling method comprises the steps that a multi-dimensional state machine scheduling algorithm is adopted to realize task scheduling according to whether a task in a task queue is a complementary task, the task priority and the current task execution state, and the current task is selected to be executed; for the current task which is selected to be executed, the acquisition message template in the task template is acquired according to the period each time the current task is executed, the acquisition time and the check bit in the message are re-filled, so that the rapid framing of the acquired message is realized, the message is submitted to a lower communication module, and the message is sent to a lower acquisition level by the lower communication module; then, maintaining the execution condition of the current task by receiving and analyzing the condition of the response message of the lower acquisition level; if the task is normally completed, submitting the acquired running data and the corresponding timestamp to an acquired data local storage module, storing the acquired running data and the corresponding timestamp into a local database by the acquired data local storage module, and then deleting the current task from the task queue; if the task execution fails, entering a complementary mining stage, and rescheduling by the task scheduling and executing module; when the complementary mining task cannot be completed for a long time and the running data to be acquired exceeds the local running data storage time limit of a lower acquisition level through calculation, deleting the task from the task queue;
for the following communication modules: the system comprises a task scheduling and executing module, a task scheduling and executing module and a task scheduling and executing module, wherein the task scheduling and executing module is used for realizing communication with a lower acquisition level, receiving an acquisition task request message sent by the task scheduling and executing module, sending the acquisition task request message to the lower acquisition level, receiving an acquisition task request response message returned by the lower acquisition level and returning the response message to the task scheduling and executing module;
the collected data local storage module: the system comprises a task scheduling and executing module, a local database and a data processing module, wherein the task scheduling and executing module is used for receiving collected data sent by the task scheduling and executing module and storing the collected data into the local database according to a preset format; meanwhile, a data query request sent by a superior acquisition request processing module is received, local data are organized according to the request, and the local data are returned to the superior acquisition request processing module;
the superior acquisition request processing module: the system comprises a local storage module, an upper communication module, a collection data local storage module, a collection task request message and a collection task response message, wherein the local storage module is used for storing the operation data of the collection data local storage module, the collection task request message is used for receiving the collection task request message sent by the upper communication module, analyzing the request, organizing the collection task request response message according to the query result, submitting the collection task request response message to the upper communication module, and sending the collection task request response message to a.
3. The method for acquiring minute-level operation data of the power internet of things area according to claim 2, wherein the method comprises the following steps: the data acquisition local storage module also comprises maintenance of locally stored data of storage and transportation, and regularly clears up the data in excess period.
4. The method for acquiring minute-level operation data of the power internet of things area according to claim 1, wherein the method comprises the following steps: the intelligent terminal at least comprises one of an electric meter, a gateway meter, a user meter and a meter box monitoring device.
5. The method for acquiring minute-level operation data of the power internet of things area according to claim 2, wherein the method comprises the following steps: and when the upper acquisition level sends an acquisition task request message to the lower acquisition level, the lower acquisition level has the required operation data.
6. The method for acquiring minute-level operation data of the power internet of things area according to claim 2, wherein the method comprises the following steps: the complementary mining task comprises the following steps:
(a) the current-level acquisition level initiates a complementary acquisition task to the next-level acquisition level through the downward communication module;
(b) the next-level acquisition level receives a data complementary acquisition task of the upper-level acquisition level through the upper-level acquisition request processing module, retrieves the stored data in a memory of the next-level acquisition level and forms a request response; returning NULL when the data required by the request is not in the local memory;
(c) when the current-stage acquisition level receives the complementary acquisition data returned by the next-stage acquisition level, storing and updating the acquired acquisition request response data in a self memory, and deleting the complementary acquisition task; when the current-level acquisition level does not receive the response of the next-level acquisition level or the response content is NULL, the current-level acquisition level terminates the current complementary acquisition process but does not delete the current complementary acquisition task;
(d) and the current-level acquisition level initiates a supplementary acquisition task again or the time limit is expired, and the current-level acquisition task is deleted.
7. The method for acquiring minute-level operation data of the power internet of things area according to claim 6, wherein the method comprises the following steps: the initiation time of the complementary collection task is larger than the normal collection task time plus SAT.
8. The method for acquiring minute-level operation data of the power internet of things area according to claim 7, wherein the method comprises the following steps: SAT is set to 60 seconds.
9. The method for acquiring minute-level operation data of the power internet of things area according to claim 2, wherein the method comprises the following steps: the time synchronization precision of each acquisition level is not more than 1s, and the time of the upper acquisition level set is taken as the synchronization basis of the lower acquisition level set.
CN202010474131.9A 2020-05-29 2020-05-29 Operation data minute-level acquisition method suitable for power Internet of things platform area Active CN111798655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010474131.9A CN111798655B (en) 2020-05-29 2020-05-29 Operation data minute-level acquisition method suitable for power Internet of things platform area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010474131.9A CN111798655B (en) 2020-05-29 2020-05-29 Operation data minute-level acquisition method suitable for power Internet of things platform area

Publications (2)

Publication Number Publication Date
CN111798655A true CN111798655A (en) 2020-10-20
CN111798655B CN111798655B (en) 2021-12-10

Family

ID=72806628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010474131.9A Active CN111798655B (en) 2020-05-29 2020-05-29 Operation data minute-level acquisition method suitable for power Internet of things platform area

Country Status (1)

Country Link
CN (1) CN111798655B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839080A (en) * 2020-12-31 2021-05-25 四川瑞霆电力科技有限公司 Edge Internet of things agent device and method for realizing acquisition and calculation based on configuration
CN113568918A (en) * 2021-06-11 2021-10-29 济南浪潮数据技术有限公司 Method, system, equipment and medium for reporting information change
CN113742271A (en) * 2021-09-08 2021-12-03 南方电网数字电网研究院有限公司 Electric power user meter information processing method, device, equipment and storage medium
CN114237786A (en) * 2021-11-18 2022-03-25 中国南方电网有限责任公司 Operation response processing method, device, equipment and storage medium of multi-level system
CN115021396A (en) * 2022-04-26 2022-09-06 深圳市科陆电子科技股份有限公司 Mixed acquisition method and system for electricity consumption information of daily freezing and minute curve freezing

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080049775A1 (en) * 2006-08-22 2008-02-28 Morrill Robert J System and method for monitoring and optimizing network performance with vector performance tables and engines
AU2007294728A1 (en) * 2006-09-15 2008-03-20 Itron Global Sarl Metering RF LAN protocol and cell/node utilization and management
CN201364350Y (en) * 2008-07-31 2009-12-16 方建军 Remote centralization meter checking system
CN101673457A (en) * 2009-08-14 2010-03-17 深圳市科陆电子科技股份有限公司 Method and system of data acquisition from data acquisition terminal
CN101738997A (en) * 2009-10-30 2010-06-16 深圳市科陆电子科技股份有限公司 Multithread electric negative control system and control method
CN101873005A (en) * 2010-06-17 2010-10-27 深圳市科陆电子科技股份有限公司 A method for realizing balanced collection of electric energy
CN102130759A (en) * 2010-01-13 2011-07-20 中国移动通信集团公司 A data acquisition method, data acquisition machine cluster and data acquisition machine
US20110292792A1 (en) * 2010-05-31 2011-12-01 Microsoft Corporation Applying Policies to Schedule Network Bandwidth Among Virtual Machines
CN103514277A (en) * 2013-09-24 2014-01-15 国家电网公司 Task parallel processing method for electricity utilization information collection system
CN203422836U (en) * 2013-07-10 2014-02-05 天津创展同成科技发展有限公司 Remote meter reading system
CN106504502A (en) * 2016-12-06 2017-03-15 国网山东省电力公司鄄城县供电公司 The method of intelligent electric meter, intelligent electric meter management system and centralized automatic meter-reading
CN108183869A (en) * 2017-12-29 2018-06-19 国电南瑞科技股份有限公司 A kind of electric quantity data acquisition system based on Distributed Message Queue
CN109743717A (en) * 2019-03-06 2019-05-10 深圳市飞比电子科技有限公司 Data processing method, device, terminal device and storage medium
CN110489407A (en) * 2019-07-29 2019-11-22 南方电网数字电网研究院有限公司 Data supplementary acquisition method, device, computer equipment and storage medium
CN110535909A (en) * 2019-07-29 2019-12-03 广东电网有限责任公司信息中心 Big data and cloud computing integrated platform system for energy Internet applications
CN110932917A (en) * 2019-12-24 2020-03-27 深圳市国电科技通信有限公司 High-frequency synchronous acquisition and edge calculation-based distribution room topology discovery method
CN111062651A (en) * 2020-03-18 2020-04-24 南京中电科能技术有限公司 Safe power utilization management system and method based on edge calculation and big data analysis

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080049775A1 (en) * 2006-08-22 2008-02-28 Morrill Robert J System and method for monitoring and optimizing network performance with vector performance tables and engines
AU2007294728A1 (en) * 2006-09-15 2008-03-20 Itron Global Sarl Metering RF LAN protocol and cell/node utilization and management
CN201364350Y (en) * 2008-07-31 2009-12-16 方建军 Remote centralization meter checking system
CN101673457A (en) * 2009-08-14 2010-03-17 深圳市科陆电子科技股份有限公司 Method and system of data acquisition from data acquisition terminal
CN101738997A (en) * 2009-10-30 2010-06-16 深圳市科陆电子科技股份有限公司 Multithread electric negative control system and control method
CN102130759A (en) * 2010-01-13 2011-07-20 中国移动通信集团公司 A data acquisition method, data acquisition machine cluster and data acquisition machine
US20110292792A1 (en) * 2010-05-31 2011-12-01 Microsoft Corporation Applying Policies to Schedule Network Bandwidth Among Virtual Machines
CN101873005A (en) * 2010-06-17 2010-10-27 深圳市科陆电子科技股份有限公司 A method for realizing balanced collection of electric energy
CN203422836U (en) * 2013-07-10 2014-02-05 天津创展同成科技发展有限公司 Remote meter reading system
CN103514277A (en) * 2013-09-24 2014-01-15 国家电网公司 Task parallel processing method for electricity utilization information collection system
CN106504502A (en) * 2016-12-06 2017-03-15 国网山东省电力公司鄄城县供电公司 The method of intelligent electric meter, intelligent electric meter management system and centralized automatic meter-reading
CN108183869A (en) * 2017-12-29 2018-06-19 国电南瑞科技股份有限公司 A kind of electric quantity data acquisition system based on Distributed Message Queue
CN109743717A (en) * 2019-03-06 2019-05-10 深圳市飞比电子科技有限公司 Data processing method, device, terminal device and storage medium
CN110489407A (en) * 2019-07-29 2019-11-22 南方电网数字电网研究院有限公司 Data supplementary acquisition method, device, computer equipment and storage medium
CN110535909A (en) * 2019-07-29 2019-12-03 广东电网有限责任公司信息中心 Big data and cloud computing integrated platform system for energy Internet applications
CN110932917A (en) * 2019-12-24 2020-03-27 深圳市国电科技通信有限公司 High-frequency synchronous acquisition and edge calculation-based distribution room topology discovery method
CN111062651A (en) * 2020-03-18 2020-04-24 南京中电科能技术有限公司 Safe power utilization management system and method based on edge calculation and big data analysis

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
沈曙明: ""无线远传集抄系统"", 《中国优秀硕士学位论文全文数据库》 *
陶晓峰等: ""用于缓存的补采策略在智能用电系统中的应用"", 《江苏电机工程》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839080A (en) * 2020-12-31 2021-05-25 四川瑞霆电力科技有限公司 Edge Internet of things agent device and method for realizing acquisition and calculation based on configuration
CN113568918A (en) * 2021-06-11 2021-10-29 济南浪潮数据技术有限公司 Method, system, equipment and medium for reporting information change
CN113742271A (en) * 2021-09-08 2021-12-03 南方电网数字电网研究院有限公司 Electric power user meter information processing method, device, equipment and storage medium
CN113742271B (en) * 2021-09-08 2024-05-10 南方电网数字电网科技(广东)有限公司 Electric household table information processing method, device, equipment and storage medium
CN114237786A (en) * 2021-11-18 2022-03-25 中国南方电网有限责任公司 Operation response processing method, device, equipment and storage medium of multi-level system
CN115021396A (en) * 2022-04-26 2022-09-06 深圳市科陆电子科技股份有限公司 Mixed acquisition method and system for electricity consumption information of daily freezing and minute curve freezing
CN115021396B (en) * 2022-04-26 2025-07-15 深圳市科陆电子科技股份有限公司 A mixed sampling method and system for daily freezing and minute curve freezing electricity consumption information

Also Published As

Publication number Publication date
CN111798655B (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN110022226B (en) Object-oriented data acquisition system and acquisition method
CN111798655B (en) Operation data minute-level acquisition method suitable for power Internet of things platform area
CN111432295A (en) A master station system for collecting electricity information based on distributed technology
CN113515514B (en) Multi-level edge computing architecture based on cloud-edge collaboration and its implementation method
CN110047014A (en) A kind of user's electricity data restorative procedure based on load curve and history electricity
CN108183869B (en) A Power Data Collection System Based on Distributed Message Queue
CN110555583A (en) A unified processing method for wide-area operation data of smart grid dispatching control system
CN102426525B (en) Panoramic modeling method of multi-application system
CN104317800A (en) Hybrid storage system and method for mass intelligent power utilization data
CN115037600A (en) A low-power IoT platform supporting long-term connection and its device and management method
CN103325074B (en) Power system real-time data processing method
CN120317639B (en) An AI-based meter reading data management and resource scheduling optimization method and system
CN108052634A (en) A kind of power grid production control great Qu and the integrated approach of asset management great Qu multi information systems
CN112235250A (en) A method and system for collecting data at the same frequency at the minute level in the station area
CN111314137A (en) Information communication network automation operation and maintenance method, device, storage medium and processor
Ma et al. Design and implementation of smart city big data processing platform based on distributed architecture
CN120909742A (en) Elastic resource pre-early warning and scheduling method and system based on load prediction
CN111049898A (en) Method and system for realizing cross-domain architecture of computing cluster resources
CN113923540A (en) Hierarchical cluster processing method for Internet of things (IOT) collection based on NB-lot network
CN119149639A (en) Cross-regional clean energy internet data storage system
CN112235249A (en) Method and system for minute-level co-frequency acquisition of station area data based on type II concentrator
CN112134354A (en) A Fusion Method of Marketing and Distribution Data Based on HPLC Communication
CN103685409B (en) A kind of knowledge network towards autonomous service and construction method thereof
CN111090698A (en) An alarm synchronization method and device for centralized monitoring of distribution network 1+N system
CN117667929A (en) A big data-based optical storage flexible data management system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant