[go: up one dir, main page]

CN107484245B - The resource allocation methods of D2D communication are supported in a kind of heterogeneous network - Google Patents

The resource allocation methods of D2D communication are supported in a kind of heterogeneous network Download PDF

Info

Publication number
CN107484245B
CN107484245B CN201710661416.1A CN201710661416A CN107484245B CN 107484245 B CN107484245 B CN 107484245B CN 201710661416 A CN201710661416 A CN 201710661416A CN 107484245 B CN107484245 B CN 107484245B
Authority
CN
China
Prior art keywords
resource
resource allocation
cue
communication
base station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710661416.1A
Other languages
Chinese (zh)
Other versions
CN107484245A (en
Inventor
贾杰
陈剑
范润贤
刘忠禹
王兴伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northeastern University China
Original Assignee
Northeastern University China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northeastern University China filed Critical Northeastern University China
Priority to CN201710661416.1A priority Critical patent/CN107484245B/en
Publication of CN107484245A publication Critical patent/CN107484245A/en
Application granted granted Critical
Publication of CN107484245B publication Critical patent/CN107484245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Landscapes

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

Abstract

本发明提供一种异构网络中支持D2D通信的资源分配方法,包括:D2D资源分配器接收当前D2D通信对的资源申请请求;并根据资源分配向量Rn、资源价格向量Fm,采用分布式博弈方法为当前D2D通信对分配资源,以及组成D2D的资源分配向量Rd;CUE资源分配器接收预设时间段内所有CUE的资源申请请求,并根据所述资源分配向量Rd、资源价格向量Fm,采用集中式的资源分配方法为每个CUE分配资源,并将所有CUE分配的资源组成资源分配向量Rn;收敛判断器确定分配资源后任一个CUE的QoE值满足使用需求,则将向CUE分配的资源输出,并向发送设备的D2D资源分配器发送资源分配的确认信息。上述方法能够有效适应异构网络中资源管理的特点,有效提升每个用户的QoE水平。

The present invention provides a resource allocation method supporting D2D communication in a heterogeneous network, comprising: a D2D resource allocator receiving a resource application request of a current D2D communication pair; The game method allocates resources for the current D2D communication pair, and constitutes the D2D resource allocation vector R d ; the CUE resource allocator receives resource application requests from all CUEs within a preset time period, and according to the resource allocation vector R d , the resource price vector F m , use a centralized resource allocation method to allocate resources for each CUE, and combine the resources allocated by all CUEs to form a resource allocation vector R n ; after the convergence judge determines that the QoE value of any CUE meets the usage requirements, it will send to The resources allocated by the CUE are output, and the resource allocation confirmation information is sent to the D2D resource allocator of the sending device. The above method can effectively adapt to the characteristics of resource management in the heterogeneous network, and effectively improve the QoE level of each user.

Description

一种异构网络中支持D2D通信的资源分配方法A resource allocation method supporting D2D communication in a heterogeneous network

技术领域technical field

本发明涉及通信技术,具体涉及一种异构网络中支持D2D通信的资源分配方法。The present invention relates to communication technology, in particular to a resource allocation method supporting D2D communication in a heterogeneous network.

背景技术Background technique

近年来,为了满足不断增加的用户数量及不断上升的宽带业务需求,蜂窝网络中开始引入终端到终端的直接通信技术,与传统通信方式需要经过基站节点进行中转传输不同,在节点间距离较短时,使用端到端(Device to Device,D2D)的直接通信方式能够直接复用基站的频谱资源,从而有效提高资源利用率与用户通信的速率。同时,在网络结构上,蜂窝网络正从传统的单层同构宏蜂窝小区逐步向异构网络(Heterogeneous CellularNetworks,HCN)演进。与单蜂窝网络相比,异构网络能够以较低成本提升频谱利用效率,已成为当前和未来应对巨大业务数据流量需求的最有效的手段之一。然而,当异构网络中使用端到端直接通信技术时,除了需要考虑传统蜂窝用户(cellular user equipment,CUE)的基站关联、频谱分配及功率控制问题外,还需要为每个D2D通信对分配合理的通信资源块及通信功率,使其在不影响所有CUE的正常通信外,满足D2D的传输需求。In recent years, in order to meet the ever-increasing number of users and the ever-increasing demand for broadband services, cellular networks have begun to introduce terminal-to-terminal direct communication technology, which is different from traditional communication methods that need to be transferred through base station nodes, and the distance between nodes is relatively short. When , using an end-to-end (Device to Device, D2D) direct communication method can directly reuse the spectrum resources of the base station, thereby effectively improving the resource utilization rate and the user communication rate. At the same time, in terms of network structure, cellular networks are gradually evolving from traditional single-layer homogeneous macrocells to heterogeneous networks (Heterogeneous Cellular Networks, HCN). Compared with a single-cellular network, a heterogeneous network can improve spectrum utilization efficiency at a lower cost, and has become one of the most effective means to cope with huge business data traffic demands at present and in the future. However, when the end-to-end direct communication technology is used in the heterogeneous network, in addition to considering the base station association, spectrum allocation and power control issues of the traditional cellular user equipment (CUE), it is also necessary to allocate Reasonable communication resource blocks and communication power make it meet the transmission requirements of D2D without affecting the normal communication of all CUEs.

另外需要引起注意的问题是,随着互联网业务尤其是视频业务的普及,网络规划者开始从只关注网络侧的QoS保障逐渐转向用户侧的QoE保障。区别于QoS对网络性能的评估,QoE直接体现了用户对运行于网络的服务水平的评价,因而能更直观表现当前网络的性能情况,已经成为下一代网络中着重关注的方向。Another issue that needs attention is that with the popularization of Internet services, especially video services, network planners have gradually shifted from focusing only on network-side QoS guarantees to user-side QoE guarantees. Different from the evaluation of network performance by QoS, QoE directly reflects the user's evaluation of the service level running on the network, so it can more intuitively express the performance of the current network, and has become the focus of attention in the next generation network.

发明内容Contents of the invention

为解决现有技术中的问题,本发明提供一种异构网络中支持D2D通信的资源分配方法。In order to solve the problems in the prior art, the present invention provides a resource allocation method supporting D2D communication in a heterogeneous network.

第一方面,本发明提供一种异构网络中支持D2D通信的资源分配方法,包括:In a first aspect, the present invention provides a resource allocation method supporting D2D communication in a heterogeneous network, including:

步骤S1、D2D资源分配器接收D2D资源申请器发送的当前D2D通信对的资源申请请求;Step S1, the D2D resource allocator receives the resource application request of the current D2D communication pair sent by the D2D resource requester;

D2D资源分配器和D2D资源申请器位于当前D2D通信对的发送设备中;The D2D resource allocator and the D2D resource applicant are located in the sending device of the current D2D communication pair;

步骤S2、所述D2D资源分配器根据资源分配向量Rn、资源价格向量Fm,采用分布式博弈方法为当前D2D通信对分配资源,并确定对应所有D2D通信对的D2D的资源分配向量RdStep S2, the D2D resource allocator uses a distributed game method to allocate resources for the current D2D communication pair according to the resource allocation vector R n and the resource price vector F m , and determines the D2D resource allocation vector R d corresponding to all D2D communication pairs ;

所述资源分配向量Rn为所述发送设备预先接收的基站中的CUE资源分配器输出的基于CUE的资源分配向量;The resource allocation vector R n is a CUE-based resource allocation vector output by the CUE resource allocator in the base station received by the sending device in advance;

所述资源价格向量Fm为所述发送设备预先接收的基站中的资源价格分配器输出的资源价格向量;The resource price vector F m is the resource price vector output by the resource price allocator in the base station received by the sending device in advance;

步骤S3、位于基站中的CUE资源分配器接收基站中CUE资源申请器发送的预设时间段内所有CUE的资源申请请求;Step S3, the CUE resource allocator located in the base station receives the resource application requests of all CUEs within the preset time period sent by the CUE resource requester in the base station;

步骤S4、所述CUE资源分配器根据所述资源分配向量Rd、资源价格向量Fm,采用集中式的资源分配方法为每个CUE分配资源,并将所有CUE分配的资源组成资源分配向量RnStep S4, the CUE resource allocator adopts a centralized resource allocation method to allocate resources for each CUE according to the resource allocation vector R d and the resource price vector F m , and forms the resources allocated by all CUEs into a resource allocation vector R n ;

所述资源分配向量Rd为基站接收D2D通信对发送设备发送的所述D2D资源分配器确定的资源分配向量RdThe resource allocation vector R d is the resource allocation vector R d determined by the D2D resource allocator sent by the base station to receive the D2D communication from the sending device;

步骤S5、位于基站中的收敛判断器确定分配资源后任一个CUE的QoE值满足使用需求,则将步骤S4分配的资源输出,并向发送设备的D2D资源分配器发送资源分配的确认信息。Step S5, the convergence judger located in the base station determines that the QoE value of any CUE after resource allocation meets the usage requirements, then outputs the resources allocated in step S4, and sends confirmation information of resource allocation to the D2D resource allocator of the sending device.

可选地,所述方法还包括:Optionally, the method also includes:

步骤S6、收敛判断器确定分配资源后任一个CUE的QoE值不满足使用需求,则,资源价格分配器采用资源价格更新策略更新资源价格向量,并输出更新后的资源价格向量;Step S6, the convergence determiner determines that the QoE value of any CUE does not meet the usage requirements after resource allocation, then the resource price allocator adopts the resource price update strategy to update the resource price vector, and outputs the updated resource price vector;

基于更新后的资源价格向量,重复步骤S2至步骤S5的过程,直至步骤S5中确定分配资源后任一个CUE的QoE值满足使用需求。Based on the updated resource price vector, the process from step S2 to step S5 is repeated until it is determined in step S5 that the QoE value of any CUE after resource allocation meets the usage requirement.

可选地,步骤S2包括:Optionally, step S2 includes:

S21、D2D资源分配所属的发送设备接收基站发送的资源价格向量Fm和资源分配向量Rn,并设置运行次数为0;S21. The sending device to which the D2D resource allocation belongs receives the resource price vector Fm and the resource allocation vector Rn sent by the base station, and sets the running times to 0;

S22、D2D资源分配器随机选择一个分配策略为发送设备的D2D资源申请器中的D2D通信对分配资源;S22. The D2D resource allocator randomly selects an allocation strategy to allocate resources for the D2D communication pair in the D2D resource applicant of the sending device;

S23、所述发送设备的D2D资源分配器获取所有D2D通信对的资源分配信息;S23. The D2D resource allocator of the sending device acquires resource allocation information of all D2D communication pairs;

S24、D2D资源分配器根据所有D2D通信对的资源分配信息,组成D2D的资源分配向量Rd new,获取各D2D通信对的效益函数Ud newS24. The D2D resource allocator forms a D2D resource allocation vector R d new according to the resource allocation information of all D2D communication pairs, and obtains a benefit function U d new of each D2D communication pair;

S25、D2D资源分配器以概率1/D随机选择D2D通信对中的一个D2D,选择另一个分配策略为选择的D2D分配资源,并生成资源分配向量Rd rand,以及获取效益函数Ud randS25. The D2D resource allocator randomly selects one D2D in the D2D communication pair with a probability of 1/D, selects another allocation strategy to allocate resources for the selected D2D, generates a resource allocation vector R d rand , and obtains a benefit function U d rand ;

S26、D2D资源分配器基于SBR机制,选择资源分配向量Rd rand、资源分配向量Rd new中的一个对应的分配策略作为最后资源分配的策略;S26. Based on the SBR mechanism, the D2D resource allocator selects a corresponding allocation strategy among the resource allocation vector R d rand and the resource allocation vector R d new as the final resource allocation strategy;

S28、D2D通信对所属的发送是设备向所有邻居节点广播当前的资源分配策略;S28. The transmission to which the D2D communication pair belongs is that the device broadcasts the current resource allocation strategy to all neighbor nodes;

S29、运行次数+1,并判断是否到达最大运行次数,如是,返回S30;否则返回S22;S29, running times +1, and judge whether the maximum running times is reached, if yes, return to S30; otherwise, return to S22;

S30、D2D资源分配器采用最后选择的资源分配的策略,为每个D2D通信对分配资源;并将所有D2D通信对分配的资源组成资源分配向量RdS30. The D2D resource allocator adopts the last selected resource allocation strategy to allocate resources for each D2D communication pair; and forms resource allocation vector R d with resources allocated by all D2D communication pairs.

可选地,子步骤S25和子步骤S24中分别采用公式一,获取各自的效益函数;Optionally, Formula 1 is used in sub-step S25 and sub-step S24 to obtain respective benefit functions;

公式一: Formula one:

限制条件, limitation factor,

其中ηd为D2D通信对d所分配的通信功率,为D2D通信对d能使用的最大通信功率,L为离散化后的最大功率等级,限制条件用于保证每个D2D通信对只能分配一个信道,表示D2D通信对d是否使用信道m,否则为0,fm为信道m的价格;Where η d is the communication power allocated by the D2D communication pair d, is the maximum communication power that can be used by D2D communication pair d, L is the maximum power level after discretization, and the restriction is used to ensure that each D2D communication pair can only allocate one channel, Indicates whether D2D communication pair d uses channel m, otherwise it is 0, and f m is the price of channel m;

MOS3(rd)为每个D2D通信对获取的MOS值。MOS 3 (r d ) is the MOS value obtained for each D2D communication pair.

可选地,子步骤S26,包括:Optionally, substep S26 includes:

S261、采用公式二,计算策略判断概率p;S261. Calculate the strategy judgment probability p by using Formula 2;

其中χ为平衡因子(χ>0),为采用子步骤S22中分配策略及子步骤S25中分配策略时按照公式一计算获得的效益函数;Where χ is the balance factor (χ>0), and For adopting the allocation strategy in sub-step S22 And the allocation strategy in sub-step S25 The benefit function obtained by calculating according to formula 1;

S261、若P<=rand(0,1),则选择子步骤S22的分配策略作为最后资源分配的策略;S261. If P<=rand(0,1), select the allocation strategy in sub-step S22 as the final resource allocation strategy;

否则,选择子步骤S25的分配策略作为最后资源分配的策略。Otherwise, select the allocation policy in sub-step S25 as the final resource allocation policy.

可选地,对于每一个CUE,优化目标是满足每个CUE的QoE使用需求时,获取更高的资源收益;Optionally, for each CUE, the optimization goal is to obtain higher resource income while meeting the QoE usage requirements of each CUE;

优化模型:Optimization model:

约束条件:Restrictions:

约束条件一; Constraint one;

约束条件二; Constraint two;

约束条件三; Constraint three;

约束条件四; Constraint four;

其中,约束条件一用于保证每个CUE的获得的QoE值满足各自使用需求;约束条件二用于保证每个CUE最多能够关联一个基站的一个信道;为第n个CUE的关联变量,如果第n个CUE关联基站s的信道m,则否则约束条件三则用于保证每个基站的每个信道最多只分配给一个CUE,其中为关联机制s所有CUE的集合;约束条件四中ls,m为基站s在信道m上分配的功率。Among them, constraint condition 1 is used to ensure that the obtained QoE value of each CUE meets the respective use requirements; constraint condition 2 is used to ensure that each CUE can be associated with at most one channel of one base station; is the associated variable of the nth CUE, if the nth CUE is associated with the channel m of the base station s, then otherwise Constraint three is used to ensure that each channel of each base station is allocated to only one CUE at most, where is the set of all CUEs of association mechanism s; l s,m in constraint condition 4 is the power allocated by base station s on channel m.

可选地,步骤S4包括:Optionally, step S4 includes:

S41、随机初始化种群与种群迭代次数G,并设置种群初始运行代数g=1;S41. Randomly initialize the population and the number of iterations of the population G, and set the initial operation algebra of the population g=1;

S42、对初始化后的个体进行修复,使其满足约束条件;S42. Restoring the initialized individual so that it satisfies the constraints;

S43、根据优化模型计算种群中每个个体的适应值;S43. Calculate the population according to the optimization model The fitness value of each individual in ;

S44、当g≤G时,令并从i=1至R/2开始;S44. When g≤G, let and start from i=1 to R/2;

S45、按照轮盘赌方法从种群中选择两个个体A和B,对个体A与个体B中的信道关联向量使用改进的二进制交叉方法,并得到新的信道关联向量 S45, according to the roulette method from the population Select two individuals A and B in , and the channel correlation vectors in individual A and individual B and Use the improved binary crossover method and get a new channel correlation vector and

S46、对个体A与个体B中的功率分配向量使用传统的二进制交叉方法,并得到新的功率分配向量 S46. For the power distribution vectors in individual A and individual B and Use the traditional binary crossover method and get a new power allocation vector and

S47、将组合生成子代个体A,将组合生成子代个体B;S47. Will and Combined to generate offspring individual A, the and Combine to generate offspring individual B;

对子代个体A与B以qm概率进行变异;Mutate the progeny individuals A and B with q m probability;

对变异后的个体进行修复,使其满足约束条件;Repair the mutated individual to make it meet the constraints;

按照优化模型计算种群中每个个体的适应值;Calculate the population according to the optimization model The fitness value of each individual in ;

S48、依次比较种群R与R’中个体的适应值大小,将种群R中的低适应值个体替换为R’中对应的高适应值个体。S48. Comparing the fitness values of the individuals in the population R and R' in turn, replacing the low fitness value individuals in the population R with the corresponding high fitness value individuals in R'.

可选地,步骤S1之前,Optionally, before step S1,

基站中的CUE资源分配器为各CUE随机选择满足约束条件的信道资源,并随机分配通信功率;且基站中的资源价格分配器根据当前CUE使用的信道资源信息、剩余的信道资源信息和/或D2D通信对使用的信道资源信息为各个信道随机初始化一个价格。The CUE resource allocator in the base station randomly selects channel resources that meet the constraint conditions for each CUE, and randomly allocates communication power; and the resource price allocator in the base station is based on the channel resource information used by the current CUE, the remaining channel resource information and/or The channel resource information used by the D2D communication pair randomly initializes a price for each channel.

可选地,所述D2D通信对的发送设备为D2D通信对的请求方;Optionally, the sending device of the D2D communication pair is a requester of the D2D communication pair;

预设范围内的每一个D2D通信对所使用信道资源在该范围内所有D2D通信对均通过共享机制能够获知。The channel resources used by each D2D communication pair within the preset range can be known by all the D2D communication pairs within the range through a sharing mechanism.

第二方面,本发明还提供一种异构网络中支持D2D通信的资源分配系统,所述系统包括:基站,所述基站覆盖范围内采用D2D通信的多个D2D通信对的发送设备,多个CUE;In the second aspect, the present invention also provides a resource allocation system supporting D2D communication in a heterogeneous network, the system includes: a base station, sending devices of multiple D2D communication pairs using D2D communication within the coverage of the base station, multiple CUE;

其中,所述发送设备与所述基站交互,所述基站根据所述发送设备进行D2D通信占用的信道资源信息,确定与基站交互的CUE中每一CUE的QoE值是否满足使用需求;Wherein, the sending device interacts with the base station, and the base station determines whether the QoE value of each CUE among the CUEs interacting with the base station meets the usage requirement according to the channel resource information occupied by the sending device for D2D communication;

若不满足,则基站调整信道资源价格,以及发送设备适应调整正在申请信道资源的D2D通信对的信道资源分配信息和基站适应调整正在申请信道资源的CUE的信道资源分配信息,直至所述与基站交互的CUE中每一CUE的QoE值满足使用需求。If not, the base station adjusts the channel resource price, and the sending device adapts to adjust the channel resource allocation information of the D2D communication pair that is applying for channel resources, and the base station adapts to adjust the channel resource allocation information of the CUE that is applying for channel resources, until the communication with the base station The QoE value of each CUE among the interacted CUEs meets usage requirements.

本发明具有的有益效果如下:The beneficial effects that the present invention has are as follows:

本发明的方法为融合遗传算法与博弈模型的半分布式资源分配方法,遗传算法主要基于集中式方法,为每个CUE分配合适的通信资源,博弈模型则基于分布式方法,为每个D2D通信对分配通信资源。上述半分布式资源管理框架能够有效适应异构网络中资源管理的特点,有效提升每个用户的QoE水平。The method of the present invention is a semi-distributed resource allocation method that combines the genetic algorithm and the game model. The genetic algorithm is mainly based on a centralized method to allocate appropriate communication resources for each CUE, and the game model is based on a distributed method to allocate appropriate communication resources for each D2D communication. To allocate communication resources. The above semi-distributed resource management framework can effectively adapt to the characteristics of resource management in heterogeneous networks, and effectively improve the QoE level of each user.

附图说明Description of drawings

图1A为本发明一实施例的方法流程示意图;FIG. 1A is a schematic flow diagram of a method according to an embodiment of the present invention;

图1B为本发明的资源分配装置结构示意图;FIG. 1B is a schematic structural diagram of a resource allocation device of the present invention;

图2为本发明的个体编码方法的示意图;Fig. 2 is a schematic diagram of the individual encoding method of the present invention;

图3(a)为传统的两点交叉方法的示意图;Figure 3(a) is a schematic diagram of the traditional two-point intersection method;

图3(b)为本发明改进的两点交叉方法的示意图;Fig. 3 (b) is the schematic diagram of the improved two-point intersection method of the present invention;

图4为D2D用户QoE水平随迭代代数变化的示意图;Fig. 4 is a schematic diagram of the change of D2D user QoE level with iteration algebra;

图5为CUE用户各资源块价格变化的示意图;Figure 5 is a schematic diagram of price changes for each resource block of a CUE user;

图6为各类算法性能对比的示意图。Figure 6 is a schematic diagram of the performance comparison of various algorithms.

具体实施方式Detailed ways

为了更好的解释本发明,以便于理解,下面结合附图,通过具体实施方式,对本发明作详细描述。In order to better explain the present invention and facilitate understanding, the present invention will be described in detail below through specific embodiments in conjunction with the accompanying drawings.

本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

如图1A所示,图1A示出了本发明一实施例提供的资源分配方法的流程示意图,该方法包括下述的步骤:As shown in FIG. 1A, FIG. 1A shows a schematic flowchart of a resource allocation method provided by an embodiment of the present invention, and the method includes the following steps:

步骤S1、D2D资源分配器接收D2D资源申请器发送的所有D2D通信对的资源申请请求。Step S1, the D2D resource allocator receives resource application requests for all D2D communication pairs sent by the D2D resource requester.

本实施例中,D2D资源分配器和D2D资源申请器位于当前D2D通信对的发送端设备即发送设备中。In this embodiment, the D2D resource allocator and the D2D resource applicant are located in the sending device of the current D2D communication pair, that is, the sending device.

步骤S2、D2D资源分配器根据资源分配向量Rn、资源价格向量Fm,采用分布式博弈方法为当前D2D通信对分配资源,并确定对应所有D2D通信对的D2D的资源分配向量RdStep S2, the D2D resource allocator uses a distributed game method to allocate resources for the current D2D communication pair according to the resource allocation vector R n and the resource price vector F m , and determines the D2D resource allocation vector R d corresponding to all D2D communication pairs.

在该步骤中,资源分配向量Rn可为所述发送设备预先接收的基站中的CUE资源分配器输出的基于CUE的资源分配向量;In this step, the resource allocation vector R n may be a CUE-based resource allocation vector output by the CUE resource allocator in the base station received by the sending device in advance;

所述资源价格向量Fm可为所述发送设备预先接收的基站中的资源价格分配器输出的资源价格向量。The resource price vector F m may be the resource price vector output by the resource price allocator in the base station received by the sending device in advance.

步骤S3、位于基站中的CUE资源分配器接收基站中CUE资源申请器发送的预设时间段内所有CUE的资源申请请求。Step S3, the CUE resource allocator located in the base station receives resource application requests of all CUEs within a preset time period sent by the CUE resource requester in the base station.

步骤S4、CUE资源分配器根据所述资源分配向量Rd、资源价格向量Fm,采用集中式的资源分配方法为每个CUE分配资源,并将所有CUE分配的资源组成资源分配向量RnStep S4, the CUE resource allocator adopts a centralized resource allocation method to allocate resources to each CUE according to the resource allocation vector R d and the resource price vector F m , and forms resource allocation vector R n from resources allocated by all CUEs.

本步骤中,所述资源分配向量Rd可为基站接收D2D通信对发送设备发送的所述D2D资源分配器确定的资源分配向量RdIn this step, the resource allocation vector R d may be the resource allocation vector R d determined by the D2D resource allocator sent by the base station from the D2D communication to the sending device.

步骤S5、位于基站中的收敛判断器确定分配资源后任一个CUE的QoE值满足使用需求,则将步骤S4分配的资源输出,并向发送设备的D2D资源分配器发送资源分配的确认信息。Step S5, the convergence judger located in the base station determines that the QoE value of any CUE after resource allocation meets the usage requirements, then outputs the resources allocated in step S4, and sends confirmation information of resource allocation to the D2D resource allocator of the sending device.

相应地,上述方法还包括下述的图中未示出的步骤S6;Correspondingly, the above method further includes the following step S6 not shown in the figure;

S6、收敛判断器确定分配资源后任一个CUE的QoE值不满足使用需求,则,资源价格分配器采用资源价格更新策略更新资源价格向量,并输出更新后的资源价格向量;S6. The convergence determiner determines that the QoE value of any CUE after resource allocation does not meet the usage requirements, then the resource price allocator adopts a resource price update strategy to update the resource price vector, and outputs the updated resource price vector;

基于更新后的资源价格向量,重复步骤S2至步骤S5的过程,直至步骤S5中确定分配资源后任一个CUE的QoE值满足使用需求。Based on the updated resource price vector, the process from step S2 to step S5 is repeated until it is determined in step S5 that the QoE value of any CUE after resource allocation meets the usage requirement.

在具体应用中,上述方法中的步骤S1之前,In a specific application, before step S1 in the above method,

基站中的CUE资源分配器可为各CUE随机选择满足约束条件的信道资源,并随机分配通信功率;且基站中的资源价格分配器根据当前CUE使用的信道资源信息、剩余的信道资源信息和/或D2D通信对使用的信道资源信息为各个信道随机初始化一个价格。The CUE resource allocator in the base station can randomly select channel resources that meet the constraint conditions for each CUE, and randomly allocate communication power; and the resource price allocator in the base station is based on the channel resource information used by the current CUE, the remaining channel resource information and/or Or the channel resource information used by the D2D communication pair randomly initializes a price for each channel.

应说明的是,本实施例中D2D通信对的发送设备可为D2D通信对的请求方。It should be noted that, in this embodiment, the sending device of the D2D communication pair may be the requester of the D2D communication pair.

本实施例的方法为融合遗传算法与博弈模型的半分布式资源分配方法,遗传算法主要基于集中式方法,为每个CUE分配合适的通信资源,博弈模型则基于分布式方法,为每个D2D通信对分配通信资源。上述半分布式资源管理框架能够有效适应异构网络中资源管理的特点,有效提升每个用户的QoE水平。The method in this embodiment is a semi-distributed resource allocation method that combines genetic algorithm and game model. The genetic algorithm is mainly based on a centralized method to allocate appropriate communication resources for each CUE, and the game model is based on a distributed method. Communication pairs allocate communication resources. The above semi-distributed resource management framework can effectively adapt to the characteristics of resource management in heterogeneous networks, and effectively improve the QoE level of each user.

上述方法中的步骤S2还可包括下述的子步骤S21至子步骤S27:Step S2 in the above method may also include the following sub-steps S21 to S27:

S21、D2D资源分配所属的发送设备接收基站发送的资源价格向量Fm和资源分配向量Rn,并设置运行次数为0;S21. The sending device to which the D2D resource allocation belongs receives the resource price vector Fm and the resource allocation vector Rn sent by the base station, and sets the running times to 0;

S22、D2D资源分配器随机选择一个分配策略为发送设备的D2D资源申请器中的D2D通信对分配资源;S22. The D2D resource allocator randomly selects an allocation strategy to allocate resources for the D2D communication pair in the D2D resource applicant of the sending device;

S23、所述发送设备的D2D资源分配器获取所有D2D通信对的资源分配信息。S23. The D2D resource allocator of the sending device acquires resource allocation information of all D2D communication pairs.

特别说明的是,预设范围内的每一个D2D通信对所使用信道资源在该范围内所有D2D通信对均通过共享机制能够获知。In particular, all D2D communication pairs within the preset range can learn channel resources used by each D2D communication pair through a sharing mechanism.

S24、D2D资源分配器根据所有D2D通信对的资源分配信息,组成D2D的资源分配向量Rd new,获取各D2D通信对的效益函数Ud newS24. The D2D resource allocator forms a D2D resource allocation vector R d new according to the resource allocation information of all D2D communication pairs, and obtains a benefit function U d new of each D2D communication pair;

S25、D2D资源分配器以概率1/D随机选择D2D通信对中的一个D2D,选择另一个分配策略为选择的D2D分配资源,并生成资源分配向量Rd rand,以及获取效益函数Ud randS25. The D2D resource allocator randomly selects one D2D in the D2D communication pair with a probability of 1/D, selects another allocation strategy to allocate resources for the selected D2D, generates a resource allocation vector R d rand , and obtains a benefit function U d rand .

举例来说,在本实施例中,上述子步骤S25和子步骤S24分别采用公式一,获取各自的效益函数;For example, in this embodiment, the above-mentioned sub-step S25 and sub-step S24 respectively use formula 1 to obtain their respective benefit functions;

公式一: Formula one:

限制条件, limitation factor,

其中ηd为D2D通信对d所分配的通信功率,为D2D通信对d能使用的最大通信功率,L为离散化后的最大功率等级,限制条件用于保证每个D2D通信对只能分配一个信道,表示D2D通信对d是否使用信道m,否则为0,fm为信道m的价格;MOS3(rd)为每个D2D通信对获取的MOS值。Where η d is the communication power allocated by the D2D communication pair d, is the maximum communication power that can be used by D2D communication pair d, L is the maximum power level after discretization, and the restriction is used to ensure that each D2D communication pair can only allocate one channel, Indicates whether D2D communication pair d uses channel m, otherwise it is 0, f m is the price of channel m; MOS 3 (r d ) is the MOS value obtained by each D2D communication pair.

S26、D2D资源分配器基于SBR机制,选择资源分配向量Rd rand、资源分配向量Rd new中的一个对应的分配策略作为最后资源分配的策略。S26. Based on the SBR mechanism, the D2D resource allocator selects a corresponding allocation policy among the resource allocation vector R d rand and the resource allocation vector R d new as the final resource allocation policy.

举例来说,本实施例的子步骤S26可包括:For example, sub-step S26 of this embodiment may include:

采用公式二,计算策略判断概率p;Use Formula 2 to calculate the strategy judgment probability p;

其中χ为平衡因子(χ>0),为采用子步骤S22中分配策略及子步骤S25中分配策略时按照公式一计算获得的效益函数;Where χ is the balance factor (χ>0), and For adopting the allocation strategy in sub-step S22 And the allocation strategy in sub-step S25 The benefit function obtained by calculating according to formula 1;

若P<=rand(0,1),则选择子步骤S22的分配策略作为最后资源分配的策略;否则,选择子步骤S25的分配策略作为最后资源分配的策略。If P<=rand(0,1), select the allocation policy in sub-step S22 as the final resource allocation policy; otherwise, select the allocation policy in sub-step S25 as the final resource allocation policy.

S28、D2D通信对所属的发送是设备向所有邻居节点广播当前的资源分配策略;S28. The transmission to which the D2D communication pair belongs is that the device broadcasts the current resource allocation strategy to all neighbor nodes;

S29、运行次数+1,并判断是否到达最大运行次数,如是,返回S30;否则返回S22;S29, running times +1, and judge whether the maximum running times is reached, if yes, return to S30; otherwise, return to S22;

S30、D2D资源分配器采用最后选择的资源分配的策略,为每个D2D通信对分配资源;并将所有D2D通信对分配的资源组成资源分配向量RdS30. The D2D resource allocator adopts the last selected resource allocation strategy to allocate resources for each D2D communication pair; and forms resource allocation vector R d with resources allocated by all D2D communication pairs.

另外,为更好的理解上述图1A的内容,以下结合图1B进行详细说明。以下说明书CUE用户和CUE均指的是传统蜂窝用户。In addition, in order to better understand the content of FIG. 1A above, detailed description will be made in conjunction with FIG. 1B below. Both CUE user and CUE in the following description refer to traditional cellular users.

1、资源分配装置的各部分说明:1. Description of each part of the resource allocation device:

(1)CUE资源分配初始化器:位于基站中,主要用于为各CUE随机选择满足约束条件的信道资源,并为其随机分配通信功率;其中约束条件需要满足同一BS的同一信道不能同时分配给两个不同的CUE,且同一CUE在相同时刻不能同时占用两个信道。(1) CUE resource allocation initializer: Located in the base station, it is mainly used to randomly select channel resources that meet the constraint conditions for each CUE, and randomly allocate communication power to them; the same channel that needs to meet the constraint conditions of the same BS cannot be allocated to the same channel at the same time. Two different CUEs, and the same CUE cannot occupy two channels at the same time.

具体而言,定义整个网络中CUE集合为N={1,2,3…,N}。则所有CUE的初始化资源分配定义为其中为各个CUE的信道初始化向量,LN={l1,l2,…,lN}为各个CUE的功率初始化向量。Specifically, the set of CUEs in the entire network is defined as N={1, 2, 3..., N}. Then the initial resource allocation of all CUEs is defined as in is the channel initialization vector of each CUE, and L N ={l 1 ,l 2 ,...,l N } is the power initialization vector of each CUE.

(2)资源价格初始化RN器:位于基站中,为各个信道随机初始化一个价格(2) Resource price initializer RN : located in the base station, randomly initializes a price for each channel

假设整个异构网络中所有BS的可用信道集合相同,均为M,则初始化资源价格向量为FM={f1,f2,…,fM},其中fm为信道m使用单位功率的价格。或者,根据资源价格更新策略更新资源价格向量。Assuming that the set of available channels of all BSs in the entire heterogeneous network is the same, M, the initial resource price vector is F M ={f 1 ,f 2 ,…,f M }, where f m is the unit power used by channel m price. Alternatively, the resource price vector is updated according to the resource price update strategy.

(3)D2D资源申请器:位于终端/发送设备中,用于为每个D2D通信对申请资源,其中对任意D2D通信对d,其资源申请的内容为<IDd,QoEd>,d∈D。(3) D2D resource requester: located in the terminal/sending device, used to apply for resources for each D2D communication pair, where for any D2D communication pair d, the resource application content is <IDd, QoEd>, d∈D.

应说明的是,正常而言,只要两个终端的距离非常近,就可以采用D2D直接通信技术,本实施例中的D2D通信对是预先给定的。It should be noted that normally, as long as the distance between two terminals is very close, the D2D direct communication technology can be used, and the D2D communication pair in this embodiment is predetermined.

(4)CUE资源申请器:位于基站中,用于为每个CUE申请资源,其中对任意CUE用户n,其资源申请的内容为<IDn,QoEn>,n∈N。(4) CUE resource applicant: located in the base station, used to apply for resources for each CUE, wherein for any CUE user n, the resource application content is <IDn, QoEn>, n∈N.

当CUE用户需要申请资源的时候,开始使用CUE资源申请器。When a CUE user needs to apply for resources, start using the CUE resource applicant.

(5)D2D资源分配器:位于终端/发送设备中,基于收集的资源价格,及每个D2D通信对的资源申请,执行分布式博弈方法,为每个D2D通信对分配资源。所有D2D通信对的资源分配向量表示为其中为每个通信对分配的频谱向量,为每个通信对分配的通信功率向量。(5) D2D resource allocator: located in the terminal/sending device, based on the collected resource price and the resource application of each D2D communication pair, it executes a distributed game method to allocate resources for each D2D communication pair. The resource allocation vectors of all D2D communication pairs are expressed as in Spectrum vector assigned for each communication pair, A vector of communication power allocated for each communication pair.

(6)CUE资源分配器:位于基站中,基于D2D的资源分配向量RD,所有CUE的资源请求,以极大化资源出售收益为目标,执行集中式的资源分配方法,为每个CUE分配资源,并更新所有CUE资源分配向量同时输出所有CUE的最终QoE水平aQoEN(6) CUE resource allocator: located in the base station, based on the D2D resource allocation vector R D , the resource requests of all CUEs, with the goal of maximizing the revenue from resource sales, implement a centralized resource allocation method, and allocate each CUE resources, and update all CUE resource allocation vectors Simultaneously output the final QoE levels aQoE N of all CUEs.

图1B中灰色部分为资源申请的内容,如CUE的资源申请只包括CUE的ID号及QoE需求,把上述需求发送给资源分配分配器后,由资源分配器执行资源分配算法,为各资源申请者分配资源。QoE为资源申请者判断自身的业务后,自行设定的值。The gray part in Figure 1B is the content of the resource application. For example, the resource application of the CUE only includes the ID number and QoE requirements of the CUE. After sending the above requirements to the resource allocation allocator, the resource allocator executes the resource allocation algorithm to apply allocate resources. QoE is a value set by the resource applicant after judging its own business.

(7)收敛判决器:位于基站中,用于判断整个资源分配过程是否已经收敛。(7) Convergence determiner: located in the base station, used to determine whether the entire resource allocation process has converged.

举例来说,收敛判断方法为连续S轮后资源价格保持不变,即判定收敛。S可自行设定。For example, the method for judging convergence is that resource prices remain unchanged after S consecutive rounds, that is, convergence is judged. S can be set by yourself.

(8)资源价格计算器:位于基站中,用于根据各个CUE所获得的QoE值aQoEN对资源价格向量FM={f1,f2,…,fM}进行更新。(8) Resource price calculator: located in the base station, used to update the resource price vector F M ={f 1 , f 2 ,...,f M } according to the QoE value aQoE N obtained by each CUE.

2、资源分配方法2. Resource allocation method

2.1半分布式资源分配方法:2.1 Semi-distributed resource allocation method:

本发明还提出一种半分布式资源分配方法,其资源分配方法如算法1所示。The present invention also proposes a semi-distributed resource allocation method, the resource allocation method of which is shown in Algorithm 1.

其中算法1中7行到12行为资源价格更新方法,其主要原理如下:对于任意CUE用户n,如果其分配频谱资源后tn后,其获得的QoE值aQoEn不能满足其QoE需求,即(aQoEnq)那么可断定D2D通信对在频谱资源tn上的干扰较大,因为,需要提高该频谱资源的价格以限制网络中D2D通信对使用该频谱的概率。Among them, line 7 to line 12 in Algorithm 1 act as resource price update method, and its main principle is as follows: For any CUE user n, if it allocates spectrum resources after t n , the QoE value aQoE n obtained by it cannot meet its QoE requirements, namely ( aQoE nq ), then it can be concluded that the interference of D2D communication on the spectrum resource t n is relatively large, because the price of the spectrum resource needs to be increased In order to limit the probability that the D2D communication pair in the network uses the frequency spectrum.

2.2分布式资源分配方法2.2 Distributed resource allocation method

针对D2D通信对的资源分配,本发明提出一种基于博弈方法的分布式资源分配算法,整个算法流程下述算法2所示。For the resource allocation of D2D communication pairs, the present invention proposes a game-based distributed resource allocation algorithm, and the entire algorithm flow is shown in Algorithm 2 below.

其中D2D通信对d的效益函数Ud定义为通信对当前获得的QoE值并减去其使用该频谱的花费(策略的价格乘以功率),表示为:The benefit function U d of the D2D communication pair d is defined as the current QoE value obtained by the communication pair minus the cost of using the spectrum (the price of the strategy multiplied by the power), expressed as:

其中ηd为D2D通信对d所分配的通信功率,为D2D通信对d能使用的最大通信功率,L为离散化后的最大功率等级。限制条件1(a)用于保证每个D2D通信对只能分配一个信道。Where η d is the communication power allocated by the D2D communication pair d, is the maximum communication power that can be used by D2D communication pair d, and L is the maximum power level after discretization. Restriction 1(a) is used to ensure that each D2D communication pair can only allocate one channel.

对D2D通信对d而言,其采用随机选择的策略作为当前策略的概率为For D2D communication pair d, it adopts a random selection strategy The probability of being the current policy is

其中χ为平衡因子(χ>0),为采用原有策略及新策略时按照公式(1)计算获得的效益函数值。在这种情况下,如果那么将有较大可能使用新策略,这种基于概率选择的SBR(Smoothed Better Response)机制能以较大概率收敛至纳什均衡。Where χ is the balance factor (χ>0), and to adopt the original strategy and new strategies The value of the benefit function calculated according to the formula (1). In this case, if Then it will be more likely to use the new strategy, and this SBR (Smoothed Better Response) mechanism based on probability selection can converge to Nash equilibrium with a higher probability.

2.3集中式资源分配方法2.3 Centralized resource allocation method

对CUE而言,其优化目标在于维持每个CUE的QoE需求的前提下,尽可能获得高的资源收益,因而,其优化模型可定义为:For CUE, its optimization goal is to obtain as high a resource benefit as possible while maintaining the QoE requirements of each CUE. Therefore, its optimization model can be defined as:

其中,公式(3)的优化目标为资源出售的总体收益,约束条件(3a)用于保证每个CUE用户的获得的QoE值满足其需求值。约束条件(3b)用于保证每个CUE最多能够关联一个基站的一个信道。其中为CUE用户n的关联变量,如果CUE用户n关联基站s的信道m,则否则约束条件(3c)则用于保证每个基站的每个信道最多只分配给一个CUE用户,其中为关联机制s所有CUE用户的集合。约束条件(3d)中ls,m为基站s在信道m上分配的功率,其中本发明采用的为离散功率控制机制,因而,分配的功率为功率等级。具体而言,当分配的功率等级为ls,m时,其具体的功率为其中L为最大功率等级,为基站s在每个信道上分配的最大通信功率。Among them, the optimization target of formula (3) is the overall revenue of resource sales, and the constraint condition (3a) is used to ensure that the obtained QoE value of each CUE user meets its demand value. Constraint condition (3b) is used to ensure that each CUE can be associated with at most one channel of one base station. in is the associated variable of CUE user n, if CUE user n is associated with channel m of base station s, then otherwise Constraint condition (3c) is used to ensure that each channel of each base station is allocated to only one CUE user at most, where is the set of all CUE users of association mechanism s. In the constraint condition (3d), l s,m is the power allocated by the base station s on the channel m, where the present invention adopts a discrete power control mechanism, therefore, the allocated power is a power level. Specifically, when the allocated power level is l s,m , its specific power is where L is the maximum power level, The maximum communication power allocated for base station s on each channel.

针对上述优化问题,本发明提出一种基于遗传算法的集中式资源分配方法,如算法3所示。Aiming at the above optimization problem, the present invention proposes a centralized resource allocation method based on genetic algorithm, as shown in Algorithm 3.

这其中,对于种群中任意个体A,其编码方案由两部分组成,分别为信道关联向量与功率分配向量图2展示了其中的编码方案。Among them, for any individual A in the population, its coding scheme consists of two parts, which are the channel correlation vector and the power allocation vector Figure 2 shows the encoding scheme.

对于功率分配向量则采用传统的两点交叉方法。如图3(a)所示。另外,对于信道关联向量我们设计了改进的两点交叉方法,如图3(b)所示。具体而言,其交叉方法为:For the power allocation vector The traditional two-point crossover method is used. As shown in Figure 3(a). In addition, for the channel correlation vector We design an improved two-point intersection method, as shown in Fig. 3(b). Specifically, its crossover method is:

(1)随机选择两点交叉为c1与c2;(1) Randomly select two points to intersect as c1 and c2;

(2)将两个交叉个体A、B之间的基因进行保留至下一子代个体CA与CB;(2) The genes between the two cross individuals A and B are retained to the next offspring individuals CA and CB;

(3)将B个体中与CA个体不同的基因依次插入CA个体剩余位置,从而生成子代个体CA;(3) Insert the genes in individual B that are different from individual CA in turn into the remaining positions of individual CA, thereby generating offspring individual CA;

(4)将A个体中与CB个体不同的基因依次插入CB个体的剩余位置,从而生成子代个体CB;(4) Insert the genes in individual A that are different from individual CB into the remaining positions of individual CB in order to generate offspring individual CB;

上述实现方法中,充分考虑了异构网络中CUE资源分配及D2D资源分配的特点,并提出了半分布式的资源分配模型与方法,能够在维持CUE用户QoE需求的前提下,尽可能提升D2D用户的QoE水平。In the above implementation method, the characteristics of CUE resource allocation and D2D resource allocation in heterogeneous networks are fully considered, and a semi-distributed resource allocation model and method are proposed, which can improve D2D as much as possible while maintaining the QoE requirements of CUE users. User's QoE level.

参照图4和图5所示,图4与图5分别展示了D2D用户的QoE水平变化及CUE用户的资源块价格变化,可以看到本发明实施例提出的算法能够快速收敛至全网的最优解。Referring to Fig. 4 and Fig. 5, Fig. 4 and Fig. 5 respectively show the change of QoE level of D2D users and the change of resource block price of CUE users. It can be seen that the algorithm proposed in the embodiment of the present invention can quickly converge to the optimal Excellent solution.

另外,图6展示了D2D用户的最终获得QoE与传统MaxData、及基于穷举搜索的Optimal算法进行对比,可见本发明实施例提出的算法非常接近最优解。In addition, FIG. 6 shows the comparison of the final QoE obtained by the D2D user with the traditional MaxData and the Optimal algorithm based on exhaustive search. It can be seen that the algorithm proposed in the embodiment of the present invention is very close to the optimal solution.

最后应说明的是:以上所述的各实施例仅用于说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分或全部技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand : It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention range.

Claims (9)

1.一种异构网络中支持D2D通信的资源分配方法,其特征在于,包括:1. A resource allocation method supporting D2D communication in a heterogeneous network, characterized in that, comprising: 步骤S1、D2D资源分配器接收D2D资源申请器发送的当前D2D通信对的资源申请请求;Step S1, the D2D resource allocator receives the resource application request of the current D2D communication pair sent by the D2D resource requester; D2D资源分配器和D2D资源申请器位于当前D2D通信对的发送设备中;The D2D resource allocator and the D2D resource applicant are located in the sending device of the current D2D communication pair; 步骤S2、所述D2D资源分配器根据资源分配向量Rn、资源价格向量Fm,采用分布式博弈方法为当前D2D通信对分配资源,并确定对应所有D2D通信对的D2D的资源分配向量RdStep S2, the D2D resource allocator uses a distributed game method to allocate resources for the current D2D communication pair according to the resource allocation vector R n and the resource price vector F m , and determines the D2D resource allocation vector R d corresponding to all D2D communication pairs ; 所述资源分配向量Rn为所述发送设备预先接收的基站中的CUE资源分配器输出的基于CUE的资源分配向量;The resource allocation vector R n is a CUE-based resource allocation vector output by the CUE resource allocator in the base station received by the sending device in advance; 所述资源价格向量Fm为所述发送设备预先接收的基站中的资源价格分配器输出的资源价格向量;The resource price vector F m is the resource price vector output by the resource price allocator in the base station received by the sending device in advance; 步骤S3、位于基站中的CUE资源分配器接收基站中CUE资源申请器发送的预设时间段内所有CUE的资源申请请求;Step S3, the CUE resource allocator located in the base station receives the resource application requests of all CUEs within the preset time period sent by the CUE resource requester in the base station; 步骤S4、所述CUE资源分配器根据所述资源分配向量Rd、资源价格向量Fm,采用集中式的资源分配方法为每个CUE分配资源,并将所有CUE分配的资源组成资源分配向量RnStep S4, the CUE resource allocator adopts a centralized resource allocation method to allocate resources for each CUE according to the resource allocation vector R d and the resource price vector F m , and forms the resources allocated by all CUEs into a resource allocation vector R n ; 所述资源分配向量Rd为基站接收D2D通信对发送设备发送的所述D2D资源分配器确定的资源分配向量RdThe resource allocation vector R d is the resource allocation vector R d determined by the D2D resource allocator sent by the base station to receive the D2D communication from the sending device; 步骤S5、位于基站中的收敛判断器确定分配资源后任一个CUE的QoE值满足使用需求,则将步骤S4分配的资源输出,并向发送设备的D2D资源分配器发送资源分配的确认信息;Step S5, the convergence judger located in the base station determines that the QoE value of any CUE after resource allocation meets the usage requirements, then outputs the resources allocated in step S4, and sends confirmation information of resource allocation to the D2D resource allocator of the sending device; 若收敛判断器确定分配资源后任一个CUE的QoE值不满足使用需求,则,资源价格分配器采用资源价格更新策略更新资源价格向量,并输出更新后的资源价格向量;If the convergence determiner determines that the QoE value of any CUE after resource allocation does not meet the usage requirements, the resource price allocator adopts the resource price update strategy to update the resource price vector, and outputs the updated resource price vector; 基于更新后的资源价格向量,重复步骤S2至步骤S5的过程,直至步骤S5中确定分配资源后任一个CUE的QoE值满足使用需求。Based on the updated resource price vector, the process from step S2 to step S5 is repeated until it is determined in step S5 that the QoE value of any CUE after resource allocation meets the usage requirement. 2.根据权利要求1所述的方法,其特征在于,步骤S2包括:2. The method according to claim 1, wherein step S2 comprises: S21、D2D资源分配所属的发送设备接收基站发送的资源价格向量Fm和资源分配向量Rn,并设置运行次数为0;S21. The sending device to which the D2D resource allocation belongs receives the resource price vector Fm and the resource allocation vector Rn sent by the base station, and sets the running times to 0; S22、D2D资源分配器随机选择一个分配策略为发送设备的D2D资源申请器中的D2D通信对分配资源;S22. The D2D resource allocator randomly selects an allocation strategy to allocate resources for the D2D communication pair in the D2D resource applicant of the sending device; S23、所述发送设备的D2D资源分配器获取所有D2D通信对的资源分配信息;S23. The D2D resource allocator of the sending device acquires resource allocation information of all D2D communication pairs; S24、D2D资源分配器根据所有D2D通信对的资源分配信息,组成D2D的资源分配向量Rd new,获取各D2D通信对的效益函数Ud newS24. The D2D resource allocator forms a D2D resource allocation vector R d new according to the resource allocation information of all D2D communication pairs, and obtains a benefit function U d new of each D2D communication pair; S25、D2D资源分配器以概率1/D随机选择D2D通信对中的一个D2D,选择另一个分配策略为选择的D2D分配资源,并生成资源分配向量Rd rand,以及获取效益函数Ud randS25. The D2D resource allocator randomly selects one D2D in the D2D communication pair with a probability of 1/D, selects another allocation strategy to allocate resources for the selected D2D, generates a resource allocation vector R d rand , and obtains a benefit function U d rand ; S26、D2D资源分配器基于SBR机制,选择资源分配向量Rd rand、资源分配向量Rd new中的一个对应的分配策略作为最后资源分配的策略;S26. Based on the SBR mechanism, the D2D resource allocator selects a corresponding allocation strategy among the resource allocation vector R d rand and the resource allocation vector R d new as the final resource allocation strategy; S28、D2D通信对所属的发送是设备向所有邻居节点广播当前的资源分配策略;S28. The transmission to which the D2D communication pair belongs is that the device broadcasts the current resource allocation strategy to all neighbor nodes; S29、运行次数+1,并判断是否到达最大运行次数,如是,返回S30;否则返回S22;S29, running times +1, and judge whether the maximum running times is reached, if yes, return to S30; otherwise, return to S22; S30、D2D资源分配器采用最后选择的资源分配的策略,为每个D2D通信对分配资源;并将所有D2D通信对分配的资源组成资源分配向量RdS30. The D2D resource allocator adopts the last selected resource allocation strategy to allocate resources for each D2D communication pair; and forms resource allocation vector R d with resources allocated by all D2D communication pairs. 3.根据权利要求2所述的方法,其特征在于,3. The method of claim 2, wherein, 子步骤S25和子步骤S24中分别采用公式一,获取各自的效益函数;In sub-step S25 and sub-step S24, formula 1 is used respectively to obtain respective benefit functions; 公式一: Formula one: 限制条件, limitation factor, 其中ηd为D2D通信对d所分配的通信功率,为D2D通信对d能使用的最大通信功率,L为离散化后的最大功率等级,限制条件用于保证每个D2D通信对只能分配一个信道,表示D2D通信对d是否使用信道m,否则为0,fm为信道m的价格;Where η d is the communication power allocated by the D2D communication pair d, is the maximum communication power that can be used by D2D communication pair d, L is the maximum power level after discretization, and the restriction is used to ensure that each D2D communication pair can only allocate one channel, Indicates whether D2D communication pair d uses channel m, otherwise it is 0, and f m is the price of channel m; MOS3(rd)为每个D2D通信对获取的MOS值;其中,M为可用信道集合;FM={f1,f2,...,fM};其中,RN为所有CUE的资源分配向量。MOS 3 (r d ) is the MOS value obtained by each D2D communication pair; where M is the set of available channels; F M = {f 1 , f 2 ,..., f M }; where RN is all CUE The resource allocation vector for . 4.根据权利要求3所述的方法,其特征在于,子步骤S26,包括:4. The method according to claim 3, wherein the substep S26 includes: S261、采用公式二,计算策略判断概率p;S261. Calculate the strategy judgment probability p by using Formula 2; 其中χ为平衡因子(χ>0),为采用子步骤S22中分配策略及子步骤S25中分配策略时按照公式一计算获得的效益函数;Where χ is the balance factor (χ>0), and For adopting the allocation strategy in sub-step S22 And the allocation strategy in sub-step S25 The benefit function obtained by calculating according to formula 1; S261、若p<=rand(0,1),则选择子步骤S22的分配策略作为最后资源分配的策略;S261. If p<=rand(0,1), select the allocation strategy in sub-step S22 as the final resource allocation strategy; 否则,选择子步骤S25的分配策略作为最后资源分配的策略。Otherwise, select the allocation policy in sub-step S25 as the final resource allocation policy. 5.根据权利要求4所述的方法,其特征在于,对于每一个CUE,优化目标是满足每个CUE的QoE使用需求时,获取更高的资源收益;5. The method according to claim 4, characterized in that, for each CUE, the optimization goal is to obtain higher resource income when the QoE usage requirement of each CUE is satisfied; 优化模型:Optimization model: 约束条件:Restrictions: 其中,约束条件一用于保证每个CUE的获得的QoE值满足各自使用需求;约束条件二用于保证每个CUE最多能够关联一个基站的一个信道;为第n个CUE的关联变量,如果第n个CUE关联基站s的信道m,则否则约束条件三则用于保证每个基站的每个信道最多只分配给一个CUE,其中为关联基站s所有CUE的集合;约束条件四中ls,m为基站s在信道m上分配的功率。Among them, constraint condition 1 is used to ensure that the obtained QoE value of each CUE meets the respective use requirements; constraint condition 2 is used to ensure that each CUE can be associated with at most one channel of one base station; is the associated variable of the nth CUE, if the nth CUE is associated with the channel m of the base station s, then otherwise Constraint three is used to ensure that each channel of each base station is allocated to only one CUE at most, where is the set of all CUEs associated with base station s; l s, m in constraint condition 4 is the power allocated by base station s on channel m. 6.根据权利要求5所述的方法,其特征在于,S4包括:6. The method according to claim 5, wherein S4 comprises: S41、随机初始化种群与种群迭代次数G,并设置种群初始运行代数g=1;S41. Randomly initialize the population and the number of iterations of the population G, and set the initial operation algebra of the population g=1; S42、对初始化后的个体进行修复,使其满足约束条件;S42. Restoring the initialized individual so that it satisfies the constraints; S43、根据优化模型计算种群中每个个体的适应值;S43. Calculate the population according to the optimization model The fitness value of each individual in ; S44、当g≤G时,令并从i=1至R/2开始;S44. When g≤G, let and start from i=1 to R/2; S45、按照轮盘赌方法从种群中选择两个个体A和B,对个体A与个体B中的信道关联向量使用改进的二进制交叉方法,并得到新的信道关联向量 S45, according to the roulette method from the population Select two individuals A and B in , and the channel correlation vectors in individual A and individual B and Use the improved binary crossover method and get a new channel correlation vector and S46、对个体A与个体B中的功率分配向量使用传统的二进制交叉方法,并得到新的功率分配向量 S46. For the power distribution vectors in individual A and individual B and Use the traditional binary crossover method and get a new power allocation vector and S47、将组合生成子代个体A,将组合生成子代个体B;S47. Will and Combined to generate offspring individual A, the and Combine to generate offspring individual B; 对子代个体A与B以qm概率进行变异;Mutate the progeny individuals A and B with q m probability; 对变异后的个体进行修复,使其满足约束条件;Repair the mutated individual to make it meet the constraints; 按照优化模型计算种群中每个个体的适应值;Calculate the population according to the optimization model The fitness value of each individual in ; S48、依次比较种群R与R’中个体的适应值大小,将种群R中的低适应值个体替换为R’中对应的高适应值个体。S48. Comparing the fitness values of the individuals in the population R and R' in turn, replacing the low fitness value individuals in the population R with the corresponding high fitness value individuals in R'. 7.根据权利要求6所述的方法,其特征在于,步骤S1之前,7. The method according to claim 6, characterized in that, before step S1, 基站中的CUE资源分配器为各CUE随机选择满足约束条件的信道资源,并随机分配通信功率;且基站中的资源价格分配器根据当前CUE使用的信道资源信息、剩余的信道资源信息和/或D2D通信对使用的信道资源信息为各个信道随机初始化一个价格。The CUE resource allocator in the base station randomly selects channel resources that meet the constraint conditions for each CUE, and randomly allocates communication power; and the resource price allocator in the base station is based on the channel resource information used by the current CUE, the remaining channel resource information and/or The channel resource information used by the D2D communication pair randomly initializes a price for each channel. 8.根据权利要求7所述的方法,其特征在于,所述D2D通信对的发送设备为D2D通信对的请求方;8. The method according to claim 7, wherein the sending device of the D2D communication pair is the requester of the D2D communication pair; 预设范围内的每一个D2D通信对所使用信道资源在该范围内所有D2D通信对均通过共享机制能够获知。The channel resources used by each D2D communication pair within the preset range can be known by all the D2D communication pairs within the range through a sharing mechanism. 9.一种异构网络中支持D2D通信的资源分配系统,其特征在于,9. A resource allocation system supporting D2D communication in a heterogeneous network, characterized in that, 所述系统包括:基站,所述基站覆盖范围内采用D2D通信的多个D2D通信对的发送设备,多个CUE;The system includes: a base station, sending devices for multiple D2D communication pairs using D2D communication within the coverage of the base station, and multiple CUEs; 其中,所述发送设备与所述基站交互,所述基站根据所述发送设备进行D2D通信占用的信道资源信息,确定与基站交互的CUE中每一CUE的QoE值是否满足使用需求;Wherein, the sending device interacts with the base station, and the base station determines whether the QoE value of each CUE among the CUEs interacting with the base station meets the usage requirement according to the channel resource information occupied by the sending device for D2D communication; 若不满足,则基站调整信道资源价格,以及发送设备适应调整正在申请信道资源的D2D通信对的信道资源分配信息和基站适应调整正在申请信道资源的CUE的信道资源分配信息,直至所述与基站交互的CUE中每一CUE的QoE值满足使用需求。If not, the base station adjusts the channel resource price, and the sending device adapts to adjust the channel resource allocation information of the D2D communication pair that is applying for channel resources, and the base station adapts to adjust the channel resource allocation information of the CUE that is applying for channel resources, until the communication with the base station The QoE value of each CUE among the interacted CUEs meets usage requirements.
CN201710661416.1A 2017-08-04 2017-08-04 The resource allocation methods of D2D communication are supported in a kind of heterogeneous network Active CN107484245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710661416.1A CN107484245B (en) 2017-08-04 2017-08-04 The resource allocation methods of D2D communication are supported in a kind of heterogeneous network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710661416.1A CN107484245B (en) 2017-08-04 2017-08-04 The resource allocation methods of D2D communication are supported in a kind of heterogeneous network

Publications (2)

Publication Number Publication Date
CN107484245A CN107484245A (en) 2017-12-15
CN107484245B true CN107484245B (en) 2019-09-17

Family

ID=60597561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710661416.1A Active CN107484245B (en) 2017-08-04 2017-08-04 The resource allocation methods of D2D communication are supported in a kind of heterogeneous network

Country Status (1)

Country Link
CN (1) CN107484245B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600998B (en) * 2018-04-09 2020-11-17 东北大学 Cache optimization decision method for ultra-density cellular and D2D heterogeneous converged network
CN108833044B (en) * 2018-07-02 2020-04-10 东北大学 Channel reliability assessment method and optimization method in multilayer heterogeneous network
CN110049474B (en) * 2019-05-17 2020-07-17 北京邮电大学 Wireless resource allocation method, device and base station
CN110213002B (en) * 2019-06-12 2020-07-28 东北大学 A resource allocation method for NOMA and D2D fusion communication
CN110365436B (en) * 2019-07-24 2021-05-14 东北大学 A Resource Allocation Method for Integrating NOMA and D2D Communication in Heterogeneous Networks
CN112261626B (en) * 2020-10-20 2021-11-09 东北大学 D2D-assisted content-centric multi-hop cooperative routing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012066433A1 (en) * 2010-11-19 2012-05-24 Nokia Corporation Signaling mixed resource allocations for d2d communications
CN104918207A (en) * 2015-05-08 2015-09-16 上海交通大学 Multi-D2D communication resource allocation method in heterogeneous network based on frequency spectrum resource allocation
CN106912079A (en) * 2017-02-20 2017-06-30 北京邮电大学 Federated user accesses selection and resource allocation methods in one kind caching heterogeneous network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150092656A1 (en) * 2013-09-27 2015-04-02 Nokia Corporation Apparatus and method for resource allocation to support device to device broadcast and groupcast

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012066433A1 (en) * 2010-11-19 2012-05-24 Nokia Corporation Signaling mixed resource allocations for d2d communications
CN104918207A (en) * 2015-05-08 2015-09-16 上海交通大学 Multi-D2D communication resource allocation method in heterogeneous network based on frequency spectrum resource allocation
CN106912079A (en) * 2017-02-20 2017-06-30 北京邮电大学 Federated user accesses selection and resource allocation methods in one kind caching heterogeneous network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
QoS Parameter Optimization Using Multi-Objective Genetic Algorithm in MANETs;Noor M. Asraf et al;《2010 Fourth Asia International Conference on Mathematical/Analytical Modelling and Computer Simulation》;20100621;第1-6

Also Published As

Publication number Publication date
CN107484245A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107484245B (en) The resource allocation methods of D2D communication are supported in a kind of heterogeneous network
Chen et al. Cooperative edge caching with location-based and popular contents for vehicular networks
CN113784373B (en) Joint optimization method and system for time delay and spectrum occupancy in cloud-edge collaborative network
CN110098969B (en) Fog computing task unloading method for Internet of things
CN112020103B (en) Content cache deployment method in mobile edge cloud
CN105960024B (en) User&#39;s discovery and resource allocation methods in a kind of D2D communication based on social activity perception
CN108990159A (en) Federated resource distribution method based on layering game in mobile edge calculations system
CN106454700B (en) D2D communication content distribution method based on social network
CN112887999B (en) An intelligent access control and resource allocation method based on distributed A-C
CN111586696A (en) A Resource Allocation and Offloading Decision Method Based on Multi-Agent Architecture Reinforcement Learning
CN111182570A (en) User association and edge computing unloading method for improving utility of operator
CN108156596B (en) Method for supporting D2D-cellular heterogeneous network combined user association and content caching
CN111193615B (en) A method for selecting edge computing nodes in a mobile edge computing network
CN106060876B (en) A kind of method of heterogeneous wireless network equally loaded
CN111556508B (en) A Stackelberg game multi-operator dynamic spectrum sharing method for large-scale IoT access
Chen et al. Cross-layer QoE optimization for D2D communication in CR-enabled heterogeneous cellular networks
WO2018145376A1 (en) Method and system for controlling wireless devices to share bandwidth
CN111866601A (en) A Video Bit Rate Decision Method in Mobile Edge Scenarios Based on Cooperative Game
Kim 5G Network Communication, Caching, and Computing Algorithms Based on the Two‐Tier Game Model
Wang et al. On the design of computation offloading in cache-aided D2D multicast networks
CN116132403A (en) Routing distribution method, device, electronic equipment and storage medium for computing power network
CN105530707A (en) A Resource Allocation Method Based on Hybrid Optimization in Heterogeneous Convergence Scenarios
Liu et al. Resource allocation for video transcoding and delivery based on mobile edge computing and blockchain
Vo et al. QoE-oriented resource efficiency for 5G two-tier cellular networks: A femtocaching framework
Zhou et al. Cache-aware multicast beamforming design for multicell multigroup multicast

Legal Events

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