WO2019136965A1 - Resource allocation method and device - Google Patents

Resource allocation method and device Download PDF

Info

Publication number
WO2019136965A1
WO2019136965A1 PCT/CN2018/099465 CN2018099465W WO2019136965A1 WO 2019136965 A1 WO2019136965 A1 WO 2019136965A1 CN 2018099465 W CN2018099465 W CN 2018099465W WO 2019136965 A1 WO2019136965 A1 WO 2019136965A1
Authority
WO
WIPO (PCT)
Prior art keywords
pair
resource block
cellular terminal
resource
device pair
Prior art date
Application number
PCT/CN2018/099465
Other languages
French (fr)
Chinese (zh)
Inventor
马路娟
张传欣
刘宏举
Original Assignee
海信集团有限公司
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 海信集团有限公司 filed Critical 海信集团有限公司
Publication of WO2019136965A1 publication Critical patent/WO2019136965A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/563Allocation or scheduling criteria for wireless resources based on priority criteria of the wireless resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference

Definitions

  • D2D Device-to-device
  • the method for performing resource allocation on a D2D device pair includes:
  • the embodiment of the present disclosure studies the resource allocation of the D2D device pair, determines the allocation order of the D2D device pair according to the waiting delay tolerance and the amount of data to be transmitted, and allocates resources of the cellular terminal to the D2D device pair according to the determined allocation order, where The interfering D2D device has different resources allocated. Since the user has different priority expectations for different D2D device pairs in the smart home network, the allocation priority of the D2D device pair is determined, and then the corresponding D2D device pair is determined. The resource priority of each resource block in the set of cellular terminal resource blocks, thereby allocating resources for D2D device pairs with different priorities, thereby shortening the delay of data processing by the high priority D2D device.
  • different D2D device pairs need different resources according to different functions, such as D2D device pairs applied in smart home network scenarios, indoor temperature sensors and smart air conditioners, humidity sensors and smart humidifiers, fire alarms.
  • the D2D device pair consisting of mobile phones, burglar alarms and mobile phones, projection devices and computers, cameras and mobile phones, fire alarms and mobile phones, and D2D devices consisting of burglar alarms and mobile phones have the highest burstiness and delay requirements. Higher, so the first allocation of resources, and indoor temperature sensors and smart air conditioners, humidity sensors and smart humidifiers, projection equipment and computers, cameras and mobile phones need to determine the resource allocation order according to priority.
  • Such D2D devices are less in the smart home network and have a high transmission burst.
  • the feature is that the amount of data to be transmitted is small, but the latency tolerance is the highest in smart home networks, for example, on fire alarms and mobile phones. Applications corresponding to fire alarms, burglar alarms, and applications corresponding to burglar alarms on mobile phones.
  • the fire alarm's assigned priority is set to the maximum.
  • Other D2D device pairs determine the allocation order based on the latency tolerance and the amount of data to be transmitted.
  • the allocation priorities of other D2D device pairs are calculated according to the following formula 1:
  • U j is the priority assigned by the D2D device to D j ;
  • Q j is the amount of data to be transmitted of the D2D device pair D j ;
  • Tmax is the set delay tolerance maximum;
  • Tj is the delay tolerance of the D2D device to Dj .
  • the third threshold is the minimum cellular terminal sharing distance of the D2D device to the Dj transmitting device.
  • the amount of data to be transmitted of the selected D2D device pair is not greater than the second threshold, selecting at least one resource block from the selected D2D device to allocate the resource block to the selected D2D device Right; or
  • the D2D device allocates resources to the A, first determines whether the amount of data to be transmitted by the D2D device to A is greater than a second threshold, and if greater than the second threshold, the resource block set of the cellular terminal corresponding to the D2D device pair A All resource blocks are allocated to the D2D device pair A; if the amount of data to be transmitted by the D2D device to A is not greater than the second threshold, at least one resource block is selected in the resource block set of the cellular terminal corresponding to the D2D device pair A to allocate non-D2D After the device allocates resources to the A and D2D devices to the A resource, the D2D device allocates resources to the B according to the allocation order.
  • the method is the same as the D2D device allocates the A. After the D2D device allocates the resources to the B, the D2D device pairs the C. Allocate resources until all D2D device pairs have resources allocated or no resources that can be allocated. If the order of allocation of the three D2D device pairs is, the D2D device pair A is equal to the D2D device pair B, and the D2D device pair is greater than the D2D device pair, the D2D device is compared to the A and D2D device pair B to wait for the delay tolerance, waiting for delay tolerance A high D2D device allocates resources first, or randomly D2D devices allocate resources to A and D2D devices to B.
  • the second threshold is a threshold value Q lim to be transmitted. If the amount of data to be transmitted of the pair of D2D devices is greater than the threshold Q lim , since the amount of data to be transmitted by the D2D device pair is large, resources required for transmission are relatively large. And all the resource blocks in the resource block set of the corresponding cellular terminal are directly allocated to the D2D device pair, and enter a dedicated mode for transmission.
  • the D2D device pair monopolizes all resources of the cellular terminal, and the cellular terminal also needs to communicate, and then switches the cellular terminal of all resource blocks in the resource block set corresponding to the D2D device pair to WI-FI (Wireless Fidelity, wireless fidelity) Continue communication in the environment.
  • WI-FI Wireless Fidelity, wireless fidelity
  • the interfering D2D device pair here is determined based on the location of the D2D device pair.
  • the resource priority of each resource block in the resource block set of the corresponding sharable cellular terminal may be determined by the selected D2D device according to the following formula 2:
  • a D2D device pair that interferes with each other cannot share the same resource block at the same time. Therefore, after the same resource block is allocated to one D2D device pair, the other D2D device pair that interferes with the D2D device pair can no longer use the resource block, so The resource block is deleted from other D2D device pairs that interfere with the D2D device pair.
  • Step 409 The D2D device pair enters the dedicated mode, directly occupies all the resource blocks in the resource block set of the corresponding cellular terminal of the D2D device, and the cellular terminal corresponding to the resource block set switches to the WIFI network to continue communication.
  • the processor 500 is specifically configured to determine an allocation priority of other D2D device pairs according to the above formula 1.
  • the processor 500 is specifically configured to determine, according to the following manner, a resource block set of the corresponding cellular terminal by the D2D device:
  • the current highest priority and unallocated D2D device pair is selected according to the determined allocation order, and the following process is performed for the selected D2D device pair until All D2D device pairs are assigned resources or have no resources to allocate:
  • the processing module 601 is configured to determine mutually interfered D2D device pairs according to the following manners:

Landscapes

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

Abstract

Disclosed are a resource allocation method and device, the method involving: determining a sequence of allocation for D2D device pairs according to the waiting delay tolerance and the amount of data to be transmitted; and allocating resources of a cellular terminal to the D2D device pairs according to the determined allocation sequence, wherein D2D device pairs that interfere with each other have different resources allocated thereto. Since a user has different priority expectations for different D2D device pairs in a smart home network, the allocation priorities of the D2D device pairs need to be determined, and the resource priority of each resource block in a resource block set, corresponding to each D2D device pair, of the cellular terminal is then determined, thereby allocating resources for the D2D device pairs with different priorities, and thus shortening the delay in data processing by a D2D device pair with a high priority.

Description

一种进行资源分配的方法和设备Method and device for resource allocation
本申请要求在2018年1月10日提交中国专利局、申请号为201810021884.7、申请名称为“一种进行资源分配的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201810021884.7 filed on Jan. 10, 2018, the entire disclosure of which is incorporated herein by reference. In the application.
技术领域Technical field
本公开涉及无线通信技术领域,特别涉及一种进行资源分配的方法和设备。The present disclosure relates to the field of wireless communication technologies, and in particular, to a method and device for performing resource allocation.
背景技术Background technique
随着通信技术的不断发展,无线通信技术取得了飞速的发展和广泛的应用,给人们的生活带来了无限便捷。无线通信技术在快速发展的社会背景下,面临着更多的挑战,其中频谱资源的紧缺成为人们关注的问题。智慧家庭网络中物联网连接设备的数量正在快速增长,D2D(Device-to-Device,设备到设备)通信技术成为缓解频谱资源紧张、提升频谱利用率、扩大网络容量的新途径。With the continuous development of communication technology, wireless communication technology has achieved rapid development and wide application, bringing infinite convenience to people's lives. In the fast-developing social background, wireless communication technology faces more challenges, and the shortage of spectrum resources has become a concern of people. The number of IoT-connected devices in smart home networks is growing rapidly. Device-to-device (D2D) communication technology has become a new way to alleviate spectrum resources, improve spectrum utilization, and expand network capacity.
发明内容Summary of the invention
本公开提供一种进行资源分配的方法和设备,用以解决现有技术中存在的在D2D通信技术中随机分配资源时,可能会导致一些应用的D2D设备对在紧急情况下不能及时分配到资源,增加处理数据的时延问题。The present disclosure provides a method and a device for performing resource allocation, which can solve the problem that a D2D device pair that may cause some applications may not be allocated to resources in an emergency situation when the resources are randomly allocated in the D2D communication technology existing in the prior art. Increase the latency of processing data.
本公开实施例提供的对D2D设备对进行资源分配的方法包括:The method for performing resource allocation on a D2D device pair according to an embodiment of the present disclosure includes:
根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备和D2D接收设备;Determining an allocation order of the D2D device pair according to a waiting delay tolerance of the D2D device pair and an amount of data to be transmitted, where each D2D device pair includes a D2D transmitting device and a D2D receiving device;
按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。The resources of the cellular terminal are allocated to the D2D device pair according to the determined allocation order, wherein the mutually interfered D2D device pairs are different from the allocated resources.
本公开实施例还提供一种电子设备,所述电子设备包括存储器和处理器,其中,所述存储器存储计算机指令,所述计算机指令被所述处理器执行时实现:Embodiments of the present disclosure also provide an electronic device including a memory and a processor, wherein the memory stores computer instructions that are implemented when executed by the processor:
根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备和D2D接收设备;按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。Determining an allocation order of the pair of D2D devices according to a waiting delay tolerance of the pair of D2D devices and an amount of data to be transmitted, wherein each D2D device pair includes a D2D transmitting device and a D2D receiving device; and the D2D device is in accordance with the determined allocation order A resource for allocating a cellular terminal in which mutually interfered D2D devices have different resources allocated.
本公开实施例还提供一种对D2D设备对进行资源分配的设备,其特征在于,该设备包括确定模块和处理模块:An embodiment of the present disclosure further provides an apparatus for performing resource allocation on a D2D device pair, where the device includes a determining module and a processing module:
确定模块,用于根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备和D2D接收设备;a determining module, configured to determine an allocation order of the D2D device pair according to a waiting delay tolerance of the D2D device pair and an amount of data to be transmitted, where each D2D device pair includes a D2D sending device and a D2D receiving device;
处理模块,用于按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。And a processing module, configured to allocate resources of the cellular terminal to the D2D device pair according to the determined allocation order, where the mutually interfered D2D devices are different from the allocated resources.
附图说明DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following drawings will be briefly described in the description of the embodiments, and the accompanying drawings in the following description are only Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本公开实施例进行资源分配的方法流程示意图;1 is a schematic flowchart of a method for resource allocation according to an embodiment of the present disclosure;
图2为本公开实施例蜂窝终端和D2D设备对之间的干扰示意图;2 is a schematic diagram of interference between a cellular terminal and a pair of D2D devices according to an embodiment of the present disclosure;
图3为本公开实施例D2D设备对之间的干扰示意图;3 is a schematic diagram of interference between pairs of D2D devices according to an embodiment of the present disclosure;
图4为本公开实施例进行资源分配的方法的完整流程示意图;4 is a schematic diagram of a complete process of a method for resource allocation according to an embodiment of the present disclosure;
图5为本公开实施例一种电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
图6为本公开实施例资源分配的设备的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for resource allocation according to an embodiment of the present disclosure.
具体实施方式Detailed ways
D2D通信是设备之间的通过复用小区资源直接进行通信的新型技术,在一定程度上解决无线通信系统频谱资源匮乏的问题。D2D通信技术可以应用于移动蜂窝网络,以提高资源利用率和网络容量,每一个D2D通信链路占用的资源与一个蜂窝通信链路占用的相等。D2D communication is a new technology for directly communicating between devices by multiplexing cell resources, and to some extent solves the problem of lack of spectrum resources in wireless communication systems. D2D communication technology can be applied to mobile cellular networks to improve resource utilization and network capacity, and each D2D communication link occupies resources equal to one cellular communication link.
目前D2D通信技术的资源分配顺序采用随机方式进行分配,资源随机分配可能会导致一些应用的D2D设备对在紧急情况下不能及时分配到资源,增加了处理数据的时延。At present, the resource allocation order of the D2D communication technology is allocated in a random manner. The random allocation of resources may cause some application D2D device pairs to fail to allocate resources in time in an emergency, and increase the delay in processing data.
本公开实施例对D2D设备对的资源分配进行研究,根据等待时延容忍度和待传输数据量确定D2D设备对的分配顺序,按照确定的分配顺序为D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同,由于用户对智慧家庭网络中的不同的D2D设备对有不同的优先级期望,所以要确定D2D设备对的分配优先级,然后确定每个D2D设备对对应的蜂窝终端资源块集合中每个资源块的资源优先级,由此来为优先级不同的D2D设备对分配资源,从而缩短了高优先级D2D设备对对数据处理的时延。The embodiment of the present disclosure studies the resource allocation of the D2D device pair, determines the allocation order of the D2D device pair according to the waiting delay tolerance and the amount of data to be transmitted, and allocates resources of the cellular terminal to the D2D device pair according to the determined allocation order, where The interfering D2D device has different resources allocated. Since the user has different priority expectations for different D2D device pairs in the smart home network, the allocation priority of the D2D device pair is determined, and then the corresponding D2D device pair is determined. The resource priority of each resource block in the set of cellular terminal resource blocks, thereby allocating resources for D2D device pairs with different priorities, thereby shortening the delay of data processing by the high priority D2D device.
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。The present disclosure will be further described in detail with reference to the accompanying drawings, in which FIG. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
下面结合说明书附图对本公开实施例做进一步详细描述。The embodiments of the present disclosure are further described in detail below with reference to the accompanying drawings.
本公开实施例提供的一种进行资源分配的方法,如图1所示,具体包括以下步骤:A method for performing resource allocation, as shown in FIG. 1 , specifically includes the following steps:
S100、根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序;S100. Determine, according to a waiting delay tolerance of the D2D device pair and an amount of data to be transmitted, an allocation sequence of the D2D device pair.
S101、按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。S101. Allocate resources of the cellular terminal to the D2D device pair according to the determined allocation order, where mutually interfered D2D devices have different resources allocated.
本公开实施例的资源不同是指不同的蜂窝终端对应的资源块不同。Different resources of the embodiments of the present disclosure means that different resource blocks corresponding to different cellular terminals are different.
本公开实施例可以应用在智慧家庭网络场景中,也可以应用在其他具体D2D设备通信的场景中。The embodiments of the present disclosure may be applied to a smart home network scenario, or may be applied to other specific D2D device communication scenarios.
不同的应用场景,D2D设备也可不同,比如应用在智慧家庭网络场景中,则D2D设备可以是室内温度传感器、湿度传感器、空气质量报告器、火灾报警器、防盗报警器、投影设备、摄像头等。Different application scenarios, D2D devices can also be different. For example, in a smart home network scenario, the D2D device can be an indoor temperature sensor, a humidity sensor, an air quality reporter, a fire alarm, a burglar alarm, a projection device, a camera, etc. .
比如应用在车联网场景中,则D2D设备可以是智能导航、行车记录仪、无线钥匙、车内监控器等。For example, in an Internet of Vehicles scenario, the D2D device can be a smart navigation, a driving recorder, a wireless key, an in-vehicle monitor, and the like.
在实施中,不同的D2D设备对根据功能不同,需要分配的资源也不同,比如应用在智慧家庭网络场景中的D2D设备对,室内温度传感器和智能空调、湿度传感器和智能加湿器、火灾报警器和手机、防盗报警器和手机、投影设备和电脑、摄像头和手机,火灾报警器和手机组成的D2D设备对以及防盗报警器和手机组成的D2D设备对的突发性最高,对时延的要求比较高,所以最先分配资源,而室内温度传感器和智能空调、湿度传感器和智能加湿器、投影设备和电脑、摄像头和手机则需要根据优先级确定资源分配顺序。In the implementation, different D2D device pairs need different resources according to different functions, such as D2D device pairs applied in smart home network scenarios, indoor temperature sensors and smart air conditioners, humidity sensors and smart humidifiers, fire alarms. The D2D device pair consisting of mobile phones, burglar alarms and mobile phones, projection devices and computers, cameras and mobile phones, fire alarms and mobile phones, and D2D devices consisting of burglar alarms and mobile phones have the highest burstiness and delay requirements. Higher, so the first allocation of resources, and indoor temperature sensors and smart air conditioners, humidity sensors and smart humidifiers, projection equipment and computers, cameras and mobile phones need to determine the resource allocation order according to priority.
按照上面的分析,实际上可以根据等待时延容忍度和待传输数据量将D2D设备划分为四种类型:According to the above analysis, D2D devices can be divided into four types according to the waiting delay tolerance and the amount of data to be transmitted:
1.A类D2D设备对1. Class A D2D device pair
此类D2D设备对为智慧家庭网络中的大多数D2D设备对,特点是待传输数据量小,等待时延容忍度低,比如,室内温度传感器和智能空调、湿度传感器和智能加湿器、空气质量报告器和智能空气净化器、冰箱内部状态传感器和智能冰箱等。Such D2D device pairs are the majority of D2D device pairs in smart home networks, characterized by small amount of data to be transmitted and low latency tolerance, such as indoor temperature sensors and smart air conditioners, humidity sensors and smart humidifiers, air quality. Reporters and smart air purifiers, refrigerator internal status sensors and smart refrigerators.
2.B类D2D设备对2. Class B D2D equipment pair
此类D2D设备对在智慧家庭网络中数量较少,且传输突发性高,特点是待传输数据量小,但在智慧家庭网络中等待时延容忍度最高,比如,火灾报警器和手机上与火灾报警器对应的应用、防盗报警器和手机上与防盗报警器对应的应用等。Such D2D devices are less in the smart home network and have a high transmission burst. The feature is that the amount of data to be transmitted is small, but the latency tolerance is the highest in smart home networks, for example, on fire alarms and mobile phones. Applications corresponding to fire alarms, burglar alarms, and applications corresponding to burglar alarms on mobile phones.
3.C类D2D设备对3. Class C D2D equipment pair
此类D2D设备对在智慧家庭网络中基本均基于人为操控而发生,且数量也较少,特点是待传输数据量很大,对时延要求高,比如,影片投影播放器和电脑、摄像头和手机上与摄像头对应的应用等。Such D2D devices are basically based on human control in smart home networks, and the number is small. The feature is that the amount of data to be transmitted is large, and the delay is high, for example, a video projection player and a computer, a camera and The application corresponding to the camera on the mobile phone.
4.D类D2D设备对4.D class D2D device pair
此类D2D设备对特点是待传输数据量大,对时延要求低,比如,手机和智能电视的文件传输。The characteristics of such D2D devices are that the amount of data to be transmitted is large, and the delay requirement is low, for example, file transmission of mobile phones and smart televisions.
可选的,本公开实施例根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序时,将所述D2D设备对的等待时延容忍度小于第一阈值的D2D设备对的分配优先级设置为最大,以及根据D2D设备对的等待时延容忍度和待传输数据量确定其他D2D设备对的分配优先级;Optionally, when determining the allocation order of the D2D device pair according to the waiting delay tolerance of the D2D device pair and the data to be transmitted, the waiting delay tolerance of the D2D device pair is less than the first threshold. The allocation priority of the D2D device pair is set to be maximum, and the allocation priority of other D2D device pairs is determined according to the waiting delay tolerance of the D2D device pair and the amount of data to be transmitted;
按照D2D设备对的分配优先级,确定D2D设备对的分配顺序。The allocation order of the D2D device pairs is determined according to the allocation priority of the D2D device pair.
比如,火灾报警器的等待时延容忍度小于第一阈值,则将火灾报警器的分配优先级设置为最大。其它D2D设备对要根据等待时延容忍度和待传输数据量确定分配顺序。For example, if the waiting delay tolerance of the fire alarm is less than the first threshold, the fire alarm's assigned priority is set to the maximum. Other D2D device pairs determine the allocation order based on the latency tolerance and the amount of data to be transmitted.
其中,第一阈值可以是等待时延容忍度阈值T lim,等待时延容忍度小于阈值T lim的D2D设备对的分配优先级最高,比如火灾报警器的时延容忍度很小,可以将此类D2D设备对的时延容忍度设置成小于等待时延容忍度阈值T lim,分配优先级设置为最高。 The first threshold may be a waiting delay tolerance threshold T lim , and the D2D device pair having a waiting delay tolerance less than the threshold T lim has the highest allocation priority, for example, the fire alarm has a small delay tolerance, and may be used. The delay tolerance of the class D2D device pair is set to be less than the wait delay tolerance threshold T lim , and the allocation priority is set to the highest.
可选的,其它D2D设备对的分配优先级根据下列公式一计算:Optionally, the allocation priorities of other D2D device pairs are calculated according to the following formula 1:
Figure PCTCN2018099465-appb-000001
Figure PCTCN2018099465-appb-000001
其中,U j为D2D设备对D j的分配优先级;Q j为D2D设备对D j的待传输数据量;
Figure PCTCN2018099465-appb-000002
为所有D2D设备对的总的传输量;T max为设定的时延容忍 度最大值;T j为D2D设备对D j的时延容忍度。
Where U j is the priority assigned by the D2D device to D j ; Q j is the amount of data to be transmitted of the D2D device pair D j ;
Figure PCTCN2018099465-appb-000002
The total amount of transmission for all D2D device pairs; Tmax is the set delay tolerance maximum; Tj is the delay tolerance of the D2D device to Dj .
这里的T max为设定的一个等待时延容忍度,D2D设备对的等待时延容忍度在1~T max中选择一个整数来表示,数值越小表示时延越敏感。 Here, T max is a set waiting delay tolerance, and the waiting delay tolerance of the D2D device pair is represented by an integer in 1 to T max , and the smaller the value, the more sensitive the delay.
在确定了D2D设备对的分配优先级后,就可以根据分配优先级确定分配顺序,并按照分配顺序进行资源分配。After determining the allocation priority of the D2D device pair, the allocation order can be determined according to the allocation priority, and the resource allocation is performed according to the allocation order.
在为D2D设备对分配资源时,本公开实施例可以先确定每个D2D设备对对应的资源块集合,然后从资源块集合中选择资源块配置给D2D设备对。When allocating resources for a D2D device pair, the embodiment of the present disclosure may first determine a corresponding resource block set for each D2D device pair, and then select a resource block configuration from the resource block set to the D2D device pair.
具体的,根据下列方式确定D2D设备对对应的蜂窝终端的资源块集合:Specifically, the resource block set of the corresponding cellular terminal of the D2D device is determined according to the following manner:
确定与所述D2D设备对中的所述D2D发送设备距离小于第三阈值的蜂窝终端;Determining a cellular terminal that is less than a third threshold from the D2D transmitting device in the pair of D2D devices;
根据确定的所述蜂窝终端的资源块,生成D2D设备对对应的蜂窝终端的资源块集合。And generating, according to the determined resource block of the cellular terminal, a resource block set of the corresponding cellular terminal by the D2D device.
其中,第三阈值为D2D设备对D j发送设备的最小蜂窝终端共享距离
Figure PCTCN2018099465-appb-000003
The third threshold is the minimum cellular terminal sharing distance of the D2D device to the Dj transmitting device.
Figure PCTCN2018099465-appb-000003
确定每个D2D设备对的资源块集合时,可以根据网络拓扑,建立第一层干扰图,第一层干扰图用来表述蜂窝终端和D2D设备对之间的干扰。图中包含两种顶点,分别表示蜂窝终端和D2D设备对,连接两个顶点之间的边即为两个顶点之间的干扰。若两个顶点之间存在边,即表示蜂窝终端和D2D设备对之间存在无法忽略的干扰,因此D2D设备对无法共享蜂窝终端的资源块。由此可以得出每个D2D设备对D j的资源块集合H jWhen determining the resource block set of each D2D device pair, the first layer interference graph may be established according to the network topology, and the first layer interference graph is used to describe the interference between the cellular terminal and the D2D device pair. The figure contains two kinds of vertices, which represent the pair of cellular terminals and D2D devices. The edge connecting the two vertices is the interference between the two vertices. If there is an edge between two vertices, it means that there is no negligible interference between the cellular terminal and the D2D device pair, so the D2D device pair cannot share the resource block of the cellular terminal. From this, the resource block set H j of each D2D device pair D j can be derived.
如图2所示,图中所示的系统中包括3个蜂窝用户C 1,C 2和C 3,以及6个D2D设备对D 1、D 2、D 3、D 4、D 5和D 6。由于每个D2D设备对的发送设备和蜂窝终端之间存在可以保证D2D设备对的QoS(Quality of Service 服务质量)需求的最小蜂窝终端共享距离
Figure PCTCN2018099465-appb-000004
若有蜂窝终端在D2D设备对D j发送设备的最小蜂窝终端共享距离
Figure PCTCN2018099465-appb-000005
范围内,则该D2D设备对D j与该蜂窝 终端之间存在无法忽略的干扰,即该D2D设备对D j无法共享该蜂窝用户的资源块,反之,则该D2D设备对D j能共享该蜂窝终端的资源块,并将该蜂窝终端加入D2D设备对D j的对应的蜂窝终端资源块集合H j中。
As shown in Figure 2, the system shown in the figure includes three cellular users C 1 , C 2 and C 3 , and six D2D device pairs D 1 , D 2 , D 3 , D 4 , D 5 and D 6 . . Due to the presence between the transmitting device and the cellular terminal device of each pair to a D2D D2D device ensures QoS (Quality of Service, Quality of Service) cellular terminal needs a minimum distance shared
Figure PCTCN2018099465-appb-000004
If there is a cellular terminal sharing distance of the smallest cellular terminal of the D2D device to the Dj transmitting device
Figure PCTCN2018099465-appb-000005
In the range, the D2D device pair D j and the cellular terminal have unnegligible interference, that is, the D2D device pair D j cannot share the resource block of the cellular user, and vice versa, the D2D device pair D j can share the A resource block of the cellular terminal, and the cellular terminal is added to the corresponding set of cellular terminal resource blocks Hj of the D2D device pair Dj .
图2中,蜂窝终端C 1在D2D设备对D 1的最小蜂窝终端共享距离范围内,因此D2D设备对D 1无法共享蜂窝终端C 1的频谱资源,D 1和C 1之间存在干扰边,D2D设备对D 1的可共享蜂窝资源集合H 1={C 2,C 3}。同理可得,D2D设备对D 2的可共享蜂窝资源集合H 2={C 1,C 2,C 3},D2D设备对D 3的可共享蜂窝资源集合H 3={C 1,C 3},D2D设备对D 4的可共享蜂窝资源集合H 4={C 1,C 3},D2D设备对D 5的可共享蜂窝资源集合H 5={C 1,C 2},D2D设备对D 6的可共享蜂窝资源集合H 5={C 1,C 3}。 In FIG. 2, the cellular terminal C 1 D minimum D2D devices sharing a cellular terminal within a distance range, and therefore a D2D devices D can not be shared spectrum resources cellular terminal C 1, the interference between the edge and C 1 D 1, The set of sharable cellular resources of the D2D device pair D 1 H 1 ={C 2 , C 3 }. Similarly, the D2D device can share the set of contiguous cellular resources of D 2 H 2 ={C 1 , C 2 , C 3 }, the set of sharable cellular resources of the D2D device to D 3 H 3 ={C 1 , C 3 }, D2D device pair D 4 sharable cellular resource set H 4 = {C 1 , C 3 }, D2D device pair D 5 sharable cellular resource set H 5 = {C 1 , C 2 }, D2D device pair D The set of contiguous cellular resources of H 6 = {C 1 , C 3 }.
每个D2D设备对的资源块集合确定后,需要为D2D设备对分配资源。After the resource block set of each D2D device pair is determined, resources need to be allocated for the D2D device pair.
可选的,按照确定的分配顺序选择当前优先级最高且未分配的D2D设备对,并针对选择的D2D设备对执行下列过程,直到所有D2D设备对都分配资源或没有能够分配的资源为止:Optionally, the current highest priority and unallocated D2D device pair is selected according to the determined allocation order, and the following process is performed for the selected D2D device pair until all D2D device pairs allocate resources or have no resources to be allocated:
若所述选择的D2D设备对的待传输数据量不大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对;或If the amount of data to be transmitted of the selected D2D device pair is not greater than the second threshold, selecting at least one resource block from the selected D2D device to allocate the resource block to the selected D2D device Right; or
若所述选择的D2D设备对的待传输数据量大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择全部资源块分配给所述选择的D2D设备对。And if the amount of data to be transmitted of the selected D2D device pair is greater than a second threshold, selecting, from the selected D2D device, all resource blocks in the resource block set of the corresponding cellular terminal to allocate to the selected D2D device pair.
比如一共有3个D2D设备对,D2D设备对A、D2D设备对B和D2D设备对C,若3个D2D设备对的分配顺序为,D2D设备对A大于D2D设备对B,大于D2D设备对C,则先为D2D设备对A分配资源,首先判断D2D设备对A的待传输数据量是否大于第二阈值,若大于第二阈值,则将与D2D设备对A对应的蜂窝终端的资源块集合中全部资源块分配给D2D设备对A;若 D2D设备对A的待传输数据量不大于第二阈值,则在与D2D设备对A对应的蜂窝终端的资源块集合中选择至少一个资源块分配非D2D设备对A,D2D设备D对A资源分配完后,根据分配顺序为D2D设备对B分配资源,方法和D2D设备对A的分配方法一样,D2D设备对B分配完资源后,为D2D设备对C分配资源,直到所有的D2D设备对都分配资源或没有能够分配的资源为止。若3个D2D设备对的分配顺序为,D2D设备对A等于D2D设备对B,大于D2D设备对C,则比较D2D设备对A和D2D设备对B的等待时延容忍度,为等待时延容忍度高的D2D设备对先分配资源,或随机为D2D设备对A和D2D设备对B分配资源。For example, there are three D2D device pairs, D2D device pair A, D2D device pair B and D2D device pair C. If three D2D device pairs are assigned in the order, D2D device pair A is greater than D2D device pair B, and greater than D2D device pair C First, the D2D device allocates resources to the A, first determines whether the amount of data to be transmitted by the D2D device to A is greater than a second threshold, and if greater than the second threshold, the resource block set of the cellular terminal corresponding to the D2D device pair A All resource blocks are allocated to the D2D device pair A; if the amount of data to be transmitted by the D2D device to A is not greater than the second threshold, at least one resource block is selected in the resource block set of the cellular terminal corresponding to the D2D device pair A to allocate non-D2D After the device allocates resources to the A and D2D devices to the A resource, the D2D device allocates resources to the B according to the allocation order. The method is the same as the D2D device allocates the A. After the D2D device allocates the resources to the B, the D2D device pairs the C. Allocate resources until all D2D device pairs have resources allocated or no resources that can be allocated. If the order of allocation of the three D2D device pairs is, the D2D device pair A is equal to the D2D device pair B, and the D2D device pair is greater than the D2D device pair, the D2D device is compared to the A and D2D device pair B to wait for the delay tolerance, waiting for delay tolerance A high D2D device allocates resources first, or randomly D2D devices allocate resources to A and D2D devices to B.
其中,第二阈值为待传输数据量阈值Q lim,若该D2D设备对的待传输数据量大于阈值Q lim,由于该D2D设备对的待传输数据量很大,所以传输时需要的资源比较多,则直接为该D2D设备对分配对应的蜂窝终端的资源块集合中的所有资源块,并进入专用模式进行传输。该D2D设备对独占了蜂窝终端的所有资源,蜂窝终端还需要通信,则将与该D2D设备对对应的资源块集合中的所有资源块的蜂窝终端切换到WI-FI(Wireless Fidelity,无线保真)环境下继续通信。 The second threshold is a threshold value Q lim to be transmitted. If the amount of data to be transmitted of the pair of D2D devices is greater than the threshold Q lim , since the amount of data to be transmitted by the D2D device pair is large, resources required for transmission are relatively large. And all the resource blocks in the resource block set of the corresponding cellular terminal are directly allocated to the D2D device pair, and enter a dedicated mode for transmission. The D2D device pair monopolizes all resources of the cellular terminal, and the cellular terminal also needs to communicate, and then switches the cellular terminal of all resource blocks in the resource block set corresponding to the D2D device pair to WI-FI (Wireless Fidelity, wireless fidelity) Continue communication in the environment.
待传输数据量大于第二阈值的D2D设备对分配完资源后,待传输量不大于第二阈值的D2D设备对则需要从该D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给该D2D设备对。After the D2D device pair with the data volume to be transmitted is greater than the second threshold, the D2D device pair whose transmission amount is not greater than the second threshold needs to select at least one resource block from the D2D device to the corresponding resource block set of the cellular terminal. Assigned to the D2D device pair.
可选的,所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对,根据与所述选择的D2D设备对有干扰的其他D2D设备对中目标D2D设备对的数量,确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级,其中所述目标D2D设备对为对应的蜂窝终端的资源块集合与所述选择的D2D设备对的蜂窝终端的资源块集合有交集的D2D设备对;Optionally, the selecting, by the selected D2D device, selecting at least one resource block from the set of resource blocks of the corresponding cellular terminal to be allocated to the selected D2D device pair, according to interference with the selected D2D device pair Determining, by the number of the other D2D device pairs, the resource priority of each resource block in the resource block set of the corresponding cell terminal, where the target D2D device pair is the corresponding cell terminal a resource block set having a D2D device pair having an intersection with a resource block set of the cellular terminal of the selected D2D device pair;
根据确定的资源块的资源优先级,从所述选择的D2D设备对对应的蜂窝 终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对。And selecting, according to the determined resource priority of the resource block, at least one resource block from the selected D2D device to the selected D2D device pair.
这里的有干扰的D2D设备对是根据D2D设备对的位置确定的。The interfering D2D device pair here is determined based on the location of the D2D device pair.
可选的,根据下列方式确定相互干扰的D2D设备对:Optionally, the D2D device pairs that interfere with each other are determined according to the following manner:
若两个D2D设备对中D2D发送设备间的距离小于第四阈值,则确定所述两个D2D设备对为相互干扰的D2D设备对。If the distance between the D2D transmitting devices of the two D2D devices is less than the fourth threshold, it is determined that the two D2D device pairs are D2D device pairs that interfere with each other.
其中,第四阈值为D2D设备对的发送设备的最小共享距离
Figure PCTCN2018099465-appb-000006
The fourth threshold is a minimum shared distance of the sending device of the D2D device pair.
Figure PCTCN2018099465-appb-000006
确定D2D设备对之间是否存在干扰时,可以根据网络拓扑,建立第二层干扰图,由于每个D2D设备对的发送设备和另一个D2D设备对的接收设备之间存在可以保证其QoS需求的最小共享距离
Figure PCTCN2018099465-appb-000007
若有D2D设备对D i的发送设备在D2D设备对D j的接收设备的最小共享距离
Figure PCTCN2018099465-appb-000008
范围内,则该D2D设备对D j与该D2D设备对D i之间存在无法忽略的干扰,因此两个D2D设备对无法同时共享某一蜂窝终端的资源块。D2D设备对之间是否有干扰,取决于D2D设备对的位置。
When determining whether there is interference between pairs of D2D devices, a second layer interference pattern may be established according to the network topology, because there is a QoS requirement between the transmitting device of each D2D device pair and the receiving device of another D2D device pair. Minimum shared distance
Figure PCTCN2018099465-appb-000007
If there is a minimum sharing distance between the D2D device and the receiving device of the D i in the D2D device to the D j receiving device
Figure PCTCN2018099465-appb-000008
In the range, there is no negligible interference between the D2D device pair D j and the D2D device pair D i , so the two D2D device pairs cannot simultaneously share the resource blocks of a certain cellular terminal. Whether there is interference between D2D device pairs depends on the location of the D2D device pair.
如图3所示,图中所示的系统中包含6个D2D设备对D 1、D 3,D 4、D 5和D 6。若有D2D设备对D i的发送设备在D2D设备对D j的接收设备的最小共享距离
Figure PCTCN2018099465-appb-000009
范围内,则该D2D设备对D j与该D2D设备对D i之间存在无法忽略的干扰,即该D2D设备对D j与该D2D设备对D i无法共享某一蜂窝终端的资源块;若该D2D设备对D i的发送设备不在D2D设备对D j的接收设备的最小共享距离范围内,则判断D2D设备对D j的发送设备是否在D2D设备对D i的接收设备的最小共享距离范围内,如果D2D设备对D j的发送设备在D2D设备对D i的接收设备的最小共享距离范围内,则该D2D设备对D i与该D2D设备对D j之间存在无法忽略的干扰,即该D2D设备对D i与该D2D设备对D j无法共享某一蜂窝终端的资源块,若D2D设备对D j的发送设备不在D2D设备对D i的接收设备的最小共享距离范围内,则D2D设备对D j和D2D设备对 D i之间不存在干扰,双方可以共享某一蜂窝终端的资源块。
As shown in FIG. 3, the system shown in the figure includes six D2D device pairs D 1 , D 3 , D 4 , D 5 and D 6 . If there is a minimum sharing distance between the D2D device and the receiving device of the D i in the D2D device to the D j receiving device
Figure PCTCN2018099465-appb-000009
In the range, there is no negligible interference between the D2D device pair D j and the D2D device pair D i , that is, the D2D device pair D j and the D2D device pair D i cannot share the resource block of a certain cellular terminal; within this D2D equipment of D i transmitting apparatus mINIMUM receiving apparatus is not D2D devices D j distance range, it is determined whether D2D devices D j of the transmission device minimum share D2D device receiving device of D i of the distance range inside, if D j D2D equipment in the transmitting device the receiving device sharing a minimum of D i the distance D2D device, the D2D the devices D i D j D2D equipment exists between the interference can not be ignored, i.e., The D2D device pair D i and the D2D device pair D j cannot share the resource block of a certain cellular terminal, and if the D2D device pair D j transmitting device is not within the minimum shared distance range of the D2D device to the D i receiving device, the D2D There is no interference between the device pair D j and the D2D device pair D i , and the two parties can share the resource blocks of a certain cellular terminal.
图3中,D2D设备对D 2的发送设备在D2D设备对D 1的接收设备的最小共享距离范围内,因此D 1和D 2之间存在干扰边,D2D设备对D 1与其他D2D设备对之间不存在干扰边,所以D2D设备对D 1的不可共享资源块的D2D设备对的集合L 1={D 2}。同理可得,D2D设备对D 2的不可共享资源块的D2D设备对的集合L 2={D 1},D2D设备对D 3的不可共享资源块的D2D设备对的集合L 3={D 4},D2D设备对D 4的不可共享资源块的D2D设备对的集合L 4={D 3,D 5,D 6},D2D设备对D 5的不可共享频谱资源的D2D设备对的集合L 5={D 4},D2D设备对D 6的不可共享资源块的D2D设备对的集合L 6={D 4}。 In FIG. 3, the D D2D device transmitting apparatus 2 in the smallest share of the receiving apparatus 1 D distance D2D device, there is interference between the sides D 1 and D 2, D 1 and D2D devices for other devices D2D no interference between the edges, the set of non-D2D device shared resource blocks D2D pair of device D 1 L 1 = {D 2}. Similarly available, D2D device D is not set to a shared resource block pair D2D device 2 L 2 = {D 1}, D2D devices D 3 not shared resource blocks of a D2D apparatus set L 3 = {D 4 }, a set of D2D device pairs of D2D devices to D 4 non-shareable resource blocks L 4 ={D 3 , D 5 , D 6 }, a set of D2D device pairs of D2D devices to D 5 non-shareable spectrum resources 5 = {D 4 }, the set of D2D device pairs of the D2D device pair D 6 non-shareable resource blocks L 6 = {D 4 }.
根据确定的优先级分配资源,比如D2D设备对A资源块集合中一共有三个蜂窝终端对应的资源块,资源块B,资源块C,资源块D,根据资源分配优先级计算出资源块B的优先级大于资源块C,大于资源块D,则将资源块B分配给D2D设备对A使用,若根据资源分配优先级计算出资源块B的优先级等于资源块C,大于资源块D,则从资源块B和资源块C中随机选择一个资源块分配给D2D设备对A使用。Allocating resources according to the determined priority, for example, the resource block corresponding to the three cellular terminals in the A resource block set of the D2D device, the resource block B, the resource block C, and the resource block D, and calculating the resource block B according to the resource allocation priority. The priority of the resource block B is greater than the resource block C, and the resource block B is allocated to the D2D device for use by A. If the priority of the resource block B is equal to the resource block C, which is greater than the resource block D, Then, a resource block is randomly selected from the resource block B and the resource block C and allocated to the D2D device for use by A.
具体的,可以根据下列公式二,确定所述选择的D2D设备对对应的可共享蜂窝终端的资源块集合中每个资源块的资源优先级:Specifically, the resource priority of each resource block in the resource block set of the corresponding sharable cellular terminal may be determined by the selected D2D device according to the following formula 2:
Figure PCTCN2018099465-appb-000010
Figure PCTCN2018099465-appb-000010
其中,V j,i为D2D设备对D j对应的蜂窝终端C i的资源块集合中每个资源块的资源优先级;R i为蜂窝终端C i的吞吐量;R j为D2D设备对D j的吞吐量;δ j,i为与D2D设备对D j有干扰的其它D2D设备对中无法共享蜂窝终端C i的资源块的数量; ε为辅助参数;NL j为与D2D设备对D j有干扰的其它D2D设备对的数量。 Wherein, V j,i is the resource priority of each resource block in the resource block set of the cellular terminal C i corresponding to the D 2D device to D j ; R i is the throughput of the cellular terminal C i ; R j is the D2D device pair D j throughput; δ j, i for the D2D devices and other devices which interfere with D2D D j can not number of resource blocks to share cellular terminal C i; [epsilon] for the auxiliary parameter; NL and j to D j D2D devices The number of other D2D device pairs that have interference.
影响度参数δ j,i为与D2D设备对D j有干扰的其它D2D设备对中无法共享蜂窝终端C i的资源块的数量,因为与D2D设备对无法共享频谱资源的D2D设备对并不能共享蜂窝终端C i的资源块,若D2D设备对D j选择共享蜂窝终端C i的资源块,则对其它D2D设备对进行资源块选择时造成的影响最小,所以影响度参数δ j,i越大,D2D设备对D j对应的可共享蜂窝终端C i的资源块对其它D2D设备对造成的影响越小,对于D2D设备对D j而言,蜂窝终端C i的资源块的资源优先级越高,也就是说V j,i越大,资源块优先级越高。 The influence parameter δ j,i is the number of resource blocks in the other D2D device pairs that do not interfere with the D2D device pair D j that cannot share the cellular terminal C i because the D2D device pair that cannot share the spectrum resource with the D2D device pair cannot be shared. The resource block of the cellular terminal C i , if the D2D device selects the resource block of the shared cellular terminal C i for D j , the impact on the resource block selection of other D2D device pairs is minimized, so the influence parameter δ j,i is larger , D2D devices D j corresponding cellular terminal C i sharable resource block to other devices D2D impact on smaller devices for D2D D j, the resource blocks of resource cellular terminal C i of the higher priority That is , the larger the V j,i , the higher the priority of the resource block.
可选的,所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备之后,将分配的资源块从与选择的D2D设备对有干扰的其他D2D设备对对应的蜂窝终端的资源块集合中剔除。Optionally, after the selected D2D device selects at least one resource block from the set of resource blocks of the corresponding cellular terminal to be allocated to the selected D2D device, the allocated resource block is from the selected D2D device pair. Other D2D devices with interference are eliminated from the resource block set of the corresponding cellular terminal.
互相干扰的D2D设备对不能同时共享同一个资源块,所以同一个资源块分配给一个D2D设备对后,和该D2D设备对互相干扰的其它D2D设备对就不能再使用该资源块,所以要将该资源块从与该D2D设备对互相干扰的其它D2D设备对中删除。A D2D device pair that interferes with each other cannot share the same resource block at the same time. Therefore, after the same resource block is allocated to one D2D device pair, the other D2D device pair that interferes with the D2D device pair can no longer use the resource block, so The resource block is deleted from other D2D device pairs that interfere with the D2D device pair.
比如D2D设备对A和D2D设备对B是互相干扰的D2D设备对,D2D设备对A的分配优先级高于D2D设备对B,则先给D2D设备对A分配资源,假如资源块C分配给D2D设备对A,同时资源块C也是D2D设备对B的可用资源块,则在资源块C分配给D2D设备对A后,将资源块C从D2D设备对B的资源块集合中删除。For example, if the D2D device pairs the A and the D2D device to the D2D device pair that interferes with each other, and the D2D device assigns the priority to the A to the D2D device to the B, the D2D device allocates the resource to the A first, if the resource block C is allocated to the D2D. The device pair A, while the resource block C is also the available resource block of the D2D device pair B, after the resource block C is allocated to the D2D device pair A, the resource block C is deleted from the resource block set of the D2D device pair B.
如图4所示,本公开实施例对D2D设备对进行资源分配的完整方法包括:As shown in FIG. 4, the complete method for resource allocation of a D2D device pair according to an embodiment of the present disclosure includes:
步骤400、根据网络拓扑,获得每个D2D设备对对应的蜂窝终端资源块的集合和不可共享资源块的集合。Step 400: Obtain, according to the network topology, a set of corresponding cellular terminal resource blocks and a set of non-shareable resource blocks of each D2D device pair.
步骤401、判断D2D设备对等待时延容忍度是否小于第一阈值T lim,若是,则执行步骤405;否则执行步骤402。 Step 401: Determine whether the D2D device is less than the first threshold T lim for the waiting delay tolerance, and if yes, perform step 405; otherwise, perform step 402.
步骤402、确定等待时延容忍度不小于第一阈值T lim的D2D设备对的分配优先级。 Step 402: Determine an allocation priority of the D2D device pair whose waiting delay tolerance is not less than the first threshold T lim .
步骤403、按照D2D设备对分配优先级顺序,选择当前的顺序的D2D设备对。Step 403: Select a current sequential D2D device pair according to the D2D device pair assignment priority order.
步骤404、判断该D2D设备对的待传输数据量是否大于第二阈值Q lim,若是,则执行步骤404;否则执行步骤407。 Step 404: Determine whether the amount of data to be transmitted of the pair of D2D devices is greater than a second threshold Q lim , and if yes, execute step 404; otherwise, perform step 407 .
步骤405、确定D2D设备对对应的蜂窝终端资源块集合中所有资源块的资源优先级。Step 405: Determine a resource priority of the D2D device to all resource blocks in the corresponding set of cellular terminal resource blocks.
步骤406、为该D2D设备对选择与该D2D设备对对应的蜂窝终端的资源块集合中资源优先级最大的资源块进行复用,标记颜色i。此处的标记颜色只是给资源块一个标识,也可以用其它方式,比如用A,B,C等字母或数字标记。Step 406: For the D2D device, select a resource block with the highest resource priority among the resource block sets of the cellular terminal corresponding to the D2D device pair, and mark the color i. The color of the mark here is only an identifier for the resource block, and can also be marked by other means, such as letters, numbers such as A, B, and C.
步骤407、更新该D2D设备对不可共享资源块的集合中所有D2D设备对对应的蜂窝终端的资源块集合,删除所有与D2D设备对不可共享资源块集合中所有D2D设备对对应的资源块集合中标记颜色i的资源块。Step 407: Update the resource block set of the corresponding cell terminal of all D2D device pairs in the set of non-shared resource blocks by the D2D device, and delete all resource block sets corresponding to all D2D device pairs in the unshared resource block set of the D2D device pair. Mark the resource block for color i.
步骤408、判断使用完成着色后的D2D设备对的资源块总数量是否大于x max,若是,则执行步骤410,否则执行步骤404,继续为该资源块选择合适的颜色进行着色。其中,x max为不大于第二阈值Q lim的D2D设备对的数量与蜂窝终端数量的比值的最大整数,假设不大于第二阈值Q lim的D2D设备对的数量为M,蜂窝终端数量为H,(M>H),即
Figure PCTCN2018099465-appb-000011
Step 408: Determine whether the total number of resource blocks of the pair of D2D devices that have been colored is greater than x max . If yes, execute step 410. Otherwise, perform step 404 to continue selecting a suitable color for the resource block to perform coloring. Where x max is the largest integer of the ratio of the number of D2D device pairs not greater than the second threshold Q lim to the number of cellular terminals, assuming that the number of D2D device pairs not greater than the second threshold Q lim is M, and the number of cellular terminals is H , (M>H), ie
Figure PCTCN2018099465-appb-000011
步骤409、该D2D设备对进入专用模式,直接占用该D2D设备对对应的蜂窝终端的资源块集合中所有的资源块,与该资源块集合对应的蜂窝终端切换到WIFI网络继续通信。Step 409: The D2D device pair enters the dedicated mode, directly occupies all the resource blocks in the resource block set of the corresponding cellular terminal of the D2D device, and the cellular terminal corresponding to the resource block set switches to the WIFI network to continue communication.
步骤410、判断是否还有D2D设备对未分配资源,若是则返回步骤403,为下一个优先级的D2D设备对进行着色,否则资源分配结束。Step 410: Determine whether there is still a D2D device pair unallocated resource. If yes, return to step 403 to color the next priority D2D device pair, otherwise the resource allocation ends.
如图5所示,本公开实施例提供一种电子设备,该设备包括:处理器500和存储器501,其中,所述存储器501存储计算机指令,所述计算机指令被所述处理器500执行时实现:As shown in FIG. 5, an embodiment of the present disclosure provides an electronic device, including: a processor 500 and a memory 501, wherein the memory 501 stores computer instructions that are implemented when the processor 500 is executed by the processor 500. :
根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备和D2D接收设备;按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。Determining an allocation order of the pair of D2D devices according to a waiting delay tolerance of the pair of D2D devices and an amount of data to be transmitted, wherein each D2D device pair includes a D2D transmitting device and a D2D receiving device; and the D2D device is in accordance with the determined allocation order A resource for allocating a cellular terminal in which mutually interfered D2D devices have different resources allocated.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
所述根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序时,将所述D2D设备对的等待时延容忍度小于第一阈值的D2D设备对的分配优先级设置为最大,以及根据D2D设备对的等待时延容忍度和待传输数据量确定其他D2D设备对的分配优先级;按照D2D设备对的分配优先级,确定D2D设备对的分配顺序。And determining, according to the waiting delay tolerance of the D2D device pair and the data volume to be transmitted, the allocation order of the D2D device pair with the waiting delay tolerance of the D2D device pair being less than the first threshold The priority is set to the maximum, and the allocation priority of the other D2D device pairs is determined according to the waiting delay tolerance of the D2D device pair and the amount of data to be transmitted; and the allocation order of the D2D device pairs is determined according to the allocation priority of the D2D device pair.
可选的,所述处理器500具体用于,根据上面的公式一确定其他D2D设备对的分配优先级。Optionally, the processor 500 is specifically configured to determine an allocation priority of other D2D device pairs according to the above formula 1.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
所述按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源时,按照确定的分配顺序选择当前优先级最高且未分配的D2D设备对,并针对选择的D2D设备对执行下列过程,直到所有D2D设备对都分配资源或没有能够分配的资源为止:When the resource of the cellular terminal is allocated to the D2D device pair according to the determined allocation order, the current highest priority and unallocated D2D device pair is selected according to the determined allocation order, and the following process is performed for the selected D2D device pair until All D2D device pairs are assigned resources or have no resources to allocate:
若所述选择的D2D设备对的待传输数据量不大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对;或If the amount of data to be transmitted of the selected D2D device pair is not greater than the second threshold, selecting at least one resource block from the selected D2D device to allocate the resource block to the selected D2D device Right; or
若所述选择的D2D设备对的待传输数据量大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择全部资源块分配给所述选择的D2D设备对。And if the amount of data to be transmitted of the selected D2D device pair is greater than a second threshold, selecting, from the selected D2D device, all resource blocks in the resource block set of the corresponding cellular terminal to allocate to the selected D2D device pair.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对时,根据与所述选择的D2D设备对有干扰的其他D2D设备对中目标D2D设备对的数量,确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级,其中所述目标D2D设备对为对应的蜂窝终端的资源块集合与所述选择的D2D设备对的蜂窝终端的资源块集合有交集的D2D设备对;根据确定的资源块的资源优先级,从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对。And selecting, when the selected D2D device selects at least one resource block from the resource block set of the corresponding cellular terminal to be allocated to the selected D2D device pair, according to another D2D device that interferes with the selected D2D device pair Determining, by the number of the pair of target D2D device pairs, a resource priority of each resource block in the resource block set of the corresponding cell terminal of the selected D2D device, where the target D2D device pair is a resource block of the corresponding cell terminal And a D2D device pair having an intersection with a resource block set of the selected one of the selected D2D device pairs; according to the determined resource priority of the resource block, from the selected D2D device pair to the corresponding resource block set of the cellular terminal At least one resource block is selected for allocation to the selected D2D device pair.
可选的,所述处理器500具体用于,根据下列方式确定D2D设备对对应的蜂窝终端的资源块集合:Optionally, the processor 500 is specifically configured to determine, according to the following manner, a resource block set of the corresponding cellular terminal by the D2D device:
确定与所述D2D设备对中的所述D2D发送设备距离小于第三阈值的蜂窝终端;根据确定的所述蜂窝终端的资源块,生成D2D设备对对应的蜂窝终端的资源块集合。Determining a cellular terminal that is less than a third threshold from the D2D transmitting device in the D2D device pair; and generating, according to the determined resource block of the cellular terminal, a resource block set of the corresponding cellular terminal by the D2D device.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中至少一个资源块分配给所述选择的D2D设备对后,将分配的资源块从与选择的D2D设备对有干扰的其他D2D设备对对应的蜂窝终端的资源块集合中剔除。After the selected D2D device allocates at least one resource block of the corresponding resource block set of the corresponding cellular terminal to the selected D2D device pair, the allocated resource block is interfered with from the selected D2D device pair. The D2D device rejects the resource block set of the corresponding cellular terminal.
可选的,所述处理器500具体用于,根据上面的公式二确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级。Optionally, the processor 500 is specifically configured to determine, according to Equation 2 above, a resource priority of each resource block in the resource block set of the corresponding cellular terminal by the selected D2D device.
可选的,所述处理器500用于,根据下列方式确定相互干扰的D2D设备对:Optionally, the processor 500 is configured to determine mutually interfered D2D device pairs according to the following manners:
若两个D2D设备对中D2D发送设备间的距离小于第四阈值,则确定所述两个D2D设备对为相互干扰的D2D设备对。If the distance between the D2D transmitting devices of the two D2D devices is less than the fourth threshold, it is determined that the two D2D device pairs are D2D device pairs that interfere with each other.
如图6所示,本公开实施例提供一种对D2D设备对进行资源分配的设备,包括确定模块600和处理模块601:As shown in FIG. 6, an embodiment of the present disclosure provides an apparatus for performing resource allocation on a D2D device pair, including a determining module 600 and a processing module 601:
确定模块600,用于根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备 和D2D接收设备;a determining module 600, configured to determine an allocation order of the D2D device pair according to a waiting delay tolerance of the D2D device pair and an amount of data to be transmitted, where each D2D device pair includes a D2D transmitting device and a D2D receiving device;
处理模块601,用于按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。The processing module 601 is configured to allocate resources of the cellular terminal to the D2D device pair according to the determined allocation sequence, where the mutually interfered D2D devices are different from the allocated resources.
可选的,所述处理模块601具体用于:Optionally, the processing module 601 is specifically configured to:
所述根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序时,将所述D2D设备对的等待时延容忍度小于第一阈值的D2D设备对的分配优先级设置为最大,以及根据D2D设备对的等待时延容忍度和待传输数据量确定其他D2D设备对的分配优先级;按照D2D设备对的分配优先级,确定D2D设备对的分配顺序。And determining, according to the waiting delay tolerance of the D2D device pair and the data volume to be transmitted, the allocation order of the D2D device pair with the waiting delay tolerance of the D2D device pair being less than the first threshold The priority is set to the maximum, and the allocation priority of the other D2D device pairs is determined according to the waiting delay tolerance of the D2D device pair and the amount of data to be transmitted; and the allocation order of the D2D device pairs is determined according to the allocation priority of the D2D device pair.
可选的,所述处理模块601具体用于,根据上面的公式一确定其他D2D设备对的分配优先级。Optionally, the processing module 601 is specifically configured to determine an allocation priority of other D2D device pairs according to the above formula 1.
可选的,所述处理模块601具体用于:Optionally, the processing module 601 is specifically configured to:
所述按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源时,按照确定的分配顺序选择当前优先级最高且未分配的D2D设备对,并针对选择的D2D设备对执行下列过程,直到所有D2D设备对都分配资源或没有能够分配的资源为止:When the resource of the cellular terminal is allocated to the D2D device pair according to the determined allocation order, the current highest priority and unallocated D2D device pair is selected according to the determined allocation order, and the following process is performed for the selected D2D device pair until All D2D device pairs are assigned resources or have no resources to allocate:
若所述选择的D2D设备对的待传输数据量不大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对;或If the amount of data to be transmitted of the selected D2D device pair is not greater than the second threshold, selecting at least one resource block from the selected D2D device to allocate the resource block to the selected D2D device Right; or
若所述选择的D2D设备对的待传输数据量大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择全部资源块分配给所述选择的D2D设备对。And if the amount of data to be transmitted of the selected D2D device pair is greater than a second threshold, selecting, from the selected D2D device, all resource blocks in the resource block set of the corresponding cellular terminal to allocate to the selected D2D device pair.
可选的,所述处理模块601具体用于:Optionally, the processing module 601 is specifically configured to:
所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对时,根据与所述选择的D2D设备对有干扰的其他D2D设备对中目标D2D设备对的数量,确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级,其中所述 目标D2D设备对为对应的蜂窝终端的资源块集合与所述选择的D2D设备对的蜂窝终端的资源块集合有交集的D2D设备对;根据确定的资源块的资源优先级,从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对。And selecting, when the selected D2D device selects at least one resource block from the resource block set of the corresponding cellular terminal to be allocated to the selected D2D device pair, according to another D2D device that interferes with the selected D2D device pair Determining, by the number of the pair of target D2D device pairs, a resource priority of each resource block in the resource block set of the corresponding cell terminal of the selected D2D device, where the target D2D device pair is a resource block of the corresponding cell terminal And a D2D device pair having an intersection with a resource block set of the selected one of the selected D2D device pairs; according to the determined resource priority of the resource block, from the selected D2D device pair to the corresponding resource block set of the cellular terminal At least one resource block is selected for allocation to the selected D2D device pair.
可选的,所述处理模块601具体用于,根据下列方式确定D2D设备对对应的蜂窝终端的资源块集合:Optionally, the processing module 601 is specifically configured to determine, according to the following manner, a resource block set of the corresponding cellular terminal by the D2D device:
确定与所述D2D设备对中的所述D2D发送设备距离小于第三阈值的蜂窝终端;根据确定的所述蜂窝终端的资源块,生成D2D设备对对应的蜂窝终端的资源块集合。Determining a cellular terminal that is less than a third threshold from the D2D transmitting device in the D2D device pair; and generating, according to the determined resource block of the cellular terminal, a resource block set of the corresponding cellular terminal by the D2D device.
可选的,所述处理模块601具体用于:Optionally, the processing module 601 is specifically configured to:
所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中至少一个资源块分配给所述选择的D2D设备对后,将分配的资源块从与选择的D2D设备对有干扰的其他D2D设备对对应的蜂窝终端的资源块集合中剔除。After the selected D2D device allocates at least one resource block of the corresponding resource block set of the corresponding cellular terminal to the selected D2D device pair, the allocated resource block is interfered with from the selected D2D device pair. The D2D device rejects the resource block set of the corresponding cellular terminal.
可选的,所述处理模块601具体用于,根据上面的公式二确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级。Optionally, the processing module 601 is specifically configured to determine, according to the foregoing formula 2, a resource priority of each resource block in the resource block set of the corresponding cell terminal by the selected D2D device.
可选的,所述处理模块601用于,根据下列方式确定相互干扰的D2D设备对:Optionally, the processing module 601 is configured to determine mutually interfered D2D device pairs according to the following manners:
若两个D2D设备对中D2D发送设备间的距离小于第四阈值,则确定所述两个D2D设备对为相互干扰的D2D设备对。If the distance between the D2D transmitting devices of the two D2D devices is less than the fourth threshold, it is determined that the two D2D device pairs are D2D device pairs that interfere with each other.
本公开实施例还提供一种计算机可读非易失性存储介质,包括程序代码,当所述程序代码在计算设备上运行时,所述程序代码用于使所述计算设备执行本公开实施例系统中进行资源分配的方法的步骤。Embodiments of the present disclosure also provide a computer readable non-volatile storage medium comprising program code for causing the computing device to perform an embodiment of the present disclosure when the program code is run on a computing device The steps of the method of resource allocation in the system.
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数 据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application has been described above with reference to block diagrams and/or flowchart illustrations of a method, apparatus (system) and/or computer program product according to embodiments of the present application. It will be understood that one block of the block diagrams and/or flowchart illustrations and combinations of blocks of the block diagrams and/or flowchart illustrations can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer, and/or other programmable data processing apparatus to produce a machine such that instructions for execution via a computer processor and/or other programmable data processing apparatus are created for A method of implementing the functions/actions specified in the block diagrams and/or flowchart blocks.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system. In the context of the present application, a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, it is intended that the present invention cover the modifications and the modifications

Claims (19)

  1. 一种进行资源分配的方法,其特征在于,该方法包括:A method for resource allocation, characterized in that the method comprises:
    根据设备到设备D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备和D2D接收设备;Determining an allocation order of the D2D device pair according to a waiting delay tolerance of the device-to-device D2D device pair and an amount of data to be transmitted, where each D2D device pair includes a D2D transmitting device and a D2D receiving device;
    按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。The resources of the cellular terminal are allocated to the D2D device pair according to the determined allocation order, wherein the mutually interfered D2D device pairs are different from the allocated resources.
  2. 如权利要求1所述的方法,其特征在于,所述根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,包括:The method according to claim 1, wherein the determining the allocation order of the pair of D2D devices according to the waiting delay tolerance of the pair of D2D devices and the amount of data to be transmitted comprises:
    将所述D2D设备对的等待时延容忍度小于第一阈值的D2D设备对的分配优先级设置为最大,以及根据D2D设备对的等待时延容忍度和待传输数据量确定其他D2D设备对的分配优先级;Setting an allocation priority of the D2D device pair whose waiting delay tolerance is less than the first threshold to the maximum of the D2D device pair, and determining other D2D device pairs according to the waiting delay tolerance of the D2D device pair and the amount of data to be transmitted. Assign priority
    按照D2D设备对的分配优先级,确定D2D设备对的分配顺序。The allocation order of the D2D device pairs is determined according to the allocation priority of the D2D device pair.
  3. 如权利要求2所述的方法,其特征在于,根据下列公式确定其他D2D设备对的分配优先级:The method of claim 2 wherein the assigning priorities of the other D2D device pairs are determined according to the following formula:
    Figure PCTCN2018099465-appb-100001
    Figure PCTCN2018099465-appb-100001
    其中,U j为D2D设备对D j的分配优先级;Q j为D2D设备对D j的待传输数据量;
    Figure PCTCN2018099465-appb-100002
    为所有D2D设备对的总的传输量;T max为设定的时延容忍度最大值;T j为D2D设备对D j的时延容忍度。
    Where U j is the priority assigned by the D2D device to D j ; Q j is the amount of data to be transmitted of the D2D device pair D j ;
    Figure PCTCN2018099465-appb-100002
    The total amount of transmission for all D2D device pairs; Tmax is the set delay tolerance maximum; Tj is the delay tolerance of the D2D device to Dj .
  4. 如权利要求1所述的方法,其特征在于,所述按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,包括:The method according to claim 1, wherein the allocating resources of the cellular terminal to the D2D device pair according to the determined allocation order comprises:
    按照确定的分配顺序选择当前优先级最高且未分配的D2D设备对,并针对选择的D2D设备对执行下列过程,直到所有D2D设备对都分配资源或没有 能够分配的资源为止:The current highest priority and unallocated D2D device pair is selected according to the determined allocation order, and the following process is performed for the selected D2D device pair until all D2D device pairs have resources allocated or resources that can be allocated:
    若所述选择的D2D设备对的待传输数据量不大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对;If the amount of data to be transmitted of the selected D2D device pair is not greater than the second threshold, selecting at least one resource block from the selected D2D device to allocate the resource block to the selected D2D device Correct;
    若所述选择的D2D设备对的待传输数据量大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择全部资源块分配给所述选择的D2D设备对。And if the amount of data to be transmitted of the selected D2D device pair is greater than a second threshold, selecting, from the selected D2D device, all resource blocks in the resource block set of the corresponding cellular terminal to allocate to the selected D2D device pair.
  5. 如权利要求4所述的方法,其特征在于,所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对,包括:The method of claim 4, wherein the selecting, by the selected D2D device, the selecting at least one resource block from the set of resource blocks of the corresponding cellular terminal to the selected D2D device pair comprises:
    根据与所述选择的D2D设备对有干扰的其他D2D设备对中目标D2D设备对的数量,确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级,其中所述目标D2D设备对为对应的蜂窝终端的资源块集合与所述选择的D2D设备对的蜂窝终端的资源块集合有交集的D2D设备对;Determining, according to the number of the target D2D device pairs of the other D2D device pairs that interfere with the selected D2D device pair, the resource priority of each of the resource blocks in the resource block set of the corresponding cellular terminal by the selected D2D device, The target D2D device pair is a D2D device pair having a resource block set of the corresponding cell terminal and a resource block set of the cell terminal of the selected D2D device pair;
    根据确定的资源块的资源优先级,从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对。And selecting, according to the determined resource priority of the resource block, at least one resource block from the selected D2D device to the selected D2D device pair.
  6. 如权利要求5所述的方法,其特征在于,根据下列方式确定D2D设备对对应的蜂窝终端的资源块集合:The method according to claim 5, wherein the resource block set of the corresponding cellular terminal by the D2D device is determined according to the following manner:
    确定与所述D2D设备对中的所述D2D发送设备距离小于第三阈值的蜂窝终端;Determining a cellular terminal that is less than a third threshold from the D2D transmitting device in the pair of D2D devices;
    根据确定的所述蜂窝终端的资源块,生成D2D设备对对应的蜂窝终端的资源块集合。And generating, according to the determined resource block of the cellular terminal, a resource block set of the corresponding cellular terminal by the D2D device.
  7. 如权利要求5所述的方法,其特征在于,所述从所述选择的D2D设备对对应的蜂窝终端的资源块集合中至少一个资源块分配给所述选择的D2D设备对之后,还包括:The method of claim 5, after the assigning, by the selected D2D device, the at least one resource block of the resource block set of the corresponding cellular terminal to the selected D2D device pair, the method further includes:
    将分配的资源块从与选择的D2D设备对有干扰的其他D2D设备对对应的 蜂窝终端的资源块集合中剔除。The allocated resource blocks are rejected from the resource block set of the cellular terminal corresponding to the other D2D device pair that has interference with the selected D2D device pair.
  8. 如权利要求5所述的方法,其特征在于,根据下列公式确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级:The method according to claim 5, wherein the resource priority of each of the resource blocks in the resource block set of the corresponding cellular terminal is determined by the selected D2D device according to the following formula:
    Figure PCTCN2018099465-appb-100003
    Figure PCTCN2018099465-appb-100003
    其中,V j,i为D2D设备对D j对应的蜂窝终端C i的资源块集合中每个资源块的资源优先级;R i为蜂窝终端C i的吞吐量;R j为D2D设备对D j的吞吐量;δ j,i为与D2D设备对D j有干扰的其它D2D设备对中无法共享蜂窝终端C i的资源块的数量; ε为辅助参数;NL j为与D2D设备对D j有干扰的其它D2D设备对的数量。 Wherein, V j,i is the resource priority of each resource block in the resource block set of the cellular terminal C i corresponding to the D 2D device to D j ; R i is the throughput of the cellular terminal C i ; R j is the D2D device pair D j throughput; δ j, i for the D2D devices and other devices which interfere with D2D D j can not number of resource blocks to share cellular terminal C i; [epsilon] for the auxiliary parameter; NL and j to D j D2D devices The number of other D2D device pairs that have interference.
  9. 如权利要求1~8任一所述的方法,其特征在于,根据下列方式确定相互干扰的D2D设备对:The method according to any one of claims 1 to 8, wherein the mutually interfering D2D device pairs are determined according to the following manner:
    若两个D2D设备对中D2D发送设备间的距离小于第四阈值,则确定所述两个D2D设备对为相互干扰的D2D设备对。If the distance between the D2D transmitting devices of the two D2D devices is less than the fourth threshold, it is determined that the two D2D device pairs are D2D device pairs that interfere with each other.
  10. 一种电子设备,其特征在于,所述电子设备包括存储器和处理器,其中,所述存储器存储计算机指令,所述计算机指令被所述处理器执行时实现:An electronic device, comprising: a memory and a processor, wherein the memory stores computer instructions that are implemented when executed by the processor:
    根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序,其中每个D2D设备对包括D2D发送设备和D2D接收设备;按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源,其中相互干扰的D2D设备对分配的资源不同。Determining an allocation order of the pair of D2D devices according to a waiting delay tolerance of the pair of D2D devices and an amount of data to be transmitted, wherein each D2D device pair includes a D2D transmitting device and a D2D receiving device; and the D2D device is in accordance with the determined allocation order A resource for allocating a cellular terminal in which mutually interfered D2D devices have different resources allocated.
  11. 如权利要求10所述的设备,其特征在于,所述处理器具体用于:The device according to claim 10, wherein the processor is specifically configured to:
    根据D2D设备对的等待时延容忍度和待传输数据量确定所述D2D设备对的分配顺序时,将所述D2D设备对的等待时延容忍度小于第一阈值的D2D设备对的分配优先级设置为最大,以及根据D2D设备对的等待时延容忍度和待 传输数据量确定其他D2D设备对的分配优先级;按照D2D设备对的分配优先级,确定D2D设备对的分配顺序。And determining, according to the waiting delay tolerance of the D2D device pair and the data volume to be transmitted, the allocation priority of the D2D device pair with the waiting delay tolerance of the D2D device pair being less than the first threshold. Set to maximum, and determine the allocation priority of other D2D device pairs according to the waiting delay tolerance of the D2D device pair and the amount of data to be transmitted; determine the allocation order of the D2D device pair according to the allocation priority of the D2D device pair.
  12. 如权利要求11所述的设备,其特征在于,所述处理器具体用于,根据下列公式确定其他D2D设备对的分配优先级:The device according to claim 11, wherein the processor is specifically configured to determine an allocation priority of other D2D device pairs according to the following formula:
    Figure PCTCN2018099465-appb-100004
    Figure PCTCN2018099465-appb-100004
    其中,U j为D2D设备对D j的分配优先级;Q j为D2D设备对D j的待传输数据量;
    Figure PCTCN2018099465-appb-100005
    为所有D2D设备对的总的传输量;T max为设定的时延容忍度最大值;T j为D2D设备对D j的时延容忍度。
    Where U j is the priority assigned by the D2D device to D j ; Q j is the amount of data to be transmitted of the D2D device pair D j ;
    Figure PCTCN2018099465-appb-100005
    The total amount of transmission for all D2D device pairs; Tmax is the set delay tolerance maximum; Tj is the delay tolerance of the D2D device to Dj .
  13. 如权利要求10所述的设备,其特征在于,所述处理器具体用于:The device according to claim 10, wherein the processor is specifically configured to:
    按照确定的分配顺序为所述D2D设备对分配蜂窝终端的资源时,按照确定的分配顺序选择当前优先级最高且未分配的D2D设备对,并针对选择的D2D设备对执行下列过程,直到所有D2D设备对都分配资源或没有能够分配的资源为止:When the resources of the cellular terminal are allocated to the D2D device pair according to the determined allocation order, the current highest priority and unallocated D2D device pair is selected according to the determined allocation order, and the following process is performed for the selected D2D device pair until all D2D Device pairs are all allocated resources or have no resources to allocate:
    若所述选择的D2D设备对的待传输数据量不大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对;或If the amount of data to be transmitted of the selected D2D device pair is not greater than the second threshold, selecting at least one resource block from the selected D2D device to allocate the resource block to the selected D2D device Right; or
    若所述选择的D2D设备对的待传输数据量大于第二阈值,则从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择全部资源块分配给所述选择的D2D设备对。And if the amount of data to be transmitted of the selected D2D device pair is greater than a second threshold, selecting, from the selected D2D device, all resource blocks in the resource block set of the corresponding cellular terminal to allocate to the selected D2D device pair.
  14. 如权利要求13所述的设备,其特征在于,所述处理器具体用于:The device according to claim 13, wherein the processor is specifically configured to:
    从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对时,根据与所述选择的D2D设备对有干扰的其他D2D设备对中目标D2D设备对的数量,确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级,其中所述目标 D2D设备对为对应的蜂窝终端的资源块集合与所述选择的D2D设备对的蜂窝终端的资源块集合有交集的D2D设备对;根据确定的资源块的资源优先级,从所述选择的D2D设备对对应的蜂窝终端的资源块集合中选择至少一个资源块分配给所述选择的D2D设备对。And selecting, when the selected D2D device selects at least one resource block from the set of resource blocks of the corresponding cellular terminal, to the selected D2D device pair, according to other D2D devices that interfere with the selected D2D device pair. Determining, by the number of target D2D device pairs, a resource priority of each resource block in the resource block set of the corresponding cellular terminal by the selected D2D device, wherein the target D2D device pair is a resource block set of the corresponding cellular terminal The resource block set of the selected terminal of the D2D device pair has an intersecting D2D device pair; and according to the determined resource priority of the resource block, select at least the selected D2D device from the resource block set of the corresponding cellular terminal A resource block is allocated to the selected D2D device pair.
  15. 如权利要求14所述的设备,其特征在于,所述处理器具体用于,根据下列方式确定D2D设备对对应的蜂窝终端的资源块集合:The device according to claim 14, wherein the processor is specifically configured to determine, according to the following manner, a resource block set of the corresponding cellular terminal by the D2D device:
    确定与所述D2D设备对中的所述D2D发送设备距离小于第三阈值的蜂窝终端;根据确定的所述蜂窝终端的资源块,生成D2D设备对对应的蜂窝终端的资源块集合。Determining a cellular terminal that is less than a third threshold from the D2D transmitting device in the D2D device pair; and generating, according to the determined resource block of the cellular terminal, a resource block set of the corresponding cellular terminal by the D2D device.
  16. 如权利要求14所述的设备,其特征在于,所述处理器还用于:The device of claim 14, wherein the processor is further configured to:
    从所述选择的D2D设备对对应的蜂窝终端的资源块集合中至少一个资源块分配给所述选择的D2D设备对后,将分配的资源块从与选择的D2D设备对有干扰的其他D2D设备对对应的蜂窝终端的资源块集合中剔除。After the selected D2D device allocates at least one resource block of the corresponding resource block set of the corresponding cellular terminal to the selected D2D device pair, the allocated resource block is from another D2D device that interferes with the selected D2D device pair. Eliminated from the set of resource blocks of the corresponding cellular terminal.
  17. 如权利要求14所述的设备,其特征在于,所述处理器具体用于,根据下列公式确定所述选择的D2D设备对对应的蜂窝终端的资源块集合中每个资源块的资源优先级:The device according to claim 14, wherein the processor is specifically configured to determine, according to the following formula, a resource priority of each resource block in the resource block set of the corresponding cellular terminal by the selected D2D device:
    Figure PCTCN2018099465-appb-100006
    Figure PCTCN2018099465-appb-100006
    其中,V j,i为D2D设备对D j对应的蜂窝终端C i的资源块集合中每个资源块的资源优先级;R i为蜂窝终端C i的吞吐量;R j为D2D设备对D j的吞吐量;δ j,i为与D2D设备对D j有干扰的其它D2D设备对中无法共享蜂窝终端C i的资源块的数量; ε为辅助参数;NL j为与D2D设备对D j有干扰的其它D2D设备对的数量。 Wherein, V j,i is the resource priority of each resource block in the resource block set of the cellular terminal C i corresponding to the D 2D device to D j ; R i is the throughput of the cellular terminal C i ; R j is the D2D device pair D j throughput; δ j, i for the D2D devices and other devices which interfere with D2D D j can not number of resource blocks to share cellular terminal C i; [epsilon] for the auxiliary parameter; NL and j to D j D2D devices The number of other D2D device pairs that have interference.
  18. 如权利要求10~17任一所述的设备,其特征在于,所述处理器具体用于,根据下列方式确定相互干扰的D2D设备对:The device according to any one of claims 10 to 17, wherein the processor is specifically configured to determine mutually interfered D2D device pairs according to the following manners:
    若两个D2D设备对中D2D发送设备间的距离小于第四阈值,则确定所述两个D2D设备对为相互干扰的D2D设备对。If the distance between the D2D transmitting devices of the two D2D devices is less than the fourth threshold, it is determined that the two D2D device pairs are D2D device pairs that interfere with each other.
  19. 一种机器可读的非易失性存储介质,其特征在于,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1~9任一所述方法的步骤。A machine readable non-volatile storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the method of any of claims 1-9.
PCT/CN2018/099465 2018-01-10 2018-08-08 Resource allocation method and device WO2019136965A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810021884.7 2018-01-10
CN201810021884.7A CN108462999B (en) 2018-01-10 2018-01-10 Method and equipment for resource allocation

Publications (1)

Publication Number Publication Date
WO2019136965A1 true WO2019136965A1 (en) 2019-07-18

Family

ID=63220525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099465 WO2019136965A1 (en) 2018-01-10 2018-08-08 Resource allocation method and device

Country Status (2)

Country Link
CN (1) CN108462999B (en)
WO (1) WO2019136965A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115462116A (en) * 2020-04-29 2022-12-09 华为技术有限公司 Communication method and device
WO2024060524A1 (en) * 2022-09-21 2024-03-28 网络通信与安全紫金山实验室 Resource allocation method and apparatus, resource scheduling method, and device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168146B (en) * 2018-11-23 2020-04-07 西安电子科技大学 MTC transmission method supporting hybrid licensed-unlicensed frequency bands
CN111565445B (en) * 2019-02-13 2021-06-04 海信集团有限公司 Method and equipment for base station to carry out resource scheduling and power control on terminal
CN111598405B (en) * 2020-04-21 2021-09-07 五八有限公司 Resource allocation method and server
CN111711688B (en) * 2020-06-16 2023-02-28 阿波罗智能技术(北京)有限公司 Data transmission method, device and equipment based on transmitter and storage medium
CN112235764B (en) * 2020-11-02 2024-04-05 深圳市中诺通讯有限公司 D2D terminal mode switching method under heterogeneous network mixed networking
CN116203911B (en) * 2023-05-05 2023-08-01 长飞光纤光缆股份有限公司 Optical fiber preform deposition workshop process test rod throwing scheduling method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475992A (en) * 2013-08-26 2013-12-25 北京邮电大学 Method and device for allocating resources
CN104754748A (en) * 2013-12-27 2015-07-01 电信科学技术研究院 D2D (device to device) resource allocation method, D2D data transmission method and device
CN105472751A (en) * 2015-12-24 2016-04-06 山东大学 Method for allocating joint resources of D2D communication system based on cellular network
CN107534829A (en) * 2015-04-01 2018-01-02 三星电子株式会社 Method and apparatus for the processing priority in D2D communication systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929776B (en) * 2013-01-14 2018-03-23 中兴通讯股份有限公司 A kind of jamming control method and device of MTC device access network
CN104105217B (en) * 2013-04-15 2019-03-29 上海诺基亚贝尔股份有限公司 For multiple equipment to equipment allocation of communications resource allocation method and device
CN104125610B (en) * 2013-04-28 2017-11-10 电信科学技术研究院 Data transmission method for uplink and equipment in D2D communications
CN104185281B (en) * 2013-05-22 2018-06-26 电信科学技术研究院 Resource distribution and resource using method and device in a kind of D2D communications
JP6239280B2 (en) * 2013-06-27 2017-11-29 京セラ株式会社 User terminal, processor and mobile communication system
CN104717755B (en) * 2015-03-20 2019-04-16 西安交通大学 The down frequency spectrum resources distribution method of D2D technology is introduced in a kind of cellular network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475992A (en) * 2013-08-26 2013-12-25 北京邮电大学 Method and device for allocating resources
CN104754748A (en) * 2013-12-27 2015-07-01 电信科学技术研究院 D2D (device to device) resource allocation method, D2D data transmission method and device
CN107534829A (en) * 2015-04-01 2018-01-02 三星电子株式会社 Method and apparatus for the processing priority in D2D communication systems
CN105472751A (en) * 2015-12-24 2016-04-06 山东大学 Method for allocating joint resources of D2D communication system based on cellular network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115462116A (en) * 2020-04-29 2022-12-09 华为技术有限公司 Communication method and device
WO2024060524A1 (en) * 2022-09-21 2024-03-28 网络通信与安全紫金山实验室 Resource allocation method and apparatus, resource scheduling method, and device

Also Published As

Publication number Publication date
CN108462999A (en) 2018-08-28
CN108462999B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
WO2019136965A1 (en) Resource allocation method and device
KR20210118918A (en) Data transmission method and device, quality of service flow management method and device, and medium
CN111869303A (en) Resource scheduling method, device, communication equipment and storage medium
US11083004B2 (en) Data transmission method and apparatus
US20170142732A1 (en) Allocation of shared resources for virtualized networking
CN114342332B (en) Communication method, device and system
CN111629371B (en) Screen projection method and system
CN114514772A (en) Method and apparatus for prioritization of logical channels including MAC CEs with priority values
CN113938919A (en) Data analysis method and device
CN115943727A (en) Communication method and device, electronic device and storage medium
WO2016150139A1 (en) Method and apparatus for establishing network service instance
WO2015109569A1 (en) Resources allocation method and device
CN106465387B (en) Discovery of multi-hop capabilities and routing on a per link basis
EP4102920A1 (en) Communication method and related apparatus
US20210399986A1 (en) Data communication method, server device, client device and medium
CN110636149B (en) Remote access method, device, router and storage medium
JP2021518707A (en) Wireless communication method, user equipment and network equipment
US20240267875A1 (en) Resource allocation for sidelink positioning reference signal
US10237861B2 (en) Information transmission method, device, and system
WO2021000306A1 (en) Sidelink implementation method and related product
WO2020216083A1 (en) Communication method, communication apparatus, and terminal device
US20190132369A1 (en) Conference access method and terminal for performing the same
KR102070936B1 (en) Slotframe partitioning-based cell scheduling method, apparatus and program
WO2024149336A1 (en) Communication method and apparatus
KR102158693B1 (en) A method for connecting network between electronic devices using beacon signal and an electronic device for the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18900417

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18900417

Country of ref document: EP

Kind code of ref document: A1