CN114384787B - Method and device for calibrating clock of electric energy meter - Google Patents

Method and device for calibrating clock of electric energy meter Download PDF

Info

Publication number
CN114384787B
CN114384787B CN202111434256.XA CN202111434256A CN114384787B CN 114384787 B CN114384787 B CN 114384787B CN 202111434256 A CN202111434256 A CN 202111434256A CN 114384787 B CN114384787 B CN 114384787B
Authority
CN
China
Prior art keywords
energy meter
electric energy
clock
target electric
clock information
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.)
Active
Application number
CN202111434256.XA
Other languages
Chinese (zh)
Other versions
CN114384787A (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
State Grid Beijing Electric Power Co Ltd
Qingdao Topscomm Communication Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Qingdao Topscomm Communication 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 Corp of China SGCC, State Grid Beijing Electric Power Co Ltd, Qingdao Topscomm Communication Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202111434256.XA priority Critical patent/CN114384787B/en
Publication of CN114384787A publication Critical patent/CN114384787A/en
Application granted granted Critical
Publication of CN114384787B publication Critical patent/CN114384787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G5/00Setting, i.e. correcting or changing, the time-indication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R11/00Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
    • G01R11/02Constructional details
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G7/00Synchronisation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

本发明公开了一种电能表时钟的校准方法及装置。该发明包括:获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。通过本发明,解决了相关技术中在电能表时钟超时范围较大的情况下,无法进行自动校准的问题。

The invention discloses a calibration method and device for an electric energy meter clock. The invention includes: obtaining the clock information of the target electric energy meter; after receiving the broadcast time adjustment command, calculating the time difference between the system time contained in the broadcast time adjustment command and the clock information of the electric energy meter; determining whether the time difference is Greater than or equal to the preset threshold; when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state. Through the present invention, the problem in the related art that automatic calibration cannot be performed when the electric energy meter clock timeout range is large is solved.

Description

一种电能表时钟的校准方法及装置Calibration method and device for electric energy meter clock

技术领域Technical field

本发明涉及电能表校准领域,具体而言,涉及一种电能表时钟的校准方法及装置。The present invention relates to the field of electric energy meter calibration, and specifically to a calibration method and device for an electric energy meter clock.

背景技术Background technique

相关技术中,随着用电信息采集系统的持续应用、分时费率电价的推广、各等级电压线损的考核计算、停送电事件的上报等环节都对电能表时钟的准确性提出了更高要求。电能表时钟异常不仅影响到用电信息采集的成功率、线损率的有效管控,还容易造成分时费率计量错误,引发客户投诉。时钟异常会导致电能表报警灯闪亮、出现白屏,对居民执行分时电价产生了影响。In related technologies, with the continuous application of electricity consumption information collection systems, the promotion of time-of-use tariffs, assessment and calculation of voltage line losses at various levels, and reporting of power outage events, the accuracy of the energy meter clock has been raised. Higher requirements. Abnormal energy meter clocks not only affect the success rate of electricity consumption information collection and effective control of line loss rates, but can also easily cause time-of-use rate measurement errors and trigger customer complaints. Abnormal clocks will cause the alarm light of the energy meter to flash and a white screen to appear, which will have an impact on residents' implementation of time-of-use electricity prices.

目前,电能表时钟异常的处理方法主要有五点,以下以2009版电能表为例:1)远程校时:对时钟偏差在±5min以内的2009版电能表,使用广播校时命令,在主站可进行远程对时操作处理。2)加密修改:对时钟偏差在5min以外的2009版电能表,相关人员前往现场操作电能表端,采用普通掌机或者笔记本专用程序对时,对时时需手动打开编程键,权限与密码要正确。3)加强管控:对于2009版电能表内置部件损坏以及时钟电池耗尽的电能表可在现场更换损坏部件或电池,避免再次产生时钟异常。同时加强运输及安装工艺管控,避免智能电能表在运输安装过程中出现部件损坏。4)批量更换:对出现大批量时钟内置芯片故障的2009版电能表,要做好记录并及时向生产厂家反映。为保证客户正常用电和电费准确,可先行批量更换。5)定期监测:建立2009版电能表时钟异常定期监测制度,及时发现2009版电能表时钟异常问题,加强对问题的分析处理,提高2009版电能表健康运行水平。At present, there are five main ways to deal with clock abnormalities in electric energy meters. The following takes the 2009 version of the electric energy meter as an example: 1) Remote time correction: For the 2009 version of the electric energy meter whose clock deviation is within ±5min, use the broadcast time correction command on the host computer. The station can perform remote time synchronization operations. 2) Encryption modification: For the 2009 version of the electric energy meter with a clock deviation of more than 5 minutes, the relevant personnel should go to the site to operate the electric energy meter and use an ordinary handheld computer or a special program for laptops to adjust the time. When adjusting the time, the programming key must be manually opened, and the permissions and passwords must be correct. . 3) Strengthen management and control: For electric energy meters with damaged built-in components and depleted clock batteries of the 2009 version, the damaged components or batteries can be replaced on site to avoid clock abnormalities again. At the same time, we will strengthen the management and control of transportation and installation processes to avoid component damage to smart energy meters during transportation and installation. 4) Batch replacement: For 2009 electric energy meters with built-in clock chip failures in large quantities, records must be kept and reported to the manufacturer in a timely manner. In order to ensure customers' normal electricity consumption and accurate electricity bills, batch replacement can be carried out in advance. 5) Regular monitoring: Establish a regular monitoring system for clock anomalies of the 2009 version of the electric energy meter, timely discover the abnormality of the clock of the 2009 version of the electric energy meter, strengthen the analysis and processing of the problems, and improve the healthy operation level of the 2009 version of the electric energy meter.

传统的解决方案远程只能够解决2009版电能表时钟超差5min以内的情况,当2009版电能表时钟超差5min以上时,只能通过人员前往现场,在表端操作2009版电表编程按键对时钟进行校准或者直接更换电能表,不仅维护成本极高,且效率低下。Traditional solutions can only remotely solve the situation where the clock of the 2009 version of the electric energy meter is out of tolerance within 5 minutes. When the clock of the 2009 version of the electric energy meter is out of tolerance by more than 5 minutes, personnel can only go to the site and operate the 2009 version of the electric meter programming button on the meter to set the clock. Calibration or direct replacement of energy meters is not only extremely costly to maintain, but also inefficient.

针对相关技术中存在的上述问题,目前尚未提出有效的解决方案。No effective solution has yet been proposed for the above-mentioned problems existing in related technologies.

发明内容Contents of the invention

本发明的主要目的在于提供一种电能表时钟的校准方法及装置,以解决相关技术中在电能表时钟超时范围较大的情况下,无法进行自动校准的问题。The main purpose of the present invention is to provide a calibration method and device for an electric energy meter clock to solve the problem in the related art that automatic calibration cannot be performed when the electric energy meter clock has a large timeout range.

为了实现上述目的,根据本发明的一个方面,提供了一种电能表时钟的校准方法。该发明包括:获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。In order to achieve the above object, according to one aspect of the present invention, a calibration method for an electric energy meter clock is provided. The invention includes: obtaining the clock information of the target electric energy meter; after receiving the broadcast time adjustment command, calculating the time difference between the system time contained in the broadcast time adjustment command and the clock information of the electric energy meter; determining whether the time difference Greater than or equal to the preset threshold; when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state.

上述地,获取目标电能表的时钟信息包括:依据预设协议,发送读取目标电能表通讯地址的读取命令;依据读取命令,读取目标电能表的通讯地址;依据通讯地址,发送读取数据标识;依据数据标识,读取目标电能表对应的时钟信息。As mentioned above, obtaining the clock information of the target electric energy meter includes: according to the preset protocol, sending a read command to read the communication address of the target electric energy meter; according to the read command, reading the communication address of the target electric energy meter; according to the communication address, sending a read Get the data identifier; based on the data identifier, read the clock information corresponding to the target energy meter.

上述地,在接收到广播校时命令后,计算广播校时命令中包含的系统时间与电能表的时钟信息之间的时间差值之前,该方法还包括:判断广播校时命令是否合法;在广播校时命令合法的情况下,存储广播校时命令中包含的系统时间,并依据广播校时命令触发时钟治理任务。As mentioned above, after receiving the broadcast time adjustment command and before calculating the time difference between the system time contained in the broadcast time adjustment command and the clock information of the electric energy meter, the method further includes: determining whether the broadcast time adjustment command is legal; When the broadcast time adjustment command is legal, the system time included in the broadcast time adjustment command is stored, and the clock management task is triggered based on the broadcast time adjustment command.

上述地,在时间差值小于预设阈值的情况下,该方法还包括:将广播校时命令转发至目标电能表;控制目标电能表将电能表的时钟信息调整至与系统时间一致的时钟信息。As mentioned above, when the time difference is less than the preset threshold, the method also includes: forwarding the broadcast time correction command to the target electric energy meter; controlling the target electric energy meter to adjust the clock information of the electric energy meter to clock information consistent with the system time. .

上述地,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,包括:在时间差值大于等于预设阈值的情况下,控制预设电机转动来带动压杆动作以按压目标电能表的编程按键以使目标电能表进入编程状态,预设电机与编程按键相邻设置;在编程状态下,依据写数据权限对日期信息以及时钟信息进行校准操作。As mentioned above, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state, including: when the time difference is greater than When it is equal to the preset threshold, the preset motor is controlled to rotate to drive the pressure rod action to press the programming button of the target electric energy meter so that the target electric energy meter enters the programming state. The preset motor is set adjacent to the programming button; in the programming state, Calibrate the date information and clock information according to the write data permission.

上述地,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:控制预设电机转动以松开目标电能表的编程按键;在编程按键松开的情况下,控制目标电能表退出编程状态。As mentioned above, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, the method also includes: controlling The preset motor rotates to release the programming button of the target electric energy meter; when the programming button is released, the target electric energy meter is controlled to exit the programming state.

上述地,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:记录并存储校准后的目标电能表的日期信息以及时钟信息。As mentioned above, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, the method also includes: recording And store the date information and clock information of the calibrated target energy meter.

为了实现上述目的,根据本发明的另一方面,提供了一种电能表时钟的校准装置。该装置包括:获取模块,用于获取目标电能表的时钟信息;时钟治理模块,在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定模块,用于判定时间差值是否大于等于预设阈值;时钟治理模块,还用于在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。In order to achieve the above object, according to another aspect of the present invention, a calibration device for an electric energy meter clock is provided. The device includes: an acquisition module, used to obtain the clock information of the target electric energy meter; a clock management module, after receiving the broadcast time adjustment command, calculates the difference between the system time contained in the broadcast time adjustment command and the clock information of the electric energy meter. Time difference; the determination module is used to determine whether the time difference is greater than or equal to the preset threshold; the clock management module is also used to control the target electric energy meter to enter the programming state when the time difference is greater than or equal to the preset threshold, and Calibrate the date information and clock information of the target electric energy meter in the programming state.

为了实现上述目的,根据本申请的另一方面,提供了一种计算机可读存储介质,该计算机可读存储介质包括存储的程序,其中,该程序执行上述任意一项的一种电能表时钟的校准方法。In order to achieve the above object, according to another aspect of the present application, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned power meter clocks. Calibration method.

为了实现上述目的,根据本申请的另一方面,提供了一种处理器,处理器用于运行程序,其中,该程序执行上述任意一项的一种电能表时钟的校准方法。In order to achieve the above object, according to another aspect of the present application, a processor is provided. The processor is configured to run a program, wherein the program executes any one of the above methods for calibrating an electric energy meter clock.

通过本发明,采用以下步骤:获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,解决了相关技术中在电能表时钟超时范围较大的情况下,无法进行自动校准的问题。进而达到了人员无需现场参与,不受超差时间的限制,极大的节省人力物力的效果。Through the present invention, the following steps are adopted: obtain the clock information of the target electric energy meter; after receiving the broadcast time adjustment command, calculate the time difference between the system time contained in the broadcast time adjustment command and the clock information of the electric energy meter; determine Whether the time difference is greater than or equal to the preset threshold; when the time difference is greater than or equal to the preset threshold, the target energy meter is controlled to enter the programming state, and the date information and clock information of the target energy meter are calibrated in the programming state. This solves the problem in related technologies that automatic calibration cannot be performed when the energy meter clock timeout range is large. In this way, personnel do not need to participate on site and are not restricted by out-of-tolerance time, which greatly saves manpower and material resources.

附图说明Description of the drawings

构成本发明的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings forming a part of the present invention are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached picture:

图1是根据本发明实施例提供的一种电能表时钟的校准方法的流程图;Figure 1 is a flow chart of a method for calibrating an energy meter clock according to an embodiment of the present invention;

图2是根据本发明实施例提供的一种电能表时钟的校准装置的示意图。Figure 2 is a schematic diagram of a calibration device for an electric energy meter clock provided according to an embodiment of the present invention.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and embodiments.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of the present invention.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that data so used may be interchanged where appropriate for the embodiments of the invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.

根据本发明的实施例,提供了一种电能表时钟的校准方法。According to an embodiment of the present invention, a calibration method for an electric energy meter clock is provided.

图1是根据本发明实施例的一种电能表时钟的校准方法的流程图。如图1所示,该发明包括以下步骤:Figure 1 is a flow chart of a method for calibrating an energy meter clock according to an embodiment of the present invention. As shown in Figure 1, the invention includes the following steps:

步骤S101,获取目标电能表的时钟信息。Step S101: Obtain the clock information of the target electric energy meter.

上述地,电能表时钟异常对居民执行分时电价造成了不稳定因素,因此供电企业必须及时、准确地对电能表时钟异常做出故障分析判断和处理。本申请实施例中的电能表具体以传统的2009版电能表为例进行说明。As mentioned above, abnormal energy meter clocks have caused instability in residents' implementation of time-of-use electricity prices. Therefore, power supply companies must make timely and accurate fault analysis, judgment and processing of abnormal energy meter clocks. The electric energy meter in the embodiment of this application is specifically described by taking the traditional 2009 version electric energy meter as an example.

上述地,初始化校准系统,获取目标电能表的时钟信息。As mentioned above, the calibration system is initialized and the clock information of the target electric energy meter is obtained.

步骤S102,在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值。Step S102: After receiving the broadcast time adjustment command, calculate the time difference between the system time included in the broadcast time adjustment command and the clock information of the electric energy meter.

上述地,本申请提供了一种通过广播校时命令远程对电能表的时钟信息进行校准的技术方案,具体地,依据广播校时命令来计算系统时间与电能表时钟之间的时间差值,其中,广播校时命令中包含系统时间。As mentioned above, this application provides a technical solution for remotely calibrating the clock information of an electric energy meter through a broadcast time correction command. Specifically, the time difference between the system time and the electric energy meter clock is calculated based on the broadcast time correction command. Among them, the broadcast time adjustment command includes the system time.

需要说明的是,电能表的时钟信息至少包括时钟时间以及日期时间。It should be noted that the clock information of the electric energy meter at least includes clock time and date and time.

步骤S103,判定时间差值是否大于等于预设阈值。Step S103, determine whether the time difference is greater than or equal to a preset threshold.

上述地,在本申请提供的实施例中,优选地,预设阈值为5min,预设阈值可根据不同的场景具体设置。As mentioned above, in the embodiment provided by this application, preferably, the preset threshold is 5 minutes, and the preset threshold can be specifically set according to different scenarios.

步骤S104,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。Step S104: When the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state.

具体地,本申请提供了一种设置有时钟治理模块的电能表,其中,在时钟治理模块上设置有电机以及转动压杆,电机带动转动压杆动作,在校准电能表时钟信息时,电机带动转动压杆动作以按压电能表的编程按键使得电能变进入编程状态。Specifically, this application provides an electric energy meter provided with a clock management module, in which a motor and a rotating pressure rod are provided on the clock management module. The motor drives the rotating pressure rod to move. When calibrating the clock information of the electric energy meter, the motor drives the Turn the pressure lever to press the programming button of the electric energy meter to make the electric energy meter enter the programming state.

上述地,在时间差值大于等于预设阈值的情况下,通过控制时钟治理模块的电机来操作电能表的编程按键,使电能表进入编程状态,在编程状态下自动进行日期时间和时钟时间的校准操作。As mentioned above, when the time difference is greater than or equal to the preset threshold, the programming button of the electric energy meter is operated by controlling the motor of the clock management module, so that the electric energy meter enters the programming state, and the date and time are automatically set in the programming state. Calibration operation.

通过上述方法,本申请可以有效的解决电能表时钟异常问题,即使是时间差值大于预设阈值的场景,无需人员前往表端现场,即可逐一进行处理,极大的节省人力物力,通过上述方法,有效的解决了时钟超差引起的冻结及事件时间标签错误、分时费率的电能表计量错误、线损异常等问题,同时系统自动维护,一旦发现电能表时钟超差,能够及时的进行时钟治理,保障用户数据采集的准确性。Through the above method, this application can effectively solve the problem of abnormal clock of the electric energy meter. Even if the time difference is greater than the preset threshold, it can be processed one by one without the need for personnel to go to the meter site, which greatly saves manpower and material resources. Through the above This method effectively solves problems such as freezing and event time tag errors caused by clock outliers, energy meter measurement errors in time-of-use rates, abnormal line losses, etc. At the same time, the system automatically maintains. Once the energy meter clock is found to be out of tolerance, it can promptly Carry out clock management to ensure the accuracy of user data collection.

在一种可选的实例中,获取目标电能表的时钟信息包括:依据预设协议,发送读取目标电能表通讯地址的读取命令;依据读取命令,读取目标电能表的通讯地址;依据通讯地址,发送读取数据标识;依据数据标识,读取目标电能表对应的时钟信息。In an optional example, obtaining the clock information of the target electric energy meter includes: sending a read command to read the communication address of the target electric energy meter according to a preset protocol; reading the communication address of the target electric energy meter according to the read command; According to the communication address, the read data identification is sent; according to the data identification, the clock information corresponding to the target electric energy meter is read.

上述地,依据DL/T645-2007协议,发送读取目标电能表通讯地址命令,获取目标电能表的通讯地址,成功获取目标电能表通讯地址后,发送读取数据标识:04 00 01 01日期及星期命令,以及读取数据标识:04 00 01 02时间命令,获取目标电能表的时钟信息,并进行存储、维护。In the above place, according to the DL/T645-2007 protocol, send the read communication address command of the target electric energy meter to obtain the communication address of the target electric energy meter. After successfully obtaining the communication address of the target electric energy meter, send the read data identification: 04 00 01 01 date and The day of the week command, and the read data identification: 04 00 01 02 time command, obtain the clock information of the target electric energy meter, and store and maintain it.

在一种可选的实例中,在接收到广播校时命令后,计算广播校时命令中包含的系统时间与电能表的时钟信息之间的时间差值之前,该方法还包括:判断广播校时命令是否合法;在广播校时命令合法的情况下,存储广播校时命令中包含的系统时间,并依据广播校时命令触发时钟治理任务。In an optional example, after receiving the broadcast time correction command and before calculating the time difference between the system time contained in the broadcast time correction command and the clock information of the electric energy meter, the method further includes: determining the broadcast time correction command. Check whether the time command is legal; if the broadcast time adjustment command is legal, store the system time included in the broadcast time adjustment command, and trigger the clock management task based on the broadcast time adjustment command.

上述地,目标电能表的时钟治理模块收到广播校时命令后,首先判断校时的系统时间是否合法,即年月日时分秒是否在有效数据范围内,当判断校时的系统时间合法后,会将校时的系统时间进行存储,并触发时钟治理任务。在时钟治理任务中,会将校时的系统时间和目标电能表的时钟进行差值计算,根据超差时间来确定启动相对应的处理逻辑。As mentioned above, after receiving the broadcast time correction command, the clock management module of the target electric energy meter first determines whether the system time of the correction is legal, that is, whether the year, month, day, hour, minute, and second are within the valid data range. After judging that the system time of the correction is legal, , the system time of the school time will be stored and the clock management task will be triggered. In the clock management task, the difference between the corrected system time and the clock of the target electric energy meter is calculated, and the corresponding processing logic is determined and started based on the out-of-tolerance time.

在一种可选的实例中,在时间差值小于预设阈值的情况下,该方法还包括:将广播校时命令转发至目标电能表;控制目标电能表将电能表的时钟信息调整至与系统时间一致的时钟信息。In an optional example, when the time difference is less than a preset threshold, the method further includes: forwarding a broadcast timing command to the target electric energy meter; controlling the target electric energy meter to adjust the clock information of the electric energy meter to Clock information consistent with system time.

上述地,根据DL/T645-2007协议中的广播校时规定:当从站的日期和时钟与主站的时差在±预设阈值以内时执行广播校时命令,即将从站的日期时钟调整到与命令下达的日期时钟一致。当目标电能表的时钟超差不超过预设阈值时,时钟治理模块直接将广播校时报文转发给目标电能表,目标电能表会将日期时钟调整至广播校时命令下达的日期时钟一致。As mentioned above, according to the broadcast time correction regulations in the DL/T645-2007 protocol: when the time difference between the date and clock of the slave station and the master station is within ± the preset threshold, the broadcast time correction command is executed, that is, the date and clock of the slave station are adjusted to The clock is consistent with the date the command was issued. When the clock deviation of the target electric energy meter does not exceed the preset threshold, the clock management module directly forwards the broadcast school time message to the target electric energy meter, and the target electric energy meter will adjust the date clock to be consistent with the date clock issued by the broadcast time adjustment command.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,包括:在时间差值大于等于预设阈值的情况下,控制预设电机转动来带动压杆动作以按压目标电能表的编程按键以使目标电能表进入编程状态,预设电机与编程按键相邻设置;在编程状态下,依据写数据权限对日期信息以及时钟信息进行校准操作。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state, including : When the time difference is greater than or equal to the preset threshold, control the rotation of the preset motor to drive the pressing rod to press the programming button of the target electric energy meter so that the target electric energy meter enters the programming state. The preset motor and the programming button are set adjacent to each other. ; In the programming state, the date information and clock information are calibrated according to the write data permission.

上述地,当目标电能表的时钟超差超过预设阈值时,无法再通过广播校时来校准,需通过更高权限的写数据操作来进行日期和时间的修改。依据DL/T645-2007协议中的写数据要求,需要编程按键配合。此时控制时钟治理模块的电机转动时带动压杆,通过压杆将目标电能表的编程按键压下,进入编程状态,在编程状态下,便能够通过写数据权限对目标电能表的日期和时钟进行校准,此过程无需人工干预。As mentioned above, when the clock deviation of the target electric energy meter exceeds the preset threshold, it can no longer be calibrated through broadcast time correction, and the date and time need to be modified through a higher authority write data operation. According to the data writing requirements in the DL/T645-2007 protocol, programming buttons are required. At this time, the motor that controls the clock management module drives the pressure rod when it rotates. Press the programming button of the target electric energy meter through the pressure rod to enter the programming state. In the programming state, the date and clock of the target electric energy meter can be set by writing data permission. Perform calibration without manual intervention.

上述地,当电能表进入编程状态后,依据DL/T645-2007协议中的写数据格式要求,写数据控制码:C=14H,数据域长度:L=04H+04H(密码)+04H(操作者代码)+m(数据长度),数据域:DI0DI1DI2DI3(数据标识)+PAP0P1P2(密码)+C0C1C2C3(操作者代码)+DATA(数据)。密码默认使用000000,权限02,通过外部可设,操作者代码默认使用12345678。As mentioned above, when the electric energy meter enters the programming state, according to the writing data format requirements in the DL/T645-2007 protocol, the writing data control code: C=14H, the data field length: L=04H+04H (password)+04H (operation operator code) + m (data length), data field: DI0DI1DI2DI3 (data identification) + PAP0P1P2 (password) + C0C1C2C3 (operator code) + DATA (data). The default password is 000000, the permission is 02, which can be set externally, and the operator code is 12345678 by default.

首先设置电能表的日期和星期,依据DL/T645-2007协议中数据标识04 00 01 01日期及星期,单位年月日星期,需根据广播校时命令的日期,计算出星期,发送写日期及星期命令给电能表,校准日期至主站日期,然后设置电能表的时间,依据DL/T645-2007协议中数据标识04 00 01 02时间,单位时分秒,提取广播校时命令中的时分秒,发送写时间命令给电能表,校准时间至主站系统时间,上述流程完毕后,电能表时钟校准至主站系统时钟。First, set the date and week of the electric energy meter. According to the data identification 04 00 01 01 date and week in the DL/T645-2007 protocol, the unit is year, month, day and week. The day of the week needs to be calculated based on the date of the broadcast time adjustment command, and the written date and time are sent. Give the day of the week command to the electric energy meter, calibrate the date to the master station date, and then set the time of the electric energy meter. According to the data identification 04 00 01 02 time in the DL/T645-2007 protocol, the unit is hours, minutes and seconds, and extract the hours, minutes and seconds in the broadcast time adjustment command. Send a write time command to the electric energy meter to calibrate the time to the master station system time. After the above process is completed, the electric energy meter clock is calibrated to the master station system clock.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:控制预设电机转动以松开目标电能表的编程按键;在编程按键松开的情况下,控制目标电能表退出编程状态。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, The method also includes: controlling the rotation of the preset motor to release the programming button of the target electric energy meter; and controlling the target electric energy meter to exit the programming state when the programming button is released.

上述地,对电能表的日期和时间校准后,控制时钟治理模块的电机,电机转动时带动压杆,通过压杆将电能表的编程按键压下,退出编程状态,防止在编程状态下进行其他误操作。As mentioned above, after calibrating the date and time of the electric energy meter, control the motor of the clock management module. When the motor rotates, it drives the pressure rod. Press the programming button of the electric energy meter through the pressure rod to exit the programming state and prevent other operations in the programming state. Misoperation.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:记录并存储校准后的目标电能表的日期信息以及时钟信息。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, The method also includes: recording and storing date information and clock information of the calibrated target electric energy meter.

上述地,对电能表时钟校准完成后,重新获取电能表的日期和时间,对存储的电能表时钟进行同步,当再次收到广播校时命令后,才能够准确的计算出系统时钟与电能表的时钟超差,从而进行处理。As mentioned above, after the electric energy meter clock is calibrated, the date and time of the electric energy meter are reacquired, and the stored electric energy meter clock is synchronized. Only when the broadcast time correction command is received again can the system clock and electric energy meter be accurately calculated. The clock is out of tolerance, so it is processed.

本发明实施例提供的一种电能表时钟的校准方法,通过获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,解决了相关技术中在电能表时钟超时范围较大的情况下,无法进行自动校准的问题。进而达到了人员无需现场参与,不受超差时间的限制,极大的节省人力物力的效果。An embodiment of the present invention provides a method for calibrating an electric energy meter clock by obtaining clock information of a target electric energy meter; after receiving a broadcast time adjustment command, calculating the system time and clock information of the electric energy meter contained in the broadcast time adjustment command. The time difference between the Information and clock information are used to perform calibration operations, which solves the problem in related technologies that automatic calibration cannot be performed when the energy meter clock timeout range is large. In this way, personnel do not need to participate on site and are not restricted by out-of-tolerance time, which greatly saves manpower and material resources.

需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although a logical sequence is shown in the flowchart, in some cases, The steps shown or described may be performed in a different order than here.

本发明实施例还提供了一种电能表时钟的校准装置,需要说明的是,本发明实施例的一种电能表时钟的校准装置可以用于执行本发明实施例所提供的用于一种电能表时钟的校准方法。以下对本发明实施例提供的一种电能表时钟的校准装置进行介绍。The embodiment of the present invention also provides a calibration device for an electric energy meter clock. It should be noted that the calibration device for an electric energy meter clock according to the embodiment of the present invention can be used to perform the method for an electric energy meter clock provided by the embodiment of the present invention. How to calibrate a watch clock. The following is an introduction to a calibration device for an electric energy meter clock provided by an embodiment of the present invention.

图2是根据本发明实施例的一种电能表时钟的校准装置的示意图。如图2所示,该装置包括:获取模块201,用于获取目标电能表的时钟信息;时钟治理模块202,在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定模块203,用于判定时间差值是否大于等于预设阈值;时钟治理模块202,还用于在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。Figure 2 is a schematic diagram of a calibration device for an electric energy meter clock according to an embodiment of the present invention. As shown in Figure 2, the device includes: an acquisition module 201, used to obtain the clock information of the target electric energy meter; a clock management module 202, after receiving the broadcast time adjustment command, calculates the system time and the system time included in the broadcast time adjustment command. The time difference between the clock information of the electric energy meter; the determination module 203 is used to determine whether the time difference is greater than or equal to the preset threshold; the clock management module 202 is also used to determine whether the time difference is greater than or equal to the preset threshold. Control the target electric energy meter to enter the programming state, and perform calibration operations on the date information and clock information of the target electric energy meter in the programming state.

在一种可选的实例中,获取模块包括:第一发送子模块,用于依据预设协议,发送读取目标电能表通讯地址的读取命令;第一读取子模块,用于依据读取命令,读取目标电能表的通讯地址;第二发送子模块,用于依据通讯地址,发送读取数据标识;第二读取子模块,用于依据数据标识,读取目标电能表对应的时钟信息。In an optional example, the acquisition module includes: a first sending sub-module, used to send a read command to read the communication address of the target electric energy meter according to the preset protocol; a first reading sub-module, used to read the communication address of the target electric energy meter according to the preset protocol; Get the command and read the communication address of the target electric energy meter; the second sending sub-module is used to send the read data identification according to the communication address; the second reading sub-module is used to read the corresponding data of the target electric energy meter according to the data identification. Clock information.

在一种可选的实例中,该装置还包括:判断模块,用于在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值之前,判断广播校时命令是否合法;第一存储模块,用于在广播校时命令合法的情况下,存储广播校时命令中包含的系统时间,并依据广播校时命令触发时钟治理任务。In an optional example, the device further includes: a judgment module, configured to calculate the time difference between the system time included in the broadcast time adjustment command and the clock information of the electric energy meter after receiving the broadcast time adjustment command. Before the value, determine whether the broadcast time adjustment command is legal; the first storage module is used to store the system time included in the broadcast time adjustment command when the broadcast time adjustment command is legal, and trigger the clock management task based on the broadcast time adjustment command.

在一种可选的实例中,包括:时钟治理模块202,还用于在时间差值小于预设阈值的情况下,将广播校时命令转发至目标电能表;时钟治理模块,还用于控制目标电能表将电能表的时钟信息调整至与系统时间一致的时钟信息。In an optional example, it includes: a clock management module 202, which is also used to forward the broadcast time adjustment command to the target electric energy meter when the time difference is less than a preset threshold; a clock management module, which is also used to control The target electric energy meter adjusts the clock information of the electric energy meter to the clock information consistent with the system time.

在一种可选的实例中,时钟治理模块202包括:控制子模块,用于在时间差值大于等于预设阈值的情况下,控制预设电机转动来带动压杆动作以按压目标电能表的编程按键以使目标电能表进入编程状态,预设电机与编程按键相邻设置;校准子模块,用于在编程状态下,依据写数据权限对日期信息以及时钟信息进行校准操作。In an optional example, the clock management module 202 includes: a control submodule, configured to control the rotation of the preset motor to drive the pressing rod action to press the target electric energy meter when the time difference is greater than or equal to the preset threshold. The programming button is used to make the target energy meter enter the programming state, and the preset motor is set adjacent to the programming button; the calibration submodule is used to calibrate the date information and clock information in the programming state according to the write data permission.

在一种可选的实例中,包括:时钟治理模块202还用于在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,控制预设电机转动以松开目标电能表的编程按键;在编程按键松开的情况下,控制目标电能表退出编程状态。In an optional example, the clock management module 202 is also configured to control the target electric energy meter to enter a programming state when the time difference is greater than or equal to a preset threshold, and to update the date of the target electric energy meter in the programming state. After performing the calibration operation on the information and clock information, the preset motor is controlled to rotate to release the programming button of the target electric energy meter; when the programming button is released, the target electric energy meter is controlled to exit the programming state.

在一种可选的实例中,该装置还包括:第二存储模块,用于在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,记录并存储校准后的目标电能表的日期信息以及时钟信息。In an optional example, the device further includes: a second storage module, configured to control the target electric energy meter to enter the programming state when the time difference is greater than or equal to the preset threshold, and to control the target electric energy meter in the programming state. After the date information and clock information of the meter are calibrated, the date information and clock information of the calibrated target electric energy meter are recorded and stored.

本发明实施例提供的一种电能表时钟的校准装置,通过获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,解决了相关技术中在电能表时钟超时范围较大的情况下,无法进行自动校准的问题,进而达到了人员无需现场参与,不受超差时间的限制,极大的节省人力物力的效果。An embodiment of the present invention provides a device for calibrating an electric energy meter clock by obtaining clock information of a target electric energy meter; after receiving a broadcast time correction command, it calculates the system time and the clock information of the electric energy meter contained in the broadcast time correction command. The time difference between the Information and clock information are used to perform calibration operations, which solves the problem in related technologies that automatic calibration cannot be performed when the energy meter clock timeout range is large, thereby achieving the goal of eliminating the need for personnel to participate on site and not being restricted by the out-of-tolerance time, which greatly The effect of saving manpower and material resources.

所述一种电能表时钟的校准装置包括处理器和存储器,上述获取模块201等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The calibration device for an electric energy meter clock includes a processor and a memory. The acquisition module 201 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来解决相关技术中在电能表时钟超时范围较大的情况下,无法进行自动校准的问题。The processor contains a core, which retrieves the corresponding program unit from the memory. One or more cores can be set, and the problem in related technologies that automatic calibration cannot be performed when the energy meter clock timeout range is large can be solved by adjusting the core parameters.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。Memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory includes at least one memory chip.

本发明实施例提供了一种计算机可读存储介质,其上存储有程序,该程序被处理器执行时实现所述一种电能表时钟的校准方法。Embodiments of the present invention provide a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for calibrating an electric energy meter clock is implemented.

本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行所述一种电能表时钟的校准方法。An embodiment of the present invention provides a processor, the processor being used to run a program, wherein when the program is running, the method for calibrating an electric energy meter clock is executed.

本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。The embodiment of the present invention provides a device. The device includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the following steps: obtains the clock information of the target electric energy meter; After receiving the broadcast time correction command, calculate the time difference between the system time contained in the broadcast time correction command and the clock information of the energy meter; determine whether the time difference is greater than or equal to the preset threshold; when the time difference is greater than or equal to the preset When the threshold is reached, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state.

在一种可选的实例中,获取目标电能表的时钟信息包括:依据预设协议,发送读取目标电能表通讯地址的读取命令;依据读取命令,读取目标电能表的通讯地址;依据通讯地址,发送读取数据标识;依据数据标识,读取目标电能表对应的时钟信息。In an optional example, obtaining the clock information of the target electric energy meter includes: sending a read command to read the communication address of the target electric energy meter according to a preset protocol; reading the communication address of the target electric energy meter according to the read command; According to the communication address, the read data identification is sent; according to the data identification, the clock information corresponding to the target electric energy meter is read.

在一种可选的实例中,在接收到广播校时命令后,计算广播校时命令中包含的系统时间与电能表的时钟信息之间的时间差值之前,该方法还包括:判断广播校时命令是否合法;在广播校时命令合法的情况下,存储广播校时命令中包含的系统时间,并依据广播校时命令触发时钟治理任务。In an optional example, after receiving the broadcast time correction command and before calculating the time difference between the system time contained in the broadcast time correction command and the clock information of the electric energy meter, the method further includes: determining the broadcast time correction command. Check whether the time command is legal; if the broadcast time adjustment command is legal, store the system time included in the broadcast time adjustment command, and trigger the clock management task based on the broadcast time adjustment command.

在一种可选的实例中,在时间差值小于预设阈值的情况下,该方法还包括:将广播校时命令转发至目标电能表;控制目标电能表将电能表的时钟信息调整至与系统时间一致的时钟信息。In an optional example, when the time difference is less than a preset threshold, the method further includes: forwarding a broadcast timing command to the target electric energy meter; controlling the target electric energy meter to adjust the clock information of the electric energy meter to Clock information consistent with system time.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,包括:在时间差值大于等于预设阈值的情况下,控制预设电机转动来带动压杆动作以按压目标电能表的编程按键以使目标电能表进入编程状态,预设电机与编程按键相邻设置;在编程状态下,依据写数据权限对日期信息以及时钟信息进行校准操作。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state, including : When the time difference is greater than or equal to the preset threshold, control the rotation of the preset motor to drive the pressing rod to press the programming button of the target electric energy meter so that the target electric energy meter enters the programming state. The preset motor and the programming button are set adjacent to each other. ; In the programming state, the date information and clock information are calibrated according to the write data permission.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:控制预设电机转动以松开目标电能表的编程按键;在编程按键松开的情况下,控制目标电能表退出编程状态。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, The method also includes: controlling the rotation of the preset motor to release the programming button of the target electric energy meter; and controlling the target electric energy meter to exit the programming state when the programming button is released.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:记录并存储校准后的目标电能表的日期信息以及时钟信息。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, The method also includes: recording and storing date information and clock information of the calibrated target electric energy meter.

本文中的设备可以是服务器、PC、PAD、手机等。The devices in this article can be servers, PCs, PADs, mobile phones, etc.

本发明还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:获取目标电能表的时钟信息;在接收到广播校时命令后,计算广播校时命令中包含上的系统时间与电能表的时钟信息之间的时间差值;判定时间差值是否大于等于预设阈值;在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作。The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program with the following method steps for initialization: obtaining the clock information of the target electric energy meter; after receiving the broadcast time correction command, calculating the broadcast time The time difference between the system time contained in the time correction command and the clock information of the electric energy meter; determine whether the time difference is greater than or equal to the preset threshold; when the time difference is greater than or equal to the preset threshold, control the target energy meter Enter the programming state, and perform calibration operations on the date information and clock information of the target energy meter in the programming state.

在一种可选的实例中,获取目标电能表的时钟信息包括:依据预设协议,发送读取目标电能表通讯地址的读取命令;依据读取命令,读取目标电能表的通讯地址;依据通讯地址,发送读取数据标识;依据数据标识,读取目标电能表对应的时钟信息。In an optional example, obtaining the clock information of the target electric energy meter includes: sending a read command to read the communication address of the target electric energy meter according to a preset protocol; reading the communication address of the target electric energy meter according to the read command; According to the communication address, the read data identification is sent; according to the data identification, the clock information corresponding to the target electric energy meter is read.

在一种可选的实例中,在接收到广播校时命令后,计算广播校时命令中包含的系统时间与电能表的时钟信息之间的时间差值之前,该方法还包括:判断广播校时命令是否合法;在广播校时命令合法的情况下,存储广播校时命令中包含的系统时间,并依据广播校时命令触发时钟治理任务。In an optional example, after receiving the broadcast time correction command and before calculating the time difference between the system time contained in the broadcast time correction command and the clock information of the electric energy meter, the method further includes: determining the broadcast time correction command. Check whether the time command is legal; if the broadcast time adjustment command is legal, store the system time included in the broadcast time adjustment command, and trigger the clock management task based on the broadcast time adjustment command.

在一种可选的实例中,在时间差值小于预设阈值的情况下,该方法还包括:将广播校时命令转发至目标电能表;控制目标电能表将电能表的时钟信息调整至与系统时间一致的时钟信息。In an optional example, when the time difference is less than a preset threshold, the method further includes: forwarding a broadcast timing command to the target electric energy meter; controlling the target electric energy meter to adjust the clock information of the electric energy meter to Clock information consistent with system time.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作,包括:在时间差值大于等于预设阈值的情况下,控制预设电机转动来带动压杆动作以按压目标电能表的编程按键以使目标电能表进入编程状态,预设电机与编程按键相邻设置;在编程状态下,依据写数据权限对日期信息以及时钟信息进行校准操作。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and the date information and clock information of the target electric energy meter are calibrated in the programming state, including : When the time difference is greater than or equal to the preset threshold, control the rotation of the preset motor to drive the pressing rod to press the programming button of the target electric energy meter so that the target electric energy meter enters the programming state. The preset motor and the programming button are set adjacent to each other. ; In the programming state, the date information and clock information are calibrated according to the write data permission.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:控制预设电机转动以松开目标电能表的编程按键;在编程按键松开的情况下,控制目标电能表退出编程状态。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, The method also includes: controlling the rotation of the preset motor to release the programming button of the target electric energy meter; and controlling the target electric energy meter to exit the programming state when the programming button is released.

在一种可选的实例中,在时间差值大于等于预设阈值的情况下,控制目标电能表进入编程状态,并在编程状态下对目标电能表的日期信息以及时钟信息进行校准操作之后,该方法还包括:记录并存储校准后的目标电能表的日期信息以及时钟信息。In an optional example, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter the programming state, and after the date information and clock information of the target electric energy meter are calibrated in the programming state, The method also includes: recording and storing date information and clock information of the calibrated target electric energy meter.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in one process or multiple processes of the flowchart and/or one block or multiple blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-volatile memory in computer-readable media, random access memory (RAM), and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory. (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium can be used to store information that can be accessed by a computing device. As defined in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes Other elements are not expressly listed or are inherent to the process, method, article or equipment. Without further limitation, an element qualified by the statement "comprises a..." does not exclude the presence of additional identical elements in the process, method, good, or device that includes the element.

本领域技术人员应明白,本发明的实施例可提供为方法、系统或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Thus, the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above are only examples of the present invention and are not intended to limit the present invention. Various modifications and variations will occur to the present invention to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the claims of the present invention.

Claims (9)

1.一种电能表时钟的校准方法,其特征在于,包括:1. A method for calibrating an electric energy meter clock, which is characterized in that it includes: 获取目标电能表的时钟信息;Obtain the clock information of the target energy meter; 在接收到广播校时命令后,计算所述广播校时命令中包含的系统时间与所述电能表的时钟信息之间的时间差值;After receiving the broadcast time correction command, calculate the time difference between the system time contained in the broadcast time correction command and the clock information of the electric energy meter; 判定所述时间差值是否大于等于预设阈值;Determine whether the time difference is greater than or equal to a preset threshold; 在所述时间差值大于等于所述预设阈值的情况下,控制所述目标电能表进入编程状态,并在所述编程状态下对所述目标电能表的日期信息以及时钟信息进行校准操作,所述目标电能表的所述时钟信息至少包括时钟时间以及日期时间;When the time difference is greater than or equal to the preset threshold, control the target electric energy meter to enter a programming state, and perform a calibration operation on the date information and clock information of the target electric energy meter in the programming state, The clock information of the target electric energy meter includes at least clock time and date and time; 其中,在所述时间差值大于等于所述预设阈值的情况下,控制预设电机转动来带动压杆动作以按压所述目标电能表的编程按键以使所述目标电能表进入所述编程状态,所述预设电机与所述编程按键相邻设置;Wherein, when the time difference is greater than or equal to the preset threshold, the preset motor is controlled to rotate to drive the pressing rod to press the programming button of the target electric energy meter so that the target electric energy meter enters the programming. state, the preset motor is set adjacent to the programming button; 在所述编程状态下,依据写数据权限对所述日期信息以及所述时钟信息进行校准操作。In the programming state, the date information and the clock information are calibrated according to the write data permission. 2.根据权利要求1所述的方法,其特征在于,获取目标电能表的时钟信息包括:2. The method according to claim 1, characterized in that obtaining the clock information of the target electric energy meter includes: 依据预设协议,发送读取所述目标电能表通讯地址的读取命令;According to the preset protocol, send a read command to read the communication address of the target electric energy meter; 依据所述读取命令,读取所述目标电能表的通讯地址;According to the read command, read the communication address of the target electric energy meter; 依据所述通讯地址,发送读取数据标识;According to the communication address, send the read data identification; 依据所述数据标识,读取所述目标电能表对应的所述时钟信息。According to the data identification, read the clock information corresponding to the target electric energy meter. 3.根据权利要求1所述的方法,其特征在于,在接收到广播校时命令后,计算所述广播校时命令中包含的系统时间与所述电能表的时钟信息之间的时间差值之前,所述方法还包括:3. The method according to claim 1, characterized in that, after receiving the broadcast time correction command, calculating the time difference between the system time contained in the broadcast time correction command and the clock information of the electric energy meter. Previously, the method also included: 判断所述广播校时命令是否合法;Determine whether the broadcast time adjustment order is legal; 在所述广播校时命令合法的情况下,存储所述广播校时命令中包含的所述系统时间,并依据所述广播校时命令触发时钟治理任务。When the broadcast time adjustment command is legal, the system time included in the broadcast time adjustment command is stored, and a clock management task is triggered based on the broadcast time adjustment command. 4.根据权利要求1所述的方法,其特征在于,在所述时间差值小于所述预设阈值的情况下,所述方法还包括:4. The method of claim 1, wherein when the time difference is less than the preset threshold, the method further includes: 将所述广播校时命令转发至所述目标电能表;Forward the broadcast time adjustment command to the target electric energy meter; 控制所述目标电能表将所述电能表的时钟信息调整至与所述系统时间一致的时钟信息。The target electric energy meter is controlled to adjust the clock information of the electric energy meter to clock information consistent with the system time. 5.根据权利要求1所述的方法,其特征在于,在所述时间差值大于等于所述预设阈值的情况下,控制所述目标电能表进入编程状态,并在所述编程状态下对所述目标电能表的日期信息以及时钟信息进行校准操作之后,所述方法还包括:5. The method according to claim 1, characterized in that when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter a programming state, and the target electric energy meter is controlled in the programming state. After the date information and clock information of the target electric energy meter are calibrated, the method further includes: 控制所述预设电机转动以松开所述目标电能表的编程按键;Control the rotation of the preset motor to release the programming button of the target electric energy meter; 在所述编程按键松开的情况下,控制所述目标电能表退出所述编程状态。When the programming button is released, the target electric energy meter is controlled to exit the programming state. 6.根据权利要求1所述的方法,其特征在于,在所述时间差值大于等于所述预设阈值的情况下,控制所述目标电能表进入编程状态,并在所述编程状态下对所述目标电能表的日期信息以及时钟信息进行校准操作之后,所述方法还包括:6. The method according to claim 1, characterized in that, when the time difference is greater than or equal to the preset threshold, the target electric energy meter is controlled to enter a programming state, and the target electric energy meter is controlled in the programming state. After the date information and clock information of the target electric energy meter are calibrated, the method further includes: 记录并存储校准后的所述目标电能表的所述日期信息以及所述时钟信息。Record and store the date information and the clock information of the calibrated target electric energy meter. 7.一种电能表时钟的校准装置,其特征在于,包括:7. A calibration device for an electric energy meter clock, characterized in that it includes: 获取模块,用于获取目标电能表的时钟信息;The acquisition module is used to obtain the clock information of the target electric energy meter; 时钟治理模块,在接收到广播校时命令后,计算所述广播校时命令中包含的系统时间与所述电能表的时钟信息之间的时间差值;The clock management module, after receiving the broadcast time adjustment command, calculates the time difference between the system time contained in the broadcast time adjustment command and the clock information of the electric energy meter; 判定模块,用于判定所述时间差值是否大于等于预设阈值;A determination module, used to determine whether the time difference is greater than or equal to a preset threshold; 所述时钟治理模块,还用于在所述时间差值大于等于所述预设阈值的情况下,控制所述目标电能表进入编程状态,并在所述编程状态下对所述目标电能表的日期信息以及时钟信息进行校准操作所述目标电能表的所述时钟信息至少包括时钟时间以及日期时间;The clock management module is also configured to control the target electric energy meter to enter a programming state when the time difference is greater than or equal to the preset threshold, and to control the target electric energy meter in the programming state. Date information and clock information are calibrated. The clock information of the target electric energy meter at least includes clock time and date time; 控制模块,用于在所述时间差值大于等于所述预设阈值的情况下,控制预设电机转动来带动压杆动作以按压所述目标电能表的编程按键以使所述目标电能表进入所述编程状态,所述预设电机与所述编程按键相邻设置;A control module configured to, when the time difference is greater than or equal to the preset threshold, control the rotation of the preset motor to drive the pressing rod to press the programming button of the target electric energy meter so that the target electric energy meter enters In the programming state, the preset motor is arranged adjacent to the programming button; 校准模块,用于在所述编程状态下,依据写数据权限对所述日期信息以及所述时钟信息进行校准操作。A calibration module, configured to perform calibration operations on the date information and the clock information according to the write data permission in the programming state. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行权利要求1至6中任意一项所述一种电能表时钟的校准方法。8. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein when the program is run, the device where the computer-readable storage medium is located is controlled to execute claims 1 to 6 A method for calibrating an electric energy meter clock according to any one of the above. 9.一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至6中任意一项所述一种电能表时钟的校准方法。9. A processor, characterized in that the processor is configured to run a program, wherein when the program is run, the method for calibrating an electric energy meter clock according to any one of claims 1 to 6 is executed.
CN202111434256.XA 2021-11-29 2021-11-29 Method and device for calibrating clock of electric energy meter Active CN114384787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111434256.XA CN114384787B (en) 2021-11-29 2021-11-29 Method and device for calibrating clock of electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111434256.XA CN114384787B (en) 2021-11-29 2021-11-29 Method and device for calibrating clock of electric energy meter

Publications (2)

Publication Number Publication Date
CN114384787A CN114384787A (en) 2022-04-22
CN114384787B true CN114384787B (en) 2024-01-23

Family

ID=81195964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111434256.XA Active CN114384787B (en) 2021-11-29 2021-11-29 Method and device for calibrating clock of electric energy meter

Country Status (1)

Country Link
CN (1) CN114384787B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114815573B (en) * 2022-05-11 2023-10-27 宁波三星医疗电气股份有限公司 Ammeter time calibration method and device, electronic equipment and storage medium
CN115292099B (en) * 2022-09-26 2023-01-13 浙江正泰仪器仪表有限责任公司 Electric energy meter clock processing method and device and storage medium
CN115657440A (en) * 2022-10-14 2023-01-31 广西电网有限责任公司柳州供电局 Manual adjustment timing and intelligent automatic timing device for electric energy meter clock
CN115877696A (en) * 2022-11-17 2023-03-31 中通客车股份有限公司 Vehicle-mounted terminal offline timing method and system

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU815709A1 (en) * 1979-05-25 1981-03-23 Владимирский Политехнический Инсти-Тут Electric motor for time-pieces
CN2146729Y (en) * 1992-07-10 1993-11-17 李鹏生 24 hours mechanical programming timing switch
US5557585A (en) * 1993-08-25 1996-09-17 Sony Corp. Broadcast signal receiver which automatically sets an internal clock
JP2000074960A (en) * 1998-08-31 2000-03-14 Mitsubishi Electric Corp Method and device for metering watthour for every time zone
JP2003227889A (en) * 2002-02-01 2003-08-15 Matsushita Electric Ind Co Ltd Water heater
CN201886042U (en) * 2010-09-09 2011-06-29 深圳市森晖电子有限公司 Smart electricity meter for state grid single-phase carrier long-distance prepayment
CN102253261A (en) * 2011-04-19 2011-11-23 浙江省电力公司 Device and method for automatically triggering programmable switch of electric energy meter
WO2012013433A1 (en) * 2010-07-28 2012-02-02 Rwe Ag Saving and checking the system time of a charging station
WO2012025311A2 (en) * 2010-08-27 2012-03-01 Rwe Ag Securing and synchronizing the system time of a charging station
CN202339407U (en) * 2011-11-07 2012-07-18 河南省电力公司计量中心 Mechanism capable of automatically pressing down programming switch key of electric energy meter
CN103513568A (en) * 2013-09-24 2014-01-15 国家电网公司 Automatic time comparing method capable of breaking limit of intelligent electric power meter hardware
CN203737634U (en) * 2014-03-20 2014-07-30 广西云涌科技有限公司 Electric energy meter automatic cleaning device
CN104734338A (en) * 2013-12-20 2015-06-24 国家电网公司 Clock monitoring method, device and system of transformer substations
CN206388016U (en) * 2016-12-13 2017-08-08 东莞市准点塑胶电子有限公司 A pointer-type bluetooth intelligent timing clock movement
CN107991643A (en) * 2017-11-14 2018-05-04 国网福建省电力有限公司 A kind of clock of power meter bearing calibration
CN109062025A (en) * 2018-08-13 2018-12-21 云南电网有限责任公司大理供电局 A method of it introducing GPS external clock and corrects electric energy meter internal clocking failure
CN110320791A (en) * 2019-06-20 2019-10-11 国网湖南省电力有限公司 A kind of power information acquisition system clock management method and device
CN210181210U (en) * 2019-06-27 2020-03-24 南方电网科学研究院有限责任公司 Electric energy meter key closing detection system
CN111355552A (en) * 2020-02-14 2020-06-30 国网新疆电力有限公司电力科学研究院 Electric energy meter clock remote time synchronization management method and system
CN112511259A (en) * 2020-12-18 2021-03-16 南方电网电力科技股份有限公司 Intelligent terminal clock management method and device, storage medium and terminal equipment
CN113556629A (en) * 2021-06-02 2021-10-26 天津大学 A kind of smart meter error remote estimation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4831154B2 (en) * 2008-09-30 2011-12-07 ブラザー工業株式会社 Timing device

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU815709A1 (en) * 1979-05-25 1981-03-23 Владимирский Политехнический Инсти-Тут Electric motor for time-pieces
CN2146729Y (en) * 1992-07-10 1993-11-17 李鹏生 24 hours mechanical programming timing switch
US5557585A (en) * 1993-08-25 1996-09-17 Sony Corp. Broadcast signal receiver which automatically sets an internal clock
JP2000074960A (en) * 1998-08-31 2000-03-14 Mitsubishi Electric Corp Method and device for metering watthour for every time zone
JP2003227889A (en) * 2002-02-01 2003-08-15 Matsushita Electric Ind Co Ltd Water heater
WO2012013433A1 (en) * 2010-07-28 2012-02-02 Rwe Ag Saving and checking the system time of a charging station
WO2012025311A2 (en) * 2010-08-27 2012-03-01 Rwe Ag Securing and synchronizing the system time of a charging station
CN201886042U (en) * 2010-09-09 2011-06-29 深圳市森晖电子有限公司 Smart electricity meter for state grid single-phase carrier long-distance prepayment
CN102253261A (en) * 2011-04-19 2011-11-23 浙江省电力公司 Device and method for automatically triggering programmable switch of electric energy meter
CN202339407U (en) * 2011-11-07 2012-07-18 河南省电力公司计量中心 Mechanism capable of automatically pressing down programming switch key of electric energy meter
CN103513568A (en) * 2013-09-24 2014-01-15 国家电网公司 Automatic time comparing method capable of breaking limit of intelligent electric power meter hardware
CN104734338A (en) * 2013-12-20 2015-06-24 国家电网公司 Clock monitoring method, device and system of transformer substations
CN203737634U (en) * 2014-03-20 2014-07-30 广西云涌科技有限公司 Electric energy meter automatic cleaning device
CN206388016U (en) * 2016-12-13 2017-08-08 东莞市准点塑胶电子有限公司 A pointer-type bluetooth intelligent timing clock movement
CN107991643A (en) * 2017-11-14 2018-05-04 国网福建省电力有限公司 A kind of clock of power meter bearing calibration
CN109062025A (en) * 2018-08-13 2018-12-21 云南电网有限责任公司大理供电局 A method of it introducing GPS external clock and corrects electric energy meter internal clocking failure
CN110320791A (en) * 2019-06-20 2019-10-11 国网湖南省电力有限公司 A kind of power information acquisition system clock management method and device
CN210181210U (en) * 2019-06-27 2020-03-24 南方电网科学研究院有限责任公司 Electric energy meter key closing detection system
CN111355552A (en) * 2020-02-14 2020-06-30 国网新疆电力有限公司电力科学研究院 Electric energy meter clock remote time synchronization management method and system
CN112511259A (en) * 2020-12-18 2021-03-16 南方电网电力科技股份有限公司 Intelligent terminal clock management method and device, storage medium and terminal equipment
CN113556629A (en) * 2021-06-02 2021-10-26 天津大学 A kind of smart meter error remote estimation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于GPS 标准时钟的智能电能表时钟同步校准技术开发和应用;黄建硕 等;电子测试;全文 *
基于同步时钟电能质量检测技术研究;张宗超;中国优秀硕士学位论文全文数据库;全文 *

Also Published As

Publication number Publication date
CN114384787A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN114384787B (en) Method and device for calibrating clock of electric energy meter
US12197599B2 (en) Method and apparatus for managing information about measurement device preliminary class
CN105308609B (en) The system and method for storing event data
US20120060151A1 (en) System and method for updating firmware
US10580048B2 (en) Synchronizing a cost estimate on an electronic device
US20190353709A1 (en) Trusted battery meter and battery monitoring system
CN110300017B (en) Standard configuration generating device and method and network equipment configuration error correcting device and method
EP3855371A2 (en) Method and apparatus for managing measurement device based on blockchain
US20130046493A1 (en) Systems and methods for data anomaly detection
CN105974192A (en) Electric energy meter data interface satisfying IR46 metering independence requirements and verifying method
CN107369856A (en) Battery recording management system
CN109062025A (en) A method of it introducing GPS external clock and corrects electric energy meter internal clocking failure
US9424742B1 (en) Notification system, method, and computer application based on decision rules for evaluating a plurality of utility meter conditions
CN114173216B (en) Electric energy meter on-site meter reading method, device, on-site meter reading terminal, storage medium and system
CN113986658B (en) Charging method, device, equipment and medium based on computing management platform
RU197324U1 (en) INTELLIGENT METER OF ELECTRIC ENERGY WITH REMOTE CONTROL OF ENCRYPTION OF INFORMATION
US20180074123A1 (en) System Test Mode For Electricity Meter In A Metering Network
JP2019518254A (en) System and method for coping with outages in utility systems
CN113589006B (en) Electric energy meter operation clock control method
CN114064354A (en) Dual-interface independent backup data storage module and electronic instrument analysis and processing method
CN113358924B (en) A multi-threaded dual-core smart meter time-sharing measurement processing method and device
CN113125938A (en) Aging test monitoring method and system
CN112114193B (en) Method for metering single chip microcomputer power loss prevention through upgrading module terminal
US12033206B2 (en) Product order management
KR20220097079A (en) Multi-core watt hour meter and system for maintain service homeostasis

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