The resource allocation methods that a kind of D2D patterns 2 communicate
Technical field
Technical field of the present invention is wireless communication system, more particularly it relates to communicate to D2D, that is, is existed
The end-to-end communication that the mandate frequency range of related operators carries out, more specifically, being the resource allocation side that a kind of D2D patterns 2 communicate
Method.
Background technology
Without going through the transfer of base station when communication end to end refers to communication between terminal, directly led between terminal
Letter, such communication are not required the participation of base station, reduce the burden of base station, in present daily life, lead to end to end
There are many letter technology, such as common are bluetooth, WIFI and NFC technique etc..But the communication of these technologies is all to be operated in non-award
On the common frequency band of power, as many users in use, can have very big interference and dangerous row.
In the mandate frequency range of related operators, interference can control D2D communication works and safety coefficient is high, be now logical
The research hotspot in letter field.The application scenarios of D2D communications mainly have a network coverage scene, edges cover scene and without the network coverage
Several scenes such as scene.The data transmission resources method of salary distribution has the communications of Mode 1 and Mode 2 to communicate.Mode 1 communicates main use
In network coverage scene, as the scheduling resource needed for eNB configuration users send data;The communications of Mode 2 are mainly used for edges cover
With no network coverage scene, for edges cover scene, eNB is semi-statically configured scheduling resource pond;For no network coverage scene,
Scheduling resource pond is pre-configured, user chooses the transmission that resource carries out data from principal and subordinate's resource pool.
To underdraw several relevant background technologies below.
1.1 resource pool
ENB is the resource that user sends the resource of data configuration or is pre-configured, but is not specific running time-frequency resource, but
It is used by configuring resource pool for all users to communicate, particular by configuration bitmap, cycle, repetition factor etc.
Parameter sends the resource of data to express available for user, and D2D communication subframes and cell are mainly configured in bitmap
Communicate subframe, wherein 1 represent for D2D communicate, 0 represent for cell communication subframe, repetition factor come represent bitmap weight
Again count, the cycle be bitmap occur cycle, can value be 40ms, 80ms, 160ms, 320ms.For D2D mode 2
Communication, i.e. eNB are semi-statically configured resource pool or pre-allocated recourses pond to provide the resource that user sends data, and user provides from principal and subordinate
The transmission that corresponding running time-frequency resource carries out data is chosen in the pond of source.
1.2 random code
Terminal attribute is represented with the unique corresponding 15 bit identification code IMEI code of mobile phone.IMEI code is made of 15 bit digitals,
Consisting of:Preceding 6 digit (TAC) is " unit type approval code ", is distributed by European model authentication center;Then 2 digits
(FAC) it is factory's assembling code, is encoded by producer, usually represents manufacturer and its assembling ground;6 digits (SNR) afterwards are " strings
Number ", i.e. serial number is also distributed by producer, identifies some equipment in each TAC and FAC, the SNR of each mobile phone is not
Can be the same, therefore user terminal can be marked with this code;It is check code typically " 0 " that last 1 digit (SP), which is, number
It is set, can be neglected by producer.
1.3 type of service
Bearer types:Default bearing, dedicated bearer, GBR carryings and Non-GBR carryings.
Default bearing:A kind of user carrying of the data for meeting acquiescence QoS and signaling.Default bearing can be simply interpreted as
A kind of carrying for providing IP connections of doing one's best, always online IP connections are provided to user equipment.The qos parameter of default bearing
The subscription data obtained from home subscriber server (HSS) is may come from, policy charging rule function can also be passed through
(PCRF) interaction or based on being locally configured.
Dedicated bearer:SAE used in some specific transactions is carried.The QoS of special SAE carryings is than silent under normal circumstances
The requirement for recognizing QoS is high.Dedicated bearer associates uplink (UL) traffic flow template (TFT) in UE, PDN GW associate DL (under
Row) filter of business data flow is included in TFT, TFT, and these filters can only match the grouping of some criterions, it is special to hold
The qos parameter of load is always distributed by packet-based core networks.
GBR is carried:With ensureing that bit rate (GBR) carries relevant private network resource, establish or changed in carrying
Some carrying is permanently assigned to for example, by functions such as the admission controls of eNB in journey, this, which is carried in bit rate, requires energy
Enough ensure constant.
Non-GBR is carried:It, i.e., it cannot be guaranteed that should with GBR carryings on the contrary, Internet resources cannot be permanently assigned to some carrying
The bit rate of carrying is constant, is exactly Non-GBR carryings, and default bearing should be Non-GBR carryings.What one carrying was safeguarded
The aggregate of a server data stream (SDF), the set of multiple SDF of corresponding same bearer rank QoS, each SDF be by
5 tuples (source IP address, purpose IP address, source port number, destination slogan, IP layers or more the agreement ID) description of IP, is come with this
Identification terminal and application or service.So SDF can be used for being connected to Web, streaming media server or mailbox server.
Each business has different QoS weights and its priority, and specific correspondence is shown in Table 1.
The content of the invention
The technical problem to be solved by the present invention is to communicate, eNB is semi-statically configured resource pool or prewired for D2D Mode 2
Resource pool is put, user sends information, it is necessary to independently choose transmission of the corresponding running time-frequency resource into row information in resource pool, due to
Interactive information is had no between user, therefore user independently chooses resource and is present with resource conflict problem.
Solving the technical solution that the technical problem is proposed is:
In line with resource contention is reduced, resource utilization and the principle of data transmission credibility are improved, this paper presents one kind
User is according to itself type of service and identification code, being time-multiplexed and by way of frequency division multiplexing, determining that it sends data
The method for the resource not conflicted mutually, i.e., a kind of quasi-static resource allocation methods, specific implementation step are as follows:
Step 1:User is determined to lead to for D2D by the resource pool configuration information for being semi-statically configured or being pre-configured
The resource of letter, these information include subframe bitmap of the instruction for D2D communications, cycle, repeat factor parameter;
Step 2:It is when user has D2D business to need to send, then QoS grades, that is, corresponding business of QCI of business is preferential
Grade informs other users in a broadcast manner, while receives the service priority information of other users transmission;
Step 3:User determines that each business is preferential according to the service priority information that the other users received are sent
The corresponding number of users { x1, x2 ..., xn ..., x9 } of grade;
Step 4:It is first the highest user's computing resource block number of service priority, according to each service priority
Number of users, calculates number of resources needed for the user of identical services priority, and the resource including required number of sub frames and each user is long
Degree.RB number R is determined according to system bandwidth, it will be continuousA subframe for D2D communications is for equal priority
The transmission at family, if m=1, the RB number of each user in subframe isIf m>1, then in the 1st subframe
User's number beRB number of each user's distributionOther m-1
User's number of a subframe isRB number of each user's distributionWherein n values are 1,
2 ... 9.According to the order of customer service priority, according to the resource allocation of step 4 completion user;
Step 5:Xn user of equal priority is numbered.Utilize 6 in user's exclusive identification code IMEI
The identification code number of xn user is 0,1 ... by SNR codes, xn-1, that is, completes the number of user;
Step 6:According to above-mentioned steps calculating as a result, determining the resource initial position of each user.If during m=1,
The resource of user's distribution of number 0 is the resource size K1 since No. 0 RB, and the resource of user's distribution of number 1 is from No. K1
RB starts, resource size K1;And so on, it is the money since (xn-1) * K1 RB that the user that number is xn-1, which distributes resource,
Source length is K1, that is, completes the resource allocation of xn user;If m>When 1, first for D2D communication subframes, the use of number 0
Family distribution resource is the resource size K2 since No. 0 RB, and the resource of user's distribution of number 1 is the resource since K2 RB
Length is K2, and so on, it is the resource size K2 since (p1-1) * K2 RB that the user that number is p1-1, which distributes resource,
Complete the resource allocation of p1 user;(xn-p1) a user is allocated again, in other each subframes, number is that y is corresponded to
The resource of user's distribution be from theA (ymodp) * K3 RB for D2D communication subframes start, resource size
For K3, wherein, y values are p1, p1+1 ..., xn-1, and such computational methods complete the resource allocation to (xn-p1) a user;
Step 7:User carries out the transmission of data on corresponding running time-frequency resource.
Compared with prior art, the present invention has the following advantages and beneficial effect:
Since the resource distribution mode that D2D patterns 2 communicate is that user independently chooses resource progress data hair from resource pool
It send, therefore is present with multiple users in the prior art and chooses certain same resource block simultaneously, cause multiple customer services that can not all pass
Defeated or multiple business are transmitted in same resource block, and data are unable to properly receive, while other resource blocks are in idle state,
Method proposed by the present invention can specifically determine business according to available resource block number in the portfolio and resource pool of each user
Resource block mapping position, be not in resource contention of the prior art and the wasting of resources situation, so as to improve resource
Utilization rate and data transmission availability.
Description of the drawings
Fig. 1 is that the resource allocation that D2D mode 2 proposed by the present invention communicate realizes flow chart.
Table 1 is QoS class informations and service priority mapping table (prior art).
Table 2 is user related information corresponding table in the embodiment of the present invention.
Keyword:
The 3rd generation partner programs of 3 Generation Partnership Project of 3GPP
LTELong Term Evolution Long Term Evolutions
D2D Device to Device device-to-devices
QoS Quality of Service service quality
Specific embodiment
This method is described in detail in shown embodiment below in conjunction with the accompanying drawings.
Assuming that the resource pool information that eNB is semi-statically configured or is pre-configured is as follows:Bitmap is 1010101101, repetition factor
For 4, that is, represent that in 4 radio frames of a cycle be all identical bitmap, wherein 1 represents to communicate for D2D, 0 represents
It communicates for cell, cycle 40ms, system bandwidth 5M;
Step 1:User knows resource pool configuration information, i.e. bitmap is 1010101101;
Step 2:User has D2D business to need to send, by itself QoS grades, that is, corresponding service priority of QCI=1
Other users are informed for 1, while receive the service priority information of other users transmission, and user is corresponding with QCI and priority
Relation such as the following table 2.
Table 1
Table 2
Customs Assigned Number |
SNR |
QCI |
Priority |
User is in itself |
859626 |
1 |
2 |
1 |
309675 |
1 |
2 |
2 |
112985 |
6 |
6 |
3 |
455128 |
4 |
5 |
4 |
276854 |
5 |
1 |
5 |
597815 |
8 |
8 |
6 |
853129 |
2 |
4 |
7 |
574198 |
4 |
5 |
8 |
514726 |
1 |
2 |
9 |
357216 |
5 |
1 |
10 |
589421 |
3 |
3 |
Step 3:User has determined D2D business need according to the service priority information that the other users received are sent
The total number of users L=11 and the corresponding number of users of each service priority asked, i.e. priority is 1 number of users x1=
2, x2=3, x3=1, x4=1, x5=2, x6=1, x7=0, x8=1, x9=0;
Step 4:The resource allocation for the user that priority is 1 is preferentially carried out, here R>X1, then subframe can just meet
Priority is 1 user resources demand, i.e., indicate in bitmap first of the user that priority is 1 is used for what D2D communicated
It is transmitted in subframe, RB number R=25 is determined according to system bandwidth, here with computational resource allocation situation in first subframe:X1=
2, R>X1 then calculates the RB number K=12 of each user, and the RB number of first user is 12, RB of second user
Number is 13;The resource RB numbers that all priority correspond to user can be calculated successively;
Step 5:6 SNR codes in user's exclusive identification code IMEI code, as shown in table 2.The SNR codes of two users are
276854 and 357216, by generating not repeating random number, and the scope of random number is 0 code for arriving xn-1, the two are used
Family SNR codes realize the number to the two users as initial code, output 0 and 1, such as the Customs Assigned Number that SNR codes are 276854
It is 1 for 0,357216 Customs Assigned Number;
Step 6:The resource that the user that SNR codes are 276854 distributes is that first No. 0 RB for D2D communication subframes is opened
12 RB to begin, the resource that the user that SNR codes are 357216 distributes are that first No. 12 RB for D2D communication subframes starts
R-K* (N-1)=25-12=13 RB completes the user resources that priority is 1 and distributes;
Step 7:User carries out the transmission of data on corresponding running time-frequency resource, and identical process completes other priority use
Family resource allocation.