Detailed Description
To make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details are provided, such as specific configurations and components, merely to facilitate a thorough understanding of embodiments of the invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
In the embodiment of the present invention, the access network may be an access network including a Macro Base Station (Macro Base Station), a micro Base Station (Pico Base Station), a Node B (3G mobile Station), an enhanced Base Station (eNB), a Home enhanced Base Station (Femto eNB or Home eNode B or Home eNB or HeNB), a relay Station, an access point, a Remote Radio Unit (RRU), a Remote Radio Head (RRH Head), and the like. The user terminal may be a mobile phone (or handset), or other device capable of sending or receiving wireless signals, including user Equipment, a Personal Digital Assistant (PDA), a wireless modem, a wireless communicator, a handheld device, a laptop computer, a cordless phone, a Wireless Local Loop (WLL) station, a CPE (Customer premises Equipment) or a mobile smart hotspot capable of converting mobile signals into WiFi signals, a smart appliance, or other devices capable of autonomously communicating with a mobile communication network without human operation, etc.
Specifically, embodiments of the present invention provide a resource selection method, an apparatus, and a terminal, which solve the problem in the prior art that for a UE sensitive to power consumption, transmission reliability and power saving efficiency cannot be considered simultaneously when selecting resources.
First embodiment
As shown in fig. 1, an embodiment of the present invention provides a resource selection method applied to a terminal, such as a portable terminal (P-UE), and the method specifically includes the following steps:
step 11: selecting transmission resources for the first M transmissions of a service packet by performing resource sensing;
in this step, M is greater than or equal to 1, that is, the method includes selecting an initial transmission resource for the service packet only by performing resource sensing, or selecting an initial transmission resource and a part of retransmission resources for the service packet by performing resource sensing.
Specifically, by performing resource sensing, sensing information such as resource occupation conditions of other terminal nodes and reservation conditions of subsequent resources is obtained, and appropriate M transmission resources are selected for the service package according to the sensing information. Mainly involving two windows, a resource-aware window and a resource-selective window, the temporal relationship between the two windows being shown in fig. 2.
Step 12: randomly selecting transmission resources for N transmissions after M; wherein, N + M is the total transmission times of the service packet, N is more than or equal to 1, M is more than or equal to 1.
In this step, the N transmission resources are randomly selected in the resource selection window, or randomly selected in the resource selection window according to the existing sensing data, without additionally executing the resource sensing process.
For example, as shown in fig. 3, it is shown that only the initial transmission resource is selected through resource sensing, and each retransmission resource is randomly selected in the resource selection window.
In the embodiment, transmission resources are selected for the first M transmissions of the service packet by sensing, and the remaining N transmissions are randomly selected, so that for multiple transmissions, the number of time slots in a resource selection window can be greatly reduced, and the power saving efficiency of the terminal can be remarkably improved while the transmission reliability is considered.
In one embodiment, the step 11 includes:
determining Y time slots in a resource selection window, wherein Y is more than or equal to M;
aiming at each subframe Y in Y, performing resource perception on the subframe Y-P to obtain an available candidate resource set; wherein, P is at least one resource reservation period configured or preconfigured by a high layer;
selecting transmission resources for the first M transmissions of the traffic packet in the set of available candidate resources.
In the embodiment, the subframes in Y are excluded by sensing the resources of the subframes Y-P to obtain an available candidate resource set, and transmission resources are selected for the previous M transmissions of the service packet in the available candidate resource set, so that the probability of resource collision can be reduced, and the transmission reliability can be ensured.
Specifically, Y is determined according to a service priority and/or a size of a frequency resource occupied by the service packet.
Illustratively, the determining of the value Y according to the service priority includes: the system configures the minimum value of the Y value for each traffic priority. If the minimum value of the Y value configured by the system for the service priority 3 is 4slots, the autonomously determined Y value needs to be greater than 4slots for the service with the service priority 3 when the UE performs resource awareness.
For example, the determining of the value Y according to the frequency resource occupied by the service packet includes: a system configuration parameter z, Y = (z/k) × M; wherein z is the number of alternative resources corresponding to one transmission of the service packet, k is the number of alternative resources contained in each time slot, and M is the number of transmission times.
Illustratively, the adjusting the value Y according to the service priority and the frequency resource occupied by the service packet includes: the system defines a parameter mi for each service priority pi, and if the terminal selects 1 resource from Y as initial transmission and the service priority is 3, a corresponding parameter m3 is obtained according to the configuration; according to the size of the data packet, if the number of the alternative resources contained in each time slot is k, Y is larger than or equal to ceil (m 3/k), namely Y is larger than or equal to m3/k, and the corresponding numerical value is rounded up.
Further, in order to reserve the time for resource reselection for other terminals, in an embodiment, a time slot interval between at least two adjacent transmission resources is greater than a preset time length T3, where T3 is a value configured by a higher layer.
Wherein the at least two adjacent transmission resources may include:
(1) Two adjacent transmission resources at a specific position, for example, a time slot interval between the mth transmission resource and the M +1 th transmission resource is greater than a preset time length T3; if so, the time slot interval between the M-1 th transmission resource and the Mth transmission resource is greater than the preset time length T3;
(2) The time slot interval between any two adjacent transmission resources is greater than a preset time length T3;
(3) And aiming at the N transmissions after the M transmissions, the time slot interval between any two adjacent transmission resources in the N transmissions is larger than the preset time length T3.
In an embodiment, each transmission of the service packet carries direct link control information SCI, where the SCI carries indication information, and the indication information is used to indicate that the terminal does not perform resource preemption evaluation and/or resource re-evaluation.
Wherein, the resource re-evaluation means: for the selected resources that are not reserved by the transmitted SCI, the terminal UE may re-evaluate the resources, and perform resource reselection when a resource conflict occurs and a resource reselection condition is satisfied, as shown in fig. 4.
Resource preemption refers to: for the resource reserved by the sent SCI, the UE may perform preemption evaluation on the resource, and when a resource conflict occurs and a resource reselection condition is satisfied, perform resource reselection, as shown in fig. 5.
In this embodiment, the SCI is carried in each transmission of a service packet, and the SCI is used to indicate a time-frequency position of a subsequent transmission resource and also carries indication information used to indicate that the terminal does not perform resource preemption evaluation and/or resource re-evaluation.
Specifically, in an embodiment, the indication information indicates, by adding a preset bit information field in the SCI, that the terminal does not perform resource preemption evaluation and/or resource re-evaluation:
illustratively, by adding a bit information field (e.g. 1 bit) in the SCI to instruct the terminal not to perform resource preemption evaluation, in the case that the high-level configuration allows the terminal to start the preemption mechanism, the terminal may notify other terminals by using the bit information field, and the terminal does not perform preemption processing.
Illustratively, by adding a bit information field (e.g., 1 bit) in the SCI to indicate the terminal not to perform resource re-evaluation, in the case that the high-level configuration allows the terminal to start a re-evaluation mechanism, the terminal may notify other terminals using the bit information field, and the terminal does not perform re-evaluation processing.
It should be noted that the SCI may use different bit information fields to respectively represent that re-evaluation and resource preemption are not performed, or may use the same bit information field to simultaneously represent that re-evaluation and resource preemption are not performed.
In an embodiment, the method may further include: and a bit information field is added in the SCI to represent that other terminals are required to perform reselection avoidance when resource conflict occurs.
Further, as an implementation manner, the system is configured with a priority Pe, and when the service priority of the terminal is higher than the priority Pe configured by the system, the terminal has the right to use the newly added bit information field in the SCI to indicate that the terminal does not execute preemption or indicate that other terminals are required to perform reselection avoidance.
Illustratively, the new bit in the SCI is 1 to indicate that preemption is not to be performed, and the new bit in the SCI is 0 to indicate that preemption is to be performed. When the service priority of the terminal is higher than the priority Pe configured by the system, the terminal has the right to set the bit value in the newly-added bit in the SCI to be 1 so as to indicate that the preemption is not executed; if the service priority is lower than Pe, the newly added bit can only be set to 0.
In an embodiment, the indication information indicates, through the service priority carried in the SCI, that the terminal does not perform resource preemption evaluation and resource re-evaluation.
Illustratively, when the service priority carried in the SCI is the minimum value, the terminal is instructed not to execute resource preemption evaluation and re-evaluation; and when the service priority is other than the minimum value, indicating the terminal to execute resource preemption evaluation and resource re-evaluation.
In an embodiment, the resource indicated in the SCI is configured with a priority parameter Ps, and when the indication information carried in the SCI indicates that resource preemption evaluation is not performed, other terminals determine whether to perform resource reselection according to the priority parameter Ps and a minimum value (corresponding to a high priority between the priority parameter Ps and a service priority) in the service priority.
In an embodiment, the resource indicated by the SCI is configured with a priority parameter Ps, and the SCI further includes indication information and service priority for representing whether the terminal is a portable terminal;
when the indication information indicates that the terminal is a portable terminal, the minimum value (corresponding to the high priority of the priority parameter Ps and the service priority) of the priority parameter Ps and the service priority is used by other terminals to determine whether to perform resource reselection.
In one embodiment, the re-evaluation mechanism is enabled by a higher layer configuration, including at least one of:
the high layer configures whether a re-evaluation mechanism is started for the resource pool;
the high layer configures whether a re-evaluation mechanism is started for a certain type of terminal;
and the high layer configures whether a re-evaluation mechanism is started for a certain terminal.
In one embodiment, the activation of the preemption mechanism is configured by higher layers, including at least one of:
the high layer configures whether the resource pool starts a preemption mechanism;
the high layer configures whether a preemption mechanism is started for a certain type of terminal;
the high layer configures whether a terminal starts a preemption mechanism.
It should be noted that, in an optional embodiment, the terminal randomly selects L resources in the resource selection window as initial retransmission resources of the data packet, and ensures that a time slot interval between any two adjacent transmission resources is greater than a preset time length T3, where T3 is configured by a higher layer, and L is a total transmission frequency of the data packet.
Second embodiment
As shown in fig. 6, an embodiment of the present invention provides a resource selection apparatus 600, applied to a terminal, including:
a first selection module 601, configured to select transmission resources for the first M transmissions of a service packet by performing resource sensing;
a second selecting module 602, configured to randomly select a transmission resource for N transmissions after M transmissions; wherein, N + M is the total transmission times of the service packet, N is more than or equal to 1, M is more than or equal to 1.
Optionally, the first selecting module 601 includes:
the first selection submodule is used for determining Y time slots in the resource selection window, and Y is more than or equal to M;
the second selection submodule is used for carrying out resource perception on the subframes Y-P aiming at each subframe Y in the Y to obtain an available candidate resource set; wherein, P is at least one resource reservation period configured or preconfigured by a high layer;
a third selecting sub-module, configured to select, from the set of available candidate resources, transmission resources for the previous M transmissions of the service packet.
Optionally, Y is determined according to a service priority and/or a size of a frequency resource occupied by the service packet.
Optionally, a time slot interval between at least some adjacent two transmission resources is greater than the preset time length T3.
Optionally, each transmission of the service packet carries direct link control information SCI, where the SCI carries indication information, and the indication information is used to indicate that the terminal does not perform resource preemption evaluation and/or resource re-evaluation.
Optionally, the indication information indicates, by adding a preset bit information field in the SCI, that the terminal does not perform resource preemption evaluation and/or resource re-evaluation.
Optionally, the indication information indicates, through the service priority carried in the SCI, that the terminal does not perform resource preemption evaluation and resource re-evaluation.
The second embodiment of the present invention corresponds to the method of the first embodiment, and all the implementation means in the first embodiment are applied to the embodiment of the resource selection apparatus, so that the same technical effects can be achieved.
Third embodiment
In order to better achieve the above object, as shown in fig. 7, a third embodiment of the present invention further provides a terminal, including:
a processor 700; and a memory 720 connected to the processor 700 through a bus interface, wherein the memory 720 is used for storing programs and data used by the processor 700 when executing operations, and the processor 700 calls and executes the programs and data stored in the memory 720.
The transceiver 710 is connected to the bus interface, and is configured to receive and transmit data under the control of the processor 700; the processor 700 is used for reading the program in the memory 720 and executing the following steps:
selecting transmission resources for the first M transmissions of the service packet by performing resource sensing;
randomly selecting transmission resources for N transmissions after M; wherein, N + M is the total transmission times of the service packet, N is more than or equal to 1, M is more than or equal to 1.
Where in fig. 7, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 700 and memory represented by memory 720. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 710 may be a plurality of elements, i.e., including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. For different terminals, the user interface 730 may also be an interface capable of interfacing with a desired device, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 in performing operations.
Optionally, the selecting transmission resources for the first M transmissions of the service packet by performing resource sensing includes:
determining Y time slots in a resource selection window, wherein Y is more than or equal to M;
aiming at each subframe Y in Y, performing resource perception on the subframe Y-P to obtain an available candidate resource set; wherein, P is at least one resource reservation period configured or preconfigured by a high layer;
selecting transmission resources for the first M transmissions of the traffic packet in the set of available candidate resources.
Optionally, Y is determined according to a service priority and/or a size of a frequency resource occupied by the service packet.
Optionally, a time slot interval between at least some adjacent two transmission resources is greater than the preset time length T3.
Optionally, each transmission of the service packet carries direct link control information SCI, where the SCI carries indication information, and the indication information is used to indicate that the terminal does not perform resource preemption evaluation and/or resource re-evaluation.
Optionally, the indication information indicates, by adding a preset bit information field in the SCI, that the terminal does not perform resource preemption evaluation and/or resource re-evaluation.
Optionally, the indication information indicates, through the service priority carried in the SCI, that the terminal does not perform resource preemption evaluation and resource re-evaluation.
According to the scheme provided by the invention, transmission resources are selected for the first M transmissions of the service packet by sensing, and the remaining N transmissions are randomly selected, so that for multiple transmissions, the number of time slots in a resource selection window can be greatly reduced, and the power saving efficiency of the terminal can be remarkably improved while the transmission reliability is considered.
Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be performed by hardware, or may be instructed to be performed by associated hardware by a computer program that includes instructions for performing some or all of the steps of the above methods; and the computer program may be stored in a readable storage medium, which may be any form of storage medium.
In addition, the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method in the first embodiment. And the same technical effect can be achieved, and in order to avoid repetition, the description is omitted.
Furthermore, it is to be noted that in the device and method of the invention, it is obvious that the individual components or steps can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of performing the series of processes described above may naturally be performed chronologically in the order described, but need not necessarily be performed chronologically, and some steps may be performed in parallel or independently of each other. It will be understood by those skilled in the art that all or any of the steps or elements of the method and apparatus of the present invention may be implemented in any computing device (including processor, storage medium, etc.) or network of computing devices, in hardware, firmware, software, or any combination thereof, which can be implemented by those skilled in the art using their basic programming skills after reading the description of the present invention.
Thus, the objects of the invention may also be achieved by running a program or a set of programs on any computing device. The computing device may be a general purpose device as is well known. The object of the invention is thus also achieved solely by providing a program product comprising program code for implementing the method or the apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is to be understood that such storage media can be any known storage media or any storage media developed in the future. It is further noted that in the apparatus and method of the present invention, it is apparent that each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of executing the series of processes described above may naturally be executed chronologically in the order described, but need not necessarily be executed chronologically. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.