CN117348900A - Electric energy meter matching upgrading method and related equipment - Google Patents
Electric energy meter matching upgrading method and related equipment Download PDFInfo
- Publication number
- CN117348900A CN117348900A CN202311178666.1A CN202311178666A CN117348900A CN 117348900 A CN117348900 A CN 117348900A CN 202311178666 A CN202311178666 A CN 202311178666A CN 117348900 A CN117348900 A CN 117348900A
- Authority
- CN
- China
- Prior art keywords
- electric energy
- energy meter
- information
- upgrading
- upgrade
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000005540 biological transmission Effects 0.000 claims abstract description 58
- 238000004891 communication Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000007726 management method Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to an electric energy meter matching upgrading method and system, a system main station and an acquisition terminal. The method comprises the steps that header information of an electric energy meter upgrading packet is sent to the electric energy meter, and whether the electric energy meter can be matched with the electric energy meter for upgrading is judged according to the header information; then receiving upgrading judgment information returned by the electric energy meter, and sending a corresponding electric energy meter upgrading packet to the target electric energy meter by using a multicast and point-to-point transmission mode according to the upgrading judgment information; after the fact that the electric energy meter upgrade package is completely received by the target electric energy meter is confirmed, an upgrade command is sent to the target electric energy meter, and the target electric energy meter is upgraded by using the electric energy meter upgrade package after receiving the upgrade command; and finally, returning upgrading result information of whether the upgrading is successful or not by the target electric energy meter. The method and the device can comprehensively evaluate whether the electric energy meters of different manufacturers, different systems and different system versions can be upgraded, can provide matched upgrade packages for different electric energy meters, and improve efficiency by using multicast and point-to-point modes for batch upgrade.
Description
Technical Field
The application relates to the technical field of intelligent meters, in particular to an electric energy meter matching upgrading method and related equipment.
Background
The internet of things electric energy meter is intelligent electric energy measurement equipment, is connected to an electric power system by utilizing the internet of things technology, and can monitor, record and transmit electric energy use data in real time. The multi-core modular design-based internet-of-things electric energy meter distinguishes an electric meter metering function and a management function, and the metering core and the management core work independently, so that the management core of the internet-of-things network list is required to be upgraded.
The inventor finds that a large number of electric energy meters are operated on site in the process of realizing the embodiment of the application, manufacturers, types, batches, communication protocols and the like of the electric energy meters cannot be unified, and then the current upgrading mode of the electric energy meters is that a system master station transmits an upgrading program packet to a single electric energy meter in a point-to-point mode to realize upgrading, so that the process efficiency of upgrading all the electric energy meters in the system is low. Therefore, how to improve the efficiency of overall upgrade of all the electric energy meters in the system is a problem that needs to be solved currently.
Disclosure of Invention
The technical problem that this embodiment of the application mainly solves is how to improve the efficiency that carries out whole upgrading to all electric energy meter in the system.
In order to solve the technical problems, a first technical scheme adopted in the embodiment of the application is as follows: the utility model provides an electric energy meter matching upgrading method, which is applied to a system main station and comprises the following steps: acquiring at least one electric energy meter upgrading packet and reading packet header information of the electric energy meter upgrading packet; the packet header information is sent to at least one acquisition terminal connected with the system main station and is forwarded to at least one electric energy meter correspondingly connected with the acquisition terminal through the acquisition terminal; receiving upgrade package list information sent by the acquisition terminal, wherein the upgrade package list information is generated by the acquisition terminal according to upgrade judgment information sent by the electric energy meter, and the upgrade judgment information is generated by the electric energy meter according to the packet header information; transmitting a corresponding electric energy meter upgrade package to a corresponding acquisition terminal according to the upgrade package list information, and then transmitting a batch upgrade command to the acquisition terminal; and receiving the electric energy meter upgrading result information sent by the acquisition terminal, wherein the electric energy meter upgrading result information is sent to the acquisition terminal by the electric energy meter.
Optionally, the step of sending the corresponding electric energy meter upgrade package to the corresponding acquisition terminal according to the upgrade package list information includes: judging whether the electric energy meter to be upgraded exists or not according to the upgrade package list information, wherein the upgrade package list information comprises hardware information and software information of the electric energy meter to be upgraded; if yes, acquiring a corresponding target electric energy meter upgrading packet according to the hardware information and the software information of the electric energy meter to be upgraded; and sending the target electric energy meter upgrading packet to the acquisition terminal by using a file block transmission mode.
Optionally, after the step of sending the target electric energy meter upgrade package to the acquisition terminal by using a file block transmission mode, the method further includes: receiving a transmission block status word returned by the acquisition terminal; judging whether the acquisition terminal completely receives the target electric energy meter upgrade package according to the transmission block status word; if not, repeating the steps from the step of sending the target electric energy meter upgrading packet to the acquisition terminal by using the file block transmission mode to the step of judging whether the acquisition terminal completely receives the target electric energy meter upgrading packet according to the transmission block status word until the acquisition terminal completely receives the target electric energy meter upgrading packet.
In order to solve the technical problem, a second technical scheme adopted in the embodiment of the application is as follows: the utility model provides an electric energy meter matching upgrading method, which is applied to an acquisition terminal and comprises the following steps: receiving packet header information of an electric energy meter upgrade packet and sending the packet header information to a connected electric energy meter; receiving upgrade judgment information sent by an electric energy meter, and generating upgrade package list information according to the upgrade judgment information, wherein the upgrade judgment information is generated by the electric energy meter according to the package head information; transmitting the upgrade package list information to a system master station, and receiving a target electric energy meter upgrade package transmitted by the system master station; after a batch upgrading instruction is received, sending the target electric energy meter upgrading packet to the corresponding electric energy meter according to the upgrading packet list information; and receiving upgrading result information sent by the electric energy meter, and reporting the upgrading result information to a system master station.
Optionally, the step of receiving upgrade judgment information sent by the electric energy meter and generating upgrade package list information according to the upgrade judgment information includes: receiving upgrading judging information sent by an electric energy meter, wherein the upgrading judging information comprises hardware information and software information of the electric energy meter and marking information of whether the electric energy meter can be upgraded or not; generating upgrade package list information according to the package head information, the hardware information, the software information and the mark information of the electric energy meter, wherein the electric energy meter, the mark information and the package head information in the upgrade package list information are in one-to-one correspondence.
Optionally, after receiving the batch upgrade instruction, the step of sending the target electric energy meter upgrade package to the corresponding electric energy meter according to the upgrade package list information includes: after receiving a batch upgrading instruction, adding address information of the electric energy meter to be upgraded in the upgrading packet list information to a group address list; transmitting the target electric energy meter upgrade package to the corresponding electric energy meter according to the group address list by using a multicast mode; receiving a transmission block status word returned by a target electric energy meter, and judging whether the upgrade package of the target electric energy meter is completely received according to the transmission status word; if not, repeating the step of transmitting the target electric energy meter upgrade package to the corresponding electric energy meter according to the group address list by using the multicast mode until judging whether the target electric energy meter upgrade package is completely received according to the transmission status word, until the target electric energy meter upgrade package is completely received or the repeated execution times reach a preset repeated time threshold.
Optionally, the step of receiving the status word of the transmission block returned by the target electric energy meter and judging whether the upgrade packet of the target electric energy meter is completely received according to the status word of the transmission block includes: receiving a transmission block status word returned by the target electric energy meter, and comparing the transmission block status word with the group address list to obtain a missing electric energy meter which is missed after multicast transmission; acquiring address information of the electric energy meter from the group address list as missing address information; and retransmitting the target electric energy meter upgrade package to the electric energy meter in a point-to-point mode according to the missing address information.
In order to solve the above technical problems, a third technical solution adopted in the embodiments of the present application is: there is provided a system primary station comprising: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the electric energy meter matching upgrading method.
In order to solve the above technical problems, a fourth technical solution adopted in the embodiments of the present application is: provided is an acquisition terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the electric energy meter matching upgrading method.
In order to solve the above technical problems, a fifth technical solution adopted in the embodiments of the present application is: provided is an electric energy meter matching upgrade system, comprising: a system master station as described above; the acquisition terminal is in communication connection with the system main station; the electric energy meter is in communication connection with the acquisition terminal.
Different from the situation of the related art, the embodiment of the application provides a matching upgrading method and system of an electric energy meter, a system main station and an acquisition terminal, wherein the electric energy meter judges whether the electric energy meter can be matched and upgraded according to the packet header information by sending the packet header information of an electric energy meter upgrading packet to the electric energy meter; then receiving upgrading judgment information returned by the electric energy meter, and sending a corresponding electric energy meter upgrading packet to the target electric energy meter by using a multicast and point-to-point transmission mode according to the upgrading judgment information; after the fact that the electric energy meter upgrade package is completely received by the target electric energy meter is confirmed, an upgrade command is sent to the target electric energy meter, and the target electric energy meter is upgraded by using the electric energy meter upgrade package after receiving the upgrade command; and finally, returning upgrading result information of whether the upgrading is successful or not by the target electric energy meter. According to the electric energy meter matching upgrading and system, the system main station and the acquisition terminal, whether electric energy meters of different factories, different systems and different system versions can be upgraded or not can be comprehensively evaluated, matching upgrading packages can be provided for different electric energy meters, and batch upgrading is performed in a multicast and point-to-point mode, so that upgrading efficiency is improved.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to scale, unless expressly stated otherwise.
Fig. 1 is a schematic architecture diagram of an electric energy meter matching upgrade system provided in an embodiment of the present application;
fig. 2 is a schematic diagram of content format of an upgrade package of an electric energy meter according to an embodiment of the present application;
FIG. 3 is a flowchart of an electric energy meter matching upgrading method provided in an embodiment of the present application;
FIG. 4 is a flowchart of a method for upgrading matching of an electric energy meter according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an electric energy meter matching upgrading device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electric energy meter matching upgrade apparatus according to another embodiment of the present application;
fig. 7 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that, if not conflicting, the various features in the embodiments of the present application may be combined with each other, which are all within the protection scope of the present application. In addition, while the division of functional blocks is performed in a device diagram and the logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in a device diagram or the sequence in a flowchart.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used in this specification includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic architecture diagram of an electric energy meter matching upgrade system 100 according to an embodiment of the present application. The electric energy meter matching upgrading system 100 comprises a system main station 10, an acquisition terminal 20 and an electric energy meter 30. The system main station 10 is in communication connection with the acquisition terminal 20, and the acquisition terminal 20 is in communication connection with the electric energy meter 30. The connection mode between the system main station 10 and the acquisition terminal 20 may be Ethernet, an optical fiber dedicated network, etc., and the connection mode between the acquisition terminal 20 and the electric energy meter 30 may be carrier, wireless, RS-485, etc. The system main station can also realize remote management functions of monitoring, analyzing and processing the power data in real time, issuing instructions and the like.
In the electric energy meter matching and upgrading system 100, the system main station 10 may be a computer device in communication connection with the acquisition terminal 20, where the computer device may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution network (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The system master station 10 also interfaces with all electric energy meter manufacturers, the electric energy meter upgrade package is manufactured by the electric energy meter manufacturers, the package header information comprises manufacturer codes and manufacturer ammeter information, the electric energy meter upgrade package is developed by the electric energy meter manufacturers, because the electric energy meter manufacturers are most clear for various electric energy meter products produced by the electric energy meter manufacturers, the electric energy meter manufacturers manage and add the package header information matched with the produced electric energy meters, and meanwhile, the package header information has various manufacturer code information of industry regulations (for example, national network electric department regulations). Fig. 2 is a schematic diagram of content format of an upgrade package of an electric energy meter, where check bits of a package header information area and check bits of a program package area of the electric energy meter may be check results output by any one of check algorithms, and other information in the package header information of the upgrade package of the electric energy meter is detailed in fig. 2, which is not described herein.
After acquiring at least one electric energy meter upgrade package, the system master station 10 reads header information of the electric energy meter upgrade package, where the header information is also generated by a manufacturer of the electric energy meter according to the electric energy meter upgrade package, a corresponding electric energy meter and content formats of the electric energy meter upgrade package. And then the packet header information is sent to at least one acquisition terminal 20 connected with the system main station 10, and the packet header information is forwarded to at least one electric energy meter 30 correspondingly connected with the acquisition terminal 20 through the acquisition terminal 20. After the electric energy meter 30 receives the packet header information, it will compare with the current system information of the electric energy meter according to the packet header information, determine whether the electric energy meter 30 can use the electric energy meter upgrade packet corresponding to the packet header information to perform system upgrade, obtain upgrade determination information, and then the electric energy meter 30 will send the obtained upgrade determination information to the acquisition terminal 20. After the acquisition terminal 20 receives the upgrade determination information, corresponding upgrade package list information is generated according to the received upgrade determination information, electric energy meter information, and the like, and then the acquisition terminal 20 sends the generated upgrade package list information to the system master station 10. After receiving the upgrade package list information, the system master station 10 sends a corresponding electric energy meter upgrade package to the corresponding acquisition terminal 20 according to the upgrade package list information. After the system master station 10 confirms that the acquisition terminal 20 correctly receives the complete electric energy meter upgrade package, a batch upgrade command is sent to the acquisition terminal 20. And then the acquisition terminal 20 sends the received electric energy meter upgrading package to the electric energy meter 30 correspondingly connected according to the batch upgrading command and the upgrading package list information, and sends the upgrading command to the electric energy meter 30 so as to control the electric energy meter 30 to use the electric energy meter upgrading package for system upgrading. Finally, the electric energy meter 30 returns the result information of the system upgrade to the acquisition terminal 20, and the acquisition terminal 20 gathers the result information of the system upgrade and then sends the result information to the system master station 10.
The step of the system master station 10 sending a corresponding electric energy meter upgrade package to a corresponding acquisition terminal 20 according to the upgrade package list information includes: judging whether the electric energy meter to be upgraded exists or not according to the upgrade package list information, wherein the upgrade package list information comprises hardware information and software information of the electric energy meter to be upgraded; if the electric energy meter to be upgraded exists, acquiring a corresponding target electric energy meter upgrading packet according to hardware information and software information of the electric energy meter to be upgraded; and sending the target electric energy meter upgrade package to the acquisition terminal 20 by using a file block transmission mode.
After the step of the system master station 10 sending the target electric energy meter upgrade packet to the acquisition terminal 20 by using the file block transmission mode, the method further includes: receiving a transmission block status word returned by the acquisition terminal 20; judging whether the acquisition terminal 20 completely receives the target electric energy meter upgrade package according to the transmission block status word; if the acquisition terminal 20 does not completely receive the target electric energy meter upgrade package, repeating the steps from sending the target electric energy meter upgrade package to the acquisition terminal 20 by using the file block transmission mode to judging whether the acquisition terminal 20 completely receives the target electric energy meter upgrade package according to the transmission block status word until the acquisition terminal 20 completely receives the target electric energy meter upgrade package.
In the electric energy meter matching upgrading system 100, the acquisition terminal 20 adopts different communication modes according to different power users, so that acquisition of user power consumption data and bidirectional transmission of system main station instructions are realized. The acquisition terminal 20 receives header information of the power meter upgrade package and then transmits the header information to the power meter 30 that has been connected to the acquisition terminal 20. Then, the upgrade judgment information sent by the electric energy meter 20 is received, and upgrade package list information is generated according to the upgrade judgment information, and because hardware information (such as manufacturer, model, specification, batch, metering chip model, etc. of the electric energy meter) and software information (such as system type of the electric energy meter, system version of the electric energy meter, communication protocol supported by the system of the electric energy meter, etc.) of the electric energy meter 30 are sent to the acquisition terminal 20 when the electric energy meter 30 is connected with the acquisition terminal 20, the acquisition terminal also adds part of the hardware information and software information of the electric energy meter 30 to the upgrade package list information, so that the system master station 10 can acquire more electric energy meter information to perform upgrade package matching after receiving the upgrade package list information, and further the process of upgrading the electric energy meter is more accurate and the probability of upgrade failure is reduced. And then the upgrade package list information is sent to the system master station 10, and a target electric energy meter upgrade package returned by the system master station 10 according to the upgrade package list information is received. Finally, after receiving the batch upgrade instruction sent by the system master station 10, the acquisition terminal 20 sends a target electric energy meter upgrade packet to the corresponding electric energy meter 30 according to the upgrade packet list information, receives upgrade result information sent by the electric energy meter, and then gathers the upgrade result information and sends the upgrade result information to the system master station 10.
The step of the acquisition terminal 20 receiving upgrade judgment information sent by the electric energy meter and generating upgrade package list information according to the upgrade judgment information includes: firstly, receiving upgrading judging information sent by an electric energy meter, wherein the upgrading judging information comprises hardware information and software information of the electric energy meter and marking information of whether the electric energy meter can be upgraded or not; and generating upgrade package list information according to the package head information, the hardware information, the software information and the mark information of the electric energy meter, wherein the electric energy meter, the mark information and the package head information in the upgrade package list information are in one-to-one correspondence.
After the acquisition terminal 20 receives the batch upgrade instruction, the step of sending the target electric energy meter upgrade package to the corresponding electric energy meter 30 according to the upgrade package list information includes: after receiving the batch upgrading instruction, adding address information of the electric energy meter to be upgraded in the upgrading packet list information to a group address list; transmitting a target electric energy meter upgrade package to the corresponding electric energy meter 30 according to the group address list by using a multicast mode; receiving a transmission block status word returned by the target electric energy meter, and judging whether the upgrade package of the target electric energy meter is completely received according to the transmission block status word; if the target electric energy meter upgrade package is not completely received, repeating the steps from transmitting the target electric energy meter upgrade package to the corresponding electric energy meter according to the group address list by using the multicast mode to judging whether the target electric energy meter upgrade package is completely received according to the transmission status word until the target electric energy meter upgrade package is completely received or the repeated execution times reach a preset repeated times threshold value.
The step of the collecting terminal 20 receiving the status word of the transmission block returned by the target electric energy meter and judging whether the upgrade package of the target electric energy meter is completely received according to the status word of the transmission block includes: firstly, receiving a transmission block status word returned by a target electric energy meter, and comparing the transmission block status word with a group address list to obtain a missing electric energy meter which is missed after multicast transmission; then, the address information of the electric energy meter is obtained from the group address list and used as missing address information; and finally, retransmitting the target electric energy meter upgrade package to the missing electric energy meter in a point-to-point mode according to the missing address information.
According to the embodiment of the application, the electric energy meter can be automatically matched and upgraded in the system, whether the electric energy meters of different factories, different systems and different system versions can be upgraded or not can be comprehensively evaluated, matched upgrading packages can be provided for different electric energy meters, and batch upgrading is performed in a multicast and point-to-point mode, so that the upgrading efficiency is improved.
Referring to fig. 3, a flowchart of an electric energy meter matching and upgrading method is provided, and the electric energy meter matching and upgrading method can be used for the system master station 10, specifically including:
s101, acquiring at least one electric energy meter upgrade package, and reading package head information of the electric energy meter upgrade package.
S102, transmitting the packet header information to at least one acquisition terminal connected with a system main station, and forwarding the packet header information to at least one electric energy meter correspondingly connected with the acquisition terminal through the acquisition terminal.
S103, receiving upgrade package list information sent by the acquisition terminal, wherein the upgrade package list information is generated by the acquisition terminal according to upgrade judgment information sent by the electric energy meter, and the upgrade judgment information is generated by the electric energy meter according to package head information.
S104, sending the corresponding electric energy meter upgrade package to the corresponding acquisition terminal according to the upgrade package list information, and then sending batch upgrade commands to the acquisition terminal.
S105, receiving the electric energy meter upgrading result information sent by the acquisition terminal, and sending the electric energy meter upgrading result information to the acquisition terminal by the electric energy meter.
The step of sending the corresponding electric energy meter upgrade package to the corresponding acquisition terminal according to the upgrade package list information comprises the following steps: firstly, judging whether an electric energy meter to be upgraded exists according to the upgrade package list information, wherein the upgrade package list information comprises hardware information and software information of the electric energy meter to be upgraded; if the electric energy meter to be upgraded exists, acquiring a corresponding target electric energy meter upgrading packet according to hardware information and software information of the electric energy meter to be upgraded; and finally, sending the target electric energy meter upgrade package to the acquisition terminal by using a file block transmission mode.
Optionally, after the step of sending the target electric energy meter upgrade package to the acquisition terminal by using a file block transmission mode, the method further includes: receiving a transmission block status word returned by the acquisition terminal; judging whether the acquisition terminal completely receives the target electric energy meter upgrade package according to the transmission block status word; and if the acquisition terminal does not completely receive the target electric energy meter upgrading packet, repeating the steps from the step of sending the target electric energy meter upgrading packet to the acquisition terminal by using a file block transmission mode to the step of judging whether the acquisition terminal completely receives the target electric energy meter upgrading packet according to the transmission block status word until the acquisition terminal completely receives the target electric energy meter upgrading packet.
It should be noted that, the method for upgrading the matching of the electric energy meter according to the embodiment of the present application may be executed by the system master station 10, and specific processes may refer to the embodiment of the present application, and the embodiment of the method has the same advantages as the embodiment of the present application.
Referring to fig. 4, a flowchart of an electric energy meter matching upgrade method is provided, and the electric energy meter matching upgrade method may be used for the above-mentioned acquisition terminal 20, and specifically includes:
s201, receiving the packet header information of the electric energy meter upgrade packet and sending the packet header information to the connected electric energy meter.
S202, receiving upgrading judging information sent by the electric energy meter, generating upgrading packet list information according to the upgrading judging information, and generating upgrading judging information by the electric energy meter according to packet header information.
S203, sending upgrade package list information to the system master station, and receiving a target electric energy meter upgrade package sent by the system master station.
S204, after the batch upgrading instruction is received, a target electric energy meter upgrading packet is sent to the corresponding electric energy meter according to the upgrading packet list information.
S205, receiving upgrade result information sent by the electric energy meter, and reporting the upgrade result information to a system master station.
The step of receiving the upgrade judgment information sent by the electric energy meter and generating upgrade package list information according to the upgrade judgment information comprises the following steps: firstly, receiving upgrading judging information sent by an electric energy meter, wherein the upgrading judging information comprises hardware information and software information of the electric energy meter and marking information of whether the electric energy meter can be upgraded or not; and generating upgrade package list information according to the package head information, the hardware information, the software information and the mark information of the electric energy meter, wherein the electric energy meter, the mark information and the package head information in the upgrade package list information are in one-to-one correspondence.
After receiving a batch upgrade instruction, the step of sending the target electric energy meter upgrade package to the corresponding electric energy meter according to the upgrade package list information comprises the following steps: firstly, after a batch upgrading instruction is received, adding address information of an electric energy meter to be upgraded in the upgrading packet list information to a group address list; then, transmitting the target electric energy meter upgrade package to the corresponding electric energy meter according to the group address list by using a multicast mode; finally, receiving a transmission block status word returned by the target electric energy meter, and judging whether the upgrade package of the target electric energy meter is completely received according to the transmission block status word; and if the target electric energy meter upgrading packet is not completely received, repeating the step of transmitting the target electric energy meter upgrading packet to the corresponding electric energy meter by using a multicast mode according to the group address list until the step of judging whether the target electric energy meter upgrading packet is completely received according to the transmission status word until the target electric energy meter upgrading packet is completely received or the repeated execution times reach a preset repeated time threshold.
The step of receiving the transmission block status word returned by the target electric energy meter and judging whether the target electric energy meter upgrade packet is completely received according to the transmission block status word comprises the following steps: firstly, receiving a transmission block status word returned by a target electric energy meter, and comparing the transmission block status word with the group address list to obtain a missing electric energy meter which is missed after multicast transmission; then, the address information of the electric energy meter is obtained from the group address list and is used as missing address information; and finally, retransmitting the target electric energy meter upgrade package to the electric energy meter in a point-to-point mode according to the missing address information.
It should be noted that, the method for upgrading the matching of the electric energy meter according to the embodiment of the present application may be executed by the acquisition terminal 20, and specific processes may refer to the embodiment of the present application, and the embodiment of the method has the same advantages as the embodiment of the present application.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electric energy meter matching and upgrading device 50 according to an embodiment of the present application. The electric energy meter matching upgrade apparatus 50 may be applied to the above-mentioned master station system 10, and includes:
the upgrade package obtaining module 51 is configured to obtain at least one upgrade package of the electric energy meter, and read header information of the upgrade package of the electric energy meter.
The packet header information module 52 is configured to send packet header information to at least one acquisition terminal connected to the system master station, and forward the packet header information to at least one electric energy meter correspondingly connected to the acquisition terminal through the acquisition terminal.
The upgrade package list module 53 is configured to receive upgrade package list information sent by the acquisition terminal, where the upgrade package list information is generated by the acquisition terminal according to upgrade judgment information sent by the electric energy meter, and the upgrade judgment information is generated by the electric energy meter according to the package header information.
The batch upgrade module 54 is configured to send a corresponding electric energy meter upgrade package to a corresponding acquisition terminal according to the upgrade package list information, and then send a batch upgrade command to the acquisition terminal.
The upgrade result module 55 is configured to receive the electric energy meter upgrade result information sent by the acquisition terminal, where the electric energy meter upgrade result information is sent to the acquisition terminal by the electric energy meter.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electric energy meter matching and upgrading device 60 according to an embodiment of the present application. The electric energy meter matching and upgrading device 60 can be applied to the acquisition terminal 20, and comprises:
the packet header information management module 61 is configured to receive packet header information of an upgrade packet of the electric energy meter, and send the packet header information to the connected electric energy meter.
The upgrade judging module 62 is configured to receive upgrade judging information sent by the electric energy meter, generate upgrade package list information according to the upgrade judging information, and generate upgrade judging information according to package header information by the electric energy meter.
And the upgrade information management module 63 is used for sending the upgrade package list information to the system master station and receiving the target electric energy meter upgrade package sent by the system master station.
And the upgrade package sending module 64 is configured to send, after receiving the batch upgrade instruction, a target electric energy meter upgrade package to the corresponding electric energy meter according to the upgrade package list information.
The result reporting module 65 is configured to receive upgrade result information sent by the electric energy meter, and report the upgrade result information to the system master station.
It should be noted that, the electric energy meter matching and upgrading device 50 and the electric energy meter matching and upgrading device 60 may execute the corresponding electric energy meter matching and upgrading method provided in the embodiments of the present application, and have corresponding functional modules and beneficial effects of the execution method. Technical details which are not described in detail in the embodiment of the electric energy meter matching and upgrading device can be seen in the electric energy meter matching and upgrading method provided correspondingly in the embodiment of the application.
Fig. 7 is a schematic hardware structure of an electronic device 70 provided in the embodiment of the present application, where the electronic device 70 may specifically be a system master station, or an acquisition terminal, or an electric energy meter. As shown in fig. 7, the electronic device 70 includes:
one or more processors 71 and a memory 72, one processor 71 being illustrated in fig. 7.
The processor 71 and the memory 72 may be connected by a bus or otherwise, which is illustrated in fig. 7 as a bus connection.
The memory 72 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions/modules corresponding to the electric energy meter matching upgrade method in the embodiment of the present application. The processor 71 executes various functional applications and data processing of the electronic device by running non-volatile software programs, instructions and modules stored in the memory 72, i.e. implementing the above-described method embodiment power meter matching upgrade method.
Memory 72 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the electric energy meter matching upgrade apparatus, etc. In addition, memory 72 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 72 may optionally include memory located remotely from processor 71, which may be connected to the power meter matching upgrade via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 72, which when executed by the one or more processors 71, perform the power meter matching upgrade method of any of the method embodiments described above, for example, the method steps described above in fig. 3, or the method steps in fig. 4.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in this embodiment may be found in the methods provided in the embodiments of the present application.
Embodiments of the present application provide a non-volatile computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, such as one of the processors 71 in fig. 7, to cause the one or more processors to perform the method of matching an electrical energy meter in any of the method embodiments described above, such as performing the method steps described above in fig. 3, or the method steps in fig. 4.
Embodiments of the present application provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by the electronic device, enable the electronic device to perform the electric energy meter matching upgrade method in any of the method embodiments described above, e.g. to perform the method steps in fig. 3 described above, or the method steps in fig. 4.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Those skilled in the art will appreciate that all or part of the processes implementing the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and where the program may include processes implementing the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; the technical features of the above embodiments or in the different embodiments may also be combined under the idea of the present application, the steps may be implemented in any order, and there are many other variations of the different aspects of the present application as described above, which are not provided in details for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. The electric energy meter matching upgrading method is applied to a system main station and is characterized by comprising the following steps of:
acquiring at least one electric energy meter upgrading packet and reading packet header information of the electric energy meter upgrading packet;
the packet header information is sent to at least one acquisition terminal connected with the system main station and is forwarded to at least one electric energy meter correspondingly connected with the acquisition terminal through the acquisition terminal;
receiving upgrade package list information sent by the acquisition terminal, wherein the upgrade package list information is generated by the acquisition terminal according to upgrade judgment information sent by the electric energy meter, and the upgrade judgment information is generated by the electric energy meter according to the packet header information;
transmitting a corresponding electric energy meter upgrade package to a corresponding acquisition terminal according to the upgrade package list information, and then transmitting a batch upgrade command to the acquisition terminal;
and receiving the electric energy meter upgrading result information sent by the acquisition terminal, wherein the electric energy meter upgrading result information is sent to the acquisition terminal by the electric energy meter.
2. The method for matching and upgrading an electric energy meter according to claim 1, wherein the step of transmitting the corresponding electric energy meter upgrade package to the corresponding acquisition terminal according to the upgrade package list information comprises the steps of:
judging whether the electric energy meter to be upgraded exists or not according to the upgrade package list information, wherein the upgrade package list information comprises hardware information and software information of the electric energy meter to be upgraded;
if yes, acquiring a corresponding target electric energy meter upgrading packet according to the hardware information and the software information of the electric energy meter to be upgraded;
and sending the target electric energy meter upgrading packet to the acquisition terminal by using a file block transmission mode.
3. The method for matching and upgrading an electric energy meter according to claim 1, wherein after the step of sending the target electric energy meter upgrade package to the acquisition terminal by using a file block transmission mode, the method further comprises:
receiving a transmission block status word returned by the acquisition terminal;
judging whether the acquisition terminal completely receives the target electric energy meter upgrade package according to the transmission block status word;
if not, repeating the steps from the step of sending the target electric energy meter upgrading packet to the acquisition terminal by using the file block transmission mode to the step of judging whether the acquisition terminal completely receives the target electric energy meter upgrading packet according to the transmission block status word until the acquisition terminal completely receives the target electric energy meter upgrading packet.
4. The utility model provides an electric energy meter matching upgrading method, is applied to acquisition terminal, which is characterized in that the method includes:
receiving packet header information of an electric energy meter upgrade packet and sending the packet header information to a connected electric energy meter;
receiving upgrade judgment information sent by an electric energy meter, and generating upgrade package list information according to the upgrade judgment information, wherein the upgrade judgment information is generated by the electric energy meter according to the package head information;
transmitting the upgrade package list information to a system master station, and receiving a target electric energy meter upgrade package transmitted by the system master station;
after a batch upgrading instruction is received, sending the target electric energy meter upgrading packet to the corresponding electric energy meter according to the upgrading packet list information;
and receiving upgrading result information sent by the electric energy meter, and reporting the upgrading result information to a system master station.
5. The method for matching and upgrading a power meter according to claim 4, wherein the step of receiving upgrade determination information transmitted from the power meter and generating upgrade package list information according to the upgrade determination information comprises:
receiving upgrading judging information sent by an electric energy meter, wherein the upgrading judging information comprises hardware information and software information of the electric energy meter and marking information of whether the electric energy meter can be upgraded or not;
generating upgrade package list information according to the package head information, the hardware information, the software information and the mark information of the electric energy meter, wherein the electric energy meter, the mark information and the package head information in the upgrade package list information are in one-to-one correspondence.
6. The method for matching and upgrading electric energy meters according to claim 4, wherein the step of sending the target electric energy meter upgrade package to the corresponding electric energy meter according to the upgrade package list information after receiving the batch upgrade instruction comprises the steps of:
after receiving a batch upgrading instruction, adding address information of the electric energy meter to be upgraded in the upgrading packet list information to a group address list;
transmitting the target electric energy meter upgrade package to the corresponding electric energy meter according to the group address list by using a multicast mode;
receiving a transmission block status word returned by a target electric energy meter, and judging whether the upgrade package of the target electric energy meter is completely received according to the transmission status word;
if not, repeating the step of transmitting the target electric energy meter upgrade package to the corresponding electric energy meter according to the group address list by using the multicast mode until judging whether the target electric energy meter upgrade package is completely received according to the transmission status word, until the target electric energy meter upgrade package is completely received or the repeated execution times reach a preset repeated time threshold.
7. The method for matching and upgrading a power meter according to claim 6, wherein the step of receiving a status word of a transmission block returned by a target power meter and judging whether the upgrade package of the target power meter is completely received according to the status word comprises the steps of:
receiving a transmission block status word returned by the target electric energy meter, and comparing the transmission block status word with the group address list to obtain a missing electric energy meter which is missed after multicast transmission;
acquiring address information of the electric energy meter from the group address list as missing address information;
and retransmitting the target electric energy meter upgrade package to the electric energy meter in a point-to-point mode according to the missing address information.
8. A system primary station, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
9. An acquisition terminal, characterized by comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 4-7.
10. An electrical energy meter matching upgrade system, comprising:
the system master station of claim 8;
the acquisition terminal of claim 9, said acquisition terminal being in communication with said system master station;
the electric energy meter is in communication connection with the acquisition terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311178666.1A CN117348900A (en) | 2023-09-13 | 2023-09-13 | Electric energy meter matching upgrading method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311178666.1A CN117348900A (en) | 2023-09-13 | 2023-09-13 | Electric energy meter matching upgrading method and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117348900A true CN117348900A (en) | 2024-01-05 |
Family
ID=89356560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311178666.1A Pending CN117348900A (en) | 2023-09-13 | 2023-09-13 | Electric energy meter matching upgrading method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117348900A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118092981A (en) * | 2024-04-19 | 2024-05-28 | 石家庄科林电气股份有限公司 | Rapid upgrading method of Internet of things electric energy meter and electric energy meter |
-
2023
- 2023-09-13 CN CN202311178666.1A patent/CN117348900A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118092981A (en) * | 2024-04-19 | 2024-05-28 | 石家庄科林电气股份有限公司 | Rapid upgrading method of Internet of things electric energy meter and electric energy meter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108400908B (en) | Automatic checking and accepting method for monitoring information of transformer substation | |
CN109450704B (en) | Plug-and-play intelligent distribution transformer terminal and distribution data communication system | |
CN109768970B (en) | Configurable universal protocol generation method | |
CN109768623A (en) | Monitoring method, device, computer equipment and the storage medium of electric system | |
CN110012002A (en) | Message parsing method, device and server, computer readable storage medium | |
CN107800554B (en) | Data acquisition method, device and system | |
CN117348900A (en) | Electric energy meter matching upgrading method and related equipment | |
CN112039833A (en) | Communication manager system and engineering configuration method | |
CN103973421A (en) | File transmitting method and device | |
CN113703363B (en) | Plug-and-play method of intelligent edge computing gateway in power dispatching cloud | |
CN112614331B (en) | Method for reading electric energy meter event and electric energy meter event reading system | |
CN104993589A (en) | Model sharing method between power distribution main station and terminal | |
CN103996276A (en) | Remote transmission system and method for data of power plant | |
CN111786941A (en) | Automatic identification method and communication method for communication protocol | |
CN113783860B (en) | Message processing method, device, equipment and storage medium based on visual configuration | |
CN112015813B (en) | Data sharing method, system and device for power distribution network and computer equipment | |
CN109343488A (en) | Fieldbus monitoring early-warning system and method based on wechat and FDT technology | |
CN110932393B (en) | Substation information protection master station system and data initialization method thereof | |
CN116155720A (en) | CAN data acquisition remote configuration method in T-BOX | |
CN113938351A (en) | Data acquisition method, system and computer readable storage medium | |
CN116260503B (en) | Multi-station control data transmission system and method based on antenna equipment | |
CN109039427B (en) | Ship monitoring management device | |
CN113162786B (en) | Method, device and system for configuring secondary device | |
CN113630368B (en) | Communication method, system, terminal and medium of automatic cloud meter | |
CN113965447B (en) | Online cloud diagnosis method, device, system, equipment and storage medium |
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 |