A power line carrier communication cross-layer resource allocation method and system
Patent Information
- Application Number
- CN202610885912.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-18
- Publication Date
- 2026-09-15
AI Technical Summary
现有方法多采用固定的预设优先级策略或简单的轮询机制,但该方法缺乏一个能够灵活调节公平性与效率权重的量化手段,难以在二者之间实现可控的折中与平衡
Smart Images

Figure CN122764243A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power line carrier technology, and in particular to a method and system for cross-layer resource allocation in power line carrier communication. Background Technology
[0002] In power line carrier communication networks, the channel conditions of different nodes vary significantly, and the priorities of the services they carry differ. During cross-layer resource allocation, if the sole objective is to maximize the total network throughput, nodes with good channel conditions will continuously receive more resources, while edge nodes with poor channel conditions or control services that are latency-sensitive but have small data volumes are easily left unused for extended periods. This imbalance between efficiency and fairness is a key issue that needs to be addressed in cross-layer scheduling. Existing methods often employ fixed preset priority strategies or simple polling mechanisms, but these methods lack a quantitative means to flexibly adjust the weights of fairness and efficiency, making it difficult to achieve a controllable trade-off and balance between the two. Furthermore, traditional resource allocation schemes mostly perform one-time optimization calculations and execution based on the channel state at the time of scheduling, lacking continuous tracking and verification of the allocation effect. When deviations occur, adaptive updates to resource allocation cannot be triggered. If the channel changes drastically during allocation execution, the previously determined allocation scheme no longer adapts to the current channel conditions, leading to resource waste and transmission failures. Summary of the Invention
[0003] The purpose of this invention is to overcome the shortcomings of the prior art. This invention provides a method and system for cross-layer resource allocation in power line carrier communication, which can detect the deterioration of the allocation result in real time and perform dynamic adaptive updates of resource allocation in a timely manner, significantly enhancing the resilience and anti-interference capability of power line carrier communication in a highly time-varying environment.
[0004] To address the aforementioned technical problems, this invention provides a method for cross-layer resource allocation in power line carrier communication, the method comprising: Link status awareness of communication nodes in power line carrier communication networks is performed to obtain link status information; Obtain transmission demand information, and determine target comprehensive information based on the transmission demand information and link status information; Based on the comprehensive information of the target, a cross-layer resource scheduling priority analysis is performed using a fairness factor to obtain resource scheduling priority information; Based on the resource scheduling priority information, an optimization objective analysis is performed on the cross-layer resource allocation of communication to obtain optimization objective information, and an approximate relaxation model is used to determine the resource allocation scheme based on the optimization objective information. Based on the resource allocation scheme, cross-layer configuration parameters are extracted, and cross-layer allocation of communication resources for the power line carrier network is performed based on the cross-layer configuration parameters. In the process of cross-layer allocation of communication resources in a power line carrier network, real-time feedback information from the physical layer is obtained, resource allocation is compared and verified based on the real-time feedback information, comparison and verification results are obtained, and adaptive updates of resource allocation are performed based on the comparison and verification results.
[0005] Optionally, the step of performing link status awareness of communication nodes in the power line carrier communication network to obtain link status information includes: Multi-dimensional detection of communication nodes in a power line carrier communication network is performed to obtain clean noise sampling information and detection frame set information. Based on the clean noise sampling information and the probe frame set information, a multi-dimensional feature analysis of the link is performed to obtain multi-dimensional feature information of the link. Based on the multi-dimensional feature information of the link, the link status of the communication node is perceived, and the link status information is obtained.
[0006] Optionally, determining the target integrated information based on the transmission demand information and link status information includes: A capacity gap vector is generated based on the transmission demand information and link status information, and a capacity gap matrix is determined based on the capacity gap vector. A bottleneck heatmap is also determined based on the capacity gap vector. Information fusion is performed based on the aforementioned capability gap matrix and bottleneck heatmap to obtain comprehensive target information.
[0007] Optionally, the step of performing cross-layer resource scheduling priority analysis based on the target comprehensive information and fairness factors to obtain resource scheduling priority information includes: Obtain node scheduling logs, perform fairness deviation index analysis based on the node scheduling logs and target comprehensive information, obtain fairness deviation index information, and determine fairness factors based on the fairness deviation index information; Based on the comprehensive information of the target, cross-level urgency coefficient analysis is performed to obtain a list of cross-level urgency coefficients; Based on the fairness factor, the list of cross-layer urgency coefficients, and the comprehensive target information, cross-layer resource scheduling priority analysis is performed using the adjacent line interference conflict diagram to obtain resource scheduling priority information.
[0008] Optionally, the step of performing fairness deviation index analysis based on the node scheduling logs and target comprehensive information to obtain fairness deviation index information includes: Based on the node scheduling logs, periodic service record information is extracted, and the average throughput is determined using the periodic service record information based on the exponential decay window. Effective transmission opportunities are determined using the periodic service record information based on the exponential decay window, and a fair benchmark is determined based on the average throughput and effective transmission opportunities. Based on the comprehensive information of the target, a fairness deviation index analysis is performed using the fairness benchmark to obtain fairness deviation index information.
[0009] Optionally, the step of performing optimization objective analysis on cross-layer communication resource allocation based on the resource scheduling priority information to obtain optimization objective information, and determining a resource allocation scheme using an approximate relaxation model based on the optimization objective information, includes: Based on the resource scheduling priority information, an optimization preference coefficient is determined, and based on the optimization preference coefficient, an optimization target analysis of cross-layer communication resource allocation is performed to obtain optimization target information; Determine the preset constraints, and construct an approximate relaxation model based on the optimization objective information using the preset constraints; Based on the resource scheduling priority information, an approximate relaxation model is used to analyze the schemes and obtain several candidate schemes. Based on the optimization objective information, the effectiveness of several candidate solutions is evaluated to obtain the effectiveness evaluation results, and the resource allocation scheme is determined from all candidate solutions based on the effectiveness evaluation results.
[0010] Optionally, the step of constructing an approximate relaxation model based on the optimization objective information and the preset constraints includes: Based on the optimization objective information, variables are defined using the preset constraints to obtain a list of decision variables and a set of constraints. Based on the list of decision variables, the relaxation occupancy variables are determined, and based on the set of constraints, the softening constraint information is determined; Based on the relaxation occupancy variables, softening constraint information, and optimization objective information, the model is encapsulated to obtain an approximate relaxation model.
[0011] Optionally, the extraction of cross-layer configuration parameters based on the resource allocation scheme includes: A physical layer configuration primitive set is generated based on the resource allocation scheme, and a media access control layer scheduling configuration table is generated based on the physical layer configuration primitive set and the resource allocation scheme. Network layer cooperation configuration parameters are generated based on the resource allocation scheme and the media access control layer scheduling configuration table, and cross-layer configuration parameters are determined based on the physical layer configuration primitive set, the media access control layer scheduling configuration table, and the network layer cooperation configuration parameters.
[0012] Optionally, the step of comparing and verifying resource allocation based on the real-time feedback information, obtaining comparison and verification results, and adaptively updating resource allocation based on the comparison and verification results includes: Based on the real-time feedback information, a performance deviation analysis of resource allocation is performed to obtain performance deviation information; Based on the real-time feedback information, drift trend analysis is performed to obtain drift trend information, and resource allocation is compared and verified based on the performance deviation information and drift trend information to obtain comparison and verification results. Based on the comparison and verification results, a configuration adjustment instruction is generated, and an adaptive update of resource allocation is performed based on the configuration adjustment instruction.
[0013] In addition, the present invention also provides a cross-layer resource allocation system for power line carrier communication, the system comprising: Link Status Awareness Module: Used to sense the link status of communication nodes in a power line carrier communication network and obtain link status information; Information integration module: used to acquire transmission demand information and determine target integrated information based on the transmission demand information and link status information; Priority Analysis Module: Used to perform cross-layer resource scheduling priority analysis based on the target comprehensive information and fairness factors to obtain resource scheduling priority information; Allocation scheme determination module: used to perform optimization target analysis on cross-layer communication resource allocation based on the resource scheduling priority information, obtain optimization target information, and determine the resource allocation scheme based on the optimization target information using an approximate relaxation model; Resource cross-layer allocation module: used to extract cross-layer configuration parameters based on the resource allocation scheme, and to perform cross-layer allocation of communication resources of the power line carrier network based on the cross-layer configuration parameters; Feedback update module: used to obtain real-time feedback information from the physical layer during the cross-layer allocation of communication resources in the power line carrier network, perform comparison and verification of resource allocation based on the real-time feedback information, obtain the comparison and verification results, and perform adaptive update of resource allocation based on the comparison and verification results.
[0014] In this embodiment of the invention, link status awareness of communication nodes is performed on the power line carrier communication network. Based on transmission demand information and link status information, target comprehensive information is determined, breaking down the silos between independent service requirements and physical capabilities, and providing reliable and comprehensive data support for subsequent analysis. Based on the target comprehensive information, a fairness factor is used to perform cross-layer resource scheduling priority analysis; based on the resource scheduling priority information, optimization target analysis of cross-layer communication resource allocation is performed; based on the optimization target information, an approximate relaxation model is used to determine the resource allocation scheme, flexibly finding the optimal balance between efficiency and fairness, approaching the theoretical upper limit of channel capacity under complex channel conditions, and significantly improving the system's spectrum utilization and throughput. Cross-layer configuration parameters are extracted based on the resource allocation scheme, and cross-layer allocation of communication resources in the power line carrier network is performed based on these parameters. During the cross-layer allocation of communication resources in the power line carrier network, resource allocation is compared and verified based on real-time feedback information, and adaptive updates of resource allocation are performed based on the comparison and verification results. This enables immediate detection of deterioration in allocation results and timely dynamic adaptive updates of resource allocation, significantly enhancing the resilience and anti-interference capability of power line carrier communication in highly time-varying environments. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating the cross-layer resource allocation method for power line carrier communication in an embodiment of the present invention. Figure 2 This is a flowchart illustrating a cross-layer resource allocation method for power line carrier communication according to another embodiment of the present invention. Figure 3 This is a schematic diagram of the structural composition of the cross-layer resource allocation system for power line carrier communication in an embodiment of the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] Example 1 Please see Figure 1 , Figure 1 This is a flowchart illustrating a cross-layer resource allocation method for power line carrier communication according to an embodiment of the present invention. The method includes: S11: Perform link status awareness of communication nodes in the power line carrier communication network to obtain link status information; In the specific implementation of this invention, multi-dimensional detection of communication nodes is performed on the power line carrier communication network to obtain clean noise sampling information and detection frame set information; multi-dimensional link feature analysis is performed based on the clean noise sampling information and detection frame set information to obtain multi-dimensional link feature information; and link status perception of communication nodes is performed based on the multi-dimensional link feature information to obtain link status information, providing a fresh and real-time data foundation for subsequent dynamic adaptive resource allocation.
[0019] S12: Obtain transmission requirement information, and determine target comprehensive information based on the transmission requirement information and link status information; In the specific implementation of this invention, transmission demand information is obtained, a capacity gap vector is generated based on the transmission demand information and link status information, a capacity gap matrix is determined based on the capacity gap vector, and a bottleneck heat map is determined based on the capacity gap vector; information fusion is performed based on the capacity gap matrix and the bottleneck heat map to obtain comprehensive target information, breaking the isolated situation where business needs and physical capabilities are independent.
[0020] S13: Based on the target comprehensive information, perform cross-layer resource scheduling priority analysis using fairness factors to obtain resource scheduling priority information; In the specific implementation of this invention, node scheduling logs are acquired, and fairness deviation index analysis is performed based on the node scheduling logs and target comprehensive information to obtain fairness deviation index information. A fairness factor is then determined based on the fairness deviation index information. Cross-layer urgency coefficient analysis is performed based on the target comprehensive information to obtain a cross-layer urgency coefficient list. Based on the fairness factor, the cross-layer urgency coefficient list, and the target comprehensive information, a cross-layer resource scheduling priority analysis is performed using an adjacent line interference conflict graph to obtain resource scheduling priority information. Through the fairness factor, an optimal balance point can be flexibly found between efficiency priority and absolute fairness.
[0021] S14: Based on the resource scheduling priority information, perform optimization target analysis on cross-layer communication resource allocation to obtain optimization target information, and determine the resource allocation scheme based on the optimization target information using an approximate relaxation model; In the specific implementation of this invention, optimization preference coefficients are determined based on the resource scheduling priority information, and optimization target analysis of cross-layer communication resource allocation is performed based on the optimization preference coefficients to obtain optimization target information; preset constraints are determined, and an approximate relaxation model is constructed based on the optimization target information using the preset constraints; scheme analysis is performed using the approximate relaxation model based on the resource scheduling priority information to obtain several candidate schemes; the effectiveness of several candidate schemes is evaluated based on the optimization target information to obtain the effectiveness evaluation results, and a resource allocation scheme is determined among all candidate schemes based on the effectiveness evaluation results. This approach can approach the theoretical upper limit of channel capacity under complex channels, significantly improving the system's spectrum utilization and throughput.
[0022] S15: Extract cross-layer configuration parameters based on the resource allocation scheme, and perform cross-layer allocation of communication resources of the power line carrier network based on the cross-layer configuration parameters; In the specific implementation of this invention, a physical layer configuration primitive set is generated based on the resource allocation scheme, and a media access control layer scheduling configuration table is generated based on the physical layer configuration primitive set and the resource allocation scheme; network layer cooperative configuration parameters are generated based on the resource allocation scheme and the media access control layer scheduling configuration table, and cross-layer configuration parameters are determined based on the physical layer configuration primitive set, the media access control layer scheduling configuration table, and the network layer cooperative configuration parameters; cross-layer allocation of communication resources in the power line carrier network is performed based on the cross-layer configuration parameters, replacing traditional manual configuration or fragmented single-layer control with automated and closed-loop cross-layer parameter distribution, fundamentally improving the execution efficiency of resource allocation.
[0023] S16: During the cross-layer allocation of communication resources in the power line carrier network, real-time feedback information from the physical layer is obtained, resource allocation is compared and verified based on the real-time feedback information, comparison and verification results are obtained, and resource allocation is adaptively updated based on the comparison and verification results.
[0024] In the specific implementation of this invention, during the cross-layer allocation of communication resources in a power line carrier network, real-time feedback information from the physical layer is obtained. Based on this real-time feedback information, performance deviation analysis of resource allocation is performed to obtain performance deviation information. Drift trend analysis is also performed based on the real-time feedback information to obtain drift trend information. Furthermore, resource allocation is compared and verified based on the performance deviation information and drift trend information to obtain comparison and verification results. Based on the comparison and verification results, configuration adjustment instructions are generated, and adaptive updates to resource allocation are performed based on these instructions. This allows for the immediate detection of deterioration in allocation results and timely dynamic adaptive updates to resource allocation, significantly enhancing the network's resilience and anti-interference capabilities in highly time-varying environments.
[0025] In this embodiment of the invention, link status awareness of communication nodes is performed on the power line carrier communication network. Based on transmission demand information and link status information, target comprehensive information is determined, breaking down the silos between independent service requirements and physical capabilities, and providing reliable and comprehensive data support for subsequent analysis. Based on the target comprehensive information, a fairness factor is used to perform cross-layer resource scheduling priority analysis; based on the resource scheduling priority information, optimization target analysis of cross-layer communication resource allocation is performed; based on the optimization target information, an approximate relaxation model is used to determine the resource allocation scheme, flexibly finding the optimal balance between efficiency and fairness, approaching the theoretical upper limit of channel capacity under complex channel conditions, and significantly improving the system's spectrum utilization and throughput. Cross-layer configuration parameters are extracted based on the resource allocation scheme, and cross-layer allocation of communication resources in the power line carrier network is performed based on these parameters. During the cross-layer allocation of communication resources in the power line carrier network, resource allocation is compared and verified based on real-time feedback information, and adaptive updates of resource allocation are performed based on the comparison and verification results. This enables immediate detection of deterioration in allocation results and timely dynamic adaptive updates of resource allocation, significantly enhancing the resilience and anti-interference capability of power line carrier communication in highly time-varying environments.
[0026] Example 2 Please see Figure 2 , Figure 2 This is a flowchart illustrating a cross-layer resource allocation method for power line carrier communication according to another embodiment of the present invention, the method comprising: S201: Perform link status awareness of communication nodes in the power line carrier communication network and obtain link status information; In the specific implementation of this invention, the step of sensing the link status of communication nodes in the power line carrier communication network and obtaining link status information includes: performing multi-dimensional detection of communication nodes in the power line carrier communication network to obtain clean noise sampling information and detection frame set information; performing multi-dimensional link feature analysis based on the clean noise sampling information and detection frame set information to obtain multi-dimensional link feature information; and performing link status sensing of communication nodes based on the multi-dimensional link feature information to obtain link status information.
[0027] Specifically, multi-dimensional probing of communication nodes in the power line carrier communication network is performed to obtain clean noise sampling information and probe frame set information. Each communication node detects the local AC voltage zero-crossing point, defines a silent window and a probe window near the zero-crossing point, performs high-speed sampling within the silent window to capture the ambient noise floor under no-signal conditions, and obtains clean noise sampling information. Within the probe window, three-dimensional probe frames containing time-domain chirp, frequency-domain pilot, and code-domain spread spectrum are sequentially sent to adjacent nodes, repeated in three power levels, and the timestamp and power level of each transmission are recorded to form probe frame set information with timestamp and power tag.
[0028] Based on the clean noise sampling information and the probe frame set information, a multi-dimensional feature analysis of the link is performed to obtain the multi-dimensional feature information of the link. Using the frequency domain pilots of different power levels in the probe frame set information, the channel gain and phase offset of each subcarrier are calculated. By analyzing the multipath components through time-domain chirp, the channel transfer function spectrum is constructed and nonlinear distortion is marked. Periodic stationary analysis is performed using the clean noise sampling information to separate the impulse noise template that varies with the grid load, which includes the impulse arrival rate, duration distribution and energy level. The steady-state Gaussian noise basis is extracted. The above information is combined to obtain the multi-dimensional feature descriptor of the link, which is the multi-dimensional feature information of the link.
[0029] Based on the multi-dimensional feature information of the link, the link status of the communication node is perceived to obtain the link status information. The effective signal-to-interference-plus-noise ratio of the subcarrier under impulse noise is calculated one by one according to the multi-dimensional feature information of the link, and mapped to the highest supported modulation and coding scheme. The subcarrier achievable rate grid is woven together. The time-varying intensity of the link is evaluated by using the channel coherence time and the pulse arrival interval, and the link robustness level and the probability of interruption are generated. The above information is aggregated and normalized to form three scalars for each node pair, namely the maximum guaranteed rate, the delay reliability level and the link health index, which constitute the link status information.
[0030] S202: Obtain transmission requirement information, and determine target comprehensive information based on the transmission requirement information and link status information; In a specific implementation of the present invention, determining the target comprehensive information based on the transmission demand information and link status information includes: generating a capacity gap vector based on the transmission demand information and link status information, determining a capacity gap matrix based on the capacity gap vector, determining a bottleneck heatmap based on the capacity gap vector, and performing information fusion based on the capacity gap matrix and bottleneck heatmap to obtain the target comprehensive information.
[0031] Specifically, transmission demand information is obtained by collecting attributes of the service flows to be transmitted from application interfaces and node cache queues, extracting average throughput requirements, end-to-end deadlines, maximum latency jitter, and tolerable packet loss rates. This information constitutes the transmission demand information. A capacity gap vector is generated based on the transmission demand information and link status information. A capacity gap matrix is determined based on the capacity gap vector, and a bottleneck heatmap is determined based on the capacity gap vector. The maximum guaranteed rate and latency reliability level in the link status information are compared item by item with the transmission demand information to calculate the rate deficit and reliability guarantee insufficiency of each link, forming a capacity gap vector. The capacity gap vector is then distributed according to flow... The two-dimensional relationship of the links is systematically arranged. By filling in matrix cells with business flows as rows and links as columns, a capability gap matrix that can display the capability assurance status of each flow on the entire path can be directly constructed. With links as the aggregation dimension, the capability gap vectors generated by multiple flows on the same link are weighted and accumulated. The link health index is introduced as an amplification factor to calculate the bottleneck urgency index of each link. The bottleneck urgency index is mapped onto the physical cable topology map to form a bottleneck heat map with high temperature color marking the most critical area.
[0032] Based on the aforementioned capacity gap matrix and bottleneck heatmap, information fusion is performed to obtain comprehensive target information. The capacity gap matrix and bottleneck heatmap can be weighted and fused to generate various business flows. The overall target performance value of the link pair is obtained by combining the above information to obtain the overall target information.
[0033] S203: Based on the target comprehensive information, perform cross-layer resource scheduling priority analysis using fairness factors to obtain resource scheduling priority information; In a specific implementation of this invention, the step of performing cross-layer resource scheduling priority analysis based on the target comprehensive information and using a fairness factor to obtain resource scheduling priority information includes: acquiring node scheduling logs, performing fairness deviation index analysis based on the node scheduling logs and the target comprehensive information to obtain fairness deviation index information, and determining a fairness factor based on the fairness deviation index information; performing cross-layer urgency coefficient analysis based on the target comprehensive information to obtain a cross-layer urgency coefficient list; and performing cross-layer resource scheduling priority analysis using an adjacent line interference conflict graph based on the fairness factor, the cross-layer urgency coefficient list, and the target comprehensive information to obtain resource scheduling priority information.
[0034] Specifically, node scheduling logs are obtained, which involves extracting node scheduling logs from each communication node that record historical service duration, subcarrier occupancy, and actual throughput. The node scheduling logs also include the actual number of bits transmitted per cycle and the amount of time-frequency resources used. Based on the node scheduling logs and target comprehensive information, fairness deviation index analysis is performed to obtain fairness deviation index information. Average throughput can be determined from the node scheduling logs, a fairness benchmark can be determined based on this average throughput, and the fairness deviation index information can be determined based on the fairness benchmark. A fairness factor is determined based on the fairness deviation index information, and a nonlinear mapping transformation including dead zones is performed on the fairness deviation index information to compress it into a scalar fairness factor between preset upper and lower limits.
[0035] Based on the target comprehensive information, cross-layer urgency coefficient analysis is performed to obtain a cross-layer urgency coefficient list. The physical layer sudden deterioration label of each service flow's traversed link is determined from the target comprehensive information, including the signal-to-interference-plus-noise ratio (SIR) drop magnitude. The remaining lifetime of the service flow is determined from the target comprehensive information. Based on the extracted remaining lifetime and SIR drop magnitude, the timeout probability increment that would result without injecting additional resources at the current channel deterioration rate is evaluated. This timeout probability increment is quantified into a dimensionless cross-layer urgency coefficient. After performing the above operations on all scheduled service flows across the entire network, the cross-layer urgency coefficients corresponding to each flow are output as a cross-layer urgency coefficient list.
[0036] Based on the fairness factor, the cross-layer urgency coefficient list, and the target comprehensive information, cross-layer resource scheduling priority analysis is performed using the adjacent line interference conflict graph to obtain resource scheduling priority information. The efficiency values from the fairness factor, the cross-layer urgency coefficient list, and the target comprehensive information are combined according to a dynamic weighting strategy to form an initial scheduling priority value for each flow. Based on the co-frequency crosstalk characteristics of the power line carrier network, an adjacent line interference conflict graph is constructed. Under the rigid constraint of not causing destructive interference, each flow is pre-allocated a set of conflict-free subcarrier candidates and an allowed maximum power limit according to the initial scheduling priority value from high to low, and finally, resource scheduling priority information is generated.
[0037] Furthermore, the step of performing fairness deviation index analysis based on the node scheduling logs and target comprehensive information to obtain fairness deviation index information includes: extracting periodic service record information based on the node scheduling logs, and determining the average throughput using the periodic service record information based on an exponential decay window; determining effective transmission opportunities using the periodic service record information based on the exponential decay window, and determining a fairness benchmark based on the average throughput and effective transmission opportunities; and performing fairness deviation index analysis using the fairness benchmark based on the target comprehensive information to obtain fairness deviation index information.
[0038] Specifically, periodic service record information is extracted from the node scheduling log, and the average throughput is determined using the periodic service record information based on the exponential decay window. Periodic service record information for several past scheduling cycles is extracted from the node scheduling log according to the business flow dimension. The periodic service record information includes the number of bits actually transmitted and the amount of time-frequency resources occupied in each cycle. A preset exponential decay window function is loaded, and a weighted moving average calculation is performed on the number of transmitted bits in the periodic service record information in a manner that the closer the cycle is, the higher the weight and the contribution decays as the cycle is further away, to obtain the average throughput that reflects the recent service acquisition level of each business flow.
[0039] Effective transmission opportunities are determined using the periodic service record information based on the exponential decay window, and a fairness benchmark is determined based on the average throughput and effective transmission opportunities. The binary indication of whether scheduling is obtained in each period recorded in the periodic service record information is weighted and accumulated based on the exponential decay window to obtain the effective transmission opportunities that reflect the frequency of obtaining scheduling opportunities. According to the proportional fairness criterion, the rate share corresponding to the average throughput and the access frequency share corresponding to the effective transmission opportunities are combined to construct the ideal service benchmark that each service flow should achieve under the current demand weight, i.e., the fairness benchmark.
[0040] Based on the comprehensive target information, a fairness deviation index analysis is performed using the fairness benchmark to obtain fairness deviation index information. The relative importance weight and demand intensity of each business flow are determined from the comprehensive target information, and they are compared with the fairness benchmark flow by flow. The deviation between the actual service acquisition volume and the ideal benchmark is calculated, and the duration of underservice and recent deviation trend are included as correction terms. Finally, a fairness deviation index information containing deviation direction, deviation degree and cumulative underservice imprint is generated.
[0041] S204: Determine the optimization preference coefficient based on the resource scheduling priority information, and perform optimization target analysis on the cross-layer resource allocation of communication based on the optimization preference coefficient to obtain optimization target information; In the specific implementation of this invention, optimization preference coefficients are determined based on the resource scheduling priority information, and priority weights are determined based on the resource scheduling priority information. These priority weights are then mapped to optimization preference coefficients. Based on the optimization preference coefficients, optimization objective analysis of cross-layer communication resource allocation is performed to obtain optimization objective information. The relative priority weights of each service flow in resource scheduling are extracted based on the optimization preference coefficients. These relative priority weights are used as multiplicative factors for the utility terms of each flow in the objective function, constructing a utility description centered on maximizing the sum of the products of the network-wide weighted logarithmic throughput and relative latency satisfaction. Simultaneously, a penalty term associated with the fairness deviation index is introduced to impose a cost on excessive resource consumption. Finally, the above weighted utility description and penalty mechanism are integrated and output as optimization objective information. This information expresses the optimization direction and control boundary of prioritizing resource allocation to service flows with high preference coefficients and severe historical underservice, under the premise of satisfying minimum guarantee constraints.
[0042] S205: Determine the preset constraints and construct an approximate relaxation model based on the optimization target information using the preset constraints; In a specific implementation of this invention, the step of constructing an approximate relaxation model based on the optimization target information and the preset constraints includes: defining variables based on the optimization target information and the preset constraints to obtain a list of decision variables and a set of constraints; determining relaxation occupancy variables based on the list of decision variables and determining softening constraint information based on the set of constraints; and encapsulating the model based on the relaxation occupancy variables, the softening constraint information, and the optimization target information to obtain an approximate relaxation model.
[0043] Specifically, preset constraints are determined, and variables are defined based on the optimization objective information using these preset constraints to obtain a list of decision variables and a set of constraints. Preference weight coefficients, utility function structures, and penalty terms linked to the fairness deviation index are extracted from the optimization objective information. The dependent variables of each term in the objective function are clarified, and all preset constraints are reviewed. These preset constraints include physical layer subcarrier mutual exclusion rules, the upper limit of the total transmit power of each transmitting node, the maximum allowed modulation order for each subcarrier, the upper limit of the end-to-end delay for each service flow, and spatial multiplexing restrictions derived from the adjacent line interference conflict diagram. For these preset constraints, two types of decision variables in the original problem are defined: discrete variables are subcarrier occupancy indicators, and continuous variables are transmit power values. A set of constraints is compiled, containing a formal description of all constraint rules, and a list of decision variables is generated. This list of decision variables indicates the physical meaning, type, and interrelation domain of each variable.
[0044] Based on the list of decision variables, relaxed occupancy variables are determined, and based on the set of constraints, softened constraint information is determined. Using the discrete variables marked in the list of decision variables, they are relaxed from hard restrictions that can only take the values 0 or 1 to relaxed occupancy probability variables that can take continuous values between 0 and 1, and given a physical interpretation of time-sharing or probabilistic access. At the same time, the absolute mutual exclusion constraints established based on the hard conflict graph in the set of constraints are softened, and an upper limit of the interference temperature related to the relaxed occupancy probability is introduced, transforming the rigid constraints that prohibit co-frequency reuse into softened constraint information that allows minor interference but with increasing costs.
[0045] Based on the relaxed occupancy variables, softening constraint information, and optimization objective information, a model encapsulation is performed to obtain an approximate relaxed model. Using the relaxed occupancy variables and softening constraint information, the optimization objective information is continuously rewritten. This rewriting involves replacing all terms related to discrete resource allocation with functions of the relaxed occupancy variables. A relaxation distortion penalty term and an interference cost term are integrated into the objective to ensure that the model can recover the characteristics of the original discrete problem when the relaxed variables approach 0 or 1. Simultaneously, continuous constraints such as total power constraints and modulation order mapping are incorporated to construct a continuously differentiable, smooth-variable approximate relaxed model. This approximate relaxed model fully encompasses the relaxed objective function and all constraint boundaries.
[0046] S206: Based on the resource scheduling priority information, perform scheme analysis using an approximate relaxation model to obtain several candidate schemes; In the specific implementation of this invention, based on the resource scheduling priority information, an approximate relaxation model is used to analyze the schemes and obtain several candidate schemes. The scheduling order and suggested subcarrier set of each service flow are extracted according to the resource scheduling priority information. Then, according to the scheduling order from high to low, the subcarriers with the best signal-to-interference-plus-noise ratio and that meet the interference avoidance conditions are selected from the relaxed occupancy probabilities provided by the approximate relaxation model for matching. The power of each subcarrier is fine-tuned using the power gradient direction given by the approximate relaxation model to make the marginal utility tend to be balanced. By discretizing and locking the modulation and coding combination of each subcarrier, multiple candidate schemes that meet all rigid constraints are generated.
[0047] S207: Based on the optimization target information, evaluate the effectiveness of several candidate solutions, obtain the effectiveness evaluation results, and determine the resource allocation scheme among all candidate solutions based on the effectiveness evaluation results; In the specific implementation of this invention, the effectiveness of several candidate schemes is evaluated based on the optimization target information to obtain the effectiveness evaluation results. Based on the effectiveness evaluation results, a resource allocation scheme is determined among all candidate schemes. Each candidate scheme is mapped to the expected throughput and expected latency of each service flow. The results are substituted into the utility function defined by the optimization target information, which is the sum of the weighted logarithmic throughput and the relative latency satisfaction product. The utility value corresponding to each candidate scheme is calculated. At the same time, it is checked whether the fairness penalty is within an acceptable range to form the effectiveness evaluation results. The candidate scheme with the highest utility value is selected as the resource allocation scheme. The resource allocation scheme includes the enable bitmap of each subcarrier in each link, the precise transmit power value, the modulation and coding mode, and the time slot window position, etc.
[0048] S208: Extract cross-layer configuration parameters based on the resource allocation scheme, and perform cross-layer allocation of communication resources of the power line carrier network based on the cross-layer configuration parameters; In a specific implementation of this invention, the step of extracting cross-layer configuration parameters based on the resource allocation scheme includes: generating a physical layer configuration primitive set based on the resource allocation scheme, and generating a media access control layer scheduling configuration table based on the physical layer configuration primitive set and the resource allocation scheme; generating network layer cooperation configuration parameters based on the resource allocation scheme and the media access control layer scheduling configuration table, and determining cross-layer configuration parameters based on the physical layer configuration primitive set, the media access control layer scheduling configuration table, and the network layer cooperation configuration parameters.
[0049] Specifically, a physical layer configuration primitive set is generated based on the resource allocation scheme. The subcarrier activation pattern, number of bits per symbol, forward error correction code pattern and puncturing mode, and power back-off value of each subcarrier are determined according to the resource allocation scheme, and packaged to generate the physical layer configuration primitive set. A media access control layer scheduling configuration table is generated based on the physical layer configuration primitive set and the resource allocation scheme. The time slot boundaries and data volume allocated to each flow by the resource allocation scheme are used, combined with the physical layer configuration primitive set, to determine the start and end times of the transmission opportunity window for each node, the division of the contention-free period, and the differentiated service weights for various queues, thus forming the media access control layer scheduling configuration table.
[0050] Network layer cooperation configuration parameters are generated based on the resource allocation scheme and the media access control layer scheduling configuration table. End-to-end terminal channel markers and reserved buffer indications are extracted according to the resource allocation scheme, and then mapped to the network layer's differentiated service code point recalibration policy and active queue management threshold based on the priority subdivision of the media access control layer scheduling configuration table, thus forming the network layer cooperation configuration parameters. Cross-layer configuration parameters are determined based on the physical layer configuration primitive set, the media access control layer scheduling configuration table, and the network layer cooperation configuration parameters; that is, the cross-layer configuration parameters are composed of the physical layer configuration primitive set, the media access control layer scheduling configuration table, and the network layer cooperation configuration parameters.
[0051] Based on the cross-layer configuration parameters, cross-layer allocation of communication resources in the power line carrier network is performed. The cross-layer configuration parameters are encapsulated into a cross-layer activation management frame, which specifies a unified effective time base. This effective time base can be the next grid voltage zero crossing point. After receiving the cross-layer activation management frame, all nodes synchronously switch at the specified zero crossing point, thereby realizing cross-layer resource allocation across the entire protocol stack.
[0052] S209: During the cross-layer allocation of communication resources in a power line carrier network, real-time feedback information from the physical layer is obtained, resource allocation is compared and verified based on the real-time feedback information, comparison and verification results are obtained, and adaptive updates of resource allocation are performed based on the comparison and verification results.
[0053] In a specific implementation of this invention, the step of comparing and verifying resource allocation based on the real-time feedback information, obtaining comparison and verification results, and adaptively updating resource allocation based on the comparison and verification results includes: performing performance deviation analysis on resource allocation based on the real-time feedback information to obtain performance deviation information; performing drift trend analysis on the real-time feedback information to obtain drift trend information, and comparing and verifying resource allocation based on the performance deviation information and drift trend information to obtain comparison and verification results; generating configuration adjustment instructions based on the comparison and verification results, and adaptively updating resource allocation based on the configuration adjustment instructions.
[0054] Specifically, during the cross-layer allocation of communication resources in a power line carrier network, real-time feedback information from the physical layer is acquired. The receiving node continuously measures the instantaneous signal-to-interference-plus-noise ratio (SIR), the number of bit error blocks, and bit error events triggered by impulse noise for each active subcarrier. This data is then piggybacked through fast acknowledgment frames or data frames, forming high-temporal-resolution real-time feedback information. Based on this real-time feedback information, performance deviation analysis of resource allocation is performed to obtain performance deviation information. Expected performance parameters such as the target SIR range and maximum tolerable bit error rate for each subcarrier can be extracted from the resource allocation scheme. These parameters are then compared with the measured values in the real-time feedback information to calculate the performance deviation.
[0055] Drift trend analysis is performed based on the real-time feedback information to obtain drift trend information. A time window can be set, and the drift trend of the real-time feedback information is statistically analyzed within the time window to obtain the drift trend information. Resource allocation is compared and verified based on the performance deviation information and drift trend information to obtain the comparison and verification results. The deviation magnitude can be extracted from the performance deviation information, and the rate of deterioration of the deviation within a short time window can be read from the drift trend information. After jointly determining the two, resource blocks exceeding the tolerance band are marked with mismatch level and mismatch type, and the output is the comparison and verification result.
[0056] Based on the comparison and verification results, a configuration adjustment instruction is generated, and an adaptive update of resource allocation is performed based on the configuration adjustment instruction. The mismatch level is matched according to the comparison and verification results. The mismatch level includes slight mismatch and large-area degradation. For slight mismatch, an incremental configuration adjustment instruction to reduce the modulation order or subcarrier migration is generated. For large-area degradation, local re-sensing is triggered and an updated cross-layer configuration parameter package is generated. The incremental configuration adjustment instruction is injected in place to take effect, or the updated cross-layer configuration parameter package is distributed to each protocol layer through the cross-layer control channel to achieve adaptive update of resource allocation without interrupting services.
[0057] In this embodiment of the invention, link status awareness of communication nodes is performed on the power line carrier communication network. Based on transmission demand information and link status information, target comprehensive information is determined, breaking down the silos between independent service requirements and physical capabilities, and providing reliable and comprehensive data support for subsequent analysis. Based on the target comprehensive information, a fairness factor is used to perform cross-layer resource scheduling priority analysis; based on the resource scheduling priority information, optimization target analysis of cross-layer communication resource allocation is performed; based on the optimization target information, an approximate relaxation model is used to determine the resource allocation scheme, flexibly finding the optimal balance between efficiency and fairness, approaching the theoretical upper limit of channel capacity under complex channel conditions, and significantly improving the system's spectrum utilization and throughput. Cross-layer configuration parameters are extracted based on the resource allocation scheme, and cross-layer allocation of communication resources in the power line carrier network is performed based on these parameters. During the cross-layer allocation of communication resources in the power line carrier network, resource allocation is compared and verified based on real-time feedback information, and adaptive updates of resource allocation are performed based on the comparison and verification results. This enables immediate detection of deterioration in allocation results and timely dynamic adaptive updates of resource allocation, significantly enhancing the resilience and anti-interference capability of power line carrier communication in highly time-varying environments.
[0058] Example 3 Please see Figure 3 , Figure 3 This is a schematic diagram of the structural composition of a cross-layer resource allocation system for power line carrier communication according to an embodiment of the present invention. The system includes: Link status awareness module 31: used to perceive the link status of communication nodes in the power line carrier communication network and obtain link status information; Information integration module 32: used to acquire transmission demand information and determine target integrated information based on the transmission demand information and link status information; Priority analysis module 33: used to perform cross-layer resource scheduling priority analysis based on the target comprehensive information and fairness factors to obtain resource scheduling priority information; Allocation scheme determination module 34: is used to perform optimization target analysis on cross-layer communication resource allocation based on the resource scheduling priority information, obtain optimization target information, and determine the resource allocation scheme based on the optimization target information using an approximate relaxation model; Resource cross-layer allocation module 35: used to extract cross-layer configuration parameters based on the resource allocation scheme, and to perform cross-layer allocation of communication resources of the power line carrier network based on the cross-layer configuration parameters; Feedback update module 36: used to obtain real-time feedback information from the physical layer during the cross-layer allocation of communication resources in the power line carrier network, perform comparison and verification of resource allocation based on the real-time feedback information, obtain comparison and verification results, and perform adaptive update of resource allocation based on the comparison and verification results.
[0059] In the specific implementation of this invention, the specific implementation methods of the system items can be referred to the implementation methods of the above-mentioned method items, and will not be repeated here.
[0060] In this embodiment of the invention, link status awareness of communication nodes is performed on the power line carrier communication network. Based on transmission demand information and link status information, target comprehensive information is determined, breaking down the silos between independent service requirements and physical capabilities, and providing reliable and comprehensive data support for subsequent analysis. Based on the target comprehensive information, a fairness factor is used to perform cross-layer resource scheduling priority analysis; based on the resource scheduling priority information, optimization target analysis of cross-layer communication resource allocation is performed; based on the optimization target information, an approximate relaxation model is used to determine the resource allocation scheme, flexibly finding the optimal balance between efficiency and fairness, approaching the theoretical upper limit of channel capacity under complex channel conditions, and significantly improving the system's spectrum utilization and throughput. Cross-layer configuration parameters are extracted based on the resource allocation scheme, and cross-layer allocation of communication resources in the power line carrier network is performed based on these parameters. During the cross-layer allocation of communication resources in the power line carrier network, resource allocation is compared and verified based on real-time feedback information, and adaptive updates of resource allocation are performed based on the comparison and verification results. This enables immediate detection of deterioration in allocation results and timely dynamic adaptive updates of resource allocation, significantly enhancing the resilience and anti-interference capability of power line carrier communication in highly time-varying environments.
[0061] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0062] Furthermore, the above provides a detailed description of a cross-layer resource allocation method and system for power line carrier communication provided by the embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for cross-layer resource allocation in power line carrier communication, characterized in that, The method includes: Link status awareness of communication nodes in power line carrier communication networks is performed to obtain link status information; Obtain transmission demand information, and determine target comprehensive information based on the transmission demand information and link status information; Based on the comprehensive information of the target, a cross-layer resource scheduling priority analysis is performed using a fairness factor to obtain resource scheduling priority information; Based on the resource scheduling priority information, an optimization objective analysis is performed on the cross-layer resource allocation of communication to obtain optimization objective information, and an approximate relaxation model is used to determine the resource allocation scheme based on the optimization objective information. Based on the resource allocation scheme, cross-layer configuration parameters are extracted, and cross-layer allocation of communication resources for the power line carrier network is performed based on the cross-layer configuration parameters. In the process of cross-layer allocation of communication resources in a power line carrier network, real-time feedback information from the physical layer is obtained, resource allocation is compared and verified based on the real-time feedback information, comparison and verification results are obtained, and adaptive updates of resource allocation are performed based on the comparison and verification results.
2. The power line carrier communication cross-layer resource allocation method of claim 1, wherein, The link status awareness of communication nodes in the power line carrier communication network, and the acquisition of link status information, includes: Multi-dimensional detection of communication nodes in a power line carrier communication network is performed to obtain clean noise sampling information and detection frame set information. Based on the clean noise sampling information and the probe frame set information, a multi-dimensional feature analysis of the link is performed to obtain multi-dimensional feature information of the link. Based on the multi-dimensional feature information of the link, the link status of the communication node is perceived, and the link status information is obtained.
3. The method of claim 1, wherein, The determination of target integrated information based on the transmission demand information and link status information includes: A capacity gap vector is generated based on the transmission demand information and link status information, and a capacity gap matrix is determined based on the capacity gap vector. A bottleneck heatmap is also determined based on the capacity gap vector. Information fusion is performed based on the aforementioned capability gap matrix and bottleneck heatmap to obtain comprehensive target information.
4. The method of claim 1, wherein, The step of performing cross-layer resource scheduling priority analysis based on the target comprehensive information and fairness factors to obtain resource scheduling priority information includes: Obtain node scheduling logs, perform fairness deviation index analysis based on the node scheduling logs and target comprehensive information, obtain fairness deviation index information, and determine fairness factors based on the fairness deviation index information; Based on the comprehensive information of the target, cross-level urgency coefficient analysis is performed to obtain a list of cross-level urgency coefficients; Based on the fairness factor, the list of cross-layer urgency coefficients, and the comprehensive target information, cross-layer resource scheduling priority analysis is performed using the adjacent line interference conflict diagram to obtain resource scheduling priority information.
5. The method of claim 4, wherein, The step of performing fairness deviation index analysis based on the node scheduling logs and target comprehensive information to obtain fairness deviation index information includes: Based on the node scheduling logs, periodic service record information is extracted, and the average throughput is determined using the periodic service record information based on the exponential decay window. Effective transmission opportunities are determined using the periodic service record information based on the exponential decay window, and a fair benchmark is determined based on the average throughput and effective transmission opportunities. Based on the comprehensive information of the target, a fairness deviation index analysis is performed using the fairness benchmark to obtain fairness deviation index information.
6. The method of claim 1, wherein, The step of performing optimization objective analysis on cross-layer communication resource allocation based on the resource scheduling priority information, obtaining optimization objective information, and determining a resource allocation scheme using an approximate relaxation model based on the optimization objective information includes: Based on the resource scheduling priority information, an optimization preference coefficient is determined, and based on the optimization preference coefficient, an optimization target analysis of cross-layer communication resource allocation is performed to obtain optimization target information; Determine the preset constraints, and construct an approximate relaxation model based on the optimization objective information using the preset constraints; Based on the resource scheduling priority information, an approximate relaxation model is used to analyze the schemes and obtain several candidate schemes. Based on the optimization objective information, the effectiveness of several candidate solutions is evaluated to obtain the effectiveness evaluation results, and the resource allocation scheme is determined from all candidate solutions based on the effectiveness evaluation results.
7. The power line carrier communication cross-layer resource allocation method of claim 6, wherein, The step of constructing an approximate relaxation model based on the optimization objective information and the preset constraints includes: Based on the optimization objective information, variables are defined using the preset constraints to obtain a list of decision variables and a set of constraints. Based on the list of decision variables, the relaxation occupancy variables are determined, and based on the set of constraints, the softening constraint information is determined; Based on the relaxation occupancy variables, softening constraint information, and optimization objective information, the model is encapsulated to obtain an approximate relaxation model.
8. The method of claim 1, wherein, The extraction of cross-layer configuration parameters based on the resource allocation scheme includes: A physical layer configuration primitive set is generated based on the resource allocation scheme, and a media access control layer scheduling configuration table is generated based on the physical layer configuration primitive set and the resource allocation scheme. Network layer cooperation configuration parameters are generated based on the resource allocation scheme and the media access control layer scheduling configuration table, and cross-layer configuration parameters are determined based on the physical layer configuration primitive set, the media access control layer scheduling configuration table, and the network layer cooperation configuration parameters.
9. The method of claim 1, wherein, The comparison and verification of resource allocation based on the real-time feedback information, obtaining the comparison and verification results, and adaptively updating the resource allocation based on the comparison and verification results, includes: Based on the real-time feedback information, a performance deviation analysis of resource allocation is performed to obtain performance deviation information; Based on the real-time feedback information, drift trend analysis is performed to obtain drift trend information, and resource allocation is compared and verified based on the performance deviation information and drift trend information to obtain comparison and verification results. Based on the comparison and verification results, a configuration adjustment instruction is generated, and an adaptive update of resource allocation is performed based on the configuration adjustment instruction.
10. A power line carrier communication cross-layer resource allocation system, characterized by, The system includes: Link status awareness module: used to perceive the link status of communication nodes in the power line carrier communication network and obtain link status information; Information integration module: used to acquire transmission demand information and determine target integrated information based on the transmission demand information and link status information; Priority Analysis Module: Used to perform cross-layer resource scheduling priority analysis based on the target comprehensive information and fairness factors to obtain resource scheduling priority information; Allocation scheme determination module: used to perform optimization target analysis on cross-layer communication resource allocation based on the resource scheduling priority information, obtain optimization target information, and determine the resource allocation scheme based on the optimization target information using an approximate relaxation model; Resource cross-layer allocation module: used to extract cross-layer configuration parameters based on the resource allocation scheme, and to perform cross-layer allocation of communication resources of the power line carrier network based on the cross-layer configuration parameters; Feedback update module: used to obtain real-time feedback information from the physical layer during the cross-layer allocation of communication resources in the power line carrier network, perform comparison and verification of resource allocation based on the real-time feedback information, obtain the comparison and verification results, and perform adaptive update of resource allocation based on the comparison and verification results.