Intelligent electric meter upgrading method and system based on HPLC + HRF network
By using the Bitmap data structure and the local node local broadcast package in the intelligent meter upgrade method, the problem of time consuming and efficient in the upgrade of smart meters in existing technology, and the efficient upgrade process and the full network resources are fully efficient and the network resources are sufficient use.
Patent Information
- Application Number
- CN202411695807.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-01-21
AI Technical Summary
The existing smart meter upgrade method consumes time and is inefficient in HPLC+HRF communication networks, and cannot fully utilize the network advantages.
The Bitmap data structure is used to record the reception of upgrade packages. Nodes at all levels actively report missing packages to their parent nodes, and the parent nodes perform local broadcasts to replenish packages to avoid the inefficiency of unified query by the concentrator.
It significantly improves the upgrade efficiency, reduces the time-consuming upgrade process, makes full use of the communication bandwidth of the HPLC+HRF network, and improves network utilization.
Smart Images

Figure CN119341910A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart electric meters, and in particular to a smart electric meter upgrading method and system based on an HPLC+HRF network. Background Art
[0002] The HPLC+HRF communication solution currently proposed by the State Grid is a hybrid mesh network. After the equipment based on this network is installed on site, it needs to have a remote upgrade function. The current mainstream upgrade method is to send files to the concentrator through the AMI system (i.e., an advanced metering architecture that realizes automatic two-way communication between smart meters with IP and power companies); the concentrator broadcasts the upgrade file, then reads the receiving status of all meter firmware, and broadcasts the packet replenishment process according to the receiving status, repeating the above process until all upgrade packages are completely received. For example, the prior art discloses a smart grid upgrade method and a smart grid, which sends R data blocks to the local communication module of each sub-node in the N-level sub-nodes through the local communication module of the concentrator through the whole network broadcast, so that the local communication module of each sub-node in the N-level sub-node receives the R data blocks, obtains the upgrade file according to the R data blocks, and upgrades according to the upgrade file; wherein the local communication module of the concentrator and the local communication module of each sub-node in the N-level sub-node communicate through a broadband power line carrier.
[0003] The above existing upgrade scheme takes a very long time to upgrade, and has low utilization efficiency for the HPLC+HRF communication network, and cannot give full play to the advantages of the HPLC+HRF network. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the above-mentioned technology to a certain extent. To this end, one object of the present invention is to propose a smart meter upgrade method based on HPLC+HRF network, which can make full use of mesh network to significantly improve the upgrade efficiency.
[0005] The second object of the present invention is to provide a smart grid system that utilizes a mesh network to significantly improve upgrade efficiency.
[0006] To achieve the above object, the first embodiment of the present invention proposes a smart meter upgrade method based on HPLC+HRF network, comprising:
[0007] Each node at each level creates a Bitmap data structure, and the bits in the Bitmap data structure correspond one-to-one to the serial number of the upgrade package to be received;
[0008] The concentrator sends the upgrade package to nodes at all levels in a network-wide broadcast mode;
[0009] Each node at each level marks the corresponding bit in its own Bitmap data structure according to the serial number of the received upgrade package;
[0010] After the broadcast is completed, nodes at all levels determine whether there is a packet missing based on the marking of their Bitmap data structure. If there is a packet missing, the marking status is reported to the node at the next higher level to which they belong.
[0011] The upper-level node rebroadcasts the missing upgrade packages to the corresponding nodes based on the received markings.
[0012] According to an embodiment of the present invention, a smart meter upgrade method based on HPLC+HRF network, nodes at all levels record the reception of upgrade packages through Bitmap data structure, which can clearly identify whether they are missing packages and the serial number of the missing upgrade packages; if the package is missing, the node actively reports the marking of the Bitmap data structure to the previous node (i.e., its parent node) to which it belongs instead of the concentrator, and its parent node quickly identifies the missing upgrade package based on the marking of the received Bitmap data structure, and sends it to the corresponding node in the form of local broadcast. The package replenishment scheme provided by the embodiment of the present invention, on the one hand, the nodes at all levels themselves can efficiently complete the confirmation of missing packages, solving the inefficiency problem of unified query of the concentrator; on the other hand, the confirmation of the missing package and the package replenishment behavior are all realized by the parent node of the missing package node based on the local connection, that is, the communication bandwidth of the HPLC+HRF network between the hierarchical relationships is fully utilized, and the working pressure of the concentrator is further released. Therefore, the node firmware upgrade method provided by the embodiment of the present invention not only significantly improves the upgrade efficiency and greatly reduces the time-consuming of the upgrade process; but also gives full play to the advantages of the HPLC+HRF network in the power grid and improves its utilization rate.
[0013] In addition, the smart meter upgrade method based on HPLC+HRF network proposed in the above embodiment of the present invention may also have the following additional technical features:
[0014] Optionally, the mark is set to 1.
[0015] Optionally, the nodes at each level determine whether a packet is missing based on the marking of their Bitmap data structures, specifically:
[0016] Each node at each level determines whether there are unmarked bits in its Bitmap data structure;
[0017] If there are unmarked bits, it is determined that the node with the corresponding sequence number is missing a packet.
[0018] Optionally, the upper-level node rebroadcasts the missing upgrade package to the corresponding node according to the received mark, including:
[0019] The upper-level node determines the sequence number of the unmarked bit in its Bitmap data structure according to the received marking situation;
[0020] The upper-level node broadcasts the upgrade package whose serial number is consistent with the determined serial number to the node reporting to the upper-level node.
[0021] Optionally, the upper-level node rebroadcasts the missing upgrade package to the corresponding node according to the received mark, and then further includes:
[0022] The node that is missing the packet will replenish the packet from its upper-level node according to the marking status of its Bitmap data structure until all the upgrade packets are received.
[0023] Optionally, the concentrator sends the upgrade package to nodes at all levels in a network-wide broadcast mode, including:
[0024] The AMI system sends an upgrade instruction to the concentrator, wherein the upgrade instruction includes the address of the FTP server and the address of the upgrade file;
[0025] The concentrator obtains the upgrade file from the FTP server according to the upgrade instruction;
[0026] The concentrator parses the upgrade file to obtain the corresponding upgrade method, upgrade package and its package number;
[0027] The concentrator sends the upgrade package to nodes at all levels in a network-wide rapid broadcasting manner according to the upgrade method.
[0028] Optionally, it includes a concentrator and N-level nodes; wherein N is an integer greater than or equal to 2;
[0029] The first-level node among the N-level nodes is connected to the concentrator, and the next-level node among the N-level nodes is connected to the upper-level node to which it belongs via a local communication module.
[0030] Optionally, the nodes at each level are smart meters.
[0031] To achieve the above-mentioned object, a second aspect of the present invention provides a smart grid system, comprising a concentrator and N-level nodes; wherein N is an integer greater than or equal to 2; a first-level node among the N-level nodes is connected to the concentrator, and a next-level node among the N-level nodes is connected to an upper-level node to which it belongs via a local communication module;
[0032] The concentrator is configured to implement the steps performed by the concentrator in the above-mentioned smart meter upgrade method based on HPLC+HRF network;
[0033] The N-level nodes are configured to implement the steps performed by the nodes at each level in the above-mentioned smart meter upgrade method based on HPLC+HRF network.
[0034] According to an embodiment of the present invention, a smart grid system provides a patching solution for node firmware upgrade, which not only significantly improves the upgrade efficiency and greatly reduces the time consumption of the upgrade process, but also gives full play to the advantages of the HPLC+HRF network in the power grid and improves its utilization rate.
[0035] In addition, a smart grid system proposed according to the above embodiment of the present invention may also have the following additional technical features:
[0036] Optionally, it further includes an AMI system and an FTP server; the AMI system is connected to the FTP server and the concentrator respectively;
[0037] The N-level node is a smart meter. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 An architecture diagram of a smart grid system provided by an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of a process flow of a smart meter upgrade method based on HPLC+HRF network provided by an embodiment of the present invention;
[0040] Figure 3 This is an example diagram of the relationship between the Bitmap data structure created by nodes at each level and the upgrade package in a specific implementation manner of the present invention;
[0041] Figure 4 A schematic flow chart of a firmware upgrade method for a smart meter based on an HPLC+HRF network provided in an embodiment of the present invention;
[0042] Figure 5 An architecture diagram of a smart grid system provided in accordance with another embodiment of the present invention. DETAILED DESCRIPTION
[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0044] The present invention uses Bitmap to enable nodes at all levels to quickly identify whether they are missing packages and the upgrade packages they are missing. When they are missing, they actively report to their parent node, which then makes up for the missing packages in the form of local broadcast. This not only greatly reduces the time consumption of the upgrade process, but also relieves the working pressure of the concentrator; it also improves the utilization rate of the HPLC+HRF network of the power grid.
[0045] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0046] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0047] Figure 1 An architecture diagram of a smart grid system provided in an embodiment of the present invention.
[0048] The present invention is based on Figure 1 The smart grid system shown in the figure carries out node firmware upgrade. Figure 1 As shown, the smart grid system at least includes a concentrator and N-level nodes, wherein N is an integer greater than or equal to 2, that is, there are at least 2-level nodes. The nodes can be smart meters, type I collectors, or type II collectors.
[0049] The first-level node among the N-level nodes is connected to the concentrator, and the next-level node among the N-level nodes is connected to the upper-level node to which it belongs via a local communication module between nodes.
[0050] Here, for the convenience of description, the node to which the node belongs is collectively referred to as the parent node of the node in the present invention. In the smart grid system, when each node joins the network, such as node A, it will listen to the information of the nodes that have joined the network, and connect to the network after the optimal node B is determined according to the algorithm. At this time, the node to which node A belongs is node B, which is also called node B is the parent node / proxy node of node A. For example, Figure 1 The upper-level node to which the nodes 3 and 4 shown in the figure belong is the node 1, that is, the parent node of the nodes 3 and 4 is the node 1; Figure 1 The parent node of node 6 shown is node 4; the parent node of node 9 is node 5.
[0051] Figure 2 A flow chart of a smart meter upgrade method based on HPLC+HRF network provided in an embodiment of the present invention.
[0052] like Figure 2 As shown, the embodiment of the present invention is based on Figure 1 The smart grid system architecture shown provides a smart meter upgrade method based on HPLC+HRF network, which at least includes the following steps S1 to S5.
[0053] In step S1, nodes at each level respectively create a Bitmap data structure, and the bits in the Bitmap data structure correspond one-to-one to the serial numbers of the upgrade packages to be received.
[0054] It can be understood that the upgrade packages in the upgrade file have clear serial numbers, such as 1, 2, 3, etc., which respectively represent the first upgrade package, the second upgrade package, the third upgrade package, etc. At the same time, before starting to receive the upgrade packages, the nodes at all levels know the total number of upgrade packages to be received in this firmware upgrade, such as there are 10 upgrade packages to be received in this upgrade. The Bitmap method, also known as the bitmap method, refers to the use of bits to store a certain state, and the existence of a certain data can be efficiently determined by the marking of the bit.
[0055] In this embodiment, the Bitmap data structure is used for nodes at all levels to mark the receiving status of the upgrade package to clarify whether a package is missing and the serial number of the missing upgrade package.
[0056] In this step, nodes at all levels will create a Bitmap data structure with the total number of bits consistent with the total number of upgrade packages to be received, and the serial number of each bit corresponding to the serial number of each upgrade package. That is, each upgrade package has a unique bit corresponding to it.
[0057] In some specific implementations, for easy identification, a unique identifier is configured for each bit in the Bitmap data structure; then, a one-to-one correspondence is established between the serial number of the upgrade package and the identifier of the bit. For example, the first bit is numbered a, the second bit is numbered b, and so on in alphabetical order; the upgrade package with serial number 1 corresponds to the bit numbered a, the upgrade package with serial number 2 corresponds to the bit numbered b, and so on; of course, the upgrade package with serial number 2 can also correspond to the bit numbered a. Just make sure that each upgrade package uniquely corresponds to a bit.
[0058] In a preferred embodiment, it is not necessary to configure a unique identifier for each bit in the Bitmap data structure. Instead, the serial number of each bit is directly used as its unique identifier, and the corresponding relationship between the bit and the upgrade package is established based on the serial number. As a specific example, assuming that the total number of upgrade packages is 10, the relationship between the Bitmap data structure created by each node and the upgrade package is as follows: Figure 3 As shown, the first bit in the Bitmap data structure corresponds to the upgrade package to be received with a sequence number of 1, the second bit corresponds to the upgrade package to be received with a sequence number of 2, and so on. With this correspondence, the order of the bits in the Bitmap data structure is consistent with the order / receiving order of the upgrade packages to be received, which has the advantages of more intuitive correspondence, convenient management and identification.
[0059] In step S2, the concentrator sends the upgrade package to nodes at all levels in a network-wide broadcast mode.
[0060] In some specific implementations, the concentrator will send the upgrade package to nodes at all levels in a fast broadcast manner.
[0061] The fast broadcast mode means that the concentrator can continuously send upgrade packages, which is different from the delayed broadcast mode that needs to wait for a certain period of time before sending the next package, so the efficiency of sending upgrade packages is high.
[0062] In the above specific implementation manner, the concentrator uses a fast broadcast method to send upgrade packages. It is different from the delayed broadcast method in that only a certain level of nodes can execute the broadcast task at the same time. Instead, it allows each level of nodes to execute the broadcast task at the same time. Therefore, it can make full use of the characteristics of the power grid mesh network and significantly improve the efficiency of the concentrator in sending upgrade packages.
[0063] In step S3, nodes at each level mark the corresponding bit in their own Bitmap data structure according to the serial number of the received upgrade package.
[0064] Here, according to the one-to-one correspondence between each upgrade package and the bit in the Bitmap data structure, after successfully receiving an upgrade package, each node at each level will mark the bit corresponding to the upgrade package in the Bitmap data structure to make it clear that the upgrade package has been successfully received.
[0065] In some specific implementations, the marking method for the bit position in the Bitmap data structure is specifically to process the bit position 1. This marking method has the advantages of being intuitive and easy to operate. Figure 3 As shown, the bits with serial numbers 1, 2, and 3 in the Bitmap data structure are all set to 1, indicating that the corresponding upgrade packages with serial numbers 1, 2, and 3 have been successfully received.
[0066] In step S4, after the broadcast is completed, nodes at all levels determine whether there is a lack of packets based on the marking status of their Bitmap data structures. If there is a lack of packets, the marking status is reported to the upper-level node to which they belong.
[0067] After the concentrator broadcast is completed, nodes at all levels can quickly determine whether there is an upgrade package that has not been successfully received, that is, whether there is a missing package, by judging whether there are unmarked bits in their respective Bitmap data structures; and by obtaining the serial number of the upgrade package corresponding to the unmarked bit, the serial number of the upgrade package that has not been successfully received can be quickly and accurately determined.
[0068] If a correspondence between a bit and an upgrade package is established based on the serial number, the serial number of the upgrade package that has not been successfully received can be directly determined by the serial number of the unmarked bit without querying the correspondence.
[0069] In some specific implementations, the correspondence between the bit and the upgrade package is established based on the serial number, and the bit in the Bitmap data structure is marked by setting the bit position to 1. After the concentrator broadcast ends, the serial number of the bit that is not set to 1 in the Bitmap data structure is the serial number of the upgrade package that was not successfully received. Figure 3 , assuming that the node successfully receives the upgrade package with serial number "2", the second bit in the Bitmap data structure will be set to 1; if the 9th bit in the Bitmap data structure is not set to 1 after the concentrator broadcast ends, it can be clearly seen that the 9th upgrade package was not successfully received.
[0070] After confirming that it has a package shortage problem, the node will actively report its marking status to its upper-level node, that is, its parent node. The marking status can refer to the marking result, that is, only reporting the marking result (the serial number of the upgrade package corresponding to the unmarked bit, such as "9"); it can also refer to the overall marking status of the Bitmap data structure, that is, the marking status of each bit. The former is more suitable for the situation where the correspondence between the bit and the upgrade package is established based on the serial number, which is conducive to further simplifying the package replenishment plan. For the parent node, it does not need to specially store and query the "correspondence", but can directly report the serial number of the upgrade package that the node lacks through the serial number of the unmarked bit. Therefore, for the node, it can reduce the analysis and processing of data to a certain extent and improve the efficiency of package replenishment.
[0071] In step S5, the upper-level node rebroadcasts the missing upgrade packages to the corresponding nodes according to the received markings.
[0072] Here, after receiving the marking status reported by the next-level node (hereinafter referred to as the reporting node), the parent node will first confirm the serial number of the missing upgrade package of the reporting node based on the marking status; then resend the missing upgrade package to the reporting node by local broadcast.
[0073] In some specific implementations, this step specifically includes:
[0074] The parent node determines the serial number of the unmarked bit in its Bitmap data structure based on the received marking situation; the parent node broadcasts the upgrade package whose serial number is consistent with the determined serial number to the reporting node.
[0075] In the existing packet replenishment solution, after the concentrator broadcasts the upgrade package to the entire network, the concentrator needs to poll all nodes to confirm whether the node has a packet shortage problem. This method of confirming packet shortage not only requires the concentrator to spend a lot of time to query one by one, but also for other nodes, they will be idle, wasting node time. In addition, after confirming that the node is missing a packet, it is necessary to broadcast it to the parent node separately through the concentrator, and then the parent node broadcasts it to the packet-deficient node to perform packet replenishment. This packet replenishment method not only occupies the concentrator resources again, but the packet replenishment process is also time-consuming.
[0076] This embodiment is different from the above-mentioned prior art packet replenishment scheme. After the concentrator broadcasts the upgrade package to the entire network, the concentrator basically no longer participates. Nodes at all levels can efficiently determine whether they have a packet shortage problem based on the Bitmap data structure, and actively report to their parent node instead of the concentrator when there is a packet shortage. This method of confirming the lack of packets not only does not need to rely on the concentrator, but can also avoid the bottleneck problem of unified query by the concentrator; it can also complete the confirmation of the lack of packets quickly and accurately; for nodes at all levels, the storage resources and time required are very small. At the same time, this embodiment can make full use of the hierarchical relationships in the HPLC+HRF network, and the parent node of the node with missing packets can replenish packets in a local broadcast manner. In this packet replenishment method, multiple parent nodes can broadcast the replenishment packets at the same time. Compared with only the concentrator broadcasting the replenishment packets, it not only makes full use of the communication bandwidth of the HPLC+HRF network and avoids the waste of network bandwidth; it can also significantly improve the efficiency of packet replenishment.
[0077] Therefore, the smart meter upgrade method based on HPLC+HRF network provided in this embodiment uses a distributed node firmware upgrade method to replace the original centralized node firmware upgrade method, which not only releases the pressure on the concentrator so that it has more time to handle other tasks; it can also make full use of the communication bandwidth of the mesh network and significantly improve the upgrade efficiency.
[0078] See also Figure 4 , Figure 4A schematic flow chart of a firmware upgrade method for a smart meter based on an HPLC+HRF network provided in an embodiment of the present invention.
[0079] The embodiment of the present invention is based on Figure 2 The embodiment is further extended to provide a smart meter firmware upgrade method based on HPLC+HRF network, so as to specifically solve the problem that the firmware upgrade of smart meters installed on site takes too long, the upgrade efficiency is low, and the utilization rate of HPLC+HRF network is low.
[0080] The smart meter firmware upgrade method based on the HPLC+HRF network provided in this embodiment includes the following steps:
[0081] S1: The AMI system sends an upgrade instruction to the concentrator, wherein the upgrade instruction includes the address of the FTP server and the address of the upgrade file;
[0082] S2: The concentrator obtains the upgrade file from the FTP server according to the upgrade instruction;
[0083] Here, the concentrator establishes a connection with the FTP server through a 4G network or a fiber optic network to obtain the upgrade file.
[0084] S3: The concentrator parses the upgrade file to obtain the corresponding upgrade method, upgrade package and its number of packages;
[0085] Here, after the concentrator parses the upgrade file, it will also verify its integrity to ensure that the upgrade file has not been tampered with, thereby ensuring the security of the upgrade.
[0086] In some specific implementations, the concentrator parses the upgrade file and also obtains upgrade related information such as the upgrade object. Here, the upgrade process will only perform firmware upgrade on the upgrade object in the upgrade file to meet the requirement of performing firmware upgrade on only specific meter nodes.
[0087] S4: The concentrator sends the upgrade package to nodes at all levels in a network-wide rapid broadcasting manner according to the upgrade method;
[0088] S5: Nodes at all levels receive the upgrade package broadcast by the concentrator and mark it in the Bitmap data structure they create.
[0089] Here, all nodes at all levels know the total number of upgrade packages to be received for this firmware upgrade, and the total number of bits and the serial number of each bit in the created Bitmap data structure completely correspond to the total number and serial number of the upgrade packages to be received. That is, the first bit in the Bitmap data structure corresponds to the upgrade package to be received with serial number 1, the second bit corresponds to the upgrade package to be received with serial number 2, and so on.
[0090] The Bitmap data structure marking method of nodes at all levels is to set the bit position of the corresponding serial number to 1 in the Bitmap data structure according to the serial number of the currently successfully received upgrade package.
[0091] S6: After the broadcast is completed, nodes at all levels determine whether there is a lack of packets based on the marking status of their Bitmap data structures. If there is a lack of packets, the marking status is reported to the parent node.
[0092] Here, nodes at all levels only need to confirm whether there are bits that are not set to 1 in their own Bitmap data structure to determine whether they are missing packages; and by confirming the serial number of the bits that are not set to 1, that is, which bit is not set to 1, the serial number of the missing upgrade package can be determined, that is, which upgrade package is missing.
[0093] The marking situation reported by each node to its parent node can be the entire Bitmap data structure, and then the parent node specifies the serial number of the missing upgrade package; or it can directly report the "serial number" to directly inform the parent node of the serial number of the missing upgrade package.
[0094] S7: The parent node rebroadcasts the missing upgrade packages to the corresponding nodes based on the received markings.
[0095] Here, after the parent node knows the serial number of the missing upgrade package from the flag reported by the missing node, it will send the corresponding upgrade package to the missing node in the form of local broadcast. This one-to-one local broadcast using the bandwidth of the mesh network, and multiple parent nodes can broadcast and send packages at the same time, can significantly improve the efficiency of package replenishment.
[0096] S8: Nodes at all levels replenish packets to their upper-level nodes according to the marking status of their Bitmap data structures until all upgrade packets are received.
[0097] In other words, nodes at all levels will repeatedly execute the above steps S6 to S7 according to the marking status of their own Bitmap data structures until it is confirmed that all upgrade packages have been successfully received.
[0098] S9: Nodes at all levels are activated according to the time specified in the broadcast message.
[0099] Combination Figure 3 , as a specific example of this embodiment:
[0100] 1. The AMI system sends an upgrade instruction to the concentrator;
[0101] 2. The concentrator downloads the upgrade file from the FTP server;
[0102] 3. The concentrator performs the upgrade operation according to the contents of the upgrade file. Assume that the upgrade file contains 100 packages.
[0103] 4. The concentrator broadcasts the entire network in parallel starting from the first packet in sequence, and continues broadcasting to the 100th packet;
[0104] 5. Node 3 determines that the 88th and 99th packets are missing based on the fact that the 88th and 99th bits in its Bitmap data structure are not set to 1. Similarly, node 10 determines that the 66th packet is missing.
[0105] 6. Node 3 notifies node 1 of the packet shortage; node 10 notifies node 5 of the packet shortage;
[0106] 7. Node 1 locally broadcasts packets 88 and 99; Node 5 locally broadcasts packet 66;
[0107] 8. Node 3 determines that packet 99 is still missing based on its Bitmap data structure;
[0108] 9. Node 3 reports the packet shortage of node 1;
[0109] 10. Node 1 continues to broadcast the 99th packet locally.
[0110] The smart meter firmware upgrade method based on HPLC+HRF network provided in this embodiment not only significantly improves the efficiency of smart meter firmware upgrade and greatly reduces the time consumption of the firmware upgrade process; but also gives full play to the advantages of HPLC+HRF network in the power grid and improves its utilization rate.
[0111] See also Figure 5 , Figure 5 An architecture diagram of a smart grid system provided in accordance with another embodiment of the present invention.
[0112] The embodiment of the present invention is an improvement based on any of the above embodiments to provide a smart grid system.
[0113] like Figure 5 As shown, a smart grid system provided by this embodiment includes: an AMI system, an FTP server, a concentrator and N-level nodes.
[0114] Wherein, N is an integer greater than or equal to 2; the first-level node among the N-level nodes is connected to the concentrator, and the next-level node among the N-level nodes is connected to the upper-level node to which it belongs through a local communication module;
[0115] The FTP server, the AMI system and the concentrator are connected in sequence. Optionally, the concentrator is connected to the AMI system via a 4G network.
[0116] The concentrator, in some embodiments, is configured to achieve the above Figure 2 All steps performed by the concentrator in the smart meter upgrade method based on HPLC+HRF network described in the embodiment; in other specific embodiments, it is configured as the above Figure 4 All steps executed by the concentrator in the firmware upgrade method of a smart meter based on HPLC+HRF network described in the embodiment.
[0117] The N-level node, in some specific embodiments, is configured to achieve the above Figure 2 All steps performed by nodes at all levels in a smart meter upgrade method based on HPLC+HRF network described in the embodiment; in other specific implementations, it is configured as the above Figure 4 All steps executed by nodes at all levels in the firmware upgrade method of a smart meter based on HPLC+HRF network described in the embodiment.
[0118] The specific steps will not be described in detail here. Please refer to the description of the above embodiment for details.
[0119] The smart grid system provided in this embodiment can realize distributed upgrading of node firmware. Compared with the centralized upgrading of node firmware in the prior art, it can not only release the pressure of the concentrator so that it has more time to handle other tasks; it can also make full use of the communication bandwidth of the mesh network and significantly improve the upgrading efficiency.
[0120] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0121] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0124] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0125] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0126] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0127] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0128] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0129] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0130] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0131] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A smart meter upgrade method based on HPLC+HRF network, characterized in that: include: Each node at each level creates a Bitmap data structure, and the bits in the Bitmap data structure correspond one-to-one to the serial number of the upgrade package to be received; The concentrator sends the upgrade package to nodes at all levels in a network-wide broadcast mode; Each node at each level marks the corresponding bit in its own Bitmap data structure according to the serial number of the received upgrade package; After the broadcast is completed, nodes at all levels determine whether there is a packet missing based on the marking of their Bitmap data structure. If there is a packet missing, the marking status is reported to the node at the next higher level to which they belong. The upper-level node rebroadcasts the missing upgrade packages to the corresponding nodes based on the received markings.
2. A smart meter upgrade method based on HPLC+HRF network as claimed in claim 1, characterized in that: The flag is set to 1.
3. A smart meter upgrade method based on HPLC+HRF network as claimed in claim 1, characterized in that: The nodes at each level determine whether there is a packet shortage based on the marking of their Bitmap data structure, specifically: Each node at each level determines whether there are unmarked bits in its Bitmap data structure; If there are unmarked bits, it is determined that the node with the corresponding sequence number is missing a packet.
4. A smart meter upgrade method based on HPLC+HRF network as claimed in claim 1, characterized in that: The upper-level node rebroadcasts the missing upgrade package to the corresponding node according to the received mark, including: The upper-level node determines the sequence number of the unmarked bit in its Bitmap data structure according to the received marking situation; The upper-level node broadcasts the upgrade package whose serial number is consistent with the determined serial number to the node reporting to the upper-level node.
5. The method for upgrading a smart meter based on a HPLC+HRF network as claimed in claim 1, characterized in that: The upper level node rebroadcasts the missing upgrade package to the corresponding node according to the received mark, and then further includes: The node that is missing the packet will replenish the packet from its upper-level node according to the marking status of its Bitmap data structure until all the upgrade packets are received.
6. A smart meter upgrade method based on HPLC+HRF network as claimed in claim 1, characterized in that: The concentrator sends the upgrade package to nodes at all levels in a network-wide broadcast mode, including: The AMI system sends an upgrade instruction to the concentrator, wherein the upgrade instruction includes the address of the FTP server and the address of the upgrade file; The concentrator obtains the upgrade file from the FTP server according to the upgrade instruction; The concentrator parses the upgrade file to obtain the corresponding upgrade method, upgrade package and its package number; The concentrator sends the upgrade package to nodes at all levels in a network-wide rapid broadcasting manner according to the upgrade method.
7. A smart meter upgrade method based on HPLC+HRF network as claimed in claim 1, characterized in that: It includes a concentrator and N-level nodes; wherein N is an integer greater than or equal to 2; The first-level node among the N-level nodes is connected to the concentrator, and the next-level node among the N-level nodes is connected to the upper-level node to which it belongs via a local communication module.
8. The method for upgrading a smart meter based on a HPLC+HRF network as claimed in claim 1, characterized in that: The nodes at each level are smart meters.
9. A smart grid system, characterized in that: It includes a concentrator and N-level nodes; wherein N is an integer greater than or equal to 2; a first-level node among the N-level nodes is connected to the concentrator, and a next-level node among the N-level nodes is connected to an upper-level node to which it belongs via a local communication module; The concentrator is configured to be able to implement the steps performed by the concentrator in the smart meter upgrade method based on HPLC+HRF network as described in any one of claims 1 to 6 above; The N-level nodes are configured to implement the steps performed by the nodes at each level in the smart meter upgrade method based on HPLC+HRF network described in any one of claims 1 to 6.
10. A smart grid system as claimed in claim 9, characterized in that: It also includes an AMI system and an FTP server; the AMI system is connected to the FTP server and the concentrator respectively; The N-level node is a smart meter.
Citation Information
Cited By
Ammeter data processing method based on WIZE technology
CN121396392A