WO2017000375A1 - Resource allocation method and apparatus - Google Patents

Resource allocation method and apparatus Download PDF

Info

Publication number
WO2017000375A1
WO2017000375A1 PCT/CN2015/088467 CN2015088467W WO2017000375A1 WO 2017000375 A1 WO2017000375 A1 WO 2017000375A1 CN 2015088467 W CN2015088467 W CN 2015088467W WO 2017000375 A1 WO2017000375 A1 WO 2017000375A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
group priority
resource
priority
resource pool
Prior art date
Application number
PCT/CN2015/088467
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 WO2017000375A1 publication Critical patent/WO2017000375A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/30Resource management for broadcast services
    • 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/543Allocation or scheduling criteria for wireless resources based on quality criteria based on requested quality, e.g. QoS

Definitions

  • a first setting module configured to count the number of user terminals that communicate with the target group, and set the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals ;
  • FIG. 2 is a schematic flowchart of a resource allocation method according to a second embodiment of the present invention.
  • the group refers to a group of UEs that include multiple UEs in the same communication network as the UE.
  • the target group refers to the target UE group that performs D2D communication with the UE.
  • the UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
  • the group priority of the target group is obtained; the group priority range of each resource pool is defined, and the number of the resource pool is not less than one; the statistics and the target group are The number of the user terminals to be communicated, the size of each resource pool is set according to the group priority, the group priority range, and the number of the user terminals; and the size of each resource pool is sent to the user terminal. . If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
  • the UE requests a Prose Function to communicate with the target group, and the UE obtains the Group Priority directly from the Prose Function through the PC3 interface.
  • the manner in which the eNB acquires the Group Priority is the active acquisition mode.
  • the user terminal selects a resource that uses the resource pool to communicate with the target group, the user terminal is instructed to wait for the preset time to continue using the resource of the resource pool, where the preset The time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
  • the average throughput (Tpt) of the preset port is data obtained by the UE to monitor its own PC5 port.
  • the group refers to a group of UEs that include multiple UEs in the same communication network as the UE.
  • the target group refers to the target UE group that performs D2D communication with the UE.
  • the UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
  • the eNB may obtain the Group Priority by the UE through RRC message reporting, or may interact with the Prose Function to obtain the Group Priority through an existing interface, such as S1, S6a, PC4a, and the like.
  • the eNB first sends a Group Priority acquisition request to the UE or the Prose Function, and the eNB receives the Group Priority returned by the UE through the RRC message, or through an interface, such as S1, S6a, and PC4a. Indirectly interact with the Prose Function to get the Group Priority returned by the Prose Function.
  • the resource pool refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection.
  • Tx Pool refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection.
  • up to four resource pools can be configured for the UE at the same time.
  • the UE can still use the method from the UE.
  • a D2D communication is established between the selected transmission resource and the target group in the Tx Pool.
  • the user terminal requests a group priority of the target group from the neighboring service function entity.
  • the base station simultaneously acquires a group priority of the target group from the neighboring service function entity.
  • the base station defines a group priority range of each resource pool.
  • the group priority of the target group is obtained; the group priority range of each resource pool is defined, and the number of the resource pool is not less than one; the statistics and the target group are The number of the user terminals to be communicated, the size of each resource pool is set according to the group priority, the group priority range, and the number of the user terminals; and the size of each resource pool is sent to the user terminal. . If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
  • a first setting module configured to count the number of user terminals that communicate with the target group, and set the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals ;
  • FIG. 4 is a schematic structural diagram of a resource allocation apparatus according to a fourth embodiment of the present invention.
  • FIG. 4 is a resource allocation apparatus 400 according to a fourth embodiment of the present invention.
  • Can include:
  • the group refers to a group of UEs that include multiple UEs in the same communication network as the UE.
  • the target group refers to the target UE group that performs D2D communication with the UE.
  • the UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
  • the group ID of the same group does not change with respect to different UEs, so that when a certain group needs and different UEs at the same time,
  • the group priority of the group is unchanged relative to other groups.
  • the size of each Tx Pool reflects the amount of resources that can be allocated in the priority range, so that the UE can reasonably facilitate resource selection.
  • the number of resource pools is four.
  • the number of UEs for group communication is 14, the number of UEs communicating with the target group whose group priority is in the range of [4-6] is 10, and the target with the group priority within the range of [7-9]
  • the number of UEs for group communication is 10, and the number of UEs communicating with the target group whose group priority is in the range of [9-12] is 6, and the Group Priority Range is [1-3], [4- The size ratio of each resource pool of 6], [7-9], and [9-12] is 14:10:10:6.
  • the acquiring module 510 is specifically configured to:
  • the acquiring module 510 further includes:
  • the UE after the eNB configures the UE with a limited Group ID supported Group Priority and an available Tx Pool in the absence of network coverage, the UE still uses the method from the Tx.
  • the D2D communication is established between the selected transmission resource and the target group in the Pool.
  • the processor 602 calls the code stored in the memory 603 to obtain the group priority of the target group through the bus 601.
  • the group priority range of each resource pool is defined, and the number of the resource pools is not less than one. Counting the number of user terminals that communicate with the target group, setting the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; sending the resources The size of the pool is given to the user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
  • the UE may perform D2D communication with the target group after acquiring the resource, and the same UE may perform D2D communication with different target groups at the same time.
  • the proximity service function entity Provide Function
  • the proximity service function entity manages all groups in a unified manner, giving each group a unique identifier, that is, the group ID, when the same UE and different target groups
  • the group ID can be distinguished; and when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs.
  • the manner in which the eNB obtains the target group priority may be a process that the eNB actively requests, or may be a process in which the eNB passively receives the target group priority.

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 apparatus. The method comprises: acquiring a group priority of a target group; defining group priority ranges of various resource pools, the number of the resource pools being not less than one; counting the number of user terminals communicating with the target group, and setting sizes of the various resource pools according to the group priority, the group priority ranges and the number of user terminals; sending the sizes of the various resource pools to the user terminals; and if the group priority of the target group with which the user terminals request to communicate is higher than or equal to a group priority range of a resource pool, allowing the user terminals to access the resource pool. In the embodiments of the present invention, various tx Pools can be fully used to perform resource allocation, and a UE can flexibly select a transmission resource from the various tx Pools to establish D2D communication with a target group, thereby achieving high implementation efficiency.

Description

一种资源分配方法及装置Resource allocation method and device 技术领域Technical field
本发明涉及通信领域,具体涉及一种资源分配方法及装置。The present invention relates to the field of communications, and in particular, to a resource allocation method and apparatus.
背景技术Background technique
设备到设备(Device-to-Device,简称D2D)通信技术是指用户终端(User Terminal,简称UE)之间不需要经过基站(简称eNB)等设备的传输或转发,就可以进行直接通信的一种技术,从而可以提高资源利用率和网络容量。并且,D2D通信可以不局限于两个UE之间的通信,还支持点对多点的群组通信,即支持UE与UE群组(UE1,UE2,UE3···)之间的D2D通信。Device-to-Device (D2D) communication technology refers to a device that can directly communicate with a user terminal (UE) without being transmitted or forwarded by a device such as a base station (eNB). Technology to improve resource utilization and network capacity. Moreover, the D2D communication may not be limited to communication between two UEs, and also supports point-to-multipoint group communication, that is, support D2D communication between the UE and the UE group (UE1, UE2, UE3..).
目前,3GPP Rel-12(3rd Generation Partnership Project Release-12,第三代合作伙伴计划版本12)定义了基于资源池(Tx Pool)的资源分配方法,即可以由eNB通过广播SIB18配置UE可以使用的Tx Pool,且最多可以配置4个Tx Pool,但是基于这种资源分配方法下,UE总是从第一个Tx Pool选择传输资源与目标群组进行D2D通信,从而使得无法充分利用4个Tx Pool,造成资源浪费。Currently, 3GPP Rel-12 (3rd Generation Partnership Project Release-12) defines a resource pooling (Tx Pool) based resource allocation method, that is, the eNB can configure the UE to use by broadcasting the SIB 18. Tx Pool, and can configure up to 4 Tx Pools. However, based on this resource allocation method, the UE always selects the transmission resource from the first Tx Pool to perform D2D communication with the target group, thereby making it impossible to fully utilize 4 Tx Pools. , resulting in waste of resources.
发明内容Summary of the invention
本发明实施例提供了一种资源分配方法及装置,以期可以充分利用所有的资源池进行资源分配。The embodiment of the invention provides a resource allocation method and device, so that all resource pools can be fully utilized for resource allocation.
本发明实施例第一方面提供一种资源分配方法,包括:A first aspect of the embodiments of the present invention provides a resource allocation method, including:
获取目标群组的群组优先级;Get the group priority of the target group;
定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;Defining a group priority range of each resource pool, the number of the resource pools being not less than one;
统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;Counting the number of user terminals that communicate with the target group, and setting the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals;
发送所述各个资源池的大小给所述用户终端;Sending the size of each resource pool to the user terminal;
若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。 If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
本发明实施例第二方面提供一种资源分配装置,包括:A second aspect of the embodiments of the present invention provides a resource allocation apparatus, including:
获取模块,用于获取目标群组的群组优先级;An obtaining module, configured to obtain a group priority of the target group;
定义模块,用于定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;a definition module, configured to define a group priority range of each resource pool, where the number of resource pools is not less than one;
第一设置模块,用于统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;a first setting module, configured to count the number of user terminals that communicate with the target group, and set the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals ;
发送模块,用于发送所述各个资源池的大小给所述用户终端;a sending module, configured to send the size of each resource pool to the user terminal;
第二设置模块,用于若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。The second setting module is configured to allow the user terminal to access the resource pool if the group priority of the target group that the user terminal requests to communicate is higher than or equal to the group priority range of the resource pool.
可以看出,在本发明实施例提供的技术方案中,获取目标群组的群组优先级;定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the technical solution provided by the embodiment of the present invention, the group priority of the target group is obtained; the group priority range of each resource pool is defined, and the number of the resource pool is not less than one; Setting the number of user terminals that the target group communicates, setting the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; sending the size of each resource pool to The user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明第一实施例提供的一种资源分配方法的流程示意图;1 is a schematic flowchart of a resource allocation method according to a first embodiment of the present invention;
图2是本发明第二实施例提供的一种资源分配方法的流程示意图;2 is a schematic flowchart of a resource allocation method according to a second embodiment of the present invention;
图3是本发明第三实施例提供的一种资源分配方法的流程示意图;3 is a schematic flowchart of a resource allocation method according to a third embodiment of the present invention;
图4是本发明第四实施例提供的一种资源分配装置的结构示意图;4 is a schematic structural diagram of a resource allocation apparatus according to a fourth embodiment of the present invention;
图5是本发明第五实施例提供的一种资源分配装置的结构示意图;FIG. 5 is a schematic structural diagram of a resource allocation apparatus according to a fifth embodiment of the present invention; FIG.
图6是本发明第六实施例提供的一种资源分配装置的结构示意图。 FIG. 6 is a schematic structural diagram of a resource allocation apparatus according to a sixth embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了本发明实施例提供了一种资源分配方法及装置,以期可以充分利用所有的资源池进行资源分配。The embodiments of the present invention provide a resource allocation method and device, so as to fully utilize all resource pools for resource allocation.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Moreover, the term "comprise" and any variants thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
本发明实施例的一种资源分配方法,一种资源分配方法包括:获取目标群组的群组优先级;定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。A resource allocation method according to an embodiment of the present invention, a resource allocation method includes: acquiring a group priority of a target group; defining a group priority range of each resource pool, where the number of the resource pools is not less than one; Counting the number of user terminals that are in communication with the target group, setting the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; and sending the resource pools The size is given to the user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
首先参见图1,图1是本发明第一实施例提供的一种资源分配方法的流程示意图。其中,如图1所示,本发明第一实施例提供的一种资源分配方法可以包括:Referring first to FIG. 1, FIG. 1 is a schematic flowchart diagram of a resource allocation method according to a first embodiment of the present invention. As shown in FIG. 1 , a resource allocation method provided by the first embodiment of the present invention may include:
S101、获取目标群组的群组优先级。S101. Acquire a group priority of the target group.
其中,群组是指与UE处于同一个通信网络中的包含多个UE的UE群组,目标群组即指与UE进行D2D通信的目标UE群组;UE是指连接在通信网络中、能够获取网络资源、具有信息发送和接收功能从而能够与通信网络中其它UE、UE群组或eNB建立通信的UE; The group refers to a group of UEs that include multiple UEs in the same communication network as the UE. The target group refers to the target UE group that performs D2D communication with the UE. The UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
UE可以在获取到资源后,和目标群组之间进行D2D通信,并且同一个UE可以同时和不同的目标群组之间进行D2D通信。在同一个网络,临近服务功能实体(Prose Function)对所有群组进行统一管理,给每个群组一个唯一标识,即群组编号(Group ID),当同一个UE和不同的目标群组之间进行D2D通信时,可以通过Group ID进行区分;并且,不同的UE和不同的目标群组之间进行D2D通信时,相对于不同的UE来说,同一个群组的Group ID不变。The UE may perform D2D communication with the target group after acquiring the resource, and the same UE may perform D2D communication with different target groups at the same time. In the same network, the proximity service function entity (Prose Function) manages all groups in a unified manner, giving each group a unique identifier, that is, the group ID, when the same UE and different target groups When D2D communication is performed, the group ID can be distinguished; and when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs.
其中,群组优先级(Group Priority)是当同一个网络中存在不同的群组时,用于对不同的群组获取相关资源或者取得相关权限的一个优先等级程度进行区分的参数。The group priority is a parameter used to distinguish related groups from different groups to obtain related resources or obtain related rights when there are different groups in the same network.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的Group Priority的数值越小,则代表该目标群组获取相关资源或取得相关权限的优先等级越高,反之,越低。Optionally, in some possible implementation manners of the present invention, the smaller the value of the Group Priority of the target group that communicates with the UE, the higher the priority level for obtaining the related resource or obtaining the related authority on the target group. On the contrary, the lower.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的群组优先级可以由Group ID唯一映射,也即不同的群组具有不同的Group ID,与UE进行通信时,具有不同的Group Priority。Optionally, in some possible implementation manners of the present invention, the group priority of the target group that communicates with the UE may be uniquely mapped by the group ID, that is, different groups have different Group IDs, and the UE performs When communicating, it has a different Group Priority.
可选地,在本发明的一些可能的实施方式中,eNB获取目标群组优先级的方式可以是eNB主动请求的过程,也可以是eNB被动地接收目标群组优先级的过程。Optionally, in some possible implementation manners of the present invention, the manner in which the eNB obtains the target group priority may be a process that the eNB actively requests, or may be a process in which the eNB passively receives the target group priority.
可以理解,由于不同的UE和不同的目标群组之间进行D2D通信时,相对于不同的UE来说,同一个群组的Group ID不变,从而当某个群组同时需要和不同的UE建立D2D通信时,相对其它群组来说,该群组的Group Priority不变。It can be understood that, when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs, so that when a certain group needs and different UEs at the same time, When establishing D2D communication, the group priority of the group is unchanged relative to other groups.
S102、定义各个资源池的群组优先级范围,所述资源池的数量不少于一个。S102. Define a group priority range of each resource pool, where the number of the resource pools is not less than one.
其中,资源池(Tx Pool)是指资源的集合,eNB可以通过资源池给UE进行资源分配,从而,UE可以从资源池中选择自己所需要的传输资源与其它UE或UE群组之间建立连接。目前,在3GPP Rel-12下,最多可以同时为UE配置4个可供使用的资源池。The resource pool (Tx Pool) refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection. Currently, under 3GPP Rel-12, up to four resource pools can be configured for the UE at the same time.
其中,群组优先级范围(Group Priority Range)可以是eNB为Tx Pool定义的一个参数,用于对UE从资源池选择传输资源时进行限定。The group priority range (Group Priority Range) may be a parameter defined by the eNB for the Tx Pool, and is used to limit the UE when selecting a transmission resource from the resource pool.
S103、统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小。 S103. Count the number of user terminals that communicate with the target group, and set the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals.
可选地,在本发明的一些可能的实施方式中,统计与各个具有不同群组优先级的目标群组通信的用户终端数量,根据与群组优先级落入各个群组优先级范围内的目标群组通信的用户终端数量的多少,设置群组优先级范围对应的各个资源池的大小。Optionally, in some possible implementation manners of the present invention, the number of user terminals that communicate with each target group having different group priorities is counted, and the group priority falls within each group priority range according to the group priority. Set the number of user terminals that the target group communicates, and set the size of each resource pool corresponding to the group priority range.
其中,资源池越大,代表可以分配的资源越多,反正越少。Among them, the larger the resource pool, the more resources that can be allocated, the less anyway.
可以理解,根据这几个数值对Tx Pool的大小进行设置后,各个Tx Pool的大小反映的是该优先级范围内可以分配的通信的资源的多少,从而可以合理地方便UE进行资源选择。It can be understood that, after the size of the Tx Pool is set according to the values, the size of each Tx Pool reflects the amount of resources that can be allocated in the priority range, so that the UE can reasonably facilitate resource selection.
S104、发送所述各个资源池的大小给所述用户终端。S104. Send the size of each resource pool to the user terminal.
可以理解,在设置好各个Tx Pool的大小后,将各个Tx Pool的大小信息发送给用户终端,从而便于UE在各个Tx Pool中选择传输资源。It can be understood that after the size of each Tx Pool is set, the size information of each Tx Pool is sent to the user terminal, so that the UE can select the transmission resource in each Tx Pool.
S105、若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。S105. If the group priority of the target group that the user terminal requests to communicate is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
可以理解,利用此种UE访问Tx Pool的方式,则可以在用户终端请求通信的目标群组的群组优先级越高时,UE可以选择的Tx Pool范围越大,以及与UE进行通信的目标通信群组越多时,UE可以选择的Tx Pool也越多,从而可以保证高优先级的目标群组选择传输资源的成功率更高。It can be understood that, by using such a manner that the UE accesses the Tx Pool, the Tx Pool range that the UE can select is higher, and the target that communicates with the UE, the higher the group priority of the target group that the user terminal requests to communicate. The more communication groups, the more Tx Pools the UE can select, so that the success rate of selecting high-priority target groups for transmission resources is higher.
需要说明的是,在本发明的实施例中,步骤S104和步骤S105没有必然的的前后顺序,也即可以更换执行顺序。It should be noted that, in the embodiment of the present invention, step S104 and step S105 have no necessary sequence, that is, the execution order can be replaced.
可以看出,本实施例的方案中,获取目标群组的群组优先级;定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the solution of this embodiment, the group priority of the target group is obtained; the group priority range of each resource pool is defined, and the number of the resource pool is not less than one; the statistics and the target group are The number of the user terminals to be communicated, the size of each resource pool is set according to the group priority, the group priority range, and the number of the user terminals; and the size of each resource pool is sent to the user terminal. . If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
可选地,在本发明的一些可能的实施方式中,所述资源池的数量为4个。Optionally, in some possible implementation manners of the present invention, the number of the resource pools is four.
可选地,在本发明的一些可能的实施方式中,各个资源池群组优先级范围可以通过对总的群组优先级进行平分来进行定义。 Optionally, in some possible implementation manners of the present invention, each resource pool group priority range may be defined by halving the total group priority.
例如,在本发明的一些可能的实施方式中,当Prose Function定义的Group Priority一共有Pmax=12级,即1、2、···12,Tx Pool的数量一共是4个,则可以将各个Tx Pool的Group Priority Range分别定义为:[1-3]、[4-6]、[7-9]和[9-12]。For example, in some possible implementation manners of the present invention, when the Group Priority defined by the Prose Function has a total of Pmax=12 levels, that is, 1, 2, . . . 12, and the number of Tx Pools is 4 in total, each can be The Group Priority Range of Tx Pool is defined as: [1-3], [4-6], [7-9], and [9-12].
可选地,在本发明的一些可能的实施方式中,所述统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小,包括:Optionally, in some possible implementation manners of the present disclosure, the statistics, the number of user terminals that communicate with the target group, according to the group priority, the group priority range, and the user terminal Quantity, set the size of each resource pool, including:
统计与所述目标群组通信的用户终端数量,根据所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。Counting the number of user terminals that communicate with the target group, and setting the group priority based on the positive correlation rule according to the number of the user terminals and the mapping relationship between the group priority and the group priority range The size of the resource pool corresponding to the scope.
其中,所述目标群组的群组优先级一定落入其中某个资源池的群组优先级范围内,所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系为,所述用户终端数量为与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量。The group priority of the target group must fall within a group priority range of one of the resource pools, and the number of the user terminals and the mapping between the group priority and the group priority range The relationship is that the number of user terminals is the number of all user terminals that communicate with a target group whose group priority falls within the group priority range.
可选地,在本发明的一些可能的实施方式中,所述基于正相关的规则设置所述群组优先级范围对应的资源池的大小,包括:Optionally, in some possible implementation manners of the present invention, the determining, according to a positive correlation rule, a size of a resource pool corresponding to the group priority range, including:
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越大,所述群组优先级范围对应的资源池越大;When the number of all user terminals that communicate with the target group whose group priority falls within the group priority range is larger, the resource pool corresponding to the group priority range is larger;
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越小,所述群组优先级范围对应的资源池越小。The smaller the number of all user terminals communicating with the target group whose group priority falls within the group priority range, the smaller the resource pool corresponding to the group priority range.
例如,在本发明的一些可能的实施方式中,当Prose Function定义的Group Priority一共有Pmax=12级,即1、2、···12,Tx Pool的数量一共是4个,设置各个Tx Pool的Group Priority Range分别定义为:[1-3]、[4-6]、[7-9]和[9-12],若统计到与群组优先级在[1-3]范围内的目标群组通信的UE的数量为14,与群组优先级在[4-6]范围内的目标群组通信的UE的数量为10,与群组优先级在[7-9]范围内的目标群组通信的UE的数量为10,与群组优先级在[9-12]范围内的目标群组通信的UE的数量为6,则Group Priority Range分别为[1-3]、[4-6]、[7-9]和[9-12]各个资源池的大小比例为14:10:10:6。For example, in some possible implementation manners of the present invention, when the Group Priority defined by the Prose Function has a total of Pmax=12, that is, 1, 2, . . . 12, the total number of Tx Pools is 4, and each Tx Pool is set. The Group Priority Range is defined as: [1-3], [4-6], [7-9], and [9-12], if the target with the group priority in [1-3] is counted. The number of UEs for group communication is 14, the number of UEs communicating with the target group whose group priority is in the range of [4-6] is 10, and the target with the group priority within the range of [7-9] The number of UEs for group communication is 10, and the number of UEs communicating with the target group whose group priority is in the range of [9-12] is 6, and the Group Priority Range is [1-3], [4- The size ratio of each resource pool of 6], [7-9], and [9-12] is 14:10:10:6.
可选地,在本发明的一些可能的实施方式中,UE向Prose Function请求与目标群组通信的Group Priority,UE再通过PC3接口直接从Prose Function获取Group Priority。 Optionally, in some possible implementation manners of the present invention, the UE requests a Prose Function to communicate with the target group, and the UE obtains the Group Priority directly from the Prose Function through the PC3 interface.
可选地,在本发明的一些可能的实施方式中,所述获取目标群组的群组优先级的方式,包括:Optionally, in some possible implementation manners of the present disclosure, the manner of obtaining a group priority of a target group includes:
通过无线资源控制协议消息从所述用户终端获取目标群组的群组优先级,或通过预设接口从临近服务功能体获取目标群组的群组优先级。Obtaining a group priority of the target group from the user terminal by using a RRC message, or acquiring a group priority of the target group from the neighboring service function through a preset interface.
可选地,在本发明的一些可能的实施方式中,eNB可以由UE通过RRC消息上报获取Group Priority,也可以通过已有接口,如S1、S6a、PC4a等间接与Prose Function交互获取Group Priority。Optionally, in some possible implementation manners of the present invention, the eNB may obtain the Group Priority by the UE through RRC message reporting, or may interact with the Prose Function to obtain the Group Priority through an existing interface, such as S1, S6a, PC4a, and the like.
可以理解,此时eNB获取Group Priority的方式为被动获取方式,即此时伴随着UE接收Prose Function发送的Group Priority的过程获取的。It can be understood that the manner in which the eNB acquires the Group Priority is the passive acquisition mode, that is, the process is acquired along with the process of receiving the Group Priority sent by the Prose Function.
可选地,在本发明的另一些可能的实施方式中,所述获取目标群组的群组优先级,包括:Optionally, in another possible implementation manner of the present invention, the obtaining a group priority of the target group includes:
发送群组优先级获取请求给所述用户终端或临近服务功能体;Sending a group priority acquisition request to the user terminal or an adjacent service function;
接收所述用户终端或所述临近服务功能实体返回的群组优先级。Receiving a group priority returned by the user terminal or the proximity service function entity.
可选地,在本发明的一些可能的实施方式中,eNB先向UE或者Prose Function发送Group Priority获取请求,eNB再通过RRC消息接收UE返回的Group Priority,或通过接口,如S1、S6a、PC4a等间接与Prose Function交互获取Prose Function返回的Group Priority。Optionally, in some possible implementation manners of the present invention, the eNB first sends a Group Priority acquisition request to the UE or the Prose Function, and the eNB receives the Group Priority returned by the UE through the RRC message, or through an interface, such as S1, S6a, and PC4a. Indirectly interact with the Prose Function to get the Group Priority returned by the Prose Function.
可以理解,此时eNB获取Group Priority的方式为主动获取方式。It can be understood that the manner in which the eNB acquires the Group Priority is the active acquisition mode.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
若所述用户终端选择使用资源池的资源与所述目标群组通信时发生冲突,则指示所述用户终端等待预设时间后再继续选择使用所述资源池的资源,其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户终端的预设端口平均吞吐量成正相关。If the user terminal selects a resource that uses the resource pool to communicate with the target group, the user terminal is instructed to wait for the preset time to continue using the resource of the resource pool, where the preset The time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
可选地,在本发明的一些可能的实施方式中,所述预设端口的平均吞吐量(Tpt)为UE监测自己PC5端口所得到的数据。Optionally, in some possible implementation manners of the present invention, the average throughput (Tpt) of the preset port is data obtained by the UE to monitor its own PC5 port.
可选地,在本发明的一些可能的实施方式中,UE在选择传输资源不成功时,则等待预设时间(Backoff_Time)后再进行选择,该预设时间的确定可以同时考虑Group Priority和Tpt,也可以只考虑其中一个参数,确定规则是,Backoff_Time与目标群组的群组优先级成反相关,与UE的预设端口的平均吞吐量成正相关,即若目标群组的群组优先级越高,Group Priority的值越小,平均吞吐量越大, Tpt的值越大,即可以表示为Backoff_Time∝Group Priority·Tpt。Optionally, in some possible implementation manners of the present invention, when the UE selects a transmission resource that is unsuccessful, the UE waits for a preset time (Backoff_Time) before selecting, and the preset time may be determined by considering Group Priority and Tpt. It is also possible to consider only one of the parameters, and determine that the rule is that Backoff_Time is inversely related to the group priority of the target group, and is positively correlated with the average throughput of the preset port of the UE, that is, if the target group has the group priority. The higher the value of Group Priority, the larger the average throughput. The larger the value of Tpt, the more it can be expressed as Backoff_Time∝Group Priority·Tpt.
可以理解,利用上述方式,在群组优先级越高时,等待时间越短,平均吞吐量越小时,等待时间越短,则可以在UE使得Group Priority越高的群组更有机会竞争到资源,且在UE占用传输资源不是特别大的情况下允许有一定的机会能优先竞争到资源。It can be understood that, in the above manner, when the group priority is higher, the shorter the waiting time, the smaller the average throughput, and the shorter the waiting time, the UE can make the group with higher Group Priority have more chance to compete for resources. And, if the UE occupies a transmission resource that is not particularly large, there is a certain opportunity to preferentially compete for resources.
可选地,在本发明的一些可能的实施方式中,在无网络覆盖的情况下,eNB为UE配置了有限个Group ID支持的Group Priority和可用的Tx Pool后,UE依然利用该方式从Tx Pool中选择传输资源与目标群组之间建立D2D通信。Optionally, in some possible implementation manners of the present invention, after the eNB configures the UE with a limited Group ID supported Group Priority and an available Tx Pool in the absence of network coverage, the UE still uses the method from the Tx. The D2D communication is established between the selected transmission resource and the target group in the Pool.
为了便于更好理解和实施本发明实施例的上述方案,下面结合一些具体的应用场景进行举例说明。In order to facilitate the better understanding and implementation of the foregoing solutions of the embodiments of the present invention, the following is exemplified in conjunction with some specific application scenarios.
请参见图2,图2是本发明第二实施例提供的一种资源分配方法的流程示意图,其中,如图2所示,本发明第二实施例提供的一种资源分配方法可以包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a resource allocation method according to a second embodiment of the present invention. As shown in FIG. 2, a resource allocation method according to a second embodiment of the present invention may include:
S201、通过无线资源控制协议消息从用户终端获取目标群组的群组优先级。S201. Obtain a group priority of the target group from the user terminal by using a RRC message.
其中,群组是指与UE处于同一个通信网络中的包含多个UE的UE群组,目标群组即指与UE进行D2D通信的目标UE群组;UE是指连接在通信网络中、能够获取网络资源、具有信息发送和接收功能从而能够与通信网络中其它UE、UE群组或eNB建立通信的UE;The group refers to a group of UEs that include multiple UEs in the same communication network as the UE. The target group refers to the target UE group that performs D2D communication with the UE. The UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
UE可以在获取到资源后,和目标群组之间进行D2D通信,并且同一个UE可以同时和不同的目标群组之间进行D2D通信。在同一个网络,临近服务功能实体(Prose Function)对所有群组进行统一管理,给每个群组一个唯一标识,即群组编号(Group ID),当同一个UE和不同的目标群组之间进行D2D通信时,可以通过Group ID进行区分;并且,不同的UE和不同的目标群组之间进行D2D通信时,相对于不同的UE来说,同一个群组的Group ID不变。The UE may perform D2D communication with the target group after acquiring the resource, and the same UE may perform D2D communication with different target groups at the same time. In the same network, the proximity service function entity (Prose Function) manages all groups in a unified manner, giving each group a unique identifier, that is, the group ID, when the same UE and different target groups When D2D communication is performed, the group ID can be distinguished; and when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs.
其中,群组优先级(Group Priority)是当同一个网络中存在不同的群组时,用于对不同的群组获取相关资源或者取得相关权限的一个优先等级程度进行区分的参数。The group priority is a parameter used to distinguish related groups from different groups to obtain related resources or obtain related rights when there are different groups in the same network.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的Group Priority的数值越小,则代表该目标群组获取相关资源或取得相关权限的优先等级越高,反之,越低。Optionally, in some possible implementation manners of the present invention, the smaller the value of the Group Priority of the target group that communicates with the UE, the higher the priority level for obtaining the related resource or obtaining the related authority on the target group. On the contrary, the lower.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的 群组优先级可以由Group ID唯一映射,也即不同的群组具有不同的Group ID,与UE进行通信时,具有不同的Group Priority。Optionally, in some possible implementation manners of the present invention, the target group that communicates with the UE The group priority can be uniquely mapped by the Group ID, that is, different groups have different Group IDs, and have different Group Priority when communicating with the UE.
可选地,在本发明的一些可能的实施方式中,所述获取目标群组的群组优先级的方式,包括:Optionally, in some possible implementation manners of the present disclosure, the manner of obtaining a group priority of a target group includes:
通过无线资源控制协议消息从所述用户终端获取目标群组的群组优先级,或通过预设接口从临近服务功能体获取目标群组的群组优先级。Obtaining a group priority of the target group from the user terminal by using a RRC message, or acquiring a group priority of the target group from the neighboring service function through a preset interface.
可选地,在本发明的一些可能的实施方式中,eNB可以由UE通过RRC消息上报获取Group Priority,也可以通过已有接口,如S1、S6a、PC4a等间接与Prose Function交互获取Group Priority。Optionally, in some possible implementation manners of the present invention, the eNB may obtain the Group Priority by the UE through RRC message reporting, or may interact with the Prose Function to obtain the Group Priority through an existing interface, such as S1, S6a, PC4a, and the like.
可以理解,此时eNB获取Group Priority的方式为被动获取方式,即此时伴随着UE接收Prose Function发送的Group Priority的过程获取的。It can be understood that the manner in which the eNB acquires the Group Priority is the passive acquisition mode, that is, the process is acquired along with the process of receiving the Group Priority sent by the Prose Function.
可选地,在本发明的另一些可能的实施方式中,所述获取目标群组的群组优先级,包括:Optionally, in another possible implementation manner of the present invention, the obtaining a group priority of the target group includes:
发送群组优先级获取请求给所述用户终端或临近服务功能体;Sending a group priority acquisition request to the user terminal or an adjacent service function;
接收所述用户终端或所述临近服务功能实体返回的群组优先级。Receiving a group priority returned by the user terminal or the proximity service function entity.
可选地,在本发明的一些可能的实施方式中,eNB先向UE或者Prose Function发送Group Priority获取请求,eNB再通过RRC消息接收UE返回的Group Priority,或通过接口,如S1、S6a、PC4a等间接与Prose Function交互获取Prose Function返回的Group Priority。Optionally, in some possible implementation manners of the present invention, the eNB first sends a Group Priority acquisition request to the UE or the Prose Function, and the eNB receives the Group Priority returned by the UE through the RRC message, or through an interface, such as S1, S6a, and PC4a. Indirectly interact with the Prose Function to get the Group Priority returned by the Prose Function.
可以理解,此时eNB获取Group Priority的方式为主动获取方式。It can be understood that the manner in which the eNB acquires the Group Priority is the active acquisition mode.
S202、定义各个资源池的群组优先级范围。S202. Define a group priority range of each resource pool.
其中,资源池(Tx Pool)是指资源的集合,eNB可以通过资源池给UE进行资源分配,从而,UE可以从资源池中选择自己所需要的传输资源与其它UE或UE群组之间建立连接。目前,在3GPP Rel-12下,最多可以同时为UE配置4个可供使用的资源池。The resource pool (Tx Pool) refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection. Currently, under 3GPP Rel-12, up to four resource pools can be configured for the UE at the same time.
其中,群组优先级范围(Group Priority Range)可以是eNB为Tx Pool定义的一个参数,用于对UE从资源池选择传输资源时进行限定。The group priority range (Group Priority Range) may be a parameter defined by the eNB for the Tx Pool, and is used to limit the UE when selecting a transmission resource from the resource pool.
S203、统计与所述目标群组通信的用户终端数量,根据所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。 S203. Count the number of user terminals that communicate with the target group, and set the group according to the positive correlation rule according to the number of the user terminals and the mapping relationship between the group priority and the group priority range. The size of the resource pool corresponding to the priority range.
其中,所述目标群组的群组优先级一定落入其中某个资源池的群组优先级范围内,所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系为,所述用户终端数量为与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量。The group priority of the target group must fall within a group priority range of one of the resource pools, and the number of the user terminals and the mapping between the group priority and the group priority range The relationship is that the number of user terminals is the number of all user terminals that communicate with a target group whose group priority falls within the group priority range.
可选地,在本发明的一些可能的实施方式中,所述基于正相关的规则设置所述群组优先级范围对应的资源池的大小,包括:Optionally, in some possible implementation manners of the present invention, the determining, according to a positive correlation rule, a size of a resource pool corresponding to the group priority range, including:
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越大,所述群组优先级范围对应的资源池越大;When the number of all user terminals that communicate with the target group whose group priority falls within the group priority range is larger, the resource pool corresponding to the group priority range is larger;
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越小,所述群组优先级范围对应的资源池越小。The smaller the number of all user terminals communicating with the target group whose group priority falls within the group priority range, the smaller the resource pool corresponding to the group priority range.
例如,在本发明的一些可能的实施方式中,当Prose Function定义的Group Priority一共有Pmax=12级,即1、2、···12,Tx Pool的数量一共是4个,设置各个Tx Pool的Group Priority Range分别定义为:[1-3]、[4-6]、[7-9]和[9-12],若统计到与群组优先级在[1-3]范围内的目标群组通信的UE的数量为14,与群组优先级在[4-6]范围内的目标群组通信的UE的数量为10,与群组优先级在[7-9]范围内的目标群组通信的UE的数量为10,与群组优先级在[9-12]范围内的目标群组通信的UE的数量为6,则Group Priority Range分别为[1-3]、[4-6]、[7-9]和[9-12]各个资源池的大小比例为14:10:10:6。For example, in some possible implementation manners of the present invention, when the Group Priority defined by the Prose Function has a total of Pmax=12, that is, 1, 2, . . . 12, the total number of Tx Pools is 4, and each Tx Pool is set. The Group Priority Range is defined as: [1-3], [4-6], [7-9], and [9-12], if the target with the group priority in [1-3] is counted. The number of UEs for group communication is 14, the number of UEs communicating with the target group whose group priority is in the range of [4-6] is 10, and the target with the group priority within the range of [7-9] The number of UEs for group communication is 10, and the number of UEs communicating with the target group whose group priority is in the range of [9-12] is 6, and the Group Priority Range is [1-3], [4- The size ratio of each resource pool of 6], [7-9], and [9-12] is 14:10:10:6.
S204、发送所述各个资源池的大小给所述用户终端。S204. Send the size of each resource pool to the user terminal.
可以理解,在设置好各个Tx Pool的大小后,将各个Tx Pool的大小信息发送给用户终端,从而便于UE在各个Tx Pool中选择传输资源。It can be understood that after the size of each Tx Pool is set, the size information of each Tx Pool is sent to the user terminal, so that the UE can select the transmission resource in each Tx Pool.
S205、若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。S205. If the group priority of the target group that the user terminal requests to communicate is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
可以理解,利用此种UE访问Tx Pool的方式,则可以在用户终端请求通信的目标群组的群组优先级越高时,UE可以选择的Tx Pool范围越大,以及与UE进行通信的目标通信群组越多时,UE可以选择的Tx Pool也越多,从而可以保证高优先级的目标群组选择传输资源的成功率更高。It can be understood that, by using such a manner that the UE accesses the Tx Pool, the Tx Pool range that the UE can select is higher, and the target that communicates with the UE, the higher the group priority of the target group that the user terminal requests to communicate. The more communication groups, the more Tx Pools the UE can select, so that the success rate of selecting high-priority target groups for transmission resources is higher.
S206、若所述用户终端选择使用资源池的资源与所述目标群组通信时发生冲突,则指示所述用户终端等待预设时间后再继续选择使用所述资源池的资源。S206. If the user terminal selects a resource that uses the resource pool to communicate with the target group, the user terminal is instructed to wait for a preset time before continuing to select and use the resource of the resource pool.
其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户 终端的预设端口平均吞吐量成正相关。The preset time is inversely related to the group priority of the target group, and the user The preset port average throughput of the terminal is positively correlated.
可选地,在本发明的一些可能的实施方式中,所述预设端口的平均吞吐量(Tpt)为UE监测自己PC5端口所得到的数据。Optionally, in some possible implementation manners of the present invention, the average throughput (Tpt) of the preset port is data obtained by the UE to monitor its own PC5 port.
可选地,在本发明的一些可能的实施方式中,UE在选择传输资源不成功时,则等待预设时间(Backoff_Time)后再进行选择,该预设时间的确定可以同时考虑Group Priority和Tpt,也可以只考虑其中一个参数,确定规则是,Backoff_Time与目标群组的群组优先级成反相关,与UE的预设端口的平均吞吐量成正相关,即若目标群组的群组优先级越高,Group Priority的值越小,平均吞吐量越大,Tpt的值越大,即可以表示为Backoff_Time∝Group Priority·Tpt。Optionally, in some possible implementation manners of the present invention, when the UE selects a transmission resource that is unsuccessful, the UE waits for a preset time (Backoff_Time) before selecting, and the preset time may be determined by considering Group Priority and Tpt. It is also possible to consider only one of the parameters, and determine that the rule is that Backoff_Time is inversely related to the group priority of the target group, and is positively correlated with the average throughput of the preset port of the UE, that is, if the target group has the group priority. The higher the value of Group Priority, the larger the average throughput, and the larger the value of Tpt, the more it can be expressed as Backoff_Time∝Group Priority·Tpt.
可以理解,利用上述方式,在群组优先级越高时,等待时间越短,平均吞吐量越小时,等待时间越短,则可以在UE使得Group Priority越高的群组更有机会竞争到资源,且在UE占用传输资源不是特别大的情况下允许有一定的机会能优先竞争到资源。It can be understood that, in the above manner, when the group priority is higher, the shorter the waiting time, the smaller the average throughput, and the shorter the waiting time, the UE can make the group with higher Group Priority have more chance to compete for resources. And, if the UE occupies a transmission resource that is not particularly large, there is a certain opportunity to preferentially compete for resources.
可选地,在本发明的一些可能的实施方式中,在无网络覆盖的情况下,eNB为UE配置了有限个Group ID支持的Group Priority和可用的Tx Pool后,UE依然可以利用该方式从Tx Pool中选择传输资源与目标群组之间建立D2D通信。Optionally, in some possible implementation manners of the present invention, after the eNB configures the UE with a limited Group ID supported Group Priority and an available Tx Pool without network coverage, the UE can still use the method from the UE. A D2D communication is established between the selected transmission resource and the target group in the Tx Pool.
可以看出,本实施例的方案中,获取目标群组的群组优先级;定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the solution of this embodiment, the group priority of the target group is obtained; the group priority range of each resource pool is defined, and the number of the resource pool is not less than one; the statistics and the target group are The number of the user terminals to be communicated, the size of each resource pool is set according to the group priority, the group priority range, and the number of the user terminals; and the size of each resource pool is sent to the user terminal. . If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
为了更好地理解本发明和实施本发明实施例的上述方案,下面再以交互的方式举实施例说明,请参见图3,图3是本发明第三实施例提供的一种资源分配方法的流程示意图,其中,如图3所示,本发明的第三实施例提供的一种资源分配方法可以包括:For a better understanding of the present invention and the above-described implementation of the embodiments of the present invention, an embodiment will be described in an interactive manner. Referring to FIG. 3, FIG. 3 is a resource allocation method according to a third embodiment of the present invention. A schematic diagram of a process, wherein, as shown in FIG. 3, a resource allocation method provided by a third embodiment of the present invention may include:
S301、用户终端向临近服务功能实体请求目标群组的群组优先级。S301. The user terminal requests a group priority of the target group from the neighboring service function entity.
其中,在同一个网络,Group Priority由Prose Function统一管理。 Among them, in the same network, Group Priority is managed by the Prose Function.
可选地,在本发明的一个可能的实施方式中,首先由UE向Prose Function请求该UE与目标群组通信的Group Priority。Optionally, in a possible implementation manner of the present invention, the UE first requests, from the UE, the Group Priority of the UE to communicate with the target group.
S302、临近服务功能实体发送目标群组的群组优先级给用户终端。S302. The neighboring service function entity sends the group priority of the target group to the user terminal.
可以理解,在UE向Prose Function请求了UE与目标群组通信的Group Priority后,由Prose Function向UE反馈目标群组的Group Priority。It can be understood that, after the UE requests the Prose Function for the Group Priority of the UE to communicate with the target group, the Prose Function feeds back the Group Priority of the target group to the UE.
S303、基站同时从临近服务功能实体获取目标群组的群组优先级。S303. The base station simultaneously acquires a group priority of the target group from the neighboring service function entity.
可选地,在本发明的一个可能的实施方式中,基站通过被动的方式获取目标群组的Group Priority,即在Prose Function向UE反馈目标群组的Group Priority的同时,与Prose Function通过S1、S6a、PC4a等接口交互获取目标群组的Group Priority。Optionally, in a possible implementation manner of the present invention, the base station acquires the group priority of the target group in a passive manner, that is, when the Prose Function feeds back the Group Priority of the target group to the UE, and the Prose Function passes through the S1. Interfaces such as S6a and PC4a interact to obtain the Group Priority of the target group.
S304、基站定义各个资源池的群组优先级范围。S304. The base station defines a group priority range of each resource pool.
其中,资源池(Tx Pool)是指资源的集合,eNB可以通过资源池给UE进行资源分配,从而,UE可以从资源池中选择自己所需要的传输资源与其它UE或UE群组之间建立连接。目前,在3GPP Rel-12下,最多可以同时为UE配置4个可供使用的资源池。The resource pool (Tx Pool) refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection. Currently, under 3GPP Rel-12, up to four resource pools can be configured for the UE at the same time.
S305、基站统计与目标群组通信的用户终端数量,根据用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。S305. The base station counts the number of user terminals that communicate with the target group, and sets the group priority range according to a positive correlation rule according to the number of user terminals and the mapping relationship between the group priority and the group priority range. The size of the corresponding resource pool.
S306、基站发送各个资源池的大小给所述用户终端。S306. The base station sends the size of each resource pool to the user terminal.
举例说明,在本发明的一些可能的实施方式中,当Prose Function定义的Group Priority一共有Pmax=12级,即1、2、···12,Tx Pool的数量一共是4个,设置各个Tx Pool的Group Priority Range分别定义为:[1-3]、[4-6]、[7-9]和[9-12],若统计到与群组优先级在[1-3]范围内的目标群组通信的UE的数量为14,与群组优先级在[4-6]范围内的目标群组通信的UE的数量为10,与群组优先级在[7-9]范围内的目标群组通信的UE的数量为10,与群组优先级在[9-12]范围内的目标群组通信的UE的数量为6,则Group Priority Range分别为[1-3]、[4-6]、[7-9]和[9-12]各个资源池的大小比例为14:10:10:6。For example, in some possible implementation manners of the present invention, when the Group Priority defined by the Prose Function has a total of Pmax=12 levels, that is, 1, 2, . . . 12, the total number of Tx Pools is 4, and each Tx is set. The Group Priority Range of the Pool is defined as: [1-3], [4-6], [7-9], and [9-12], if the statistics are in the range of [1-3] with the group priority. The number of UEs communicating by the target group is 14, the number of UEs communicating with the target group whose group priority is in the range of [4-6] is 10, and the group priority is within the range of [7-9]. The number of UEs that the target group communicates is 10, and the number of UEs that communicate with the target group whose group priority is in the range of [9-12] is 6, and the Group Priority Range is [1-3], [4, respectively. The size ratio of each resource pool of -6], [7-9], and [9-12] is 14:10:10:6.
S307、若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则基站允许所述用户终端访问所述资源池。S307. If the group priority of the target group that the user terminal requests to communicate is higher than or equal to the group priority range of the resource pool, the base station allows the user terminal to access the resource pool.
S308、用户终端选择使用资源池的资源与所述目标群组通信时发生冲突, 则用户终端等待预设时间后再继续选择使用所述资源池的资源。S308. The user terminal selects a resource that uses the resource pool to collide with the target group, where Then, the user terminal waits for the preset time and then continues to select the resource that uses the resource pool.
其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户终端的预设端口平均吞吐量成正相关。The preset time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
举例说明,在本发明的一些可能的实施方式中,UE在选择传输资源不成功时,也即与其它UE发生资源选择冲突时,等到一定时间(Backoff_Time)后再进行选择。Backoff_Time的确定根据UE监测的PC5端口的平均吞吐量Tpt,以及目标群组的Group Priority进行确定,确定规则是,Backoff_Time与目标群组的群组优先级成反相关,与UE的预设端口的平均吞吐量成正相关,即若目标群组的群组优先级越高,Group Priority的值越小,平均吞吐量越大,Tpt的值越大,即可以表示为Backoff_Time∝Group Priority·Tpt。For example, in some possible implementation manners of the present invention, when the UE selects a transmission resource unsuccessfully, that is, when a resource selection conflict occurs with other UEs, the UE waits for a certain time (Backoff_Time) to perform selection. The determination of the Backoff_Time is determined according to the average throughput Tpt of the PC5 port monitored by the UE, and the Group Priority of the target group. The determining rule is that the Backoff_Time is inversely related to the group priority of the target group, and the preset port of the UE is The average throughput is positively correlated. That is, if the group priority of the target group is higher, the smaller the value of the Group Priority, the larger the average throughput, and the larger the value of Tpt, that is, the value of Backoff_Time ∝ Group Priority·Tpt.
S309、用户终端通过所选择的资源与目标群组建立设备到设备通信。S309. The user terminal establishes device-to-device communication with the target group by using the selected resource.
可以理解,利用上述步骤UE可以从资源池中选择到所需要的传输资源与目标群组之间建立D2D通信,并且Group Priority越高的群组更有机会竞争到资源,且UE占用传输资源不是特别大的情况下允许有一定的机会能优先竞争到资源。It can be understood that, by using the foregoing steps, the UE can select D2D communication from the resource pool to the required transmission resource and the target group, and the group with the higher Group Priority has a chance to compete for resources, and the UE occupies the transmission resource. In exceptional circumstances, there is a certain opportunity to prioritize competition for resources.
可以看出,本实施例的方案中,获取目标群组的群组优先级;定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the solution of this embodiment, the group priority of the target group is obtained; the group priority range of each resource pool is defined, and the number of the resource pool is not less than one; the statistics and the target group are The number of the user terminals to be communicated, the size of each resource pool is set according to the group priority, the group priority range, and the number of the user terminals; and the size of each resource pool is sent to the user terminal. . If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
本发明实施例还提供一种资源分配装置,该装置包括:The embodiment of the invention further provides a resource allocation device, the device comprising:
获取模块,用于获取目标群组的群组优先级;An obtaining module, configured to obtain a group priority of the target group;
定义模块,用于定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;a definition module, configured to define a group priority range of each resource pool, where the number of resource pools is not less than one;
第一设置模块,用于统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;a first setting module, configured to count the number of user terminals that communicate with the target group, and set the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals ;
发送模块,用于发送所述各个资源池的大小给所述用户终端; a sending module, configured to send the size of each resource pool to the user terminal;
第二设置模块,用于若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。The second setting module is configured to allow the user terminal to access the resource pool if the group priority of the target group that the user terminal requests to communicate is higher than or equal to the group priority range of the resource pool.
具体的,请参见图4,图4是本发明第四实施例提供的一种资源分配装置的结构示意图,其中,如图4所示,本发明第四实施例提供的一种资源分配装置400可以包括:Specifically, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a resource allocation apparatus according to a fourth embodiment of the present invention. FIG. 4 is a resource allocation apparatus 400 according to a fourth embodiment of the present invention. Can include:
获取模块410、定义模块420、第一设置模块430、发送模块450和第二设置模块460。The acquisition module 410, the definition module 420, the first setting module 430, the sending module 450, and the second setting module 460.
其中,获取模块410,用于获取目标群组的群组优先级。The obtaining module 410 is configured to acquire a group priority of the target group.
其中,群组是指与UE处于同一个通信网络中的包含多个UE的UE群组,目标群组即指与UE进行D2D通信的目标UE群组;UE是指连接在通信网络中、能够获取网络资源、具有信息发送和接收功能从而能够与通信网络中其它UE、UE群组或eNB建立通信的UE;The group refers to a group of UEs that include multiple UEs in the same communication network as the UE. The target group refers to the target UE group that performs D2D communication with the UE. The UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
UE可以在获取到资源后,和目标群组之间进行D2D通信,并且同一个UE可以同时和不同的目标群组之间进行D2D通信。在同一个网络,临近服务功能实体(Prose Function)对所有群组进行统一管理,给每个群组一个唯一标识,即群组编号(Group ID),当同一个UE和不同的目标群组之间进行D2D通信时,可以通过Group ID进行区分;并且,不同的UE和不同的目标群组之间进行D2D通信时,相对于不同的UE来说,同一个群组的Group ID不变。The UE may perform D2D communication with the target group after acquiring the resource, and the same UE may perform D2D communication with different target groups at the same time. In the same network, the proximity service function entity (Prose Function) manages all groups in a unified manner, giving each group a unique identifier, that is, the group ID, when the same UE and different target groups When D2D communication is performed, the group ID can be distinguished; and when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs.
其中,群组优先级(Group Priority)是当同一个网络中存在不同的群组时,用于对不同的群组获取相关资源或者取得相关权限的一个优先等级程度进行区分的参数。The group priority is a parameter used to distinguish related groups from different groups to obtain related resources or obtain related rights when there are different groups in the same network.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的Group Priority的数值越小,则代表该目标群组获取相关资源或取得相关权限的优先等级越高,反之,越低。Optionally, in some possible implementation manners of the present invention, the smaller the value of the Group Priority of the target group that communicates with the UE, the higher the priority level for obtaining the related resource or obtaining the related authority on the target group. On the contrary, the lower.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的群组优先级可以由Group ID唯一映射,也即不同的群组具有不同的Group ID,与UE进行通信时,具有不同的Group Priority。Optionally, in some possible implementation manners of the present invention, the group priority of the target group that communicates with the UE may be uniquely mapped by the group ID, that is, different groups have different Group IDs, and the UE performs When communicating, it has a different Group Priority.
可选地,在本发明的一些可能的实施方式中,eNB获取目标群组优先级的方式可以是eNB主动请求的过程,也可以是eNB被动地接收目标群组优先级的过程。 Optionally, in some possible implementation manners of the present invention, the manner in which the eNB obtains the target group priority may be a process that the eNB actively requests, or may be a process in which the eNB passively receives the target group priority.
可以理解,由于不同的UE和不同的目标群组之间进行D2D通信时,相对于不同的UE来说,同一个群组的Group ID不变,从而当某个群组同时需要和不同的UE建立D2D通信时,相对其它群组来说,该群组的Group Priority不变。It can be understood that, when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs, so that when a certain group needs and different UEs at the same time, When establishing D2D communication, the group priority of the group is unchanged relative to other groups.
定义模块420,用于定义各个资源池的群组优先级范围,所述资源池的数量不少于一个。The definition module 420 is configured to define a group priority range of each resource pool, and the number of the resource pools is not less than one.
其中,资源池(Tx Pool)是指资源的集合,eNB可以通过资源池给UE进行资源分配,从而,UE可以从资源池中选择自己所需要的传输资源与其它UE或UE群组之间建立连接。目前,在3GPP Rel-12下,最多可以同时为UE配置4个可供使用的资源池。The resource pool (Tx Pool) refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection. Currently, under 3GPP Rel-12, up to four resource pools can be configured for the UE at the same time.
其中,群组优先级范围(Group Priority Range)可以是eNB为Tx Pool定义的一个参数,用于对UE从资源池选择传输资源时进行限定。The group priority range (Group Priority Range) may be a parameter defined by the eNB for the Tx Pool, and is used to limit the UE when selecting a transmission resource from the resource pool.
第一设置模块430,用于统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小。The first setting module 430 is configured to count the number of user terminals that communicate with the target group, and set the resource pools according to the group priority, the group priority range, and the number of the user terminals. size.
可选地,在本发明的一些可能的实施方式中,统计与各个具有不同群组优先级的目标群组通信的用户终端数量,根据与群组优先级落入各个群组优先级范围内的目标群组通信的用户终端数量的多少,设置群组优先级范围对应的各个资源池的大小。Optionally, in some possible implementation manners of the present invention, the number of user terminals that communicate with each target group having different group priorities is counted, and the group priority falls within each group priority range according to the group priority. Set the number of user terminals that the target group communicates, and set the size of each resource pool corresponding to the group priority range.
其中,资源池越大,代表可以分配的资源越多,反正越少。Among them, the larger the resource pool, the more resources that can be allocated, the less anyway.
可以理解,根据这几个数值对Tx Pool的大小进行设置后,各个Tx Pool的大小反映的是该优先级范围内可以分配的通信的资源的多少,从而可以合理地方便UE进行资源选择。It can be understood that, after the size of the Tx Pool is set according to the values, the size of each Tx Pool reflects the amount of resources that can be allocated in the priority range, so that the UE can reasonably facilitate resource selection.
发送模块440,用于发送所述各个资源池的大小给所述用户终端。The sending module 440 is configured to send the size of each resource pool to the user terminal.
可以理解,在设置好各个Tx Pool的大小后,将各个Tx Pool的大小信息发送给用户终端,从而便于UE在各个Tx Pool中选择传输资源。It can be understood that after the size of each Tx Pool is set, the size information of each Tx Pool is sent to the user terminal, so that the UE can select the transmission resource in each Tx Pool.
第二设置模块450,用于若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。The second setting module 450 is configured to allow the user terminal to access the resource pool if the group priority of the target group requested by the user terminal is higher than or equal to the group priority range of the resource pool.
可以理解,利用此种UE访问Tx Pool的方式,则可以在用户终端请求通信的目标群组的群组优先级越高时,UE可以选择的Tx Pool范围越大,以及与UE进行通信的目标通信群组越多时,UE可以选择的Tx Pool也越多,从而可以保 证高优先级的目标群组选择传输资源的成功率更高。It can be understood that, by using such a manner that the UE accesses the Tx Pool, the Tx Pool range that the UE can select is higher, and the target that communicates with the UE, the higher the group priority of the target group that the user terminal requests to communicate. The more communication groups, the more Tx Pools the UE can select, so that it can be guaranteed. The success rate of the target group selected by the high priority is higher.
需要说明的是,发送模块440和第二设置模块450的信号传输顺序可以是从发送模块440传输到第二设置模块450,也可以是从第二设置模块450传输到发送模块440。It should be noted that the signal transmission sequence of the sending module 440 and the second setting module 450 may be transmitted from the sending module 440 to the second setting module 450, or may be transmitted from the second setting module 450 to the sending module 440.
可以理解的是,本实施例的资源分配装置400的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the functional modules of the resource allocation apparatus 400 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again. .
可以看出,本实施例的方案中,资源分配装置400获取目标群组的群组优先级;资源分配装置400定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;资源分配装置400统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;资源分配装置400发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则资源分配装置400允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the solution of the embodiment, the resource allocation device 400 acquires the group priority of the target group; the resource allocation device 400 defines the group priority range of each resource pool, and the number of the resource pool is not less than one. The resource allocation device 400 counts the number of user terminals that communicate with the target group, and sets the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; The distribution device 400 transmits the size of each of the resource pools to the user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the resource allocation device 400 allows the user terminal to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
请再参见图5,图5是本发明第五实施例提供的一种资源分配装置的结构示意图,其中,如图5所示,本发明第五实施例提供的一种资源分配装置500可以包括:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a resource allocation apparatus according to a fifth embodiment of the present invention. As shown in FIG. 5, a resource allocation apparatus 500 according to a fifth embodiment of the present invention may include :
获取模块510、定义模块520、第一设置模块530、发送模块550和第二设置模块560,并且上述装置的基本功能与获取模块410、定义模块420、第一设置模块430、发送模块450和第二设置模块460的功能相似,不同的是,在本发明第四实施例的基础上,各功能模块的功能有如下补充。The obtaining module 510, the defining module 520, the first setting module 530, the sending module 550, and the second setting module 560, and the basic functions of the foregoing apparatus, the obtaining module 410, the defining module 420, the first setting module 430, the sending module 450, and the The functions of the second setting module 460 are similar, except that on the basis of the fourth embodiment of the present invention, the functions of the functional modules are supplemented as follows.
具体的,在本发明的一些可能的实施方式中,所述资源池的数量为4个。Specifically, in some possible implementation manners of the present invention, the number of resource pools is four.
可选地,在本发明的一些可能的实施方式中,各个资源池群组优先级范围可以通过对总的群组优先级进行平分来进行定义。Optionally, in some possible implementation manners of the present invention, each resource pool group priority range may be defined by halving the total group priority.
例如,在本发明的一些可能的实施方式中,当Prose Function定义的Group Priority一共有Pmax=12级,即1、2、···12,Tx Pool的数量一共是4个,则可以将各个Tx Pool的Group Priority Range分别定义为:[1-3]、[4-6]、[7-9]和[9-12]。For example, in some possible implementation manners of the present invention, when the Group Priority defined by the Prose Function has a total of Pmax=12 levels, that is, 1, 2, . . . 12, and the number of Tx Pools is 4 in total, each can be The Group Priority Range of Tx Pool is defined as: [1-3], [4-6], [7-9], and [9-12].
可选地,在本发明的一些可能的实施方式中,所述第一设置模块530具体 用于:Optionally, in some possible implementation manners of the present disclosure, the first setting module 530 is specific Used for:
统计与所述目标群组通信的用户终端数量,根据所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。Counting the number of user terminals that communicate with the target group, and setting the group priority based on the positive correlation rule according to the number of the user terminals and the mapping relationship between the group priority and the group priority range The size of the resource pool corresponding to the scope.
其中,所述目标群组的群组优先级一定落入其中某个资源池的群组优先级范围内,所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系为,所述用户终端数量为与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量。The group priority of the target group must fall within a group priority range of one of the resource pools, and the number of the user terminals and the mapping between the group priority and the group priority range The relationship is that the number of user terminals is the number of all user terminals that communicate with a target group whose group priority falls within the group priority range.
可选地,在本发明的一些可能的实施方式中,所述基于正相关的规则设置所述群组优先级范围对应的资源池的大小,包括:Optionally, in some possible implementation manners of the present invention, the determining, according to a positive correlation rule, a size of a resource pool corresponding to the group priority range, including:
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越大,所述群组优先级范围对应的资源池越大;When the number of all user terminals that communicate with the target group whose group priority falls within the group priority range is larger, the resource pool corresponding to the group priority range is larger;
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越小,所述群组优先级范围对应的资源池越小。The smaller the number of all user terminals communicating with the target group whose group priority falls within the group priority range, the smaller the resource pool corresponding to the group priority range.
例如,在本发明的一些可能的实施方式中,当Prose Function定义的Group Priority一共有Pmax=12级,即1、2、···12,Tx Pool的数量一共是4个,设置各个Tx Pool的Group Priority Range分别定义为:[1-3]、[4-6]、[7-9]和[9-12],若统计到与群组优先级在[1-3]范围内的目标群组通信的UE的数量为14,与群组优先级在[4-6]范围内的目标群组通信的UE的数量为10,与群组优先级在[7-9]范围内的目标群组通信的UE的数量为10,与群组优先级在[9-12]范围内的目标群组通信的UE的数量为6,则Group Priority Range分别为[1-3]、[4-6]、[7-9]和[9-12]各个资源池的大小比例为14:10:10:6。For example, in some possible implementation manners of the present invention, when the Group Priority defined by the Prose Function has a total of Pmax=12, that is, 1, 2, . . . 12, the total number of Tx Pools is 4, and each Tx Pool is set. The Group Priority Range is defined as: [1-3], [4-6], [7-9], and [9-12], if the target with the group priority in [1-3] is counted. The number of UEs for group communication is 14, the number of UEs communicating with the target group whose group priority is in the range of [4-6] is 10, and the target with the group priority within the range of [7-9] The number of UEs for group communication is 10, and the number of UEs communicating with the target group whose group priority is in the range of [9-12] is 6, and the Group Priority Range is [1-3], [4- The size ratio of each resource pool of 6], [7-9], and [9-12] is 14:10:10:6.
可选地,在本发明的一些可能的实施方式中,UE向Prose Function请求与目标群组通信的Group Priority,UE再通过PC3接口直接从Prose Function获取Group Priority。Optionally, in some possible implementation manners of the present invention, the UE requests a Prose Function to communicate with the target group, and the UE obtains the Group Priority directly from the Prose Function through the PC3 interface.
可选地,在本发明的一些可能的实施方式中,所述获取模块510具体用于:Optionally, in some possible implementation manners of the present disclosure, the acquiring module 510 is specifically configured to:
通过无线资源控制协议消息从所述用户终端获取目标群组的群组优先级,或通过预设接口从临近服务功能体获取目标群组的群组优先级。Obtaining a group priority of the target group from the user terminal by using a RRC message, or acquiring a group priority of the target group from the neighboring service function through a preset interface.
可选地,在本发明的一些可能的实施方式中,eNB可以由UE通过RRC消息上报获取Group Priority,也可以通过已有接口,如S1、S6a、PC4a等间接与 Prose Function交互获取Group Priority。Optionally, in some possible implementation manners of the present invention, the eNB may obtain the Group Priority by the UE through RRC message reporting, or may be indirectly through an existing interface, such as S1, S6a, PC4a, and the like. The Prose Function interacts to get the Group Priority.
可以理解,此时eNB获取Group Priority的方式为被动获取方式,即此时伴随着UE接收Prose Function发送的Group Priority的过程获取的。It can be understood that the manner in which the eNB acquires the Group Priority is the passive acquisition mode, that is, the process is acquired along with the process of receiving the Group Priority sent by the Prose Function.
可选地,在本发明的另一些可能的实施方式中,所述获取模块510还包括:Optionally, in another possible implementation manner of the present invention, the acquiring module 510 further includes:
请求单元511,用于发送群组优先级获取请求给所述用户终端或临近服务功能体;The requesting unit 511 is configured to send a group priority acquisition request to the user terminal or the proximity service function body;
获取单元512,用于接收所述用户终端或所述临近服务功能实体返回的群组优先级。The obtaining unit 512 is configured to receive a group priority returned by the user terminal or the neighboring service function entity.
可选地,在本发明的一些可能的实施方式中,eNB先向UE或者Prose Function发送Group Priority获取请求,eNB再通过RRC消息接收UE返回的Group Priority,或通过接口,如S1、S6a、PC4a等间接与Prose Function交互获取Prose Function返回的Group Priority。Optionally, in some possible implementation manners of the present invention, the eNB first sends a Group Priority acquisition request to the UE or the Prose Function, and the eNB receives the Group Priority returned by the UE through the RRC message, or through an interface, such as S1, S6a, and PC4a. Indirectly interact with the Prose Function to get the Group Priority returned by the Prose Function.
可以理解,此时eNB获取Group Priority的方式为主动获取方式。It can be understood that the manner in which the eNB acquires the Group Priority is the active acquisition mode.
可选地,在本发明的一些可能的实施方式中,所述装置还包括:Optionally, in some possible implementation manners of the present invention, the device further includes:
指示模块,用于若所述用户终端选择使用资源池的资源与所述目标群组通信时发生冲突,则指示所述用户终端等待预设时间后再继续选择使用所述资源池的资源,其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户终端的预设端口平均吞吐量成正相关。And an indication module, configured to: if the user terminal selects a resource that uses the resource pool to communicate with the target group, instructing the user terminal to wait for a preset time, and then continue to select to use the resource of the resource pool, where The preset time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
可选地,在本发明的一些可能的实施方式中,所述预设端口的平均吞吐量(Tpt)为UE监测自己PC5端口所得到的数据。Optionally, in some possible implementation manners of the present invention, the average throughput (Tpt) of the preset port is data obtained by the UE to monitor its own PC5 port.
可选地,在本发明的一些可能的实施方式中,UE在选择传输资源不成功时,则等待预设时间(Backoff_Time)后再进行选择,该预设时间的确定可以同时考虑Group Priority和Tpt,也可以只考虑其中一个参数,确定规则是,Backoff_Time与目标群组的群组优先级成反相关,与UE的预设端口的平均吞吐量成正相关,即若目标群组的群组优先级越高,Group Priority的值越小,平均吞吐量越大,Tpt的值越大,即可以表示为Backoff_Time∝Group Priority·Tpt。Optionally, in some possible implementation manners of the present invention, when the UE selects a transmission resource that is unsuccessful, the UE waits for a preset time (Backoff_Time) before selecting, and the preset time may be determined by considering Group Priority and Tpt. It is also possible to consider only one of the parameters, and determine that the rule is that Backoff_Time is inversely related to the group priority of the target group, and is positively correlated with the average throughput of the preset port of the UE, that is, if the target group has the group priority. The higher the value of Group Priority, the larger the average throughput, and the larger the value of Tpt, the more it can be expressed as Backoff_Time∝Group Priority·Tpt.
可以理解,利用上述方式,在群组优先级越高时,等待时间越短,平均吞吐量越小时,等待时间越短,则可以在UE使得Group Priority越高的群组更有机会竞争到资源,且在UE占用传输资源不是特别大的情况下允许有一定的机会能优先竞争到资源。 It can be understood that, in the above manner, when the group priority is higher, the shorter the waiting time, the smaller the average throughput, and the shorter the waiting time, the UE can make the group with higher Group Priority have more chance to compete for resources. And, if the UE occupies a transmission resource that is not particularly large, there is a certain opportunity to preferentially compete for resources.
可选地,在本发明的一些可能的实施方式中,在无网络覆盖的情况下,eNB为UE配置了有限个Group ID支持的Group Priority和可用的Tx Pool后,UE依然利用该方式从Tx Pool中选择传输资源与目标群组之间建立D2D通信。Optionally, in some possible implementation manners of the present invention, after the eNB configures the UE with a limited Group ID supported Group Priority and an available Tx Pool in the absence of network coverage, the UE still uses the method from the Tx. The D2D communication is established between the selected transmission resource and the target group in the Pool.
可以理解的是,本实施例的资源分配装置500的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the functional modules of the resource allocation apparatus 500 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again. .
可以看出,本实施例的方案中,资源分配装置500获取目标群组的群组优先级;资源分配装置500定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;资源分配装置500统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;资源分配装置500发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则资源分配装置500允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the solution of this embodiment, the resource allocation device 500 acquires the group priority of the target group; the resource allocation device 500 defines a group priority range of each resource pool, and the number of the resource pool is not less than one. The resource allocation device 500 counts the number of user terminals that communicate with the target group, and sets the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; The distribution device 500 transmits the size of each resource pool to the user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the resource allocation device 500 allows the user terminal to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
参见图6,图6是本发明第六实施例提供的一种资源分配装置的结构示意图。如图6所示,本发明第六实施例提供的一种资源分配装置600可以包括:至少一个总线601、与总线相连的至少一个处理器602以及与总线相连的至少一个存储器603。Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a resource allocation apparatus according to a sixth embodiment of the present invention. As shown in FIG. 6, a resource allocation apparatus 600 according to a sixth embodiment of the present invention may include: at least one bus 601, at least one processor 602 connected to the bus, and at least one memory 603 connected to the bus.
其中,处理器602通过总线601,调用存储器603中存储的代码以用于获取目标群组的群组优先级;定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。The processor 602 calls the code stored in the memory 603 to obtain the group priority of the target group through the bus 601. The group priority range of each resource pool is defined, and the number of the resource pools is not less than one. Counting the number of user terminals that communicate with the target group, setting the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; sending the resources The size of the pool is given to the user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
其中,群组是指与UE处于同一个通信网络中的包含多个UE的UE群组,目标群组即指与UE进行D2D通信的目标UE群组;UE是指连接在通信网络中、能够获取网络资源、具有信息发送和接收功能从而能够与通信网络中其它UE、UE群组或eNB建立通信的UE; The group refers to a group of UEs that include multiple UEs in the same communication network as the UE. The target group refers to the target UE group that performs D2D communication with the UE. The UE refers to the connection in the communication network. Acquiring network resources, UEs having information transmitting and receiving functions to be able to establish communication with other UEs, UE groups or eNBs in the communication network;
UE可以在获取到资源后,和目标群组之间进行D2D通信,并且同一个UE可以同时和不同的目标群组之间进行D2D通信。在同一个网络,临近服务功能实体(Prose Function)对所有群组进行统一管理,给每个群组一个唯一标识,即群组编号(Group ID),当同一个UE和不同的目标群组之间进行D2D通信时,可以通过Group ID进行区分;并且,不同的UE和不同的目标群组之间进行D2D通信时,相对于不同的UE来说,同一个群组的Group ID不变。The UE may perform D2D communication with the target group after acquiring the resource, and the same UE may perform D2D communication with different target groups at the same time. In the same network, the proximity service function entity (Prose Function) manages all groups in a unified manner, giving each group a unique identifier, that is, the group ID, when the same UE and different target groups When D2D communication is performed, the group ID can be distinguished; and when D2D communication is performed between different UEs and different target groups, the group ID of the same group does not change with respect to different UEs.
其中,群组优先级(Group Priority)是当同一个网络中存在不同的群组时,用于对不同的群组获取相关资源或者取得相关权限的一个优先等级程度进行区分的参数。The group priority is a parameter used to distinguish related groups from different groups to obtain related resources or obtain related rights when there are different groups in the same network.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的Group Priority的数值越小,则代表该目标群组获取相关资源或取得相关权限的优先等级越高,反之,越低。Optionally, in some possible implementation manners of the present invention, the smaller the value of the Group Priority of the target group that communicates with the UE, the higher the priority level for obtaining the related resource or obtaining the related authority on the target group. On the contrary, the lower.
可选地,在本发明的一些可能的实施方式中,与UE进行通信的目标群组的群组优先级可以由Group ID唯一映射,也即不同的群组具有不同的Group ID,与UE进行通信时,具有不同的Group Priority。Optionally, in some possible implementation manners of the present invention, the group priority of the target group that communicates with the UE may be uniquely mapped by the group ID, that is, different groups have different Group IDs, and the UE performs When communicating, it has a different Group Priority.
可选地,在本发明的一些可能的实施方式中,eNB获取目标群组优先级的方式可以是eNB主动请求的过程,也可以是eNB被动地接收目标群组优先级的过程。Optionally, in some possible implementation manners of the present invention, the manner in which the eNB obtains the target group priority may be a process that the eNB actively requests, or may be a process in which the eNB passively receives the target group priority.
其中,资源池(Tx Pool)是指资源的集合,eNB可以通过资源池给UE进行资源分配,从而,UE可以从资源池中选择自己所需要的传输资源与其它UE或UE群组之间建立连接。目前,在3GPP Rel-12下,最多可以同时为UE配置4个可供使用的资源池。The resource pool (Tx Pool) refers to a set of resources, and the eNB can allocate resources to the UE through the resource pool. Therefore, the UE can select a transmission resource that is required by the UE from the resource pool to establish with other UEs or UE groups. connection. Currently, under 3GPP Rel-12, up to four resource pools can be configured for the UE at the same time.
其中,群组优先级范围(Group Priority Range)可以是eNB为Tx Pool定义的一个参数,用于对UE从资源池选择传输资源时进行限定。The group priority range (Group Priority Range) may be a parameter defined by the eNB for the Tx Pool, and is used to limit the UE when selecting a transmission resource from the resource pool.
可选地,在本发明的一些可能的实施方式中,统计与各个具有不同群组优先级的目标群组通信的用户终端数量,根据与群组优先级落入各个群组优先级范围内的目标群组通信的用户终端数量的多少,设置群组优先级范围对应的各个资源池的大小。Optionally, in some possible implementation manners of the present invention, the number of user terminals that communicate with each target group having different group priorities is counted, and the group priority falls within each group priority range according to the group priority. Set the number of user terminals that the target group communicates, and set the size of each resource pool corresponding to the group priority range.
其中,资源池越大,代表可以分配的资源越多,反正越少。Among them, the larger the resource pool, the more resources that can be allocated, the less anyway.
可选地,在本发明的一些可能的实施方式中,所述统计与所述目标群组通 信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小,包括:Optionally, in some possible implementation manners of the present disclosure, the statistics are related to the target group The number of the user terminals of the message is set according to the group priority, the group priority range, and the number of the user terminals, including:
统计与所述目标群组通信的用户终端数量,根据所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。Counting the number of user terminals that communicate with the target group, and setting the group priority based on the positive correlation rule according to the number of the user terminals and the mapping relationship between the group priority and the group priority range The size of the resource pool corresponding to the scope.
其中,所述目标群组的群组优先级一定落入其中某个资源池的群组优先级范围内,所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系为,所述用户终端数量为与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量。The group priority of the target group must fall within a group priority range of one of the resource pools, and the number of the user terminals and the mapping between the group priority and the group priority range The relationship is that the number of user terminals is the number of all user terminals that communicate with a target group whose group priority falls within the group priority range.
可选地,在本发明的一些可能的实施方式中,所述基于正相关的规则设置所述群组优先级范围对应的资源池的大小,包括:Optionally, in some possible implementation manners of the present invention, the determining, according to a positive correlation rule, a size of a resource pool corresponding to the group priority range, including:
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越大,所述群组优先级范围对应的资源池越大;When the number of all user terminals that communicate with the target group whose group priority falls within the group priority range is larger, the resource pool corresponding to the group priority range is larger;
当与群组优先级落入所述群组优先级范围的目标群组通信的所有用户终端的数量越小,所述群组优先级范围对应的资源池越小。The smaller the number of all user terminals communicating with the target group whose group priority falls within the group priority range, the smaller the resource pool corresponding to the group priority range.
可选地,在本发明的一些可能的实施方式中,所述获取目标群组的群组优先级的方式,包括:Optionally, in some possible implementation manners of the present disclosure, the manner of obtaining a group priority of a target group includes:
通过无线资源控制协议消息从所述用户终端获取目标群组的群组优先级,或通过预设接口从临近服务功能体获取目标群组的群组优先级。Obtaining a group priority of the target group from the user terminal by using a RRC message, or acquiring a group priority of the target group from the neighboring service function through a preset interface.
可选地,在本发明的另一些可能的实施方式中,所述获取目标群组的群组优先级,包括:Optionally, in another possible implementation manner of the present invention, the obtaining a group priority of the target group includes:
发送群组优先级获取请求给所述用户终端或临近服务功能体;Sending a group priority acquisition request to the user terminal or an adjacent service function;
接收所述用户终端或所述临近服务功能实体返回的群组优先级。Receiving a group priority returned by the user terminal or the proximity service function entity.
可选地,在本发明的一些可能的实施方式中,所述方法还包括:Optionally, in some possible implementation manners of the present invention, the method further includes:
若所述用户终端选择使用资源池的资源与所述目标群组通信时发生冲突,则指示所述用户终端等待预设时间后再继续选择使用所述资源池的资源,其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户终端的预设端口平均吞吐量成正相关。If the user terminal selects a resource that uses the resource pool to communicate with the target group, the user terminal is instructed to wait for the preset time to continue using the resource of the resource pool, where the preset The time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
可以理解的是,本实施例的资源分配装置600的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例 的相关描述,此处不再赘述。It can be understood that the functions of the functional modules of the resource allocation device 600 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the foregoing method embodiment. The related description is not repeated here.
可以看出,本实施例的方案中,资源分配装置600获取目标群组的群组优先级;资源分配装置600定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;资源分配装置600统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;资源分配装置600发送所述各个资源池的大小给所述用户终端。若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则资源分配装置600允许所述用户终端访问所述资源池。从而可以充分利用各个Tx Pool进行资源分配,并且UE可以从各个Tx Pool中灵活选择传输资源与目标群组建立D2D通信,实施效率高。It can be seen that, in the solution of the embodiment, the resource allocation device 600 acquires the group priority of the target group; the resource allocation device 600 defines the group priority range of each resource pool, and the number of the resource pool is not less than one. The resource allocation device 600 counts the number of user terminals that communicate with the target group, and sets the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals; The distribution device 600 transmits the size of each resource pool to the user terminal. If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the resource allocation device 600 allows the user terminal to access the resource pool. Therefore, the resource allocation can be fully utilized by each Tx Pool, and the UE can flexibly select the transmission resource from each Tx Pool to establish D2D communication with the target group, and the implementation efficiency is high.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何音频播放应用的操作方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the operation method of any of the audio playback applications described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose some or all of them according to actual needs. The unit is to achieve the purpose of the solution of the embodiment.
另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or some of the technical features are replaced by equivalents; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

  1. 一种资源分配方法,其特征在于,所述方法包括:A resource allocation method, the method comprising:
    获取目标群组的群组优先级;Get the group priority of the target group;
    定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;Defining a group priority range of each resource pool, the number of the resource pools being not less than one;
    统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;Counting the number of user terminals that communicate with the target group, and setting the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals;
    发送所述各个资源池的大小给所述用户终端;Sending the size of each resource pool to the user terminal;
    若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。If the group priority of the target group that the user terminal requests for communication is higher than or equal to the group priority range of the resource pool, the user terminal is allowed to access the resource pool.
  2. 根据权利要求1所述的方法,其特征在于,所述统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小,包括:The method according to claim 1, wherein the number of user terminals that communicate with the target group is counted according to the group priority, the group priority range, and the number of the user terminals. Set the size of each resource pool, including:
    统计与所述目标群组通信的用户终端数量,根据所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。Counting the number of user terminals that communicate with the target group, and setting the group priority based on the positive correlation rule according to the number of the user terminals and the mapping relationship between the group priority and the group priority range The size of the resource pool corresponding to the scope.
  3. 根据权利要求1所述的方法,其特征在于,所述获取目标群组的群组优先级,包括:The method according to claim 1, wherein the obtaining a group priority of the target group comprises:
    通过无线资源控制协议消息从所述用户终端获取目标群组的群组优先级,或通过预设接口从临近服务功能体获取目标群组的群组优先级。Obtaining a group priority of the target group from the user terminal by using a RRC message, or acquiring a group priority of the target group from the neighboring service function through a preset interface.
  4. 根据权利要求1所述的方法,所述获取目标群组的群组优先级,包括:The method according to claim 1, wherein the obtaining a group priority of the target group comprises:
    发送群组优先级获取请求给所述用户终端或临近服务功能实体;Sending a group priority acquisition request to the user terminal or an adjacent service function entity;
    接收所述用户终端或所述临近服务功能实体返回的群组优先级。Receiving a group priority returned by the user terminal or the proximity service function entity.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, further comprising:
    若所述用户终端选择使用资源池的资源与所述目标群组通信时发生冲突,则指示所述用户终端等待预设时间后再继续选择使用所述资源池的资源,其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户终端的预设端口平均吞吐量成正相关。If the user terminal selects a resource that uses the resource pool to communicate with the target group, the user terminal is instructed to wait for the preset time to continue using the resource of the resource pool, where the preset The time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
  6. 一种资源分配装置,其特征在于,所述装置包括:A resource allocation device, characterized in that the device comprises:
    获取模块,用于获取目标群组的群组优先级; An obtaining module, configured to obtain a group priority of the target group;
    定义模块,用于定义各个资源池的群组优先级范围,所述资源池的数量不少于一个;a definition module, configured to define a group priority range of each resource pool, where the number of resource pools is not less than one;
    第一设置模块,用于统计与所述目标群组通信的用户终端数量,根据所述群组优先级、所述群组优先级范围以及所述用户终端数量,设置所述各个资源池的大小;a first setting module, configured to count the number of user terminals that communicate with the target group, and set the size of each resource pool according to the group priority, the group priority range, and the number of the user terminals ;
    发送模块,用于发送所述各个资源池的大小给所述用户终端;a sending module, configured to send the size of each resource pool to the user terminal;
    第二设置模块,用于若所述用户终端请求通信的目标群组的群组优先级高于或等于资源池的群组优先级范围,则允许所述用户终端访问所述资源池。The second setting module is configured to allow the user terminal to access the resource pool if the group priority of the target group that the user terminal requests to communicate is higher than or equal to the group priority range of the resource pool.
  7. 根据权利要求6所述的装置,其特征在于,所述第一设置模块具体用于:The device according to claim 6, wherein the first setting module is specifically configured to:
    统计与所述目标群组通信的用户终端数量,根据所述用户终端数量以及所述群组优先级和所述群组优先级范围的映射关系,基于正相关的规则设置所述群组优先级范围对应的资源池的大小。Counting the number of user terminals that communicate with the target group, and setting the group priority based on the positive correlation rule according to the number of the user terminals and the mapping relationship between the group priority and the group priority range The size of the resource pool corresponding to the scope.
  8. 根据权利要求6所述的装置,其特征在于,所述获取模块具体用于:The device according to claim 6, wherein the obtaining module is specifically configured to:
    通过无线资源控制协议消息从所述用户终端获取目标群组的群组优先级,或通过预设接口从临近服务功能体获取目标群组的群组优先级。Obtaining a group priority of the target group from the user terminal by using a RRC message, or acquiring a group priority of the target group from the neighboring service function through a preset interface.
  9. 根据权利要求6所述的装置,其特征在于,所述获取模块还包括:The device according to claim 6, wherein the obtaining module further comprises:
    请求单元,用于发送群组优先级获取请求给所述用户终端或临近服务功能实体;a requesting unit, configured to send a group priority obtaining request to the user terminal or an adjacent service function entity;
    获取单元,用于接收所述用户终端或所述临近服务功能实体返回的群组优先级。And an obtaining unit, configured to receive a group priority returned by the user terminal or the neighboring service function entity.
  10. 根据权利要求6至9任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6 to 9, wherein the device further comprises:
    指示模块,用于若所述用户终端选择使用资源池的资源与所述目标群组通信时发生冲突,则指示所述用户终端等待预设时间后再继续选择使用所述资源池的资源,其中,所述预设时间与所述目标群组的群组优先级成反相关,与所述用户终端的预设端口平均吞吐量成正相关。 And an indication module, configured to: if the user terminal selects a resource that uses the resource pool to communicate with the target group, instructing the user terminal to wait for a preset time, and then continue to select to use the resource of the resource pool, where The preset time is inversely related to the group priority of the target group, and is positively correlated with the preset port average throughput of the user terminal.
PCT/CN2015/088467 2015-06-30 2015-08-30 Resource allocation method and apparatus WO2017000375A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510385993.3 2015-06-30
CN201510385993.3A CN105578594A (en) 2015-06-30 2015-06-30 Resource allocation method and device

Publications (1)

Publication Number Publication Date
WO2017000375A1 true WO2017000375A1 (en) 2017-01-05

Family

ID=55888121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088467 WO2017000375A1 (en) 2015-06-30 2015-08-30 Resource allocation method and apparatus

Country Status (2)

Country Link
CN (1) CN105578594A (en)
WO (1) WO2017000375A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464583A (en) * 2019-01-22 2020-07-28 阿里巴巴集团控股有限公司 Computing resource allocation method, device, server and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102172B (en) * 2016-06-07 2019-05-17 北京邮电大学 A kind of uplink channel resources distribution method and device
CN107690127A (en) * 2016-08-04 2018-02-13 北京信威通信技术股份有限公司 A kind of determination method and device of the communication resource
CN109479300B (en) * 2016-09-29 2020-12-04 Oppo广东移动通信有限公司 Information transmission method, network equipment and terminal equipment
CN108207020B (en) * 2016-12-19 2021-03-02 中国电信股份有限公司 Uplink scheduling-free transmission method, terminal and base station
CN106506560B (en) * 2016-12-29 2019-10-29 广州华多网络科技有限公司 A kind of right management method and device
CN113840244A (en) * 2020-06-24 2021-12-24 成都鼎桥通信技术有限公司 Group access control method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130114531A1 (en) * 2011-11-02 2013-05-09 Electronics And Telecommunications Research Institute Method for radio resource management in device-to-device communication
CN104284298A (en) * 2013-07-08 2015-01-14 电信科学技术研究院 Resource control method in group communication and group communication server
CN104410975A (en) * 2014-11-06 2015-03-11 东莞宇龙通信科技有限公司 Resource configuration method and system, equipment with base station function and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130114531A1 (en) * 2011-11-02 2013-05-09 Electronics And Telecommunications Research Institute Method for radio resource management in device-to-device communication
CN104284298A (en) * 2013-07-08 2015-01-14 电信科学技术研究院 Resource control method in group communication and group communication server
CN104410975A (en) * 2014-11-06 2015-03-11 东莞宇龙通信科技有限公司 Resource configuration method and system, equipment with base station function and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LG ELECTRONICS INC.: "Resource Pool Selection with Group Priority", 3GPP TSG-RAN WG2 #88 R2-145078, 21 November 2014 (2014-11-21), SANFRANCISCO, USA, XP050886658 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464583A (en) * 2019-01-22 2020-07-28 阿里巴巴集团控股有限公司 Computing resource allocation method, device, server and storage medium
CN111464583B (en) * 2019-01-22 2023-04-07 阿里巴巴集团控股有限公司 Computing resource allocation method, device, server and storage medium

Also Published As

Publication number Publication date
CN105578594A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2017000375A1 (en) Resource allocation method and apparatus
US9560492B2 (en) Method for allocating identification, method for paging group, and communication device
WO2017101209A1 (en) Service transmission method and apparatus
CN106162513B (en) Method and apparatus for supporting prioritized proximity traffic direct communication
CN106060947A (en) Resource distribution method and system in wireless mobile communication
CN107005984B (en) Method for reducing resource conflict and UE
US10028293B2 (en) Method and apparatus for controlling data transmission on radio communication network
JP6438132B2 (en) Data transmission method, resource measurement method, apparatus, and device
WO2016155113A1 (en) Group communication method, user equipment, base station device and system
WO2017036272A1 (en) Resource selection method and device
CN110087328B (en) Resource multiplexing method and device
EP3104629A1 (en) Device-to-device broadcast communication method and user equipment
CN103957518A (en) D2D communication method in cellular network
KR20160045618A (en) Method and system for handling device to device (d2d) communication
JP2021513786A (en) Carrier set determination methods and devices, storage media, and electronic devices
US9848398B2 (en) Scheduling method between terminals for search resource allocation in direct device to device communication and device thereof
WO2015028357A1 (en) Channel resource allocation for device-to-device communication
KR20180016525A (en) Resource allocation method, UE, and base station
JP2016539568A (en) Method and apparatus for transmitting D2D discovery signal
US10051566B2 (en) System and method for data communication in a decentralized and power efficient manner
EP2744285B1 (en) Method and device for short-delay resource management, and wireless access network device
WO2015109569A1 (en) Resources allocation method and device
WO2013121399A1 (en) Method and apparatus for allocating discovery resources for device to device communications
US9491759B2 (en) Method and apparatus for assigning connection identifiers of device-to-device communications
US20150312938A1 (en) Mtc rach procedure

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: 15896905

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 22/05/2018 )

122 Ep: pct application non-entry in european phase

Ref document number: 15896905

Country of ref document: EP

Kind code of ref document: A1