WO2017028044A1 - 一种减少资源冲突的方法及ue - Google Patents

一种减少资源冲突的方法及ue Download PDF

Info

Publication number
WO2017028044A1
WO2017028044A1 PCT/CN2015/087067 CN2015087067W WO2017028044A1 WO 2017028044 A1 WO2017028044 A1 WO 2017028044A1 CN 2015087067 W CN2015087067 W CN 2015087067W WO 2017028044 A1 WO2017028044 A1 WO 2017028044A1
Authority
WO
WIPO (PCT)
Prior art keywords
resources
threshold
resource
priority
determining
Prior art date
Application number
PCT/CN2015/087067
Other languages
English (en)
French (fr)
Inventor
张兴炜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2018507517A priority Critical patent/JP7032306B2/ja
Priority to PCT/CN2015/087067 priority patent/WO2017028044A1/zh
Priority to CN201580065186.1A priority patent/CN107005984B/zh
Priority to EP15901249.1A priority patent/EP3322241B1/en
Priority to KR1020187004027A priority patent/KR102105501B1/ko
Publication of WO2017028044A1 publication Critical patent/WO2017028044A1/zh
Priority to US15/894,332 priority patent/US10536928B2/en
Priority to US16/690,651 priority patent/US11277821B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/25Control channels or signalling for resource management between terminals via a wireless link, e.g. sidelink
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • H04W74/0841Random access procedures, e.g. with 4-step access with collision treatment
    • H04W74/085Random access procedures, e.g. with 4-step access with collision treatment collision avoidance

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for reducing resource conflicts and a UE (User Equipment).
  • UE User Equipment
  • D2D Device to Device
  • the uplink spectrum resources of the LTE-A (Long Term Evolution-Advanced) system are reused in consideration of the strong anti-interference capability of the base station.
  • the resource allocation of D2D device communication now has two modes, one is based on the way of base station debugging, and the other is based on the competition, that is, the UE that needs to send data or signaling is obtained from the resource pool in a competitive manner. Time-frequency resources sent.
  • the UE randomly selects a part of resources in a resource pool (ie, a pre-configured or base station configured resource for D2D), and then randomly selects based on a pre-configured or base station configured probability P.
  • a discovery signal is sent on the resource.
  • the UE1 randomly selects two PRBs (Physical Resource Blocks) in the resource pool, and the probability P of the base station pre-configured is 0.5, and the UE1 sends the probability of 50% on the two PRBs.
  • PRBs Physical Resource Blocks
  • the embodiments of the present invention provide a method and a UE for reducing resource conflicts, which can effectively reduce conflicts caused by sending UEs due to preempting resources in the D2D technology.
  • a method of reducing resource conflicts including:
  • the first UE determines N available resources among the S resources; the S is the quantity of resources indicated by the resource configuration information acquired by the first UE;
  • the first UE sends data to the at least one second UE by using the M resources;
  • the S is an integer greater than or equal to 1
  • the N is an integer greater than or equal to 0 and less than or equal to the S
  • the M is an integer greater than or equal to 0 and less than or equal to the N.
  • the first UE randomly selects M resources among the N available resources.
  • the method further includes:
  • the first UE acquires resource configuration information; the resource configuration information includes information of the S resources, and the resource configuration information is configured or pre-configured by the base station.
  • Determining, by the first UE, the N available resources among the S resources includes:
  • the first UE detects the energy or power of the signal carried on each of the S resources. If the energy of the signal carried on the resource is less than the threshold m or the power is less than the threshold n, the resource is determined to be The available resources; the m, the n is a positive number;
  • the first UE detects a sequence carried on each of the S resources, and if the resource does not carry a preset sequence, determining that the resource is the available resource.
  • the method further includes:
  • the first UE re-determines N available resources among the S resources;
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the At least one of the priorities of the first UE itself is determined; the c is an integer greater than or equal to 0, and the w is a positive number.
  • the method further includes:
  • the first UE determines M resources according to the N available resources
  • the first UE determines M resources according to the N available resources or re-determines N among the S resources after the preset time length T Available resources, and M resources are determined according to the N available resources;
  • the T is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • the M resources are determined according to the N available resources, including:
  • the first UE randomly selects M resources among the N available resources;
  • the first UE obtains L resources according to the N available resources, and the first UE randomly selects M resources among the L available resources.
  • the first UE obtains the L resources by using the N available resources to calculate by using a preset rule.
  • the data sent by the first UE to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the
  • the specific determination of at least one of the priorities of the first UE itself includes:
  • the x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE, the c, the w, the One of the functions g(c, w) of c and the w, corresponding to the f(x) generation when x is different
  • the functions of the table are also different.
  • the sending, by the first UE, the data to the at least one second UE by using the M resources includes:
  • the transmission probability P is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, and the service priority of the first UE.
  • Q At least one of the priorities of the first UE itself is determined.
  • the sending, by the first UE, the data to the at least one second UE by using the M resources includes:
  • the first UE sends data to the at least one second UE on the M resources;
  • the first UE determines a transmission probability P, and sends the transmission probability P to the at least one second UE on the M resources. data;
  • the P is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • the P is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE,
  • the specific determination of at least one of the priorities of the first UE itself includes:
  • the x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE, the c, the w, the One of the functions g(c, w) of c and w is different, and the function represented by f(x) is different when x is different.
  • the S corresponds to the number of UEs in the first group
  • the N corresponds to the number of UEs that send data in the first group
  • the S corresponds to the number of neighboring UEs of the first UE
  • the N corresponds to the number of UEs that send data in the neighboring UEs of the first UE
  • the neighbor UEs of the first UE are A UE that the first UE can communicate directly.
  • the resource is at least one of a resource for assigning an SA, or a resource for a service data or a discovery resource, and the data sent to the at least one second UE is at least one of an SA, a service data, or a discovery signal.
  • the resource is at least one of a resource in the SA resource pool, a resource in the service data resource pool, and a resource in the discovery resource pool; or a resource that can be used to send at least one of SA, service data, or discovery signal for a period of time.
  • a method of reducing resource conflicts including:
  • the first UE acquires a preset parameter
  • the first UE sends data to the at least one second UE by using the Z resources of the S resources according to the preset parameter; the S is a resource allocation acquired by the first UE. The amount of resources indicated by the information;
  • the preset parameter is the collision number c of the first UE, the conflict time w of the first UE, the service priority Q of the first UE, and the priority of the first UE itself. At least one; the S is an integer greater than or equal to 1, the Z is an integer less than or equal to the S, the c is an integer greater than or equal to 0, and the w is a positive number.
  • the method further includes:
  • the first UE acquires resource configuration information; the resource configuration information includes information of the S resources, and the resource configuration information is configured or pre-configured by the base station.
  • the sending, by the first UE, the data to the at least one second UE by using the Z resources of the S resources according to the preset parameter includes:
  • the data sent by the first UE to the at least one second UE on the Z resources is new data acquired after discarding the original data, or is the original data.
  • the sending, by the first UE, the data to the at least one second UE by using the Z resources of the S resources according to the preset parameter includes:
  • the preset parameter determines a preset duration T;
  • the number of collisions c of the first UE is not less than the threshold value C 0 or the collision time w of the first UE is not less than the threshold value W 0 or the service priority of the first UE or the priority Q of the UE itself is not less than the threshold value Q 0 And transmitting data to the at least one second UE on the Z resources.
  • the sending, by the first UE, the data to the at least one second UE by using the Z resources of the S resources according to the preset parameter includes:
  • the first UE determines a transmission probability P according to the preset parameter, and sends data to the at least one second UE on the Z resources by using the transmission probability P.
  • Determining, according to the preset parameter, the preset duration T includes:
  • T f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of the functions c(c, w) of the c, the w, the c, and the w, the function represented by the corresponding f(x) is different when the value of x is different.
  • the sending, by the first UE, the data to the at least one second UE by using the Z resources of the S resources according to the preset parameter includes:
  • the collision number c of the first UE is less than the threshold C 0 or the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the priority Q of the UE itself is less than the threshold Q 0 , Determining, by the preset parameter, a transmission probability P, and transmitting, by using the transmission probability P, the data to the at least one second UE on the Z resources;
  • the number of collisions c of the first UE is not less than the threshold value C 0 or the collision time w of the first UE is not less than the threshold value W 0 or the service priority of the first UE or the priority Q of the UE itself is not less than the threshold value Q 0 And transmitting data to the at least one second UE on the Z resources.
  • the determining the sending probability P according to the preset parameter includes:
  • the transmission probability P f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of c, the w, the c, and the function g(c, w) of the w, when f is different, the corresponding f(x) represents a different function.
  • a UE including:
  • a determining unit configured to determine N available resources among the S resources; the S is a quantity of resources indicated by the resource configuration information acquired by the first UE;
  • the determining unit is further configured to determine M resources according to the N available resources;
  • a sending unit configured to send data to the at least one second UE by using the M resources
  • the S is an integer greater than or equal to 1
  • the N is an integer greater than or equal to 0 and less than or equal to the S
  • the M is an integer greater than or equal to 0 and less than or equal to the N.
  • the determining unit is specifically configured to randomly select M resources among the N available resources.
  • the acquiring unit is configured to acquire resource configuration information, where the resource configuration information includes information of the S resources, where the resource configuration information is configured or pre-configured by the base station.
  • the determining unit is specifically configured to: detect energy or power of a signal carried on each of the S resources, and if the energy of the signal carried on the resource is less than a threshold m or the power is less than a threshold n, determine Said resource is said available resource; said m, said n being a positive number;
  • the determining unit is specifically configured to: after determining the N available resources in the S resources, after the preset duration T, determine the M resources according to the N available resources;
  • the first UE re-determines N available resources among the S resources;
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the At least one of the priorities of the first UE itself is determined; the c is an integer greater than or equal to 0, and the w is a positive number.
  • the determining unit is specifically configured to: after determining the N available resources in the S resources, determine whether the first UE meets the first preset condition;
  • the interval preset duration T Determining M resources according to the N available resources
  • the T is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • determining M resources according to the N available resources including: randomly selecting M resources among the N available resources; or
  • the obtaining, by the determining unit, the L resources according to the N available resources specifically: obtaining the L resources by using the N available resources by using a preset rule.
  • the data sent by the sending unit to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the
  • the specific determination of at least one of the priorities of the first UE itself includes:
  • the x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE, the c, the w, the One of the functions g(c, w) of c and w is different, and the function represented by f(x) is different when x is different.
  • the determining unit is further configured to determine a transmission probability P;
  • the sending unit is configured to send data to the at least one second UE on the M resources by using the sending probability P, where the sending probability P is based on the number of available resources N and the number of unavailable resources NS And determining, by the at least one of the available resource ratio N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the priority of the first UE itself.
  • the determining unit is configured to determine whether the first UE meets a second preset condition
  • the sending unit sends data to the at least one second UE on the M resources;
  • the determining unit determines that the first UE does not satisfy the second preset condition, the determining unit determines a transmission probability P, and the sending unit uses the sending probability P to locate the M resources. Transmitting at least one second UE to transmit data;
  • the P is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • the P is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE,
  • the specific determination of at least one of the priorities of the first UE itself includes:
  • the x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE, the c, the w, the One of the functions g(c, w) of c and w is different, and the function represented by f(x) is different when x is different.
  • the S corresponds to the number of UEs in the first group corresponding to the first UE
  • the N corresponds to the number of UEs in the first group that send data
  • the S corresponds to the number of neighboring UEs of the first UE
  • the N corresponds to the number of UEs that send data in the neighboring UEs of the first UE
  • the neighbor UEs of the first UE are A UE that the first UE can communicate directly.
  • the resource is at least one of a resource for assigning an SA, or a resource for a service data or a discovery resource, and the data sent to the at least one second UE is at least one of an SA, a service data, or a discovery signal.
  • the resource is at least one of a resource in the SA resource pool, a resource in the service data resource pool, and a resource in the discovery resource pool; or a resource that can be used to send at least one of SA, service data, or discovery signal for a period of time.
  • a UE including:
  • An obtaining unit configured to acquire a preset parameter
  • a sending unit configured to send data to the at least one second UE by using the Z resources of the S resources according to the preset parameter;
  • the S is a resource configuration acquired by the first UE The amount of resources indicated by the information;
  • the preset parameter is at least one of a collision number c of the first UE, a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself.
  • the acquiring unit is configured to acquire resource configuration information, where the resource configuration information includes information of the S resources, where the resource configuration information is configured or pre-configured by the base station.
  • the determining unit is configured to: determine a preset duration T according to the preset parameter; and after the preset duration T, randomly determine Z resources among the S resources;
  • the sending unit is configured to send data to the at least one second UE on the Z resources.
  • the data sent by the first UE to the at least one second UE on the Z resources is new data acquired after discarding the original data, or is the original data.
  • the determining unit is configured to determine whether the number of collisions c of the first UE is less than a threshold C 0 or whether the collision time w of the first UE is less than a threshold W 0 or a service priority of the first UE or a priority of the UE itself. Whether the level Q is less than the threshold Q 0 ;
  • the determining unit is configured to: if the collision number c of the first UE is less than the threshold C 0 or the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the priority Q of the UE itself is less than the threshold Q 0, the predetermined time period T according to the preset parameters determined; randomly determined period T Z S resources in the resource when the predetermined interval;
  • the sending unit is configured to send data to the at least one second UE on the Z resources.
  • the sending unit is further configured to: if the collision number c of the first UE is not less than the threshold C 0 or the collision time w of the first UE is not less than the threshold W 0 or the service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and the data is sent to the at least one second UE on the Z resources.
  • Determining, according to the preset parameter, the preset duration T includes:
  • T f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of the functions c(c, w) of the c, the w, the c, and the w, the function represented by the corresponding f(x) is different when the value of x is different.
  • Determining, according to the preset parameter, the preset duration T includes:
  • T f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of the functions c(c, w) of the c, the w, the c, and the w, the function represented by the corresponding f(x) is different when the value of x is different.
  • the determining unit is configured to randomly determine Z resources among the S resources
  • the determining unit is configured to determine whether the number of collisions c of the first UE is less than a threshold C 0 or whether the collision time w of the first UE is less than a threshold W 0 or a service priority of the first UE or a priority of the UE itself. Whether the level Q is less than the threshold Q 0 ;
  • the determining unit is configured to: if the collision number c of the first UE is less than the threshold C 0 or the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the priority Q of the UE itself If the value is less than the threshold Q 0 , the transmission probability P is determined according to the preset parameter;
  • the sending unit is configured to send data to the at least one second UE on the Z resources by using the sending probability P.
  • the sending unit is further configured to: if the collision number c of the first UE is not less than the threshold C 0 or the collision time w of the first UE is not less than the threshold W 0 or the service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and the data is sent to the at least one second UE on the Z resources.
  • the determining the sending probability P according to the preset parameter includes:
  • the transmission probability P f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of c, the w, the c, and the function g(c, w) of the w, when f is different, the corresponding f(x) represents a different function.
  • a UE including:
  • a processor configured to determine N available resources among the S resources; the S is a quantity of resources indicated by the resource configuration information acquired by the first UE; and M resources are determined according to the N available resources;
  • a transmitter configured to send data to the at least one second UE by using the M resources
  • the S is an integer greater than or equal to 1
  • the N is an integer greater than or equal to 0 and less than or equal to the S
  • the M is an integer greater than or equal to 0 and less than or equal to the N.
  • the processor is specifically configured to randomly select M resources among the N available resources.
  • the processor is configured to acquire resource configuration information, where the resource configuration information includes information about the S resources, where the resource configuration information is configured or pre-configured by the base station.
  • the processor is specifically configured to: detect energy or power of a signal carried on each of the S resources, and if the energy of the signal carried on the resource is less than a threshold m or the power is less than a threshold n, determine Said resource is said available resource; said m, said n being a positive number;
  • the processor is specifically configured to: after determining the N available resources in the S resources, after the preset duration T, determine the M resources according to the N available resources;
  • the first UE re-determines N available resources among the S resources;
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the At least one of the priorities of the first UE itself is determined; the c is an integer greater than or equal to 0, and the w is a positive number.
  • the processor is specifically configured to: after determining the N available resources in the S resources, determine whether the first UE meets the first preset condition;
  • the M resources are determined according to the N available resources after the preset time length T;
  • the T is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • determining M resources according to the N available resources including: randomly selecting M resources among the N available resources; or
  • the data sent by the transmitter to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the
  • the specific determination of at least one of the priorities of the first UE itself includes:
  • the x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE, the c, the w, the One of the functions g(c, w) of c and w is different, and the function represented by f(x) is different when x is different.
  • the processor is further configured to determine a transmission probability P;
  • the transmitter is specifically configured to use the sending probability P on the M resources
  • the at least one second UE sends data, where the transmission probability P is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, At least one of the service priority Q of the first UE and the priority of the first UE itself is determined.
  • the processor is configured to determine whether the first UE meets a second preset condition
  • the transmitter sends data to the at least one second UE on the M resources;
  • the processor determines that the first UE does not meet the second preset condition, the determining unit determines a transmission probability P, and the transmitter uses the transmission probability P to locate the M resources. Transmitting at least one second UE to transmit data;
  • the P is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • the P is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE,
  • the specific determination of at least one of the priorities of the first UE itself includes:
  • the x is N, N-S, N/S, the service priority Q of the first UE, One of the priority of the UE itself, the value of the first UE, the c, the w, the c, and one of the functions g(c, w) of the w, when the value of x is different
  • the function represented by f(x) is also different.
  • the S corresponds to the number of UEs in the first group corresponding to the first UE
  • the N corresponds to the number of UEs in the first group that send data
  • the S corresponds to the number of neighboring UEs of the first UE
  • the N corresponds to the number of UEs that send data in the neighboring UEs of the first UE
  • the neighbor UEs of the first UE are A UE that the first UE can communicate directly.
  • the resource is at least one of a resource for assigning an SA, or a resource for a service data or a discovery resource, and the data sent to the at least one second UE is at least one of an SA, a service data, or a discovery signal.
  • the resource is at least one of a resource in the SA resource pool, a resource in the service data resource pool, and a resource in the discovery resource pool; or a resource that can be used to send at least one of SA, service data, or discovery signal for a period of time.
  • a UE including:
  • a processor configured to acquire a preset parameter
  • a sender configured to send data to the at least one second UE by using the Z resources of the S resources according to the preset parameter;
  • the S is a quantity of resources indicated by the resource configuration information acquired by the first UE;
  • the preset parameter is at least one of a collision number c of the first UE, a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself; S is an integer greater than or equal to 1, the Z is an integer less than or equal to the S, the c is an integer greater than or equal to 0, and the w is a positive number.
  • the processor is configured to acquire resource configuration information, where the resource configuration information includes information about the S resources, where the resource configuration information is configured or pre-configured by the base station. of.
  • the processor is configured to determine, according to the preset parameter, a preset duration T; and after the preset duration T, the Z resources are randomly determined among the S resources;
  • the transmitter is configured to send data to the at least one second UE on the Z resources.
  • the data sent by the first UE to the at least one second UE on the Z resources is new data acquired after discarding the original data, or is the original data.
  • the processor is configured to determine whether the number of collisions c of the first UE is less than a threshold value C 0 or whether the collision time w of the first UE is less than a threshold value W 0 or a service priority of the first UE or a priority of the UE itself. Whether Q is less than the threshold Q 0 ;
  • the second processor is configured to: if the collision number c of the first UE is less than a threshold C 0 or the collision time w of the first UE is less than a threshold W 0 or a service priority of the first UE or a priority of the UE itself If the Q is smaller than the threshold value Q 0 , the preset time length T is determined according to the preset parameter; and the predetermined time length T is determined to randomly determine Z resources among the S resources.
  • the transmitter is configured to send data to the at least one second UE on the Z resources.
  • the transmitter is further configured to: if the collision number c of the first UE is not less than a threshold C 0 or the collision time w of the first UE is not less than a threshold value W 0 or a service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and the data is sent to the at least one second UE on the Z resources.
  • Determining, according to the preset parameter, the preset duration T includes:
  • T f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value,
  • the c One of the functions g(c, w) of the w, the c, and the w, when f is different, the corresponding f(x) represents a different function.
  • Determining, according to the preset parameter, the preset duration T includes:
  • T f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of the functions c(c, w) of the c, the w, the c, and the w, the function represented by the corresponding f(x) is different when the value of x is different.
  • the processor is configured to: randomly determine Z resources in the S resources; determine whether the number of collisions c of the first UE is less than a threshold C 0 or whether a collision time w of the first UE is less than a threshold value W 0 or Whether the service priority of the first UE or the priority Q of the UE itself is less than the threshold Q 0 ;
  • the processor is configured to: if the collision number c of the first UE is less than the threshold C 0 or the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the priority Q of the UE itself is less than a threshold value Q 0 , the transmission probability P is determined according to the preset parameter; the transmitter is configured to send data to the at least one second UE on the Z resources by using the transmission probability P;
  • the number of collisions c of the first UE is not less than the threshold value C 0 or the collision time w of the first UE is not less than the threshold value W 0 or the service priority of the first UE or the priority Q of the UE itself is not less than the threshold value Q 0 And transmitting data to the at least one second UE on the Z resources.
  • the determining the sending probability P according to the preset parameter includes:
  • the transmission probability P f(x); wherein the x is N, N-S, N/S, One of the service priority Q of the first UE, the first UE customized value, the c, the w, the c, and the function g(c, w) of the w, when x
  • the corresponding f(x) represents a different function when the values are different.
  • the first UE determines N available resources among the S resources, and determines M resources according to the N available resources; and finally uses the M resources to at least A second UE transmits data. Or the first UE sends data to the at least one second UE by using the Z resources of the S resources according to the preset parameter, where the preset parameter is the collision number c of the first UE, the first At least one of a collision time w of the UE, a service priority Q of the first UE, and a priority of the UE itself.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • each UE performs detection in a preset resource, determines available resources, and then transmits data according to the determined available resources, or the UE determines the transmission probability by referring to its own collision number, collision time, service priority, and the like.
  • the waiting time, the waiting time or the transmission probability of different UEs are different, and the probability of competing with the same resource by other UEs can be reduced, and the conflict caused by the UE to be preempted by the UE in the D2D technology is reduced to some extent.
  • FIG. 1 is a schematic flowchart of a method for reducing resource conflicts according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for reducing resource conflicts according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic flowchart of another method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic flowchart diagram of another method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic flowchart diagram of another method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic flowchart diagram of another method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 9 is a schematic flowchart diagram of another method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic flowchart diagram of another method for reducing resource conflicts according to Embodiment 3 of the present invention.
  • FIG. 11 is a structural block diagram of a UE according to Embodiment 4 of the present invention.
  • FIG. 12 is a structural block diagram of a UE according to Embodiment 5 of the present invention.
  • FIG. 12 is a block diagram showing another structure of a UE according to Embodiment 5 of the present invention.
  • FIG. 12b is another structural block diagram of a UE according to Embodiment 5 of the present invention.
  • FIG. 13 is a structural block diagram of a UE according to Embodiment 6 of the present invention.
  • FIG. 14 is a structural block diagram of a UE according to Embodiment 7 of the present invention.
  • the device communicates directly, and the terminal and the terminal can communicate directly without forwarding through the base station, which can share the data load of the base station, better utilize spectrum resources, and improve spectrum utilization and data rate.
  • the base station considering The anti-interference capability of the base station is strong, so that each UE multiplexes the uplink spectrum resources of the LTE-A (Long Term Evolution-Advanced) system.
  • LTE-A Long Term Evolution-Advanced
  • a contention-based mode in the D2D resource allocation mechanism a UE that needs to send data or signaling needs to obtain a time-frequency resource for transmission from a resource pool in a competitive manner.
  • D2D communication is divided into D2D device discovery and D2D device communication.
  • the D2D device discovers that the UE only sends the discovery signal, and the D2D device communicates with the UE to send control signaling and data.
  • D2D resource allocation now has two modes of centralized control and contention based.
  • the resources of the D2D are allocated by a central control device (such as a base station or a relay station), and the resources are allocated to the transmitting UE by using a scheduling manner, and the centralized control resource allocation is mainly directed to a network coverage scenario.
  • the transmitting UE obtains the transmitting resource from the resource pool by means of contention.
  • the resource pool is a whole block of resources that are separated by the base station, and all D2D users compete for small blocks of resources in the entire resource.
  • the resource pool is a predefined system bandwidth that D2D users can obtain. All D2D users compete for resources under predefined resources.
  • the transmission probability p configured by the base station to the transmitting UE within the network coverage.
  • the UE randomly selects resources in a preset resource pool, and then transmits a discovery signal on the randomly selected resource based on the probability p (0 ⁇ p ⁇ 1, the value range is ⁇ 0.25, 0.5, 0.75, 1 ⁇ ). Outside the network coverage, the probability p is pre-configured.
  • the prior art transmits data (or signaling) based on the probability P pre-configured by the base station, and it is highly probable that the finally selected resource is still occupied, and still causes a collision. Just blindly using a transmission probability of less than 1, the effect of resolving conflicts is limited. In addition, for scenarios without network coverage, the UE cannot receive scheduling signaling of the base station, and further The data cannot be transmitted using the transmission probability P configured by the base station.
  • the embodiment of the invention provides a method for less resource conflict, and the execution subject is a UE. As shown in FIG. 1 , the method includes the following steps:
  • the first UE determines N available resources among the S resources; the S is the quantity of resources indicated by the resource configuration information acquired by the first UE.
  • the resource is the at least one of a resource of a scheduling assignment (SA), a resource of a service data, or a resource of discovery, and the data sent to the at least one second UE is an SA, a service data, or a discovery signal. At least one of them.
  • the resource is at least one of a resource in the SA resource pool, a resource in the service data resource pool, and a resource in the discovery resource pool; or a resource that can be used to send at least one of the SA, the service data, and the discovery signal within a period of time; .
  • the available resource that is, the energy of the signal carried on the resource is less than the threshold m or the power is less than the threshold n; or, the resource does not carry the preset sequence.
  • the signal can be considered as a noise signal.
  • the sequence of resources is not a sequence of an LTE system, a wifi system, or other systems known to the UE, the resource is considered to be an available resource.
  • the S resources may be indicated by resource configuration information sent by the base station in the network coverage, or may be pre-configured resources outside the network coverage.
  • the UE receives resource configuration information sent by the base station.
  • the UE detects S resources within a preset time period or within a preset resource range, and determines available resources.
  • the preset time period may be at least one SL (Sidelink) period, such as an SA period, or a discovery period or a data (business data) period.
  • the preset time period and/or the preset resource range is pre-configured, or configured by a base station in a scenario with network coverage.
  • the first UE determines M resources according to the N available resources.
  • the first UE may randomly select M resources among the N available resources. Or the first UE obtains the L resources according to the N available resources, and the first UE randomly selects M among the L available resources. Resources. Alternatively, the first UE re-determines N available resources among the S resources, and the first UE randomly selects M resources among the re-determined N available resources.
  • the first UE obtains the L resources according to the N available resources, and specifically includes: the first UE, after the N available resources are calculated by using a preset rule, to obtain the L resources.
  • L resources can be obtained according to a frequency hopping formula.
  • the first UE selects M resources, and the size of the selected resource may be related to the type of the data to be sent.
  • the resource that needs to be occupied by the SA is one subframe in the time domain and one PRB in the frequency domain.
  • the resources that need to be used to send the discovery signal are one subframe in the time domain and two PRBs in the frequency domain.
  • the resources required to send service data are one subframe in the time domain and several PRBs in the frequency domain.
  • resources can be selected in a fixed granularity, and any PRB resource can be selected in the data resource pool.
  • the first UE sends data to the at least one second UE by using the M resources.
  • a second UE transmits data.
  • the data may be transmitted on the M resources, or the data may be transmitted on the M resources with a transmission probability P.
  • S is an integer greater than or equal to 1
  • N is an integer greater than or equal to 0 and less than or equal to the S
  • M is an integer greater than or equal to 0 and less than or equal to the N.
  • the first UE determines M resources according to the N available resources, including:
  • the first UE randomly selects M resources among the N available resources.
  • the method before the determining, by the first UE, the N available resources in the S resources, the method further includes:
  • the first UE acquires resource configuration information or resource pre-configuration information; the first The UE acquires resource configuration information, where the resource configuration information includes information of the S resources, where the resource configuration information is configured or pre-configured by the base station.
  • the determining, by the first UE, the N available resources among the S resources includes:
  • the first UE detects the energy or power of the signal carried on each of the S resources, and if the energy or power of the signal carried on the resource is less than the threshold a, determining that the resource is available Resource
  • the first UE detects a sequence carried on each of the S resources, and if the resource does not carry a preset sequence, determining that the resource is the available resource.
  • the method further includes:
  • the first UE re-determines N available resources among the S resources;
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the At least one of the priorities of the first UE itself determines the S resources.
  • the data sent by the first UE to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the original data is delayed by a preset time length T, or the original data is discarded, and new data is transmitted after the preset time length T.
  • the method further includes:
  • the first UE determines M resources according to the N available resources
  • the first UE determines M resources according to the N available resources or re-determines N among the S resources after the preset time length T Available resources, and M resources are determined according to the N available resources;
  • the T is according to the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, and the Determining at least one of the priorities of the first UE itself;
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and the b is an available resource preemption
  • a minimum ratio of resources is set, the C 0 is a collision number threshold, the W 0 is a collision time threshold, and the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is a positive number.
  • c is an integer greater than or equal to 0, and the w is a positive number, and the Q is related to a rule for defining a priority, which is not limited herein. For example, you can use -2, -1, 0 to indicate the priority level from high to low, or 2, 1, 0 to indicate the priority level from high to low.
  • the threshold a and the threshold b may be values preset according to experience, such as: the threshold a is 5 and the threshold b is 80%.
  • the data sent by the first UE to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the original data is delayed by a preset time length T, or the original data is discarded, and new data is transmitted after the preset time length T.
  • determining M resources according to the N available resources including:
  • the first UE randomly selects M resources among the N available resources;
  • the first UE obtains L resources according to the N available resources, and the first UE randomly selects M resources among the L available resources; or
  • the first UE re-determines N available resources among the S resources, and the first UE randomly selects M resources among the re-determined N available resources.
  • the first UE obtains the L resources according to the N available resources, specifically,
  • the first UE obtains the L resources by using the N available resources to calculate by using a preset rule.
  • the L resources are obtained after the N available resources are calculated by using a preset rule, and the L resources may be obtained by using a frequency hopping formula.
  • the sending, by the first UE, the data to the at least one second UE by using the M resources the first UE sending, on the M resources, the at least one second UE data. That is, the first UE sends the data to be transmitted on the M resources to the at least one UE.
  • the sending, by the first UE, the data to the at least one second UE by using the M resources includes:
  • the first UE determines a transmission probability P, and transmits data to the at least one second UE on the M resources by using the transmission probability P.
  • the transmission probability P is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, and the service priority of the first UE.
  • Q At least one of the priorities of the first UE itself is determined.
  • the first UE selects 10 resources among the determined available resources, and the determined transmission probability P is 0.5, the first UE sends the probability of 50% on 10 resources. From a statistical point of view, there will be an average of 1 occurrence of the discovery signal every 2 transmission opportunities.
  • the sending, by the first UE, the data to the at least one second UE by using the M resources includes:
  • the first UE sends data to the at least one second UE on the M resources;
  • the first UE determines a transmission probability P, and sends the transmission probability P to the at least one second UE on the M resources. data;
  • the P is based on the number of available resources N, the number of unavailable resources NS, the ratio of available resources N/S, the number of collisions c of the first UE, the collision time w, the service priority Q of the first UE, Determining at least one of the priorities of the first UE itself;
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c >C 0 , or the collision time w>W 0 of the first UE, or the service priority of the first UE or the priority Q>Q 0 of the UE itself;
  • the a is a resource threshold, and b is an available resource
  • the minimum proportion of the preset resources, the C 0 is a collision number threshold, the W 0 is a collision time threshold, the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is positive number.
  • the first UE may determine the preset time T and the transmission probability P according to parameters such as the number of collisions c of the first UE, the collision time w, and the like.
  • the preset duration T is 0. It should be noted that when the priority of the first UE is high, the time that the first UE waits may be 0, that is, the high priority service may perform the subsequent steps without waiting time. When the number of collisions c and/or the collision time w is greater than the corresponding threshold, the preset duration T is 0, that is, the UE that has not obtained the resource for too long may not need the waiting time.
  • T f(x); wherein, x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, and the value of the first UE ( For example, one of the priority level, the random number, the preset value, the fixed value, the c, the w, the c, and the function g(c, w) of the w, when the value of x is not At the same time, the corresponding f(x) represents a different functional relationship.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the transmission probability P is 1. It should be noted that, when the priority of the first UE is high, the first UE transmission probability is 100%. When the number of collisions c and/or the collision time w is greater than the corresponding threshold, the transmission probability is 100%, that is, the UE transmission probability that the resource is not obtained for too long is 100%.
  • P f(x); wherein x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE,
  • One of the functions c(c, w) of the c, the w, the c, and the w, the function represented by the corresponding f(x) is different when the value of x is different.
  • the correspondence between the function and the value of x can be specified or predefined in the protocol.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the S is the number of UEs in the first group corresponding to the first UE, and the N is the number of UEs that send data in the first group. ;
  • the S is the number of the neighboring UEs of the first UE
  • the N is the number of the UEs that send data in the neighboring UEs of the first UE
  • the neighboring UEs of the first UE are A UE that the first UE can communicate directly.
  • the first UE determines N available resources among the S resources, and determines M resources according to the N available resources; and finally uses the M resources to at least one Two UEs transmit data.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • each UE performs detection in a preset resource, determines available resources, and transmits data according to the determined available resources. It is possible to reduce the probability of competing for the same resource with other UEs, and to some extent reduce the conflict generated by the UE in the D2D technology due to preempting resources.
  • An embodiment of the present invention provides a method for reducing resource conflicts.
  • the execution subject is a UE. As shown in FIG. 2, the method includes the following steps:
  • the first UE acquires a preset parameter.
  • the preset parameter is configured for the base station when there is network coverage, and is pre-configured when there is no network coverage.
  • the first UE sends data to the at least one second UE by using the Z resources of the S resources according to the preset parameter.
  • the S is the quantity of resources indicated by the resource configuration information acquired by the first UE.
  • the preset parameter is at least one of a collision number c of the first UE, a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself;
  • S is an integer greater than or equal to 1
  • the Z is an integer less than or equal to the S
  • the c is an integer greater than or equal to 0, and the w is a positive number.
  • the resource is a resource of the SA, a resource of the data, and a resource of the discovery
  • the data sent to the at least one second UE is an SA, a data, and a discovery signal.
  • the resource is a resource in the SA resource pool, a resource in the data resource pool, and a resource in the discovery resource pool; or a resource that can be used to send SA, data, and discovery signals for a period of time.
  • the S resources may be indicated by resource configuration information sent by the base station.
  • the first UE receives resource configuration information sent by the base station.
  • the first UE needs to acquire at least one of its own collision number c, the collision time w of the first UE, the service priority Q of the first UE, and the priority of the UE itself.
  • the sending according to the Z resources of the S resources, the data to the at least one second UE, including:
  • the first UE randomly selects Z resources among the S resources, and sends data to the at least one second UE by using the Z resources.
  • the first UE uses S according to preset parameters.
  • the method further includes:
  • the first UE acquires resource configuration information; the resource configuration information includes information of the S resources.
  • the sending, by the first UE, the data to the at least one second UE by using the S resources according to the preset parameter includes:
  • the data sent by the first UE to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the original data is delayed by a preset time length T, or the original data is discarded, and new data is transmitted after the preset time length T.
  • the sending, by the first UE, the data to the at least one second UE by using the S resources according to the preset parameter includes:
  • the number of collisions c of the first UE is less than the threshold C 0 or the collision time w threshold W 0 of the first UE or the service priority of the first UE or the priority Q of the UE itself is less than the threshold Q 0 , Determining a preset duration T; spacing the preset duration T to randomly determine Z resources among the S resources, and transmitting data to the at least one second UE on the Z resources;
  • the number of collisions c of the first UE is not less than the threshold value C 0 or the collision time w of the first UE is not less than the threshold value W 0 or the service priority of the first UE or the priority Q of the UE itself is not less than the threshold value Q 0 And transmitting data to the at least one second UE on the Z resources.
  • the number sent by the first UE to the at least one UE According to the new data obtained after discarding the original data, or the original data.
  • the original data is delayed by a preset time length T, or the original data is discarded, and new data is transmitted after the preset time length T.
  • the sending, by the first UE, the data to the at least one second UE by using the S resources according to the preset parameter includes:
  • the first UE determines a transmission probability P according to the preset parameter, and sends data to the at least one second UE on the Z resources by using the transmission probability P.
  • the sending, by the first UE, the data to the at least one second UE by using the S resources according to the preset parameter includes:
  • the preset parameter determines a transmission probability P, and transmits data to the at least one second UE on the Z resources by using the transmission probability P.
  • the number of collisions c of the first UE is not less than the threshold value C 0 or the collision time w of the first UE is not less than the threshold value W 0 or the service priority of the first UE or the priority Q of the UE itself is not less than the threshold value Q 0 And transmitting data to the at least one second UE on the Z resources.
  • the determining the preset duration T according to the preset parameter comprises:
  • the preset duration T is zero. It should be noted that when the priority of the first UE is high, the time that the first UE waits may be 0, that is, the high priority service may perform the subsequent steps without waiting time. When the number of collisions c and/or the collision time w is greater than the corresponding threshold, the preset duration T is 0, that is, the UE that has not obtained the resource for too long may not need the waiting time.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the determining, according to the preset parameter, the sending probability P includes:
  • the transmission probability P is 1. It should be noted that, when the priority of the first UE is high, the first UE transmission probability is 100%. When the number of collisions c and/or the collision time w is greater than the corresponding threshold, the transmission probability is 100%, that is, the UE transmission probability that the resource is not obtained for too long is 100%.
  • the transmission probability P f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of c, the w, the c, and the function g(c, w) of the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the correspondence between the function and the value of x can be specified or predefined in the protocol.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the method for reducing resource conflicts when the first UE needs to transmit data, the first UE sends data to the at least one second UE by using the Z resources of the S resources according to the preset parameters;
  • the preset parameter is at least one of a collision number c of the first UE, a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • the UE determines the transmission probability or the waiting time by referring to parameters such as the number of collisions, the collision time, and the service priority.
  • the waiting time or the transmission probability of different UEs may be different to avoid competition with other UEs to some extent.
  • the same resource can effectively reduce the conflicts generated by the UE in the D2D technology due to the preemption of resources.
  • the embodiment of the invention provides a method for reducing resource conflicts. As shown in FIG. 3, the method includes the following steps:
  • the first UE determines N available resources among the S resources.
  • the S is the quantity of resources indicated by the resource configuration information acquired by the first UE.
  • the determining, by the first UE, the N available resources among the S resources includes:
  • the first UE detects the energy or power of the signal carried on each of the S resources, and determines the resource if the energy of the signal carried on the resource is less than the threshold m or the power is less than the threshold n. For the available resources.
  • the first UE detects a sequence carried on each of the S resources, and if the resource does not carry a preset sequence, determining that the resource is the available resource.
  • the energy divided by the detection time is the power.
  • the power can also be The value corresponding to a certain time, the energy must be the corresponding value for a period of time.
  • the preset duration T includes: if the collision number c of the first UE is greater than the threshold C 0 or the collision time w of the first UE is greater than the threshold W 0 , the preset duration T is 0;
  • T f(x); wherein, x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, a value customized by the first UE, One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • Determining the M resources according to the N available resources includes: the first UE randomly selecting M resources among the N available resources; or
  • the first UE re-determines N available resources among the S resources, and the first UE randomly selects M resources among the re-determined N available resources.
  • the first UE sends data to the at least one second UE on the M resources.
  • the embodiment of the invention provides a method for reducing resource conflicts. As shown in FIG. 4, the method includes the following steps:
  • the first UE determines N available resources among the S resources.
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the conflict time w of the first UE >W 0 , or the service priority of the first UE or the priority of the UE itself Q>Q 0 ;
  • the a is a resource threshold
  • the b is a minimum ratio of available resources to a preset resource
  • the C 0 is a conflict a threshold value
  • the W 0 is a collision time threshold
  • the Q 0 is a priority threshold
  • the c is an integer greater than or equal to 0
  • the w is a positive number
  • the first preset condition is the N Is greater than or equal to the threshold a, or N/S is greater than or equal to the threshold b, or the number of collisions c is greater than the threshold C 0 or the collision time w of the first UE is greater than the threshold W 0 or the service priority of
  • step 403 is performed; if the first UE does not meet the first preset condition, step 403 is performed after the preset time length T is exceeded.
  • the first UE determines M resources according to the N available resources.
  • the first UE sends data to the at least one second UE on the M resources.
  • the embodiment of the invention further provides a method for reducing resource conflicts. As shown in FIG. 5, the method includes the following steps:
  • the first UE determines N available resources among the S resources.
  • the first UE determines M resources according to the N available resources.
  • the first UE determines a transmission probability P, and sends data to the at least one second UE on the M resources by using the transmission probability P.
  • the transmission probability P is 1. It should be noted that, when the priority of the first UE is high, the first UE transmission probability is 100%. When the number of collisions c and/or the collision time w is greater than the corresponding threshold, the transmission probability is 100%, that is, the UE transmission probability that the resource is not obtained for too long is 100%.
  • P f(x); wherein x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE,
  • One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the correspondence between the function and the value of x can be specified or predefined in the protocol.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the embodiment of the invention further provides a method for reducing resource conflicts. As shown in FIG. 6, the method includes the following steps:
  • the first UE determines N available resources among the S resources.
  • the first UE determines M resources according to the N available resources.
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the conflict time w of the first UE >W 0 , or the service priority of the first UE or the priority of the UE itself Q>Q 0 ;
  • the a is a resource threshold
  • the b is a minimum ratio of available resources to a preset resource
  • the C 0 is a conflict a threshold value
  • the W 0 is a collision time threshold
  • the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is a positive number, that is, the second preset condition is the N Is greater than or equal to the threshold a, or N/S is greater than or equal to the threshold b, or the number of collisions c is greater than the threshold C 0 or the collision time w of the first UE is greater than the threshold W 0 or the service priority
  • step 604 is performed; if the first UE does not meet the second preset condition, step 604 is performed after the preset time length T is separated.
  • the first UE determines a transmission probability P, and sends data to the at least one second UE on the M resources by using the transmission probability P.
  • the embodiment of the invention further provides a method for reducing resource conflicts. As shown in FIG. 7, the method includes the following steps:
  • the preset duration T is determined according to a preset parameter, where the S is the number of resources indicated by the resource configuration information acquired by the first UE, where the preset parameter is the number of collisions of the first UE. At least one of a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself.
  • the first UE sends data to the at least one second UE on the Z resources.
  • the first UE also needs to acquire preset parameters such as the number of conflicts c and/or the conflict time w of the first UE.
  • the embodiment of the invention further provides a method for reducing resource conflicts. As shown in FIG. 8, the method includes the following steps:
  • the first UE determines a transmission probability P according to the preset parameter, and sends data to the at least one second UE on the Z resources by using the transmission probability P.
  • the first UE also needs to acquire preset parameters such as the number of collisions c and/or the conflict time w.
  • the embodiment of the invention further provides a method for reducing resource conflicts. As shown in FIG. 9, the method includes the following steps:
  • step 902 is performed; If the preset parameters of the first UE do not exceed the corresponding threshold, Z resources are randomly determined among the S resources, and data is sent to the at least one second UE on the Z resources.
  • Determining, according to the preset parameter, the preset duration T includes:
  • T f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the preset preset duration T randomly determines Z resources among the S resources, and sends data to the at least one second UE on the Z resources.
  • the first UE also needs to acquire preset parameters such as the number of collisions c and/or the conflict time w.
  • the embodiment of the invention further provides a method for reducing resource conflicts. As shown in FIG. 10, the method includes the following steps:
  • the first UE randomly determines Z resources among the S resources.
  • step 1003 is performed.
  • the first UE determines a transmission probability P according to the preset parameter, and sends data to the at least one second UE on the Z resources by using the transmission probability P.
  • the determining the sending probability P according to the preset parameter includes:
  • the transmission probability P f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of c, the w, the c, and the function g(c, w) of the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • step 1001 the first UE also needs to acquire its own number of collisions. Pre-set parameters such as c and/or conflict time w.
  • the embodiment of the present invention provides a UE 11.
  • the UE 11 includes: a determining unit 1101 and a sending unit 1102.
  • the determining unit 1101 is configured to determine N available resources among the S resources, where the S is the quantity of resources indicated by the resource configuration information acquired by the first UE.
  • the available resource that is, the energy of the signal carried on the resource is less than the threshold m or the power is less than the threshold n; or, the resource does not carry the preset sequence.
  • the signal can be considered as a noise signal.
  • the sequence of resources is not a sequence of systems known to the UE, such as an LTE system or a wifi system, the resource is considered to be an available resource.
  • the determining unit 1101 is further configured to determine M resources according to the N available resources.
  • the sending unit 1102 is configured to send data to the at least one second UE by using the M resources.
  • the determining unit 1101 is specifically configured to randomly select M resources among the N available resources.
  • the acquiring unit is configured to acquire resource configuration information or resource pre-configuration information; the resource configuration information or resource pre-configuration information includes information of the S resources.
  • the determining unit 1101 is specifically configured to separately detect energy or power of a signal carried on each of the S resources, if the energy of the signal carried on the resource is less than a threshold m or the power is less than a threshold n, Determining that the resource is the available resource;
  • the determining unit 1101 is specifically configured to: after determining the available resources of the N available resources in the S resources, after the preset duration T, determine the M resources according to the N available resources. Or, after the preset duration T is separated, N available resources are determined in the S resources.
  • the determining unit 1101 is specifically configured to: after determining the N available resources in the S resources, determine whether the first UE meets the first preset condition;
  • the M resources are determined according to the N available resources after the preset time length T;
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the conflict time w of the first UE >W 0 , or the service priority of the first UE or the priority of the UE itself Q>Q 0 ;
  • the a is a resource threshold
  • the b is a minimum ratio of available resources to a preset resource
  • the C 0 is a conflict
  • the number of times threshold, the W 0 is a collision time threshold
  • the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is a positive number.
  • determining M resources according to the N available resources including: randomly selecting M resources among the N available resources.
  • the determining unit obtains the L resources according to the N available resources, and specifically includes: obtaining the L resources by using the N available resources by using a preset rule.
  • the data sent by the sending unit 1102 to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the preset duration T can be determined in the following ways:
  • the preset duration T is 0;
  • T f(x); wherein, x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, a value customized by the first UE, One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the sending unit 1102 is specifically configured to send data to the at least one second UE on the M resources.
  • the determining unit 1101 is further configured to determine a transmission probability P.
  • the sending unit 1102 is specifically configured to send data to the at least one second UE on the M resources by using the sending probability P.
  • the UE further includes a determining unit.
  • the determining unit is configured to determine whether the first UE meets a second preset condition.
  • the sending unit sends data to the at least one second UE on the M resources.
  • the determining unit 1101 determines a transmission probability P, and the sending unit 1102 uses the sending probability P on the M resources. Sending a number to the at least one second UE.
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the conflict time w of the first UE >W 0 , or the service priority of the first UE or the priority of the UE itself Q>Q 0 ;
  • the a is a resource threshold
  • the b is a minimum ratio of available resources to a preset resource
  • the C 0 is a conflict
  • the number of times threshold, the W 0 is a collision time threshold
  • the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is a positive number.
  • the transmission probability P can be determined in the following way:
  • the transmission probability P is 1;
  • P f(x); wherein x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE,
  • One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the correspondence between the function and the value of x can be specified or predefined in the protocol.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the S is the number of UEs in the first group corresponding to the first UE
  • the N is the number of UEs that send data in the first group
  • the S is the number of the neighboring UEs of the first UE
  • the N is the number of the UEs that send data in the neighboring UEs of the first UE
  • the neighboring UEs of the first UE are A UE that the first UE can communicate directly.
  • the resource is at least one of a resource that allocates an SA, or a resource of a service data or a discovery resource
  • the data that is sent to the at least one second UE is at least one of an SA, a service data, or a discovery signal.
  • the resource is at least one of a resource in the SA resource pool, a resource in the service data resource pool, and a resource in the discovery resource pool; or a resource that can be used to send at least one of SA, service data, or discovery signal within a period of time; .
  • the UE provided by the embodiment of the present invention determines N available resources among the S resources, and determines M resources according to the N available resources. Finally, the M resources are used to send data to the at least one second UE.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • Each UE performs detection in a preset resource, determines available resources, and then transmits data according to the determined available resources, thereby reducing the probability of competing for the same resource with other UEs. To some extent, reducing the D2D technology, the transmitting UE is preempted. Conflicts arising from resources.
  • the embodiment of the present invention provides a UE 12.
  • the UE 12 includes an obtaining unit 1201 and a sending unit 1202.
  • the obtaining unit 1201 is configured to acquire a preset parameter.
  • the sending unit 1202 is configured to send data to the at least one second UE by using the Z resources of the S resources according to the preset parameter, where the S is the quantity of resources indicated by the resource configuration information acquired by the first UE.
  • the preset parameter is at least one of a collision number c of the first UE, a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself.
  • the acquiring unit 1201 is configured to acquire resource configuration information, where the resource configuration information includes information about the S resources, and the resource configuration information is configured or pre-configured by the base station.
  • the UE 12 further includes a determining unit 1203.
  • the determining unit 1203 is configured to determine, according to the preset parameter, a preset duration T; and after the preset duration T, the Z resources are randomly determined among the S resources;
  • the sending unit 1202 is configured to send data to the at least one second UE on the Z resources.
  • the data sent by the first UE to the at least one second UE on the Z resources is new data acquired after discarding the original data, or is the original data.
  • the UE 12 further includes a determining unit 1204.
  • the determining unit 1204 is configured to determine whether the number of collisions c of the first UE is less than a threshold C 0 or whether the collision time w of the first UE is less than a threshold value W 0 or a service priority of the first UE or the UE itself. Whether the priority Q is smaller than the threshold Q 0 .
  • the determining unit 1203 is configured to: if the collision number c of the first UE is less than the threshold C 0 or the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the priority of the UE itself If the Q is smaller than the threshold Q 0 , the preset duration T is determined according to the preset parameter; and the preset duration T is randomly determined among the S resources.
  • the sending unit 1202 is configured to send data to the at least one second UE on the Z resources.
  • the sending unit 1202 is further configured to: if the collision number c of the first UE is not less than the threshold C 0 or the collision time w of the first UE is not less than the threshold W 0 or the service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and data is transmitted to the at least one second UE on the Z resources.
  • Determining, according to the preset parameter, the preset duration T includes:
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the determining unit 1203 is configured to determine a sending probability P according to the preset parameter
  • the sending unit 1202 is configured to send data to the at least one second UE on the Z resources by using the sending probability P.
  • the determining unit 1203 is configured to randomly determine Z resources among the S resources.
  • the determining unit 1204 is configured to determine whether the number of collisions c of the first UE is less than a threshold C 0 or whether the collision time w of the first UE is less than a threshold value W 0 or a service priority of the first UE or the UE itself. Whether the priority Q is smaller than the threshold Q 0 .
  • the determining unit 1203 is configured to: if the collision number c of the first UE is less than the threshold C 0 or the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the priority of the UE itself When Q is smaller than the threshold Q 0 , the transmission probability P is determined according to the preset parameter.
  • the sending unit 1202 is configured to send data to the at least one second UE on the Z resources by using the sending probability P.
  • the sending unit is further configured to: if the collision number c of the first UE is not less than the threshold C 0 or the collision time w of the first UE is not less than the threshold W 0 or the service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and the data is sent to the at least one second UE on the Z resources.
  • the determining, according to the preset parameter, the sending probability P includes:
  • the transmission probability P f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of c, the w, the c, and the function g(c, w) of the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the first UE sends data to the at least one second UE by using the Z resources of the S resources according to the preset parameter, where the preset parameter is the number of collisions of the first UE.
  • the preset parameter is the number of collisions of the first UE.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • the UE determines the transmission probability or the waiting time by using parameters such as the number of collisions, the collision time, and the service priority.
  • the waiting time or the transmission probability of different UEs is different, so that the same resource can be avoided to compete with other UEs to a certain extent.
  • the UE In the D2D reduction mode, the UE generates a collision caused by preempting resources.
  • the embodiment of the present invention provides a UE.
  • the UE includes: a processor 1301, a system bus 1302, a transmitter 1303, and a memory 1304.
  • the processor 1301 may be a central processing unit (English: central processing unit, abbreviation: CPU).
  • the memory 1304 is configured to store the program code and transmit the program code to the processor 1301.
  • the processor 1301 executes the following instructions according to the program code.
  • the memory 1304 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 1304 may also include a non-volatile memory (English: non-volatile memory) ), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English: solid-state Drive, abbreviation: SSD).
  • Memory 1304 can also include a combination of the above types of memory.
  • the processor 1301, the memory 1304, and the transmitter 1303 are connected by the system bus 1302 and complete communication with each other.
  • Transmitter 1303 can be implemented by an optical transceiver, an electrical transceiver, a wireless transceiver, or any combination thereof.
  • the optical transceiver can be a small form-factor pluggable transceiver (sFP) transceiver (English: transceiver), and the enhanced small form-factor pluggable (English: enhanced small form-factor pluggable, Abbreviation: SFP+) Transceiver or 10 Gigabit small form-factor pluggable (XFP) transceiver.
  • the electrical transceiver can be an Ethernet (Ethernet) network interface controller (English: network interface controller, abbreviation: NIC).
  • the wireless transceiver can be a wireless network interface controller (English: wireless network interface controller, abbreviation: WNIC).
  • the UE may have multiple transmitters 1303.
  • the processor 1301 is configured to determine N available resources among the S resources; the S is a quantity of resources indicated by the resource configuration information acquired by the first UE; and M resources are determined according to the N available resources.
  • the available resource that is, the energy of the signal carried on the resource is less than the threshold m or the power is less than the threshold n; or, the resource does not carry the preset sequence.
  • the signal can be considered as a noise signal.
  • the sequence of resources is not a sequence of systems known to the UE, such as an LTE system or a wifi system, the resource is considered to be an available resource.
  • a transmitter 1303, configured to send, by using the M resources, to at least one second UE data.
  • the processor 1301 is specifically configured to randomly select M resources among the N available resources.
  • the processor 1301 is configured to acquire resource configuration information or resource pre-configuration information; the resource configuration information or resource pre-configuration information includes information of the S resources.
  • the processor 1301 is specifically configured to separately detect energy or power of a signal carried on each of the S resources, if the energy of the signal carried on the resource is less than a threshold m or the power is less than a threshold n, Determining that the resource is the available resource;
  • the processor 1301 is specifically configured to: after determining the available resources of the N idle resources in the S resources, after the preset duration T, determine the M resources according to the N available resources. Or, after the preset duration T is separated, N available resources are determined in the S resources.
  • the processor 1301 is specifically configured to: after determining the N available resources in the S resources, determine whether the first UE meets the first preset condition;
  • the M resources are determined according to the N available resources after the preset time length T;
  • the first preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the conflict time w of the first UE >W 0 , or the service priority of the first UE or the priority of the UE itself Q>Q 0 ;
  • the a is a resource threshold
  • the b is a minimum ratio of available resources to a preset resource
  • the C 0 is a conflict
  • the number of times threshold, the W 0 is a collision time threshold
  • the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is a positive number.
  • determining M resources according to the N available resources including: randomly selecting M resources among the N available resources; or
  • the processor 1301 obtains the L resources according to the N available resources, and specifically includes: obtaining the L resources by using the N available resources by using a preset rule.
  • the data sent by the transmitter 1303 to the at least one UE is new data obtained after discarding the original data, or is the original data.
  • the preset duration T can be determined by: if the collision number c of the first UE is greater than the threshold C 0 or the collision time w of the first UE is greater than the threshold W 0 , or the service priority of the first UE or the UE itself The priority Q is greater than the threshold Q 0 , and the preset duration T is 0;
  • T f(x); wherein, x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, a value customized by the first UE, One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the processor 1301 is specifically configured to send data to the at least one second UE on the M resources.
  • the processor 1301 is further configured to determine a transmission probability P;
  • the transmitter 1303 is specifically configured to send data to the at least one second UE on the M resources by using the transmission probability P.
  • the processor 1301 is configured to determine whether the first UE meets a second preset condition
  • processor 1301 determines that the first UE meets the second preset condition, Sending, by the sending unit, data to the at least one second UE on the M resources;
  • the processor 1301 determines a transmission probability P, and the transmitter 1303 uses the transmission probability P in the M resources. Transmitting data to the at least one second UE. For example, if the first UE selects 10 resources among the determined available resources, and the determined transmission probability P is 0.5, the first UE sends the probability of 50% on 10 resources. From a statistical point of view, there will be an average of 1 occurrence of the discovery signal every 2 transmission opportunities.
  • the second preset condition is: N ⁇ a, or N/S ⁇ b, or Q ⁇ Q 0 ; or the number of collisions of the first UE c>C 0 , or the conflict time w of the first UE >W 0 , or the service priority of the first UE or the priority of the UE itself Q>Q 0 ;
  • the a is a resource threshold
  • the b is a minimum ratio of available resources to a preset resource
  • the C 0 is a conflict
  • the number of times threshold, the W 0 is a collision time threshold
  • the Q 0 is a priority threshold;
  • the c is an integer greater than or equal to 0, and the w is a positive number.
  • the transmission probability P may be determined by: if the collision number c of the first UE is greater than the threshold C 0 or the collision time w of the first UE is greater than the threshold W 0 , or the service priority of the first UE or the UE itself The priority Q is greater than the threshold Q 0 , and the transmission probability P is 1;
  • P f(x); wherein x is N, NS, N/S, the service priority Q of the first UE, the priority of the UE itself, the value of the first UE, One of the functions c(c, w) of the c, the w, the c, and the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the S is the number of UEs in the first group corresponding to the first UE
  • the N is the number of UEs that send data in the first group
  • the S is the number of the neighboring UEs of the first UE
  • the N is the number of the UEs that send data in the neighboring UEs of the first UE
  • the neighboring UEs of the first UE are A UE that the first UE can communicate directly.
  • the resource is a resource for assigning an SA, or a resource for service data, or At least one of the discovery resources, the data sent to the at least one second UE is at least one of an SA, a service data, or a discovery signal.
  • the resource is at least one of a resource in the SA resource pool, a resource in the service data resource pool, and a resource in the discovery resource pool; or may be used to send at least one of SA, service data, or discovery signal for a period of time. Resources.
  • the UE provided by the embodiment of the present invention determines N available resources among the S resources, and determines M resources according to the N available resources. Finally, the M resources are used to send data to the at least one second UE.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • Each UE performs detection in a preset resource, determines available resources, and then transmits data according to the determined available resources, thereby reducing the probability of competing for the same resource with other UEs. To some extent, reducing the D2D technology, the transmitting UE is preempted. Conflicts arising from resources.
  • the embodiment of the present invention provides a UE 14.
  • the UE 14 includes a processor 1401, a system bus 1402, a transmitter 1403, and a memory 1404.
  • the processor 1401 can be a central processing unit (English: central processing unit, abbreviation: CPU).
  • the memory 1404 is configured to store the program code and transmit the program code to the processor 1401.
  • the processor 1401 executes the following instructions according to the program code.
  • the memory 1404 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 1404 may also include a non-volatile memory (English: non-volatile memory) ), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English: solid-state Drive, abbreviation: SSD).
  • Memory 1404 can also include a combination of the above types of memory.
  • the processor 1401, the memory 1404, and the transmitter 1403 are connected by the system bus 1402 and complete communication with each other.
  • the transmitter 1403 can be an optical transceiver, an electrical transceiver, a wireless transceiver, or any of its Combined implementation.
  • the optical transceiver can be a small form-factor pluggable transceiver (sFP) transceiver (English: transceiver), and the enhanced small form-factor pluggable (English: enhanced small form-factor pluggable, Abbreviation: SFP+) Transceiver or 10 Gigabit small form-factor pluggable (XFP) transceiver.
  • the electrical transceiver can be an Ethernet (Ethernet) network interface controller (English: network interface controller, abbreviation: NIC).
  • the wireless transceiver can be a wireless network interface controller (English: wireless network interface controller, abbreviation: WNIC).
  • the STA may have multiple transmitters 1403.
  • the processor 1401 is configured to acquire preset parameters.
  • the sender 1403 is configured to send data to the at least one second UE by using the Z resources of the S resources according to the preset parameter; the S is a quantity of resources indicated by the resource configuration information acquired by the first UE;
  • the preset parameter is at least one of a collision number c of the first UE, a collision time w of the first UE, a service priority Q of the first UE, and a priority of the UE itself.
  • the processor 1401 is configured to randomly select Z resources among the S resources;
  • the transmitter 1401 is configured to send data to the at least one second UE by using the Z resources.
  • the processor 1401 is configured to acquire resource configuration information, where the resource configuration information includes information about the S resources.
  • the processor 1401 is configured to determine, according to the preset parameter, a preset duration T; and after the preset duration T, the Z resources are randomly determined among the S resources;
  • the transmitter 1403 is configured to send data to the at least one second UE on the Z resources.
  • the data sent by the sending unit 1403 to the at least one second UE on the Z resources is new data acquired after discarding the original data, or is the original data.
  • the processor 1401 is configured to determine whether the number of collisions c of the first UE is less than the threshold C 0 or whether the collision time w of the first UE is less than the threshold W 0 or the service priority of the first UE or the UE itself. Whether the priority Q is smaller than the threshold Q 0 ;
  • the processor 1401 is configured to: if the collision number c of the first UE is less than a threshold C 0 or the collision time w of the first UE is less than a threshold W 0 or a service priority of the first UE or a priority of the UE itself If the Q is smaller than the threshold Q 0 , the processor 1401 determines a preset duration T according to the preset parameter; the transmitter 1403 randomly determines Z resources among the S resources by the preset duration T; the transmitter 1403 And transmitting, to the at least one second UE, data on the Z resources.
  • the transmitter 1403 is further configured to: if the collision number c of the first UE is not less than a threshold C 0 or the collision time w of the first UE is not less than a threshold value W 0 or a service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and data is transmitted to the at least one second UE on the Z resources.
  • the determining the preset duration T according to the preset parameter includes:
  • the invention includes, but is not limited to, the following functional relationships:
  • the parameters in the function are: a, b, N t are predefined parameters.
  • the processor 1401 is configured to determine a transmission probability P according to the preset parameter
  • the transmitter 1401 is configured to send data to the at least one second UE on the Z resources by using the transmission probability P. For example, if the first UE selects 10 resources among the determined available resources, and the determined transmission probability P is 0.5, then The first UE is sent with a probability of 50% on 10 resources. From a statistical point of view, there will be an average of 1 transmission of the discovery signal every 2 transmission opportunities.
  • the processor 1401 is configured to randomly determine Z resources among the S resources.
  • the processor 1401 is configured to determine whether the number of collisions c of the first UE is less than a threshold C 0 or whether the collision time w of the first UE is less than a threshold value W 0 or a service priority of the first UE or the UE itself. Whether the priority Q is smaller than the threshold Q 0 .
  • the processor 1401 is configured to: if the collision number c of the first UE is less than a threshold C 0 or the collision time w of the first UE is less than a threshold W 0 or a service priority of the first UE or a priority of the UE itself When Q is smaller than the threshold Q 0 , the transmission probability P is determined according to the preset parameter.
  • the transmitter 1403 is configured to send data to the at least one second UE on the Z resources by using the transmission probability P.
  • the transmitter 1403 is further configured to: if the collision number c of the first UE is not less than a threshold C 0 or the collision time w of the first UE is not less than a threshold value W 0 or a service priority of the first UE or the UE itself
  • the priority Q is not less than the threshold Q 0 , and data is transmitted to the at least one second UE on the Z resources.
  • the determining, according to the preset parameter, the sending probability P includes:
  • the transmission probability P f(x); wherein the x is N, NS, N/S, the service priority Q of the first UE, the first UE customized value, One of c, the w, the c, and the function g(c, w) of the w, when f is different, the corresponding f(x) represents a different functional relationship.
  • the first UE sends data to the at least one second UE by using the Z resources of the S resources according to the preset parameter, where the preset parameter is the number of collisions of the first UE.
  • the preset parameter is the number of collisions of the first UE.
  • the UE randomly selects resource transmission data in a preset resource pool, and different UEs will preempt the same resource and cause conflicts.
  • the UE determines the transmission probability or the waiting time by referring to its own number of collisions, collision time, and service priority. Different UEs correspond to each other. The waiting time or the transmission probability is different, and the same resource can be avoided to compete with other UEs to a certain extent, which can effectively reduce the conflict caused by the UE in the D2D technology.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种减少资源冲突的方法及UE,涉及通信领域,用于UE资源竞争,能够有效减少D2D技术中,发送UE因抢占资源产生的冲突。包括:第一UE在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;所述第一UE根据所述N个可用资源确定M个资源;所述第一UE使用所述M个资源向至少一个第二UE发送数据。

Description

一种减少资源冲突的方法及UE 技术领域
本发明涉及通信领域,尤其涉及一种减少资源冲突的方法及UE(User Equipment,用户设备)。
背景技术
随着无线通信的飞速发展,衍生了超大速率业务,如:高清视频。由于超大速率业务的产生,无线通信网络的负载也越来越重。如何减轻网络的负载,成为一个研究热点。设备到设备(Device to Device,D2D)技术应运而生。在这种设备直连通信模式中,终端和终端之间可以直接通信,而不需要经过基站转发,分担了基站的数据负载。D2D通信能够更好地利用频谱资源,提高频谱利用率及数据速率,同时又减轻了基站的负担。
D2D技术中,考虑到基站的抗干扰能力较强,复用LTE-A(Long Term Evolution-Advanced,高级长期演进)系统的上行频谱资源。D2D设备通信的资源分配现在有两种模式,一种是基于基站调试的方式,另一种是基于竞争的方式,即需要发送数据或信令的UE通过竞争的方式从资源池中获得用于发送的时频资源。
在基于竞争方式资源分配的现有机制中,UE在资源池(即预配置或基站配置的用于D2D的资源)中随机选择一部分资源,然后基于预配置或基站配置的概率P在随机选择的资源上发送发现信号。示例的,UE1在资源池中随机选择2个PRB(Physical Resource Block,物理资源块),基站预先配置的概率P为0.5,则UE1在这2个PRB上以50%的概率发送,从统计概率上看每2次发送机会中会有平均1次实际发送了发现信号。
基于基站预先配置的概率发送数据(或信令),极有可能最终选择的资源仍是被占用的,仍会造成产生冲突,不能有效减少D2D技术中,发送UE(即需发送数据的UE)抢占资源产生冲突。
发明内容
本发明的实施例提供一种减少资源冲突的方法及UE,能够有效减少D2D技术中,发送UE因抢占资源产生的冲突。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,公开了一种减少资源冲突的方法,包括:
第一UE在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;
所述第一UE根据所述N个可用资源确定M个资源;
所述第一UE使用所述M个资源向至少一个第二UE发送数据;
其中,所述S为大于等于1的整数,所述N为大于等于0小于等于所述S的整数,所述M为大于等于0小于等于所述N的整数。
结合第一方面,在第一方面的第一种可能的实现方式中,
所述第一UE根据所述N个可用资源确定M个资源,包括:
所述第一UE在所述N个可用资源中随机选择M个资源。
结合第一方面,在第一方面的第二种可能的实现方式中,
所述第一UE在所述S个资源中确定N个可用资源之前,所述方法还包括:
所述第一UE获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
结合第一方面,在第一方面的第三种可能的实现方式中,
所述第一UE在S个资源中确定N个可用资源包括:
所述第一UE检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;所述m、所述n为正数;
或,所述第一UE分别检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
结合第一方面,在第一方面的第四种可能的实现方式中,
所述第一UE在S个资源中确定N个可用资源之后,所述方法还包括:
所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源;
或者,所述第一UE间隔所述预设时长T后,所述第一UE重新在所述S个资源中确定N个可用资源;
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述c为大于等于0的整数,所述w为正数。
结合第一方面,在第一方面的第五种可能的实现方式中,
所述第一UE在S个资源中确定N个可用资源之后,所述方法还包括:
判断所述第一UE是否满足第一预设条件;
若所述第一UE满足所述第一预设条件,则所述第一UE根据所述N个可用资源确定M个资源;
若所述第一UE不满足所述第一预设条件,则间隔预设时长T后所述第一UE根据所述N个可用资源确定M个资源或重新在所述S个资源中确定N个可用资源,根据所述N个可用资源确定M个资源;
其中,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
结合第一方面的第四种或第五种可能的实现方式,在第一方面的第六种可能的实现方式中,
所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:
所述第一UE在所述N个可用资源中随机选择M个资源;或者,
所述第一UE根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源。
结合第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,
所述第一UE根据所述N个可用资源得到所述L个资源,具体包括,
所述第一UE将所述N个可用资源通过预设规则运算后得到所述L个资源。
结合第一方面的第四或第五种可能的实现方式,在第一方面的第八种可能的实现方式中,
所述第一UE向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
结合第一方面的第四或第五种可能的实现方式,在第一方面的第九种可能的实现方式中,
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T=0;或,所述预设时长T=f(x);
其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代 表的函数也不同。
结合第一方面,在第一方面的第十种可能的实现方式中,
所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:
所述第一UE确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
其中,所述发送概率P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的。
结合第一方面,在第一方面的第十一种可能的实现方式中,
所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:
判断所述第一UE是否满足第二预设条件;
若所述第一UE满足所述第二预设条件,所述第一UE则在所述M个资源上向所述至少一个第二UE发送数据;
若所述第一UE不满足所述第二预设条件,所述第一UE则确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
其中,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
结合第一方面,在第一方面的第十二种可能的实现方式中,
所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P=1,或者,发送概率P=f(x);
其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第一方面,在第一方面的第十三种可能的实现方式中,
所述S对应第一群组中的UE的数目,且所述N对应所述第一群组中发送数据的UE的数目,
或,所述S对应所述第一UE的邻居UE的数目,且所述N对应所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
结合第一方面,在第一方面的第十四种可能的实现方式中,
所述资源为调度指派SA的资源、或业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
结合第一方面,在第一方面的第十五种可能的实现方式中,
所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
第二方面,公开了一种减少资源冲突的方法,包括:
第一UE获取预设参数;
所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配 置信息指示的资源数量;
其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个;所述S为大于等于1的整数,所述Z为小于等于所述S的整数,所述c为大于等于0的整数,所述w为正数。
结合第二方面,在第二方面的第一种可能的实现方式中,
所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据之前,所述方法还包括:
所述第一UE获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
结合第二方面,在第二方面的第二种可能的实现方式中,
所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
所述第一UE根据所述预设参数确定预设时长T;
所述第一UE间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
在所述Z个资源上向所述至少一个第二UE发送数据。
结合第二方面,在第二方面的第三种可能的实现方式中,
所述第一UE在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
所述第一UE根据所述预设参数确定预设时长T;
所述第一UE间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
在所述Z个资源上向所述至少一个第二UE发送数据。
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,
所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;
间隔所述预设时长T在所述S个资源中随机确定Z个资源,在所述Z个资源上向所述至少一个第二UE发送数据;
若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
结合第二方面,在第二方面的第五种可能的实现方式中,
所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
所述第一UE在所述S个资源中随机确定Z个资源;
所述第一UE根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
结合第二方面,在第二方面的第六种可能的实现方式中,
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第二方面,在第二方面的第七种可能的实现方式中,
所述第一UE依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
所述第一UE在所述S个资源中随机确定Z个资源;
判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据;
若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
结合第二方面,在第二方面的第八种可能的实现方式中,
所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
第三方面,公开了一种UE,包括:
确定单元,用于在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;
所述确定单元还用于,根据所述N个可用资源确定M个资源;
发送单元,用于使用所述M个资源向至少一个第二UE发送数据;
其中,所述S为大于等于1的整数,所述N为大于等于0小于等于所述S的整数,所述M为大于等于0小于等于所述N的整数。
结合第三方面,在第三方面的第一种可能的实现方式中,
所述确定单元具体用于,在所述N个可用资源中随机选择M个资源。
结合第三方面,在第三方面的第二种可能的实现方式中,
还包括获取单元,
所述获取单元用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
结合第三方面,在第三方面的第三种可能的实现方式中,
所述确定单元具体用于,检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;所述m、所述n为正数;
或,检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
结合第三方面,在第三方面的第四种可能的实现方式中,
所述确定单元具体用于,在S个资源中确定N个可用资源之后,间隔预设时长T后,根据所述N个可用资源确定M个资源;
或者,所述第一UE间隔所述预设时长T后,所述第一UE重新在所述S个资源中确定N个可用资源;
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述c为大于等于0的整数,所述w为正数。
结合第三方面,在第三方面的第五种可能的实现方式中,
所述确定单元具体用于,在S个资源中确定N个可用资源之后,判断所述第一UE是否满足第一预设条件;
若所述第一UE满足所述第一预设条件,则根据所述N个第一时频资源确定M个资源;
若所述第一UE不满足所述第一预设条件,则间隔预设时长T 后根据所述N个可用资源确定M个资源;
其中,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
结合第三方面,在第三方面的第六种可能的实现方式中,
所述确定单元间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:在所述N个可用资源中随机选择M个资源;或者,
根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源。
结合第三方面,在第三方面的第七种可能的实现方式中,
所述确定单元根据所述N个可用资源得到L个资源具体包括,将所述N个可用资源通过预设规则运算后得到所述L个资源。
结合第三方面,在第三方面的第八种可能的实现方式中,
所述发送单元向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
结合第三方面,在第三方面的第九种可能的实现方式中,
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T=0;或,所述预设时长T=f(x);
其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第三方面,在第三方面的第十种可能的实现方式中,
所述确定单元还用于,确定发送概率P;
所述发送单元具体用于,以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据其中,所述发送概率P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的。
结合第三方面,在第三方面的第十一种可能的实现方式中,
还包括判断单元,
所述判断单元用于,判断所述第一UE是否满足第二预设条件;
若所述判断单元判断所述第一UE满足所述第二预设条件,所述发送单元则在所述M个资源上向所述至少一个第二UE发送数据;
若所述判断单元判断所述第一UE不满足所述第二预设条件,所述确定单元则确定发送概率P,所述发送单元以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
其中,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
结合第三方面,在第三方面的第十二种可能的实现方式中,
所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P=1,或者,发送概率P=f(x);
其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第三方面,在第三方面的第十三种可能的实现方式中,
所述S对应所述第一UE对应的第一群组中的UE的数目,且所述N对应所述第一群组中发送数据的UE的数目,
或,所述S对应所述第一UE的邻居UE的数目,且所述N对应所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
结合第三方面,在第三方面的第十四种可能的实现方式中,
所述资源为调度指派SA的资源、或业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
结合第三方面,在第三方面的第十五种可能的实现方式中,
所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
第四方面,公开了一种UE,包括:
获取单元,用于获取预设参数;
发送单元,用于根据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置 信息指示的资源数量;
其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。
结合第四方面,在第四方面的第一种可能的实现方式中,
还包括获取单元,
所述获取单元用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
结合第四方面,在第四方面的第二种可能的实现方式中,
还包括确定单元,
所述确定单元用于,根据所述预设参数确定预设时长T;间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
所述发送单元用于,在所述Z个资源上向所述至少一个第二UE发送数据。
结合第四方面,在第四方面的第三种可能的实现方式中,
所述第一UE在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
结合第四方面,在第四方面的第四种可能的实现方式中,
还包括判断单元,
所述判断单元用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
确定单元用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;间隔所述预设时长T在所述S个资源中随机确定Z个资源;
所述发送单元用于,在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送单元还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
结合第四方面,在第四方面的第五种可能的实现方式中,
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第四方面,在第四方面的第六种可能的实现方式中,
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第四方面,在第四方面的第七种可能的实现方式中,
还包括判断单元,
确定单元用于,在所述S个资源中随机确定Z个资源;
所述判断单元用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述确定单元用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率 P;
所述发送单元用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送单元还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
结合第四方面,在第四方面的第八种可能的实现方式中,
所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
第五方面,公开了一种UE,包括:
处理器,用于在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;根据所述N个可用资源确定M个资源;
发送器,用于使用所述M个资源向至少一个第二UE发送数据;
其中,所述S为大于等于1的整数,所述N为大于等于0小于等于所述S的整数,所述M为大于等于0小于等于所述N的整数。
结合第五方面,在第五方面的第一种可能的实现方式中,
所述处理器具体用于,在所述N个可用资源中随机选择M个资源。
结合第五方面,在第五方面的第二种可能的实现方式中,
所述处理器用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
结合第五方面,在第五方面的第三种可能的实现方式中,
所述处理器具体用于,检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;所述m、所述n为正数;
或,检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
结合第五方面,在第五方面的第四种可能的实现方式中,
所述处理器具体用于,在S个资源中确定N个可用资源之后,间隔预设时长T后,根据所述N个可用资源确定M个资源;
或者,所述第一UE间隔所述预设时长T后,所述第一UE重新在所述S个资源中确定N个可用资源;
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述c为大于等于0的整数,所述w为正数。
结合第五方面,在第五方面的第五种可能的实现方式中,
所述处理器具体用于,在S个资源中确定N个可用资源之后,判断所述第一UE是否满足第一预设条件;
若所述第一UE满足所述第一预设条件,则根据所述N个第一时频资源确定M个资源;
若所述第一UE不满足所述第一预设条件,则间隔预设时长T后根据所述N个可用资源确定M个资源;
其中,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所 述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
结合第五方面,在第五方面的第六种可能的实现方式中,
所述处理器间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:在所述N个可用资源中随机选择M个资源;或者,
根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源。
结合第五方面,在第五方面的第七种可能的实现方式中,
所述处理器根据所述N个可用资源得到L个资源具体包括,将所述N个可用资源通过预设规则运算后得到所述L个资源。
结合第五方面,在第五方面的第八种可能的实现方式中,
所述发送器向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
结合第五方面,在第五方面的第九种可能的实现方式中,
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T=0;或,所述预设时长T=f(x);
其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第五方面,在第五方面的第十种可能的实现方式中,
所述处理器还用于,确定发送概率P;
所述发送器具体用于,以所述发送概率P在所述M个资源上向 所述至少一个第二UE发送数据其中,所述发送概率P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的。
结合第五方面,在第五方面的第十一种可能的实现方式中,
所述处理器用于,判断所述第一UE是否满足第二预设条件;
若所述处理器判断所述第一UE满足所述第二预设条件,所述发送器则在所述M个资源上向所述至少一个第二UE发送数据;
若所述处理器判断所述第一UE不满足所述第二预设条件,所述确定单元则确定发送概率P,所述发送器以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
其中,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
结合第五方面,在第五方面的第十二种可能的实现方式中,
所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P=1,或者,发送概率P=f(x);
其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、 UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第五方面,在第五方面的第十三种可能的实现方式中,
所述S对应所述第一UE对应的第一群组中的UE的数目,且所述N对应所述第一群组中发送数据的UE的数目,
或,所述S对应所述第一UE的邻居UE的数目,且所述N对应所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
结合第五方面,在第五方面的第十四种可能的实现方式中,
所述资源为调度指派SA的资源、或业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
结合第五方面,在第五方面的第十五种可能的实现方式中,
所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
第六方面,公开了一种UE,包括:
处理器,用于获取预设参数;
发送器,用于根据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置信息指示的资源数量;
其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个;所述S为大于等于1的整数,所述Z为小于等于所述S的整数,所述c大于等于0的整数,所述w为正数。
结合第六方面,在第六方面的第一种可能的实现方式中,
所述处理器用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置 的。
结合第六方面,在第六方面的第二种可能的实现方式中,
所述处理器用于,根据所述预设参数确定预设时长T;间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
所述发送器用于,在所述Z个资源上向所述至少一个第二UE发送数据。
结合第六方面,在第六方面的第三种可能的实现方式中,
所述第一UE在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
结合第六方面,在第六方面的第四种可能的实现方式中,
所述处理器用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述第二处理器用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;间隔所述预设时长T在所述S个资源中随机确定Z个资源。所述发送器用于,在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送器还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
结合第六方面,在第六方面的第五种可能的实现方式中,
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、 所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第六方面,在第六方面的第六种可能的实现方式中,
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
结合第六方面,在第六方面的第七种可能的实现方式中,
所述处理器用于,在所述S个资源中随机确定Z个资源;判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述处理器用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P;所述发送器用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据;
若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
结合第六方面,在第六方面的第八种可能的实现方式中,
所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、 所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
本发明实施例提供的减少资源冲突的方法及UE,第一UE在S个资源中确定N个可用资源,并根据所述N个可用资源确定M个资源;最后使用所述M个资源向至少一个第二UE发送数据。或者,第一UE依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。本发明提供的方法,每个UE在预设资源中进行检测,确定可用资源,再根据确定的可用资源传输数据,或者UE参考自身的冲突次数、冲突时间、业务优先级等参数决定发送概率或等待时间,不同UE对应的等待时间或发送概率不同,可以降低与其他UE竞争同一个资源的概率,在一定程度上减少D2D技术中,发送UE因抢占资源产生的冲突。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例1提供的减少资源冲突的方法的流程示意图;
图2为本发明实施例2提供的减少资源冲突的方法的流程示意图;
图3为本发明实施例3提供的减少资源冲突的方法的流程示意图;
图4为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图5为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图6为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图7为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图8为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图9为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图10为本发明实施例3提供的另一减少资源冲突的方法的流程示意图;
图11为本发明实施例4提供的UE的结构框图;
图12为本发明实施例5提供的UE的结构框图;
图12a为本发明实施例5提供的UE的另一结构框图;
图12b为本发明实施例5提供的UE的另一结构框图;
图13为本发明实施例6提供的UE的结构框图;
图14为本发明实施例7提供的UE的结构框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在D2D通信模式中,设备直连通信,终端和终端之间可以直接通信,而不需要经过基站转发,能够分担基站的数据负载,更好地利用频谱资源,提高频谱利用率及数据速率。D2D技术中,考虑到 基站的抗干扰能力较强,使得各个UE复用LTE-A(Long Term Evolution-Advanced,高级长期演进)系统的上行频谱资源。
目前,D2D资源分配机制中有一种基于竞争的方式为:需要发送数据或信令的UE需要通过竞争的方式从资源池中获得用于发送的时频资源。
D2D通信分为D2D设备发现和D2D设备通信两种。其中,D2D设备发现UE只发送发现信号,D2D设备通信UE发送控制信令和数据。
从发送UE(发送控制信令或业务数据或发送发现信号)的角度来看,D2D的资源分配现在有集中控制式和基于竞争的方式两种模式。集中控制式的方法中,D2D的资源由一个中心控制设备(如基站或中继站)进行分配,通过调度的方式将资源分配给发送UE使用,集中控制式资源分配主要针对有网络覆盖场景。基于竞争的分布式资源复用方法中,由发送UE通过竞争的方式从资源池中获得发送资源。在有网络覆盖的场景下,资源池是由基站分出的一整块资源,所有D2D用户在这整块资源中竞争小块的资源。在没有网络覆盖的场景下,资源池是D2D用户能够获得的一块预定义的系统带宽,所有D2D用户在预定义的资源下竞争资源。
对于上述基于竞争的资源分配方式,由于没有中心控制器协调,不同的UE就可能竞争相同的资源,于是产生冲突。当UE数量较多时,这种冲突情况产生的概率很高。
现有机制中,在网络覆盖范围内,由基站配置给发射UE的发送概率p。UE在预设的资源池中随机选择资源,然后基于概率p(0<p≤1,取值范围为{0.25,0.5,0.75,1})在随机选择的资源上发送发现信号。在网络覆盖范围外,概率p为预配置得到。
现有技术基于基站预先配置的概率P发送数据(或信令),极有可能最终选择的资源仍是被占用的,仍会造成产生冲突。只是盲目的使用一个小于1的发送概率,解决冲突的效果比较有限。另外,对于没有网络覆盖的场景,UE还无法接收到基站的调度信令,进而 无法使用基站配置的发送概率P发送数据。
实施例1:
本发明实施例提供一种较少资源冲突的方法,执行主体为UE,如图1所示,所述方法包括以下步骤:
101、第一UE在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量。
其中,所述资源所述资源为调度指派(Scheduling Assignment,SA)的资源、业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号中的至少一个。或,所述资源为SA资源池中的资源、业务数据资源池中的资源、发现资源池中的资源中的至少一个;或一段时间内可用于发送SA、业务数据和发现信号至少一个的资源。
对于UE而言,所谓可用资源,即该资源上承载的信号的能量小于阈值m或功率小于阈值n;或,该资源上没有承载预设序列。当资源上承载的信号的能量很低时,可认为该信号为噪声信号。或者,若资源的序列不是LTE系统、wifi系统或其他该UE已知的系统的序列,则认为该资源为可用资源。
所述S个资源可以是在网络覆盖范围内,由基站发送的资源配置信息指示的;也可以在网络覆盖范围外为预配置的资源。在步骤101之前,UE会接收基站发送的资源配置信息。
具体实现中,所述UE是在预设时间段内或在预设资源范围内检测S个资源,确定可用资源。其中,所述预设时间段可以是至少一个SL(Sidelink,边链)周期,如SA周期、或discovery(发现)周期或data(业务数据)周期。所述预设时间段和/或所述预设资源范围为预先配置的,或者有网络覆盖的场景下由基站配置。
102、所述第一UE根据所述N个可用资源确定M个资源。
具体实现中,所述第一UE可以是在所述N个可用资源中随机选择M个资源。或者,所述第一UE根据所述N个可用资源得到所述L个资源,所述第一UE在所述L个可用资源中随机选择M 个资源。或者,所述第一UE重新在S个资源中确定N个可用资源,所述第一UE在重新确定的N个可用资源中随机选择M个资源。
其中,所述第一UE根据所述N个可用资源得到所述L个资源,具体包括,所述第一UE将所述N个可用资源通过预设规则运算后得到所述L个资源。示例的,可以根据跳频公式计算获得L个资源。
另外,所述第一UE选择M个资源,选择资源的大小可以与发送的数据的类型相关,比如发送SA需要占用的资源为时域上一个子帧,频域上一个PRB。发送发现信号需要占用的资源为时域上一个子帧,频域上两个PRB。发送业务数据需要占用的资源为时域上一个子帧,频域上若干个PRB。在SA资源池和Discovery资源池中可以以固定颗粒度选择资源,在数据资源池中可以选择任意个PRB的资源。
103、所述第一UE使用所述M个资源向至少一个第二UE发送数据。
具体实现中,可以根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、或冲突时间w等参数判断如何根据M个资源向所述至少一个第二UE发送数据。可以是,在所述M个资源上发送数据,也可以是以发送概率P在所述M个资源上发送数据。
需要说明的是,其中,所述S为大于等于1的整数,所述N为大于等于0小于等于所述S的整数,所述M为大于等于0小于等于所述N的整数。
在本发明的优选实施例中,所述第一UE根据所述N个可用资源确定M个资源,包括:
所述第一UE在所述N个可用资源中随机选择M个资源。
在本发明的优选实施例中,所述第一UE在所述S个资源中确定N个可用资源之前,所述方法还包括:
所述第一UE获取资源配置信息或资源预配置信息;所述第一 UE获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
在本发明的优选实施例中,所述第一UE在S个资源中确定N个可用资源包括:
所述第一UE检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量或功率小于阈值a,则判断所述资源为所述可用资源;
或,所述第一UE分别检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
在本发明的优选实施中,所述第一UE在S个资源中确定N个空闲资源可用资源之后,所述方法还包括:
所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源;
或者,所述第一UE间隔所述预设时长T后,所述第一UE重新在所述S个资源中确定N个可用资源;
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的S个资源。
在本优选实施例中,所述第一UE向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。即将原始数据延迟预设时长T后发送,或丢弃原始数据,在预设时长T后发送新的数据。
在本发明的优选实施中,所述第一UE在S个资源中确定N个可用资源之后,所述方法还包括:
判断所述第一UE是否满足第一预设条件;
若所述第一UE满足所述第一预设条件,则所述第一UE根据所述N个可用资源确定M个资源;
若所述第一UE不满足所述第一预设条件,则间隔预设时长T后所述第一UE根据所述N个可用资源确定M个资源或重新在所述S个资源中确定N个可用资源,根据所述N个可用资源确定M个资源;
所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。其中,所述c为大于等于0的整数,所述w为正数,所述Q与定义优先级的规则有关,在此不作限定。示例的,可以用-2、-1、0表示优先级级数由高到低,也可以用2、1、0表示优先级级数由高到低。
示例的,所述阈值a、阈值b可以是根据经验预设的数值,如:阈值a为5,阈值b为80%。
在本优选实施例中,所述第一UE向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。即将原始数据延迟预设时长T后发送,或丢弃原始数据,在预设时长T后发送新的数据。
在本发明的优选实施中,所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:
所述第一UE在所述N个可用资源中随机选择M个资源;或者,
所述第一UE根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源;或者,
所述第一UE重新在S个资源中确定N个可用资源,所述第一UE在重新确定的N个可用资源中随机选择M个资源。
进一步,所述第一UE根据所述N个可用资源得到所述L个资源,具体包括,
所述第一UE将所述N个可用资源通过预设规则运算后得到所述L个资源。示例的,将所述N个可用资源通过预设规则运算后得到所述L个资源,可以是通过跳频公式计算获得所述L个资源。
在本发明的优选实施中,所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:所述第一UE在所述M个资源上向所述至少一个第二UE发送数据。也就是说,所述第一UE将待发送的数据承载在所述M个资源上向所述至少一个UE发送。
在本发明的优选实施中,所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:
所述第一UE确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据。其中,所述发送概率P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的。
示例的,若所述第一UE在确定的可用资源中选择了10个资源,确定的发送概率P为0.5,那么所述第一UE则是在10个资源上以50%的概率发送,在统计学角度看每2次发送机会中会有平均1次实际发送了发现信号。
在本发明的优选实施例中,所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:
判断所述第一UE是否满足第二预设条件;
若所述第一UE满足所述第二预设条件,所述第一UE则在所述M个资源上向所述至少一个第二UE发送数据;
若所述第一UE不满足所述第二预设条件,所述第一UE则确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
其中,所述P为根据可用资源数量N、不可用资源数量N-S、 可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
需要说明的是,所述第一UE可以根据第一UE的冲突次数c、冲突时间w等参数确定上述预设时间T、发送概率P。
具体地,若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0时,则所述预设时长T为0。需要说明的是,当所述第一UE的优先级较高时,所述第一UE等待的时间可以为0,即高优先级业务可以不需要等待时间即进行后续步骤。当冲突次数c和/或冲突时间w大于相应的阈值时,所述预设时长T为0,即太久没有获得资源的UE可以不需要等待时间。
或,T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值(如:优先级级数、随机数值、预设数值、固定数值)、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
另外,若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先 级Q是否小于阈值Q0时,则所述发送概率P为1。需要说明的是,当所述第一UE的优先级较高时,所述第一UE发送概率为100%。当冲突次数c和/或冲突时间w大于相应的阈值时,发送概率为100%,即太久没有获得资源的UE发送概率为100%。
或,P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。示例的,P=f1(N)、P=f2(N/S)、P=f3(N-S)、P=f4(Q),P=f5(c),P=f6(w),P=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系P=ax+b,取模关系P=x mod Nt,或分段映射关系,一个x值对应一个P值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
需要说明的是,本发明实施例中,所述S为所述第一UE对应的第一群组中的UE的数目,且所述N为所述第一群组中发送数据的UE的数目;
或,所述S为所述第一UE的邻居UE的数目,且所述N为所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
另外,涉及的参数如:阈值m、n、a、b,C0、W0等以及T=f(x)、P=f(x)涉及的参数,在有网络覆盖时由基站配置,在无网络覆盖时为预配置的参数,如UE出厂时设置的参数。
本发明实施例提供的减少资源冲突的方法,第一UE在S个资源中确定N个可用资源,并根据所述N个可用资源确定M个资源;最后使用所述M个资源向至少一个第二UE发送数据。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。本发明提供的方法,每个UE在预设资源中进行检测,确定可用资源,再根据确定的可用资源传输数据, 就可以降低与其他UE竞争同一个资源的概率,在一定程度上减少D2D技术中,发送UE因抢占资源产生的冲突。
实施例2:
本发明实施例提供一种减少资源冲突的方法,执行主体为UE,如图2所示,所述方法,包括以下步骤:
201、第一UE获取预设参数。
具体地,所述预设参数在有网络覆盖时为基站配置的,再无网络覆盖时为预配置的。
202、第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置信息指示的资源数量。
其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个;其中,所述S为大于等于1的整数,所述Z为小于等于所述S的整数,所述c为大于等于0的整数,所述w为正数。
需要说明的是,所述资源为SA的资源、数据的资源和发现资源,向所述至少一个第二UE发送的数据为SA、数据和发现信号。
或,所述资源为SA资源池中的资源、数据资源池中的资源和发现资源池中的资源;或一段时间内可用于发送SA、数据和发现信号的资源。
所述S个资源可以是基站发送的资源配置信息指示的。在步骤201之前,第一UE会接收基站发送的资源配置信息。另外,第一UE还需要获取自身的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。
在本发明的优选实施例中,所述根据S个资源中的Z个资源向至少一个第二UE发送数据,包括:
所述第一UE在所述S个资源中随机选择Z个资源,通过所述Z个资源向至少一个第二UE发送数据。
在本发明的优选实施例中,所述第一UE依据预设参数,使用S 个资源中的Z个资源向至少一个第二UE发送数据之前,所述方法还包括:
所述第一UE获取资源配置信息;所述资源配置信息包括所述S个资源的信息。
在本发明的优选实施例中,所述第一UE依据预设参数,使用S个资源中向至少一个第二UE发送数据包括:
所述第一UE根据所述预设参数确定预设时长T;
所述第一UE间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
在所述Z个资源上向所述至少一个第二UE发送数据。
在本优选实施例中,所述第一UE向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。即将原始数据延迟预设时长T后发送,或丢弃原始数据,在预设时长T后发送新的数据。
在本发明的优选实施例中,所述第一UE依据预设参数,使用S个资源中向至少一个第二UE发送数据包括:
判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;间隔所述预设时长T在所述S个资源中随机确定Z个资源,在所述Z个资源上向所述至少一个第二UE发送数据;
若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
在本优选实施例中,所述第一UE向所述至少一个UE发送的数 据为丢弃原始数据后获得的新数据,或为所述原始数据。即将原始数据延迟预设时长T后发送,或丢弃原始数据,在预设时长T后发送新的数据。
在本发明的优选实施例中,所述第一UE依据预设参数,使用S个资源中向至少一个第二UE发送数据包括:
所述第一UE根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
在本发明的优选实施例中,所述第一UE依据预设参数,使用S个资源中向至少一个第二UE发送数据包括:
所述第一UE在所述S个资源中随机确定Z个资源;
判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
在本发明的优选实施例中,所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先级Q是大于阈值Q0,确定所述预设时长T为0。需要说明的是,当所述第一UE的优先级较高时,所述第一UE等待的时间可以为0,即高优先级业务可以不需要等待时间即进行后续步骤。当冲突次数c和/或冲突时间w大于相应的阈值时,所述预设时长T为0,即太久没 有获得资源的UE可以不需要等待时间。
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
在本发明的优选实施例中,所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先级Q是大于阈值Q0时,确定所述发送概率P为1。需要说明的是,当所述第一UE的优先级较高时,所述第一UE发送概率为100%。当冲突次数c和/或冲突时间w大于相应的阈值时,发送概率为100%,即太久没有获得资源的UE发送概率为100%。
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,P=f1(N)、P=f2(N/S)、P=f3(N-S)、P=f4(Q),P=f5(c),P=f6(w),P=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系P=ax+b,取模关系P=x mod Nt,或分段映射关系,一个x值对应一个P值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
另外,涉及的参数如:阈值a、b,C0、W0等以及T=f(x)、P=f(x)涉及的参数,在有网络覆盖时由基站配置,在无网络覆盖时为预配置的参数,如UE出厂时设置的参数。
本发明实施例提供的减少资源冲突的方法,第一UE在需要传输数据时,第一UE依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。本发明提供的方法,UE参考自身的冲突次数、冲突时间、业务优先级等参数决定发送概率或等待时间,不同UE对应的等待时间或发送概率不同,就可以在一定程度上避免与其他UE竞争同一个资源,能够有效减少D2D技术中,发送UE因抢占资源产生的冲突。
实施例3:
本发明实施例提供一种减少资源冲突的方法,如图3所示,所述方法包括以下步骤:
301、当第一UE需要传输数据时,所述第一UE在S个资源中确定N个可用资源。
其中,所述S是所述第一UE获取的资源配置信息指示的资源数量。
具体地,所述第一UE在S个资源中确定N个可用资源包括:
所述第一UE分别检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源。
或,所述第一UE分别检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
这里,能量除以检测时间才是功率。也就是说,功率也可以是 某一时刻对应的数值,能量必须是一段时间对应的数值。
302、所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源。
其中,所述预设时长T包括:若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,则所述预设时长T为0;
或,T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
所述根据所述N个可用资源确定M个资源包括:所述第一UE在所述N个可用资源中随机选择M个资源;或者,
所述第一UE根据所述N个可用资源得到所述L个资源,所述第一UE在所述L个可用资源中随机选择M个资源;或者,
所述第一UE重新在S个资源中确定N个可用资源,所述第一UE在重新确定的N个可用资源中随机选择M个资源。
303、所述第一UE在所述M个资源上向所述至少一个第二UE发送数据。
本发明实施例提供一种减少资源冲突的方法,如图4所示,所述方法包括以下步骤:
401、当第一UE需要传输数据时,所述第一UE在S个资源中确定N个可用资源。
402、判断所述第一UE是否满足第一预设条件。
其中,所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数,即所述第一预设条件为所述N大于等于阈值a,或N/S大于等于阈值b,或冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0
若所述第一UE满足第一预设条件,则进行步骤403;若所述第一UE不满足第一预设条件,则间隔预设时长T后执行步骤403。
403、所述第一UE根据所述N个可用资源确定M个资源。
404、所述第一UE在所述M个资源上向所述至少一个第二UE发送数据。
本发明实施例还提供一种减少资源冲突的方法,如图5所示,所述方法包括以下步骤:
501、当第一UE需要传输数据时,所述第一UE在S个资源中确定N个可用资源。
502、所述第一UE根据所述N个可用资源确定M个资源。
503、所述第一UE确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据。
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0时,则所述发送概率P为1。需要说明的是,当所述第一UE的优先级较高时,所述第一UE发送概率为100%。当冲突次数c和/或冲突时间w大于相应的阈值时,发送概率为100%,即太久没有获得资源的UE发送概率为100%。
或,P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所 述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,P=f1(N)、P=f2(N/S)、P=f3(N-S)、P=f4(Q),P=f5(c),P=f6(w),P=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系P=ax+b,取模关系P=x mod Nt,或分段映射关系,一个x值对应一个P值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
本发明实施例还提供一种减少资源冲突的方法,如图6所示,所述方法包括以下步骤:
601、当第一UE需要传输数据时,所述第一UE在S个资源中确定N个可用资源。
602、所述第一UE根据所述N个可用资源确定M个资源。
603、判断所述第一UE是否满足第二预设条件。
其中,所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数,即所述第二预设条件为所述N大于等于阈值a,或N/S大于等于阈值b,或冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0
若所述第一UE满足第二预设条件,则进行步骤604;若所述第一UE不满足第二预设条件,则间隔预设时长T后执行步骤604。
604、所述第一UE确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据。
本发明实施例还提供一种减少资源冲突的方法,如图7所示,所述方法包括以下步骤:
701、第一UE在需要传输数据时,等待预设时长T后在S个资源中随机选择Z个资源。
其中,预设时长T是根据预设参数确定的,所述S是所述第一UE获取的资源配置信息指示的资源数量;其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。
702、第一UE在所述Z个资源上向至少一个第二UE发送数据。
当然,在步骤701之前,第一UE还需要获取自身的冲突次数c和/或冲突时间w等预设参数。
本发明实施例还提供一种减少资源冲突的方法,如图8所示,所述方法包括以下步骤:
801、第一UE在需要传输数据时,在S个资源中随机选择Z个资源。
802、所述第一UE根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
当然,在步骤801之前,第一UE还需要获取自身的冲突次数c和/或冲突时间w等预设参数。
本发明实施例还提供一种减少资源冲突的方法,如图9所示,所述方法包括以下步骤:
901、判断第一UE的预设参数是否超过相应阈值。
具体地,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w小于阈值W0
若所述第一UE的预设参数超出相应阈值,即所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w阈值W0,则进行步骤902;若所述第一UE的预设参数没有超出相应阈值,则在所述S个资源中随机确定Z个资源,在所述Z个资源上向所述至少一个第二UE发送数据。
902、根据所述预设参数确定预设时长T。
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。
903、间隔所述预设时长T在所述S个资源中随机确定Z个资源,在所述Z个资源上向所述至少一个第二UE发送数据。
当然,在步骤901之前,第一UE还需要获取自身的冲突次数c和/或冲突时间w等预设参数。
本发明实施例还提供一种减少资源冲突的方法,如图10所示,所述方法包括以下步骤:
1001、第一UE在所述S个资源中随机确定Z个资源。
1002、判断第一UE的预设参数是否超过相应阈值。
具体地,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w小于阈值W0
若所述第一UE的预设参数未超出相应阈值,即所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w阈值W0,则进行步骤1003。
1003、第一UE根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。
当然,在步骤1001之前,第一UE还需要获取自身的冲突次数 c和/或冲突时间w等预设参数。
实施例4:
本发明实施例提供一种UE11,如图11所示,所述UE11包括:确定单元1101、发送单元1102。
确定单元1101,用于在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量。
对于UE而言,所谓可用资源,即该资源上承载的信号的能量小于阈值m或功率小于阈值n;或,该资源上没有承载预设序列。当资源上承载的信号的能量很低时,可认为该信号为噪声信号。或者,若资源的序列不是LTE系统、wifi系统等该UE已知的系统的序列,则认为该资源为可用资源。
所述确定单元1101还用于,根据所述N个可用资源确定M个资源。
发送单元1102,用于使用所述M个资源向至少一个第二UE发送数据。
所述确定单元1101具体用于,在所述N个可用资源中随机选择M个资源。
还包括获取单元。所述获取单元用于,获取资源配置信息或资源预配置信息;所述资源配置信息或资源预配置信息包括所述S个资源的信息。
所述确定单元1101具体用于,分别检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;
或,分别检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
所述确定单元1101具体用于,在S个资源中确定N个空闲资源可用资源之后,间隔预设时长T后,根据所述N个可用资源确定M个资源。或者,间隔所述预设时长T后,重新在所述S个资源中确定N个可用资源。
所述确定单元1101具体用于,在S个资源中确定N个可用资源之后,判断所述第一UE是否满足第一预设条件;
若所述第一UE满足所述第一预设条件,则根据所述N个第一时频资源确定M个资源;
若所述第一UE不满足所述第一预设条件,则间隔预设时长T后根据所述N个可用资源确定M个资源;
其中,所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
进一步地,所述确定单元间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:在所述N个可用资源中随机选择M个资源。
或者,根据所述N个可用资源得到所述L个资源,所述第一UE在所述L个可用资源中随机选择M个资源。
进一步地,所述确定单元根据所述N个可用资源得到所述L个资源,具体包括,将所述N个可用资源通过预设规则运算后得到所述L个资源。
所述发送单元1102向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
可以通过以下方式确定预设时长T:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T为0;
或,T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不 同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
所述发送单元1102具体用于,在所述M个资源上向所述至少一个第二UE发送数据。
所述确定单元1101还用于,确定发送概率P。
所述发送单元1102具体用于,以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据。
所述UE还包括判断单元。所述判断单元用于,判断所述第一UE是否满足第二预设条件。
若所述判断单元判断所述第一UE满足所述第二预设条件,所述发送单元则在所述M个资源上向所述至少一个第二UE发送数据。
若所述判断单元判断所述第一UE不满足所述第二预设条件,所述确定单元1101则确定发送概率P,所述发送单元1102以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数。
其中,所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
可以通过以下方式确定发送概率P:
若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P为1;
或,P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,P=f1(N)、P=f2(N/S)、P=f3(N-S)、P=f4(Q),P=f5(c),P=f6(w),P=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系P=ax+b,取模关系P=x mod Nt,或分段映射关系,一个x值对应一个P值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
需要说明的是,所述S为所述第一UE对应的第一群组中的UE的数目,且所述N为所述第一群组中发送数据的UE的数目,
或,所述S为所述第一UE的邻居UE的数目,且所述N为所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
另外,所述资源为调度指派SA的资源、或业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
或者,所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
本发明实施例提供的UE,在S个资源中确定N个可用资源,并根据所述N个可用资源确定M个资源;最后使用所述M个资源向至少一个第二UE发送数据。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。每个UE在预设资源中进行检测,确定可用资源,再根据确定的可用资源传输数据,就可以降低与其他UE竞争同一个资源的概率,在一定程度上减少D2D技术中,发送UE因抢占资源产生的冲突。
实施例5:
本发明实施例提供一种UE12,如图12所示,所述UE12包括获取单元1201和发送单元1202。
获取单元1201,用于获取预设参数;
发送单元1202,用于依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置信息指示的资源数量。
其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。
所述获取单元1201用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息;所述资源配置信息为基站配置的或预配置的。
如图12a所示,所述UE12还包括确定单元1203。
所述确定单元1203用于,根据所述预设参数确定预设时长T;间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
所述发送单元1202用于,在所述Z个资源上向所述至少一个第二UE发送数据。
需要说明的是,所述第一UE在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
如图12b所示,所述UE12还包括判断单元1204。
所述判断单元1204用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述确定单元1203用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;间隔所述预设时长T在所述S个资源中随机确定Z个 资源。所述发送单元1202用于,在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送单元1202还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
所述确定单元1203用于,根据所述预设参数确定发送概率P;
所述发送单元1202用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
所述确定单元1203用于,在所述S个资源中随机确定Z个资源。
所述判断单元1204用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述确定单元1203用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优 先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P。所述发送单元1202用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送单元还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
具体实现中,所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。
本发明实施例提供的UE,第一UE依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。UE参考自身的冲突次数、冲突时间、业务优先级等参数决定发送概率或等待时间,不同UE对应的等待时间或发送概率不同,就可以在一定程度上避免与其他UE竞争同一个资源,能够有效减少D2D技术中,发送UE因抢占资源产生的冲突。
实施例6:
本发明实施例提供了一种UE,如图13所示,所述UE包括:处理器1301、系统总线1302和发送器1303和存储器1304。
其中,处理器1301可以为中央处理器(英文:central processing unit,缩写:CPU)。
存储器1304,用于存储程序代码,并将该程序代码传输给该处理器1301,处理器1301根据程序代码执行下述指令。存储器1304可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器1304也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD)。存储器1304还可以包括上述种类的存储器的组合。处理器1301、存储器1304和发送器1303之间通过系统总线1302连接并完成相互间的通信。
发送器1303可以由光收发器,电收发器,无线收发器或其任意组合实现。例如,光收发器可以是小封装可插拔(英文:small form-factor pluggable transceiver,缩写:SFP)收发器(英文:transceiver),增强小封装可插拔(英文:enhanced small form-factor pluggable,缩写:SFP+)收发器或10吉比特小封装可插拔(英文:10Gigabit small form-factor pluggable,缩写:XFP)收发器。电收发器可以是以太网(英文:Ethernet)网络接口控制器(英文:network interface controller,缩写:NIC)。无线收发器可以是无线网络接口控制器(英文:wireless network interface controller,缩写:WNIC)。所述UE可以有多个发送器1303。
处理器1301,用于在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;根据所述N个可用资源确定M个资源。
对于UE而言,所谓可用资源,即该资源上承载的信号的能量小于阈值m或功率小于阈值n;或,该资源上没有承载预设序列。当资源上承载的信号的能量很低时,可认为该信号为噪声信号。或者,若资源的序列不是LTE系统、wifi系统等该UE已知的系统的序列,则认为该资源为可用资源。
发送器1303,用于使用所述M个资源向至少一个第二UE发送 数据。
所述处理器1301具体用于,在所述N个可用资源中随机选择M个资源。
所述处理器1301用于,获取资源配置信息或资源预配置信息;所述资源配置信息或资源预配置信息包括所述S个资源的信息。
所述处理器1301具体用于,分别检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;
或,检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
所述处理器1301具体用于,在S个资源中确定N个空闲资源可用资源之后,间隔预设时长T后,根据所述N个可用资源确定M个资源。或者,间隔所述预设时长T后,重新在所述S个资源中确定N个可用资源。
所述处理器1301具体用于,在S个资源中确定N个可用资源之后,判断所述第一UE是否满足第一预设条件;
若所述第一UE满足所述第一预设条件,则根据所述N个第一时频资源确定M个资源;
若所述第一UE不满足所述第一预设条件,则间隔预设时长T后根据所述N个可用资源确定M个资源;
其中,所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
所述处理器1301间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:在所述N个可用资源中随机选择M个资源;或者,
根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源。
所述处理器1301根据所述N个可用资源得到所述L个资源,具体包括,将所述N个可用资源通过预设规则运算后得到所述L个资源。
所述发送器1303向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
可以通过以下方式确定预设时长T:若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T为0;
或,T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
所述处理器1301具体用于,在所述M个资源上向所述至少一个第二UE发送数据。
所述处理器1301还用于,确定发送概率P;
所述发送器1303具体用于,以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据。
所述处理器1301用于,判断所述第一UE是否满足第二预设条件;
若所述处理器1301判断所述第一UE满足所述第二预设条件, 所述发送单元则在所述M个资源上向所述至少一个第二UE发送数据;
若所述处理器1301判断所述第一UE不满足所述第二预设条件,所述处理器1301则确定发送概率P,所述发送器1303以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据。示例的,若所述第一UE在确定的可用资源中选择了10个资源,确定的发送概率P为0.5,那么所述第一UE则是在10个资源上以50%的概率发送,在统计学角度看每2次发送机会中会有平均1次实际发送了发现信号。
其中,所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
可以通过以下方式确定发送概率P:若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P为1;
或,P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。
需要说明的是,所述S为所述第一UE对应的第一群组中的UE的数目,且所述N为所述第一群组中发送数据的UE的数目,
或,所述S为所述第一UE的邻居UE的数目,且所述N为所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
另外,所述资源为调度指派SA的资源、或业务数据的资源或 发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
或在,所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
本发明实施例提供的UE,在S个资源中确定N个可用资源,并根据所述N个可用资源确定M个资源;最后使用所述M个资源向至少一个第二UE发送数据。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。每个UE在预设资源中进行检测,确定可用资源,再根据确定的可用资源传输数据,就可以降低与其他UE竞争同一个资源的概率,在一定程度上减少D2D技术中,发送UE因抢占资源产生的冲突。
实施例7:
本发明实施例提供了一种UE14,如图14所示,所述UE14包括:包括处理器1401、系统总线1402和发送器1403和存储器1404。
其中,处理器1401可以为中央处理器(英文:central processing unit,缩写:CPU)。
存储器1404,用于存储程序代码,并将该程序代码传输给该处理器1401,处理器1401根据程序代码执行下述指令。存储器1404可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器1404也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD)。存储器1404还可以包括上述种类的存储器的组合。处理器1401、存储器1404和发送器1403之间通过系统总线1402连接并完成相互间的通信。
发送器1403可以由光收发器,电收发器,无线收发器或其任意 组合实现。例如,光收发器可以是小封装可插拔(英文:small form-factor pluggable transceiver,缩写:SFP)收发器(英文:transceiver),增强小封装可插拔(英文:enhanced small form-factor pluggable,缩写:SFP+)收发器或10吉比特小封装可插拔(英文:10Gigabit small form-factor pluggable,缩写:XFP)收发器。电收发器可以是以太网(英文:Ethernet)网络接口控制器(英文:network interface controller,缩写:NIC)。无线收发器可以是无线网络接口控制器(英文:wireless network interface controller,缩写:WNIC)。所述STA可以有多个发送器1403。
处理器1401,用于获取预设参数。
发送器1403,用于依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置信息指示的资源数量;
其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。
所述处理器1401用于,在所述S个资源中随机选择Z个资源;
所述发送器1401用于,通过所述Z个资源向至少一个第二UE发送数据。
所述处理器1401用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息。
所述处理器1401用于,根据所述预设参数确定预设时长T;间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
所述发送器1403用于,在所述Z个资源上向所述至少一个第二UE发送数据。
需要说明的是,所述发送单元1403在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
所述处理器1401用于,判断所述第一UE的冲突次数c是否小 于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述处理器1401用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,处理器1401则根据所述预设参数确定预设时长T;发送器1403间隔所述预设时长T在所述S个资源中随机确定Z个资源;所述发送器1403用于,在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送器1403还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
具体实现中,所述根据所述预设参数确定所述预设时长T包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。示例的,T=f1(N)、T=f2(N/S)、T=f3(N-S)、T=f4(Q),T=f5(c),T=f6(w),T=f7(c,w),函数与x取值的对应关系可以在协议中规定或预定义。本发明包括但不限于下述函数关系:
简单线性关系T=ax+b,取模关系T=x mod Nt,或分段映射关系,一个x值对应一个T值,查表得到。当然,函数中的参数如:a、b、Nt为预定义的参数。
所述处理器1401用于,根据所述预设参数确定发送概率P;
所述发送器1401用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。示例的,若所述第一UE在确定的可用资源中选择了10个资源,确定的发送概率P为0.5,那么所 述第一UE则是在10个资源上以50%的概率发送,在统计学角度看每2次发送机会中会有平均1次实际发送了发现信号。
所述处理器1401用于,在所述S个资源中随机确定Z个资源。
所述处理器1401用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
所述处理器1401用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P。所述发送器1403用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
所述发送器1403还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
具体实现中,所述根据所述预设参数确定所述发送概率P包括:
当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数关系也不同。
本发明实施例提供的UE,第一UE依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个。相比现有D2D技术,UE在预设的资源池中随机选择资源传输数据,不同UE会抢占同一个资源,造成冲突。UE参考自身的冲突次数、冲突时间、业务优先级等参数决定发送概率或等待时间,不同UE对应 的等待时间或发送概率不同,就可以在一定程度上避免与其他UE竞争同一个资源,能够有效减少D2D技术中,发送UE因抢占资源产生的冲突。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围 之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (50)

  1. 一种减少资源冲突的方法,其特征在于,包括:
    第一用户设备UE在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;
    所述第一UE根据所述N个可用资源确定M个资源;
    所述第一UE使用所述M个资源向至少一个第二UE发送数据;
    其中,所述S为大于等于1的整数,所述N为大于等于0小于等于所述S的整数,所述M为大于等于0小于等于所述N的整数。
  2. 根据权利要求1所述的方法,其特征在于,所述第一UE根据所述N个可用资源确定M个资源,包括:
    所述第一UE在所述N个可用资源中随机选择M个资源。
  3. 根据权利要求1所述的方法,其特征在于,所述第一UE在所述S个资源中确定N个可用资源之前,所述方法还包括:
    所述第一UE获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
  4. 根据权利要求1所述的方法,其特征在于,所述第一UE在S个资源中确定N个可用资源包括:
    所述第一UE检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;所述m、所述n为正数;
    或,所述第一UE分别检测所述S个资源中的每一个资源上承载的序列,若所述资源未承载预设序列,则判断所述资源为所述可用资源。
  5. 根据权利要求1所述的方法,其特征在于,所述第一UE在S个资源中确定N个可用资源之后,所述方法还包括:
    所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源;
    或者,所述第一UE间隔预设时长T后,所述第一UE重新在所述S个资源中确定N个可用资源,根据所述N个可用资源确定M个 资源;
    所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的。
  6. 根据权利要求1所述的方法,其特征在于,所述第一UE在S个资源中确定N个可用资源之后,所述方法还包括:
    判断所述第一UE是否满足第一预设条件;
    若所述第一UE满足所述第一预设条件,则所述第一UE根据所述N个可用资源确定M个资源;
    若所述第一UE不满足所述第一预设条件,则间隔预设时长T后所述第一UE根据所述N个可用资源确定M个资源或重新在所述S个资源中确定N个可用资源,根据所述N个可用资源确定M个资源;
    其中,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
  7. 根据权利要求5或6所述的方法,其特征在于,所述第一UE间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:
    所述第一UE在所述N个可用资源中随机选择M个资源;或者,
    所述第一UE根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源;所述L为小于等于所述N的整数。
  8. 根据权利要求7所述的方法,其特征在于,所述第一UE根据所述N个可用资源得到所述L个资源,具体包括,
    所述第一UE将所述N个可用资源通过预设规则运算后得到所述L个资源。
  9. 根据权利要求5或6所述的方法,其特征在于,所述第一UE向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
  10. 根据权利要求5或6所述的方法,其特征在于,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
    若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T=0;
    或,所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  11. 根据权利要求1所述的方法,其特征在于,所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:
    所述第一UE确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
    其中,所述发送概率P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述c为大于等于0的整数,所述w为正数。
  12. 根据权利要求1所述的方法,其特征在于,所述第一UE使用所述M个资源向至少一个第二UE发送数据包括:
    判断所述第一UE是否满足第二预设条件;
    若所述第一UE满足所述第二预设条件,所述第一UE则在所述M个资源上向所述至少一个第二UE发送数据;
    若所述第一UE不满足所述第二预设条件,所述第一UE则确定发送概率P,并以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
    其中,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
  13. 根据权利11或12所述的方法,其特征在于,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
    若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P=1;
    或者,发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  14. 根据权利要求1所述的方法,其特征在于,所述S对应第一群组中的UE的数目,且所述N对应所述第一群组中发送数据的UE的数目,
    或,所述S对应所述第一UE的邻居UE的数目,且所述N对应所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
  15. 根据权利要求1-14任一项所述的方法,其特征在于,
    所述资源为调度指派SA的资源、或业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
  16. 根据权利要求1-14任一项所述的方法,其特征在于,
    所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
  17. 一种减少资源冲突的方法,其特征在于,包括:
    第一用户设备UE获取预设参数;
    所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置信息指示的资源数量;
    其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个;所述S为大于等于1的整数,所述Z为小于等于所述S的整数,所述c为大于等于0的整数,所述w为正数。
  18. 根据权利要求17所述的方法,其特征在于,所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据之前,所述方法还包括:
    所述第一UE获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
  19. 根据权利要求17所述的方法,其特征在于,所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
    所述第一UE根据所述预设参数确定预设时长T;
    所述第一UE间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
    在所述Z个资源上向所述至少一个第二UE发送数据。
  20. 根据权利要求17所述的方法,其特征在于,所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
    判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
    若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;间隔所述预设时长T在所述S个资源中随机确定Z个资源,在所述Z个资源上向所述至少一个第二UE发送数据;
    若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
  21. 根据权利要求19或20所述的方法,其特征在于,所述第一UE在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
  22. 根据权利要求19-21任一项所述的方法,其特征在于,所述根据所述预设参数确定所述预设时长T包括:
    当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
    或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  23. 根据权利要求17所述的方法,其特征在于,所述第一UE依据所述预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
    所述第一UE在所述S个资源中随机确定Z个资源;
    所述第一UE根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
  24. 根据权利要求17所述的方法,其特征在于,所述第一UE依据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据包括:
    所述第一UE在所述S个资源中随机确定Z个资源;
    判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
    若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P,并以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据;
    若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述至少一个第二UE发送数据。
  25. 根据权利要求23或24所述的方法,其特征在于,所述根据所述预设参数确定所述发送概率P包括:
    当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
    或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  26. 一种用户设备UE,其特征在于,包括:
    确定单元,用于在S个资源中确定N个可用资源;所述S是所述第一UE获取的资源配置信息指示的资源数量;
    所述确定单元还用于,根据所述N个可用资源确定M个资源;
    发送单元,用于使用所述M个资源向至少一个第二UE发送数据;
    其中,所述S为大于等于1的整数,所述N为大于等于0小于等于所述S的整数,所述M为大于等于0小于等于所述N的整数。
  27. 根据权利要求26所述的UE,其特征在于,所述确定单元具体用于,在所述N个可用资源中随机选择M个资源。
  28. 根据权利要求26所述的UE,其特征在于,还包括获取单元,
    所述获取单元用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
  29. 根据权利要求26所述的UE,其特征在于,所述确定单元具体用于,检测所述S个资源中的每一个资源上承载的信号的能量或功率,若所述资源上承载的信号的能量小于阈值m或功率小于阈值n,则判断所述资源为所述可用资源;所述m、所述n均为正数;
    或,检测所述S个资源中的每一个资源上承载的序列,若所述资源没有承载预设序列,则判断所述资源为所述可用资源。
  30. 根据权利要求26所述的UE,其特征在于,所述确定单元具体用于,在S个资源中确定N个可用资源之后,间隔预设时长T后,根据所述N个可用资源确定M个资源;
    或者,所述第一UE间隔所述预设时长T后,所述第一UE重新在所述S个资源中确定N个可用资源;
    所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述c为大于等于0的整数,所述w为正数。
  31. 根据权利要求26所述的UE,其特征在于,所述确定单元具体用于,在S个资源中确定N个可用资源之后,判断所述第一UE是否满足第一预设条件;
    若所述第一UE满足所述第一预设条件,则根据所述N个第一时频资源确定M个资源;
    若所述第一UE不满足所述第一预设条件,则间隔预设时长T后根据所述N个可用资源确定M个资源或重新在所述S个资源中确定N个可用资源,根据所述N个可用资源确定M个资源;
    其中,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第一预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
  32. 根据权利要求30或31所述的UE,其特征在于,所述确定单元间隔预设时长T后,根据所述N个可用资源确定M个资源,包括:在所述N个可用资源中随机选择M个资源;或者,
    根据所述N个可用资源得到L个资源,所述第一UE在所述L个可用资源中随机选择M个资源;所述L为小于等于所述M的整数。
  33. 根据权利要求32所述的UE,其特征在于,所述确定单元根据所述N个可用资源得到L个资源具体包括,将所述N个可用资源通过预设规则运算后得到所述L个资源。
  34. 根据权利要求30或31所述的UE,其特征在于,所述发送单元向所述至少一个UE发送的数据为丢弃原始数据后获得的新数据,或为所述原始数据。
  35. 根据权利要求30或31所述的UE,其特征在于,所述T为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
    若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述预设时长T=0;或,所述预设时长T=f(x);
    其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  36. 根据权利要求26所述的UE,其特征在于,
    所述确定单元还用于,确定发送概率P;
    所述发送单元具体用于,以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;其中,所述发送概率P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述c为大于等于0的整数,所述w为正数。
  37. 根据权利要求26所述的UE,其特征在于,还包括判断单元,
    所述判断单元用于,判断所述第一UE是否满足第二预设条件;
    若所述判断单元判断所述第一UE满足所述第二预设条件,所述发送单元则在所述M个资源上向所述至少一个第二UE发送数据;
    若所述判断单元判断所述第一UE不满足所述第二预设条件,所述确定单元则确定发送概率P,所述发送单元以所述发送概率P在所述M个资源上向所述至少一个第二UE发送数据;
    其中,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的;所述第二预设条件为:N≥a,或N/S≥b,或Q≥Q0;或第一UE的冲突次数c>C0,或所述第一UE的冲突时间w>W0,或第一UE的业务优先级或UE自身的优先级Q>Q0;所述a为资源阈值,所述b为可用资源占预设资源的最小比例,所述C0为冲突次数阈值,所述W0 为冲突时间阈值,所述Q0为优先级阈值;所述c为大于等于0的整数,所述w为正数。
  38. 根据权利要求36或37所述的UE,其特征在于,所述P为根据可用资源数量N、不可用资源数量N-S、可用资源比例N/S、所述第一UE的冲突次数c、冲突时间w、所述第一UE的业务优先级Q、所述第一UE自身的优先级中的至少一个确定的具体包括:
    若所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,或第一UE的业务优先级或UE自身的优先级Q大于阈值Q0,则所述发送概率P=1,或者,发送概率P=f(x);
    其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、UE自身的优先级、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  39. 根据权利要求26所述的UE,其特征在于,所述S对应所述第一UE对应的第一群组中的UE的数目,且所述N对应所述第一群组中发送数据的UE的数目,
    或,所述S对应所述第一UE的邻居UE的数目,且所述N对应所述第一UE的邻居UE中发送数据的UE的数目,所述第一UE的邻居UE为与所述第一UE可直接通信的UE。
  40. 根据权利要求26-39任一项所述的UE,其特征在于,所述资源为调度指派SA的资源、或业务数据的资源或发现资源的至少一个,向所述至少一个第二UE发送的数据为SA、业务数据或发现信号的至少一个。
  41. 根据权利要求26-39任一项所述的UE,其特征在于,所述资源为SA资源池中的资源、业务数据资源池中的资源和发现资源池中的资源的至少一个;或一段时间内可用于发送SA、业务数据或发现信号的至少一个的资源。
  42. 一种用户设备UE,其特征在于,包括:
    获取单元,用于获取预设参数;
    发送单元,用于根据预设参数,使用S个资源中的Z个资源向至少一个第二UE发送数据;所述S是所述第一UE获取的资源配置信息指示的资源数量;
    其中,所述预设参数为所述第一UE的冲突次数c、所述第一UE的冲突时间w、所述第一UE的业务优先级Q、UE自身的优先级中的至少一个;其中,所述S为大于等于1的整数,所述Z为小于等于所述S的整数,所述c为大于等于0的整数,所述w为正数。
  43. 根据权利要求42所述的UE,其特征在于,还包括获取单元,
    所述获取单元用于,获取资源配置信息;所述资源配置信息包括所述S个资源的信息,所述资源配置信息为基站配置的或者预配置的。
  44. 根据权利要求42所述的UE,其特征在于,还包括确定单元,
    所述确定单元用于,根据所述预设参数确定预设时长T;间隔所述预设时长T后,在所述S个资源中随机确定Z个资源;
    所述发送单元用于,在所述Z个资源上向所述至少一个第二UE发送数据。
  45. 根据权利要求42所述的UE,其特征在于,还包括判断单元,
    所述判断单元用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
    确定单元用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定预设时长T;间隔所述预设时长T在所述S个资源中随机确定Z个资源;
    所述发送单元用于,在所述Z个资源上向所述至少一个第二UE发送数据;
    若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,所述发送单元还用于,在所述Z个资源上向所述至 少一个第二UE发送数据。
  46. 根据权利要求44或45所述的UE,其特征在于,所述第一UE在所述Z个资源上向所述至少一个第二UE发送的数据为丢弃原始数据后获取的新数据,或为所述原始数据。
  47. 根据权利要求44-46任一项所述的UE,其特征在于,所述根据所述预设参数确定所述预设时长T包括:
    当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述预设时长T为0;
    或,确定所述预设时长T=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
  48. 根据权利要求42所述的UE,其特征在于,
    确定单元用于,根据所述预设参数确定发送概率P;
    所述发送单元用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据。
  49. 根据权利要求42所述的UE,其特征在于,
    所述确定单元用于,在所述S个资源中随机确定Z个资源;
    判断单元用于,判断所述第一UE的冲突次数c是否小于阈值C0或所述第一UE的冲突时间w是否小于阈值W0或第一UE的业务优先级或UE自身的优先级Q是否小于阈值Q0
    确定单元用于,若所述第一UE的冲突次数c小于阈值C0或所述第一UE的冲突时间w小于阈值W0或第一UE的业务优先级或UE自身的优先级Q小于阈值Q0,则根据所述预设参数确定发送概率P;
    所述发送单元用于,以所述发送概率P在所述Z个资源上向所述至少一个第二UE发送数据;
    所述发送单元还用于,若所述第一UE的冲突次数c不小于阈值C0或所述第一UE的冲突时间w不小于阈值W0或第一UE的业务优先级或UE自身的优先级Q不小于阈值Q0,则在所述Z个资源上向所述 至少一个第二UE发送数据。
  50. 根据权利要求48或49所述的UE,其特征在于,所述根据所述预设参数确定所述发送概率P包括:
    当所述第一UE的冲突次数c大于阈值C0或所述第一UE的冲突时间w大于阈值W0,确定所述发送概率P为1;
    或,确定所述发送概率P=f(x);其中,所述x为N、N-S、N/S、所述第一UE的业务优先级Q、所述第一UE自定义的数值、所述c、所述w、所述c与所述w的函数g(c,w)中的一个,当x取值不同时对应的f(x)代表的函数也不同。
PCT/CN2015/087067 2015-08-14 2015-08-14 一种减少资源冲突的方法及ue WO2017028044A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2018507517A JP7032306B2 (ja) 2015-08-14 2015-08-14 リソース衝突低減方法およびue
PCT/CN2015/087067 WO2017028044A1 (zh) 2015-08-14 2015-08-14 一种减少资源冲突的方法及ue
CN201580065186.1A CN107005984B (zh) 2015-08-14 2015-08-14 一种减少资源冲突的方法及ue
EP15901249.1A EP3322241B1 (en) 2015-08-14 2015-08-14 Method for reducing resource conflicts, and ue
KR1020187004027A KR102105501B1 (ko) 2015-08-14 2015-08-14 자원 충돌을 감소시키는 방법 및 ue
US15/894,332 US10536928B2 (en) 2015-08-14 2018-02-12 Resource conflict reducing method and UE
US16/690,651 US11277821B2 (en) 2015-08-14 2019-11-21 Resource conflict reducing method and UE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/087067 WO2017028044A1 (zh) 2015-08-14 2015-08-14 一种减少资源冲突的方法及ue

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/894,332 Continuation US10536928B2 (en) 2015-08-14 2018-02-12 Resource conflict reducing method and UE

Publications (1)

Publication Number Publication Date
WO2017028044A1 true WO2017028044A1 (zh) 2017-02-23

Family

ID=58050559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087067 WO2017028044A1 (zh) 2015-08-14 2015-08-14 一种减少资源冲突的方法及ue

Country Status (6)

Country Link
US (2) US10536928B2 (zh)
EP (1) EP3322241B1 (zh)
JP (1) JP7032306B2 (zh)
KR (1) KR102105501B1 (zh)
CN (1) CN107005984B (zh)
WO (1) WO2017028044A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111096015A (zh) * 2017-09-15 2020-05-01 Oppo广东移动通信有限公司 用于资源选择的方法和设备
CN112689269A (zh) * 2019-10-17 2021-04-20 华为技术有限公司 一种侧行信息的传输方法、装置及系统
WO2022061736A1 (en) * 2020-09-25 2022-03-31 Lenovo (Beijing) Limited Methods and apparatuses for inter-ue coordination for a nr sidelink

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102105501B1 (ko) * 2015-08-14 2020-04-28 후아웨이 테크놀러지 컴퍼니 리미티드 자원 충돌을 감소시키는 방법 및 ue
WO2017193334A1 (zh) * 2016-05-12 2017-11-16 广东欧珀移动通信有限公司 设备间通信的方法和装置
US10645631B2 (en) 2016-06-09 2020-05-05 Qualcomm Incorporated Device detection in mixed static and mobile device networks
FR3081279A1 (fr) * 2018-05-18 2019-11-22 Orange Procede centralise d'allocation de ressources de transmission a des terminaux d2d dans un reseau d'acces cellulaire.
CN111385845A (zh) * 2018-12-29 2020-07-07 电信科学技术研究院有限公司 一种数据发送、接收方法、装置、终端及通信设备
CN112312419B (zh) * 2019-07-26 2022-08-26 华为技术有限公司 信息上报方法及装置
CN110461044B (zh) * 2019-07-31 2022-10-11 中国信息通信研究院 一种信道占用指示方法、设备和移动通信系统
EP4136907A4 (en) * 2020-04-14 2023-11-22 NEC Corporation METHOD FOR COMMUNICATION, TERMINAL DEVICE AND COMPUTER READABLE MEDIA

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110312331A1 (en) * 2010-06-18 2011-12-22 Nokia Corporation Method and apparatus for resource scheduling for network controlled d2d communications
CN103945538A (zh) * 2013-01-18 2014-07-23 华为终端有限公司 资源配置方法及装置
CN104144501A (zh) * 2013-05-09 2014-11-12 中兴通讯股份有限公司 D2d发现信号资源配置方法、系统及相关装置
CN104519577A (zh) * 2013-09-27 2015-04-15 中兴通讯股份有限公司 通信资源管理方法、设备及系统

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008503958A (ja) * 2004-06-24 2008-02-07 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Mcネットワークでサブキャリアの状態を送信する方法及びmcネットワークでサブキャリアを適切に割り当てる方法
US8433355B2 (en) * 2005-04-21 2013-04-30 Interdigital Technology Corporation Method and apparatus for generating loud packets to estimate path loss
US8660071B2 (en) * 2009-03-19 2014-02-25 Qualcomm Incorporated Adaptive resource partitioning in a wireless communication network
WO2011079812A1 (zh) 2009-12-31 2011-07-07 华为技术有限公司 一种基于竞争资源的配置方法和装置
DE112011105271T5 (de) * 2011-05-25 2014-03-06 Renesas Mobile Corporation Ressourcenzuordnung für eine D2D-Kommunikation
US9661621B2 (en) * 2011-09-27 2017-05-23 Lg Electronics Inc. Method and device for obtaining control information in a wireless communication system
CN104272614B (zh) * 2012-03-28 2017-06-23 Lg电子株式会社 在无线通信系统中分配用于下行链路控制信道的资源的方法
CN107071905B (zh) * 2012-06-29 2020-11-03 华为技术有限公司 设备间通信方法、用户设备和基站
US9794950B2 (en) * 2013-06-13 2017-10-17 Samsung Electronics Co., Ltd. Method and apparatus for allocating resources for D2D communication
JP2015012591A (ja) * 2013-07-02 2015-01-19 株式会社Nttドコモ ユーザ装置、通信システム、及びバックオフ制御方法
CN104469951B (zh) * 2013-09-25 2018-08-21 华为技术有限公司 一种资源分配的方法、装置及系统
WO2015065085A1 (ko) * 2013-10-31 2015-05-07 엘지전자 주식회사 무선 통신 시스템에서 단말에 의해 수행되는 d2d 동작 방법 및 상기 방법을 이용하는 단말
KR102295821B1 (ko) 2013-11-08 2021-08-31 엘지전자 주식회사 무선 통신 시스템에서 단말 간 직접 통신을 이용하여 신호를 송신하는 방법 및 이를 위한 장치
WO2015137685A1 (ko) * 2014-03-11 2015-09-17 엘지전자(주) 단말간 직접 통신을 지원하는 무선 통신 시스템에서 자원을 할당하기 위한 방법 및 이를 위한 장치
US9769644B2 (en) * 2014-03-14 2017-09-19 Intel IP Corporation Systems, methods, and devices for device-to-device communication mode selection
US9907056B2 (en) * 2014-08-06 2018-02-27 Futurewei Technologies, Inc. System and method for allocating resources for device-to-device communications
EP3294023B1 (en) * 2015-06-02 2021-11-10 Huawei Technologies Co., Ltd. Resource allocation method and apparatus
EP3335495B1 (en) * 2015-08-12 2020-07-29 Intel Corporation Resource access in device to device communication
KR102105501B1 (ko) * 2015-08-14 2020-04-28 후아웨이 테크놀러지 컴퍼니 리미티드 자원 충돌을 감소시키는 방법 및 ue
EP3419355A4 (en) * 2016-03-31 2019-02-20 Huawei Technologies Co., Ltd. METHOD AND APPARATUS FOR PLANNING RESOURCES

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110312331A1 (en) * 2010-06-18 2011-12-22 Nokia Corporation Method and apparatus for resource scheduling for network controlled d2d communications
CN103945538A (zh) * 2013-01-18 2014-07-23 华为终端有限公司 资源配置方法及装置
CN104144501A (zh) * 2013-05-09 2014-11-12 中兴通讯股份有限公司 D2d发现信号资源配置方法、系统及相关装置
CN104519577A (zh) * 2013-09-27 2015-04-15 中兴通讯股份有限公司 通信资源管理方法、设备及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3322241A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111096015A (zh) * 2017-09-15 2020-05-01 Oppo广东移动通信有限公司 用于资源选择的方法和设备
EP3684118A4 (en) * 2017-09-15 2020-09-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. METHOD AND DEVICE FOR SELECTING RESOURCES
RU2747701C1 (ru) * 2017-09-15 2021-05-13 Гуандун Оппо Мобайл Телекоммьюникейшнс Корп., Лтд. Способ и устройство для выбора ресурсов
US11259276B2 (en) 2017-09-15 2022-02-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for selecting resources
CN112689269A (zh) * 2019-10-17 2021-04-20 华为技术有限公司 一种侧行信息的传输方法、装置及系统
WO2022061736A1 (en) * 2020-09-25 2022-03-31 Lenovo (Beijing) Limited Methods and apparatuses for inter-ue coordination for a nr sidelink

Also Published As

Publication number Publication date
US10536928B2 (en) 2020-01-14
JP7032306B2 (ja) 2022-03-08
CN107005984B (zh) 2020-08-25
US20180167914A1 (en) 2018-06-14
US20200092852A1 (en) 2020-03-19
EP3322241B1 (en) 2022-12-28
EP3322241A1 (en) 2018-05-16
CN107005984A (zh) 2017-08-01
EP3322241A4 (en) 2018-09-12
KR102105501B1 (ko) 2020-04-28
US11277821B2 (en) 2022-03-15
JP2018527824A (ja) 2018-09-20
KR20180031010A (ko) 2018-03-27

Similar Documents

Publication Publication Date Title
WO2017028044A1 (zh) 一种减少资源冲突的方法及ue
EP3393145B1 (en) Access method and apparatus
US11071168B2 (en) Multi-station access method, apparatus, and system
US11589384B2 (en) Data transmission method, terminal device, and network device
WO2015096719A1 (zh) 一种d2d资源分配方法、数据传输方法及装置
JP6575948B2 (ja) アップリンクマルチユーザ伝送トリガフレームを送信するための方法、アクセスポイント、およびステーション
KR102087656B1 (ko) 디바이스 대 디바이스 통신 시스템에서 자원의 분산 스케줄링 방법 및 장치
JP6545912B2 (ja) メッセージ送信方法及びユーザ機器
EP3099095A1 (en) Method and device for determining and acquiring radio resource
CN110087328B (zh) 资源复用的方法和装置
JP6438132B2 (ja) データ送信方法、リソース測定方法、装置、及びデバイス
CN111615192A (zh) 传输数据的方法和通信装置
WO2018145302A1 (zh) 无线通信方法、终端设备和网络设备
KR101964104B1 (ko) 자원 할당 방법, 자원 경쟁 방법, 및 관련 장치
JP6474903B2 (ja) 無線通信システムおよび無線通信方法
JP2017510140A (ja) データ送信方法および端末
US20220394757A1 (en) Two-step rach transmissions using guard band in unlicensed spectrum
KR20200015785A (ko) 서브세트 제한이 있는 광대역을 통한 ue 랜덤 액세스를 위한 시스템 및 방법
WO2019051654A1 (zh) 一种逻辑信道的资源确定方法及装置、计算机存储介质
CN113747602B (zh) 一种通信方法及装置
WO2017132960A1 (zh) 一种上行信号的传输方法、ue及基站
CN117336876A (zh) 低延迟业务传输方法及系统
KR20180011110A (ko) 하위 계층에서의 패킷 쿼리-응답 트랜잭션들의 지원

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15901249

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20187004027

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018507517

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE