Power line carrier supplementary point upgrading method and system based on proxy node upgrading source
By using the proxy node upgrade source in the power line carrier communication network for one-hop broadcast upgrade, the problem of low upgrade success rate and long time in the power line carrier communication network is solved, and a more efficient slave node module upgrade is achieved.
Patent Information
- Application Number
- CN202411150296.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-01-31
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-26
AI Technical Summary
The existing power line carrier communication network has problems of low upgrade success rate and long time during the upgrade process, especially under the conditions of poor network environment and deep hierarchy, which leads to the inability to successfully upgrade some slave node modules.
Using the complementary point upgrade method based on the proxy node upgrade source, the master node module determines the target slave node based on the version information of the slave node module and selects its nearest parent slave node as the proxy node upgrade source to perform one-hop broadcast upgrade, which simplifies the Upgrade paths and communication processes to reduce interference impact.
It improves the success rate and efficiency of the upgrade of the slave node module, shortens the upgrade time, reduces network complexity, and improves anti-interference ability, avoiding the increase in network burden.
Smart Images

Figure CN119031033A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power line carrier communication, and in particular to a power line carrier point supplementation upgrade method and system based on a proxy node upgrade source. Background Art
[0002] Power line carrier communication (PLC) refers to a communication method that uses power lines to transmit data. Most of the existing smart meters use power line carrier communication to realize various functions such as meter reading. This meter reading method does not directly operate the meter module through PLC, but uses the micro-power communication module connected to the concentrator as the master node module (CCO for short), and the micro-power communication module connected to the electric energy meter as the slave node module (STA for short) to form a communication network. The master node module (CCO for short) and multiple slave node modules (STA for short) communicate through the power line, and the concentrator collects data and forwards commands through the master node module.
[0003] In the power system, the software version of the self-organizing communication network needs to be updated regularly. However, due to the differences in the network environment of each slave node module, there will inevitably be some slave node modules in the communication network that cannot be upgraded during batch upgrades. In addition, the software version of the slave node modules of the new network is often not upgraded; that is, there is an overlapping use of new and old software versions at the operation and maintenance site. Based on this situation, the power line carrier communication network needs to upgrade a small number of old versions of slave node modules. The existing power line carrier upgrade solution, whether it is a unicast upgrade or a broadcast upgrade, needs to be initiated by the master node module. The master node module compares the versions of all slave node modules and unicasts the upgrade package one by one; when the terminal node communication is poor or the level is very deep, it is very easy to fail to compare the version, resulting in the inability to upgrade the node. In addition, when transmitting the upgrade package, there is also the problem that the master node module repeatedly confirms the integrity of the packet received by the end node, resulting in the failure of the upgrade. In other words, the existing self-organizing network communication network upgrade solution, the upgrade path from the master node module to each slave node module (especially the terminal slave node module) is not only lengthy but also easily affected by multiple factors such as the communication environment of each layer of slave node modules, real-time changing power line interference, and changes in load status at different time periods. Therefore, this upgrade method has problems such as low upgrade success rate and long upgrade time.
[0004] For this reason, some people have proposed an upgrade method in which a relay node module is added to the self-organizing network communication network to transmit the upgrade package. In this scheme, during the transmission of the upgrade package, the master node module performs overall control over the transmission of the upgrade package, and the transmission of the specific upgrade package is sent by the relay node module to the slave node module, that is, for each slave node module, the upgrade package only needs to be transmitted in one hop, without sending the upgrade package from the master node module to the slave node module every time. Although this scheme shortens the transmission path of the upgrade package, its upgrade trigger is still the master node module sending a control frame to the slave node module; after receiving the upgrade block request frame from the slave node module, the relay node module determines whether to send the upgrade block data to the slave node module after receiving this frame. This upgrade method still has a lengthy control frame transmission path from the master node module to the slave node module, and the master node module, the relay node module and the slave node module need to interact frequently, which will cause the upgrade program to be more susceptible to interference and reduce the success rate of the upgrade. In addition, this method requires the additional introduction of relay node modules with different roles from the slave node modules, which will make the communication network more complicated. Summary of the invention
[0005] In order to overcome the deficiencies of the prior art, the present invention provides a power line carrier point supplementation upgrade method and system based on a proxy node upgrade source, which only performs point supplementation upgrades on old version slave node modules to improve the upgrade success rate and upgrade efficiency.
[0006] In order to achieve the above object, the present invention provides a power line carrier point supplementation upgrade method based on a proxy node upgrade source, which is applicable to the upgrade of some slave node modules in a multi-level power line carrier tree network, and comprises:
[0007] The master node module determines all slave node modules to be upgraded in the current power line carrier network according to the version information actively reported by each slave node module, and determines a target slave node module for upgrading among all the slave node modules to be upgraded;
[0008] Determine the hierarchical position of the target slave node module based on the topological information of the carrier network, search upward based on the determined hierarchical position to obtain a parent slave node module whose version status is the target version and is closest to the target slave node module, and determine the parent slave node module determined by the search as the proxy node upgrade source so that it has an upgrade source mode and a node mode;
[0009] Sending execution upgrade information to the proxy node upgrade source to make it enter the upgrade source mode. The upgrade information configures the broadcast round and upgrade time window for each upgrade in the upgrade source mode.
[0010] The proxy node upgrade source in upgrade source mode reads the upgrade data source and target version information from the local and broadcasts it to the target slave node module in one direction, and upgrades the target slave node module based on the configured broadcast round and upgrade time window;
[0011] After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the collection mode.
[0012] According to an embodiment of the present invention, the step of determining the target slave node module includes:
[0013] Analyze the relationship between all slave node modules to be upgraded based on the power line carrier network topology information;
[0014] If there is a parent-child relationship, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
[0015] According to an embodiment of the present invention, the step of determining the target slave node module includes:
[0016] Based on the network position of each slave node module to be upgraded, a carrier network branch with the largest number of slave node modules to be upgraded is determined, and a target slave node module is determined from multiple slave node modules to be upgraded in the branch network based on the principle of parent node priority.
[0017] According to an embodiment of the present invention, after reading the upgrade data source, the proxy node upgrade source sequentially and unidirectionally sends the target version information and the upgrade data source to the target slave node module in a one-hop broadcast manner.
[0018] According to one embodiment of the present invention, the proxy node upgrade source repeatedly executes the upgrade action in a manner of unidirectionally sending a start upgrade frame, an announcement frame, an upgrade data frame, and an execution upgrade frame in sequence as an upgrade round until the upgrade round reaches the configured broadcast round or the upgrade execution time reaches the upgrade time window.
[0019] According to an embodiment of the present invention, the target version information is included in the announcement frame, and the upgrade time window is included in the start upgrade frame.
[0020] According to an embodiment of the present invention, the method for upgrading the supplementary points further includes:
[0021] The target slave node module obtains the target version information from the received announcement frame, and compares the target version information with its own current version information to determine whether it needs to be upgraded;
[0022] If it is determined that an upgrade is required, continue to receive upgrade data frames and execute upgrade frames to upgrade; if it is determined that an upgrade is not required, discard the received data without upgrading and actively report the current version information of the target slave node module to the master node module.
[0023] According to an embodiment of the present invention, the method for upgrading the supplementary points further includes:
[0024] The master node module determines whether there is a data transparent transmission frame from the concentrator;
[0025] If no data is received within the preset time, it indicates that the master node module is currently in an idle state. The master node module will begin to determine all slave node modules to be upgraded in the current power line carrier network to perform supplementary upgrades on the slave node modules.
[0026] On the other hand, the present invention also provides a power line carrier supplementary point upgrade system based on a proxy node upgrade source, which includes a multi-level power line carrier tree network composed of a master node module and multiple slave node modules, and the master node module includes a node maintenance unit, a target determination unit, a proxy node upgrade source designation unit and an upgrade indication unit.
[0027] The node maintenance unit determines all slave node modules to be upgraded in the current power line carrier network according to the version information actively reported by each slave node module;
[0028] The target determination unit determines a target slave node module for upgrading among all slave node modules to be upgraded.
[0029] Based on the topology information of the carrier network, the proxy node upgrade source designation unit determines the hierarchical position of the target slave node module, and searches upward based on the determined hierarchical position to obtain a parent slave node module whose version status is the target version and is closest to the target slave node module, and determines the parent slave node module determined by the search as the proxy node upgrade source so that it has an upgrade source mode and a node mode.
[0030] The upgrade instruction unit sends the execution upgrade information to the proxy node upgrade source to make it enter the upgrade source mode. The upgrade information configures the broadcast round and upgrade time window of each upgrade in the upgrade source mode.
[0031] The proxy node upgrade source in upgrade source mode reads the upgrade data source and target version information from the local and broadcasts it unidirectionally to the target slave node module, and upgrades the target slave node module based on the configured broadcast rounds and execution time.
[0032] After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the collection mode.
[0033] According to an embodiment of the present invention, the step of the target determination unit determining the target slave node module includes:
[0034] Analyze the relationship between all slave node modules to be upgraded based on the power line carrier network topology information;
[0035] If there is a parent-child relationship, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
[0036] In summary, the power line carrier point supplementation upgrade method based on the proxy node upgrade source provided by the present invention is only for the point supplementation upgrade of a small number of slave node modules and newly connected slave node modules that are prone to failure and difficult to upgrade in the power line carrier network. The number of upgrade objects is small, so it has the advantages of short upgrade time and high upgrade efficiency. Furthermore, during the upgrade process, the master node module does not directly upgrade the target slave node module, but searches for a parent slave node module that is closest to the target slave node module and has the target version through the position of the target slave node module in the tree network, designates the parent slave node module as the proxy node upgrade source, and upgrades the target slave node module based on the proxy node upgrade source. This setting greatly shortens the data source transmission path and the upgrade path, greatly reduces the interference of factors such as the communication environment on the upgrade, and improves the upgrade rate and success rate.
[0037] In addition, in the point-to-point upgrade method provided by the present invention, both the master node module and the proxy node upgrade source only broadcast information in one direction without confirmation and reply; this setting greatly simplifies the communication process and greatly improves the anti-interference ability of the upgrade. Furthermore, in the present invention, the proxy node upgrade source is not additionally introduced, it is a slave node module that has been upgraded in the power line carrier tree network, and it still serves as an ordinary node in the network outside the upgrade time window to realize functions such as smart meter reading; the reuse of nodes effectively avoids the increase of network burden.
[0038] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 The figure is a schematic flow chart of a power line carrier point supplementation upgrade method based on a proxy node upgrade source provided by an embodiment of the present invention.
[0040] Figure 2 Shown Figure 1 The schematic diagram of the upgrade file transmission process of the patch point upgrade method shown in FIG.
[0041] Figure 3 Shown Figure 1Schematic diagram of the steps to determine the target slave node module.
[0042] Figure 4 The figure shows a schematic diagram of the structure after one of the slave node modules in the power line carrier tree network is converted into a proxy node upgrade source.
[0043] Figure 5 Shown Figure 1 Schematic diagram of the process in the target slave node module when the proxy node upgrade source upgrades the target slave node module.
[0044] Figure 6 The figure shows a principle block diagram of a main node module in a power line carrier point supplementation upgrade system based on a proxy node upgrade source provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The PLC point supplementation upgrade method for the proxy node upgrade source provided in this embodiment is applicable to the point supplementation upgrade of some slave node modules in a multi-level PLC tree network, rather than the sequential upgrade of all slave node modules in the network.
[0046] The power line carrier point supplement upgrade method based on the proxy node upgrade source provided in this embodiment includes: the master node module (referred to as CCO) determines all the slave node modules to be upgraded in the current power line carrier network according to the version information actively reported by each slave node module (referred to as STA) (step S20). Determine a target slave node module among all the slave node modules to be upgraded for upgrading (step S30). Determine the hierarchical position of the target slave node module based on the topological information of the carrier network, and search upward based on the determined hierarchical position to obtain the parent slave node module whose version status is the target version and is closest to the target slave node module, and determine the parent slave node module determined by the search as the proxy node upgrade source (referred to as PCO) so that it has an upgrade source mode and a node mode (step S40). Send an execution upgrade information to the proxy node upgrade source to make it enter the upgrade source mode, and the upgrade information configures the broadcast round and upgrade time window for each upgrade in the upgrade source mode (step S50). The proxy node upgrade source in the upgrade source mode reads the upgrade data source and target version information from the local and broadcasts it unidirectionally to the target slave node module, and upgrades the target slave node module based on the configured broadcast round and upgrade time window (step S60). After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the acquisition mode (step S70). Repeat steps S30 to S70 until the software versions in all the slave node modules to be upgraded are upgraded to the target version.
[0047] The following will be combined Figures 1 to 5 The power line carrier point supplementation upgrade method based on the proxy node upgrade source provided in this embodiment is described in detail.
[0048] For the master node module, it needs to receive the tasks issued by the concentrator to realize the reading of the meter data. The collection tasks assigned by the concentrator mainly include monthly frozen data, instantaneous curves, load curves, alarm events and real-time point reading. In the above-mentioned collection task stage, the master node module will receive the data transparent transmission frame of the meter reading data from the concentrator. In order to avoid the impact of the supplementary point upgrade on the reading task, the power line carrier supplementary point upgrade method based on the proxy node upgrade source provided in this embodiment also includes step S10, the master node module determines whether it is in an idle state by judging whether there is a data transparent transmission frame from the concentrator. If no data transparent frame has been received within the preset time, it indicates that the master node module is currently in an idle state. The master node module will execute step S20 and start to determine all the slave node modules to be upgraded in the current power line carrier network to perform supplementary point upgrades on the slave node modules.
[0049] Specifically, each slave node module will associate a request to actively report its version information to the master node module when accessing the network; similarly, when the slave node module is successfully upgraded, it will also associate a request to actively report its version information to the master node module. After receiving the version information reported by the slave node module, the master node module stores it in the version information maintenance list. In step S20, the master node module obtains all slave node modules to be upgraded by comparing the version information of each slave node module in the version information maintenance list with the target version information. The comparison of the slave node module version information based on the version information maintenance list belongs to the local information comparison within the master node module. This comparison method will not be affected by the communication environment and the depth of the network layer, so it can effectively avoid the problem of upgrade failure caused by version information comparison.
[0050] Then, step S30 is executed to determine a target slave node module from all the slave node modules to be upgraded for upgrading. Specifically, when there is only one slave node module to be upgraded in the power line carrier tree network, the slave node module to be upgraded is determined as the target slave node module to execute step S40. When there are multiple slave node modules to be upgraded in the power line carrier tree network, selection is required to determine the target slave node module.
[0051] like Figure 3 As shown, this embodiment provides a method for determining a target slave node module. The method includes:
[0052] Step S301: Analyze the relationship of all slave node modules to be upgraded based on the power line carrier network topology information. The power line carrier network provided in this embodiment is a tree-type network. A topology information table is maintained in the master node module. Each slave node module automatically generates corresponding location information and stores it in the topology information table when it enters the network. Therefore, the master node module can determine the level of each slave node module to be upgraded and the parent slave node module, child slave node, and brother slave node associated with it through the topology information table.
[0053] Step S302: Determine the carrier network branch with the largest number of slave node modules to be upgraded according to the network position of each slave node module to be upgraded.
[0054] Step S303, in the carrier network side branch, the target slave node module is determined from the multiple slave node modules to be upgraded based on the principle of parent node priority. Specifically, this step refers to: determining whether there is a parent-child relationship between the multiple slave node modules to be upgraded in the carrier network side branch. If so, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
[0055] In the method for patching and upgrading provided in this embodiment, the master node module does not directly upgrade the target slave node module, but upgrades it by specifying an agent node upgrade source. This upgrade method allows the master node module to specify multiple agent node upgrade sources at the same time to achieve parallel upgrades of multiple target slave node modules, thereby improving upgrade efficiency. Figure 4 As shown. In step S302 and step S303, the determination of the carrier network branch with the largest number of slave node modules to be upgraded and the target slave node selection method with priority to the parent node provide conditions for the parallel upgrade of the lower-level slave node modules to be upgraded; further, this setting also allows the master node module to give priority to upgrading the slave node modules with a larger number within a limited idle time, thereby quickly improving the upgrade rate of the slave node modules to be upgraded in the power line carrier tree network. However, the present invention does not impose any limitation on this. In other embodiments, it is also possible not to determine the carrier branch network, that is, after analyzing the relationship between all the slave node modules to be upgraded in step S301, it is determined whether there is a parent-child relationship between the multiple slave node modules to be upgraded. If so, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
[0056] After the target slave node module is determined in step S30, the master node module will execute step S40, determine the hierarchical position of the target slave node module based on the topology information table, and perform version information comparison on the upper layer based on the hierarchical position of the target slave node module to obtain the parent slave node module whose version status is the target version and is closest to the target slave node module, and then designate the parent slave node module as the proxy node upgrade source. In this embodiment, the proxy node upgrade source is not an additionally introduced relay node that is only used to upgrade the target slave node module, but an ordinary node for reading meter data in the power line carrier tree network. When the ordinary node is selected as the proxy node upgrade source by the master node module, it will have two modes, one is the node mode for normal reading meter data, and the other is the upgrade source mode for upgrading the target slave node module. Specifically, when the proxy node upgrade source receives the upgrade instruction of the master node module, it switches from the node mode to the upgrade source mode; and when it completes an upgrade of the target slave node module, it will automatically switch back to the node mode.
[0057] This embodiment is explained by taking the example of first determining the target slave node module in step S30 and then executing step S40 to select the proxy node upgrade source. However, the present invention does not make any limitation to this. In other embodiments, after all the slave node modules to be upgraded are determined in step S20, the proxy node upgrade source corresponding to each slave node module to be upgraded can be pre-determined based on the method in step S40, and the pre-determined proxy node upgrade source with the largest number of slave node modules to be upgraded will be preferentially converted to the upgrade source. Then, step S30 is executed to select any slave node module to be upgraded associated with the proxy node upgrade source as the target slave node module.
[0058] Afterwards, execute step S50, the master node module sends an execution upgrade message to the proxy node upgrade source to make it enter the upgrade source mode; the upgrade information configures the broadcast round and upgrade time window for each upgrade in the upgrade source mode. Specifically, the master node module sends the execution upgrade message to the proxy node upgrade source unidirectionally in the direction of the control frame; after that, the master node module will no longer confirm the upgrade status and the proxy node upgrade source will have full authority to upgrade the target slave node module. This upgrade method not only greatly shortens the signal transmission path during the upgrade, but also effectively avoids the problem of poor communication anti-interference ability caused by the depth of the hierarchy. At the same time, this setting also greatly reduces the occupation of resources on the master node module during the supplementary point upgrade process.
[0059] After entering the upgrade source mode, the upgrade mode is executed in step S60, which reads the upgrade data source and target version information from the local FLASH and broadcasts it unidirectionally to the target slave node module, and upgrades the target slave node module based on the configured broadcast round and upgrade time window. Specifically, the proxy node upgrade source repeatedly executes the upgrade action in a manner of unidirectionally sending the start upgrade frame, announcement frame, upgrade data frame, and execution upgrade frame as one upgrade round, until the upgrade round reaches the configured broadcast round or the upgrade execution time reaches the upgrade time window. Among them, the target version information is included in the announcement frame, and the upgrade time window is included in the start upgrade frame.
[0060] like Figure 2 As shown, the proxy node upgrade source sends a start upgrade frame to the target slave node module in the form of a local one-hop broadcast frame; after receiving the start upgrade frame, the target slave node module enters the receiving state from the idle state. Afterwards, the proxy node upgrade source sends an announcement frame in the form of a local one-hop broadcast frame. Figure 5 As shown, after receiving the announcement frame from the node module, the target performs the following steps to perform self-detection upgrade:
[0061] Step S601: Obtain target version information from the announcement frame.
[0062] Step S602: Compare the target version information with the current version information to determine whether the system needs to be upgraded.
[0063] If the judgment indicates that the current version information is lower than the target version information, step S603 is executed to continue receiving the upgrade data frame; after the data is received, the slave node module enters the upgrade state based on the trigger target of executing the upgrade frame. The file transfer flow chart in the upgrade state is as follows: Figure 2 shown.
[0064] If it is determined that the current version information is the target version information, step S604 is executed, no upgrade is required, the received data is discarded and the current version information of the module is actively reported to the main node module.
[0065] The target slave node module self-detection upgrade based on the announcement frame effectively avoids the execution of invalid upgrade programs while ensuring the upgrade accuracy to further improve the upgrade efficiency.
[0066] Step S70: After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the acquisition mode. At this point, the upgrade of one of the slave node modules to be upgraded is completed, and then steps S30 to S70 are repeated to achieve the upgrade of subsequent slave node modules to be upgraded in sequence.
[0067] Although the present embodiment is described by taking the upgrading of one target slave node module at a time as an example. However, the present invention does not impose any limitation on this. In other embodiments, when a proxy node upgrade source is associated with multiple slave node modules to be upgraded, the one-hop, one-way and broadcast frame transmission method of the proxy node upgrade source enables the multiple upgraded slave node modules associated therewith to be synchronously upgraded as target slave node modules, thereby greatly improving the upgrade efficiency. Alternatively, in other embodiments, the master node module may also specify multiple proxy node upgrade sources at the same time, and the multiple proxy node upgrade sources are synchronously upgraded in parallel, thereby realizing the parallel upgrade of multiple target slave node modules.
[0068] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0069] Corresponding to the above-mentioned power line carrier point supplementation upgrade method based on proxy node upgrade source, this embodiment provides a power line carrier point supplementation upgrade system based on proxy node upgrade source. It includes a multi-level power line carrier tree network composed of a master node module and multiple slave node modules. Figure 6As shown, the master node module includes a node maintenance unit 101, a target determination unit 102, a proxy node upgrade source designation unit 103, and an upgrade indication unit 104. The node maintenance unit 101 determines all the slave node modules to be upgraded in the current power line carrier network according to the version information actively reported by each slave node module. The target determination unit 102 determines a target slave node module 1 among all the slave node modules to be upgraded for upgrading. Based on the topological information of the carrier network, the proxy node upgrade source designation unit 103 determines the hierarchical position of the target slave node module, searches the upper layer based on the determined hierarchical position to obtain the parent slave node module whose version status is the target version and is closest to the target slave node module, and determines the parent slave node module determined by the search as the proxy node upgrade source so that it has an upgrade source mode and a node mode. The upgrade indication unit 104 sends an execution upgrade information to the proxy node upgrade source to make it enter the upgrade source mode. The upgrade information configures the broadcast round and upgrade time window for each upgrade in the upgrade source mode. The proxy node upgrade source in upgrade source mode reads the upgrade data source and target version information from the local and broadcasts it to the target slave node module in one direction, and upgrades the target slave node module based on the configured broadcast rounds and execution time. After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the acquisition mode.
[0070] In this embodiment, the step of the target determination unit 102 determining the target slave node module includes:
[0071] Analyze the relationship between all slave node modules to be upgraded based on the power line carrier network topology information;
[0072] If there is a parent-child relationship, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
[0073] In this embodiment, the step of the target determination unit 102 determining the target slave node module includes:
[0074] Based on the network position of each slave node module to be upgraded, a carrier network branch with the largest number of slave node modules to be upgraded is determined, and a target slave node module is determined from multiple slave node modules to be upgraded in the branch network based on the principle of parent node priority.
[0075] The power line carrier point-adding upgrade system based on the proxy node upgrade source implements the point-adding upgrade of a few slave node modules in the power line carrier network by executing steps S10 to S70 in the power line carrier point-adding upgrade method based on the proxy node upgrade source described above. The specific definition of the power line carrier point-adding upgrade system based on the proxy node upgrade source can refer to the definition of the power line carrier point-adding upgrade method based on the proxy node upgrade source in the above text, which will not be repeated here. The various units in the above-mentioned power line carrier point-adding upgrade system based on the proxy node upgrade source can be fully or partially implemented by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
[0076] In summary, the power line carrier point supplementation upgrade method based on the proxy node upgrade source provided by the present invention is only for the point supplementation upgrade of a small number of slave node modules and newly connected slave node modules that are prone to failure and difficult to upgrade in the power line carrier network. The number of upgrade objects is small, so it has the advantages of short upgrade time and high upgrade efficiency. Furthermore, during the upgrade process, the master node module does not directly upgrade the target slave node module, but searches for a parent slave node module that is closest to the target slave node module and has the target version through the position of the target slave node module in the tree network, designates the parent slave node module as the proxy node upgrade source, and upgrades the target slave node module based on the proxy node upgrade source. This setting greatly shortens the data source transmission path and the upgrade path, greatly reduces the interference of factors such as the communication environment on the upgrade, and improves the upgrade rate and success rate.
[0077] In addition, in the point-to-point upgrade method provided by the present invention, both the master node module and the proxy node upgrade source only broadcast information in one direction without confirmation and reply; this setting greatly simplifies the communication process and greatly improves the anti-interference ability of the upgrade. Furthermore, in the present invention, the proxy node upgrade source is not additionally introduced, it is a slave node module that has been upgraded in the power line carrier tree network, and it still serves as an ordinary node in the network outside the upgrade time window to realize functions such as smart meter reading; the reuse of nodes effectively avoids the increase of network burden.
[0078] Although the present invention has been disclosed as above by the preferred embodiment, it is not intended to limit the present invention. Anyone familiar with this technology can make slight changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope of protection required by the claims.
Claims
1. A method for upgrading power line carrier points based on proxy node upgrade source, characterized in that: Applicable to upgrading some slave node modules in a multi-level power line carrier tree network, the supplementary point upgrading method includes: The master node module determines all the slave node modules to be upgraded in the current power line carrier network according to the version information actively reported by each slave node module; Determine a target slave node module for upgrading among all slave node modules to be upgraded; Determine the hierarchical position of the target slave node module based on the topological information of the carrier network, search upward based on the determined hierarchical position to obtain a parent slave node module whose version status is the target version and is closest to the target slave node module, and determine the parent slave node module determined by the search as the proxy node upgrade source so that it has an upgrade source mode and a node mode; Sending execution upgrade information to the proxy node upgrade source to make it enter the upgrade source mode, wherein the upgrade information configures the broadcast round and upgrade time window of each upgrade in the upgrade source mode; The proxy node upgrade source in upgrade source mode reads the upgrade data source and target version information from the local and broadcasts it to the target slave node module in one direction, and upgrades the target slave node module based on the configured broadcast round and upgrade time window; After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the collection mode.
2. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 1 is characterized in that: The steps to determine the target slave node module include: Analyze the relationship between all slave node modules to be upgraded based on the power line carrier network topology information; If there is a parent-child relationship, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
3. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 1 is characterized in that: The steps to determine the target slave node module include: Based on the network position of each slave node module to be upgraded, a carrier network side branch with the largest number of slave node modules to be upgraded is determined, and a target slave node module is determined from multiple slave node modules to be upgraded in the side branch network based on the principle of parent node priority.
4. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 1 is characterized in that: After reading the upgrade data source, the proxy node upgrade source sends the target version information and the upgrade data source to the target slave node module in sequence in a one-hop broadcast manner.
5. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 4 is characterized in that: The proxy node upgrade source repeatedly performs the upgrade action by sending the start upgrade frame, announcement frame, upgrade data frame and execution upgrade frame in sequence as an upgrade round, until the upgrade round reaches the configured broadcast round or the upgrade execution time reaches the upgrade time window.
6. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 5 is characterized in that: The target version information is included in the announcement frame, and the upgrade time window is included in the start upgrade frame.
7. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 6 is characterized in that: The point-filling and upgrading method further includes: The target slave node module obtains the target version information from the received announcement frame, and compares the target version information with its own current version information to determine whether it needs to be upgraded; If it is determined that an upgrade is required, continue to receive upgrade data frames and execute upgrade frames to upgrade; if it is determined that an upgrade is not required, discard the received data without upgrading and actively report the current version information of the target slave node module to the master node module.
8. The power line carrier point supplementation upgrade method based on the proxy node upgrade source according to claim 1 is characterized in that: The point-filling and upgrading method further includes: The master node module determines whether there is a data transparent transmission frame from the concentrator; If no data is received within the preset time, it indicates that the master node module is currently in an idle state. The master node module will begin to determine all slave node modules to be upgraded in the current power line carrier network to perform supplementary upgrades on the slave node modules.
9. A power line carrier point supplementation upgrade system based on proxy node upgrade source, characterized in that: A multi-level power line carrier tree network consisting of a master node module and a plurality of slave node modules, wherein the master node module comprises a node maintenance unit, a target determination unit, a proxy node upgrade source designation unit, and an upgrade indication unit; The node maintenance unit determines all slave node modules to be upgraded in the current power line carrier network according to the version information actively reported by each slave node module; The target determination unit determines a target slave node module for upgrading from all slave node modules to be upgraded; Based on the topology information of the carrier network, the proxy node upgrade source designation unit determines the hierarchical position of the target slave node module, searches upward based on the determined hierarchical position to obtain a parent slave node module whose version status is the target version and is closest to the target slave node module, and determines the parent slave node module determined by the search as the proxy node upgrade source so that it has an upgrade source mode and a node mode; The upgrade instruction unit sends an execution upgrade information to the upgrade source of the proxy node to make it enter the upgrade source mode, wherein the upgrade information configures the broadcast round and upgrade time window of each upgrade in the upgrade source mode; The proxy node upgrade source in upgrade source mode reads the upgrade data source and target version information from the local and broadcasts it to the target slave node module in one direction, and upgrades the target slave node module based on the configured broadcast rounds and execution time; After the upgrade is successful, the target slave node module actively reports to update its version information, and the proxy node upgrade source switches to the collection mode.
10. The power line carrier point supplementation upgrade system based on proxy node upgrade source according to claim 9, characterized in that: The step of the target determination unit determining the target slave node module includes: Analyze the relationship between all slave node modules to be upgraded based on the power line carrier network topology information; If there is a parent-child relationship, the slave node module to be upgraded where the parent node is located is preferentially determined as the target slave node module, and the proxy node upgrade source upgrades the target slave node module in a one-hop broadcast manner.
