CN112105085A - Index mapping method and device for physical resource block PRB - Google Patents

Index mapping method and device for physical resource block PRB Download PDF

Info

Publication number
CN112105085A
CN112105085A CN201910527535.7A CN201910527535A CN112105085A CN 112105085 A CN112105085 A CN 112105085A CN 201910527535 A CN201910527535 A CN 201910527535A CN 112105085 A CN112105085 A CN 112105085A
Authority
CN
China
Prior art keywords
rbg
bwp
segment
size
index
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
Application number
CN201910527535.7A
Other languages
Chinese (zh)
Other versions
CN112105085B (en
Inventor
齐昊
张淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201910527535.7A priority Critical patent/CN112105085B/en
Publication of CN112105085A publication Critical patent/CN112105085A/en
Application granted granted Critical
Publication of CN112105085B publication Critical patent/CN112105085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0048Allocation of pilot signals, i.e. of signals known to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Abstract

The embodiment of the invention provides an index mapping method and device of a Physical Resource Block (PRB), wherein the method comprises the following steps: acquiring the resource condition of user UE (user equipment), and determining the parameter of the BWP of the part of the bandwidth of the UE; determining the parameters of a resource block group RBG according to the BWP parameters; determining a relative index of the RBG and the BWP according to the UE resource condition; and mapping the absolute index of the PRB in a segmented mode by adopting the parameters of the RBG and the relative index. The conversion from the RBG index to the PRB index is completed through segmentation mapping, and the relative PRB index is converted to the absolute PRB index, so that the PRB index is prevented from being calculated wrongly to cause resource mapping mistakes when a service BWP is flexibly configured in a TYPE-0 distribution mode.

Description

Index mapping method and device for physical resource block PRB
Technical Field
The invention relates to the technical field of mobile communication, in particular to an index mapping method and an index mapping method device of a Physical Resource Block (PRB).
Background
With the development of the fifth generation wireless communication technology, 5G will be able to provide access to information and sharing of data for each user and application anywhere and anytime, be able to connect all contents wirelessly, and provide fast and rich contents and services, thereby enriching people's lives.
At present, a user BWP (Bandwidth Part, partial Bandwidth) configured by a MAC layer (media Access Control, media Access Control layer) is in a full Bandwidth manner, so that RBG (Resource Block Group) indexes are absolute indexes, and a calculation scheme is relatively simple to implement, and only needs to traverse each RBG according to the RBG index and the number of RBGs to calculate a corresponding PRB (Physical Resource Block) index.
Since the starting position and size of the BWP are fixed, there is no need to consider the size of the first segment RBG, and the translation of the relative and absolute indices, and the size of each RBG is 16 PRBs in the case of full bandwidth, as specified in the protocol. Only when the full BWP resource is scheduled, the last segment RBG has a size of 1 and an index of 272. The specific flow can be completed only by nesting of two loops in the implementation, and the flow is shown in fig. 1.
For example, the start and size of the parameter BWP of the MAC layer configuration, the size, number, and relative index of RBGs are BWP _ start ═ 0, BWP _ size ═ 273, RBG _ size ═ 16, RBG _ num ═ 18, and RBG _ index [18] = {0, 1 … 17 }. The first three variables are all fixed in the existing case, and only 18 RBGs need to be traversed. Since BWP _ start is 0, the start of the RBG is PRB0, the remaining PRB indices can be sequentially found, the first 17 segments of RBGs occupy 272 PRBs, and the last segment of RBG17 has only one PRB, which is PRB 272. Therefore, the number of PRB _ index is 273 in total, which is {0, 1, 2 … 272 }.
The scheme can be seen that the biggest problem of the scheme is that the supported PRB resource allocation mode is single, and only the calculation when the BWP of a user is full bandwidth can be supported, so that the flexibility of resource allocation TYPE-0 scheduling is seriously hindered; based on the RBG _ size, the value of RBG _ size is also fixed to 16 PRB sizes, and the fixation of a plurality of parameters leads the base station to realize only a certain fixed scheduling form; in addition, in order to ensure the calculation to be correct, the PRB index needs to be judged whether to be overrun or not every time the loop is executed, and the code running time is increased.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide an index mapping method of physical resource blocks PRB and an index mapping apparatus of corresponding physical resource blocks PRB, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses an index mapping method for a physical resource block PRB, including:
acquiring the resource condition of user UE (user equipment), and determining the parameter of the BWP of the part of the bandwidth of the UE;
determining the parameters of a resource block group RBG according to the BWP parameters;
determining a relative index of the RBG and the BWP according to the UE resource condition;
and mapping the absolute index of the PRB in a segmented mode by adopting the parameters of the RBG and the relative index.
Optionally, the BWP parameters include a BWP size and a BWP start position, and the RBG parameters include a preset RBG size, where the preset RBG size is used to indicate a size of a second segment of an RBG,
the determining the resource block RBG parameters according to the BWP parameters comprises the following steps:
and searching a preset RBG size corresponding to the BWP size by adopting a preset mapping table.
Optionally, the BWP parameters further include a BWP start position, and the segment mapping of the absolute index of the PRB using the RBG parameters and the relative index includes:
judging whether the relative index of the first segment of RBG and BWP is zero or not by adopting the relative index of the RBG and the BWP;
if so, determining the starting position of the first segment of RBG as the BWP starting position, and determining the size of the first segment of RBG as the preset size of the RBG; if not, determining the size of a first segment of RBG according to the size of the RBG and the starting position of the BWP, and determining the starting position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the size of the preset RBG and the starting position of the BWP;
and determining the absolute index of the first segment of PRB by adopting the starting position of the first segment of RBG and the size of the first segment of RBG.
Optionally, the segment mapping an absolute index of a PRB by using the parameter of the RBG and the relative index further includes:
determining the starting position of a second segment of RBG according to the relative index of the RBG and the BWP;
and determining a second segment PRB absolute index by adopting the starting position of the second segment RBG and the size of the preset RBG.
Optionally, the segment mapping an absolute index of a PRB by using the parameter of the RBG and the relative index further includes:
judging whether the relative index of the last segment of RBG and BWP is equal to a reference value or not; wherein the reference value is a value obtained by subtracting one from the total number of RBGs;
if yes, determining the initial position of the last segment of RBG according to the relative index of the RBG and the BWP;
determining the size of the last segment of RBG according to the BWP starting position and the BWP size;
and determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
Optionally, the segment mapping an absolute index of a PRB by using the parameter of the RBG and the relative index further includes:
if not, determining that the size of the last segment of RBG is the same as the preset RBG size;
determining the starting position of the last segment of RBG according to the relative index of the RBG and the BWP;
and determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
Optionally, the UE resource status is an occupation status of BWP resources when the user transmits data.
The embodiment of the invention also discloses an index mapping device of the physical resource block PRB, which comprises the following steps:
a BWP parameter determining module, configured to obtain a resource status of a user UE and determine a parameter of a partial bandwidth BWP of the UE;
the RBG parameter determining module is used for determining the resource block group RBG parameters according to the BWP parameters;
a relative index determining module, configured to determine a relative index between the RBG and the BWP according to the UE resource status;
and the absolute index mapping module is used for mapping the absolute index of the PRB in a segmented manner by adopting the parameter of the RBG and the relative index.
Optionally, the BWP parameters include a BWP size and a BWP start position, and the RBG parameters include a preset RBG size, where the preset RBG size is used to indicate a size of a second segment of an RBG,
the RBG parameter determination module comprises:
and the preset RBG size searching submodule is used for searching the preset RBG size corresponding to the BWP size by adopting a preset mapping table.
Optionally, the BWP parameters further include a BWP start position, and the absolute index mapping module includes:
the first judgment submodule is used for judging whether the relative index of the first segment of RBG and the BWP is zero or not by adopting the relative index of the RBG and the BWP;
the first starting position determining submodule is used for determining the starting position of the first segment of RBG as the BWP starting position and determining the size of the first segment of RBG as the preset size of RBG if the first starting position is determined to be the BWP starting position; if not, determining the size of a first segment of RBG according to the size of the RBG and the starting position of the BWP, and determining the starting position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the size of the preset RBG and the starting position of the BWP;
and the first absolute index determining module is used for determining the absolute index of the first segment of PRB by adopting the starting position of the first segment of RBG and the size of the first segment of RBG.
Optionally, the absolute index mapping module further includes:
a second starting position determining submodule, configured to determine a starting position of a second segment of the RBG according to a relative index of the RBG and the BWP;
and the second absolute index determining module is used for determining a second segment PRB absolute index by adopting the starting position of the second segment RBG and the size of the preset RBG.
Optionally, the absolute index mapping module further includes:
the second judgment submodule is used for judging whether the relative index of the last segment of RBG and BWP is equal to the reference value or not; wherein the reference value is a value obtained by subtracting one from the total number of RBGs;
a third initial position determining submodule, configured to determine, if yes, an initial position of a last RBG according to the relative index of the RBG and the BWP;
the first RBG size determining submodule is used for determining the size of the last segment of RBG according to the BWP starting position and the BWP size;
and the third absolute index determining module is used for determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
Optionally, the absolute index mapping module further includes:
the size determining submodule of the second RBG is used for determining that the size of the last segment of RBG is the same as the preset RBG size if the size of the last segment of RBG is not the same as the preset RBG size;
a fourth starting position determining submodule, configured to determine a starting position of a last RBG according to a relative index between the RBG and the BWP;
and the fourth absolute index determining module is configured to determine a third segment of PRB absolute index by using the starting position of the last segment of RBG and the size of the last segment of RBG.
Optionally, the UE resource status is an occupation status of BWP resources when the user transmits data.
The embodiment of the invention also discloses an electronic device, which comprises:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform one or more methods as described above.
Embodiments of the present invention also disclose a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform one or more of the methods described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the relative index of the RBG and the BWP is determined according to the resource condition of the UE, so that the absolute index of PRB is mapped in a segmented manner by adopting the parameters and the relative index of the RBG, the RBG index is converted into the PRB index through segmented mapping, and the relative PRB index is converted into the absolute PRB index, thereby preventing the resource mapping error caused by the PRB index calculation error when the business BWP is flexibly configured in a TYPE-0 allocation mode.
Drawings
Fig. 1 is a flowchart of an algorithm for calculating an index of a physical resource block PRB in the prior art;
FIG. 2 is a flowchart of steps of an embodiment of a method for index mapping of physical resource blocks PRBs according to the invention;
FIG. 3 is a schematic diagram of a BWP and RBG relationship according to the present invention;
FIG. 4 is a flow chart of an algorithm for segment mapping absolute indices of PRBs according to the invention;
fig. 5 is a block diagram of an embodiment of an index mapping apparatus for a physical resource block PRB according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a method for mapping indexes of physical resource blocks PRB is shown, and specifically may include the following steps:
step 201, obtaining the resource status of user UE, and determining the parameter of the partial bandwidth BWP of the UE;
the new BWP (Bandwidth Part) concept in the NR system communication protocol enables RBG (Resource Block Group) to be changed from cell-level parameters to User-level parameters, which facilitates flexible scheduling of UE (User Experience).
Specifically, when performing resource scheduling, the MAC layer (Medium Access Control, media Access Control layer) may obtain a resource status of the UE, and allocate a parameter of a partial bandwidth BWP of the UE according to the resource status of the UE. Wherein the BWP parameters may include BWP size and BWP start position. The BWP starting position may indicate a position of a starting PRB in the BWP.
Wherein the UE resource status is an occupation status of BWP resources when the user transmits data.
Step 202, determining resource block RBG parameters according to the BWP parameters;
the BWP parameters include BWP size and BWP start position.
In the embodiment of the present invention, the RBG parameter may be further determined according to the BWP parameter.
Total number of RBGs N on ith segment BWP as specified by 38.214 communication protocolRBGIs defined as follows:
Figure BDA0002098698490000071
wherein P is the size of a parameter RBG determined by the MAC layer,
Figure BDA0002098698490000072
is the starting PRB of the BWP,
Figure BDA0002098698490000073
is the number of PRBs on BWP.
Specifically, the size of the first segment RBG is defined as follows:
Figure BDA0002098698490000074
when the last segment of RBG is not the full size, the size of the last segment of RBG is defined as follows:
Figure BDA0002098698490000075
that is, the sizes of the first and last RBGs are not necessarily the size of the MAC layer determined parameter RBG, and the sizes of the two RBGs depend on the MAC layer determined parameter RBG
Figure BDA0002098698490000076
And parameters
Figure BDA0002098698490000077
Besides, the RBGs at the head and the tail are removed from the BWP, and the sizes of the remaining RBGs (i.e., the RBGs in the middle of the BWP) are the sizes of the parameters RBG determined by the MAC layer, and each of the parameters RBG has P PRBs.
Table of the parameter ranges for BWP and RBG with a full bandwidth of 273PRB is as follows
Figure BDA0002098698490000078
Figure BDA0002098698490000081
TABLE 1
According to the 38.214 protocol, different BWP sizes correspond to different RBG sizes, as shown in table 2:
BWP size RBG size-configuration 1 RBG size-configuration 2
1~36 2 4
37~72 4 8
73~144 8 16
145~275 16 16
TABLE 2
Since RBG _ index is a concept relative to BWP, in case of PRB resource allocation TYPE-0, mapping from RBG to PRB is needed in order to obtain the absolute resource location index of PRB over the full bandwidth.
In a preferred embodiment of the present invention, the RBG parameter may include a preset RBG size, where the preset RBG size is used to indicate a size of an RBG of the second segment, and the step 202 may include the following sub-steps:
and searching a preset RBG size corresponding to the BWP size by adopting a preset mapping table.
In this embodiment of the present invention, the preset mapping table may be table 2, where the preset RBG size may default to data corresponding to configuration 1. Of course, when implementing the solution of the embodiment of the present invention, a person skilled in the art may also set the preset RBG size as data corresponding to configuration 2 according to actual needs, which is not limited in the embodiment of the present invention.
For example, when the BWP size BWP _ size is 270, the RBG size RBG _ size is 16 by looking up the preset mapping table; when BWP _ size is 140, RBG _ size is 8 by looking up the preset mapping table.
Step 203, determining the relative index of the RBG and the BWP according to the UE resource condition;
in the embodiment of the invention, the relative index of the RBG and the BWP can be determined according to the resource condition of the UE at the MAC layer. For example, in the case of full BWP resource scheduling, the MAC layer determines that the relative index RBG _ index [18] of RBG and BWP is {0, 1 … 17}, and at this time, the number of RBGs RBG _ num is 18; in the case of the resource scheduling of the unsatisfied BWP, the MAC layer determines that the relative index RBG _ index [10] of the RBG and the BWP is {0, 4, 5, 6, 7, 8, 9, 12, 13, 14}, and at this time, the number of RBGs RBG _ num is 10.
And step 204, mapping absolute indexes of PRBs in a segmented manner by adopting the parameters of the RBGs and the relative indexes.
In the embodiment of the present invention, the RBGs on the BWP may be divided into three segments for mapping, the sizes of the first segment and the last segment of the RBGs and the starting positions of the first segment and the last segment of the RBGs are respectively calculated, the first segment and the last segment of the RBGs are mapped into absolute indexes of the first segment and the last segment of the PRB, and the absolute indexes of the intermediate segments of the PRB are calculated.
Referring to fig. 3, a schematic diagram of a BWP and RBGs according to the present invention is shown, specifically, the size of the RBGs on the BWP is different from the size of the RBGs in the middle section. The start position of the first segment RBG0 has a positive Offset with respect to BWP _ start, and the end position of the Last segment Last RBG exceeds the edge position BWP _ end of BWP.
Fig. 4 shows a flowchart of absolute index mapping for a segment-mapped PRB according to the present invention. The specific flow of segment mapping the absolute index of the PRB includes the following processes:
1. the existing calculation is compatible, the algorithm is optimized, the judgment is put forward, and the running speed is increased.
2. If the BWP configuration is adopted, new algorithm calculation is entered.
3. Since the MAC layer performs scheduling according to the user resource status when scheduling the RBG _ index of TYPE-0, even the index of the first segment RBG0 is not necessarily from the BWP _ start of the user, and it needs to be distinguished when calculating the size of the first segment RBG 0. Therefore, it is necessary to determine whether the relative index of the first segment RBG to BWP is 0 or not.
If the relative index of the first segment RBG and BWP is 0, then the steps are executed: the negative offset of the start of the first segment RBG0 relative to BWP _ start is calculated, the absolute index of the PRBs contained in the first segment RBG0 is further calculated, and then all the indices of the RBG1 to the 2 nd last RBG (i.e., the middle segment RBG) are calculated.
4. If the relative index of the first segment RBG and BWP is not 0, then the steps are executed: the forward offset of the start of the first segment RBG0 relative to BWP _ start is calculated, at which point the start position of the first segment RBG0 can be known, the absolute index of the PRBs contained in the first segment RBG0 is further calculated, and then the absolute indices of all PRBs of the RBG1 to the 2 nd last RBG (i.e., the middle segment RBG) are calculated.
5. Since resource scheduling may not be full of BWP, the size and starting position of the last segment of RBG needs to be calculated for absolute index mapping of PRB. In addition, the starting absolute index of the last RBG in this step cannot be the absolute index of the last PRB in step 3 or 4 plus 1, because the allocation manner of TYPE-0 may be discontinuous, and the absolute index of the last RBG may not be continuous with the previous one, it can only be converted into an absolute index value by the relative index value of the last RBG and BWP _ start, and traverse to BWP _ end.
And calculating PRB absolute indexes of the RBGs in the first section and the middle section, and calculating the RBG in the last section. First, according to the relative index of the last segment of RBG and BWP and the total number of RBG on BWP, it is determined whether PRB of the last segment of RBG exceeds the edge position of BWP. And calculating the PRB absolute index of the last segment of RBG according to the judgment result.
For example, assuming that BWP _ start is 1 and BWP _ size is 270, the MAC layer will derive RBG _ size is 16 according to the BWP size, and RBG _ num is 17 and RBG _ index [18] is {0, 1 … 17} in case of full BWP resource scheduling. I.e., the first segment RBG0 is 15 in size and the last segment RBG is 15 in size, then the corresponding PRB index for RBG0 will no longer be 0-14 but 1-15, the index for the first segment RBG1 for the middle segment RBG will start at 16 and the index for the last segment RBG will start at 256 to the end of the BWP, i.e., PRB 270. Therefore, the number of the last PRB _ index is 270 {1, 2 … 270 }.
If the BWP is not full, the calculation can be carried out in a segmented mode by the calculation mode. Assuming that BWP _ start is 20, BWP _ size is 240, and RBG _ size is 16, from which only RBG _ num is 10 is scheduled, the corresponding RBG _ index is {0, 4, 5, 6, 7, 8, 9, 12, 13, 14 }. At this time, the index of the RBG0 is obtained as 20, 21 … 31 according to the algorithm, the PRB index of the middle segment is 80, 81 … 174, 175, 208, 209 … 238, 239, and the PRB index of the last segment is 240, 241 … 255. So the set of the last PRB _ index is {20, 21 … 31, 80, 81 … 175, 208, 209 … 255}, for a total of 156.
In a preferred embodiment of the present invention, the step 204 may include the following sub-steps:
judging whether the relative index of the first segment of RBG and BWP is zero or not by adopting the relative index of the RBG and the BWP;
if so, determining the starting position of the first segment of RBG as the BWP starting position, and determining the size of the first segment of RBG as the preset size of the RBG; if not, determining the size of a first segment of RBG according to the size of the RBG and the starting position of the BWP, and determining the starting position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the size of the preset RBG and the starting position of the BWP;
and determining the absolute index of the first segment of PRB by adopting the starting position of the first segment of RBG and the size of the first segment of RBG.
The first segment PRB absolute index may be a PRB absolute index of a first segment RBG of the BWP.
In the embodiment of the present invention, when the relative index of the first segment RBG and the BWP is 0, it is determined that the starting position of the first segment RBG is the same as the starting position of the BWP, and the size of the first segment RBG is the preset RBG size (i.e., the same as the RBG size of the middle segment), and therefore, when the relative index of the first segment RBG and the BWP is 0, the size of the first segment RBG and the starting position of the first segment RBG can be directly determined according to the obtained parameters, thereby calculating the absolute index of the first segment PRB.
When the relative index of the first segment RBG to the BWP is not 0, the size of the first segment RBG and the start position of the first segment RBG need to be further calculated.
In the embodiment of the present invention, when the relative index of the first segment RBG to the BWP is not 0, the size of the first segment RBG may be determined according to the following formula:
RBG0_size=P–BWP_start mod P。
wherein, RBG0_ size is the size of the first segment RBG, BWP _ start is the starting position of BWP, and P is the size of RBG. For example, if BWP _ start is 20 and P is 16, RBG0_ size is 12 according to the formula.
The starting position of the first RBG segment can be calculated by the following formula:
PRB_index=RBG_index[0]*RBG_size+(BWP_start/RBG_size)*RBG_size
the PRB _ index refers to the starting position of the first segment RBG, RBG _ index [0] refers to the relative index of the first segment RBG and BWP, RBG _ size refers to the size of the preset RBG, and BWP _ start refers to the starting position of BWP.
BWP _ start/RBG _ size is an integer quotient obtained by dividing BWP _ start by RBG _ size. For example, if RBG _ index [0] is 2, RBG _ size is 16, BWP _ start is 20, the starting position PRB _ index of the first segment RBG is 48 as calculated by the above formula.
Since the PRBs within a segment of RBG are contiguous, determining the size of the first segment of RBG and the starting location of the first segment of RBG can further determine the absolute index of the first segment of PRBs. For example, when RBG0_ size is 12, and the starting position of the first segment RBG is 20, the absolute index of the first segment PRB is {20, 21, …, 31 }.
In a preferred embodiment of the present invention, the step 204 may further include the following sub-steps:
determining the starting position of a second segment of RBG according to the relative index of the RBG and the BWP;
and determining a second segment PRB absolute index by adopting the starting position of the second segment RBG and the size of the preset RBG.
In the embodiment of the present invention, the second segment PRB absolute index may be a PRB absolute index of a middle segment RBG of the BWP.
The absolute starting position of the second segment RBG can be obtained using the following equation:
RBG_pos=BWP_start/BWP_size*BWP_size。
wherein RBG _ pos refers to the absolute start position of the RBG of the second segment, BWP _ start refers to the BWP start position, and BWP _ size refers to the BWP size. BWP _ start/BWP _ size is an integer quotient obtained by dividing BWP _ start by BWP _ size.
The second segment PRB absolute index formula is as follows:
PRB_index[i]=RBG_index[i]*RBG_size+RBG0_pos+j。
the RBG _ index [ i ] is used for representing the ith RBG on the current BWP, the PRB _ index [ i ] is used for representing the absolute index of the PRB on the ith RBG, j is used for representing the jth PRB on the current RBG, and RBG _ size refers to the size of the preset RBG.
Assuming that BWP _ start is 20, BWP _ size is 240, and RBG _ size is 16, from which only RBG _ num is 10 is scheduled, the corresponding RBG _ index is {0, 4, 5, 6, 7, 8, 9, 12, 13, 14 }.
The absolute start position RBG _ pos of the second segment RBG is 20/16 × 16, which is calculated according to the above formula.
PRB _ index [4] ═ 4 × 16+16+ j, cycle j ═ 0, j ═ j + +, j < RBG _ size, and the absolute index of the PRB in the middle segment RBG4 is {80, 81.. 95 }.
PRB _ index [5] ═ 5 × 16+16+ j, cycle j ═ 0, j ═ j + +, j < RBG _ size, and the absolute index of the PRB available for middle segment RBG5 is {96, 97.. 109 }.
...
PRB _ index [9] ═ 9 × 16+16+ j, cycle j ═ 0, j ═ j + +, j < RBG _ size, and the absolute index of the PRB available for middle segment RBG9 is {160, 161.. 175 }.
PRB _ index [12] ═ 12 × 16+16+ j, cycle j ═ 0, j ═ j + +, j < RBG _ size, and the absolute index of the PRB available for the middle segment RBG12 is {208, 209.. 223 }.
PRB _ index [13] ═ 13 × 16+16+ j, cycle j ═ 0, j ═ j + +, j < RBG _ size, and the absolute index of the PRB available for the middle segment RBG13 is {224, 225.. 239 }.
That is, the PRB index of the middle segment is {80, 81 … 174, 175, 208, 209 … 238, 239 }.
In a preferred embodiment of the present invention, the step 204 may further include the following sub-steps:
judging whether the relative index of the last segment of RBG and BWP is equal to a reference value or not; wherein the reference value is a value obtained by subtracting one from the total number of RBGs;
if yes, determining the initial position of the last segment of RBG according to the relative index of the RBG and the BWP;
determining the size of the last segment of RBG according to the BWP starting position and the BWP size;
and determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
In the embodiment of the present invention, the third segment of PRB absolute index may be an absolute index of a PRB on the last segment of RBG.
It can be determined whether the position of the last RBG segment exceeds the edge position of the BWP by determining whether the relative index of the last RBG segment to the BWP is equal to the total number of RBGs minus one (i.e., the reference value). When the relative index of the last segment of RBG and BWP is equal to the reference value, the position of the last segment of RBG exceeds the edge position of BWP, and when the relative index of the last segment of RBG and BWP is not equal to the reference value, the position of the last segment of RBG does not exceed the edge position of BWP.
When the position of the last segment of RBG exceeds the edge position of BWP, the size and the starting position of the last segment of RBG need to be determined, so as to determine the absolute index of the third segment of PRB.
For example, let BWP _ start be 20, BWP _ size 240, and look up table to get RBG _ size 16. From which only RBG _ num is scheduled 11, and the corresponding RBG _ index is {0, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15 }. The relative index of the last RBG segment to the BWP is 15, the total number of RBGs is 16 according to the above formula for calculating the total number of RBGs, and the relative index of the last RBG segment to the BWP is equal to the total number of RBGs minus one, and the position of the last RBG segment exceeds the edge position of the BWP.
At this time, the starting position of the last RBG segment can be calculated to be 256 by the formula PRB _ index [15] ═ 15 × 16+16+ j, which is obtained from the above formula for calculating the size of the last RBG segment, lastRBG _ size being 4. Then the absolute index of the last segment PRB is 256, 257, 258, 259.
In a preferred embodiment of the present invention, the step 204 may further include the following sub-steps:
if not, determining that the size of the last segment of RBG is the same as the preset RBG size;
determining the starting position of the last segment of RBG according to the relative index of the RBG and the BWP;
and determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
In the embodiment of the present invention, when the relative index of the last RBG segment and the BWP is not equal to the sum of the RBGs minus 1, the last RBG segment is not at the edge of the BWP, and at this time, the absolute index of the PRB in the last RBG segment is calculated in the same manner as the absolute index of the PRB in the second segment.
For example, if BWP _ start is 20, BWP _ size is 240, RBG _ size is 16, from which only RBG _ num is 10, corresponding RBG _ index is {0, 4, 5, 6, 7, 8, 9, 12, 13, 14}, and the relative index of the last RBG segment to BWP is 14.
The total number of RBGs is 16 according to the above formula, so that 14<15, the relative index of the last segment of RBGs and BWP is less than the total number of RBGs minus one. At this time, the size of the last segment of RBG is the same as the preset RBG, and is 16; then the starting position of the last segment of RBG can be calculated to be 240 by the formula PRB _ index [14] ═ 14 × 16+16, and then the PRB absolute index of the last segment of RBG is {240, 241.
In the embodiment of the invention, the relative index of the RBG and the BWP is determined according to the resource condition of the UE, so that the absolute index of PRB is mapped in a segmented manner by adopting the parameters and the relative index of the RBG, the RBG index is converted into the PRB index through segmented mapping, and the relative PRB index is converted into the absolute PRB index, thereby preventing the resource mapping error caused by the PRB index calculation error when the business BWP is flexibly configured in a TYPE-0 allocation mode.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a structure of an embodiment of an index mapping apparatus for a physical resource block PRB of the present invention is shown, which may specifically include the following modules:
a BWP parameter determining module 501, configured to obtain a resource status of a user UE and determine a BWP parameter of a partial bandwidth of the UE;
a parameter determining module 502 of the RBG, configured to determine a parameter of the resource block group RBG according to the parameter of the BWP;
a relative index determining module 503, configured to determine a relative index between the RBG and the BWP according to the UE resource status;
and an absolute index mapping module 504, configured to map absolute indexes of PRBs in segments by using the parameters of the RBGs and the relative indexes.
In a preferred embodiment of the present invention, the BWP parameters include a BWP size and a BWP start position, and the RBG parameters include a preset RBG size, wherein the preset RBG size is used to indicate the size of the second segment RBG,
the RBG parameter determining module 502 may include the following sub-modules:
and the preset RBG size searching submodule is used for searching the preset RBG size corresponding to the BWP size by adopting a preset mapping table.
In a preferred embodiment of the present invention, the BWP parameters further include a BWP start position, and the absolute index mapping module 504 may include the following sub-modules:
the first judgment submodule is used for judging whether the relative index of the first segment of RBG and the BWP is zero or not by adopting the relative index of the RBG and the BWP;
the first starting position determining submodule is used for determining the starting position of the first segment of RBG as the BWP starting position and determining the size of the first segment of RBG as the preset size of RBG if the first starting position is determined to be the BWP starting position; if not, determining the size of a first segment of RBG according to the size of the RBG and the starting position of the BWP, and determining the starting position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the size of the preset RBG and the starting position of the BWP;
and the first absolute index determining module is used for determining the absolute index of the first segment of PRB by adopting the starting position of the first segment of RBG and the size of the first segment of RBG.
In a preferred embodiment of the present invention, the absolute index mapping module 504 may further include the following sub-modules:
a second starting position determining submodule, configured to determine a starting position of a second segment of the RBG according to a relative index of the RBG and the BWP;
and the second absolute index determining module is used for determining a second segment PRB absolute index by adopting the starting position of the second segment RBG and the size of the preset RBG.
In a preferred embodiment of the present invention, the absolute index mapping module 504 may further include the following sub-modules:
the second judgment submodule is used for judging whether the relative index of the last segment of RBG and BWP is equal to the reference value or not; wherein the reference value is a value obtained by subtracting one from the total number of RBGs;
a third initial position determining submodule, configured to determine, if yes, an initial position of a last RBG according to the relative index of the RBG and the BWP;
the first RBG size determining submodule is used for determining the size of the last segment of RBG according to the BWP starting position and the BWP size;
and the third absolute index determining module is used for determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
In a preferred embodiment of the present invention, the absolute index mapping module 504 may further include the following sub-modules:
the size determining submodule of the second RBG is used for determining that the size of the last segment of RBG is the same as the preset RBG size if the size of the last segment of RBG is not the same as the preset RBG size;
a fourth starting position determining submodule, configured to determine a starting position of a last RBG according to a relative index between the RBG and the BWP;
and the fourth absolute index determining module is configured to determine a third segment of PRB absolute index by using the starting position of the last segment of RBG and the size of the last segment of RBG.
In a preferred embodiment of the present invention, the UE resource status is an occupancy status of BWP resources when the user is transmitting data.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform methods described in embodiments of the invention.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform a method according to embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The index mapping method of a physical resource block PRB and the index mapping apparatus of a physical resource block PRB provided by the present invention are introduced in detail above, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (16)

1. A method for mapping indexes of Physical Resource Blocks (PRBs) is characterized by comprising the following steps:
acquiring the resource condition of user UE (user equipment), and determining the parameter of the BWP of the part of the bandwidth of the UE;
determining the parameters of a resource block group RBG according to the BWP parameters;
determining a relative index of the RBG and the BWP according to the UE resource condition;
and mapping the absolute index of the PRB in a segmented mode by adopting the parameters of the RBG and the relative index.
2. The method of claim 1, wherein the BWP parameters comprise a BWP size and a BWP start position, and wherein the RBG parameters comprise a preset RBG size, wherein the preset RBG size is indicative of a second segment RBG size,
the determining the resource block RBG parameters according to the BWP parameters comprises the following steps:
and searching a preset RBG size corresponding to the BWP size by adopting a preset mapping table.
3. The method of claim 2, wherein the BWP parameters further include a BWP start position, and wherein segment mapping the absolute index of the PRB using the RBG parameters and the relative index comprises:
judging whether the relative index of the first segment of RBG and BWP is zero or not by adopting the relative index of the RBG and the BWP;
if so, determining the starting position of the first segment of RBG as the BWP starting position, and determining the size of the first segment of RBG as the preset size of the RBG; if not, determining the size of a first segment of RBG according to the size of the RBG and the starting position of the BWP, and determining the starting position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the size of the preset RBG and the starting position of the BWP;
and determining the absolute index of the first segment of PRB by adopting the starting position of the first segment of RBG and the size of the first segment of RBG.
4. The method of claim 3, wherein the segment mapping absolute indices of PRBs using the parameters of the RBGs and the relative indices further comprises:
determining the starting position of a second segment of RBG according to the relative index of the RBG and the BWP;
and determining a second segment PRB absolute index by adopting the starting position of the second segment RBG and the size of the preset RBG.
5. The method according to claim 3 or 4, wherein the segment mapping an absolute index of PRBs using the parameters of the RBGs and the relative index further comprises:
judging whether the relative index of the last segment of RBG and BWP is equal to a reference value or not; wherein the reference value is a value obtained by subtracting one from the total number of RBGs;
if yes, determining the initial position of the last segment of RBG according to the relative index of the RBG and the BWP;
determining the size of the last segment of RBG according to the BWP starting position and the BWP size;
and determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
6. The method of claim 5, wherein the segment mapping absolute indices of PRBs using the parameters of the RBGs and the relative indices further comprises:
if not, determining that the size of the last segment of RBG is the same as the preset RBG size;
determining the starting position of the last segment of RBG according to the relative index of the RBG and the BWP;
and determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
7. The method of claim 1, wherein the UE resource status is an occupancy status of BWP resources by the user when transmitting data.
8. An index mapping apparatus for a Physical Resource Block (PRB), comprising:
a BWP parameter determining module, configured to obtain a resource status of a user UE and determine a parameter of a partial bandwidth BWP of the UE;
the RBG parameter determining module is used for determining the resource block group RBG parameters according to the BWP parameters;
a relative index determining module, configured to determine a relative index between the RBG and the BWP according to the UE resource status;
and the absolute index mapping module is used for mapping the absolute index of the PRB in a segmented manner by adopting the parameter of the RBG and the relative index.
9. The apparatus of claim 8, wherein the BWP parameters comprise a BWP size and a BWP start position, and wherein the RBG parameters comprise a preset RBG size, wherein the preset RBG size is indicative of a second segment RBG size,
the RBG parameter determination module comprises:
and the preset RBG size searching submodule is used for searching the preset RBG size corresponding to the BWP size by adopting a preset mapping table.
10. The apparatus of claim 9, wherein the BWP parameters further include a BWP start position, and wherein the absolute index mapping module comprises:
the first judgment submodule is used for judging whether the relative index of the first segment of RBG and the BWP is zero or not by adopting the relative index of the RBG and the BWP;
the first starting position determining submodule is used for determining the starting position of the first segment of RBG as the BWP starting position and determining the size of the first segment of RBG as the preset size of RBG if the first starting position is determined to be the BWP starting position; if not, determining the size of a first segment of RBG according to the size of the RBG and the starting position of the BWP, and determining the starting position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the size of the preset RBG and the starting position of the BWP;
and the first absolute index determining module is used for determining the absolute index of the first segment of PRB by adopting the starting position of the first segment of RBG and the size of the first segment of RBG.
11. The apparatus of claim 10, wherein the absolute index mapping module further comprises:
a second starting position determining submodule, configured to determine a starting position of a second segment of the RBG according to a relative index of the RBG and the BWP;
and the second absolute index determining module is used for determining a second segment PRB absolute index by adopting the starting position of the second segment RBG and the size of the preset RBG.
12. The apparatus of claim 10 or 11, wherein the absolute index mapping module further comprises:
the second judgment submodule is used for judging whether the relative index of the last segment of RBG and BWP is equal to the reference value or not; wherein the reference value is a value obtained by subtracting one from the total number of RBGs;
a third initial position determining submodule, configured to determine, if yes, an initial position of a last RBG according to the relative index of the RBG and the BWP;
the first RBG size determining submodule is used for determining the size of the last segment of RBG according to the BWP starting position and the BWP size;
and the third absolute index determining module is used for determining a third segment of PRB absolute index by adopting the starting position of the last segment of RBG and the size of the last segment of RBG.
13. The apparatus of claim 12, wherein the absolute index mapping module further comprises:
the size determining submodule of the second RBG is used for determining that the size of the last segment of RBG is the same as the preset RBG size if the size of the last segment of RBG is not the same as the preset RBG size;
a fourth starting position determining submodule, configured to determine a starting position of a last RBG according to a relative index between the RBG and the BWP;
and the fourth absolute index determining module is configured to determine a third segment of PRB absolute index by using the starting position of the last segment of RBG and the size of the last segment of RBG.
14. The apparatus of claim 8, wherein the UE resource status is an occupancy status of BWP resources by the user when transmitting data.
15. An electronic device, comprising:
one or more processors; and
one or more computer-readable storage media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the method of one or more of claims 1-7.
16. A computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-7.
CN201910527535.7A 2019-06-18 2019-06-18 Index mapping method and device for physical resource block PRB Active CN112105085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910527535.7A CN112105085B (en) 2019-06-18 2019-06-18 Index mapping method and device for physical resource block PRB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910527535.7A CN112105085B (en) 2019-06-18 2019-06-18 Index mapping method and device for physical resource block PRB

Publications (2)

Publication Number Publication Date
CN112105085A true CN112105085A (en) 2020-12-18
CN112105085B CN112105085B (en) 2022-11-01

Family

ID=73748881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910527535.7A Active CN112105085B (en) 2019-06-18 2019-06-18 Index mapping method and device for physical resource block PRB

Country Status (1)

Country Link
CN (1) CN112105085B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104393973A (en) * 2008-03-26 2015-03-04 高通股份有限公司 Method and apparatus for mapping virtual resources to physical resources in a wireless communication system
CN109769300A (en) * 2017-11-10 2019-05-17 华为技术有限公司 A kind of communication means, device and system
US20190159182A1 (en) * 2017-11-22 2019-05-23 Nokia Technologies Oy Determination of resource block groups in a user equipment bandwidth part

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104393973A (en) * 2008-03-26 2015-03-04 高通股份有限公司 Method and apparatus for mapping virtual resources to physical resources in a wireless communication system
CN109769300A (en) * 2017-11-10 2019-05-17 华为技术有限公司 A kind of communication means, device and system
US20190159182A1 (en) * 2017-11-22 2019-05-23 Nokia Technologies Oy Determination of resource block groups in a user equipment bandwidth part

Also Published As

Publication number Publication date
CN112105085B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN110662228B (en) PDCCH candidate allocation method, device and storage medium for cross-carrier scheduling
CN106332286B (en) Spectrum resource allocation method and device
CN108076525B (en) Uplink time domain resource scheduling method and network equipment
CN110034910B (en) Method and equipment for determining EPDCCH (enhanced physical downlink control channel) candidates
WO2020029698A1 (en) Uplink channel resource indication and determination method, and base station, terminal and medium
KR20150063118A (en) Control channel detection method and user equipment
CN107211399B (en) Processing method of control information format, base station and user equipment
CN109963335A (en) Communication means and device
CN104734809B (en) A kind of method for mapping resource and the blind detection method based on the method for mapping resource
CN103929289B (en) For determining the method and device of the ECCE search spaces of the EPDCCH of cross-carrier scheduling
CN109802749A (en) A kind of PUCCH resource indicating means, terminal device and base station
CN111510959A (en) Method and equipment for deploying nRT RIC function
CN105846974B (en) Method and equipment for configuring control channel resources
WO2021032038A1 (en) Feedback channel mapping method and apparatus, device, and storage medium
CN112105085B (en) Index mapping method and device for physical resource block PRB
CN104394592A (en) Method, device and base station for allocation of PRB resources
CN110661827B (en) Elastic expansion method, device, equipment and computer readable storage medium
CN108810996A (en) A kind of resource allocation methods, base station and user equipment
CN110324109B (en) PDSCH (physical Downlink shared channel) rate matching method and device, user terminal and computer readable storage medium
CN107295682B (en) Downlink data transmission and detection method, device, related equipment and system
CN114071472A (en) Resource allocation method and device, and communication equipment
CN109586859A (en) A kind of resource multiplexing method and device, storage medium, terminal, base station
CN110391889B (en) Method and device for determining time slot format
CN109842867B (en) eMTC PUCCH resource reservation method and apparatus
CN112383964A (en) Single-core multi-task scheduling method and system of wireless network physical layer

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