CN115604113B - FAN network equipment rapid upgrading method, system, equipment and medium - Google Patents

FAN network equipment rapid upgrading method, system, equipment and medium Download PDF

Info

Publication number
CN115604113B
CN115604113B CN202211285938.3A CN202211285938A CN115604113B CN 115604113 B CN115604113 B CN 115604113B CN 202211285938 A CN202211285938 A CN 202211285938A CN 115604113 B CN115604113 B CN 115604113B
Authority
CN
China
Prior art keywords
upgrade
information
file
task
upgrading
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
CN202211285938.3A
Other languages
Chinese (zh)
Other versions
CN115604113A (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.)
Hangzhou Renhe Information Technology Co ltd
Original Assignee
Hangzhou Renhe Information 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 Hangzhou Renhe Information Technology Co ltd filed Critical Hangzhou Renhe Information Technology Co ltd
Priority to CN202211285938.3A priority Critical patent/CN115604113B/en
Publication of CN115604113A publication Critical patent/CN115604113A/en
Priority to PCT/CN2023/075590 priority patent/WO2024082491A1/en
Application granted granted Critical
Publication of CN115604113B publication Critical patent/CN115604113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a FAN network equipment rapid upgrading method, a system, equipment and a medium, wherein the method comprises the steps of obtaining upgrading file information issued by an ammeter management system, storing the upgrading file information and marking; acquiring equipment list information issued by the ammeter management system, storing the equipment list information and marking; acquiring upgrade task information issued by the ammeter management system, wherein the upgrade task information at least comprises the association of the upgrade file information and the equipment list information; according to the upgrade task information, corresponding upgrade file information is sent to an electric energy meter to be upgraded, and the electric energy meter is upgraded according to the upgrade file information; and acquiring the upgrading result information of the electric energy meter, and reporting the upgrading result information to the electric meter management system. The invention improves the execution efficiency of tasks through flexible combination, reduces the occupation of flow and improves the operation and maintenance quality and the upgrading efficiency of intelligent equipment in the ammeter management system.

Description

FAN network equipment rapid upgrading method, system, equipment and medium
Technical Field
The invention relates to the technical field of electric energy meters, in particular to a FAN network equipment rapid upgrading method, a FAN network equipment rapid upgrading system, FAN network equipment rapid upgrading equipment and FAN network equipment rapid upgrading medium.
Background
The intelligent terminal is an indispensable important component in the AMI system solution, is connected with an electric meter management system and an important medium of an intelligent electric energy meter, and often in the running process of field equipment, due to new requirements of clients, new parameter configuration or equipment bug, a charging function or a charging parameter cannot meet the requirements of the clients and needs to be updated, the intelligent terminal serves as an upgrade executor, and equipment is updated through standard DLMS protocol file transmission.
Because the intelligent terminal manages a plurality of phenotypes (a plurality of intelligent meters or a plurality of suppliers) of a plurality of factories, the upgrade program is also a plurality of versions, the installed equipment needs to be upgraded and later installed equipment probably needs to be upgraded, generally, the upgrade image files are 256-768K files, the electric meter management system transmits an upgrade package and the electric energy meter information needing to be upgraded to the intelligent terminal through file transmission, the intelligent terminal transmits the upgrade package to the intelligent electric energy meter through a DLMS standard file transmission instruction after receiving the upgrade package, and the upgrade processing result is reported after the upgrade is completed. If the electric meter management system issues upgrade tasks of other phenotypes or other versions again during the period, the currently executed task is covered, the intelligent terminal terminates the current task, and then receives new task configuration to be executed after the new task configuration is validated, so that only one upgrade task can be configured each time, and the electric meter management system can configure the new upgrade task after the upgrade task is executed.
The current state of upgrading of the electric energy meter has the following defects: 1. if the GPRS signal is bad and cannot be connected with the ammeter management system during upgrading, the upgrading task cannot issue updating, the actual effect requirement of the upgrading task cannot be met, the equipment function loophole can be caused to run on site, application data fraud and illegal crime are caused, public property loss is caused, and if the metering parameter of the ammeter is in a problem, social property safety is seriously caused; 2. different lists of the same type of list are updated, an updated mirror image and a new list are required to be issued for multiple times, the time for issuing an updated package is redundant, flow is wasted, and public resources are seriously wasted under the condition that the updating task is executed for multiple times in areas with higher GPRS (general packet radio service) expense; 3. different table versions of the same list are demonstrated and upgraded, and an upgrade image and the list are required to be issued for multiple times, so that time consumption and redundancy are realized; 4. the task upgrading method can not avoid manual intervention and automatically upgrade different types of phenotype tasks in a short period, and needs to serially connect the tasks and then issue and execute the tasks in combination with the current task execution condition, so that the time consumption is inflexible.
Disclosure of Invention
In order to solve the problems, the technical scheme provided by the invention is as follows:
a FAN network equipment rapid upgrading method comprises the following steps:
acquiring upgrade file information issued by an ammeter management system, storing the upgrade file information and marking;
acquiring equipment list information issued by the ammeter management system, storing the equipment list information and marking;
acquiring upgrade task information issued by the ammeter management system, wherein the upgrade task information at least comprises the association of the upgrade file information and the equipment list information;
according to the upgrade task information, corresponding upgrade file information is sent to an electric energy meter to be upgraded, and the electric energy meter is upgraded according to the upgrade file information;
and acquiring the upgrading result information of the electric energy meter, and reporting the upgrading result information to the electric meter management system.
The invention further provides that the method for acquiring the upgrade file information issued by the ammeter management system comprises the following steps:
transmitting a current upgrade image file, a file size and a file check value through a DLMS communication protocol, comparing information of the current upgrade image file, and judging whether the current upgrade image file is stored or not; if so, ending the transmission of the current upgrade image file;
if not, judging whether the storage space of the updated image file is full according to the file size; if the storage space of the upgrade image file is full, deleting the historical upgrade image file and then transmitting the current upgrade image file; if the storage space of the upgrade image file is not full, directly transmitting the current upgrade image file;
checking the current upgrade image file with the completed transmission according to the file check value; if the verification fails, the current upgrade image file is not stored; and if the verification is successful, storing the current upgrade image file and the verification information.
The invention further provides that the acquiring the equipment list information issued by the ammeter management system comprises the following steps:
transmitting and configuring a current equipment list, a list size and a list check value, and judging whether modification or new addition is needed according to the current equipment list, wherein the number of electric energy meters configured in the current equipment list ranges from 1 to N, and N is the number of the electric energy meters which support management at maximum;
if the original equipment list is required to be modified, modifying and storing the original equipment list;
if the new addition is needed, judging whether the storage space of the equipment list is full according to the size of the list; if the storage space of the equipment list is full, deleting the historical equipment list and then storing the current equipment list; if the storage space of the equipment list is not full, directly storing the current equipment list;
marking the modified and stored equipment list or the stored equipment list, and checking according to the list check value.
The invention further provides that the step of obtaining the upgrade task information issued by the ammeter management system comprises the following steps:
the ammeter management system acquires the stored upgrade file information and the stored equipment list information, and judges whether a new upgrade file information or a new equipment list information needs to be issued according to the stored upgrade file information and the stored equipment list information; if so, issuing new upgrade file information or new equipment list information, and issuing upgrade task information; and if not, directly issuing the upgrade task information.
The invention further sets that the upgrade task information also comprises a task number, a task state, a task starting time and a task ending time, and the upgrade task processing comprises:
reading the task starting time and the task ending time, judging whether the current upgrading task meets the time condition, and if the current upgrading task does not meet the time condition, terminating the execution of the upgrading process;
if the time condition is met, judging whether a task to be upgraded exists; if no task to be upgraded exists, terminating execution of the upgrading flow;
if the task to be upgraded is needed, judging whether the upgrade task information is related to the stored upgrade file information and the device list information; if no association exists, terminating the execution of the upgrading flow;
if the electric energy meter is related, executing an upgrading process, and upgrading the electric energy meter;
and after the electric energy meter finishes the upgrading treatment, reporting the upgrading execution condition of the electric energy meter to the electric meter management system.
The invention is further configured to determine whether the equipment list information associated with the upgrade task being executed conflicts with the newly issued equipment list information if the equipment list information newly issued by the electric meter management system is received in the process of the upgrade task; if not, continuing to execute the upgrading task; if so, suspending the current upgrading task, and reporting a task suspending event to the ammeter management system.
The invention further provides that the electric energy meter is upgraded according to the upgrade file information, and the method comprises the following steps:
transmitting a target upgrading file and a file complete check value through a DLMS communication protocol, comparing information of the target upgrading file, and judging whether the target upgrading file is a required file to be upgraded or not; if the file to be upgraded is not needed, ending the transmission of the target upgrading file; if the required file to be upgraded is needed, continuing to transmit the target upgrade file and checking;
checking the target upgrade file according to the file integrity check value; if the verification fails, terminating the upgrading flow of the electric energy meter, wherein the electric energy meter fails to be upgraded; if the verification is successful, continuing the upgrading flow of the electric energy meter, wherein the electric energy meter is successfully upgraded.
A FAN network equipment rapid upgrading system adopts the FAN network equipment rapid upgrading method of the claim, comprising the following steps:
the ammeter management system divides attributions of the intelligent terminal and the ammeter according to upgrading requirements; issuing upgrade file information, equipment list information and upgrade task information to an intelligent terminal; receiving an upgrading result of the electric energy meter fed back by the intelligent terminal; reading the upgrade execution state of the electric energy meter fed back by the intelligent terminal; reading the charging information of the electric energy meter fed back by the intelligent terminal;
the intelligent terminal receives upgrade file information and equipment list information issued by the ammeter management system and stores and marks the upgrade file information and the equipment list information; receiving upgrade task information issued by an ammeter management system, and issuing a target upgrade file to an ammeter for upgrade according to the upgrade task information; reading upgrading information of the electric energy meter; reading charging information of the electric energy meter;
the electric energy meter is arranged in the on-site metering circuit; receiving upgrade file information issued by the intelligent terminal for upgrading; and reporting the upgrading result to the intelligent terminal.
An electronic device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the fast upgrade method of a FAN network device described above.
A storage medium having stored thereon computer program instructions which, when executed by a processor, implement the fast upgrade method for a FAN network device described above.
Compared with the prior art, the technical scheme provided by the invention has the following beneficial effects:
the invention relates to an electric meter management system which issues upgrade file information and equipment list information to an intelligent terminal for storage and marking according to upgrade requirements, the electric meter management system issues upgrade task information according to the upgrade file information and the equipment list information stored by the intelligent terminal, the upgrade task information comprises relevant elements of upgrade, and the intelligent terminal performs an upgrade task of an electric meter according to a task number, a task state, a starting time and an ending time and feeds back a task execution result to the electric meter management system.
The invention avoids the electric meter management system to repeatedly issue the same upgrade file and terminal upgrade task coverage, the upgrade whole scheme of the electric meter has high intelligent degree, improves the execution efficiency of tasks through flexible combination, reduces the occupation of flow, improves the operation and maintenance quality and upgrade efficiency of intelligent equipment in the electric meter management system, reflects the efficient task execution capacity of the edge intelligent terminal, avoids the occurrence of abnormal operation quality accidents of metering and equipment programs, and can meet the actual effect requirements of all user terminals on the electric meter upgrade.
Drawings
Fig. 1 is a flowchart of a fast upgrade method of a FAN network device according to an embodiment of the present invention.
Fig. 2 is a flowchart of an upgrade file information transmission according to an embodiment of the present invention.
Fig. 3 is a flowchart of a device list information transmission according to an embodiment of the present invention.
FIG. 4 is a flow chart of task update requirements according to an embodiment of the present invention.
FIG. 5 is a flow chart of an upgrade task process according to an embodiment of the present invention.
Fig. 6 is a flowchart of an upgrade of an electric energy meter according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a fast upgrade system of a FAN network device according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
For a further understanding of the present invention, the present invention will be described in detail with reference to the drawings and examples.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
In the description of the present invention, it should be noted that, in the following description, a technical solution in the embodiment of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiment of the present invention, and it is apparent that the described embodiment is only a part of the embodiment of the present invention, but not all the embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
With reference to fig. 1 to fig. 6, the technical scheme of the present invention is a fast upgrading method for a FAN network device, including:
acquiring upgrade file information issued by an ammeter management system, storing the upgrade file information and marking;
acquiring equipment list information issued by the ammeter management system, storing the equipment list information and marking;
acquiring upgrade task information issued by the ammeter management system, wherein the upgrade task information at least comprises the association of the upgrade file information and the equipment list information;
according to the upgrade task information, corresponding upgrade file information is sent to an electric energy meter to be upgraded, and the electric energy meter is upgraded according to the upgrade file information;
and acquiring the upgrading result information of the electric energy meter, and reporting the upgrading result information to the electric meter management system.
In the above embodiment, the intelligent terminal is an execution body of the fast upgrade method of the FAN network device.
It should be noted that, in other embodiments, the steps of the corresponding method, such as the order of acquiring the upgrade file information and the device list information, are not necessarily performed in the order shown and described in the present specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
In this embodiment, as shown in fig. 2, the obtaining upgrade file information issued by the electric meter management system includes:
transmitting a current upgrade image file, a file size and a file check value through a DLMS communication protocol, comparing information of the current upgrade image file, and judging whether the current upgrade image file is stored or not; if so, ending the transmission of the current upgrade image file;
if not, judging whether the storage space of the updated image file is full according to the file size; if the storage space of the upgrade image file is full, deleting the historical upgrade image file and then transmitting the current upgrade image file; if the storage space of the upgrade image file is not full, directly transmitting the current upgrade image file;
checking the current upgrade image file with the completed transmission according to the file check value; if the verification fails, the current upgrade image file is not stored; and if the verification is successful, storing the current upgrade image file and the verification information.
In the above embodiment, the electric meter management system uses the standard DLMS protocol file transmission standard to transmit the file to the intelligent terminal, and ensures that the file image and the file description information are consistent through the standard "image_identifier" instruction of class 18 in the DLMS protocol.
In the above embodiment, the intelligent terminal deletes the file with long history according to the first-in first-out storage model, stores the latest received file, and ensures the cyclic storage of the image upgrade file.
In this embodiment, as shown in fig. 3, the obtaining the device list information issued by the electric meter management system includes:
transmitting and configuring a current equipment list, a list size and a list check value, and judging whether modification or new addition is needed according to the current equipment list, wherein the number of electric energy meters configured in the current equipment list ranges from 1 to N, and N is the number of the electric energy meters which support management at maximum;
if the original equipment list is required to be modified, modifying and storing the original equipment list;
if the new addition is needed, judging whether the storage space of the equipment list is full according to the size of the list; if the storage space of the equipment list is full, deleting the historical equipment list and then storing the current equipment list; if the storage space of the equipment list is not full, directly storing the current equipment list;
marking the modified and stored equipment list or the stored equipment list, and checking according to the list check value.
In the above embodiment, the modification or the addition belongs to the change of the list of the intelligent terminal by the ammeter management system. Wherein, the modification is to cover the content of the previous down-delivery list, such as: the prior historical list file A contains address information of 10 intelligent meters, 8 intelligent meters are required to be upgraded currently, an ammeter management system can name the file of the prior historical list file A as a file list name, and the file list name is issued to an intelligent terminal by the content of the 8 intelligent meter address information, and the intelligent terminal retrieves the clear information and then modifies the stored content of the list file A into 8 meter addresses to store. The new addition is that the ammeter management system regenerates a list file B, the history list file of the intelligent terminal has no information description of the list file B, the AMI system transmits the information of 8 intelligent meter addresses and the information of the list description B to the intelligent terminal, and the intelligent terminal does not have history correspondence after receiving the information and internal searching, and then performs the new addition management storage processing.
In the above embodiment, the intelligent terminal also deletes the last list according to the first-in first-out storage model, and stores the latest configured list description.
In this embodiment, as shown in fig. 4, the obtaining upgrade task information issued by the electric meter management system includes:
the ammeter management system acquires the stored upgrade file information and the stored equipment list information, and judges whether a new upgrade file information or a new equipment list information needs to be issued according to the stored upgrade file information and the stored equipment list information; if so, issuing new upgrade file information or new equipment list information, and issuing upgrade task information; and if not, directly issuing the upgrade task information.
In the above embodiment, after the intelligent terminal can actively send or be queried by the electric meter management system, the intelligent terminal sends the upgrade file information and the equipment list information stored in the intelligent terminal to the electric meter management system; and the ammeter management system sends new upgrade file information or new equipment list information to the intelligent terminal according to the upgrade requirement.
In this embodiment, as shown in fig. 5, the task upgrading information further includes a task number, a task state, a task start time and a task end time, and the task upgrading process includes:
reading the task starting time and the task ending time, judging whether the current upgrading task meets the time condition, and if the current upgrading task does not meet the time condition, terminating the execution of the upgrading process;
if the time condition is met, judging whether a task to be upgraded exists; if no task to be upgraded exists, terminating execution of the upgrading flow;
if the task to be upgraded is needed, judging whether the upgrade task information is related to the stored upgrade file information and the device list information; if no association exists, terminating the execution of the upgrading flow;
if the electric energy meter is related, executing an upgrading process, and upgrading the electric energy meter;
and after the electric energy meter finishes the upgrading treatment, reporting the upgrading execution condition of the electric energy meter to the electric meter management system.
In the embodiment, only after all the conditions are met, the electric energy meter is updated, so that the error update of the electric energy meter is avoided; meanwhile, in the upgrading process, the method can be flexibly executed according to the task starting time and the task ending time, for example, the method is suitable for the preferential treatment of the upgrading task or the preferential treatment of the meter reading task.
In this embodiment, if the device list information newly issued by the electric meter management system is received during the processing of the upgrade task, it is determined whether the device list information associated with the upgrade task being executed conflicts with the newly issued device list information; if not, continuing to execute the upgrading task; if so, suspending the current upgrading task, and reporting a task suspending event to the ammeter management system.
In the above embodiment, there may be equipment list information that is in conflict with the current upgrade in the upgrade process, so when this occurs, the intelligent terminal may issue an interrupt or termination instruction to the electric energy meter, so that the electric energy meter stops the current upgrade task and feeds back to the electric meter management system.
In this embodiment, as shown in fig. 6, the upgrading of the electric energy meter according to the upgrade file information includes:
transmitting a target upgrading file and a file complete check value through a DLMS communication protocol, comparing information of the target upgrading file, and judging whether the target upgrading file is a required file to be upgraded or not; if the file to be upgraded is not needed, ending the transmission of the target upgrading file; if the required file to be upgraded is needed, continuing to transmit the target upgrade file and checking;
checking the target upgrade file according to the file integrity check value; if the verification fails, terminating the upgrading flow of the electric energy meter, wherein the electric energy meter fails to be upgraded; if the verification is successful, continuing the upgrading flow of the electric energy meter, wherein the electric energy meter is successfully upgraded.
In the above embodiment, the electric energy meter also ensures that the target upgrade file is consistent with the required information of the file to be upgraded through the 18-class standard image identifier instruction in the DLMS protocol.
In the above embodiment, the intelligent terminal not only performs the upgrade process, but also communicates with the electricity fee metering of the electric energy meter.
According to the embodiment, an electric meter management system issues upgrade file information and equipment list information to an intelligent terminal for storage and marking according to upgrade requirements, the electric meter management system issues upgrade task information according to the upgrade file information and the equipment list information stored in the intelligent terminal, the upgrade task information comprises relevant elements of upgrade, and the intelligent terminal performs an upgrade task of an electric meter according to a task number, a task state, a starting time and an ending time and feeds back a task execution result to the electric meter management system. According to the FAN network equipment rapid upgrading method, the fact that the ammeter management system repeatedly issues the same upgrading file and terminal upgrading task coverage is avoided, the intelligent degree of the whole upgrading scheme of the ammeter is high, the execution efficiency of tasks is improved through flexible combination, the occupied flow is reduced, the operation and maintenance quality and upgrading efficiency of intelligent equipment in the ammeter management system are improved, the efficient task execution capacity of the edge intelligent terminal is embodied, the occurrence of abnormal operation quality accidents of metering and equipment programs is avoided, and the actual effect requirements of all user terminals on the upgrading of the ammeter can be met.
Example 2
With reference to fig. 7, the technical solution of the present invention is a fast upgrade system for a FAN network device, where the fast upgrade method for a FAN network device described in embodiment 1 is adopted, including:
the ammeter management system 10 divides attributions of the intelligent terminal 20 and the ammeter 300 according to upgrading requirements; issuing upgrade file information, device list information and upgrade task information to the intelligent terminal 20; receiving an upgrading result of the electric energy meter 30 fed back by the intelligent terminal 20; reading the upgrade execution state of the electric energy meter 30 fed back by the intelligent terminal 20; reading charging information of the electric energy meter 30 fed back by the intelligent terminal 20;
the intelligent terminal 20 receives the upgrade file information and the equipment list information issued by the ammeter management system 10, and stores and marks the upgrade file information and the equipment list information; receiving upgrade task information issued by the ammeter management system 10, and issuing a target upgrade file to the ammeter 30 for upgrade according to the upgrade task information; reading upgrade information of the electric energy meter 30; reading charging information of the electric energy meter 30;
an electric energy meter 30 installed in the on-site metering circuit; receiving upgrade file information issued by the intelligent terminal 20 for upgrade; and reporting the upgrading result to the intelligent terminal 20.
In this embodiment, the electric meter management system 10 and the intelligent terminal 20 communicate through GPRS (DLMS protocol); the intelligent terminal 20 communicates with the electric energy meter 30 through a PLC (DLMS protocol).
Example 3
An electronic device comprising a memory 200 and a processor 100, the memory storing a computer program that, when executed by the processor 100, causes the processor 100 to perform the fast FAN network device upgrade method of embodiment 1.
Example 4
A storage medium having stored thereon computer program instructions which, when executed by a processor, implement the fast FAN network device upgrade method of embodiment 1.
The invention and its embodiments have been described above by way of illustration and not limitation, and the invention is illustrated in the accompanying drawings and described in the drawings in which the actual structure is not limited thereto. Therefore, if one of ordinary skill in the art is informed by this disclosure, the structural mode and the embodiments similar to the technical scheme are not creatively designed without departing from the gist of the present invention.

Claims (5)

1. A FAN network equipment rapid upgrading method, the execution main body of the method is an intelligent terminal, the method is characterized in that:
acquiring upgrade file information issued by an ammeter management system, storing the upgrade file information and marking;
acquiring equipment list information issued by the ammeter management system, storing the equipment list information and marking;
acquiring upgrade task information issued by the ammeter management system, wherein the upgrade task information comprises association of the upgrade file information and the equipment list information, a task number, a task state, a task starting time and a task ending time; the step of obtaining the upgrade task information issued by the ammeter management system comprises the following steps: the ammeter management system acquires the stored upgrade file information and the stored equipment list information, and judges whether a new upgrade file information or a new equipment list information needs to be issued according to the stored upgrade file information and the stored equipment list information; if so, issuing new upgrade file information or new equipment list information, and issuing upgrade task information; if not, directly issuing the upgrade task information;
according to the upgrade task information, corresponding upgrade file information is sent to an electric energy meter to be upgraded, and the electric energy meter is upgraded according to the upgrade file information;
acquiring upgrading result information of the electric energy meter, and reporting the upgrading result information to the electric meter management system;
the processing of the upgrade task comprises the following steps:
reading the task starting time and the task ending time, judging whether the current upgrading task meets the time condition, and if the current upgrading task does not meet the time condition, terminating the execution of the upgrading process;
if the time condition is met, judging whether a task to be upgraded exists; if no task to be upgraded exists, terminating execution of the upgrading flow;
if the task to be upgraded is needed, judging whether the upgrade task information is related to the stored upgrade file information and the device list information; if no association exists, terminating the execution of the upgrading flow;
if the electric energy meter is related, executing an upgrading process, and upgrading the electric energy meter;
after the electric energy meter finishes the upgrading treatment, reporting the upgrading execution condition of the electric energy meter to the electric meter management system;
the step of obtaining the upgrade file information issued by the ammeter management system comprises the following steps:
transmitting a current upgrade image file, a file size and a file check value, comparing information of the current upgrade image file, and judging whether the current upgrade image file is stored or not; if so, ending the transmission of the current upgrade image file;
if not, judging whether the storage space of the updated image file is full according to the file size; if the storage space of the upgrade image file is full, deleting the historical upgrade image file and then transmitting the current upgrade image file; if the storage space of the upgrade image file is not full, directly transmitting the current upgrade image file;
checking the current upgrade image file with the completed transmission according to the file check value; if the verification fails, the current upgrade image file is not stored; if the verification is successful, storing the current upgrade image file and verification information;
the obtaining of the equipment list information issued by the ammeter management system comprises the following steps:
transmitting and configuring a current equipment list, a list size and a list check value, and judging whether modification or new addition is needed according to the current equipment list, wherein the number of electric energy meters configured in the current equipment list ranges from 1 to N, and N is the number of the electric energy meters which support management at maximum;
if the original equipment list is required to be modified, modifying and storing the original equipment list;
if the new addition is needed, judging whether the storage space of the equipment list is full according to the size of the list; if the storage space of the equipment list is full, deleting the historical equipment list and then storing the current equipment list; if the storage space of the equipment list is not full, directly storing the current equipment list;
marking the modified and stored equipment list or the stored equipment list, and checking according to the list check value;
if the equipment list information newly issued by the ammeter management system is received in the processing of the upgrading task, judging whether the equipment list information associated with the upgrading task being executed conflicts with the newly issued equipment list information or not; if not, continuing to execute the upgrading task; if so, suspending the current upgrading task, and reporting a task suspending event to the ammeter management system;
the intelligent terminal deletes the file with long history according to the first-in first-out storage model, stores the latest received file, and ensures the cyclic storage of the image upgrading file;
the ammeter management system is communicated with the intelligent terminal through GPRS or DLMS protocol; the intelligent terminal is communicated with the electric energy meter through a PLC or DLMS protocol;
the intelligent terminal not only carries out an upgrading process, but also communicates with the electric charge metering of the electric energy meter;
the electric meter management system issues the upgrade file information and the equipment list information to the intelligent terminal for storage and marking according to the upgrade requirement, the electric meter management system issues upgrade task information according to the upgrade file information and the equipment list information stored in the intelligent terminal, the upgrade task information comprises relevant elements of upgrade, the intelligent terminal performs an upgrade task of the electric meter according to the task number, the task state, the starting time and the ending time, and a task execution result is fed back to the electric meter management system, so that the electric meter management system is prevented from repeatedly issuing the same upgrade file and terminal upgrade task coverage.
2. The fast upgrading method of a FAN network device according to claim 1, wherein the upgrading of the electric energy meter according to the upgrade file information includes:
transmitting a target upgrade file and a file integrity check value, comparing information of the target upgrade file, and judging whether the target upgrade file is a required file to be upgraded or not; if the file to be upgraded is not needed, ending the transmission of the target upgrading file; if the required file to be upgraded is needed, continuing to transmit the target upgrade file and checking;
checking the target upgrade file according to the file integrity check value; if the verification fails, terminating the upgrading flow of the electric energy meter, wherein the electric energy meter fails to be upgraded; if the verification is successful, continuing the upgrading flow of the electric energy meter, wherein the electric energy meter is successfully upgraded.
3. A fast upgrading system for a FAN network device, wherein the fast upgrading method for a FAN network device according to any one of claims 1-2 comprises:
the ammeter management system divides attributions of the intelligent terminal and the ammeter according to upgrading requirements; issuing upgrade file information, equipment list information and upgrade task information to an intelligent terminal; receiving an upgrading result of the electric energy meter fed back by the intelligent terminal; reading the upgrade execution state of the electric energy meter fed back by the intelligent terminal; reading the charging information of the electric energy meter fed back by the intelligent terminal;
the intelligent terminal receives upgrade file information and equipment list information issued by the ammeter management system and stores and marks the upgrade file information and the equipment list information; receiving upgrade task information issued by an ammeter management system, and issuing a target upgrade file to an ammeter for upgrade according to the upgrade task information; reading upgrading information of the electric energy meter; reading charging information of the electric energy meter;
the electric energy meter is arranged in the on-site metering circuit; receiving upgrade file information issued by the intelligent terminal for upgrading; and reporting the upgrading result to the intelligent terminal.
4. An electronic device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the fast FAN network device upgrade method of any one of claims 1-2.
5. A storage medium having stored thereon computer program instructions which, when executed by a processor, implement the fast FAN network device upgrade method of any one of claims 1 to 2.
CN202211285938.3A 2022-10-20 2022-10-20 FAN network equipment rapid upgrading method, system, equipment and medium Active CN115604113B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211285938.3A CN115604113B (en) 2022-10-20 2022-10-20 FAN network equipment rapid upgrading method, system, equipment and medium
PCT/CN2023/075590 WO2024082491A1 (en) 2022-10-20 2023-02-13 Method and system for quickly upgrading fan device, and device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211285938.3A CN115604113B (en) 2022-10-20 2022-10-20 FAN network equipment rapid upgrading method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN115604113A CN115604113A (en) 2023-01-13
CN115604113B true CN115604113B (en) 2023-09-29

Family

ID=84849882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211285938.3A Active CN115604113B (en) 2022-10-20 2022-10-20 FAN network equipment rapid upgrading method, system, equipment and medium

Country Status (2)

Country Link
CN (1) CN115604113B (en)
WO (1) WO2024082491A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604113B (en) * 2022-10-20 2023-09-29 杭州粒合信息科技有限公司 FAN network equipment rapid upgrading method, system, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451080A (en) * 2015-12-10 2016-03-30 安徽广行通信科技股份有限公司 Method for upgrading terminal system of intelligent set-top-box
CN110597539A (en) * 2019-09-05 2019-12-20 威胜集团有限公司 Electric energy meter upgrading method, system and storage medium
CN111314133A (en) * 2020-02-14 2020-06-19 宁波三星智能电气有限公司 Ammeter communication module upgrading method, ammeter control module and ammeter communication module
CN112631633A (en) * 2021-01-07 2021-04-09 南方电网数字电网研究院有限公司 Function module upgrading method and device based on double-core intelligent electric meter
CN113342371A (en) * 2021-05-31 2021-09-03 招商蛇口数字城市科技有限公司 Internet of things equipment upgrading system
CN113515298A (en) * 2021-09-13 2021-10-19 国网江西省电力有限公司电力科学研究院 System and method for upgrading and managing power distribution terminal program
CN114968289A (en) * 2021-02-23 2022-08-30 杭州海兴电力科技股份有限公司 Electric energy meter remote rapid upgrading method based on difference comparison

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347017A (en) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 The method, apparatus and configuration point device of a kind of device upgrade
CN110134421A (en) * 2019-05-24 2019-08-16 南方电网科学研究院有限责任公司 Electric energy meter managing chip upgrade method, system and electronic equipment and storage medium
CN115604113B (en) * 2022-10-20 2023-09-29 杭州粒合信息科技有限公司 FAN network equipment rapid upgrading method, system, equipment and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451080A (en) * 2015-12-10 2016-03-30 安徽广行通信科技股份有限公司 Method for upgrading terminal system of intelligent set-top-box
CN110597539A (en) * 2019-09-05 2019-12-20 威胜集团有限公司 Electric energy meter upgrading method, system and storage medium
CN111314133A (en) * 2020-02-14 2020-06-19 宁波三星智能电气有限公司 Ammeter communication module upgrading method, ammeter control module and ammeter communication module
CN112631633A (en) * 2021-01-07 2021-04-09 南方电网数字电网研究院有限公司 Function module upgrading method and device based on double-core intelligent electric meter
CN114968289A (en) * 2021-02-23 2022-08-30 杭州海兴电力科技股份有限公司 Electric energy meter remote rapid upgrading method based on difference comparison
CN113342371A (en) * 2021-05-31 2021-09-03 招商蛇口数字城市科技有限公司 Internet of things equipment upgrading system
CN113515298A (en) * 2021-09-13 2021-10-19 国网江西省电力有限公司电力科学研究院 System and method for upgrading and managing power distribution terminal program

Also Published As

Publication number Publication date
CN115604113A (en) 2023-01-13
WO2024082491A1 (en) 2024-04-25

Similar Documents

Publication Publication Date Title
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN115604113B (en) FAN network equipment rapid upgrading method, system, equipment and medium
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN110399149A (en) A kind of remote upgrade method under low-power consumption scene
CN111385300B (en) Method and system for self-adapting of multiple communication protocols of energy storage system
CN110825408A (en) Program version updating method, self-service equipment and version control server
CN111459522B (en) Air conditioner and communication module upgrading method thereof
CN113157297B (en) Remote upgrading method and system for charging station equipment
CN108196873A (en) Electric system embedded software Remote Dynamic upgrade method and system
CN108768995B (en) Substation self-adaptive master station access method
CN110535919B (en) Network access method and device of concentrator and power peak regulation system
CN111984287A (en) Equipment upgrading method and system
CN115878160B (en) ECU (electronic control Unit) upgrading method and system based on CAN (controller area network) communication
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN111679849A (en) Equipment upgrading method of multilayer topology management structure and charging pile system
CN108521452B (en) Method and system for intelligently upgrading service version
CN106528199A (en) Method and terminal for updating automobile instrument panel system
CN109889368A (en) A kind of GPRS remote upgrade method based on STM32 controller
CN113655737B (en) Vehicle-mounted electronic controller rapid upgrading system and method transmitted through CAN
CN115550427A (en) Equipment upgrading method, device, equipment and storage medium
CN114827967A (en) Software updating method, Bluetooth device and storage medium
CN111970136B (en) Firmware upgrading method, loRa gateway, loRa system and computer readable storage medium
CN107203392A (en) A kind of many stipulations implementation methods of mini system end product
CN109800229B (en) Data access method and related equipment

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