Resource allocation method and device and related equipment
By optimizing the communication mode of the power Internet of Things through a distributed potential game iterative algorithm, the problems of insufficient computational complexity and stability under centralized control are solved, and efficient resource allocation and flexible communication mode switching are achieved, thereby improving the transmission rate and reliability of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA GRIDCOM
- Filing Date
- 2025-12-16
- Publication Date
- 2026-05-08
AI Technical Summary
Existing methods for allocating communication resources in the power Internet of Things rely on centralized control, resulting in high computational complexity, large communication overhead, and insufficient stability of a single communication mode, making it difficult to meet the flexibility and reliability requirements of large-scale scenarios.
A distributed potential game iterative algorithm is adopted, and the communication mode is determined by the intelligent terminal based on its own state and the information of the aggregation terminal. This enables flexible switching between HPLC and HRF, optimizes the communication mode to maximize the total system transmission rate, and avoids dependence on the central controller.
It improves the system's transmission rate and stability, reduces computational complexity and scheduling latency, adapts to large-scale node access, and enhances the overall performance and reliability of the power Internet of Things.
Smart Images

Figure CN122001827A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and in particular relates to a resource allocation method, apparatus and related equipment. Background Technology
[0002] Existing methods for allocating communication resources in the Power Internet of Things (PIoT) largely rely on centralized control and unified scheduling. While this centralized approach can theoretically achieve global optimization, it introduces significant computational complexity and communication overhead in practical deployments. As the number of connected devices increases, the centralized approach faces challenges in terms of real-time performance and scalability, easily leading to excessively high communication resource scheduling delays, thereby impacting the overall system performance.
[0003] Furthermore, the instability of a single communication mode further restricts the application of the power Internet of Things in large-scale scenarios. For example, when sudden network interference occurs, centralized systems often cannot respond quickly; the communication needs of different nodes vary greatly, and unified scheduling cannot meet the flexibility requirements; centralized solutions rely too heavily on core control units, posing a potential single point of failure risk. Summary of the Invention
[0004] This application provides a resource allocation method, apparatus, and related equipment that can solve the problems of significant computational complexity and communication overhead, as well as the instability of a single communication mode, caused by centralized control and unified scheduling in the power Internet of Things in related technologies.
[0005] Firstly, a resource allocation method is provided, executed by a smart terminal, the method comprising: Based on the current channel conditions and historical communication performance, the initial communication mode of the smart terminal is determined, wherein the communication mode is either high-speed power line carrier communication (HPLC) mode or high-speed wireless communication (HRF) mode. Through distributed potential game iteration, based on the smart terminal's own state information and the second information from the aggregation terminal, it is determined whether to update the smart terminal's communication mode. The second information is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update its communication mode. Here, one aggregation terminal and M smart terminals form a distributed system, and in each round of potential game iteration, only one of the M smart terminals in the distributed system is selected and its communication mode is updated, where M is a positive integer. The distributed potential game iteration is repeated until the game theory algorithm of the distributed system converges to the Nash equilibrium solution, wherein, when the game theory algorithm converges to the Nash equilibrium solution, all the smart terminals in the distributed system adopt the optimal communication mode.
[0006] In the above technical solution, the intelligent terminal first determines its initial communication mode based on the current channel conditions and historical communication performance. In each iteration, the intelligent terminal determines whether it has reached the optimal communication mode based on its own state information. If the intelligent terminal has not adopted the optimal communication mode, it sends first information to the aggregation terminal. Based on the second information fed back by the aggregation terminal, it determines whether to update the intelligent terminal's communication mode. The second information includes the number of the intelligent terminal selected from those not using the optimal communication mode; this second information informs the selected intelligent terminal whether it has been selected and instructs the selected intelligent terminal to update its communication mode. In each iteration, only one intelligent terminal among the multiple intelligent terminals in the distributed system is selected and updates its communication mode. This game-theoretic iteration ultimately converges to a Nash equilibrium solution, which provides an approximate solution to the optimization objective of maximizing the total system transmission rate (i.e., the sum of information transmission rates of all intelligent terminals in the distributed system). This distributed system algorithm avoids dependence on a central controller, reducing the computational burden and scheduling delays caused by centralized optimization. Each intelligent terminal autonomously selects a communication mode between HPLC and HRF based on its own status information, thereby achieving near-optimal global performance. Furthermore, this distributed algorithm maintains low complexity even as the number of terminals increases, making it suitable for large-scale node access applications in the power IoT.
[0007] In some embodiments, determining whether to update the communication mode of the smart terminal based on the smart terminal's own state information and second information from the aggregation terminal includes: Based on the smart terminal's own state information, it is determined whether the smart terminal adopts the optimal communication mode and the switching benefit of the smart terminal is determined. The own state information includes the smart terminal's number, the smart terminal's current communication mode, and the information transmission rate of the smart terminal in each communication mode. The optimal communication mode is the communication mode that maximizes the information transmission rate of the smart terminal. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching the communication mode. If it is determined that the smart terminal is not using the optimal communication mode, a first message is sent to the aggregation terminal in the distributed system. The first message includes the smart terminal's own status information and the smart terminal's switching benefits. Receive second information from the aggregation terminal, the second information including an overall status summary, the overall status summary including the number of the selected smart terminal; Based on the second information, determine whether to update the communication mode of the smart terminal; Alternatively, if it is determined that the smart terminal adopts the optimal communication mode, the communication mode of the smart terminal may be kept unchanged.
[0008] In the above technical solution, the self-state information includes the smart terminal's ID, its current communication mode, and the information transmission rate of the smart terminal in each communication mode. This smart terminal uses a dual-modal communication architecture (HPLC communication mode and HRF communication mode), which significantly improves the overall system throughput compared to a single mode. The choice of communication mode by other smart terminals in the distributed system affects the information transmission rate of this smart terminal in each communication mode. This smart terminal adaptively selects the communication link based on the real-time environment, thereby improving the overall speed.
[0009] In some embodiments, determining whether the smart terminal adopts the optimal communication mode and determining the switching benefits of the smart terminal based on its own state information includes: Based on the smart terminal's own state information, compare the information transmission rates of the smart terminal in each communication mode; If the information transmission rate in the current communication mode is greater than the information transmission rate in the switched communication mode, then the current communication mode of the smart terminal is determined to be the optimal communication mode; or, If the information transmission rate in the current communication mode is less than or equal to the information transmission rate in the switching communication mode, it is determined that the current communication mode of the smart terminal is not the optimal communication mode, and the switching benefit of the smart terminal is determined, wherein the switching benefit is the difference between the information transmission rate in the switching communication mode and the information transmission rate in the current communication mode.
[0010] In the above technical solution, the intelligent terminal compares the information transmission rate of the intelligent terminal under various communication modes based on its own state information, and determines whether the current communication mode of the intelligent terminal is the optimal communication mode and the switching benefit of the intelligent terminal. The optimal communication mode is the communication mode that maximizes the information transmission rate of the intelligent terminal without other intelligent terminals changing their communication modes. The switching benefit is the difference between the information transmission rate corresponding to the switching communication mode and the information transmission rate of the current communication mode. The calculation of this method is mainly completed at the intelligent terminal. Under the HPLC and HRF dual-mode communication system, the dynamic allocation and adaptive optimization of resources are realized through distributed algorithms, which can not only effectively improve the transmission rate of the system, but also significantly reduce the computation and scheduling overhead, and improve the overall system reliability and flexibility. Compared with the traditional centralized method, it can achieve rapid collaborative optimization of multi-node communication resources without relying on single-point control, thereby ensuring the efficient operation of the power Internet of Things in complex environments.
[0011] In some embodiments, determining whether to update the communication mode of the smart terminal based on the second information includes: Based on the second information, determine the number of the selected smart terminal and determine whether the smart terminal is selected; If the smart terminal is selected, switch the communication mode of the smart terminal; or, If it is determined that the smart terminal is not selected, the communication mode of the smart terminal remains unchanged.
[0012] In the above technical solution, the second information can be directly ignored for smart terminals using the optimal communication mode. For smart terminals not using the optimal communication mode, if they are determined to be selected based on the second information, their communication mode can be switched directly. For smart terminals not using the optimal communication mode, if they are determined not to be selected, their communication mode can be kept unchanged. This method further reduces computational complexity, eliminates the need for centralized scheduling, and is adaptable to the large-scale, distributed communication environment of the power Internet of Things.
[0013] Secondly, a resource allocation method is provided, executed by the aggregation terminal, the method comprising: Through distributed potential game iteration, the following steps are performed: The system receives first information from N smart terminals in a distributed system. This first information includes the smart terminal's own state information and the smart terminal's switching benefit. The smart terminal's own state information includes the smart terminal's ID, its current communication mode, and the information transmission rate of the smart terminal in each communication mode. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. The distributed system includes one aggregation terminal and M smart terminals. The N smart terminals are N smart terminals that are not using the optimal communication mode, where N is a natural number and M is a natural number greater than N. Based on the first information, determine the second information; The second information is sent to all intelligent terminals in the distributed system. The second information is used to inform whether the intelligent terminal is selected and to instruct the selected intelligent terminal to update the communication mode. In each round of the potential game iteration, only one of the M intelligent terminals in the distributed system is selected and updates the communication mode. The potential game iteration is repeated until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from the N smart terminals. All the smart terminals in the distributed system use the optimal communication mode.
[0014] In some embodiments, determining the second information based on the first information includes: Based on the first information of the N smart terminals, determine the number of the selected smart terminal; The second information is generated based on the ID of the selected smart terminal; The step of determining the number of the selected smart terminal based on the first information of the N smart terminals includes one of the following: Based on the first information, determine the switching benefits of the N smart terminals, and select the number corresponding to the smart terminal with the largest switching benefit as the number of the selected smart terminal. Based on the first information, the numbers of the N smart terminals are determined, and the number of one smart terminal is randomly selected as the number of the selected smart terminal.
[0015] In the above technical solution, the aggregation terminal determines the second information based on the first information sent by the smart terminals that have not adopted the optimal communication mode. The aggregation terminal can randomly select one from the numbers of the smart terminals that have not adopted the optimal communication mode, or it can select the number corresponding to the smart terminal with the highest switching benefit based on the switching benefit of the smart terminal that has not adopted the optimal communication mode. The second information broadcast by the aggregation terminal to all smart terminals includes exactly one selected smart terminal number, ensuring that in each iteration, exactly one smart terminal in the distributed system is selected and its communication mode is updated. Furthermore, since each game iteration is a potential game process, based on the finite improvement characteristic of potential games, by updating the communication mode of only one smart terminal in each iteration, the game theory algorithm of this distributed system can converge to a Nash equilibrium solution.
[0016] Thirdly, a resource allocation device is provided, comprising: The first processing module is used to determine the initial communication mode of the smart terminal based on the current channel conditions and historical communication performance. The communication mode is either high-speed power line carrier communication (HPLC) mode or high-speed wireless communication (HRF) mode. The first processing module is further configured to determine whether to update the communication mode of the smart terminal based on the smart terminal's own state information and the second information from the aggregation terminal through distributed potential game iteration. The second information is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update the communication mode. Here, one aggregation terminal and M smart terminals form a distributed system, and in each round of potential game iteration, only one of the M smart terminals in the distributed system is selected and its communication mode is updated. M is a positive integer. The first processing module is further configured to repeatedly execute the distributed potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution, wherein, when the game theory algorithm converges to the Nash equilibrium solution, all the smart terminals in the distributed system adopt the optimal communication mode.
[0017] Fourthly, a resource allocation device is provided, comprising: The second processing module is used to perform the following steps through distributed potential game iteration: The system receives first information from N smart terminals in a distributed system. This first information includes the smart terminal's own state information and the smart terminal's switching benefit. The smart terminal's own state information includes the smart terminal's ID, its current communication mode, and the information transmission rate of the smart terminal in each communication mode. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. The distributed system includes one aggregation terminal and M smart terminals. The N smart terminals are N smart terminals that are not using the optimal communication mode, where N is a natural number and M is a natural number greater than N. Based on the first information, determine the second information; The second information is sent to all intelligent terminals in the distributed system. The second information is used to inform whether the intelligent terminal is selected and to instruct the selected intelligent terminal to update the communication mode. In each round of the potential game iteration, only one of the M intelligent terminals in the distributed system is selected and updates the communication mode. The second processing module is further configured to repeatedly execute the potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. In the case that the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from the N smart terminals. In the case that all the smart terminals in the distributed system adopt the optimal communication mode.
[0018] Fifthly, a resource allocation apparatus is provided, the apparatus being configured to perform the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0019] In a sixth aspect, a communication device is provided, the communication device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the first aspect, or implementing the steps of the method as described in the second aspect.
[0020] In a seventh aspect, a smart terminal is provided, the smart terminal including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the first aspect.
[0021] Eighthly, a convergence terminal is provided, the convergence terminal including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the second aspect.
[0022] A ninth aspect provides a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0023] In a tenth aspect, a resource allocation system is provided, comprising: a smart terminal and a convergence terminal, wherein the smart terminal can be used to perform the steps of the method described in the first aspect, and the convergence terminal can be used to perform the steps of the method described in the second aspect.
[0024] Eleventhly, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0025] In a twelfth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the resource allocation method as described in the first aspect, or to implement the steps of the resource allocation method as described in the second aspect. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is one of the flowcharts illustrating the resource allocation method provided in the embodiments of this application; Figure 2 This is a schematic diagram of the structure of a distributed system provided in an embodiment of this application; Figure 3 This is a second flowchart illustrating the resource allocation method provided in the embodiments of this application; Figure 4 This is one of the structural schematic diagrams of the resource allocation device provided in the embodiments of this application; Figure 5 This is a second schematic diagram of the structure of the resource allocation device provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application. Detailed Implementation
[0028] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0029] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0030] With the continuous evolution of power systems, intelligence and digitalization have become their core development directions. Under this trend, the Power Internet of Things (PIoT) has gradually evolved into an important support platform for ensuring grid security, improving operational efficiency, and achieving refined management and control. This system deeply couples communication networks with power infrastructure, enabling the real-time sensing and collection of the operating status of power equipment, thereby providing a reliable data source for application scenarios such as equipment health diagnosis, load forecasting, fault detection, and energy efficiency management.
[0031] In the overall architecture of the power Internet of Things (IoT), the communication system plays a crucial role. Because the system contains a large number of sensing nodes and terminal devices (such as sensors, smart meters, and edge nodes), these devices need to frequently report and interact with data. Therefore, the communication links carrying information transmission must meet requirements such as high reliability, low latency, and good scalability.
[0032] However, existing single communication modes struggle to meet diverse needs in complex and ever-changing application environments. Power line communication (PLC), for example, utilizes existing power lines for data transmission, offering advantages such as low deployment costs and wide coverage. However, communication quality is often compromised in situations with severe noise interference or complex power grid topologies. In contrast, wireless communication methods (such as 5G, NB-IoT, and LoRa) excel in flexibility and wide-area coverage, but may experience bandwidth limitations and signal fading in high-concurrency or complex electromagnetic environments.
[0033] To overcome the aforementioned limitations, dual-mode communication technology, which has gradually emerged in recent years, has become a research hotspot. This technology integrates high-speed power line communication (HPLC) with high-speed radio frequency (HRF) communication, constructing a transmission mechanism that can flexibly switch according to environmental conditions. When the power line link is interfered with and its performance degrades, the system can switch to wireless communication; conversely, when the wireless signal quality is poor, stable transmission is achieved through the power line. This mechanism effectively improves the continuity and robustness of the communication system, providing a solid guarantee for the reliable operation of the power Internet of Things in complex scenarios.
[0034] Existing power Internet of Things (IoT) communication resource allocation methods mostly rely on centralized control and unified scheduling. While this centralized approach can theoretically achieve global optimization, it introduces significant computational complexity and communication overhead in practical deployments. As the number of connected devices increases, the centralized approach faces challenges in terms of real-time performance and scalability, easily leading to excessively high communication resource scheduling delays, thereby affecting the overall system performance.
[0035] Furthermore, the instability of a single communication mode further restricts the application of the power Internet of Things in large-scale scenarios. For example, when sudden network interference occurs, centralized systems often cannot respond quickly; the communication needs of different nodes vary greatly, and unified scheduling cannot meet the flexibility requirements; centralized solutions rely too heavily on core control units, posing a potential single point of failure risk.
[0036] To address the significant computational complexity, communication overhead, and instability of a single communication mode in the aforementioned centralized approach to power IoT communication resource allocation methods, this application proposes a resource allocation method.
[0037] The resource allocation method, apparatus, and related equipment provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0038] Figure 1 This is one of the flowcharts illustrating the resource allocation method provided in the embodiments of this application. For example... Figure 1 As shown, this resource allocation method, applied to a smart terminal, includes steps 100, 101, and 102: Step 100: Based on the current channel conditions and historical communication performance, determine the initial communication mode of the smart terminal. The communication mode is either high-speed power line carrier communication (HPLC) or high-speed wireless communication (HRF).
[0039] Figure 2 This is a schematic diagram of the structure of a distributed system provided in an embodiment of this application. In this resource allocation method, a power Internet of Things (IoT) distributed system is established to execute the resource allocation method, and each smart terminal in this system is considered an independent participant in the game. Figure 2 As shown, the distributed system includes a convergence terminal and multiple intelligent terminals, where each intelligent terminal can select either HPLC communication mode or HRF communication mode as the communication mode used.
[0040] Current channel conditions refer to the current channel state information of the transmission channel between the smart terminal and the aggregation terminal. Historical communication performance refers to the historical communication performance between the smart terminal and the aggregation terminal. The communication mode is either HPLC communication mode or HRF communication mode. For example, each smart terminal selects either HPLC communication mode or HRF communication mode as its initial communication mode based on the signal-to-noise ratio between it and the aggregation terminal and the bit error rate of the previous communication with the aggregation terminal. The initial communication mode is the initial communication mode adopted by the smart terminal before subsequent game iterations.
[0041] Step 101: Through distributed potential game iteration, based on the smart terminal's own state information and the second information from the aggregation terminal, determine whether to update the smart terminal's communication mode. The second information is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update its communication mode. Here, one aggregation terminal and M smart terminals form a distributed system, and in each round of potential game iteration, only one of the M smart terminals in the distributed system is selected and its communication mode is updated, where M is a positive integer.
[0042] Based on its own state information within the communication environment, a smart terminal can pre-assess its own benefits under various communication transmission modes and determine whether to adopt the optimal communication mode. The optimization objective of this resource allocation method is to maximize the total system transmission rate. This benefit is illustrated by the information transmission rate of the smart terminal under various communication modes; the information transmission rate of the smart terminal under different communication modes represents its benefit under those modes.
[0043] A smart terminal can choose the optimal communication mode based on its gains, and the chosen communication mode will maximize its gains. However, changes in the communication modes of other smart terminals in the distributed system may affect the gains of that smart terminal, making this process a game.
[0044] Each smart terminal repeatedly executes this game iteration. In each iteration, the smart terminal, based on whether it has adopted the optimal communication mode, sends a first message to the aggregation terminal if it has not adopted the optimal communication mode. Furthermore, based on the second message returned by the aggregation terminal, it determines whether to update the smart terminal's communication mode. The second message is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update its communication mode.
[0045] In each iteration, one of the multiple smart terminals is selected. It should be noted that since the communication network environment remains essentially unchanged over a short period of time, and since other smart terminals besides the selected smart terminal do not update their communication transmission modes in each iteration, the selected smart terminal can be certain that the communication transmission modes of the other smart terminals remain unchanged.
[0046] In a distributed system, all intelligent terminals can obtain the second information and determine whether a terminal is selected based on this information. The selected terminal can ensure that the communication transmission modes of other intelligent terminals in the distributed system remain unchanged and update its communication mode based on the benefits of different communication modes. For example, the selected terminal updates its communication mode to the mode corresponding to the highest information transmission rate under different communication modes, based on its information transmission rate under those modes.
[0047] Correspondingly, the aggregation terminal performs the following steps through distributed potential game iteration: Receive the first information from N smart terminals in the distributed system. N smart terminals are N smart terminals that do not use the optimal communication mode, and N is a natural number. Based on the first piece of information, determine the second piece of information; Send the second message to all smart terminals in the distributed system.
[0048] The optimal communication mode is the one that maximizes the benefits to the smart terminal without requiring other smart terminals to change their communication modes. Alternatively, the optimal communication mode is the one that maximizes the information transmission rate of the smart terminal without requiring other smart terminals to change their communication modes.
[0049] The first information is sent to the aggregation terminal by smart terminals that are not using the optimal communication mode. After receiving the first information from N (or more) smart terminals, the aggregation terminal selects one smart terminal from among the N smart terminals that sent the first information, and determines the second information. The aggregation terminal broadcasts the second information to all smart terminals in the distributed system, ensuring that the second information is accessible to all smart terminals in the distributed system.
[0050] Since the selected smart terminal is not using the optimal communication mode, the selected smart terminal can directly switch the communication mode, that is, update the communication mode to the communication mode corresponding to the maximum information transmission rate.
[0051] Step 102: Repeat the distributed potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, all intelligent terminals in the distributed system adopt the optimal communication mode.
[0052] Given that the payoff is the information transmission rate of the smart terminal under each communication mode, this game iteration has a potential function and is a potential game iteration. Since in this embodiment, it is guaranteed that only one smart terminal is selected and updates its communication mode in each round of game iteration in the distributed system, based on the finite improvement characteristics of potential games, the game theory algorithm for this distributed system can converge to a Nash equilibrium solution.
[0053] A Nash equilibrium is a state in a distributed system where all participants (smart terminals) have adopted the optimal communication mode for each other. In a distributed system, if the game theory algorithm converges to a Nash equilibrium, no single smart terminal will individually change its communication mode without affecting other smart terminals. Through multiple iterations of potential game theory, the distributed system eventually achieves the optimal communication mode for all smart terminals, meaning the game theory algorithm converges to a Nash equilibrium.
[0054] In this game, the optimization objective is to maximize the total system transmission rate, which is the sum of the information transmission rates of all intelligent terminals in the distributed system. The Nash equilibrium solution is used to achieve an approximate solution to the optimization objective.
[0055] Optionally, the termination condition of the game iteration can also be that the change in the total transmission rate of the distributed system in multiple consecutive iterations is less than or equal to a preset threshold, where the preset threshold is a non-negative number.
[0056] Correspondingly, the aggregation terminal repeatedly executes the potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from N smart terminals. In this case, all smart terminals in the distributed system adopt the optimal communication mode.
[0057] Understandably, when all intelligent terminals in a distributed system employ the optimal communication mode, none of the intelligent terminals will send the first message to the aggregation terminal. The aggregation terminal will be unable to receive the first message from any intelligent terminal, the game iteration will end, and at this point, the game theory algorithm for the distributed system will converge to the Nash equilibrium solution.
[0058] In this embodiment, the smart terminal first determines its initial communication mode based on current channel conditions and historical communication performance. In each iteration, the smart terminal determines whether it has reached the optimal communication mode based on its own state information. If the smart terminal has not adopted the optimal communication mode, it sends first information to the aggregation terminal. Furthermore, based on the second information fed back by the aggregation terminal, it determines whether to update the smart terminal's communication mode. The second information includes the ID of a smart terminal selected from among those not using the optimal communication mode; this second information informs the smart terminal whether it has been selected and instructs the selected smart terminal to update its communication mode. In each iteration, only one smart terminal among the multiple smart terminals in the distributed system is selected and updates its communication mode. This game-theoretic iteration ultimately converges to a Nash equilibrium solution, which provides an approximate solution to the optimization objective of maximizing the total system transmission rate (i.e., the sum of information transmission rates of all smart terminals in the distributed system). This distributed system algorithm avoids dependence on a central controller, reducing the computational burden and scheduling delays associated with centralized optimization. Each intelligent terminal autonomously selects a communication mode between HPLC and HRF based on its own status information, thereby achieving near-optimal global performance. Furthermore, this distributed algorithm maintains low complexity even as the number of terminals increases, making it suitable for large-scale node access applications in the power IoT.
[0059] In some embodiments, determining whether to update the communication mode of the smart terminal based on the smart terminal's own state information and second information from the aggregation terminal includes: Based on the smart terminal's own state information, determine whether the smart terminal adopts the optimal communication mode and determine the smart terminal's switching benefit. The self-state information includes the smart terminal's number, the smart terminal's current communication mode, and the information transmission rate of the smart terminal in each communication mode. The optimal communication mode is the communication mode that maximizes the information transmission rate of the smart terminal. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. If it is determined that the smart terminal is not using the optimal communication mode, the first information is sent to the aggregation terminal in the distributed system. The first information includes the smart terminal's own status information and the smart terminal's switching benefits. Receive second information from the aggregation terminal, the second information including an overall status summary, the overall status summary including the number of the selected smart terminal; Based on the second piece of information, determine whether to update the communication mode of the smart terminal; Alternatively, if the optimal communication mode for the smart terminal is determined, the communication mode of the smart terminal can be kept unchanged.
[0060] Based on its own status information, the smart terminal can pre-assess its own benefits under various communication transmission modes and determine whether the smart terminal should adopt the optimal communication mode and switch benefits.
[0061] The smart terminal's own status information includes its ID, current communication mode, and information transmission rate under each communication mode. The current communication mode is the mode used by the smart terminal in the current iteration; this mode can be either HPLC or HRF communication. This current communication mode is updated in each iteration based on the second piece of information. The smart terminal can determine the information transmission rate under each communication mode based on its current communication environment. This parameter changes with the actual communication environment, which is influenced by the communication mode selections of other smart terminals.
[0062] The bandwidths of intelligent terminals in a distributed system using HPLC communication mode and HRF communication mode are respectively... and Furthermore, all smart terminals use OFDM technology for transmission. Based on the technical characteristics of OFDM, the information transmission rate of smart terminal n in each communication mode can be determined, where n is the number of the smart terminal: The information transmission rate of the intelligent terminal n using HPLC communication mode is [missing information]. ; The information transmission rate of the smart terminal n using HRF communication mode is [missing information]. .
[0063] in, and For predetermined values, the total number of smart terminals using HPLC communication mode and HRF communication mode for transmission in the distributed system are respectively... and This parameter N changes depending on the communication mode of other smart terminals in the distributed system. Each smart terminal uses different communication modes, resulting in different signal-to-noise ratios for the same channel.
[0064] According to the above formula, when the payoff is the information transmission rate of the smart terminal in each communication mode, this iteration is a game iteration, and the information transmission rate obtained in each communication mode will be affected by the communication mode of other smart terminals.
[0065] This application does not limit the acquisition of information transmission rate. The information transmission rate of the smart terminal in each communication mode can be estimated by obtaining information from other smart terminals through the aforementioned formula, or obtained by actual measurement.
[0066] Optionally, the information transmission rate of the smart terminal in each communication mode is obtained by actual measurement of the smart terminal and the aggregation terminal in different communication modes.
[0067] Based on the smart terminal's own state information, its information transmission rate under various communication modes can be pre-assessed to determine whether the smart terminal has adopted the optimal communication mode and to determine the switching benefits. That is, based on the measured information transmission rate of the smart terminal under various communication modes, it can be determined whether the current communication mode of the smart terminal has reached the optimal communication mode. The optimal communication mode is the communication mode that maximizes the information transmission rate of the smart terminal without other smart terminals changing their communication modes. Furthermore, based on the information transmission rate of the smart terminal under various communication modes, the switching benefits of the smart terminal can also be determined; the switching benefits are the additional information transmission rate increment brought about by the smart terminal switching communication modes.
[0068] If it is determined that the smart terminal is not using the optimal communication mode, the smart terminal needs to send first information to the aggregation terminal in the distributed system. This first information includes the smart terminal's own state information and the smart terminal's switching gain. If it is determined that the smart terminal is using the optimal communication mode, the smart terminal does not send the first information to the aggregation terminal in the distributed system. In the above cases, it is ensured that only smart terminals that are not using the optimal communication mode send the first information to the aggregation terminal. This process is also one of the ways to implement the termination condition of the game iteration (all smart terminals in the distributed system use the optimal communication mode), that is, by preventing smart terminals using the optimal communication mode from sending the first information to the aggregation terminal, the game iteration terminates.
[0069] All smart terminals in the distributed system can receive second information from the aggregation terminal. The second information includes an overall state summary, which includes the number of the selected smart terminal.
[0070] If it is determined that the smart terminal is not using the optimal communication mode, the smart terminal determines whether to update its communication mode based on the obtained second information; if it is determined that the smart terminal is using the optimal communication mode, the smart terminal may choose to ignore the second information and keep its communication mode unchanged.
[0071] In this embodiment, the self-state information includes the smart terminal's ID, the smart terminal's current communication mode, and the information transmission rate of the smart terminal in each communication mode. This smart terminal uses a dual-modal communication architecture (HPLC communication mode and HRF communication mode) combined with OFDM transmission, significantly improving the overall system throughput compared to a single mode. The choice of communication mode by other smart terminals in the distributed system affects the information transmission rate of this smart terminal in each communication mode. This smart terminal adaptively selects the communication link based on the real-time environment, thereby improving the overall speed.
[0072] Optionally, based on the smart terminal's own state information, it is determined whether the smart terminal adopts the optimal communication mode and the switching benefits of the smart terminal are determined, including: Based on the smart terminal's own status information, compare the information transmission rates of the smart terminal under various communication modes. If the information transmission rate in the current communication mode is greater than the information transmission rate in the switched communication mode, then the current communication mode of the smart terminal is determined to be the optimal communication mode; or, If the information transmission rate in the current communication mode is less than or equal to the information transmission rate in the switching communication mode, it is determined that the current communication mode of the smart terminal is not the optimal communication mode, and the switching benefit of the smart terminal is determined, wherein the switching benefit is the difference between the information transmission rate in the switching communication mode and the information transmission rate in the current communication mode.
[0073] Based on the smart terminal's own status information, its information transmission rate under various communication modes can be measured and compared. Based on the comparison, it can be determined whether the smart terminal's current communication mode is the optimal mode, and the switching benefits of the smart terminal can be determined.
[0074] Assume that the optimal communication mode for the intelligent terminal n is the HPLC communication mode, meaning that the information transmission rate of the intelligent terminal n in the HPLC communication mode is greater than the information transmission rate in the HRF communication mode.
[0075] The information transmission rate of the intelligent terminal n in HPLC communication mode is greater than that in HRF communication mode, which can be expressed by the following formula:
[0076] By transforming the above formula, we can obtain:
[0077] make
[0078] Understandably, in Under certain conditions, the optimal communication mode for intelligent terminal n is the HPLC communication mode; otherwise, the optimal communication mode for intelligent terminal n is the HRF communication mode. In each game iteration, whether an intelligent terminal uses the optimal communication mode is influenced by the communication modes chosen by other intelligent terminals.
[0079] If a smart terminal determines that it has not reached the optimal communication mode, that is, the current communication mode of the smart terminal is not the optimal communication mode, the switching benefit of the smart terminal is the difference between the information transmission rate corresponding to the optimal communication mode (switching communication mode) and the information transmission rate of the current communication mode.
[0080] In this embodiment, the smart terminal compares the information transmission rates of the smart terminal under various communication modes based on its own state information, and determines whether the current communication mode of the smart terminal is the optimal communication mode and the switching benefit of the smart terminal. The optimal communication mode is the communication mode that maximizes the information transmission rate of the smart terminal without other smart terminals changing their communication modes. The switching benefit is the difference between the information transmission rate corresponding to the switched communication mode and the information transmission rate of the current communication mode. The calculation of this method is mainly completed at the smart terminal. Under the HPLC and HRF dual-mode communication system, dynamic allocation and adaptive optimization of resources are achieved through distributed algorithms, which can not only effectively improve the transmission rate of the system, but also significantly reduce the computation and scheduling overhead, and improve the overall system reliability and flexibility. Compared with the traditional centralized method, it can achieve rapid collaborative optimization of multi-node communication resources without relying on single-point control, thereby ensuring the efficient operation of the power Internet of Things in complex environments.
[0081] Assuming the number of smart terminals in the distributed system is N, the optimization objective of this game iteration is to maximize the total system transmission rate, i.e. In this game iteration, an approximate solution to the optimization objective is achieved through the Nash equilibrium solution.
[0082] Furthermore, it can be proven that this game iteration has a potential function, and is a potential game process. Based on the finite improvement property of potential games, in each iteration, the game theory algorithm of this distributed system can converge to the Nash equilibrium solution, that is, the distributed system can eventually reach a state where each intelligent terminal has determined that it has adopted the optimal communication mode. The proof is as follows: The first function of this game iteration is: Where I is a logical function, if it satisfies If I is true, then I equals 1; otherwise, I equals 0. In the case where the smart terminal n uses HRF communication mode, When the intelligent terminal n adopts HPLC communication mode, it cannot meet the requirements. .
[0083] Assuming the optimal communication mode for smart terminal n is HPLC communication mode, and that the smart terminal switches from HRF communication mode to HPLC communication mode, i.e., the information transmission rate of smart terminal n increases. Further, the difference in the first function (the difference between the potential function of smart terminal n selecting HPLC communication mode and the first function selecting HRF communication mode) is:
[0084] Assuming the optimal communication mode for smart terminal n is HRF communication mode, and that the smart terminal switches from HPLC communication mode to HRF communication mode, i.e., the information transmission rate of smart terminal n increases. Further, the difference in the first function (the difference between the potential function of smart terminal n selecting HRF communication mode and the first function selecting HPLC communication mode) is:
[0085] In summary, if the revenue (information transmission rate) of any smart terminal increases and the first function also increases accordingly, then the game iteration satisfies a potential game. There exists a potential function in this game iteration, namely the first function. Furthermore, this game is also a potential game, and the game theory algorithm of this distributed system can converge to the Nash equilibrium solution.
[0086] Optionally, based on the second information, it is determined whether to update the communication mode of the smart terminal, including: Based on the second information, determine the number of the selected smart terminal and whether the smart terminal has been selected; If the smart terminal is selected, switch the communication mode of the smart terminal; or, If it is determined that the smart terminal is not selected, keep the communication mode of the smart terminal unchanged.
[0087] In the distributed system, all intelligent terminals receive the second information and can determine whether a terminal is selected based on this information. The selected terminal chooses its communication mode based on the optimal information transmission rate under each communication mode. Since the selected terminal in the second information is one that is not using the optimal communication mode, the second information can be ignored for terminals using the optimal mode. If a terminal not using the optimal communication mode is selected, its communication mode can be switched directly. This switching involves changing the communication mode from HPLC to HRF, or vice versa. If a terminal not using the optimal communication mode is not selected, its communication mode remains unchanged.
[0088] This application provides a complete embodiment, as shown below: (1) Initialization phase Each smart terminal in the system is considered an independent participant in the game.
[0089] Each smart terminal selects either HPLC communication mode or HRF communication mode as its initial communication mode based on the current channel conditions and historical communication performance.
[0090] Entering iterative game optimization, in each iteration, the following steps are performed: (2) Information interaction The smart terminal that does not use the optimal communication mode reports the first information to the aggregation terminal. The first information includes its own status information and switching benefits. The self-status information includes the number, the current communication mode, and the information transmission rate in each communication mode.
[0091] After the aggregation terminal collects the first information of the smart terminal that is not using the optimal communication mode, it broadcasts a summary of the overall state of the distributed system to all participating terminals. This summary is used to select a smart terminal among those smart terminals that are not using the optimal communication mode and instruct that smart terminal to update its communication mode.
[0092] (3) Strategy update Since switching communication modes can bring higher utility (such as higher information transmission rate or lower interference) to the selected smart terminal, the selected smart terminal updates its own communication mode.
[0093] (4) Iterative game The remaining smart terminals maintain their original communication modes, and the distributed system enters the next iteration. As multiple rounds of game iterations proceed, the communication modes of the smart terminals gradually stabilize.
[0094] (5) Convergence judgment When all smart terminals reach their optimal communication modes, the algorithm converges to a Nash equilibrium solution. At this point, the system's total transmission rate reaches an approximately optimal value, and resource allocation among smart terminals tends to stabilize.
[0095] In this embodiment, the second information can be ignored for smart terminals using the optimal communication mode. For smart terminals not using the optimal communication mode, if they are determined to be selected based on the second information, their communication mode can be switched directly. For smart terminals not using the optimal communication mode, if they are determined not to be selected, their communication mode can be kept unchanged. This method further reduces computational complexity, eliminates the need for centralized scheduling, and is adaptable to the large-scale, distributed communication environment of the power Internet of Things.
[0096] Figure 3 This is the second flowchart illustrating the resource allocation method provided in the embodiments of this application.
[0097] like Figure 3 As shown, the resource allocation method includes steps 301 and 302.
[0098] Step 300: Through distributed potential game iteration, perform the following steps: The system receives first information from N smart terminals in a distributed system. The first information includes the smart terminal's own state information and the smart terminal's switching benefit. The smart terminal's own state information includes the smart terminal's ID, the smart terminal's current communication mode, and the information transmission rate of the smart terminal in each communication mode. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. The distributed system includes one aggregation terminal and M smart terminals. The N smart terminals are N smart terminals that have not adopted the optimal communication mode. N is a natural number, and M is a natural number greater than N. Based on the first piece of information, determine the second piece of information; Send a second message to all smart terminals in the distributed system. The second message is used to inform whether the smart terminal has been selected and to instruct the selected smart terminal to update the communication mode. In each round of the potential game iteration, only one smart terminal among the M smart terminals in the distributed system is selected and updates the communication mode. Step 301: Repeat the potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from N smart terminals. All smart terminals in the distributed system adopt the optimal communication mode.
[0099] The execution subject of this application embodiment is the aggregation terminal. The behavior of the aggregation terminal corresponds to the behavior of the smart terminal mentioned above. For an understanding of this application embodiment, please refer to the relevant description of the smart terminal side resource allocation method embodiment, which can achieve the same technical effect, and will not be repeated here.
[0100] In some embodiments, determining the second information based on the first information includes: Based on the first information of N smart terminals, determine the number of the selected smart terminal; Generate second information based on the ID of the selected smart terminal; Based on the first information of N smart terminals, determine the number of the selected smart terminal, which includes one of the following: Based on the first information, determine the switching benefits of N smart terminals, and select the number corresponding to the smart terminal with the largest switching benefit as the selected smart terminal number. Based on the first information, determine the numbers of N smart terminals, and randomly select one smart terminal number as the selected smart terminal number.
[0101] Based on the first information, which includes the IDs of the N smart terminals, the information transmission rates of the N smart terminals in each communication mode, and the handover benefits of the N smart terminals, the aggregation terminal can determine the IDs of the N smart terminals and the handover benefits of the N smart terminals. Further, based on the IDs of the N smart terminals and the handover benefits of the N smart terminals, the aggregation terminal selects the ID corresponding to the smart terminal with the highest handover benefit as the selected smart terminal ID, or randomly selects the ID of a smart terminal from the N smart terminals.
[0102] In this embodiment, the aggregation terminal determines the second information based on the first information sent by the smart terminals that are not using the optimal communication mode. The aggregation terminal can randomly select one from the numbers of the smart terminals that are not using the optimal communication mode, or it can select the number corresponding to the smart terminal with the largest switching benefit based on the switching benefit of the smart terminal that is not using the optimal communication mode. The second information broadcast by the aggregation terminal to all smart terminals includes exactly one selected smart terminal number, ensuring that in each iteration, exactly one smart terminal in the distributed system is selected and its communication mode is updated. Furthermore, since each game iteration is a potential game process, based on the finite improvement characteristic of potential games, by updating the communication mode of only one smart terminal in each iteration, the game theory algorithm of this distributed system can converge to a Nash equilibrium solution.
[0103] The resource allocation method provided in this application can be executed by a resource allocation device. This application uses the example of a resource allocation device executing the resource allocation method to illustrate the resource allocation device provided in this application.
[0104] Figure 4 This is one of the structural schematic diagrams of the resource allocation device provided in the embodiments of this application. For example... Figure 4 As shown, the resource allocation device 400 includes a first processing module 401. The resource allocation device 400 is a smart terminal or a component within a smart terminal.
[0105] The first processing module 401 is used to determine the initial communication mode of the smart terminal based on the current channel conditions and historical communication performance. The communication mode is either high-speed power line carrier communication (HPLC) or high-speed wireless communication (HRF). The first processing module 401 is further configured to determine whether to update the communication mode of the smart terminal based on the smart terminal's own state information and the second information from the aggregation terminal through distributed potential game iteration. The second information is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update the communication mode. Here, one aggregation terminal and M smart terminals form a distributed system, and in each round of potential game iteration, only one of the M smart terminals in the distributed system is selected and the communication mode is updated, where M is a positive integer. The first processing module 401 is also used to repeatedly execute the distributed potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, all intelligent terminals in the distributed system adopt the optimal communication mode.
[0106] The resource allocation device provided in this application embodiment can achieve... Figure 1 The resource allocation method described in the embodiments includes at least one step and at least one of the embodiments, and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0107] Figure 5 This is a second schematic diagram of the resource allocation device provided in the embodiments of this application. For example... Figure 5 As shown, the resource allocation device 500 includes a second processing module 501. The resource allocation device 500 is a convergence terminal or a component within a convergence terminal.
[0108] The second processing module 501 is used to execute the following steps through distributed potential game iteration: The system receives first information from N smart terminals in a distributed system. The first information includes the smart terminal's own state information and the smart terminal's switching benefit. The smart terminal's own state information includes the smart terminal's ID, the smart terminal's current communication mode, and the information transmission rate of the smart terminal in each communication mode. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. The distributed system includes one aggregation terminal and M smart terminals. The N smart terminals are N smart terminals that have not adopted the optimal communication mode. N is a natural number, and M is a natural number greater than N. Based on the first piece of information, determine the second piece of information; Send a second message to all smart terminals in the distributed system. The second message is used to inform whether the smart terminal has been selected and to instruct the selected smart terminal to update the communication mode. In each round of the potential game iteration, only one smart terminal among the M smart terminals in the distributed system is selected and updates the communication mode. The second processing module 501 is also used to repeatedly execute the potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from N smart terminals. All smart terminals in the distributed system adopt the optimal communication mode.
[0109] The resource allocation device provided in this application embodiment can achieve... Figure 3 The resource allocation method described in the embodiments includes at least one step and at least one of the embodiments, and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0110] Figure 6 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application. Figure 6 As shown, this application embodiment also provides a communication device 600, including a processor 601 and a memory 602. The memory 602 stores programs or instructions that can run on the processor 601. For example, when the communication device 600 is a smart terminal, the program or instructions executed by the processor 601 implement the various steps of the resource allocation method embodiment on the smart terminal side described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here. For example, when the communication device 600 is a convergence terminal, the program or instructions executed by the processor 601 implement the various steps of the resource allocation method embodiment on the convergence terminal side described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0111] In some embodiments, the communication device 600 may further include a transceiver, and the processor 601 may control the transceiver to communicate with other devices. Specifically, it may send information or data to other devices or receive information or data sent by other devices.
[0112] The transceiver may include a transmitter and a receiver. The transceiver may further include antennas, which may be one or more.
[0113] This application embodiment also provides a smart terminal, including a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement, for example... Figure 1 The corresponding steps in the method embodiment shown are illustrated. This smart terminal embodiment corresponds to the above-described smart terminal-side method embodiment. All implementation processes and methods of the above-described method embodiments can be applied to this smart terminal embodiment and achieve the same technical effect. The smart terminal can be... Figure 4 The resource allocation device shown.
[0114] This application embodiment also provides a convergence terminal, including a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement, for example... Figure 3 The corresponding steps in the method embodiment shown are illustrated. This aggregation terminal embodiment corresponds to the above-described aggregation terminal-side method embodiment. All implementation processes and methods of the above-described method embodiments can be applied to this aggregation terminal embodiment and achieve the same technical effect. The aggregation terminal can be... Figure 5 The resource allocation device shown.
[0115] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described resource allocation method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0116] The processor is either the processor in the smart terminal or the processor in the convergence terminal described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.
[0117] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above resource allocation method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0118] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0119] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described resource allocation method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0120] This application also provides a resource allocation system, including a smart terminal and a convergence terminal. The smart terminal can be used to execute the steps of the above-described resource allocation method, and the convergence terminal can also be used to execute the steps of the above-described resource allocation method. The communication system implements each process of the above-described resource allocation method embodiments and can achieve the same technical effect; therefore, to avoid repetition, it will not be described again here.
[0121] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0122] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0123] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0124] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0125] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A resource allocation method, characterized in that, Applied to smart terminals, including: Based on the current channel conditions and historical communication performance, the initial communication mode of the smart terminal is determined, wherein the communication mode is either high-speed power line carrier communication (HPLC) mode or high-speed wireless communication (HRF) mode. Through distributed potential game iteration, based on the smart terminal's own state information and the second information from the aggregation terminal, it is determined whether to update the smart terminal's communication mode. The second information is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update its communication mode. Here, one aggregation terminal and M smart terminals form a distributed system, and in each round of potential game iteration, only one of the M smart terminals in the distributed system is selected and its communication mode is updated, where M is a positive integer. The distributed potential game iteration is repeated until the game theory algorithm of the distributed system converges to the Nash equilibrium solution, wherein, when the game theory algorithm converges to the Nash equilibrium solution, all the smart terminals in the distributed system adopt the optimal communication mode.
2. The method according to claim 1, characterized in that, The step of determining whether to update the communication mode of the smart terminal based on its own state information and the second information from the aggregation terminal includes: Based on the smart terminal's own state information, it is determined whether the smart terminal adopts the optimal communication mode and the switching benefit of the smart terminal is determined. The own state information includes the smart terminal's number, the smart terminal's current communication mode, and the information transmission rate of the smart terminal in each communication mode. The optimal communication mode is the communication mode that maximizes the information transmission rate of the smart terminal. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching the communication mode. If it is determined that the smart terminal is not using the optimal communication mode, a first message is sent to the aggregation terminal in the distributed system. The first message includes the smart terminal's own status information and the smart terminal's switching benefits. Receive second information from the aggregation terminal, the second information including an overall status summary, the overall status summary including the number of the selected smart terminal; Based on the second information, determine whether to update the communication mode of the smart terminal; Alternatively, if it is determined that the smart terminal adopts the optimal communication mode, the communication mode of the smart terminal may be kept unchanged.
3. The method according to claim 2, characterized in that, The step of determining whether the smart terminal adopts the optimal communication mode and determining the switching benefits of the smart terminal based on its own state information includes: Based on the smart terminal's own state information, compare the information transmission rates of the smart terminal in each communication mode; If the information transmission rate in the current communication mode is greater than the information transmission rate in the switched communication mode, then the current communication mode of the smart terminal is determined to be the optimal communication mode; or, If the information transmission rate in the current communication mode is less than or equal to the information transmission rate in the switching communication mode, it is determined that the current communication mode of the smart terminal is not the optimal communication mode, and the switching benefit of the smart terminal is determined, wherein the switching benefit is the difference between the information transmission rate in the switching communication mode and the information transmission rate in the current communication mode.
4. The method according to claim 2, characterized in that, The step of determining whether to update the communication mode of the smart terminal based on the second information includes: Based on the second information, determine the number of the selected smart terminal and determine whether the smart terminal is selected; If the smart terminal is selected, switch the communication mode of the smart terminal; or, If it is determined that the smart terminal is not selected, the communication mode of the smart terminal remains unchanged.
5. A resource allocation method, characterized in that, Applications to aggregation terminals include: Through distributed potential game iteration, the following steps are performed: The system receives first information from N smart terminals in a distributed system. This first information includes the smart terminal's own state information and the smart terminal's switching benefit. The smart terminal's own state information includes the smart terminal's ID, its current communication mode, and the information transmission rate of the smart terminal in each communication mode. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. The distributed system includes one aggregation terminal and M smart terminals. The N smart terminals are N smart terminals that are not using the optimal communication mode, where N is a natural number and M is a natural number greater than N. Based on the first information, determine the second information; The second information is sent to all intelligent terminals in the distributed system. The second information is used to inform whether the intelligent terminal is selected and to instruct the selected intelligent terminal to update the communication mode. In each round of the potential game iteration, only one of the M intelligent terminals in the distributed system is selected and updates the communication mode. The potential game iteration is repeated until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. When the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from the N smart terminals. All the smart terminals in the distributed system use the optimal communication mode.
6. The method according to claim 5, characterized in that, The step of determining the second information based on the first information includes: Based on the first information of the N smart terminals, determine the number of the selected smart terminal; The second information is generated based on the ID of the selected smart terminal; The step of determining the number of the selected smart terminal based on the first information of the N smart terminals includes one of the following: Based on the first information, determine the switching benefits of the N smart terminals, and select the number corresponding to the smart terminal with the largest switching benefit as the number of the selected smart terminal. Based on the first information, the numbers of the N smart terminals are determined, and the number of one smart terminal is randomly selected as the number of the selected smart terminal.
7. A resource allocation device, characterized in that, include: The first processing module is used to determine the initial communication mode of the smart terminal based on the current channel conditions and historical communication performance. The communication mode is either high-speed power line carrier communication (HPLC) mode or high-speed wireless communication (HRF) mode. The first processing module is further configured to determine whether to update the communication mode of the smart terminal based on the smart terminal's own state information and the second information from the aggregation terminal through distributed potential game iteration. The second information is used to inform the smart terminal whether it has been selected and to instruct the selected smart terminal to update the communication mode. Here, one aggregation terminal and M smart terminals form a distributed system, and in each round of potential game iteration, only one of the M smart terminals in the distributed system is selected and its communication mode is updated. M is a positive integer. The first processing module is further configured to repeatedly execute the distributed potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution, wherein, when the game theory algorithm converges to the Nash equilibrium solution, all the smart terminals in the distributed system adopt the optimal communication mode.
8. A resource allocation device, characterized in that, include: The second processing module is used to perform the following steps through distributed potential game iteration: The system receives first information from N smart terminals in a distributed system. This first information includes the smart terminal's own state information and the smart terminal's switching benefit. The smart terminal's own state information includes the smart terminal's ID, its current communication mode, and the information transmission rate of the smart terminal in each communication mode. The switching benefit is the additional information transmission rate increment brought about by the smart terminal switching communication modes. The distributed system includes one aggregation terminal and M smart terminals. The N smart terminals are N smart terminals that are not using the optimal communication mode, where N is a natural number and M is a natural number greater than N. Based on the first information, determine the second information; The second information is sent to all intelligent terminals in the distributed system. The second information is used to inform whether the intelligent terminal is selected and to instruct the selected intelligent terminal to update the communication mode. In each round of the potential game iteration, only one of the M intelligent terminals in the distributed system is selected and updates the communication mode. The second processing module is further configured to repeatedly execute the potential game iteration until the game theory algorithm of the distributed system converges to the Nash equilibrium solution. In the case that the game theory algorithm converges to the Nash equilibrium solution, the aggregation terminal cannot receive the first information from the N smart terminals. In the case that all the smart terminals in the distributed system adopt the optimal communication mode.
9. A communication device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the resource allocation method as described in any one of claims 1 to 4, or to implement the steps of the resource allocation method as described in any one of claims 5 to 6.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the resource allocation method as described in any one of claims 1 to 4, or the resource allocation method as described in any one of claims 5 to 6.
11. A computer program / program product stored in a storage medium, the computer program / program product being executed by at least one processor to implement the resource allocation method as claimed in any one of claims 1 to 4, or to implement the steps of the resource allocation method as claimed in any one of claims 5 to 6.