CN103049522A - Automatic substitution method for multi-data sources of electric quantity - Google Patents

Automatic substitution method for multi-data sources of electric quantity Download PDF

Info

Publication number
CN103049522A
CN103049522A CN2012105553007A CN201210555300A CN103049522A CN 103049522 A CN103049522 A CN 103049522A CN 2012105553007 A CN2012105553007 A CN 2012105553007A CN 201210555300 A CN201210555300 A CN 201210555300A CN 103049522 A CN103049522 A CN 103049522A
Authority
CN
China
Prior art keywords
data
power
server
replacement
database
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
CN2012105553007A
Other languages
Chinese (zh)
Other versions
CN103049522B (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 Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
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 Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Corp of China SGCC
Priority to CN201210555300.7A priority Critical patent/CN103049522B/en
Publication of CN103049522A publication Critical patent/CN103049522A/en
Application granted granted Critical
Publication of CN103049522B publication Critical patent/CN103049522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种用于电量多数据源自动替代的方法,基于用于电量多数据源自动替代的系统,系统包括应用服务器、中间件服务器和数据库服务器,方法包括:步骤S1,应用服务器对采集的电量数据进行分析,确定有电量缺失数据时,对电量缺失数据进行封装后传入中间件服务器;步骤S2,中间件服务器根据封装后的电量缺失数据按照优先级分配顺序和替代规则依次进行电量缺失数据的数据源替代形成新的封装的电量数据;步骤S3,电量缺失数据的数据源替代成功时将形成的新的封装的电量数据存入数据库服务器。本发明提供的一种用于电量多数据源自动替代的方法,设置中间件服务器实现电量缺失数据的自动替代,解决电能量采集数据缺失影响后续实时线损分析的问题。

Figure 201210555300

The present invention provides a method for automatic replacement of multiple data sources of electricity, based on the system for automatic replacement of multiple data sources of electricity, the system includes an application server, a middleware server and a database server, and the method includes: step S1, the application server collects When it is determined that there is missing power data, the missing power data is packaged and sent to the middleware server; step S2, the middleware server sequentially sorts the power according to the priority allocation order and replacement rules according to the packaged power missing data The data source of the missing data is substituted to form new packaged power data; step S3 , when the data source of the missing data is replaced successfully, the newly formed packaged power data is stored in the database server. The invention provides a method for automatic replacement of multiple data sources of electric power. A middleware server is set to realize automatic replacement of missing data of electric power, and solves the problem that the lack of electric energy collection data affects subsequent real-time line loss analysis.

Figure 201210555300

Description

一种用于电量多数据源自动替代的方法A method for automatic replacement of multiple data sources of electricity

技术领域technical field

本发明涉及电力数据采集系统领域,具体涉及一种用于电量多数据源自动替代的方法。The invention relates to the field of electric power data acquisition systems, in particular to a method for automatic substitution of multiple data sources of electric power.

背景技术Background technique

电能量信息采集系统实现对电量数据的监控、管理、分析以及信息发布,在这样的大型数据库应用系统中,采集的实时数据类型种类繁多,数据总量庞大。由于通信信道和数据量阻塞等原因,会导致部分数据采集缺失。一方面,由于系统的采集服务器、应用服务器和数据库服务器往往部署在不同的地方,相互之间的网络拓扑比较复杂,如果按照一般的流程将采集数据存储到数据库中,一旦网络出现异常或者应用模块之间出现问题而导致数据不能正常存储在数据库中,会造成数据的缺失,影响系统的运行效果和后续流程的正常进行。而系统在网络异常或者软件异常恢复以后对缺失数据进行的补偿性采集和存储降低了系统的运行效率。The electric energy information collection system realizes the monitoring, management, analysis and information release of electric power data. In such a large-scale database application system, there are various types of real-time data collected and the total amount of data is huge. Due to reasons such as communication channel and data volume congestion, some data collection will be missing. On the one hand, because the collection server, application server, and database server of the system are often deployed in different places, the network topology among them is relatively complicated. If the collection data is stored in the database according to the general process, once the network is abnormal or the application module If there is a problem between them, the data cannot be stored in the database normally, which will cause the loss of data and affect the operation effect of the system and the normal progress of the follow-up process. However, the compensatory collection and storage of missing data by the system after the network abnormality or software abnormality recovery reduces the operating efficiency of the system.

现有技术中更多的是介绍如何准确、实时的检测到计量的异常情况,但是并没有解决如何在信息缺失条件下保证数据信息的完整性,满足用户使用和其他实时性功能的数据访问需求,使用户获得最佳的使用体验。The existing technology is more about how to accurately and real-time detect the abnormal situation of metering, but it does not solve how to ensure the integrity of data information under the condition of missing information, and meet the data access requirements of users and other real-time functions , so that users can obtain the best experience.

发明内容Contents of the invention

本发明涉及一种用于电量多数据源自动替代的方法,所述方法基于用于电量多数据源自动替代的系统,所述系统包括应用服务器、中间件服务器和数据库服务器,所述应用服务器和所述数据库服务器通过所述中间件服务器连接通信或者直接连接通信;The present invention relates to a method for automatic replacement of multiple data sources of electricity, the method is based on a system for automatic replacement of multiple data sources of electricity, the system includes an application server, a middleware server and a database server, the application server and The database server connects and communicates through the middleware server or directly connects and communicates;

所述方法包括:The methods include:

步骤S1,所述应用服务器对采集的电量数据进行分析,确定有电量缺失数据时,对所述电量缺失数据进行封装后传入所述中间件服务器;Step S1, the application server analyzes the collected power data, and when it is determined that there is power missing data, encapsulates the power missing data and transmits it to the middleware server;

步骤S2,所述中间件服务器根据所述封装后的电量缺失数据按照优先级分配顺序和替代规则依次进行电量缺失数据的数据源替代形成新的封装的电量数据;Step S2, the middleware server replaces the data source of the missing power data according to the priority distribution order and replacement rules according to the packaged power missing data to form new packaged power data;

步骤S3,所述电量缺失数据的数据源替代成功时将所述形成的新的封装的电量数据存入所述数据库服务器。In step S3, when the data source of the power missing data is successfully replaced, the newly formed packaged power data is stored in the database server.

本发明提供的第一优选实施例中:所述步骤S1中,所述应用服务器从所述数据库服务器读取所述采集的电量数据;所述读取的采集的电量数据为一定期限内的所述采集的电量数据,所述一定期限根据采集电量数据的周期或者用户需求进行设定。In the first preferred embodiment provided by the present invention: in the step S1, the application server reads the collected power data from the database server; the read collected power data is all Describe the collected power data, and the certain period is set according to the cycle of collecting power data or user requirements.

本发明提供的第二优选实施例中:所述步骤S1中,所述应用服务器对所述采集的电量数据进行分析后判断没有所述电量缺失数据时,直接结束所述数据源自动替代的过程。In the second preferred embodiment provided by the present invention: in the step S1, when the application server analyzes the collected electricity data and judges that there is no missing electricity data, it directly ends the process of automatically replacing the data source .

本发明提供的第三优选实施例中:所述步骤S1中,所述应用服务器与所述中间件服务器之间的网络连接正常且所述中间件服务器运行正常时,所述应用服务器直接调用中间件接口将所述封装后电量缺失数据传入到所述中间件服务器中;若所述中间件服务器存在异常或者网络连接出现异常时,所述应用服务器记录异常事件。In the third preferred embodiment provided by the present invention: in the step S1, when the network connection between the application server and the middleware server is normal and the middleware server is running normally, the application server directly calls the intermediate The software interface transfers the encapsulated power loss data to the middleware server; if the middleware server is abnormal or the network connection is abnormal, the application server records the abnormal event.

本发明提供的第四优选实施例中:所述步骤S2中,所述数据源替代包括副表替代、对端线路表替代、遥测数据替代和其他表替代;In the fourth preferred embodiment provided by the present invention: in the step S2, the data source replacement includes subtable replacement, peer line table replacement, telemetry data replacement and other table replacement;

所述优先级分配顺序为选择所述数据源替代表的顺序,用户根据需求或者实际安装情况对所述优先级分配顺序进行设定。The priority allocation order is the order in which the data source substitution table is selected, and the user sets the priority allocation order according to requirements or actual installation conditions.

本发明提供的第五优选实施例中:所述步骤S2中,根据电表接线原理决定所述替代规则,所述替代规则包括正常替代和交叉替代;所述正常替代是指用正向有/无功电量替代正向有/无功电量,反向有/无功电量替代反向有/无功电量;所述交叉替代是指用正向有/无功电量替代反向有/无功电量,反向有/无电量替代正向有/无功电量。In the fifth preferred embodiment provided by the present invention: in the step S2, the substitution rule is determined according to the principle of electric meter wiring, the substitution rule includes normal substitution and cross substitution; the normal substitution refers to the use of forward yes/no The active power replaces the forward active/reactive power, and the reverse active/reactive power replaces the reverse active/reactive power; the cross substitution refers to replacing the reverse active/reactive power with the forward active/reactive power. Reverse active/non-active energy replaces forward active/reactive energy.

本发明提供的第六优选实施例中:所述步骤S3中,如果所述数据源替代不成功,则将所述数据源替代不成功的失败事件信息存入所述数据库服务器中,所述失败事件信息包括所述数据源替代事件和替代失败原因。In the sixth preferred embodiment provided by the present invention: in the step S3, if the replacement of the data source is unsuccessful, the failure event information of the unsuccessful replacement of the data source is stored in the database server, and the failure The event information includes the data source replacement event and the reason for the replacement failure.

本发明提供的第七优选实施例中:所述步骤S3中,所述电量缺失数据的数据源替代成功时,将所述形成的新的封装的电量数据存入所述数据库服务器的分布式缓存和对象数据库中,所述分布式缓存是指分布在大量物理机器中的数据内存缓存建立的内存数据库,所述对象数据库是指装有商业数据库软件的数据库服务器。In the seventh preferred embodiment provided by the present invention: in the step S3, when the data source of the power missing data is replaced successfully, the newly formed packaged power data is stored in the distributed cache of the database server In the object database, the distributed cache refers to an in-memory database established by data memory cache distributed in a large number of physical machines, and the object database refers to a database server equipped with commercial database software.

本发明提供的第八优选实施例中:如果所述分布式缓存或所述对象数据库获取了所述形成的新的封装的电量数据,则所述数据库服务器通过调用接口向所述应用服务器发送结果信息,所述应用服务器根据所述结果信息刷新所述采集的电量数据或者弹出提示框提示所述采集的电量数据需要更新;In the eighth preferred embodiment provided by the present invention: if the distributed cache or the object database acquires the newly formed packaged power data, the database server sends the result to the application server by calling the interface information, the application server refreshes the collected power data according to the result information or pops up a prompt box to prompt that the collected power data needs to be updated;

如果所述分布式缓存和所述对象数据库均未获取所述形成的新的封装的电量数据,则所述数据库服务器向所述中间件服务器返回异常信息。If neither the distributed cache nor the object database acquires the newly formed packaged power data, the database server returns exception information to the middleware server.

本发明提供的一种用于电量多数据源自动替代的方法的有益效果包括:The beneficial effects of a method for automatic replacement of multiple data sources of electricity provided by the present invention include:

1、本发明提供的一种用于电量多数据源自动替代的方法,设置中间件服务器实现电量缺失数据的自动替代,并将替代后的电量数据存储存入数据库服务器中,解决电能量采集数据缺失影响后续实时线损分析的问题。1. The present invention provides a method for automatic replacement of multiple data sources of electric power. The middleware server is set to realize the automatic replacement of power missing data, and the replaced electric power data is stored in the database server to solve the problem of electric energy collection data. Missing problems that affect subsequent real-time line loss analysis.

2、对电量缺失数据按照优先级分配顺序进行多数据源选择替代,用户可以根据需求或者实际安装情况对优先级分配顺序进行设定,适应不同地域的情况。2. Multiple data sources can be selected and replaced according to the order of priority allocation for power loss data. Users can set the order of priority allocation according to needs or actual installation conditions to adapt to different regions.

3、数据源替代后的采集电量数据实时传输进数据库服务器和应用服务器,同步存储提高了数据存储质量,保证了系统的流畅运行,保证系统数据信息的完整性。3. The collected power data after the replacement of the data source is transmitted to the database server and the application server in real time, and the synchronous storage improves the quality of data storage, ensures the smooth operation of the system, and ensures the integrity of the system data information.

附图说明Description of drawings

如图1所示为本发明提供的一种用于电量多数据源自动替代的系统的结构示意图;As shown in Figure 1, it is a schematic structural diagram of a system for automatically replacing multiple data sources of electricity provided by the present invention;

如图2所示为本发明提供的一种用于电量多数据源自动替代的方法的流程图;As shown in Figure 2, it is a flow chart of a method for automatic replacement of multiple data sources of electricity provided by the present invention;

如图3所示为本发明提供的一种用于电量多数据源自动替代的方法的实施例的流程图。FIG. 3 is a flow chart of an embodiment of a method for automatic replacement of multiple data sources of electricity provided by the present invention.

具体实施方式Detailed ways

本发明提供一种用于电量多数据源自动替代的方法,基于一种用于电量多数据源自动替代的系统,该系统的结构示意图如图1所示,包括应用服务器、中间件服务器和数据库服务器,应用服务器和数据库服务器通过中间件服务器连接通信或者直接连接通信。基于该系统的方法流程图如图2所示,包括:The present invention provides a method for automatic replacement of multiple data sources of electricity, based on a system for automatic replacement of multiple data sources of electricity, the structural diagram of the system is shown in Figure 1, including an application server, a middleware server and a database The server, the application server and the database server communicate through the middleware server connection or direct connection communication. The flow chart of the method based on the system is shown in Figure 2, including:

步骤S1,应用服务器对采集的电量数据进行分析,确定有电量缺失数据时,对该电量缺失数据进行封装后传入中间件服务器。In step S1, the application server analyzes the collected power data, and when it is determined that there is power missing data, the missing power data is packaged and transmitted to the middleware server.

步骤S2,中间件服务器根据封装后的电量缺失数据按照优先级分配顺序和替代规则依次进行电量缺失数据的数据源替代形成新的封装的电量数据。In step S2, the middleware server replaces the data source of the missing power data in order according to the priority distribution sequence and the replacement rule according to the packaged power missing data to form new packaged power data.

步骤S3,电量缺失数据的数据源替代成功时将形成的新的封装的电量数据存入数据库服务器。In step S3, when the data source of the power missing data is replaced successfully, the new packaged power data is stored in the database server.

应用服务器与数据库服务器相连接,步骤S1中,应用服务器从数据库服务器读取采集的电量数据,并且该读取的采集的电量数据是一定期限内采集的电量数据,该一定期限可以根据采集电量数据的周期或者用户需求进行设定。The application server is connected to the database server. In step S1, the application server reads the collected power data from the database server, and the read collected power data is the power data collected within a certain period, and the certain period can be based on the collected power data. The cycle or user needs are set.

如图3所示为本发明提供的一种用于电量多数据源自动替代的方法的实施例的流程图,由图3可知,步骤S1中,应用服务器对采集的电量数据进行分析后判断没有电量缺失数据时,直接结束该数据源自动替代的过程。并且应用服务器与中间件服务器之间的网络连接正常且中间件服务器运行正常时,应用服务器直接调用中间件接口将封装后电量缺失数据传入到中间件服务器中,若中间件服务器存在异常或者网络连接出现异常时,应用服务器记录该异常事件。As shown in Figure 3, it is a flow chart of an embodiment of a method for automatically replacing multiple data sources of electricity provided by the present invention. It can be seen from Figure 3 that in step S1, the application server analyzes the collected electricity data and judges whether When the power data is missing, the process of automatically replacing the data source will be ended directly. And when the network connection between the application server and the middleware server is normal and the middleware server is running normally, the application server directly calls the middleware interface to transmit the packaged power loss data to the middleware server. If the middleware server is abnormal or the network When the connection is abnormal, the application server records the abnormal event.

步骤S2中,数据源替代包括副表替代、对端线路表替代、遥测数据替代和其他表替代,In step S2, the data source replacement includes subtable replacement, peer line table replacement, telemetry data replacement and other table replacement,

主副表是指在同一个计量点装设两块同等级的关口表,公用同一套电压互感器、电流互感器和二次回路,事先指定其中一块表作为主表,供电量结算使用,另一块表作为副表,其电量做为参考使用;对端线路表是指在线路两端同时装设电能表,用其中一块表的数据来替代对端电能表的数据;遥测数据替代为用通过传感器接收到的被遥测终端的数据进行替代。优先级分配顺序即选择数据源替代表的顺序,用户可以根据需求或者实际安装情况对该优先级分配顺序进行设定。替代规则分为正常替代和交叉替代,指根据电表接线等原理决定;正常替代是指用正向有/无功电量替代正向有/无功电量,反向有/无功电量替代反向有/无功电量;交叉替代是指用正向有/无功电量替代反向有/无功电量,反向有/无电量替代正向有/无功电量。The main and auxiliary meters refer to the installation of two gateway meters of the same level at the same metering point, sharing the same set of voltage transformers, current transformers and secondary circuits. One meter is used as a secondary meter, and its power is used as a reference; the opposite end line meter refers to the electric energy meter installed at both ends of the line, and the data of one of the meters is used to replace the data of the opposite end electric energy meter; the telemetry data is replaced by The data received by the sensors are replaced by the data from the telemetry terminals. The priority assignment order is the order in which data source alternative tables are selected, and the user can set the priority assignment order according to requirements or actual installation conditions. Substitution rules are divided into normal substitution and cross substitution, which refer to the decision based on the principles of ammeter wiring; normal substitution refers to replacing forward active/reactive power with forward active/reactive power, and replacing reverse active/reactive power with reverse active/reactive power. /reactive energy; cross substitution refers to replacing the reverse active/reactive energy with the positive active/reactive energy, and replacing the positive active/reactive energy with the reverse active/non-active energy.

步骤S3中,如果数据源替代不成功,则将数据源替代不成功的失败事件信息存入数据库服务器中,该失败事件信息包括数据源替代事件和替代失败原因等。电量缺失数据的数据源替代成功时,将形成的新的封装的电量数据存入数据库服务器的分布式缓存和对象数据库中,分布式缓存是指分布在大量物理机器中的数据内存缓存建立的内存数据库,对象数据库是指装有商业数据库软件的数据库服务器。In step S3, if the replacement of the data source is unsuccessful, the failure event information of the unsuccessful data source replacement is stored in the database server, and the failure event information includes the data source replacement event and the reason for the replacement failure. When the data source of power missing data is replaced successfully, the newly encapsulated power data will be stored in the distributed cache and object database of the database server. Distributed cache refers to the memory established by the data memory cache distributed in a large number of physical machines Database, object database refers to a database server with commercial database software installed.

如果分布式缓存或对象数据库获取了该形成的新的封装的电量数据,则数据库服务器通过调用接口向应用服务器发送结果信息,应用服务器根据结果信息刷新采集的电量数据或者弹出提示框提示采集的电量数据需要更新。如果分布式缓存和对象数据库均未获取该形成的新的封装的电量数据,则数据库服务器向中间件服务器返回异常信息。If the distributed cache or object database acquires the newly-formed packaged power data, the database server sends the result information to the application server through the call interface, and the application server refreshes the collected power data or pops up a prompt box to prompt the collected power according to the result information Data needs to be updated. If neither the distributed cache nor the object database acquires the newly-formed encapsulated power data, the database server returns exception information to the middleware server.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall be covered by the scope of the claims of the present invention.

Claims (9)

1.一种用于电量多数据源自动替代的方法,其特征在于,所述方法基于用于电量多数据源自动替代的系统,所述系统包括应用服务器、中间件服务器和数据库服务器,所述应用服务器和所述数据库服务器通过所述中间件服务器连接通信或者直接连接通信;1. A method for automatic replacement of multiple data sources of electric power, characterized in that, the method is based on a system for automatic replacement of multiple data sources of electric power, and the system includes an application server, a middleware server and a database server, and the The application server communicates with the database server through the middleware server connection or direct connection communication; 所述方法包括:The methods include: 步骤S1,所述应用服务器对采集的电量数据进行分析,确定有电量缺失数据时,对所述电量缺失数据进行封装后传入所述中间件服务器;Step S1, the application server analyzes the collected power data, and when it is determined that there is power missing data, encapsulates the power missing data and transmits it to the middleware server; 步骤S2,所述中间件服务器根据所述封装后的电量缺失数据按照优先级分配顺序和替代规则依次进行电量缺失数据的数据源替代形成新的封装的电量数据;Step S2, the middleware server replaces the data source of the missing power data according to the priority distribution order and replacement rules according to the packaged power missing data to form new packaged power data; 步骤S3,所述电量缺失数据的数据源替代成功时将所述形成的新的封装的电量数据存入所述数据库服务器。In step S3, when the data source of the power missing data is successfully replaced, the newly formed packaged power data is stored in the database server. 2.如权利要求1所述的方法,其特征在于,所述步骤S1中,所述应用服务器从所述数据库服务器读取所述采集的电量数据;所述读取的采集的电量数据为一定期限内的所述采集的电量数据,所述一定期限根据采集电量数据的周期或者用户需求进行设定。2. The method according to claim 1, characterized in that, in the step S1, the application server reads the collected power data from the database server; the read collected power data is a certain The collected electricity data within a time limit, the certain time limit is set according to the cycle of collecting electricity data or user requirements. 3.如权利要求1所述的方法,其特征在于,所述步骤S1中,所述应用服务器对所述采集的电量数据进行分析后判断没有所述电量缺失数据时,直接结束所述数据源自动替代的过程。3. The method according to claim 1, characterized in that, in the step S1, when the application server analyzes the collected power data and determines that there is no missing power data, the data source is directly terminated The process of automatic substitution. 4.如权利要求1所述的方法,其特征在于,所述步骤S1中,所述应用服务器与所述中间件服务器之间的网络连接正常且所述中间件服务器运行正常时,所述应用服务器直接调用中间件接口将所述封装后电量缺失数据传入到所述中间件服务器中;若所述中间件服务器存在异常或者网络连接出现异常时,所述应用服务器记录异常事件。4. The method according to claim 1, wherein in the step S1, when the network connection between the application server and the middleware server is normal and the middleware server is running normally, the application The server directly invokes the middleware interface to transmit the packaged power loss data to the middleware server; if the middleware server is abnormal or the network connection is abnormal, the application server records the abnormal event. 5.如权利要求1所述的方法,其特征在于,所述步骤S2中,所述数据源替代包括副表替代、对端线路表替代、遥测数据替代和其他表替代;5. The method according to claim 1, characterized in that, in the step S2, the data source replacement includes subtable replacement, peer line table replacement, telemetry data replacement and other table replacement; 所述优先级分配顺序为选择所述数据源替代表的顺序,用户根据需求或者实际安装情况对所述优先级分配顺序进行设定。The priority allocation order is the order in which the data source substitution table is selected, and the user sets the priority allocation order according to requirements or actual installation conditions. 6.如权利要求1所述的方法,其特征在于,所述步骤S2中,根据电表接线原理决定所述替代规则,所述替代规则包括正常替代和交叉替代;所述正常替代是指用正向有/无功电量替代正向有/无功电量,反向有/无功电量替代反向有/无功电量;所述交叉替代是指用正向有/无功电量替代反向有/无功电量,反向有/无电量替代正向有/无功电量。6. The method according to claim 1, characterized in that, in the step S2, the substitution rule is determined according to the wiring principle of the electric meter, and the substitution rule includes normal substitution and cross substitution; The forward active/reactive energy replaces the forward active/reactive energy, and the reverse active/reactive energy replaces the reverse active/reactive energy; the cross substitution refers to replacing the reverse active/reactive energy with the forward active/reactive Reactive power, reverse active/non-active power replaces forward active/reactive power. 7.如权利要求1所述的方法,其特征在于,所述步骤S3中,如果所述数据源替代不成功,则将所述数据源替代不成功的失败事件信息存入所述数据库服务器中,所述失败事件信息包括所述数据源替代事件和替代失败原因。7. The method according to claim 1, wherein in the step S3, if the replacement of the data source is unsuccessful, the failure event information of the unsuccessful replacement of the data source is stored in the database server , the failure event information includes the data source substitution event and substitution failure reason. 8.如权利要求1所述的方法,其特征在于,所述步骤S3中,所述电量缺失数据的数据源替代成功时,将所述形成的新的封装的电量数据存入所述数据库服务器的分布式缓存和对象数据库中,所述分布式缓存是指分布在大量物理机器中的数据内存缓存建立的内存数据库,所述对象数据库是指装有商业数据库软件的数据库服务器。8. The method according to claim 1, characterized in that, in the step S3, when the data source of the power missing data is replaced successfully, the newly formed packaged power data is stored in the database server In the distributed cache and object database, the distributed cache refers to an in-memory database established by data memory caches distributed in a large number of physical machines, and the object database refers to a database server equipped with commercial database software. 9.如权利要求8所述的方法,其特征在于,如果所述分布式缓存或所述对象数据库获取了所述形成的新的封装的电量数据,则所述数据库服务器通过调用接口向所述应用服务器发送结果信息,所述应用服务器根据所述结果信息刷新所述采集的电量数据或者弹出提示框提示所述采集的电量数据需要更新;9. The method according to claim 8, wherein, if the distributed cache or the object database acquires the newly-formed packaged electricity data, the database server sends an interface call to the The application server sends result information, and the application server refreshes the collected power data according to the result information or pops up a prompt box to prompt that the collected power data needs to be updated; 如果所述分布式缓存和所述对象数据库均未获取所述形成的新的封装的电量数据,则所述数据库服务器向所述中间件服务器返回异常信息。If neither the distributed cache nor the object database acquires the newly formed packaged power data, the database server returns exception information to the middleware server.
CN201210555300.7A 2012-12-19 2012-12-19 A kind of method automatically substituted for electricity multi-data source Active CN103049522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210555300.7A CN103049522B (en) 2012-12-19 2012-12-19 A kind of method automatically substituted for electricity multi-data source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210555300.7A CN103049522B (en) 2012-12-19 2012-12-19 A kind of method automatically substituted for electricity multi-data source

Publications (2)

Publication Number Publication Date
CN103049522A true CN103049522A (en) 2013-04-17
CN103049522B CN103049522B (en) 2016-01-20

Family

ID=48062163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210555300.7A Active CN103049522B (en) 2012-12-19 2012-12-19 A kind of method automatically substituted for electricity multi-data source

Country Status (1)

Country Link
CN (1) CN103049522B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200395A (en) * 2014-08-22 2014-12-10 国家电网公司 Technology for achieving missing data intelligent automatic additional recording based on automatic additional recording strategy definition
CN106169160A (en) * 2016-06-01 2016-11-30 国网河北省电力公司电力科学研究院 A kind of electricity abnormity diagnosis based on critical point power system and electricity complementing method
CN111127247A (en) * 2019-11-21 2020-05-08 深圳供电局有限公司 Power data collection method, device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581241A (en) * 2003-08-15 2005-02-16 深圳市科陆电子科技股份有限公司 Long-distance collecting method for electric power
US20060026209A1 (en) * 2002-09-05 2006-02-02 Garth Burrill System and method for processing control data
CN101707399A (en) * 2009-11-20 2010-05-12 深圳市科陆电子科技股份有限公司 Method and system for acquiring electric energy information
CN101719315A (en) * 2009-12-23 2010-06-02 山东大学 Method for acquiring dynamic traffic information based on middleware
CN102651116A (en) * 2012-03-31 2012-08-29 上海市电力公司 Power load data refining method
CN102654531A (en) * 2011-03-04 2012-09-05 河南电力试验研究所 A method and device for supplementing missing power quality data
CN102692558A (en) * 2011-03-23 2012-09-26 沈阳易讯科技股份有限公司 Monitoring and analyzing system for electricity data and realization method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026209A1 (en) * 2002-09-05 2006-02-02 Garth Burrill System and method for processing control data
CN1581241A (en) * 2003-08-15 2005-02-16 深圳市科陆电子科技股份有限公司 Long-distance collecting method for electric power
CN101707399A (en) * 2009-11-20 2010-05-12 深圳市科陆电子科技股份有限公司 Method and system for acquiring electric energy information
CN101719315A (en) * 2009-12-23 2010-06-02 山东大学 Method for acquiring dynamic traffic information based on middleware
CN102654531A (en) * 2011-03-04 2012-09-05 河南电力试验研究所 A method and device for supplementing missing power quality data
CN102692558A (en) * 2011-03-23 2012-09-26 沈阳易讯科技股份有限公司 Monitoring and analyzing system for electricity data and realization method thereof
CN102651116A (en) * 2012-03-31 2012-08-29 上海市电力公司 Power load data refining method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李苏扬: "基于J2EE架构的电能量计量系统设计与实现", 《中国优秀硕士学位论文全文数据库工程科技辑Ⅱ辑》, no. 01, 15 January 2010 (2010-01-15) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200395A (en) * 2014-08-22 2014-12-10 国家电网公司 Technology for achieving missing data intelligent automatic additional recording based on automatic additional recording strategy definition
CN106169160A (en) * 2016-06-01 2016-11-30 国网河北省电力公司电力科学研究院 A kind of electricity abnormity diagnosis based on critical point power system and electricity complementing method
CN111127247A (en) * 2019-11-21 2020-05-08 深圳供电局有限公司 Power data collection method, device, computer equipment and storage medium
CN111127247B (en) * 2019-11-21 2024-01-19 深圳供电局有限公司 Electric quantity data acquisition method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103049522B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN103248122B (en) Power failure active reporting system
CN202475009U (en) Comprehensive processing system of failure of power distribution and supply grid
CN106850271B (en) Power distribution master station and terminal communication network fault studying and judging method
CN104578409A (en) Cluster measurement and control device for intelligent transformer substation and system with cluster measurement and control device
CN109639529B (en) Diagnostic method for abnormal remote control command of intelligent substation
CN104156230B (en) The red-black figure implementation method of automation based on debugging system object-oriented data technology
CN103926896A (en) Underground explosive-proof power source monitoring system and method based on network
CN105186697A (en) Remote diagnosis system of IED operating conditions of IEC61850 intelligent substation
CN103545933B (en) I0 interface communication method in intelligent substation on-line monitoring system station
CN102710024A (en) IPv6-based electric transmission and transformation equipment on-line monitoring system
CN112769240A (en) Power plant electrical equipment unified system
CN105162251A (en) Protection apparatus modeling method applicable to protection information system application analysis function
CN103049522B (en) A kind of method automatically substituted for electricity multi-data source
CN202798152U (en) Network layering distributed intelligent regional power grid
CN107944661B (en) Integrated regulation and control system for main network and distribution network
CN106487093A (en) Towards distribution net side distributed photovoltaic integrated operation control system and control method
CN205691664U (en) Electric energy metering system
CN102752374B (en) System and method for storing and accessing power utilization efficacy data
CN103699688A (en) Terminal model for supporting power supply reliability management of terminal user
CN102510073B (en) Data exchange system of large user electricity interactive system/power distribution automation master station system
CN118606858A (en) A distribution network power outage fault analysis method and system
CN103543730A (en) Fault diagnosis system for chip mounters
CN101651361A (en) Integrated automation system of substation
CN103248519A (en) An Auxiliary Analysis and SMS Alarm System for Communication Station Faults
CN202906977U (en) A storage access system of electric energy using efficiency data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant