Automatic addressing and routing method for dual-mode communication module, medium and terminal
By using a three-level IPv6 address structure and a dual-mode communication module for automatic addressing and routing, the fragmentation, inefficiency, and weak security issues of low-voltage distribution area communication networks have been solved, enabling rapid access, reliable communication, and large-scale node collaboration, thus supporting the digital transformation of new power systems.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-03-24
AI Technical Summary
Low-voltage distribution area communication networks suffer from fragmented addressing and networking modes, insufficient routing efficiency and reliability, weak security, poor scalability, and inconsistent protocols, making it difficult to support the demand for high-speed, low-latency, and highly reliable two-way interactive services.
It adopts a three-level IPv6 address structure and a dual-mode communication module for automatic addressing and routing. It generates a dual-path routing tree by using stateless automatic configuration or dynamic address allocation via DHCPv6, combined with a weighted algorithm of power line carrier and wireless radio frequency link. It uses the DTLS protocol to verify digital certificates and encrypt data packets, enabling rapid device access, dynamic link switching, and secure transmission.
It realizes unified IP-based management, efficient routing switching and secure transmission of low-voltage distribution area communication networks, supports 500 concurrent access nodes, improves the efficiency and security of communication networks, and meets the real-time requirements of new power systems.
Smart Images

Figure CN121728028A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of electric power communication, and particularly relates to a dual-mode communication module automatic addressing and routing method, a medium and a terminal. BACKGROUND
[0002] As the end link of the power system, with the explosive growth of multi-type services such as “source, network, load and storage”, the access of a large number of terminals such as distributed photovoltaic, charging piles, energy storage devices and smart meters makes the communication demand of the low-voltage transformer area upgrade from traditional meter reading and other simple services to high-speed, low-latency and high-reliability two-way interactive services.
[0003] However, the current low-voltage transformer area communication network has the following core problems: addressing and networking mode fragmentation: devices mostly use private communication protocols and address coding methods, lack of unified IP addressing standards, data sharing and cross-service collaboration are difficult, and it is difficult to support the construction of “low-voltage transformer area one network”; routing efficiency and reliability are insufficient: traditional communication mainly uses single power line carrier (PLC) or wireless radio frequency (RF) technology, and does not take advantage of dual-mode redundancy, which may lead to transmission interruption due to late routing switching; the routing algorithm is not optimized for more than 500 nodes, and the conflict rate is high when multiple devices are concurrent, the delay of full data collection is often more than one minute, and the real-time demand of emerging services cannot be met; security and scalability shortcomings: the access authentication mechanism is simple and vulnerable to attacks such as fake access and data tampering; the networking architecture based on private protocols has poor scalability and is difficult to adapt to the scenario of access to ten thousand terminals, and cannot meet the network security level protection requirements; protocols and standards are not unified: different manufacturers use differentiated protocols, which has poor cross-brand compatibility and increases operation and maintenance costs; lack of unified standards, unable to integrate into the power Internet of Things IP system, restricting the “cloud-edge-end” integrated management. The patent application with publication number CN117220146A provides a low-voltage transformer area based on power line carrier communication, which includes a mounting frame, a power distribution cabinet, a connecting bracket, a voltage transformation device, a transmission wire and a wiring port, the mounting frame is fixedly installed on the ground, and the connecting bracket is fixedly installed between the mounting frames, and the voltage transformation device is fixedly installed on the connecting bracket, and the transmission wire is connected to the mounting frame, and the power distribution cabinet is fixedly installed at the lower end of the connecting bracket, further comprising: a fixing piece fixedly installed on the inner wall of the power distribution cabinet. In this patent application, communication is also carried out through a single power line carrier, and the routing efficiency and reliability are low, which has the same disadvantages as the prior art.
[0004] Therefore, it is urgent to solve the fragmentation, low efficiency and weak security problems of the existing communication network. SUMMARY
[0005] In view of the deficiencies of the prior art, the present application aims to provide a low-voltage area dual-mode communication module automatic addressing and routing method to solve the problems of fragmentation, low efficiency and weak security of the low-voltage area communication network in the prior art.
[0006] To solve the above technical problems, the present application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a dual-mode communication module automatic addressing and routing method, comprising the following steps:
[0008] S10, a three-level IPv6 address structure is adopted, and after the terminal node is powered on, the address is acquired through stateless automatic configuration or DHCPv6 dynamic allocation, and registration is completed after address conflict detection;
[0009] S20, the node periodically collects the parameters of the power line carrier and the wireless radio frequency link, calculates the link quality score through a weighting algorithm, and the main node generates a dual-path routing tree through an improved minimum spanning tree algorithm;
[0010] S30, when the main link quality score falls below the preset score, the node automatically activates the backup link, sends a routing switching announcement to the CCO after switching, the CCO updates the global routing table and broadcasts it to the whole network; after the main link is restored, the node switches back to the main link in the idle time slot;
[0011] S40, for large-scale node scenarios, a time slot slicing + service priority scheduling strategy is adopted, 1 minute is divided into 50 time slots, and exclusive time slots are allocated for different services, combined with the CSMA / CA mechanism to reduce message collision, and the relay node is responsible for time slot allocation within the sub-domain;
[0012] S50, when the device accesses, the digital certificate is verified through the DTLS protocol, the IPv6 data packet is encrypted by using the AES-128-GCM algorithm, the encryption key is dynamically negotiated through the ECDH algorithm, the data packet carries the MAC for integrity check, the IPv6 address is bound with the device physical identification, and the abnormal behavior is limited or banned.
[0013] Further, in the S10, the three-level structure is a global prefix + sub-domain identifier + device feature code, wherein the global prefix is 48 bits, associated with the unique identifier of the area, to ensure the global uniqueness of the address; the sub-domain identifier is 16 bits, to distinguish different branch boxes or regional sub-domains, supporting a maximum of 65536 sub-domains; and the device feature code is 32 bits, including 8-bit device type, 8-bit manufacturer code and 16-bit device serial number, to realize the management of address as identity.
[0014] Further, the mixed address configuration process is as follows: after the terminal node is powered on, address is acquired by supporting SLAAC or DHCPv6, and registration is completed after address conflict detection, i.e., sending an NS message, the whole process takes no more than 3 seconds, and 500 nodes are supported to access concurrently.
[0015] Further, in the S20, the collection period is 10 seconds, the parameters include a signal strength parameter, a transmission reliability parameter, a real-time parameter and a stability parameter, the power line carrier signal-to-noise ratio is greater than or equal to 25 dB, the wireless radio frequency link received signal strength is greater than or equal to -70 dB, the power line carrier packet loss rate is less than or equal to 3%, the wireless radio frequency link packet loss rate is less than or equal to 5%, the power line carrier one-way delay is less than or equal to 80 ms, the wireless radio frequency link one-way delay is less than or equal to 50 ms, the power line carrier signal fluctuation is less than or equal to 10%, and the wireless radio frequency link channel occupancy rate is less than or equal to 40%.
[0016] Further, the score is calculated by a weighting algorithm, wherein the signal strength is 40%, the reliability is 30%, the real-time is 20%, and the stability is 10%, and the link with a score greater than or equal to 80 is automatically selected as the main route.
[0017] Further, the CCO generates a routing tree by using an improved minimum spanning tree algorithm, preferentially uses the power line carrier as the main route for high-bandwidth services and uses the wireless radio frequency link as the standby route for mobile devices, allocates a dual path to each terminal node and issues a routing table, and uniformly forwards cross-subdomain communication by the CCO.
[0018] Further, in the S30, the preset score is 60, and the standby link is activated within 50 ms.
[0019] Further, in the S50, the temporary flow limiting triggered by an abnormal address scanning behavior is less than or equal to 10 times per minute, and a counterfeit address is immediately banned for 10 minutes.
[0020] In a second aspect, the application further provides a computer readable storage medium, the storage medium stores a computer program, and the computer program is executed by a processor to implement the method described above.
[0021] In a third aspect, the application further provides an electronic terminal, which comprises a processor and a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to make the terminal execute the method described above.
[0022] The dual-mode communication module automatic addressing and routing method, medium and terminal provided by the application have at least the following beneficial effects compared with the prior art:
[0023] The existing communication network has the problems of fragmentation, low efficiency and weak security. The process of the application is simple and convenient to operate. Through unified IP architecture, dual-mode link cooperation and dynamic route optimization, the problems of fragmentation, low reliability and weak security of low-voltage area communication are solved. Automatic addressing is realized through hierarchical IPv6 address structure, dual-mode routing initialization and dynamic adjustment are carried out in combination with a multi-dimensional link evaluation model, and end-to-end security mechanism is adopted to ensure transmission security. The application can realize fast device access (time consumption ≤3 seconds), high-reliability communication (link switching ≤50 ms) and large-scale node cooperation (supporting 500+ node concurrency), effectively improving the efficiency and security of the low-voltage area communication network, and supporting the digital transformation of the new type of power system terminal. BRIEF DESCRIPTION OF DRAWINGS
[0024] In order to more clearly illustrate the scheme of the present application, the drawings needed in the following embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0025] Figure 1 A flow chart of a dual-mode communication module automatic addressing and routing method provided for the embodiment of the present application;
[0026] Figure 2 A communication hierarchical networking architecture diagram of a dual-mode communication module automatic addressing and routing method provided for the embodiment of the present application;
[0027] Figure 3 A terminal node IPv6 network access registration flow chart of a dual-mode communication module automatic addressing and routing method provided for the embodiment of the present application;
[0028] Figure 4 A link switching flow chart of a dual-mode communication module automatic addressing and routing method provided for the embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the related drawings. The preferred embodiments of the present application are shown in the drawings. However, the present application can be realized in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present application more thorough and comprehensive.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used in the specification of the present application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0031] The application provides a dual-mode communication module automatic addressing and routing method applied to a dual-mode communication network comprising a master node (CCO), a relay node (PCO) and a terminal node (STA), and the dual-mode communication module automatic addressing and routing method comprises the following steps:
[0032] S10, a three-level IPv6 address structure is adopted, and the terminal node obtains an address through stateless automatic configuration or DHCPv6 dynamic allocation after being powered on, and completes registration after address conflict detection. S20, the node periodically collects parameters of power line carrier and wireless radio frequency link, calculates a link quality score through a weighting algorithm, the master node generates a dual-path routing tree through an improved minimum spanning tree algorithm; S30, when the master link quality score falls below a preset score, the node automatically activates a backup link, sends a routing switching announcement to the CCO after switching, the CCO updates a global routing table and broadcasts to the whole network; after the master link is recovered, the node switches back to the master link in an idle time slot; S40, for a large-scale node scene, a time slot slicing + service priority scheduling strategy is adopted, 1 minute is divided into 50 time slots, exclusive time slots are allocated for different services, the CSMA / CA mechanism is combined to reduce message collision, and the relay node is responsible for time slot allocation in a sub-domain; S50, when a device accesses, a digital certificate is verified through a DTLS protocol, an IPv6 data packet is encrypted through an AES-128-GCM algorithm, an encryption key is dynamically negotiated through an ECDH algorithm, the data packet carries a MAC for integrity check, an IPv6 address is bound with a device physical identification, and abnormal behavior is limited or banned.
[0033] The application has the advantages of simple flow, convenient operation, solving the problems of fragmentation, low reliability and weak security of low-voltage area communication, and effectively improving the efficiency and security of the low-voltage area communication network.
[0034] In order for those skilled in the art to better understand the present application, the technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings.
[0035] The application provides a dual-mode communication module automatic addressing and routing method applied to a dual-mode communication network comprising a master node (CCO), a relay node (PCO) and a terminal node (STA), and the dual-mode communication module automatic addressing and routing method comprises the following steps: Figures 1 to 4 In the embodiment, the dual-mode communication module automatic addressing and routing method comprises the following steps:
[0036] S10, a three-level IPv6 address structure is adopted, and the terminal node obtains an address through stateless automatic configuration or DHCPv6 dynamic allocation after being powered on, and completes registration after address conflict detection.
[0037] Specifically, in this embodiment, a three-level structure of global prefix (48 bits) + sub-domain identifier (16 bits) + device characteristic code (32 bits) is adopted. The global prefix is associated with the unique identifier of the station area, ensuring the global uniqueness of the address; the sub-domain identifier distinguishes different branch boxes or regional sub-domains, supporting up to 65536 sub-domains; and the device characteristic code includes device type (8 bits), manufacturer code (8 bits), and device serial number (16 bits), realizing "address as identity" management.
[0038] Further, in this embodiment, the mixed address configuration process is as follows: after the terminal node (STA) is powered on, the address is acquired through SLAAC (plug and play device) or DHCPv6 (centralized management device), and registration is completed after address conflict detection (sending NS message), with the whole process taking ≤3 seconds, supporting 500 node concurrent access.
[0039] S20, the node periodically collects the parameters of the power line carrier (PLC) and wireless radio frequency (RF) link, calculates the link quality score through a weighting algorithm, and the master node generates a dual-path routing tree using an improved minimum spanning tree algorithm.
[0040] Specifically, in this embodiment, the node collects the PLC and RF link parameters every 10 seconds, including signal strength (PLC signal-to-noise ratio ≥ 25 dB, RF received signal strength ≥ -70 dB), transmission reliability (PLC packet loss rate ≤ 3%, RF packet loss rate ≤ 5%), real-time performance (PLC one-way delay ≤ 80 ms, RF one-way delay ≤ 50 ms), and stability (PLC signal fluctuation ≤ 10%, RF channel occupancy rate ≤ 40%).
[0041] Further, in this embodiment, the link quality score is calculated through a weighting algorithm (signal strength 40%, reliability 30%, real-time performance 20%, and stability 10%) to automatically select a link with a score ≥ 80 as the main route. The initial routing generation strategy is 50.
[0042] S30, when the main link quality score falls below the preset score, the node automatically activates the backup link, switches back to the main link after the node sends a routing switching announcement to the CCO, the CCO updates the global routing table and broadcasts it to the entire network; when the main link is restored, the node switches back to the main link in the idle time slot.
[0043] Specifically, in this embodiment, the link fault rapid switching is as follows: when the main link score falls below 60 points, the backup link is activated within 50 ms, an announcement is sent to the CCO after switching, the CCO updates the global routing table and broadcasts it, and the main link is switched back in the idle time slot when it is restored.
[0044] S40, for large-scale node scenarios, time slot fragmentation + service priority scheduling strategy is adopted, 1 minute is divided into 50 time slots (1.2 seconds each), and dedicated time slots are allocated for different services, nodes combine CSMA / CA mechanism to reduce message collision, relay nodes are responsible for time slot allocation within the sub-domain, and the load of the core node is reduced.
[0045] S50, when the device accesses, the digital certificate is verified through the DTLS protocol, the IPv6 data packet is encrypted by using the AES-128-GCM algorithm, the encryption key is dynamically negotiated by using the ECDH algorithm (updated every hour), the data packet carries the MAC for integrity check, the IPv6 address is bound with the device physical identification, the abnormal behavior is limited or banned.
[0046] Specifically, in the embodiment, the address anti-forgery mechanism: the IPv6 address is bound with the device physical identification, and the CCO is periodically checked; the temporary flow limiting (≤10 times / minute) is triggered for abnormal address scanning behavior, and the fake address is immediately banned (10 minutes).
[0047] In the automatic addressing and routing method of the dual-mode communication module provided in the embodiment, as shown in Figure 2 The system architecture and link design are as follows:
[0048] The system architecture is divided into a master station system layer, a core layer (CCO), a convergence layer (PCO), and a terminal layer (STA) from top to bottom, and each layer relies on an IP network and a wired link to realize data flow closed loop. Among them:
[0049] Master station system layer: the master station platform is the data hub, interfaces with the power grid main system, and undertakes data storage, analysis and instruction issuance.
[0050] Core layer (CCO): deployed at the transformer side of the transformer, with DHCPv6 service, routing management, data convergence function, supporting IPv6 global prefix allocation, is the central scheduling point of the system.
[0051] Convergence layer (PCO): deployed in the branch box, responsible for sub-domain management and cross-domain forwarding, with IPv6 sub-prefix for regional differentiation, to reduce the management pressure of CCO.
[0052] Terminal layer (STA): including smart meters, charging piles, photovoltaic equipment, etc., supporting PLC + RF dual mode, collecting data and returning to the upper layer.
[0053] In terms of link, the PLC link (thick line) is the main route, and the RF link (dashed line) is the standby route, which normally uses PLC, automatically switches to RF when the quality is poor, and guarantees the stability of communication.
[0054] Specifically, in the new power system scenario, the low-voltage area uses IPv6 as the network layer core technology, uses the layered networking architecture of the dual-mode communication of power line carrier (PLC) and wireless radio frequency (RF) as the access carrier, and realizes the integrated network access and collaborative management of the multi-type terminals (smart meters, photovoltaic inverters, charging piles, etc.) of "source network load storage".
[0055] Terminal-converged layer interconnection: the terminal layer device accesses the converged layer PCO through the PLC main link (carrying high-bandwidth services such as batch data collection of electric meters) and the RF backup link (millisecond-level switching when the PLC is disturbed / interrupted), which not only completes the uplink transmission of terminal real-time data (meter readings, photovoltaic output, charging pile status, etc.), but also carries the downlink interaction of the PCO issued control instructions, and guarantees the continuity of terminal communication through the dual-mode link redundancy mechanism.
[0056] Converged-core layer interaction: after the converged layer PCO aggregates the terminal data in the sub-domain, it uploads the data to the core layer CCO through the power line / optical fiber link, and receives the global instructions issued by the CCO, thereby realizing "sub-domain autonomous management" and "core layer load relief", and meeting the needs of in-domain management and cross-domain forwarding under the layered networking.
[0057] Core layer-main station collaboration: the core layer CCO serves as the pivot of the global IPv6 address, holds the global IPv6 prefix and allocates the sub-domain prefix for the PCO, relies on the three-level address structure of "global prefix + sub-domain identifier + device feature code", realizes the binding of the terminal IPv6 address and the device identity (type, manufacturer, serial number, etc.), and supports the precise addressing of the main station to the terminal; meanwhile, the CCO is interconnected with the main station platform through the private network / optical fiber link, completes the uploading of the data of the whole area and the downlink distribution of the dispatching strategies (such as photovoltaic consumption instructions, charging pile peak-valley regulation instructions, etc.) of the main station.
[0058] Main station business collaboration: the main station platform realizes the collection, analysis and collaborative scheduling of the multi-business data of "source network load storage" through the communication link between the business modules, provides technical architecture support for the fine management (such as photovoltaic consumption optimization, charging pile flexible regulation) of the low-voltage area and the collaborative operation of "source-network-load-storage" of the new power system.
[0059] In this embodiment, as shown in Figure 3 the access registration process of the terminal node (STA, such as a smart meter, a charging pile, etc.) in the IPv6 network is presented, which aims to realize the legal network access and controllability of the terminal through the standardized identity authentication and address allocation mechanism. The specific steps are as follows:
[0060] Terminal initialization and identity broadcast: after the terminal node (STA) is powered on and initialized, it actively sends a broadcast message carrying the device type identifier, and starts the network access registration process.
[0061] Core Node Identity Authentication: After receiving a broadcast message, the core communication node (CCO) of the distribution area performs two-way authentication on the terminal's identity certificate through the Datagram Transport Layer Security (DTLS) protocol to complete the device's legitimacy verification and prevent unauthorized terminals from accessing the network.
[0062] IPv6 Address Allocation and Registration: If the terminal supports Stateless Address Autoconfiguration (SLAAC): The terminal generates a temporary link-local IPv6 address based on the IPv6 network prefix published by the CCO and its own MAC address (Media Access Control address), and sends an address registration request message to the CCO; the CCO performs Duplicate Address Detection (DAD) on the address. If the address is unique, the CCO updates its local "address-device-topology location" mapping table, and the terminal registers successfully; if an address conflict is detected, the terminal triggers an address regeneration process and re-initiates registration. If the terminal does not support SLAAC: The terminal sends a DHCPv6 Solicit message to the CCO, initiating a stateful address configuration request; the CCO returns the allocated IPv6 address and network configuration parameters to the terminal via a DHCPv6 Advertise message, and the terminal completes registration upon receiving the information. After registration, the terminal obtains a valid IPv6 unicast address, enabling it to conduct data transmission and command interaction in the low-voltage distribution area's IPv6 communication network, laying the foundation for the network carrying of multiple services in the "source-network-load-storage" system.
[0063] In this embodiment, as Figure 4 The diagram illustrates the link switching process for dual-mode (power line PLC + wireless RF) communication in low-voltage distribution areas. The core principle is to quickly switch to the RF link and synchronize routing when the PLC link quality degrades, ensuring uninterrupted communication. The steps are as follows:
[0064] Conditions for triggering link switching: Real-time monitoring of PLC link communication quality indicators (such as signal-to-noise ratio). When the indicator suddenly drops from the normal level to 15dB (and the original score is in the threshold range of "30 to 60 points", indicating that the PLC link "quality has deteriorated but has not been completely interrupted"), the "link switching process" will be triggered.
[0065] Switching to the RF link (pre-switch assessment and execution): Before switching, the quality of the RF link is assessed: the RF received signal strength (RSSI) is -65dB (RSSI is an indicator of wireless signal strength; -65dB is considered a "relatively strong signal"), which scores 85 points according to the scoring rules (the higher the score, the better the RF link quality); therefore, the switch to the RF link is chosen, and the switch takes only 35ms (extremely short, with almost no impact on service continuity). At this time, the communication between the terminal and the "relay node (PCO)" switches from the PLC link to the RF link.
[0066] After the switchover: Network-wide routing is synchronized. After the link switchover is completed, the core node (CCO) will broadcast a "routing update instruction" to the entire network area; upon receiving the instruction, the relay node (PCO) will synchronously update its own "routing table" (equivalent to a "data transmission navigation table"); the terminal equipment (STA) will also synchronously update its routing table to ensure that subsequent data can be correctly forwarded along the new RF link, maintaining smooth communication throughout the network.
[0067] The above process, through "monitoring PLC quality → switching to a high-quality RF → synchronizing the entire network routing," achieves "link redundancy backup + rapid switching," ensuring high reliability of low-voltage distribution area communication. It realizes unified IP-based management, efficient routing switching, and secure transmission for low-voltage distribution area communication, meeting the real-time and reliability requirements of the "source-network-load-storage" service.
[0068] This invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods in this embodiment.
[0069] This invention also provides an electronic terminal, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal performs any of the methods in this embodiment.
[0070] As will be understood by those skilled in the art, the computer-readable storage medium described in this embodiment allows for the implementation of all or part of the steps in the above method embodiments by computer program-related hardware. The aforementioned computer program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0071] The electronic terminal provided in this embodiment includes a processor, a memory, a transceiver, and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication between them. The memory is used to store computer programs, the communication interface is used to perform communication, and the processor and the transceiver are used to run the computer programs, so that the electronic terminal performs the steps of the above method.
[0072] The automatic addressing and routing method, medium, and terminal for dual-mode communication modules described in the above embodiments address the issues of fragmentation, inefficiency, and weak security in existing communication networks compared to existing technologies. This invention offers a simple and convenient process. Through a unified IP architecture, dual-mode link collaboration, and dynamic routing optimization, it solves the problems of fragmentation, low reliability, and weak security in low-voltage distribution area communication. Automatic addressing is achieved through a layered IPv6 address structure, dual-mode routing initialization and dynamic adjustment are performed using a multi-dimensional link evaluation model, and end-to-end security mechanisms ensure transmission security. This invention enables rapid device access (≤3 seconds), highly reliable communication (link switching ≤50ms), and large-scale node collaboration (supporting 500+ concurrent nodes), effectively improving the efficiency and security of low-voltage distribution area communication networks and supporting the digital transformation of the end-point of new power systems.
[0073] Obviously, the embodiments described above are merely preferred embodiments of the present invention, and not all embodiments. The accompanying drawings illustrate preferred embodiments of the present invention, but do not limit the scope of the patent. The present invention can be implemented in many different forms; rather, these embodiments are provided to provide a more thorough and complete understanding of the disclosure of the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this invention.
Claims
1. An automatic addressing and routing method for a dual-mode communication module, characterized in that, Includes the following steps: S10. A three-level IPv6 address structure is adopted. After the terminal node is powered on, it obtains an address through stateless automatic configuration or dynamic allocation by DHCPv6, and completes registration after address conflict detection. S20. The node periodically collects parameters of the power line carrier and the radio frequency link, calculates the link quality score through a weighted algorithm, and the master node uses an improved minimum spanning tree algorithm to generate a dual-path routing tree. S30. When the quality score of the primary link drops below the preset score, the node automatically activates the backup link. After the switch, the node sends a route switch announcement to the CCO, and the CCO updates the global routing table and broadcasts it to the entire network. After the primary link is restored, the node switches back to the primary link in an idle time slot. S40. For large-scale node scenarios, a time slot sharding + service priority scheduling strategy is adopted to divide 1 minute into 50 time slots and allocate dedicated time slots for different services. Combined with the CSMA / CA mechanism, packet collisions are reduced. Relay nodes are responsible for time slot allocation within subdomains. When the S50 device is connected, it verifies the digital certificate through the DTLS protocol, encrypts IPv6 data packets using the AES-128-GCM algorithm, dynamically negotiates the encryption key through the ECDH algorithm, carries the MAC address in the data packet for integrity verification, binds the IPv6 address to the device's physical identifier, and limits or blocks abnormal behavior.
2. The automatic addressing and routing method for a dual-mode communication module according to claim 1, characterized in that, In S10, the three-level structure consists of a global prefix, a subdomain identifier, and a device feature code. The global prefix is 48 bits, which is associated with a unique identifier for the station area to ensure the global uniqueness of the address. The subdomain identifier is 16 bits, which distinguishes different branch boxes or regional subdomains and supports up to 65,536 subdomains. The device feature code is 32 bits, which includes an 8-bit device type, an 8-bit manufacturer code, and a 16-bit device serial number, realizing the management of address as identity.
3. The automatic addressing and routing method for a dual-mode communication module according to claim 2, characterized in that, The hybrid address configuration process is as follows: After the terminal node is powered on, it can obtain an address using SLAAC or DHCPv6. After address conflict detection, it completes registration by sending an NS message. The entire process takes no more than 3 seconds and supports 500 concurrent nodes.
4. The automatic addressing and routing method for a dual-mode communication module according to claim 1, characterized in that, In S20, the acquisition period is 10 seconds, and the parameters include signal strength parameters, transmission reliability parameters, real-time parameters, and stability parameters. The power line carrier signal-to-noise ratio is ≥25dB, the received signal strength of the wireless radio frequency link is ≥-70dB, the power line carrier packet loss rate is ≤3%, the wireless radio frequency link packet loss rate is ≤5%, the power line carrier one-way delay is ≤80ms, the wireless radio frequency link one-way delay is ≤50ms, the power line carrier signal fluctuation is ≤10%, and the wireless radio frequency link channel occupancy rate is ≤40%.
5. The automatic addressing and routing method for a dual-mode communication module according to claim 4, characterized in that, The score is calculated using a weighted algorithm, with signal strength accounting for 40%, reliability for 30%, real-time performance for 20%, and stability for 10%. Links with a score of ≥80 are automatically selected as the primary route.
6. The automatic addressing and routing method for a dual-mode communication module according to claim 5, characterized in that, The CCO uses an improved minimum spanning tree algorithm to generate the routing tree, prioritizing power line carriers as the primary route for high-bandwidth services and radio frequency links as backup routes for mobile devices; it allocates dual paths to each terminal node and distributes routing tables; cross-subdomain communication is uniformly forwarded by the CCO.
7. The automatic addressing and routing method for a dual-mode communication module according to claim 1, characterized in that, In S30, the preset score is 60 points, and the backup link is activated within 50ms.
8. The automatic addressing and routing method for a dual-mode communication module according to claim 1, characterized in that, In S50, temporary rate limiting of ≤10 times / minute is triggered for abnormal address scanning behavior, and forged addresses are immediately blocked for 10 minutes.
9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 8.
10. An electronic terminal, characterized in that, include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to cause the terminal to perform the method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Low-voltage transformer area based on power line carrier communication
CN117220146A