CN115085767B - Recovery networking method, device and equipment based on HPLC communication - Google Patents

Recovery networking method, device and equipment based on HPLC communication Download PDF

Info

Publication number
CN115085767B
CN115085767B CN202210858941.3A CN202210858941A CN115085767B CN 115085767 B CN115085767 B CN 115085767B CN 202210858941 A CN202210858941 A CN 202210858941A CN 115085767 B CN115085767 B CN 115085767B
Authority
CN
China
Prior art keywords
networking
key information
information
identification information
equipment identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210858941.3A
Other languages
Chinese (zh)
Other versions
CN115085767A (en
Inventor
陈品
赵东艳
罗丹
肖德勇
李铮
裴富余
张小辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
Beijing Smartchip Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Smartchip Microelectronics Technology Co Ltd filed Critical Beijing Smartchip Microelectronics Technology Co Ltd
Priority to CN202210858941.3A priority Critical patent/CN115085767B/en
Publication of CN115085767A publication Critical patent/CN115085767A/en
Application granted granted Critical
Publication of CN115085767B publication Critical patent/CN115085767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of high-speed power line carriers, and provides a recovery networking method, a recovery networking device and a recovery networking device based on High Performance Liquid Chromatography (HPLC) communication. A recovery networking method based on HPLC communication is applied to a central coordinator or a station in an HPLC system, and comprises the following steps: responding to a starting instruction, and reading networking key information from a preset storage position; the networking key information comprises networking parameters in a latest networking normal state before a starting instruction is received; determining that the equipment to be loaded with the networking key information is successfully matched with the networking key information; and loading the networking parameters in the networking key information to complete networking. The implementation method provided by the invention can obviously reduce the networking time after the HPLC system is powered on again.

Description

Recovery networking method, device and equipment based on HPLC communication
Technical Field
The invention relates to the technical field of high-speed power line carriers, in particular to a recovery networking method based on HPLC communication, a recovery networking device based on HPLC communication, recovery networking equipment based on HPLC communication and a computer-readable storage medium.
Background
After the power consumption information acquisition system communication system and equipment of a communication unit are powered off and then powered on, a main node Central Coordinator (CCO) in the communication network is disconnected with a relay node agent coordinator (PCO) and a Station (STA), in the existing scheme, the CCO, the PCO and the STA cannot memorize and store network networking related information before power off, the station and the agent station need to send association request messages to the CCO to request network access again, after the CCO receives the association request messages, if the association request messages are judged to be in accordance with network access conditions, association confirmation messages are replied to the STA station to allow the STA to access the STA to the network, and the CCO maintains a topology table, a routing table and the like to store key networking information of the STA of the access network, such as a physical address, a role, a hierarchy, an agent TEI, a communication success rate, a next hop and the like. According to the existing power-on ad hoc network scheme, when the network scale is large, the electricity meter deployment environment is complex or a power utilization information high-frequency acquisition task is met, a large number of sites need to be re-networked and networking needs to take a long time, if power utilization information needs to be acquired or high-frequency power utilization information acquisition is running, the long re-networking and networking time can cause the situations that power utilization information acquisition does not have feedback or fails for a long time, and the use experience of customers is seriously influenced.
HPLC: high speed power line carriers.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and equipment for recovering networking based on HPLC communication, and aims to provide a method and electric energy acquisition equipment for rapidly recovering networking by instantly storing communication module information, networking information, topological routing information and the like through dynamic memory, periodicity and power failure in order to solve the problem that time is long for networking after power failure and power on of communication equipment of an electric energy information acquisition system is restarted. In terms of fast recovery networking, the scheme is mainly directed to a fast recovery networking method of high-speed wireless based on a high-speed power line carrier (HPLC) or OFDM technology or dual-mode fusion communication based on the two technologies in a power utilization information acquisition communication unit system, and is mainly applied to the power utilization information acquisition communication system and unit equipment or power utilization information acquisition equipment, internet of things communication system and equipment related to the power utilization information acquisition communication system and unit equipment.
In order to achieve the above object, a first aspect of the present invention provides a method for resuming networking based on HPLC communication, the method for resuming networking based on HPLC communication, applied to a central coordinator or a station in an HPLC system, the method comprising:
responding to a starting instruction, and reading networking key information from a preset storage position; the networking key information comprises networking parameters in a normal networking state at the last time before a starting instruction; determining that the equipment to be loaded with the networking key information is successfully matched with the networking key information; and loading the networking parameters in the networking key information to complete networking.
Preferably, the networking key information includes: at least one of device identification information, a network identifier, a networking sequence number, a routing table, and a topology table.
Preferably, the networking key information further includes: application information of the device.
Preferably, the determining that the device to be loaded with the networking key information is successfully matched with the networking key information includes: if the equipment is a central coordinator, equipment identification information and a network identifier of the central coordinator are obtained during initialization, and when the obtained equipment identification information and the network identifier are consistent with the equipment identification information and the network identifier in the networking key information, successful matching is determined; if the equipment is a station, acquiring equipment identification information of the station during initialization, analyzing a beacon frame received by the station from a central coordinator to acquire a network identifier, a networking serial number and the equipment identification information of the central coordinator, and determining that matching is successful when the acquired equipment identification information, the network identifier, the networking serial number and the equipment identification information of the central coordinator are consistent with corresponding information in the networking key information.
Preferably, the networking key information is written into the preset storage location in the following manner: determining that the current network is in a networking normal state, and writing the networking key information into the preset storage position through a preset period; or responding to a power failure stopping event of a module driving layer, and writing the networking key information into the preset storage position.
Preferably, the determining that the current network is in a networking normal state includes: and determining that the networking flag bit is networking completion and the current routing period is an end state.
Preferably, the preset period is determined by the following method: and taking the length of the beacon period as the preset period, or taking the length of the beacon period dynamically adjusted according to the network scale and the deployment environment as the preset period.
In a second aspect of the present invention, there is also provided a recovery networking apparatus based on HPLC communication, applied to a central coordinator or a station in an HPLC system, the apparatus including: the parameter reading module is used for responding to a starting instruction and reading networking key information from a preset storage position; the networking key information comprises networking parameters in a latest networking normal state before a starting instruction; the matching confirmation module is used for determining that the equipment to be loaded with the networking key information is successfully matched with the networking key information; and the loading networking module is used for loading the networking parameters in the networking key information to complete networking.
Preferably, the networking key information includes: at least one of device identification information, a network identifier, a networking sequence number, a routing table, and a topology table.
Preferably, the networking key information further includes: application information of the device.
Preferably, determining that the device to be loaded with the networking key information is successfully matched with the networking key information includes: if the equipment is a central coordinator, acquiring equipment identification information and a network identifier of the central coordinator during initialization, and determining that matching is successful when the acquired equipment identification information and the network identifier are consistent with the equipment identification information and the network identifier in the networking key information; if the equipment is a station, acquiring equipment identification information of the station during initialization, analyzing a beacon frame received by the station from a central coordinator to acquire a network identifier, a networking serial number and the equipment identification information of the central coordinator, and determining that matching is successful when the acquired equipment identification information, the network identifier, the networking serial number and the equipment identification information of the central coordinator are consistent with corresponding information in the networking key information.
Preferably, the networking key information is written into the preset storage location in the following manner: determining that the current network is in a networking normal state, and writing the networking key information into the preset storage position through a preset period; or responding to a power failure stopping event of a module driving layer, and writing the networking key information into the preset storage position.
Preferably, the determining that the current network is in a networking normal state includes: and determining that the networking flag bit is networking completion and the current routing period is an end state.
Preferably, the preset period is determined by: and taking the length of the beacon period as the preset period, or taking the length of the beacon period dynamically adjusted according to the network scale and the deployment environment as the preset period.
In a third aspect of the present invention, there is also provided a recovery networking device based on HPLC communication, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the recovery networking method based on HPLC communication when executing the computer program.
In a fourth aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform the aforementioned steps of the method for resuming networking based on HPLC communication.
A fifth aspect of the invention provides a computer program product comprising a computer program which, when executed by a processor, implements the aforementioned recovery networking method based on HPLC communication.
The technical scheme at least has the following beneficial effects:
(1) The networking speed of the module after being electrified is obviously improved. The invention proposes that the whole network networking can be completed within about 1 minute after the module is powered on, and the time for completing the whole network networking is about 15 to 30 minutes faster than that of the prior art.
(2) By periodically storing networking application data and other deepened application information (ID unified identification management, phase topology identification and the like) into the nonvolatile memory, the inquiry requirement of the main station on the deepened application information data can be responded after the power supply of the transformer area is recovered, so that the main station can timely master the operation condition of the transformer area after the power supply is recovered.
(3) The most reasonable and stable network topological structure during network operation is saved through the networking key information which is stored periodically and immediately after power failure, the networking key information stored in NV is acquired after the power supply of the transformer area is recovered, and the networking of the network topological structure after the networking is recovered quickly is more reasonable and stable than that of the networking completion stage in the prior art, so that the success rate of power utilization information acquisition in the initial period of power supply recovery of the transformer area is greatly improved.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
fig. 1 schematically shows an implementation diagram of a recovery networking method based on HPLC communication according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an implementation of writing networking key information in the central coordinator into the preset storage location according to an embodiment of the present invention;
fig. 3 schematically shows an implementation diagram of a recovery networking method based on HPLC communication in a central coordinator according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an implementation that networking key information in a station is written into the preset storage location according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an implementation of a recovery networking method based on HPLC communication in a site according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a configuration of a recovery networking device based on HPLC communication according to an embodiment of the present invention.
Detailed Description
The following describes in detail embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 schematically shows an implementation diagram of a recovery networking method based on HPLC communication according to an embodiment of the present invention. As shown in fig. 1, the recovery networking method based on HPLC communication according to this embodiment may be applied to a central coordinator and/or a site, and includes:
s01, responding to a starting instruction, and reading networking key information from a preset storage position; the networking key information comprises networking parameters in a latest networking normal state before a starting instruction is received;
the start instruction herein includes, but is not limited to, a power button being pressed in the device, power being turned on without the power button, a local or remote start instruction, and a start related component being changed from an impossible state to a usable state. The predetermined storage location is preferably a non-volatile memory in the device, and may also include a network location or an additional storage location. The networking key information comprises networking parameters in a last networking normal state before a starting instruction. For example, if the current start is a restart after a power failure, the networking key information is the networking parameter in the last networking normal state before the power failure, and if the current start is a normal restart, the networking key information is the networking parameter saved before the last shutdown.
S02, determining that the equipment to be loaded with the networking key information is successfully matched with the networking key information.
Before the device loads the networking key information, it needs to be determined that the device is matched with the networking key information. The matching process can ensure the availability of networking key information and the adaptation with equipment.
And S03, loading the networking parameters in the networking key information to complete networking.
Networking parameters in the networking key information are loaded into the central coordinator and/or the site, a networking discovery process and a parameter negotiation process are simplified or skipped, so that the central coordinator and the site have networking parameters capable of being networked in a short time, and the rapid recovery of networking in the HPLC system is realized.
Through the implementation mode, the central coordinator or the station in the HPLC system can quickly acquire the loading networking parameters when being started, so that quick networking is realized.
In some embodiments provided herein, the networking key information includes: at least one of device identification information, a network identifier, a networking sequence number, a routing table, and a topology table. Where the device identification information includes, but is not limited to, a hardware identification number of the device, a device name (TEI), or a network address (MAC address or other network address) of the device. The network identifier is used to identify the current network. The networking sequence number is used for identifying the sequence number of the equipment in the current network. The routing table or the topology table is used for identifying the routing information, the role, the hierarchy and the like of the device in the current network.
In some embodiments provided by the present invention, the networking key information further includes: application information of the device. Application information of the device such as ID uniform identification management, phase topology identification, and the like. In the prior art, networking application data and other deepened application information (such as ID unified identification management and phase topology identification) cannot be stored in a nonvolatile storage medium, which causes that a station area cannot respond to the query requirement of a master station on the deepened application information data for a long time after power supply is restored. In the embodiment, networking application data and other deepened application information (ID unified identification management, phase topology identification) and the like are periodically stored in the nonvolatile storage medium, so that the inquiry requirement of the master station on the deepened application information data can be responded after the power supply of the transformer area is restored, and the master station timely masters the running condition of the transformer area after the power supply is restored.
In some embodiments provided by the present invention, determining that the device to be loaded with the networking key information is successfully matched with the networking key information includes: if the equipment is a central coordinator, equipment identification information and a network identifier of the central coordinator are obtained during initialization, and when the obtained equipment identification information and the network identifier are consistent with the equipment identification information and the network identifier in the networking key information, successful matching is determined; if the equipment is a station, equipment identification information of the station is obtained during initialization, a beacon frame received by the station from a central coordinator is analyzed to obtain a network identifier, a networking serial number and the equipment identification information of the central coordinator, and when the obtained equipment identification information, the network identifier, the networking serial number and the equipment identification information of the central coordinator are consistent with corresponding information in the networking key information, the matching is determined to be successful. Since the role and function of the central coordinator and the stations in the network are different, different parameters are required for matching. The central coordinator is used as a central module in the network, and only needs to acquire the network identifier and the device identification information (such as the MAC address) when the module is initialized, and the information is matched with corresponding information in the networking key information, so that the rest networking key information can be loaded after the matching is consistent. And the station is subordinate in the system, so that the matching authentication is required to be carried out in combination with the beacon frame of the central coordinator. On the site side, the central coordinator sends a standard beacon frame to all site nodes in a broadcast manner, and the site receives the standard beacon frame and then analyzes the standard beacon frame to obtain part of networking information, namely the network identifier, the networking serial number and the equipment identification information of the central coordinator. And similarly, loading the rest networking key information after matching is consistent.
In some embodiments provided by the present invention, the networking key information is written into the preset storage location by: determining that the current network is in a networking normal state, and writing the networking key information into the preset storage position through a preset period; or responding to a power failure stopping event of a module driving layer, and writing the networking key information into the preset storage position. When the power failure event occurs in the distribution room, in order to ensure that the network identifier, the MAC address, the networking serial number, the routing table, the topology table and other key networking information of the central coordinator or the station at the power failure moment are timely and accurately stored in the nonvolatile storage medium of the module. The power-off signal is fed back to a link layer of a module such as a central coordinator or a site by a system or a driving layer of the module, the networking key information such as a network identifier, an MAC address, a networking serial number and the like of the central coordinator or the site is required to be stored in a nonvolatile storage medium of the module immediately after the power-off signal is received, the networking key information is marked to be stored in the nonvolatile storage medium for the last time, and the time when the electric quantity of a backup power supply capacitor is exhausted is not required. The network where the central coordinator is located is regarded as belonging to the same district, and the power failure of the district can be understood as the power failure of the central coordinator and the whole network station controlled by the central coordinator. In order to prevent the module capacitor from being incapable of normally supplying power after power failure, the network identifier, the MAC address, the networking serial number and other networking key information of the module are periodically stored during networking and network maintenance. Therefore, in the embodiment, a timer is defined to periodically store networking key information such as a network identifier, so as to ensure that real-time, real and reliable gateway key information of a module group such as a routing table and a topology table is stored.
In some embodiments provided by the present invention, determining that the current network is in a networking normal state includes: and determining that the networking flag bit is networking completion and the current routing period is an end state. And in some embodiments provided herein, the preset period is determined by: and taking the length of the beacon period as the preset period, or taking the length of the beacon period dynamically adjusted according to the network scale and the deployment environment as the preset period. The time for starting the timer is selected after the central coordinator judges that all nodes are accessed, namely, when the networking mark position 1 is detected or the routing period where all nodes are accessed is finished when all nodes are accessed, the timer for storing the networking key information is started, the starting time of the timer can be adjusted according to the network scale condition, the length of the timer period is set to be a beacon period, and can also be set according to the actual condition of the network, and the starting time and the period length of the timer in the network need to ensure that the central coordinator is the same with all nodes of the whole network station.
In some optional embodiments, after the networking is completed by loading the networking parameters in the networking key information, generating a prompt message of completing the networking. For example: and the network-accessing led indicator light of the station flashes for a plurality of times to indicate that the networking process is finished.
Hereinafter, the implementation of the present invention will be described by using a networking key information storage step of a central coordinator (hereinafter, referred to as CCO), a networking recovery step of the central coordinator, a networking key information storage step of a station (hereinafter, referred to as STA), and a networking recovery step of the station, respectively.
Fig. 2 is a schematic diagram illustrating an implementation of writing networking key information in the central coordinator into the preset storage location according to an embodiment of the present invention. As shown in fig. 2, a flow of storing networking key information by a CCO module in a recovery networking method based on HPLC communication includes:
step 1: the normal power supply of the transformer area is started, which generally refers to the normal push-brake power supply after upgrading or newly deploying versions of a CCO and all STAs in one transformer. The CCO and STA communication modules are powered on and started at the same time, and step 2 is further executed;
step 2: initializing a CCO module, acquiring parameters such as a CCO MAC address, a network identifier, a networking serial number and the like when the module is initialized, wherein the conventional networking scheme is realized and is not described herein any more, and further executing the step 3;
and step 3: whether networking key information is stored in a nonvolatile storage medium (hereinafter referred to as NV) is judged. If yes, entering a CCO module to quickly recover a networking process; and if not, executing the normal networking process in the step 4. After networking and networking, the CCO module sends standard beacon frame synchronization beacon management information to an STA communication module in the whole network;
and 4, step 4: a normal networking process, wherein a CCO module and a whole network STA module start to perform ad hoc networking, the STA sends an association request message to the CCO, the CCO processes the STA association request, judges whether to allow network access and replies an association confirmation message to the STA, and further executes the step 5;
and 5: whether the networking flag bit is set to 1 or not and whether the current routing period is finished or not. The CCO module monitors the networking state of the network in real time by inquiring network topology, marks the position 1 with the networking when the networking is finished and checks the condition of the routing period of the networking when the networking is finished, if the networking is not finished or the routing period of the networking is not finished when the networking is finished, the normal networking process of the step 4 is continuously executed, and if the networking is finished and the routing period of the networking is finished, the step 6 is executed to start a timer for storing networking key information;
step 6: starting a storage networking key information timer, wherein the period length of the timer can take the value of a beacon period length, the period length of the timer and the starting time of the timer need to ensure that a CCO module is the same as a whole network STA module, so that the networking key information stored in NV by CCO and whole network STA nodes is consistent in time, the starting time and the period length of the timer can be dynamically adjusted according to the network scale and the deployment environment, but the basic principle of the timer is to ensure that the starting time, the period length and other parameters of the timer in the CCO and the whole network STA are the same, and further executing the step 7;
and 7: and whether the storage networking key information timer is overtime or not. Judging whether the timer for storing the networking key information is overtime or not, if not, continuing to step 6, waiting for the overtime of the timer, and if yes, executing step 8 to store the networking key information to NV;
and 8: and storing networking key information to NV, and periodically storing the networking key information to NV before the communication module is powered off. When power failure occurs, the module capacitor is used for supplying power to store networking key information to NV, the two scenes for storing the networking key information can be supplemented with each other, the function of storing the networking key information is ensured to be timely, accurate and reliable, and the step 11 is further executed;
and step 9: when power failure occurs in the distribution room, the module identifies power failure information through detecting a power supply mode, and when a module driving layer detects a power failure event, a signal is sent to a link layer, namely the CCO link layer executing the step 10 receives a power failure signal;
step 10: the CCO link layer receives the power-off stopping signal, immediately stores networking key information to NV, namely, step 8 is executed, and whether a timer for storing the networking key information is overtime or not does not need to be concerned;
step 11: the outage event stores networking key information. If not, executing step 7, waiting for the next storage networking key information timer period to be overtime, wherein the function is a function of periodically storing networking key information, if so, executing step 12, stopping periodically storing the networking key information to NV when the storage networking key information triggered by the power-off event reaches NV, and only performing once operation of storing the networking key information to NV after the power-off event occurs so as to avoid the failure of storing the networking key information to NV caused by the problem of capacitance and electric quantity to the maximum extent;
step 12: stopping storing the networking key information timer, and further executing the step 13;
step 13: and ending the CCO storage networking key information flow.
The field information of the networking flag bit, the routing cycle length, the beacon cycle length and the like in the implementation step is broadcasted to the STA node in the whole network by the CCO through the standard beacon frame.
Fig. 3 schematically shows an implementation diagram of the recovery networking method based on HPLC communication in the central coordinator according to an embodiment of the present invention. As shown in fig. 3, a flow of fast recovering networking of a CCO module in a recovery networking method based on HPLC communication includes:
step 1: the power supply is recovered after the power failure of the transformer area, generally, the power supply is recovered after the push brake of the transformer in which the transformer area is located is powered on or is repaired, and the CCO communication module is powered on to execute the step 2;
step 2: initializing a CCO module, and further executing the step 3;
and step 3: whether networking key information is stored in the NV. If not, executing the normal networking process in the step 7, and further continuing to execute the previous step in the CCO storage networking key information process; if yes, further executing step 4;
and 4, step 4: acquiring a network identifier and a CCO MAC address, acquiring the two network parameters before the initialization of the module is finished, and further executing the step 5;
and 5: acquiring a network identifier and a CCO MAC address in NV, and further executing step 6;
step 6: network identifier and CCO MAC address in NV are consistent with those obtained at initialization. If not, executing the normal networking process in the step 7, and if so, executing the step 8 to obtain networking key information such as a routing table, a topology table and the like in the NV;
and 7: a normal networking process, that is, if no networking key information is stored in the NV or the stored networking key information is not matched with the networking key information acquired by the module after being powered on again, performing normal networking, and after the normal networking is completed, periodically storing the networking key information by the CCO module, and further executing step 11;
and 8: acquiring networking key information such as a routing table and a topology table in the NV, wherein the networking key information includes but is not limited to a series of networking key information such as a network identifier, a networking serial number, the routing table, the topology table (an electric meter STA module MAC address, TEI, a role, a hierarchy and the like) and partial deepening application information (ID unified identification management, phase topology identification) and the like, and further executing step 9;
and step 9: assigning networking key information stored by NV to variables maintained by normal networking, namely updating variables and objects such as a routing table, a topology table and the like maintained during normal network access or networking by using the information acquired in the step 8, and the basic idea is that the network attribute is recovered to the last power-off time, the network is continuously operated by using the current data, and after all necessary networking data are recovered, the step 10 is further executed;
step 10: the CCO networking flag location 1, that is, all nodes such as PCOs, STAs and the like stored in the CCO default NV have accessed to the network, the CCO constructs a beacon frame with the networking recovered data, the networking flag bit field of the beacon is location 1, and issues the beacon to the STA module in the whole network in a broadcast manner, and further performs step 11;
step 11: and the CCO fast recovery networking process is finished.
After the CCO networking is finished, the CCO quick recovery networking process is finished, the program continues to execute the CCO process for storing the key networking information, and the network networking key information is periodically stored by the process.
Fig. 4 is a schematic diagram illustrating an implementation of writing networking key information in a site into the preset storage location according to an embodiment of the present invention; as shown in fig. 4, a flow of storing key networking information by an STA module in a recovery networking method based on HPLC communication includes:
step 1: the power supply of the platform area is started normally, the details of the function are the same as the step 1 in fig. 2, and the step 2 is further executed;
step 2: initializing the STA module, and further executing the step 3 if the MAC address of the STA module is obtained;
and 3, step 3: whether networking critical information is stored in the NV. If yes, entering an STA module to quickly recover the networking process, and if not, executing a step 4 to receive a beacon of the CCO module;
and 4, step 4: receiving a beacon of the CCO module, and further executing the step 5 if acquiring networking key information such as a CCO MAC address, a networking serial number, a networking identification bit, time slot allocation and the like;
and 5: in the normal network access process, the STA module sends an association request message to the CCO, the CCO replies an association confirmation message after receiving the message and carries information about whether to allow network access, receives the association confirmation message sent by the CCO, accesses the network and further executes the step 6;
and 6: the networking identification bit in the beacon is set to 1. If not, executing step 4 to receive the beacon of the CCO module, and if so, executing step 7;
and 7: the current routing period of the STA module ends. If not, continuing to wait for the overtime of the routing period, executing step 7, if yes, executing step 8, understanding the same as step 5 in the figure 1 by monitoring the running condition of the routing period in which the networking identifier position 1 in the beacon is located, and starting a timer for storing networking key information when the routing period is finished;
and 8: starting a storage networking key information timer, wherein the same as step 6 in the figure 1 is understood, and the CCO and the whole network STA maintain the same timer starting time and cycle length;
and step 9: the storage networking key information timer times out. If not, executing step 9, waiting for the storage networking timer to be overtime, if yes, executing step 10 to store networking key information to NV;
step 10: storing networking key information to NV, namely storing information such as the MAC address of the STA local module, a network identifier, a networking serial number, a CCO MAC address, a TEI (telecom operator interface), a routing table and the like to NV, and further executing step 13;
step 11: the power outage occurs in the power distribution room, the details are the same as those of step 9 in fig. 2, and step 12 is further executed;
step 12: the STA link layer receives the power-off stopping signal, immediately executes step 10 to store networking key information to NV, and further executes step 13;
step 13: the outage event stores networking key information. If not, executing step 9, if yes, executing step 14, the details are the same as those of step 11 in fig. 2;
step 14: stopping storing the networking key information timer;
step 15: and finishing the process of storing the networking key information by the STA.
Fig. 5 is a schematic diagram illustrating an implementation of a recovery networking method based on HPLC communication in a site according to an embodiment of the present invention. As shown in fig. 5, a fast recovery networking process of an STA module in a recovery networking method based on HPLC communication includes:
step 1: the power supply is recovered after the power failure of the platform area, the power supply recovery of the CCO module after the power failure is the same as the power supply recovery of the platform area, and the initialization of the STA module in the step 2 is further executed;
step 2: initializing an STA module, wherein the details are the same as the initialization of the CCO module in the step 2 in the figure 3, and further executing the step 3;
and 3, step 3: whether networking critical information is stored in the NV. If not, executing a normal networking process in step 7, after step 7 is finished, further continuing to execute the STA networking storage key information process to periodically store the STA module networking key information, and if so, executing step 4 to acquire the MAC address of the STA module;
and 4, step 4: obtaining the MAC address of the STA local module, and further executing the step 5;
and 5: receiving a beacon of a CCO module, and acquiring a network identifier, a networking flag bit, a networking serial number, a CCO MAC address, routing parameters and the like by analyzing a beacon frame and an MPDU frame control field where the beacon frame is located;
step 6: whether the network identifier, networking serial number, CCO MAC address, and STA local module MAC address in the beacon are consistent with NV storage. If not, executing a step 7 of normal network access process, and if yes, executing a step 8;
and 7: in the normal network access process, the NV does not store networking key information or the stored key information is inconsistent with the acquired information during module initialization, and further step 11 is executed, and the STA fast recovery networking process is ended;
and 8: acquiring networking key information such as TEI, a topology level, a routing table and the like in NV, and further executing step 9;
and step 9: assigning networking key information stored by NV to a variable maintained by normal networking, wherein the details are the same as those in step 9 in FIG. 2, and further executing step 10;
step 10: the STA network access mark position is 1, the STA module network access led indicator lamp flickers for 10 times, and the step 11 is executed;
step 11: finishing the STA rapid recovery networking process;
after the STA finishes accessing the network, the STA quickly resumes the networking process and ends, and the program continues to execute the above-mentioned STA storage key networking information process, and periodically stores the networking key information by the process shown in fig. 4.
Based on the same inventive concept, the invention also provides a recovery networking device based on HPLC communication. Fig. 6 is a schematic diagram illustrating a structure of a recovery networking device based on HPLC communication according to an embodiment of the present invention, as shown in fig. 6. A recovery networking device based on HPLC communication, which is applied to a central coordinator or a station in an HPLC system, and comprises: the parameter reading module is used for responding to the starting instruction and reading networking key information from a preset storage position; the networking key information comprises networking parameters in a normal networking state at the last time before a starting instruction; the matching confirmation module is used for determining that the equipment to be loaded with the networking key information is successfully matched with the networking key information; and the loading networking module is used for loading the networking parameters in the networking key information to complete networking.
In some optional embodiments, the networking key information includes: at least one of device identification information, a network identifier, a networking sequence number, a routing table, and a topology table.
In some optional embodiments, the networking key information further includes: application information of the device.
In some optional embodiments, determining that the device to be loaded with the networking key information is successfully matched with the networking key information includes: if the equipment is a central coordinator, equipment identification information and a network identifier of the central coordinator are obtained during initialization, and when the obtained equipment identification information and the network identifier are consistent with the equipment identification information and the network identifier in the networking key information, successful matching is determined; if the equipment is a station, acquiring equipment identification information of the station during initialization, analyzing a beacon frame received by the station from a central coordinator to acquire a network identifier, a networking serial number and the equipment identification information of the central coordinator, and determining that matching is successful when the acquired equipment identification information, the network identifier, the networking serial number and the equipment identification information of the central coordinator are consistent with corresponding information in the networking key information.
In some optional embodiments, the networking key information is written into the preset storage location by: determining that the current network is in a networking normal state, and writing the networking key information into the preset storage position through a preset period; or responding to a power failure stopping event of a module driving layer, and writing the networking key information into the preset storage position.
In some optional embodiments, determining that the current network is in a networking normal state includes: and determining that the networking flag bit is networking completion and the current routing period is an end state.
In some alternative embodiments, the preset period is determined by: and taking the length of the beacon period as the preset period, or taking the length of the beacon period dynamically adjusted according to the network scale and the deployment environment as the preset period.
The specific limitations of each functional module in the recovery networking device based on HPLC communication may refer to the limitations of the recovery networking method based on HPLC communication, and are not described herein again. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In some embodiments, the present invention further provides a recovery networking device based on HPLC communication, including a memory, a processor and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the foregoing steps of the recovery networking method based on HPLC communication. The processor herein has functions of numerical calculation and logical operation, and has at least a central processing unit CPU having data processing capability, a random access memory RAM, a read only memory ROM, various I/O ports, an interrupt system, and the like. The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, and the method is realized by adjusting kernel parameters. The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
In an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the processor to be configured to perform the above-mentioned recovery networking method based on HPLC communication.
In one embodiment provided by the present invention, a computer program product is provided, which comprises a computer program, when being executed by a processor, the computer program implementing the recovery networking method based on HPLC communication.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A recovery networking method based on HPLC communication, which is applied to a central coordinator or a station in an HPLC system, and is characterized in that the method comprises the following steps:
responding to a starting instruction, reading networking key information from a preset storage position, wherein the networking key information comprises equipment identification information and networking parameters in a latest networking normal state before the starting instruction is received, and the networking parameters comprise: at least one of a routing table and a topology table, a network identifier, and a networking sequence number; the networking key information is written into the preset storage position in the following mode: determining that the current network is in a networking normal state, and writing the networking key information into the preset storage position through a preset period; or responding to a power failure stopping event of a module driving layer, and writing the networking key information into the preset storage position; the preset period is related to the length of the beacon period;
determining that the equipment to be loaded with the networking key information is successfully matched with the equipment identification information, including: if the equipment is a central coordinator, equipment identification information and a network identifier of the central coordinator are obtained during initialization, and when the obtained equipment identification information and the network identifier are consistent with the equipment identification information and the network identifier in the networking key information, successful matching is determined;
if the equipment is a station, acquiring equipment identification information of the station during initialization, analyzing a beacon frame received by the station from a central coordinator to acquire a network identifier, a networking serial number and the equipment identification information of the central coordinator, and determining that matching is successful when the acquired equipment identification information, the network identifier, the networking serial number and the equipment identification information of the central coordinator are consistent with corresponding information in the networking key information;
and loading the networking parameters in the networking key information to complete networking.
2. The method of claim 1, wherein the networking critical information further comprises: application information of the device.
3. The method of claim 1, wherein determining that the current network is in a networking normal state comprises:
and determining that the networking flag bit is networking completion and the current routing period is an end state.
4. The method according to claim 1, wherein the preset period is determined by:
and taking the length of the beacon period as the preset period, or taking the length of the beacon period dynamically adjusted according to the network scale and the deployment environment as the preset period.
5. A recovery networking device based on HPLC communication, which is applied to a central coordinator or a station in an HPLC system, and is characterized in that the device comprises:
the parameter reading module is used for responding to the starting instruction and reading networking key information from a preset storage position; the networking key information comprises equipment identification information and networking parameters in a last networking normal state before a starting instruction is received, and the networking parameters comprise: at least one of a routing table and a topology table, a network identifier, and a networking sequence number; the networking key information is written into the preset storage position in the following mode: determining that the current network is in a networking normal state, and writing the networking key information into the preset storage position through a preset period; or responding to a power failure stopping event of a module driving layer, and writing the networking key information into the preset storage position; the preset period is related to the length of the beacon period;
the matching confirmation module is configured to determine that the device to be loaded with the networking key information is successfully matched with the device identification information, and includes: if the equipment is a central coordinator, acquiring equipment identification information and a network identifier of the central coordinator during initialization, and determining that matching is successful when the acquired equipment identification information and the network identifier are consistent with the equipment identification information and the network identifier in the networking key information;
if the equipment is a station, acquiring equipment identification information of the station during initialization, analyzing a beacon frame received by the station from a central coordinator to acquire a network identifier, a networking serial number and the equipment identification information of the central coordinator, and determining that matching is successful when the acquired equipment identification information, the network identifier, the networking serial number and the equipment identification information of the central coordinator are consistent with corresponding information in the networking key information; and
and the loading networking module is used for loading the networking parameters in the networking key information to complete networking.
6. The apparatus of claim 5, wherein the networking key information further comprises: application information of the device.
7. The apparatus of claim 5, wherein determining that the current network is in a networking normal state comprises:
and determining that the networking flag bit is networking completion and the current routing period is an end state.
8. The apparatus of claim 5, wherein the preset period is determined by:
and taking the length of the beacon period as the preset period, or taking the length of the beacon period dynamically adjusted according to the network scale and the deployment environment as the preset period.
9. An apparatus for resuming networking based on HPLC communication, comprising a memory, a processor and a computer program stored in the memory and operable on the processor, wherein the processor implements the steps of the method for resuming networking based on HPLC communication according to any of claims 1 to 4 when executing the computer program.
10. A computer readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the steps of the method for resuming networking based on HPLC communication of any of claims 1 to 4.
CN202210858941.3A 2022-07-21 2022-07-21 Recovery networking method, device and equipment based on HPLC communication Active CN115085767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210858941.3A CN115085767B (en) 2022-07-21 2022-07-21 Recovery networking method, device and equipment based on HPLC communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210858941.3A CN115085767B (en) 2022-07-21 2022-07-21 Recovery networking method, device and equipment based on HPLC communication

Publications (2)

Publication Number Publication Date
CN115085767A CN115085767A (en) 2022-09-20
CN115085767B true CN115085767B (en) 2023-01-10

Family

ID=83241850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210858941.3A Active CN115085767B (en) 2022-07-21 2022-07-21 Recovery networking method, device and equipment based on HPLC communication

Country Status (1)

Country Link
CN (1) CN115085767B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117792437A (en) * 2022-09-21 2024-03-29 华为技术有限公司 Power line communication method and device
CN117575544B (en) * 2024-01-15 2024-03-22 北京智芯微电子科技有限公司 Distribution area equipment management method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800465A (en) * 2017-11-10 2018-03-13 国网江苏省电力公司泰州供电公司 A kind of electric line carrier communication transmission method
CN111031544A (en) * 2019-12-24 2020-04-17 重庆邮电大学 Multi-network coexisting multi-frequency-point wireless communication networking method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890567B (en) * 2021-10-29 2023-07-07 国网四川省电力公司营销服务中心 HPLC networking program fault diagnosis method based on network maintenance iterative algorithm
CN114500289B (en) * 2021-12-15 2023-12-29 深信服科技股份有限公司 Control plane recovery method, device, control node and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800465A (en) * 2017-11-10 2018-03-13 国网江苏省电力公司泰州供电公司 A kind of electric line carrier communication transmission method
CN111031544A (en) * 2019-12-24 2020-04-17 重庆邮电大学 Multi-network coexisting multi-frequency-point wireless communication networking method

Also Published As

Publication number Publication date
CN115085767A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN115085767B (en) Recovery networking method, device and equipment based on HPLC communication
CN111786893B (en) method and device for synchronizing software versions of wireless routers in mesh networking
EP4092524B1 (en) Ota differential upgrade method and system of master-slave architecture
CN110765203B (en) Method and system for realizing MySQL master-slave synchronization and performance acquisition of container
CN111399764A (en) Data storage method, data reading device, data storage equipment and data storage medium
CN110213359B (en) Internet of vehicles networking data pushing system and method based on D2D
CN104618136A (en) Configuration management method and device for blade server
CN106533751B (en) SDN controller cluster merging method and device
CN113535262B (en) Proxy node start control method, device, equipment and storage medium
CN108509296B (en) Method and system for processing equipment fault
CN109324764B (en) Method and device for realizing distributed exclusive lock
CN101026488A (en) Method and system for realizing distributed data loading
CN113660659B (en) Internet of things equipment identity identification method, system, equipment and computer readable medium
CN112486656B (en) Method for realizing wireless ionization wire task scheduling and data downloading
CN113992739A (en) Local area network OTA firmware upgrading device, method and system
WO2017124829A1 (en) Method and device for restoring virtual machine
CN114168261A (en) OpenStack-based high availability method and device for managing bare metal instances
CN112416847A (en) Redis cluster creating method, system and device
CN105791350A (en) Project data processing method and method
CN116453560B (en) Data acquisition method and system applied to nuclear power station DCS system
KR19990070727A (en) How to recover software failure of home location register
CN116781691A (en) Service disaster recovery backup method, service disaster recovery backup system and TOF node
CN110572303B (en) Method and device for automatically discovering nodes
JPH11127124A (en) Slave station information setting system
CN116405388A (en) Method and system for realizing automatic updating of system switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant