CN-122027603-A - Method and system for automatically distributing IPv6 addresses in low-voltage carrier communication network
Abstract
The invention discloses a method and a system for automatically distributing IPv6 addresses in a low-voltage carrier communication network, which relate to the technical field of carrier communication, and the method comprises the steps of receiving an IPv6 address distribution request message sent by terminal equipment in the low-voltage carrier communication network; the method comprises the steps of estimating the communication channel state of a low-voltage carrier communication network where terminal equipment is located, redundantly sending IPv6 address allocation response messages on a plurality of carrier frequency bands, adjusting a dynamic retransmission strategy according to the reevaluated communication channel state and the service priority of the terminal equipment, and redundantly sending the IPv6 address allocation response messages on the plurality of carrier frequency bands again based on the dynamic retransmission strategy. The invention combines the reevaluation of the channel state and the service priority, so that the retransmission mechanism is more intelligent and efficient, and can better adapt to complex power grid environment and diversified service demands.
Inventors
- Jiang Weihuang
- YU HAIWEI
- Zhang Menjie
- HUANG ZIJUN
- XIANG BAICHENG
- QUAN WEI
Assignees
- 南方电网数字电网研究院股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260211
Claims (10)
- 1. A method for automatically assigning IPv6 addresses in a low-voltage carrier communication network, comprising: receiving an IPv6 address allocation request message sent by terminal equipment in a low-voltage carrier communication network; evaluating the communication channel state of a low-voltage carrier communication network where the terminal equipment is located; Selecting a plurality of carrier frequency bands based on the communication channel state, and redundantly transmitting an IPv6 address allocation response message on the plurality of carrier frequency bands; Judging whether the terminal equipment receives the confirmation message of the IPv6 address allocation response message within a preset time or not; If the confirmation message is not received in the preset time, reevaluating the communication channel state of the low-voltage carrier communication network where the terminal equipment is located, and adjusting a dynamic retransmission strategy according to the reevaluated communication channel state and the service priority of the terminal equipment, wherein the dynamic retransmission strategy comprises a retransmission interval and retransmission times; and redundant sending of the IPv6 address allocation response message on the plurality of carrier frequency bands is carried out again based on the dynamic retransmission strategy.
- 2. The method for automatically allocating an IPv6 address in a low-voltage carrier communication network according to claim 1, wherein the receiving an IPv6 address allocation request message sent by a terminal device in the low-voltage carrier communication network includes: The terminal equipment generates a Solicit message according to a DHCPv6 protocol mode, wherein the Solicit message takes an IPv6 multicast address as a destination address and a link local IPv6 address of the terminal equipment as a source address; And sending the Solict request message to a DHCPv6 server through a low-pressure carrier communication network.
- 3. The method for automatically allocating an IPv6 address in a low-pressure carrier communication network according to claim 1, wherein the evaluating the communication channel state of the low-pressure carrier communication network in which the terminal device is located includes: collecting communication quality of a plurality of carrier communication modules based on a preset period, wherein the communication quality comprises data packet signal-to-noise ratio and bit error rate information; Establishing a communication channel maintenance table based on the communication quality; And evaluating the communication channel state of each available frequency band after receiving the IPv6 address allocation request message based on the communication channel maintenance table.
- 4. The method for automatically allocating IPv6 addresses in a low-voltage carrier communication network according to claim 1, wherein selecting a plurality of carrier bands based on the communication channel state, and redundantly transmitting IPv6 address allocation response messages on the plurality of carrier bands comprises: Dynamically selecting a plurality of carrier frequency bands meeting the communication quality requirements according to the communication channel state; And transmitting the same IPv6 address allocation response message to the requested terminal equipment through the plurality of carrier frequency bands within the minimum time interval allowed by the low-voltage carrier communication protocol.
- 5. The method for automatically allocating IPv6 addresses in a low-voltage carrier communication network according to claim 4, wherein the transmitting the same IPv6 address allocation response message to the requested terminal device through the plurality of carrier frequency bands within a minimum time interval allowed by the low-voltage carrier communication protocol includes: Before sending an IPv6 address allocation response message, sending a detection frame to the carrier frequency bands; Receiving an instantaneous signal-to-noise ratio and an instantaneous error rate fed back based on the detection frame; judging whether the corresponding carrier frequency band has instantaneous interference according to the instantaneous signal-to-noise ratio and the instantaneous error rate, and determining an available carrier frequency band set; Allocating a transmitting time slot offset for each carrier frequency band in the set of available frequency bands; And transmitting the same IPv6 address allocation response message to the requested terminal equipment within the minimum time interval allowed by the low-voltage carrier communication protocol according to the transmission time slot offset.
- 6. A method for automatic allocation of IPv6 addresses in a low-voltage carrier communication network according to claim 1, said method further comprising: When the terminal equipment receives the IPv6 address allocation response message, detecting the integrity of the IPv6 address allocation response message; Extracting a transaction ID in the IPv6 address allocation response message when detecting that the IPv6 address allocation response message is a valid message; Inquiring whether a message with the same transaction ID exists in a cache area based on the transaction ID; And if judging that the messages with the same transaction ID do not exist in the cache area, storing the IPv6 address allocation response message into the cache area, and generating a corresponding confirmation message based on the IPv6 address allocation response message.
- 7. A method for automatic allocation of IPv6 addresses in a low-voltage carrier communication network according to claim 1, said method further comprising: after receiving the confirmation message of the response message of the terminal equipment to the IPv6 address allocation, detecting whether the requested IPv6 address is available in an address pool and not occupied by other equipment; if the requested IPv6 address is judged to be available and not occupied by other equipment, the requested IPv6 address is distributed to the requested terminal equipment; After the requested IPv6 address is allocated, generating a Reply message and sending the Reply message to the requested terminal equipment, wherein the Reply message comprises the requested IPv6 address and lease deadline.
- 8. The method for automatically allocating an IPv6 address in a low-pressure carrier communication network according to claim 1, wherein the re-evaluating the communication channel state of the low-pressure carrier communication network where the terminal device is located, and adjusting the dynamic retransmission policy according to the re-evaluated communication channel state and the service priority of the terminal device comprises: monitoring the instantaneous signal energy and the instantaneous noise level of a low-voltage carrier communication network, identifying a periodic pulse interference event based on the instantaneous signal energy and the instantaneous noise level, and recording periodic interference characteristics; periodically executing internal loop-back test of the low-voltage carrier communication network, measuring physical layer parameters, and adjusting a channel quality evaluation threshold according to the measurement result; Adjusting physical layer transmission parameters of the IPv6 address allocation response message according to the periodic interference characteristics and the channel quality evaluation threshold; And adjusting a dynamic retransmission strategy based on the physical layer transmission parameters and the service priority of the terminal equipment.
- 9. The method for automatically allocating IPv6 addresses in a low-voltage carrier communication network according to claim 8, wherein said adjusting physical layer transmission parameters of said IPv6 address allocation response message according to said periodic interference characteristic and said channel quality assessment threshold comprises: distributing an initial transmission parameter set for each terminal device according to the service priority and the current channel state of each terminal device; Inquiring periodic interference characteristics of an area where the terminal equipment is located; And adjusting the physical layer transmission parameters according to the periodic interference characteristics and the service priority, wherein: for high priority equipment, selecting modulation orders and error correction codes in an interference null window period, switching to stronger error correction codes and lower modulation orders if interference exists in the null window period, and increasing interleaving depth; For low priority devices, modulation order and error correction coding are selected during the interference null window period, if transmission fails, the retransmission interval is prolonged, and retransmission is performed with stronger error correction coding and lower modulation order during different null window periods.
- 10. A system for automatic allocation of IPv6 addresses in a low-voltage carrier communication network, comprising: The request receiving module is used for receiving an IPv6 address allocation request message sent by the terminal equipment in the low-voltage carrier communication network; the channel evaluation module is used for evaluating the communication channel state of the low-voltage carrier communication network where the terminal equipment is located; The redundant sending module is used for selecting a plurality of carrier frequency bands based on the communication channel state and sending IPv6 address allocation response messages in a redundant mode on the carrier frequency bands; the message determining module is used for judging whether the confirmation message of the terminal equipment to the IPv6 address allocation response message is received within a preset time; A retransmission adjustment module, configured to reevaluate a communication channel state of a low-voltage carrier communication network where the terminal device is located when the acknowledgement message is not received in a preset time, and adjust a dynamic retransmission policy according to the reevaluated communication channel state and a service priority of the terminal device, where the dynamic retransmission policy includes a retransmission interval and a retransmission number; And the retransmission sending module is used for redundantly sending the IPv6 address allocation response message on the plurality of carrier frequency bands based on the dynamic retransmission strategy.
Description
Method and system for automatically distributing IPv6 addresses in low-voltage carrier communication network Technical Field The application relates to the technical field of low-voltage carrier communication, in particular to a method and a system for automatically distributing IPv6 addresses in a low-voltage carrier communication network. Background Along with the acceleration of the construction of a novel power system, a power line carrier communication network of the voltage is used as a key infrastructure of the last kilometer of the power grid and the connection of users, and needs to bear the large-scale access of diversified service equipment such as distributed photovoltaic, electric automobile charging piles, user side energy storage and the like. The traditional IPv4 address resource can not meet the connection requirement of mass equipment, and the IPv6 protocol provides an ideal address allocation solution for the low-voltage carrier communication network by virtue of the huge address space and automatic configuration characteristics. Under the background of converting the intelligent power grid into digital and intelligent, the plug-and-play access of the equipment based on the IPv6 protocol is realized, and the intelligent power grid becomes a key technical path for improving the communication performance and the multi-service bearing capacity of the low-voltage station. The automatic allocation of IPv6 addresses in low-voltage carrier communication networks still faces a number of challenges. On the one hand, the power line channel has strong time-varying and frequency-selective attenuation, which makes it difficult for the traditional server-independent address automatic configuration method to ensure the reliability and timeliness of address allocation in a complex power grid environment. On the other hand, if the DHCPv6 protocol requiring participation of the server is used, problems such as delay possibly occurring when the server is in inter-cell communication, processing pressure when a large number of devices simultaneously request addresses, and how to make the IPv6 address allocation better adapt to special requirements of power service are encountered. The key technical problem faced at present is how to realize the deep fusion of the IPv6 address allocation mechanism and the low-voltage carrier communication channel characteristics and the novel power service requirements so as to reliably and real-timely meet the differential communication requirements of large-scale equipment such as minute-level acquisition, second-level regulation and control and the like. The prior art has not well combined the characteristics of IPv6 address allocation and low-voltage carrier communication, and is difficult to meet the requirements of equipment on communication speed and reliability. Disclosure of Invention The invention aims to overcome the defects of the prior art, provides a method and a system for automatically distributing IPv6 addresses in a low-voltage carrier communication network, and aims to solve the technical problems of reliability and timeliness of IPv6 address distribution in the low-voltage carrier communication network and deep fusion with special requirements of electric power business. In a first aspect, the present application discloses a method for automatically allocating an IPv6 address in a low-voltage carrier communication network, including the steps of: receiving an IPv6 address allocation request message sent by terminal equipment in a low-voltage carrier communication network; evaluating the communication channel state of a low-voltage carrier communication network where the terminal equipment is positioned; selecting a plurality of carrier frequency bands based on the communication channel state, and redundantly transmitting an IPv6 address allocation response message on the plurality of carrier frequency bands; judging whether the terminal equipment receives the confirmation message of the IPv6 address allocation response message within a preset time; If the confirmation message is not received in the preset time, reevaluating the communication channel state of the low-voltage carrier communication network where the terminal equipment is located, and adjusting a dynamic retransmission strategy according to the reevaluated communication channel state and the service priority of the terminal equipment, wherein the dynamic retransmission strategy comprises a retransmission interval and retransmission times; and redundant transmission of the IPv6 address allocation response message on a plurality of carrier frequency bands is carried out again based on the dynamic retransmission strategy. Further, the receiving the IPv6 address allocation request message sent by the terminal device in the low-voltage carrier communication network includes: the terminal equipment generates a Solicit message according to a DHCPv6 protocol mode, wherein the Solicit message takes an I