CN113741941A - Ammeter upgrading method, device and system - Google Patents

Ammeter upgrading method, device and system Download PDF

Info

Publication number
CN113741941A
CN113741941A CN202111088524.7A CN202111088524A CN113741941A CN 113741941 A CN113741941 A CN 113741941A CN 202111088524 A CN202111088524 A CN 202111088524A CN 113741941 A CN113741941 A CN 113741941A
Authority
CN
China
Prior art keywords
upgrading
electric meter
ammeter
file
strategy parameters
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.)
Pending
Application number
CN202111088524.7A
Other languages
Chinese (zh)
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.)
Nanjing Haixing Power Grid Technology Co Ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Original Assignee
Nanjing Haixing Power Grid Technology Co Ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology 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 Nanjing Haixing Power Grid Technology Co Ltd, Hangzhou Hexing Electrical Co Ltd, Ningbo Henglida Technology Co Ltd filed Critical Nanjing Haixing Power Grid Technology Co Ltd
Priority to CN202111088524.7A priority Critical patent/CN113741941A/en
Publication of CN113741941A publication Critical patent/CN113741941A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an ammeter upgrading method which is applied to a subordinate node and comprises the steps of obtaining an upgrading file and strategy parameters sent by a master station; inquiring all strategy parameters of the corresponding upgrading files recorded in the strategy table; and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file. The master station can independently upgrade the electric meters connected with the subordinate nodes according to the strategy parameters by issuing the upgrade files and the strategy parameters, so that frequent communication between the master station and the electric meters is avoided, and the pressure and the load of the master station can be reduced. And long-distance communication links between the master station and the electric meter are reduced, the possibility of external interference on communication is reduced, the communication efficiency is effectively improved, and the upgrading efficiency of the electric meter is improved. The invention also provides an ammeter upgrading device and an ammeter upgrading system, and the ammeter upgrading device and the ammeter upgrading system also have the beneficial effects.

Description

Ammeter upgrading method, device and system
Technical Field
The invention relates to the technical field of electric meters, in particular to an electric meter upgrading method, an electric meter upgrading device and an electric meter upgrading system.
Background
At present, after mass delivery, when firmware is updated or upgraded, the electric meter is usually upgraded remotely, specifically in a point-to-point or broadcast manner through a master station. And upgrading the issued file to be an upgrading file of a submodule APP in the electric meter or an upgrading package of the whole firmware file. Through laboratory tests, the situation of upgrading failure with certain probability can occur in the current mode.
At present, the electric meter is technically upgraded and is mainly issued by means of a real-time file package of a master station. Specifically, under the conventional condition, the master station issues the firmware upgrade package in a broadcast mode, if the communication state is normal, most of the electric meters can successfully receive all upgrade data, a small part of the electric meters still exist, and the upgrade data frame is lost. And then, the master station cyclically issues a version reading command, and if a certain block is found to be not updated successfully, the master station acquires the frame data failed to be received aiming at the issued reading bitmap information command. Then, the data frame number with low receiving success rate is counted according to the main station. And the data frames which are not successfully received are sent one by one in a broadcasting or point-to-point mode. After repeated reissue, the method can meet the index requirement of successful upgrade. When the functional module in the ammeter is upgraded, the main station broadcasts to send the upgrading data frame to the ammeter, and then the ammeter transmits the upgrading data frame to the module for upgrading. If the upgrade data frame fails to be received, the master station still reads the version and bitmap information of each target module, and broadcasts or issues point to point again.
In practical situations, the communication environment of the electricity meter is complex, no matter in a carrier wave, RS-485, wireless communication and other modes, signal interference factors exist in a channel, signal attenuation also exists to increase the probability of packet loss or error code, and in addition, the current different electricity meters have different real-time states, or under the conditions of power failure, damage, line fault or aging and other factors, the upgrading data sent by the master station is lost or error code, and the timely successful updating of each electricity meter or module cannot be guaranteed. The situations of low success rate of the whole upgrade, heavy burden of the master station, inflexible upgrade mode and the like can be faced.
Therefore, the problem to be solved by the technical personnel in the field is urgently needed when the efficiency of upgrading the electric meter is improved.
Disclosure of Invention
The invention aims to provide an ammeter upgrading method, which has higher upgrading efficiency; another object of the present invention is to provide an electricity meter upgrading apparatus and an electricity meter upgrading system, which have higher upgrading efficiency.
In order to solve the above technical problem, the present invention provides an electricity meter upgrading method, applied to a subordinate node, including:
acquiring an upgrade file and strategy parameters sent by a master station;
inquiring all strategy parameters corresponding to the upgrading file recorded in a strategy table;
and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
Optionally, the policy parameter includes any one or any combination of the following:
upgrading the model of the matching ammeter, the version of the matching hardware, the version of the current upgrading firmware, the time window for starting upgrading transmission, the time window for activating upgrading and the mask range of the address section of the upgrading ammeter.
Optionally, when the current condition meets the queried policy parameter, the method further includes the step of issuing the upgrade file to the electric meter corresponding to the policy parameter, so that the electric meter is upgraded according to the upgrade file:
when the electric meter does not receive all the upgrading files, the upgrading files are reissued to the electric meter which does not receive all the upgrading files according to reissuing strategy parameters included in the strategy parameters, and the electric meter is upgraded according to the reissued upgrading files.
Optionally, the reissue policy parameter includes any one or any combination of the following:
the method can adaptively select time, fixed reissue time, reissue retry times and a reissue transmission mode.
Optionally, when the current condition meets the queried policy parameter, the method further includes the step of issuing the upgrade file to the electric meter corresponding to the policy parameter, so that the electric meter is upgraded according to the upgrade file:
and generating return information corresponding to the upgrading state of the electric meter, and uploading the return information to the master station.
The invention also provides an electric meter upgrading device, which is applied to a subordinate node and comprises the following components:
the acquisition module is used for acquiring the upgrade file and the strategy parameters sent by the master station;
the query module is used for querying all strategy parameters which are recorded in the strategy table and correspond to the upgrading file;
and the issuing module is used for issuing the upgrading file to the ammeter corresponding to the strategy parameter when the current condition meets the inquired strategy parameter, so that the ammeter can be upgraded according to the upgrading file.
Optionally, the method further includes:
and the reissue module is used for reissuing the upgrade files to the electric meters which do not receive all the upgrade files according to reissue strategy parameters included in the strategy parameters when all the upgrade files are not received by the electric meters, so that the electric meters can be upgraded according to the reissued upgrade files.
Optionally, the method further includes:
and the information return module is used for generating return information corresponding to the upgrading state of the electric meter and uploading the return information to the master station.
The invention also provides an electric meter upgrading system which comprises a main station, a subordinate node in communication connection with the main station and an electric meter in communication connection with the subordinate node;
the subordinate node is configured to:
acquiring an upgrade file and strategy parameters sent by a master station;
inquiring all strategy parameters corresponding to the upgrading file recorded in a strategy table;
and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
Optionally, the subordinate node is further configured to:
when the electric meter does not receive all the upgrading files, the upgrading files are reissued to the electric meter which does not receive all the upgrading files according to reissuing strategy parameters included in the strategy parameters, and the electric meter is upgraded according to the reissued upgrading files.
The invention provides an ammeter upgrading method which is applied to a lower node and comprises the steps of obtaining an upgrading file and strategy parameters sent by a main station; inquiring all strategy parameters of the corresponding upgrading files recorded in the strategy table; and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
The master station can independently upgrade the electric meters connected with the subordinate nodes according to the strategy parameters by issuing the upgrade files and the strategy parameters, so that frequent communication between the master station and the electric meters is avoided, and the pressure and the load of the master station can be reduced. And long-distance communication links between the master station and the electric meter are reduced, the possibility of external interference on communication is reduced, the communication efficiency is effectively improved, and the upgrading efficiency of the electric meter is improved.
The invention also provides an ammeter upgrading device and an ammeter upgrading system, which have the beneficial effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of an electricity meter upgrading method according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific electricity meter upgrading method according to an embodiment of the present invention;
fig. 3 is a block diagram of an electric meter upgrading apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of a structure of an electric meter upgrading system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide an electric meter upgrading method. In the prior art, the master station typically communicates directly with the individual electricity meters. Due to the complex communication environment of the electric meters, signal interference factors exist in channels, signal attenuation increases the probability of packet loss or error codes, and the current different electric meters have different real-time states or suffer from factors such as power failure, damage, line failure or aging, the upgrade data sent by the main station is lost or error codes, so that the successful updating of each electric meter or module in time cannot be guaranteed. The situations of low success rate of the whole upgrade, heavy burden of the master station, inflexible upgrade mode and the like can be faced.
The electric meter upgrading method provided by the invention is applied to a lower node, and comprises the steps of obtaining an upgrading file and strategy parameters sent by a main station; inquiring all strategy parameters of the corresponding upgrading files recorded in the strategy table; and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
The master station can independently upgrade the electric meters connected with the subordinate nodes according to the strategy parameters by issuing the upgrade files and the strategy parameters, so that frequent communication between the master station and the electric meters is avoided, and the pressure and the load of the master station can be reduced. And long-distance communication links between the master station and the electric meter are reduced, the possibility of external interference on communication is reduced, the communication efficiency is effectively improved, and the upgrading efficiency of the electric meter is improved.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an electricity meter upgrading method according to an embodiment of the present invention.
The electric meter upgrading method provided by the embodiment of the invention is particularly applied to the subordinate node, and the subordinate node is usually arranged between a master station and a communication link of each electric meter. The master station may be connected to one or more subordinate nodes, which are usually connected to a plurality, even a plurality, of groups of electric meters, which may be embodied as terminals or concentrators or the like. With regard to the specific structure of the subordinate node, reference may be made to the prior art, and the following electric meter upgrading method is specific to the flow specifically executed by the subordinate node.
Referring to fig. 1, in an embodiment of the present invention, an electricity meter upgrading method includes:
s101: and acquiring the upgrade file and the strategy parameters sent by the master station.
In this step, the master station may issue the upgrade file and the policy parameters to the subordinate nodes. The upgrading file is data required by upgrading of firmware in the electric meter, and the strategy parameters are parameters required by the subordinate nodes when the subordinate nodes send data to the electric meter. The specific content of the upgrade file needs to be set according to the actual situation, and the policy parameter may specifically include any one or any combination of the following: upgrading the model of the matching ammeter, the version of the matching hardware, the version of the current upgrading firmware, the time window for starting upgrading transmission, the time window for activating upgrading and the mask range of the address section of the upgrading ammeter.
The upgraded matching electric meter model, the matched hardware version and the current upgraded firmware version are screening conditions corresponding to the electric meter to be upgraded. In terms of hardware, in the subsequent steps, the subordinate node can screen out the electric meters to be upgraded from the plurality of electric meters according to the electric meter models and the hardware versions; and in the aspect of software, the subordinate node in the subsequent step can screen the electric meters to be upgraded from the plurality of electric meters according to the current firmware version of the electric meters and the mask range of the address section of the upgrading meter, so that the electric meters to be upgraded are upgraded in the subsequent step. And the upgrade transmission starting time window is the specific time when the subordinate node transmits the upgrade file to the ammeter, and the upgrade activation time window is the specific time when the subordinate node transmits an upgrade starting instruction to the ammeter to control the ammeter to be upgraded. Of course, in the embodiment of the present invention, the policy parameters may include other kinds of parameters, and are not specifically limited herein.
Specifically, the master station may issue the upgrade file and the policy parameter in a broadcast or peer-to-peer transmission manner, and the master station may issue the upgrade file and the policy parameter in a GPRS (General Packet Radio service), GSM (Global System for Mobile Communications), MODEM (MODEM), LAN (local area network), or other manners. In this step, after the lower node receives the policy parameter, the policy table stored in the lower node itself is updated according to the received policy parameter.
S102: and inquiring all strategy parameters of the corresponding upgrading files recorded in the strategy table.
In this step, the lower node may specifically query the policy parameters recorded in the policy table maintained by the lower node itself through timed auto-polling or other manners. And upgrading the electric meter according to the inquired strategy parameters in the subsequent steps. It should be noted that the policy parameters queried here may include, in addition to the policy parameters issued by the master station in S101, policy parameters pre-stored in a policy table maintained by the subordinate node itself, so as to ensure that the subordinate node can complete upgrading of the electric meter this time. Specifically, the upgrade file generally has different identification information, and the policy table maintained in the lower node may store policy parameters corresponding to different upgrade files. In this step, the policy parameters corresponding to the upgrade file to be updated at this time need to be queried, so as to update the electric meter in the subsequent steps.
S103: and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
In this step, when the current condition is required to meet the policy parameter queried from the policy table, for example, when the upgrade transmission start time window recorded in the policy parameter is from 2 to 4 am, when the current condition is from 2 to 4 am, that is, when the current condition meets the policy parameter queried from the policy table, the upgrade file acquired from the master station is sent to the electric meter corresponding to the policy parameter in a broadcast or point-to-point manner, so that the electric meter can be upgraded according to the upgrade file.
Specifically, when the next-level node issues the upgrade file in a point-to-point manner, a specific electric meter to be upgraded may be specifically selected to issue the upgrade file according to the information, such as the upgrade matching electric meter model, the matching hardware version, the current upgrade firmware version, the upgrade meter address field mask range, and the like, recorded in the policy parameter, and at this time, after the electric meter to be upgraded receives the upgrade file, a received message is usually returned to indicate that the upgrade file is received. When the next-level node issues the upgrade file in a broadcast manner, each electric meter is required to automatically determine whether the issued upgrade file is the corresponding upgrade file, and at this time, the upgrade file may include corresponding policy parameters. When corresponding, the electric meter can be upgraded according to the received upgrade file.
It should be noted that, the upgrading process of the electric meter is generally divided into two steps, where the first step is to receive an upgrade file, and the second step is to perform an upgrade operation through the upgrade file. And the electric meter generally needs to be upgraded according to an upgrade activation instruction issued by a lower node when the second step is executed. The upgrade activation instruction generally needs to be issued by the lower node according to the upgrade activation time window in the policy parameter. Of course, before the lower node issues the upgrade file, it is usually necessary to send an upgrade request to establish a connection with the corresponding electric meter, and specific contents thereof may refer to the prior art and are not described herein again.
It should be further noted that when the upgrade file sent by the next-level node specifically corresponds to a specific functional module in the electric meter, the electric meter is required to transfer again, and the electric meter generally transmits the received upgrade file to the corresponding functional module, so that the functional module can be upgraded according to the upgrade file. The specific content of the related module for upgrading according to the upgrade file may refer to the prior art, and is not described herein again.
The electric meter upgrading method provided by the embodiment of the invention is applied to a lower node, and comprises the steps of obtaining an upgrading file and strategy parameters sent by a main station; inquiring all strategy parameters of the corresponding upgrading files recorded in the strategy table; and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
The master station can independently upgrade the electric meters connected with the subordinate nodes according to the strategy parameters by issuing the upgrade files and the strategy parameters, so that frequent communication between the master station and the electric meters is avoided, and the pressure and the load of the master station can be reduced. And long-distance communication links between the master station and the electric meter are reduced, the possibility of external interference on communication is reduced, the communication efficiency is effectively improved, and the upgrading efficiency of the electric meter is improved.
The details of the method for upgrading an electricity meter according to the present invention will be described in detail in the following embodiments of the present invention.
Referring to fig. 2, fig. 2 is a flowchart illustrating a specific method for upgrading an electric meter according to an embodiment of the present invention.
Referring to fig. 2, in the embodiment of the present invention, an electricity meter upgrading method includes:
s201: and acquiring the upgrade file and the strategy parameters sent by the master station.
S202: and inquiring all strategy parameters of the corresponding upgrading files recorded in the strategy table.
S203: and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
S201 to S203 are substantially the same as S101 to S103 in the above embodiment of the invention, and for details, reference is made to the above embodiment of the invention, which is not repeated herein.
S204: when the electric meter does not receive all the upgrading files, the upgrading files are reissued to the electric meter which does not receive all the upgrading files according to reissuing strategy parameters included in the strategy parameters, and the electric meter is upgraded according to the reissued upgrading files.
In this step, whether the electric meters receive all the upgrade files or not can be checked in a manner that the electric meters report by themselves or a subordinate node polls each electric meter. When a certain electric meter does not receive all the upgrade files, the lower node in this step may execute a reissue policy, that is, reissue the upgrade files to the electric meter that does not receive all the upgrade files according to the reissue policy parameters included in the policy parameters recorded in the policy table, so as to promote the electric meter to upgrade.
Specifically, the reissue policy parameters generally include any one or any combination of the following: the method can adaptively select time, fixed reissue time, reissue retry times and a reissue transmission mode. Wherein the adaptive selection time, that is, the time for the lower node to adaptively perform the reissue operation, for example, the reissue operation when the channel is in an idle state in the morning is enabled; the fixed reissue time is the determined time for executing the reissue operation, the reissue retry number is the maximum number of times of the repeated execution allowed by the reissue, and the reissue transmission mode specifically includes broadcast or point-to-point transmission and the like. Of course, the reissue policy parameters may also include other contents, which may be set according to actual situations, and are not specifically limited herein.
In this step, the subordinate node reissues the upgrade file to the electric meter which does not acquire the upgrade file according to the reissue strategy parameter. In general, the reissue operation may be performed in a loop, but it has the maximum line-up. When the number of reissue operation cycles reaches the upper limit, the electric meter which has not received the complete upgrade file is determined to be damaged, and the return information needs to be reported to the master station. It should be noted that, in general, the lower node will issue the upgrade activation instruction after the reissue operation is completed, so that each electric meter performs the upgrade operation.
S205: and generating return information corresponding to the upgrading state of the electric meter, and uploading the return information to the master station.
When the reissue operation is completed, the subordinate node may generate a return message according to the upgrade status of each electric meter, and the upgrade status of each electric meter may be specifically reported by each electric meter actively or obtained by polling of the subordinate node, which is not specifically limited herein depending on the specific situation. And the subordinate node can generate return information corresponding to the upgrading state of the electric meters and upload the generated return information to the main station, so that an operator can inquire corresponding information from the main station and check the upgrading state of each electric meter. For the electric meters which are always failed to be upgraded, the subordinate nodes can specifically read the software version and report the software version back to the main station.
It should be noted that the lower node and the electric meter may be connected through other devices, such as a CCO (Central Coordinator), an STA (Station), and the like, which is not limited herein as the case may be.
According to the electric meter upgrading method provided by the embodiment of the invention, the main station can independently upgrade the electric meter connected with the subordinate node according to the strategy parameters under the condition of meeting the strategy parameters by issuing the upgrading file and the strategy parameters, so that frequent communication between the main station and the electric meter is avoided, and the pressure and load of the main station can be reduced. And long-distance communication links between the master station and the electric meter are reduced, the possibility of external interference on communication is reduced, the communication efficiency is effectively improved, and the upgrading efficiency of the electric meter is improved.
In the following, the electric meter upgrading device provided by the embodiment of the present invention is introduced, and the electric meter upgrading device described below and the electric meter upgrading method described above may be referred to correspondingly.
The following description of the present invention is provided in detail with reference to the following description of the present invention, and the present invention provides a method for upgrading an electric meter.
Referring to fig. 3, fig. 3 is a block diagram of an electric meter upgrading apparatus according to an embodiment of the present invention. Referring to fig. 3, the electricity meter upgrading apparatus may include:
the obtaining module 100 is configured to obtain an upgrade file and a policy parameter sent by a master station.
The query module 200 is configured to query all policy parameters corresponding to the upgrade file recorded in the policy table.
And the issuing module 300 is configured to issue the upgrade file to the electric meter corresponding to the policy parameter when the current condition meets the queried policy parameter, so that the electric meter performs upgrade according to the upgrade file.
Preferably, in the embodiment of the present invention, the policy parameter includes any one or any combination of the following:
upgrading the model of the matching ammeter, the version of the matching hardware, the version of the current upgrading firmware, the time window for starting upgrading transmission, the time window for activating upgrading and the mask range of the address section of the upgrading ammeter.
Preferably, in the embodiment of the present invention, the method further includes:
and the reissue module is used for reissuing the upgrade files to the electric meters which do not receive all the upgrade files according to reissue strategy parameters included in the strategy parameters when all the upgrade files are not received by the electric meters, so that the electric meters can be upgraded according to the reissued upgrade files.
Preferably, in the embodiment of the present invention, the reissue policy parameter includes any one or any combination of the following:
the method can adaptively select time, fixed reissue time, reissue retry times and a reissue transmission mode.
Preferably, in the embodiment of the present invention, the method further includes:
and the information return module is used for generating return information corresponding to the upgrading state of the electric meter and uploading the return information to the master station.
The electric meter upgrading device of this embodiment is used for implementing the electric meter upgrading method, and therefore specific implementation manners in the electric meter upgrading device can be seen in the foregoing embodiments of the electric meter upgrading method, for example, the obtaining module 100, the querying module 200, and the issuing module 300 are respectively used for implementing steps S101 to S103 in the electric meter upgrading method, so that the specific implementation manners thereof may refer to descriptions of corresponding embodiments of each part, and are not described herein again.
In the following, the electric meter upgrading system provided by the embodiment of the present invention is introduced, and the electric meter upgrading system described below, the electric meter upgrading method described above and the electric meter upgrading device described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a block diagram of an electric meter upgrading system according to an embodiment of the present invention.
Referring to fig. 4, the electricity meter upgrading system may include a master station 11, a subordinate node 12 communicatively connected to the master station 11, and an electricity meter 13 communicatively connected to the subordinate node 12;
the subordinate node 12 is configured to:
acquiring an upgrade file and a strategy parameter sent by a master station 11;
inquiring all strategy parameters corresponding to the upgrading file recorded in a strategy table;
and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter 13 corresponding to the strategy parameters, so that the ammeter 13 is upgraded according to the upgrading file.
Preferably, in the embodiment of the present invention, the policy parameter includes any one or any combination of the following:
upgrading the model of the matching ammeter, the version of the matching hardware, the version of the current upgrading firmware, the time window for starting upgrading transmission, the time window for activating upgrading and the mask range of the address section of the upgrading ammeter.
Preferably, in the embodiment of the present invention, the lower node 12 is further configured to:
when the electric meter 13 does not receive all the upgrade files, the upgrade files are reissued to the electric meter 13 which does not receive all the upgrade files according to reissue strategy parameters included in the strategy parameters, so that the electric meter 13 is upgraded according to the reissued upgrade files.
Preferably, in the embodiment of the present invention, the reissue policy parameter includes any one or any combination of the following:
the method can adaptively select time, fixed reissue time, reissue retry times and a reissue transmission mode.
Preferably, in the embodiment of the present invention, the lower node 12 is further configured to:
and generating return information corresponding to the upgrading state of the electric meter 13, and uploading the return information to the master station 11.
The electric meter upgrading system of this embodiment is used for implementing the electric meter upgrading method, and therefore, a specific implementation manner in the electric meter upgrading system may be found in the embodiment section of the electric meter upgrading method in the foregoing, so that the specific implementation manner thereof may refer to descriptions of corresponding embodiments of each section, and details are not described here again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The electric meter upgrading method, the electric meter upgrading device and the electric meter upgrading system provided by the invention are described in detail. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. An electric meter upgrading method is applied to a subordinate node and comprises the following steps:
acquiring an upgrade file and strategy parameters sent by a master station;
inquiring all strategy parameters corresponding to the upgrading file recorded in a strategy table;
and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
2. The method of claim 1, wherein the policy parameters include any one or any combination of the following:
upgrading the model of the matching ammeter, the version of the matching hardware, the version of the current upgrading firmware, the time window for starting upgrading transmission, the time window for activating upgrading and the mask range of the address section of the upgrading ammeter.
3. The method of claim 1, wherein when the current condition meets the queried policy parameter, the upgrade file is sent to the electric meter corresponding to the policy parameter, so that the electric meter is upgraded according to the upgrade file, and the method further comprises:
when the electric meter does not receive all the upgrading files, the upgrading files are reissued to the electric meter which does not receive all the upgrading files according to reissuing strategy parameters included in the strategy parameters, and the electric meter is upgraded according to the reissued upgrading files.
4. The method of claim 3, wherein the reissue policy parameters include any one or any combination of the following:
the method can adaptively select time, fixed reissue time, reissue retry times and a reissue transmission mode.
5. The method according to claim 3, wherein when the current condition meets the queried policy parameter, the upgrading file is issued to the electric meter corresponding to the policy parameter, so that the electric meter is upgraded according to the upgrading file, and the method further comprises:
and generating return information corresponding to the upgrading state of the electric meter, and uploading the return information to the master station.
6. An ammeter upgrading device, which is applied to a subordinate node, comprises:
the acquisition module is used for acquiring the upgrade file and the strategy parameters sent by the master station;
the query module is used for querying all strategy parameters which are recorded in the strategy table and correspond to the upgrading file;
and the issuing module is used for issuing the upgrading file to the ammeter corresponding to the strategy parameter when the current condition meets the inquired strategy parameter, so that the ammeter can be upgraded according to the upgrading file.
7. The apparatus of claim 6, further comprising:
and the reissue module is used for reissuing the upgrade files to the electric meters which do not receive all the upgrade files according to reissue strategy parameters included in the strategy parameters when all the upgrade files are not received by the electric meters, so that the electric meters can be upgraded according to the reissued upgrade files.
8. The apparatus of claim 7, further comprising:
and the information return module is used for generating return information corresponding to the upgrading state of the electric meter and uploading the return information to the master station.
9. An ammeter upgrading system is characterized by comprising a main station, a subordinate node in communication connection with the main station, and an ammeter in communication connection with the subordinate node;
the subordinate node is configured to:
acquiring an upgrade file and strategy parameters sent by a master station;
inquiring all strategy parameters corresponding to the upgrading file recorded in a strategy table;
and when the current condition meets the inquired strategy parameters, the upgrading file is issued to the ammeter corresponding to the strategy parameters, so that the ammeter is upgraded according to the upgrading file.
10. The system of claim 9, wherein the subordinate node is further configured to:
when the electric meter does not receive all the upgrading files, the upgrading files are reissued to the electric meter which does not receive all the upgrading files according to reissuing strategy parameters included in the strategy parameters, and the electric meter is upgraded according to the reissued upgrading files.
CN202111088524.7A 2021-09-16 2021-09-16 Ammeter upgrading method, device and system Pending CN113741941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111088524.7A CN113741941A (en) 2021-09-16 2021-09-16 Ammeter upgrading method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111088524.7A CN113741941A (en) 2021-09-16 2021-09-16 Ammeter upgrading method, device and system

Publications (1)

Publication Number Publication Date
CN113741941A true CN113741941A (en) 2021-12-03

Family

ID=78739428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111088524.7A Pending CN113741941A (en) 2021-09-16 2021-09-16 Ammeter upgrading method, device and system

Country Status (1)

Country Link
CN (1) CN113741941A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282249A (en) * 2015-10-30 2016-01-27 国网新疆电力公司电力科学研究院 Device and method for remotely issuing electric energy meter parameters and control commands based on transparent collection tasks
CN107104839A (en) * 2017-05-19 2017-08-29 京信通信技术(广州)有限公司 Firmware upgrade method, device, server, Internet of things system and RF tag
CN109002303A (en) * 2017-05-26 2018-12-14 中兴通讯股份有限公司 A kind of intelligent electric meter firmware upgrade method, equipment and storage medium
CN109522036A (en) * 2018-10-10 2019-03-26 北京金茂绿建科技有限公司 A kind of firmware upgrade method, device, medium and smart home system
CN110134421A (en) * 2019-05-24 2019-08-16 南方电网科学研究院有限责任公司 Electric energy meter managing chip upgrade method, system and electronic equipment and storage medium
CN110166554A (en) * 2019-05-22 2019-08-23 宁波三星医疗电气股份有限公司 Ammeter update device, method, concentrator and storage medium
CN111596939A (en) * 2020-05-18 2020-08-28 杭州海兴电力科技股份有限公司 Upgrading method and device of electric energy meter and concentrator
CN112583646A (en) * 2020-12-25 2021-03-30 宁波三星医疗电气股份有限公司 Remote upgrading method for intelligent electric meter

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282249A (en) * 2015-10-30 2016-01-27 国网新疆电力公司电力科学研究院 Device and method for remotely issuing electric energy meter parameters and control commands based on transparent collection tasks
CN107104839A (en) * 2017-05-19 2017-08-29 京信通信技术(广州)有限公司 Firmware upgrade method, device, server, Internet of things system and RF tag
CN109002303A (en) * 2017-05-26 2018-12-14 中兴通讯股份有限公司 A kind of intelligent electric meter firmware upgrade method, equipment and storage medium
CN109522036A (en) * 2018-10-10 2019-03-26 北京金茂绿建科技有限公司 A kind of firmware upgrade method, device, medium and smart home system
CN110166554A (en) * 2019-05-22 2019-08-23 宁波三星医疗电气股份有限公司 Ammeter update device, method, concentrator and storage medium
CN110134421A (en) * 2019-05-24 2019-08-16 南方电网科学研究院有限责任公司 Electric energy meter managing chip upgrade method, system and electronic equipment and storage medium
CN111596939A (en) * 2020-05-18 2020-08-28 杭州海兴电力科技股份有限公司 Upgrading method and device of electric energy meter and concentrator
CN112583646A (en) * 2020-12-25 2021-03-30 宁波三星医疗电气股份有限公司 Remote upgrading method for intelligent electric meter

Similar Documents

Publication Publication Date Title
US10447816B2 (en) Efficient firmware update in a narrow bandwidth system
CN100428816C (en) Method for over air mobile station management
EP1654861B1 (en) Method and system for remote updates of meters for metering the consumption of electricity, water or gas
CN107104836A (en) The firmware upgrade method and device of Zigbee equipment
US8248972B2 (en) Packet acknowledgment for polled mesh network communications
CN110429708B (en) Method and system for realizing plug and play of power distribution equipment
CN109257741A (en) Information uploading method, device, terminal and storage medium
CN104144466A (en) Access method for sensor in Internet of Things, Internet of Things system and server
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN101917706A (en) Processing method and device for upgrading FOTA (Firmware Over the Air)
CN112737847B (en) Node upgrading method and device, storage medium and electronic device
MX2013015281A (en) Techniques for clock recovery following a power outage.
CN108769275A (en) A kind of access system and server
CN105653288A (en) Method and device for automatic identification of hardware by software of module product
CN106846781B (en) Method and system for automatically identifying communication module of centralized meter reading collector
KR101350059B1 (en) Apparatus and method for upgrading meter firmware
CN115604113B (en) FAN network equipment rapid upgrading method, system, equipment and medium
CN113741941A (en) Ammeter upgrading method, device and system
CN110535919B (en) Network access method and device of concentrator and power peak regulation system
CA3044578C (en) Selection and use of different wireless networks by meter reading devices
CN111682965A (en) FOTA controller
CN109614141A (en) Remote communication module upgrading management system and updating management method
CN107015529B (en) Sensor controller and sensor assembly for collecting various operating data of a machine
CN113794751A (en) Data interaction method, system, equipment and storage medium of Internet of things system
CN102404714B (en) By the method for WiFi wireless network updating apparatus software

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