CN108347319A - A kind of method, apparatus of resource allocation - Google Patents
A kind of method, apparatus of resource allocation Download PDFInfo
- Publication number
- CN108347319A CN108347319A CN201710059356.6A CN201710059356A CN108347319A CN 108347319 A CN108347319 A CN 108347319A CN 201710059356 A CN201710059356 A CN 201710059356A CN 108347319 A CN108347319 A CN 108347319A
- Authority
- CN
- China
- Prior art keywords
- current
- user
- resource
- users
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013468 resource allocation Methods 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000001351 cycling effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0037—Inter-user or inter-terminal allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/0001—Arrangements for dividing the transmission path
- H04L5/0003—Two-dimensional division
- H04L5/0005—Time-frequency
- H04L5/0007—Time-frequency the frequencies being orthogonal, e.g. OFDM(A) or DMT
- H04L5/001—Time-frequency the frequencies being orthogonal, e.g. OFDM(A) or DMT the frequencies being arranged in component carriers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0044—Allocation of payload; Allocation of data channels, e.g. PDSCH or PUSCH
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0053—Allocation of signalling, i.e. of overhead other than pilot signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0078—Timing of allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/52—Allocation or scheduling criteria for wireless resources based on load
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种资源分配的方法、装置,其中该方法将等待分配资源的用户队列按照优先级别由高至低分为第一类用户的队列、第二类用户的队列,第一类用户为一个方向的业务正在传输、另一个方向有业务到达的用户,第二类用户为有业务到达的所有用户,在当前的调度分配周期开始时,由第一类用户的队列中依次取出等待分配资源的第一类用户,并为每个第一类用户分配另一个方向的资源;当所有的第一类用户均结束当前调度分配周期的资源分配过程时,为第二类用户的队列中等待分配资源的第二类用户分配资源,这样将同一子带的上行方向资源和下行方向资源分配给不同的终端用户,从而避免子带中某一方向资源闲置,有效提高子带利用率。
The present invention provides a resource allocation method and device, wherein the method divides the queue of users waiting for allocation of resources into the queue of the first type of users, the queue of the second type of users, and the queue of the first type of users according to the priority level from high to low. It refers to users whose services are being transmitted in one direction and services arrive in the other direction. The second type of users are all users who have services arriving. At the beginning of the current scheduling and allocation cycle, they are sequentially taken out from the queue of the first type of users and wait for allocation. The first type of users of resources, and allocate resources in the other direction for each first type of user; when all the first type of users have finished the resource allocation process of the current scheduling allocation cycle, wait in the queue for the second type of users The second type of users who allocate resources allocate resources, so that the uplink resources and downlink resources of the same subband are allocated to different end users, so as to avoid idle resources in a certain direction in the subband and effectively improve the utilization rate of the subband.
Description
技术领域technical field
本发明涉及移动通信技术领域,特别涉及一种资源分配的方法、装置。The present invention relates to the technical field of mobile communication, in particular to a resource allocation method and device.
背景技术Background technique
在无线通信系统中,MAC层的调度算法起着至关重要的作用,一个好的调度算法可以保证终端用户间的公平性,降低系统复杂度,提高系统吞吐量的作用。In a wireless communication system, the scheduling algorithm of the MAC layer plays a vital role. A good scheduling algorithm can ensure fairness among end users, reduce system complexity, and improve system throughput.
目前,无线通信系统的调度算法通常分为上行调度算法和下行调度算法。上行调度算法职位用户分配上行的资源,并维护上行资源池;而下行调度算法只为用户分配下行的资源,并维护下行资源池。At present, scheduling algorithms in wireless communication systems are generally divided into uplink scheduling algorithms and downlink scheduling algorithms. The uplink scheduling algorithm assigns uplink resources to users and maintains the uplink resource pool; while the downlink scheduling algorithm only allocates downlink resources to users and maintains the downlink resource pool.
通常,如果某一用户具有上行(或下行)方向业务产生,上行(或下行)调度算法会将某一频带的上行(或下行)资源分配给该用户;如果之后该用户又有下行(或上行)方向业务到达,下行(或上行)调度算法会将另一频带的下行(或上行)的资源分配给该用户。如果上述两个频带的不是同一频带,就要求终端用户可以同时工作在两个或者更多的频带上,从而增大终端设计和实现的复杂度。因此,规定终端用户都只能在一个频带上工作。Usually, if a certain user has uplink (or downlink) traffic generation, the uplink (or downlink) scheduling algorithm will allocate uplink (or downlink) resources of a certain frequency band to the user; ) direction traffic arrives, the downlink (or uplink) scheduling algorithm will allocate downlink (or uplink) resources of another frequency band to the user. If the above two frequency bands are not the same frequency band, the terminal user is required to work on two or more frequency bands at the same time, thus increasing the complexity of terminal design and implementation. Therefore, it is stipulated that end users can only work in one frequency band.
但是,如果终端用户都只能在一个频带上工作时,会存在如下的问题,当某一终端用户有上行(或下行)业务到达时,调度算法会将频带M的上行(或下行)方向资源分配给该终端用户使用,同时,该频带M的下行(或上行)资源将预留给该终端用户的下行(或上行)方向业务使用,且不再分配给其他终端用户使用。这样,如果该终端用户只有上行方向或者下行方向业务时,频带M的另一方向仍不能分配给其他终端用户使用,导致频带M的另一方向的资源闲置而浪费。However, if the end users can only work on one frequency band, there will be the following problems. When a certain end user has uplink (or downlink) service arriving, the scheduling algorithm will use the uplink (or downlink) direction resources of the frequency band M Allocated to the terminal user, at the same time, the downlink (or uplink) resources of the frequency band M will be reserved for the downlink (or uplink) direction of the terminal user, and will not be allocated to other terminal users. In this way, if the terminal user only has services in the uplink direction or downlink direction, the other direction of the frequency band M cannot be allocated to other terminal users, resulting in idle and wasted resources in the other direction of the frequency band M.
有鉴于此,本发明提供了一种资源分配的方法,可将同一子带的上行方向资源和下行方向资源分配给不同的终端用户,从而避免子带中某一方向资源闲置,有效提高子带利用率。In view of this, the present invention provides a method for resource allocation, which can allocate uplink resources and downlink resources of the same subband to different end users, thereby avoiding idle resources in a certain direction in the subband, and effectively improving the resource utilization of the subband. utilization rate.
发明内容Contents of the invention
本发明提供了一种资源分配的方法,该方法将等待分配资源的用户队列安装优先级别进行划分,并可将同一子带的两个方向上的资源分配给不同的用户,从而可避免子带的两个方向的资源捆绑必须分配给同一个用户时的资源闲置,提高了子带资源的利用率。The present invention provides a resource allocation method, which divides the installation priority levels of user queues waiting for allocation of resources, and can allocate resources in two directions of the same sub-band to different users, thereby avoiding sub-band The resource binding in the two directions must be allocated to the same user when the resources are idle, which improves the utilization rate of the subband resources.
本发明提供了一种资源分配的方法,该方法将等待分配资源的用户队列按照优先级别由高至低分为第一类用户的队列、第二类用户的队列,所述第一类用户为一个方向的业务正在传输、另一个方向有业务到达的用户,第二类用户为有业务到达的所有用户,并且该方法包括周期性执行的如下步骤:The present invention provides a resource allocation method, which divides the queue of users waiting for resource allocation into the queue of the first type of users and the queue of the second type of users according to the priority level from high to low, and the first type of users is The user whose business is being transmitted in one direction and arrives in the other direction, the second type of user is all users who have business arriving, and the method includes the following steps that are periodically executed:
a、在当前的调度分配周期开始时,由第一类用户的队列中依次取出等待分配资源的第一类用户,并为等待分配资源的每个第一类用户分配所述另一个方向的资源;a. At the beginning of the current scheduling and allocation cycle, the first type of users waiting to be allocated resources are sequentially taken out from the queue of the first type of users, and resources in the other direction are allocated to each of the first type of users waiting for allocation of resources ;
b、当第一类用户的队列中所有的第一类用户均结束当前调度分配周期的资源分配过程时,由第二类用户的队列中依次取出等待分配资源的第二类用户,并为等待分配资源的每个第二类用户分配资源。b. When all the first-type users in the queue of the first-type users have finished the resource allocation process of the current scheduling and allocation cycle, the second-type users waiting to be allocated resources are sequentially taken out from the queue of the second-type users, and are waiting for Each second-class user who allocates resources allocates resources.
可选地,每个第一类用户在两个方向上被分配的资源属于同一子带。Optionally, resources allocated to each first-type user in two directions belong to the same subband.
可选地,步骤a包括:Optionally, step a includes:
a1、读取由第一类用户的队列中取出的等待分配资源的当前的第一类用户的属性列表,获取当前的第一类用户正在传输业务方向所占用的子带信息;a1. Read the attribute list of the current first-type users waiting to be allocated resources taken out from the queue of the first-type users, and obtain the sub-band information occupied by the current first-type users that are transmitting the service direction;
a2、当所占用的子带中与当前的第一类用户的当前业务到达方向对应的资源空闲时,将该子带中与当前的第一类用户的当前业务到达方向对应的子带资源分配给当前的第一类用户;a2. When the resource corresponding to the current direction of arrival of the current service of the first type of user in the occupied subband is idle, allocate the subband resource corresponding to the current direction of arrival of the current service of the first type of user in the subband to the current first class user;
a3、当所占用的子带中与当前的第一类用户的当前业务到达方向对应的子带资源已被其他用户占用时,当前的第一类用户等待下一调度分配周期。a3. When the subband resource corresponding to the current service arrival direction of the current first-type user in the occupied sub-band has been occupied by other users, the current first-type user waits for the next scheduling allocation period.
可选地,步骤b进一步识别第二类用户的队列中的各第二类用户是否已有业务到达方向上的资源,并跳过对已有业务到达方向上的资源的第二类用户的资源分配。Optionally, step b further identifies whether each second-type user in the queue of the second-type user already has resources in the direction of service arrival, and skips resources for the second-type users who already have resources in the direction of service arrival distribute.
可选地,步骤b包括:Optionally, step b includes:
b1、读取由第二类用户的队列中依次取出等待分配资源的当前的第二类用户的属性列表,获取当前的第二类用户的当前业务达到方向的子带资源分配状态;b1. Read the attribute list of the current second-type users waiting to be allocated resources sequentially from the queue of the second-type users, and obtain the sub-band resource allocation status of the current service arrival direction of the current second-type users;
b2、若当前的第二类用户的当前业务达到方向已分配子带资源,则跳过为当前的第二类用户的当前业务达到方向分配子带资源;b2. If the current service arrival direction of the current second type user has been allocated subband resources, then skip allocating subband resources for the current service arrival direction of the current second type user;
b3、若当前的第二类用户的当前业务达到方向未分配子带资源,当资源池中具有与当前业务达到方向对应的空闲的子带资源时,将该空闲的子带资源分配给当前的第二类用户,当资源池中无与当前业务到达方向对应的子带资源时,当前的第二类用户等待下一调度分配周期。b3. If the current service arrival direction of the current second type of user does not allocate subband resources, when there are idle subband resources corresponding to the current service arrival direction in the resource pool, allocate the idle subband resources to the current service arrival direction For the second type of users, when there is no subband resource corresponding to the current service arrival direction in the resource pool, the current second type of users waits for the next scheduling allocation cycle.
本发明还提供一种资源分配的装置,该装置将等待分配资源的用户队列按照优先级别由高至低分为第一类用户的队列、第二类用户的队列,所述第一类用户为一个方向的业务正在传输、另一个方向有业务到达的用户,第二类用户为有业务到达的所有用户,并且该装置包括周期性运行的如下模块:The present invention also provides a device for allocating resources. The device divides the queues of users waiting to allocate resources into queues of the first type of users and queues of the second type of users according to their priorities. The first type of users is The user whose business is being transmitted in one direction and arrives in the other direction, the second type of user is all users who have business arriving, and the device includes the following modules that run periodically:
第一分配模块、在当前的调度分配周期开始时,由第一类用户的队列中依次取出等待分配资源的第一类用户,并为等待分配资源的每个第一类用户分配所述另一个方向的资源;The first allocating module, when the current scheduling and allocating period begins, sequentially takes out the first-type users waiting to be allocated resources from the queue of the first-type users, and allocates the other one for each first-type user waiting to be allocated resources directional resources;
第二分配模块、当第一类用户的队列中所有的第一类用户均结束当前调度周期的资源分配过程时,由第二类用户的队列中依次取出等待分配资源的第二类用户,并为等待分配资源的每个第二类用户分配资源。The second allocation module, when all the first-type users in the queue of the first-type users have finished the resource allocation process of the current scheduling period, sequentially take out the second-type users waiting to allocate resources from the queue of the second-type users, and A resource is allocated for each second-class user waiting to be allocated a resource.
可选地,每个第一类用户在两个方向上被分配的资源属于同一子带。Optionally, resources allocated to each first-type user in two directions belong to the same subband.
可选地,第一分配模块包括:Optionally, the first allocation module includes:
第一读取属性子模块,读取由第一类用户的队列中取出的等待分配资源的当前的第一类用户的属性列表,获取当前的第一类用户正在传输业务方向所占用的子带信息;The first read attribute sub-module reads the attribute list of the current first-type user waiting for resource allocation taken out from the queue of the first-type user, and obtains the sub-band occupied by the current first-type user that is transmitting the service direction information;
第一分配子模块,当所占用的子带中与当前的第一类用户的当前业务到达方向对应的资源空闲时,将该子带中与当前的第一类用户的当前业务到达方向对应的子带资源分配给当前的第一类用户;The first allocating submodule, when the resource corresponding to the current direction of arrival of the current service of the first type of user in the occupied subband is idle, allocates the subband corresponding to the current direction of arrival of the current service of the first type of user in the subband Assign resources to the current first type of users;
第一等待子模块,当所占用的子带中与当前的第一类用户的当前业务到达方向对应的子带资源已被其他用户占用时,当前的第一类用户等待下一调度分配周期。The first waiting sub-module is used to wait for the next scheduling allocation period when the sub-band resource corresponding to the current service arrival direction of the current first-type user in the occupied sub-band has been occupied by other users.
可选地,第二分配模块进一步识别第二类用户的队列中的各第二类用户是否已有业务到达方向上的资源,并跳过对已有业务到达方向上的资源的第二类用户的资源分配。Optionally, the second allocation module further identifies whether each second-type user in the queue of the second-type user has resources in the direction of service arrival, and skips the second-type users who have resources in the direction of service arrival resource allocation.
可选地,第二分配模块包括:Optionally, the second distribution module includes:
第二读取属性子模块,读取由第二类用户的队列中依次取出等待分配资源的当前的第二类用户的属性列表,获取当前的第二类用户的当前业务达到方向的子带资源分配状态;The second read attribute sub-module reads the attribute list of the current second-type users waiting for resources to be allocated sequentially from the queue of the second-type users, and obtains the sub-band resource of the current service arrival direction of the current second-type users allocation status;
第二识别子模块,若当前的第二类用户的当前业务达到方向已分配子带资源,则跳过为当前的第二类用户的当前业务达到方向分配子带资源;The second identification sub-module, if the current service arrival direction of the current second type user has allocated subband resources, then skip allocating subband resources for the current service arrival direction of the current second type user;
第二分配子模块,若当前的第二类用户的当前业务达到方向未分配子带资源,当资源池中具有与当前业务达到方向对应的空闲的子带资源时,将该空闲的子带资源分配给当前的第二类用户,当资源池中无与当前业务到达方向对应的子带资源时,当前的第二类用户等待下一调度分配周期。The second allocation sub-module, if the current service arrival direction of the current second type of user does not allocate sub-band resources, when there are idle sub-band resources corresponding to the current service arrival direction in the resource pool, the idle sub-band resources are Allocated to the current second-type user, when there is no sub-band resource corresponding to the current service arrival direction in the resource pool, the current second-type user waits for the next scheduling allocation period.
附图说明Description of drawings
图1为本发明具体实施例中方法的示意图;Fig. 1 is the schematic diagram of the method in the specific embodiment of the present invention;
图2为本发明中为第一类用户分配资源的方法示意图;FIG. 2 is a schematic diagram of a method for allocating resources for a first type of user in the present invention;
图3为本发明中为第二类用户分配资源的方法示意图;FIG. 3 is a schematic diagram of a method for allocating resources for a second type of user in the present invention;
图4为本发明中资源分配过程的流程图;Fig. 4 is a flow chart of the resource allocation process in the present invention;
图5为本发明中具体资源分配装置的示意图。Fig. 5 is a schematic diagram of a specific resource allocation device in the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
在无线通信系统中为用户分配资源时,现行的MAC层的调度算法将同一子带的上下行两个方向的资源必须分配给同一个用户,也就是说,对于一个子带而言,其上行资源和下行资源采用捆绑分配的方式进行分配,这样,当用户仅需要子带的一个方向的资源时,其另一个方向的资源被闲置而浪费。When allocating resources to users in a wireless communication system, the current scheduling algorithm of the MAC layer must allocate resources in the uplink and downlink directions of the same subband to the same user, that is, for a subband, its uplink Resources and downlink resources are allocated in a bundling manner, so that when a user only needs resources in one direction of a subband, resources in the other direction are idle and wasted.
针对该问题,本发明提供了一种资源分配的方法,结合图1所示,图1为本发明具体实施例中方法的示意图。To solve this problem, the present invention provides a resource allocation method, as shown in FIG. 1 , which is a schematic diagram of the method in a specific embodiment of the present invention.
该方法将等待分配资源的用户队列按照优先级由高至低分为第一类用户的队列、第二类用户的队列,第一类用户为一个方向的业务正在传输、另一个方向有业务到达的用户,第二类用户为有业务到达的所有用户,并且该方法包括周期性执行的如下步骤:This method divides the user queue waiting for resource allocation into the queue of the first type of user and the queue of the second type of user according to the priority from high to low. The first type of user is transmitting services in one direction and arriving in the other direction. users, the second type of users are all users with business arrival, and the method includes the following steps of periodic execution:
a、在当前的调度分配周期开始时,由第一类用户的队列中依次取出等待分配资源的第一类用户,并为等待分配资源的每个第一类用户分配另一个方向的资源;a. At the beginning of the current scheduling and allocation cycle, the first type of users waiting to be allocated resources are sequentially taken out from the queue of the first type of users, and resources in the other direction are allocated to each of the first type of users waiting to be allocated resources;
b、当第一类用户的队列中所有的第一类用户均结束当前调度周期的资源分配过程时,由第二类用户的队列中依次取出等待分配资源的第二类用户,并为等待分配资源的每个第二类用户分配资源。b. When all the first-type users in the queue of the first-type users have finished the resource allocation process of the current scheduling cycle, the second-type users waiting to be allocated resources are sequentially taken out from the queue of the second-type users, and are waiting for allocation Each second-class user of the resource is assigned the resource.
在该方法中,第一类用户为一个方向的业务正在传输、另一个方向有业务到达的用户,即第一类用户占用了一个自带的其中一个方向的资源,而另一方向的资源并未与占用方向的资源进行捆绑一并分配给第一类用户,这样,当第一类用户的另一方向有业务到达之前,可以将子带上的另一个方向上的资源分配给其他的用户使用,降低子带资源闲置而出现的浪费。In this method, the first type of users are users whose services are being transmitted in one direction and services arrive in the other direction, that is, the first type of users occupy a self-contained resource in one direction, while the resources in the other direction are not The resources that are not bundled with the occupied direction are allocated to the first type of users, so that before the service of the other direction of the first type of users arrives, the resources in the other direction on the subband can be allocated to other users use to reduce the waste of idle sub-band resources.
对于一个周期的资源分配,在当前调度分配周期开始时,首先,由优先级高的第一类用户的队列中依次取出等待分配资源的第一类用户,第一类用户的取出顺序可按照各第一类用户的业务到达的先后顺序。然后,为取出的当前的第一类用户的另一方向分配资源,直至为等待分配资源的每个第一类用户分配另一个方向的资源。For a cycle of resource allocation, at the beginning of the current scheduling allocation cycle, firstly, the first type of users waiting to be allocated resources are sequentially removed from the queue of the first type of users with high priority. The order in which services of the first type of users arrive. Then, resources are allocated in the other direction to the current first-type users that are retrieved, until resources in the other direction are allocated to each of the first-type users waiting to be allocated resources.
其中,在当前调度分配周期中,第一类用户的队列中所有的第一类用户进行资源分配的过程,当资源池中具有可分配给当前第一类用户的空闲子带资源时,将其对应的空闲的子带资源分配给当前第一类用户,使该第一类用户结束当前调度分配周期,而当资源池中没有可分配给当前第一类用户的空闲子带资源时,直接使该第一类用户结束当前调度分配周期。也就是说,在一个调度分配周期中,每个第一类用户均进行资源分配的过程,当没有空闲的可分配给该第一类用户时,同样结束该第一类用户在本调度分配周期中的资源分配过程,而等待下一个调度分配周期中再分配。Wherein, in the current scheduling allocation cycle, all the first-type users in the queue of the first-type users perform the resource allocation process, when there are idle sub-band resources that can be allocated to the current first-type users in the resource pool, they are The corresponding idle subband resource is allocated to the current first type of user, so that the first type of user ends the current scheduling allocation period, and when there is no idle subband resource that can be allocated to the current first type of user in the resource pool, directly use The first type of user ends the current scheduling allocation period. That is to say, in a scheduling allocation period, each first-type user performs resource allocation process. When there is no idle resource available for the first-type user, the first-type user's resource allocation process in this scheduling allocation period is also ended. In the process of resource allocation, it waits for re-allocation in the next scheduling allocation cycle.
这样,当第一类用户的队列中所有的第一类用户均结束当前调度周期的资源分配过程时,由第二类用户的队列中依次取出等待分配资源的第二类用户,并为等待分配资源的每个第二类用户分配资源。In this way, when all the first-type users in the queue of the first-type users have finished the resource allocation process of the current scheduling period, the second-type users waiting to be allocated resources are sequentially taken out from the queue of the second-type users, and are waiting for allocation Each second-class user of the resource is assigned the resource.
通过上述可知,在一个调度分配周期中,优先对每个第一类用户进行一次资源分配,当无法分配给第一类用户相应的空闲的子带资源时,将结束该第一类用户在当前调度分配周期中的资源分配过程,需要等待下一个调度分配周期。并且,只有当所有的第一类用户结束在当前周期中的资源分配过程后,才开始为第二类用户进行资源分配。From the above, it can be seen that in a scheduling allocation period, each first-type user is given priority to resource allocation once, and when the corresponding idle sub-band resource cannot be allocated to the first-type user, the current The resource allocation process in the scheduling allocation cycle needs to wait for the next scheduling allocation cycle. And, resource allocation for the second type of users is started only after all the first type of users finish the resource allocation process in the current cycle.
这样,优先为第一类用户分配子带资源,可使已经占有子带一个方向的第一类用户进行优先选择子带,将该第一类用户占用的同一子带的另一方向的资源分配给该第一类用户。In this way, subband resources are preferentially allocated to the first type of users, which can enable the first type of users who already occupy one direction of the subband to preferentially select the subband, and allocate resources in the other direction of the same subband occupied by the first type of users to this first type of user.
通过上述的方法可知,在为第一类用户和第二类用户分配资源时,按照优先级别进行分配,而无需将子带的两个方向的资源进行捆绑后,必须分配给同一个用户,这样,可灵活为等待分配资源的用户分配子带资源,避免某一用户独占子带的资源,有效充分的利用子带另一方向空闲的资源,提高了子带利用率。Through the above method, it can be seen that when allocating resources to the first type of users and the second type of users, they are allocated according to the priority level, without bundling the resources in the two directions of the subbands, they must be allocated to the same user, so , can flexibly allocate subband resources to users waiting to be allocated resources, avoid a certain user from monopolizing subband resources, effectively and fully utilize idle resources in the other direction of the subband, and improve subband utilization.
对于第一类用户,每个第一类用户在两个方向上被分配的资源属于同一个子带。为此,结合附图2所示,步骤a包括如下步骤:For the first-type users, resources allocated to each first-type user in two directions belong to the same subband. For this reason, in conjunction with shown in accompanying drawing 2, step a comprises the following steps:
a1、读取由第一类用户的队列中取出的等待分配资源的当前的第一类用户的属性列表,获取当前的第一类用户正在传输业务方向所占用的子带信息;a1. Read the attribute list of the current first-type users waiting to be allocated resources taken out from the queue of the first-type users, and obtain the sub-band information occupied by the current first-type users that are transmitting the service direction;
a2、当所占用的子带中与当前的第一类用户的当前业务到达方向对应的资源空闲时,将该子带中与当前的第一类用户的当前业务到达方向对应的子带资源分配给当前的第一类用户;a2. When the resource corresponding to the current direction of arrival of the current service of the first type of user in the occupied subband is idle, allocate the subband resource corresponding to the current direction of arrival of the current service of the first type of user in the subband to the current first-class user;
a3、当所占用的子带中与当前的第一类用户的当前业务到达方向对应的子带资源已被其他用户占用时,当前的第一类用户等待下一调度分配周期。a3. When the subband resource corresponding to the current service arrival direction of the current first-type user in the occupied sub-band has been occupied by other users, the current first-type user waits for the next scheduling allocation period.
第一类用户为一个方向的业务正在传输、另一方向有业务到达的用户,也就是说,在一个方向上已经分配了子带的对应方向上的资源,当进入调度分配周期中时,优先为第一类用户分配资源时,需要获取该第一类用户正在传输业务方向上所占用的子带信息,读取该子带属性列表,进而获取所占用的子带的与该第一类用户的业务到达方向所需方向的资源是否处于空闲状态。当获取所占用的子带的中与当前的第一类用户的当前业务到达方向对应的资源处于空闲状态时,则将其分配给当前的第一类用户。而当获取所占用的子带的中与当前的第一类用户的当前业务到达方向对应的资源在上一调度分配周期已分配给其他用户,且正在占用时,则跳过为该第一类用户分配资源,使该第一类用户等待下一个调度分配周期。采用这样的方法,使子带的资源在空闲的状态时,充分被各个用户使用,即一个子带可同时为两个不同的用户提供资源,避免一个子带仅利用一个方向的资源,而另一个方向一直处于空闲等待状态,有效提高了子带的利用率。The first type of users are users whose services are being transmitted in one direction and services arrive in the other direction. When allocating resources for the first type of users, it is necessary to obtain the subband information occupied by the first type of users in the direction of the transmission service, read the subband attribute list, and then obtain the information of the occupied subbands and the first type of user Whether the resources in the desired direction of the business arrival direction are idle. When the acquired resource corresponding to the current service arrival direction of the current first-type user in the occupied sub-band is in an idle state, it is allocated to the current first-type user. And when the resource corresponding to the current direction of arrival of the current service of the first type of user in the occupied subband has been allocated to other users in the previous scheduling allocation period and is being occupied, then skip the resources for the first type The user allocates resources, so that the first type of user waits for the next scheduling allocation cycle. By adopting such a method, the resources of the sub-band can be fully used by each user in the idle state, that is, one sub-band can provide resources for two different users at the same time, and it is avoided that one sub-band only uses resources in one direction, while the other One direction is always in an idle waiting state, which effectively improves the utilization rate of the subband.
结合图3所示,步骤b中进一步识别第二类用户的队列中的各第二类用户是否已有业务到达方向上的资源,并跳过对已有业务到达方向上的资源的第二类用户的资源分配。In conjunction with what is shown in Figure 3, in step b, further identify whether each second-type user in the queue of the second-type user has existing resources on the direction of service arrival, and skip the second type of resources on the direction of arrival of the existing service. User's resource allocation.
具体地,步骤b包括:Specifically, step b includes:
b1、读取由第二类用户的队列中依次取出等待分配资源的当前的第二类用户的属性列表,获取当前的第二类用户的当前业务达到方向的子带资源分配状态;b1. Read the attribute list of the current second-type users waiting to be allocated resources sequentially from the queue of the second-type users, and obtain the sub-band resource allocation status of the current service arrival direction of the current second-type users;
b2、若当前的第二类用户的当前业务达到方向已分配子带资源,则跳过为当前的第二类用户的当前业务达到方向分配子带资源;b2. If the current service arrival direction of the current second type user has been allocated subband resources, then skip allocating subband resources for the current service arrival direction of the current second type user;
b3、若当前的第二类用户的当前业务达到方向未分配子带资源,当资源池中具有与当前业务达到方向对应的空闲的子带资源时,将该空闲的子带资源分配给当前的第二类用户,当资源池中无与当前业务到达方向对应的子带资源时,当前的第二类用户等待下一调度分配周期。b3. If the current service arrival direction of the current second type of user does not allocate subband resources, when there are idle subband resources corresponding to the current service arrival direction in the resource pool, allocate the idle subband resources to the current service arrival direction For the second type of users, when there is no subband resource corresponding to the current service arrival direction in the resource pool, the current second type of users waits for the next scheduling allocation cycle.
对于第二类用户,其为一个方向有业务到达的用户。因此,第二类用户可包括第一类用户,还包括两个方向上均没有业务传输,而有一个或两个方向业务到达的用户,还包括当前方向正在传输业务,又有当前方向业务到达的用户,其中,第一类用户优先级别高于其他的两种用户。For the second type of users, they are users with services arriving in one direction. Therefore, the second type of users may include the first type of users, and also include users who have no service transmission in both directions but have services arriving in one or both directions, and also include users who are transmitting services in the current direction and have services arriving in the current direction users, among which, the priority of the first type of users is higher than that of the other two types of users.
对于当前方向正在传输业务,又有当前方向业务到达的用户,由于当前方向正在进行业务传输,即其已经分配了当前业务到达方向上的资源,因此,可直接将资源继续被该用户的当前业务到达方向所使用,在当前调度分配周期中跳过为该第二类用户的当前业务到达方向分配资源。For users who are transmitting services in the current direction and have services arriving in the current direction, since the services are being transmitted in the current direction, that is, they have allocated resources in the direction in which the services arrive in the current direction. Used by the arrival direction, the allocation of resources for the current service arrival direction of the second type of user is skipped in the current scheduling allocation cycle.
而对于当前的第二类用户的当前业务到达方向未分配子带资源时,例如,当前第二类用户的两个方向上均没有业务传输,其中一个或两个方向上有业务到达时,需要从资源池中将相应的空闲的子带资源分配给该第二类用户。当资源池中具有与当前业务到达方向对应的空闲的子带资源时,将该空闲的子带资源分配给当前的第二类用户,当资源池中无与当前业务到达方向对应的子带资源时,当前的第二类用户同样需要等待下一调度分配周期。However, when no subband resource is allocated to the current service arrival direction of the current second-type user, for example, there is no service transmission in both directions of the current second-type user, and when there is service arrival in one or both directions, it needs The corresponding idle sub-band resources are allocated to the second type of users from the resource pool. When there is an idle subband resource corresponding to the current service arrival direction in the resource pool, allocate the idle subband resource to the current second type user; when there is no subband resource corresponding to the current service arrival direction in the resource pool When , the current second-type users also need to wait for the next scheduling allocation period.
结合附图4可知,在一个调度分配周期中,第一类用户的优先级别高于第二类用户,对第一类用户的队列中的每一个第一类用户均进行资源分配的过程,当第一类用户队列中的各个第一类用户的资源分配成功或者资源分配失败后,开始为第二类用户分配资源。It can be seen from FIG. 4 that in a scheduling allocation cycle, the priority level of the first type of users is higher than that of the second type of users, and the resource allocation process is performed for each first type of users in the queue of the first type of users. When After the resource allocation of each first-type user in the first-type user queue is successful or the resource allocation fails, resource allocation for the second-type user starts.
上述对资源分配的方法进行了详细阐述,本发明还提供一种对应的资源分配的装置。具体请见附图5所示。The resource allocation method has been described in detail above, and the present invention also provides a corresponding resource allocation device. Please refer to attached drawing 5 for details.
该资源分配装置将等待分配资源的用户队列按照优先级别由高至低分为第一类用户的队列、第二类用户的队列,所述第一类用户为一个方向的业务正在传输、另一个方向有业务到达的用户,第二类用户为有业务到达的所有用户,并且该装置包括周期性运行的如下模块:The resource allocation device divides the queues of users waiting to allocate resources into queues of the first type of users and queues of the second type of users according to priority levels. The first type of users is transmitting services in one direction and the other The user who has business arrival in the direction, the second type of user is all users who have business arrival, and the device includes the following modules that run periodically:
第一分配模块、在当前的调度分配周期开始时,由第一类用户的队列中依次取出等待分配资源的第一类用户,并为等待分配资源的每个第一类用户分配所述另一个方向的资源;The first allocating module, when the current scheduling and allocating period begins, sequentially takes out the first-type users waiting to be allocated resources from the queue of the first-type users, and allocates the other one for each first-type user waiting to be allocated resources directional resources;
第二分配模块、当第一类用户的队列中所有的第一类用户均结束当前调度周期的资源分配过程时,由第二类用户的队列中依次取出等待分配资源的第二类用户,并为等待分配资源的每个第二类用户分配资源。The second allocation module, when all the first-type users in the queue of the first-type users have finished the resource allocation process of the current scheduling period, sequentially take out the second-type users waiting to allocate resources from the queue of the second-type users, and A resource is allocated for each second-class user waiting to be allocated a resource.
为了使每个第一类用户在两个方向上被分配的资源属于同一子带。第一分配模块包括:In order to make the resources allocated to each first-type user in the two directions belong to the same subband. The first distribution module includes:
第一读取属性子模块,读取由第一类用户的队列中取出的等待分配资源的当前的第一类用户的属性列表,获取当前的第一类用户正在传输业务方向所占用的子带信息;The first read attribute sub-module reads the attribute list of the current first-type user waiting for resource allocation taken out from the queue of the first-type user, and obtains the sub-band occupied by the current first-type user that is transmitting the service direction information;
第一分配子模块,当所占用的子带中与当前的第一类用户的当前业务到达方向对应的资源空闲时,将该子带中与当前的第一类用户的当前业务到达方向对应的子带资源分配给当前的第一类用户;The first allocating submodule, when the resource corresponding to the current direction of arrival of the current service of the first type of user in the occupied subband is idle, allocates the subband corresponding to the current direction of arrival of the current service of the first type of user in the subband Assign resources to the current first type of users;
第一等待子模块,当所占用的子带中与当前的第一类用户的当前业务到达方向对应的子带资源已被其他用户占用时,当前的第一类用户等待下一调度分配周期。The first waiting sub-module is used to wait for the next scheduling allocation period when the sub-band resource corresponding to the current service arrival direction of the current first-type user in the occupied sub-band has been occupied by other users.
对于第二分配模块,如图5所示,其进一步识别第二类用户的队列中的各第二类用户是否已有业务到达方向上的资源,并跳过对已有业务到达方向上的资源的第二类用户的资源分配。For the second allocation module, as shown in Figure 5, it further identifies whether each second type user in the queue of the second type user has a resource on the direction of service arrival, and skips the resource on the direction of arrival of the existing service The resource allocation of the second type of users.
相应地,第二分配模块包括:Correspondingly, the second allocation module includes:
第二读取属性子模块,读取由第二类用户的队列中依次取出等待分配资源的当前的第二类用户的属性列表,获取当前的第二类用户的当前业务达到方向的子带资源分配状态;The second read attribute sub-module reads the attribute list of the current second-type users waiting for resources to be allocated sequentially from the queue of the second-type users, and obtains the sub-band resource of the current service arrival direction of the current second-type users allocation status;
第二识别子模块,若当前的第二类用户的当前业务达到方向已分配子带资源,则跳过为当前的第二类用户的当前业务达到方向分配子带资源;The second identification sub-module, if the current service arrival direction of the current second type user has allocated subband resources, then skip allocating subband resources for the current service arrival direction of the current second type user;
第二分配子模块,若当前的第二类用户的当前业务达到方向未分配子带资源,当资源池中具有与当前业务达到方向对应的空闲的子带资源时,将该空闲的子带资源分配给当前的第二类用户,当资源池中无与当前业务到达方向对应的子带资源时,当前的第二类用户等待下一调度分配周期。The second allocation sub-module, if the current service arrival direction of the current second type of user does not allocate sub-band resources, when there are idle sub-band resources corresponding to the current service arrival direction in the resource pool, the idle sub-band resources are Allocated to the current second-type user, when there is no sub-band resource corresponding to the current service arrival direction in the resource pool, the current second-type user waits for the next scheduling allocation cycle.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710059356.6A CN108347319B (en) | 2017-01-24 | 2017-01-24 | A method and device for resource allocation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710059356.6A CN108347319B (en) | 2017-01-24 | 2017-01-24 | A method and device for resource allocation |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108347319A true CN108347319A (en) | 2018-07-31 |
| CN108347319B CN108347319B (en) | 2020-10-20 |
Family
ID=62963105
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710059356.6A Expired - Fee Related CN108347319B (en) | 2017-01-24 | 2017-01-24 | A method and device for resource allocation |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108347319B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1909440A (en) * | 2005-08-01 | 2007-02-07 | 上海原动力通信科技有限公司 | Communication method for broad band time-division duplex system |
| CN101667985A (en) * | 2008-09-04 | 2010-03-10 | 中兴通讯股份有限公司 | Method and device for allocating resource units |
| US20140044083A1 (en) * | 2011-04-26 | 2014-02-13 | Lg Electronics Inc. | Method for transmitting channel state information in wireless access system and terminal therefor |
| CN103716891A (en) * | 2013-12-31 | 2014-04-09 | 大唐移动通信设备有限公司 | Method and system for allocating PUCCH resource positions in LTE-A system |
| US20160309500A1 (en) * | 2011-04-08 | 2016-10-20 | Lg Electronics Inc. | Method for transmitting/receiving data in a wireless access system and base station for same |
-
2017
- 2017-01-24 CN CN201710059356.6A patent/CN108347319B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1909440A (en) * | 2005-08-01 | 2007-02-07 | 上海原动力通信科技有限公司 | Communication method for broad band time-division duplex system |
| CN101667985A (en) * | 2008-09-04 | 2010-03-10 | 中兴通讯股份有限公司 | Method and device for allocating resource units |
| US20160309500A1 (en) * | 2011-04-08 | 2016-10-20 | Lg Electronics Inc. | Method for transmitting/receiving data in a wireless access system and base station for same |
| US20140044083A1 (en) * | 2011-04-26 | 2014-02-13 | Lg Electronics Inc. | Method for transmitting channel state information in wireless access system and terminal therefor |
| CN103716891A (en) * | 2013-12-31 | 2014-04-09 | 大唐移动通信设备有限公司 | Method and system for allocating PUCCH resource positions in LTE-A system |
Non-Patent Citations (1)
| Title |
|---|
| HUAWEI,HISILICON: ""Dynamic resource allocation of different numerologies"", 《3GPP》 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108347319B (en) | 2020-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3816334B2 (en) | Radio resource allocation method and base station | |
| US11212600B2 (en) | Integrated dynamic bandwidth allocation method and apparatus in passive optical networks | |
| CN1219306A (en) | Method and device for allocating spectrum resources in wireless communication system | |
| CN111757468B (en) | Resource allocation method and device, storage medium and electronic device | |
| CN103931262B (en) | A data scheduling method and device | |
| US20120250653A1 (en) | Method and system for scheduling frequency physical resources based on frequency hopping | |
| CN106358295B (en) | A kind of resource allocation methods and device | |
| CN101572918A (en) | Method, device and system for allocating radio resources | |
| CN101459964A (en) | Method of radio resource allocation and related communication device | |
| CN101827447A (en) | Method for scheduling uplink logic channel by LTE terminal | |
| CN103347301B (en) | Method and device for distributing wireless resources for multi-sub-band user terminal | |
| CN106598727A (en) | Computation resource distribution method and system for communication system | |
| CN101483914B (en) | A method for transmitting user data using discontinuous multi-carriers | |
| CN102469602B (en) | Method for user multi-service dispatching | |
| WO2006082616A1 (en) | Wireless communication system, and base station and terminals used in that system | |
| CN111163526B (en) | Downlink resource mapping method, device, computer equipment and storage medium | |
| CN101730243A (en) | Centralized resource scheduling method and device | |
| CN101730233A (en) | Resource processing methods | |
| CN108347319A (en) | A kind of method, apparatus of resource allocation | |
| CN101640841B (en) | Method and device for allocating multimedia broadcast-multicast service resources | |
| CN101778433B (en) | Method and device for scheduling radio resources | |
| JP3977639B2 (en) | Line assignment control method and line assignment apparatus | |
| CN104684097B (en) | A kind of method, apparatus and base station for distributing backhaul link resource for multi-hop user | |
| CN105704826B (en) | A kind of multi-carrier scheduling coordination method, device and base station | |
| JP6253446B2 (en) | Radio base station apparatus, radio mobile station apparatus, and radio communication method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201020 Termination date: 20220124 |