CN112105085B - 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
CN112105085B
CN112105085B CN201910527535.7A CN201910527535A CN112105085B CN 112105085 B CN112105085 B CN 112105085B CN 201910527535 A CN201910527535 A CN 201910527535A CN 112105085 B CN112105085 B CN 112105085B
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.)
Active
Application number
CN201910527535.7A
Other languages
Chinese (zh)
Other versions
CN112105085A (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 parameter of a resource block group RBG according to the BWP parameter; 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 Media Access Control (MAC) layer is in a full Bandwidth manner, so that Resource Block Group (RBG) 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 the RBGs and calculate a corresponding Physical Resource Block (PRB) index.
Since the start 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, the size, number, and relative index of the RBGs of the MAC layer configuration are BWP _ start =0, BWP _size =273, RBG _size =16, RBG _num =18, RBG _index [18] = {0,1 _8230; 17}, respectively. The first three variables are all fixed in the existing case, and only 18 RBGs need to be traversed. Since BWP _ start =0, the start of the RBG is PRB0, the remaining PRB indexes can be sequentially found, the first 17 segments of RBGs occupy 272 PRBs, and then the last segment of RBG17 has only one PRB, which is PRB272. So the last PRB _ index = {0,1,2 \8230272 }, and 273 total.
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 causes that the base station can only realize 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 a corresponding index mapping apparatus of 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 parameter of a resource block group RBG according to the BWP parameter;
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 yes, determining the initial position of the first segment of RBG as a BWP initial position, and determining the size of the first segment of RBG as a preset RBG size; 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 initial 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 mapping, in a segment manner, 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 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 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 initial 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 illustrating steps of an embodiment of a method for index mapping of physical resource blocks PRB of the present 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 indexes 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 of steps of an embodiment of a method for index mapping of a physical resource block PRB of the present invention is shown, which specifically includes the following steps:
step 201, acquiring the resource status of user UE, and determining the parameter of BWP of partial bandwidth 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.
The total number of RBGs N on the ith segment BWP as specified by the 38.214 communication protocolRBGIs defined as follows:
Figure GDA0003852599740000071
wherein, P is the size of parameter RBG determined by the MAC layer,
Figure GDA0003852599740000072
is the starting PRB of the BWP,
Figure GDA0003852599740000073
is the number of PRBs on BWP.
Specifically, the size of the first segment RBG is defined as follows:
Figure GDA0003852599740000074
when the last segment of RBG is not the full size, the size of the last segment of RBG is defined as follows:
Figure GDA0003852599740000075
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 GDA0003852599740000076
And parameters
Figure GDA0003852599740000077
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 GDA0003852599740000078
Figure GDA0003852599740000081
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 =270, the RBG size RBG _ size =16 by looking up the preset mapping table; when BWP _ size =140, RBG _ size =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 the relative index RBG _ index [18] = {0,1 \8230; 17} of RBGs and BWPs, at which time the number of RBGs RBG _ num =18; in the case of the resource scheduling of the unsatisfied BWP, the MAC layer determines that the relative index RBG _ index [10] = {0,4,5,6,7,8,9, 12, 13, 14} of the RBGs to the BWP, and at this time, the number of RBGs RBG _ num =10.
And step 204, adopting the parameters of the RBG and the relative index to map the absolute index of the PRB in a segmented manner.
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 starting position of the first segment RBG0 has a forward Offset with respect to BWP _ start, and the ending position of the Last segment Last RBG exceeds the edge position BWP end.
Fig. 4 shows a flow chart of absolute index mapping for 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 proposed, 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 resource status of the user 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 a different treatment is required when calculating the size of the first segment RBG 0. Therefore, it is first determined whether the relative index of the first segment RBG to BWP is 0.
If the relative index of the first segment RBG and BWP is 0, executing the following steps: the negative offset of the start of the first segment RBG0 with respect to BWP _ start is calculated, the absolute index of the PRB contained in the first segment RBG0 is further calculated, and then all the indexes of 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, and then the start position of the first segment RBG0 is known, the absolute index of the PRBs contained in the first segment RBG0 is further calculated, and then the absolute indices of all the PRBs of RBG1 to the 2 nd from last RBG (i.e., the middle segment RBG) are calculated.
5. Since resource scheduling may not occupy BWP, the size and starting position of the last segment of RBG need to be calculated to perform 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 BWP _ start =1,bwp _size =270, the MAC layer will derive RBG _ size =16 according to the size of BWP, and RBG _ num =17,rbg _index [ 2] = {0,1 _82303017 } 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 of the middle segment RBG will start at 16, the index for the last segment RBG will start at 256, and the end of BWP, i.e., PRB270. So the last PRB _ index = {1,2 \8230; 270}, for a total of 270.
If the BWP is not full, the calculation can be carried out in a segmented mode by the calculation mode. Assuming BWP _ start =20, BWP _size =240, RBG _ size =16 is found from the table from which only RBG _ num =10 is scheduled, the corresponding RBG _ index is {0,4,5,6,7,8,9, 12, 13, 14}. At this time, the corresponding PRB index of RBG0 can be obtained as 20, 21 \823031 } according to the algorithm, the PRB index of the middle segment is 80, 81 \8230174, 175, 208, 209 \8230238, 239}, and the PRB index of the last segment is 240, 241 \8230255 }. So the set of the last PRB _ index is {20, 21 \8230303031, 80, 81 \823030175, 208, 209 \8230255 }, 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 yes, determining the initial position of the first segment of RBG as a BWP initial position, and determining the size of the first segment of RBG as a preset RBG size; if not, determining the size of a first segment of RBG according to the size of the RBG and the initial position of the BWP, and determining the initial position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the preset RBG size and the initial 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 size of the RBG in 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 BWP is not 0, the size of the first segment RBG and the starting 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 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, BWP _ start =20, p =16, then RBG0_ size =12 is calculated 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, RBG _ index [0] =2, RBG \usize =16, bwp \ustart =20, then the starting position PRB _ index =48 of the first segment RBG can be 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, RBG0_ size =12, and when the starting position of the first segment RBG is 20, the first segment PRB absolute index is {20, 21, \8230;, 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 the second segment PRB absolute index by adopting the initial 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 BWP _ start =20, BWP _size =240, RBG _ size =16 is found from the table from which only RBG _ num =10 is scheduled, the corresponding RBG _ index is {0,4,5,6,7,8,9, 12, 13, 14}.
The absolute starting position RBG _ pos =20/16 × 16=16 of the second segment RBG is calculated according to the above formula.
PRB _ index [4] =4 +16+ j, cycle j =0, j = j + +, j < RBG _ size, and the absolute index of the PRB of the available middle segment RBG4 is {80, 81.. 95}.
PRB _ index [5] =5 +16+ j, cycle j =0, j = j + +, j < RBG _ size, and the absolute index of the PRB of the available middle segment RBG5 is {96, 97.. 109}.
...
PRB _ index [9] =9 +16+ j, cycle j =0, j = j + +, j < RBG _ size, and the absolute index of the PRB of the available middle segment RBG9 is {160, 161.. 175}.
PRB _ index [12] =12 +16+ j, cycle j =0, j = j + +, j < RBG _ size, and the absolute index of the PRB of the available middle segment RBG12 is {208, 209.. 223}.
PRB _ index [13] =13 × 16+ j, cycle j =0, j = j + +, j < RBG _ size, and the absolute index of the PRB of the available middle segment RBG13 is {224, 225.. 239}.
That is, the PRB index of the middle segment is {80, 81 \823030, 174, 175, 208, 209 \8230, 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 RBG according to the BWP starting position and the BWP size;
and determining a third segment of PRB absolute index by adopting the initial 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 starting position of the last segment of RBG need to be determined, so as to determine the third segment of PRB absolute index.
For example, assuming BWP _ start =20,bwp _size =240, the RBG _ size =16 is found by table lookup. From which only RBG _ num =11 is scheduled, 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, according to the above formula for calculating the size of the last segment of RBG, last RBG _ size =4, and then the starting position of the last segment of RBG can be calculated to be 256 by the formula PRB _ index [15] =15 × 16+ j. 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 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, assuming BWP _ start =20, BWP _size =240, and table lookup results in RBG _ size =16, from which only RBG _ num =10 is scheduled, and corresponding RBG _ index is {0,4,5,6,7,8,9, 12, 13, 14}, then the relative index of the last segment of RBG to BWP is 14.
The total number of RBGs is 16 according to the above formula for calculating the total number of RBGs, therefore, 14< -15, the relative index of the last segment of RBGs and BWPs 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 the PRB is segmented and mapped by adopting the parameter and the relative index of the RBG, the RBG index is converted into the PRB index through segmentation and mapping, and the relative PRB index is converted into the absolute PRB index, thereby preventing PRB index calculation errors and resource mapping errors caused when the service BWP is flexibly configured in a TYPE-0 distribution 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 indexes 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 apparatus 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 phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The above detailed description is provided for the index mapping method of the physical resource block PRB and the index mapping apparatus of the physical resource block PRB, 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 (10)

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 and determining the BWP parameter of the partial 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;
mapping absolute indexes of PRBs in a segmented manner by adopting the parameters of the RBGs and the relative indexes;
wherein the parameters of the BWP include a BWP size and a BWP starting position, the parameters of the RBG include a preset RBG size, wherein the preset RBG size is used for indicating the size of the RBG of the second segment,
the determining the resource block RBG parameters according to the BWP parameters comprises the following steps:
searching a preset RBG size corresponding to the BWP size by adopting a preset mapping table;
the BWP parameters further include a BWP start position, and the segment mapping of absolute indexes of PRBs using the RBG parameters and the relative indexes 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 initial position of the BWP, and determining the initial position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the preset RBG size and the initial position of the BWP;
determining a first segment PRB absolute index by adopting the initial position of the first segment RBG and the size of the first segment RBG;
the UE resource status is an occupation status of BWP resources when the user transmits data.
2. The method of claim 1, 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 the second segment PRB absolute index by adopting the initial position of the second segment RBG and the size of the preset RBG.
3. The method according to claim 1 or 2, wherein the segment mapping an absolute index of a PRB using the parameters of the RBG and the relative index further comprises:
judging whether the relative index of the last 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.
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:
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.
5. 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;
an absolute index mapping module, configured to map absolute indexes of PRBs in segments by using the parameters of the RBGs and the relative indexes;
the RBG parameter determining module comprises:
a preset RBG size searching submodule, configured to search for a preset RBG size corresponding to the BWP size by using a preset mapping table;
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 initial position determining submodule is used for determining the initial position of the first segment of RBG as a BWP initial position and determining the size of the first segment of RBG as a preset RBG size if the first initial position is the BWP initial position; if not, determining the size of a first segment of RBG according to the size of the RBG and the initial position of the BWP, and determining the initial position of the first segment of RBG according to the relative index of the first segment of RBG and the BWP, the preset RBG size and the initial position of the BWP;
a first absolute index determining module, configured to determine a first segment PRB absolute index by using a starting position of the first segment RBG and a size of the first segment RBG;
wherein the UE resource status is an occupation status of BWP resources when the user transmits data.
6. The apparatus of claim 5, 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.
7. The apparatus of claim 5 or 6, wherein the absolute index mapping module further comprises:
a second judging submodule, configured to judge whether a relative index of the last RBG and BWP is equal to a reference value; 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.
8. The apparatus of claim 7, wherein the absolute index mapping module further comprises:
a second RBG size determining submodule, configured to determine, if the last segment of RBG is not the same as the preset RBG size, that the last segment of RBG is 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 indexes by using the starting position of the last segment of RBG and the size of the last segment of RBG.
9. 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 any of claims 1-4.
10. 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 any one of claims 1-4.
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 CN112105085A (en) 2020-12-18
CN112105085B true 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)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8493835B2 (en) * 2008-03-26 2013-07-23 Qualcomm, Incorporated 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
FI3490319T3 (en) * 2017-11-22 2024-01-17 Nokia Technologies Oy Determination of resource block groups in a user equipment bandwidth part

Also Published As

Publication number Publication date
CN112105085A (en) 2020-12-18

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
KR101752820B1 (en) Control channel detection method and user equipment
CN110034910B (en) Method and equipment for determining EPDCCH (enhanced physical downlink control channel) candidates
CN108076525B (en) Uplink time domain resource scheduling method and network equipment
CN109787732B (en) Resource allocation method and device and computer storage medium
CN105578608A (en) Downlink control information transmitting and receiving method and device
WO2020029698A1 (en) Uplink channel resource indication and determination method, and base station, terminal and medium
CN107211399B (en) Processing method of control information format, base station and user equipment
CN108353318B (en) Method and device for processing physical broadcast channel PBCH bandwidth and base station
KR20180109998A (en) Data transmission method, data reception method, user equipment and base station
CN104734809A (en) Resource mapping method and blind detection method based on same
CN110324898A (en) Physical Downlink Shared Channel receives and its time-domain resource indicating means, device, storage medium, base station, terminal
CN113518454A (en) Method for configuring downlink control information and method for receiving downlink data
CN105846974B (en) Method and equipment for configuring control channel resources
CN103929289A (en) Method and device for determining ECCE user device specific searching space of cross-carrier scheduling EPDCCH
CN109041118B (en) Resource allocation method and communication equipment
CN112105085B (en) Index mapping method and device for physical resource block PRB
CN111867066A (en) Method and equipment for indicating information and determining indication information
CN108810996B (en) Resource allocation method, base station and user equipment
CN104394592A (en) Method, device and base station for allocation of PRB resources
CN107645356B (en) Method and device for determining control channel unit aggregation level of PDCCH
CN111901808A (en) Parameter information determining method, communication node, and storage medium
CN110324109B (en) PDSCH (physical Downlink shared channel) rate matching method and device, user terminal and computer readable storage medium
CN113645705B (en) Frequency domain resource allocation method and device

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