WO2018120663A1 - Resource selection method and terminal - Google Patents
Resource selection method and terminal Download PDFInfo
- Publication number
- WO2018120663A1 WO2018120663A1 PCT/CN2017/088144 CN2017088144W WO2018120663A1 WO 2018120663 A1 WO2018120663 A1 WO 2018120663A1 CN 2017088144 W CN2017088144 W CN 2017088144W WO 2018120663 A1 WO2018120663 A1 WO 2018120663A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- attribute
- terminal
- target
- signal strength
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/02—Selection of wireless resources by user or terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a resource selection method and a terminal.
- D2D communication based on cellular network is also called Proximity Service (ProSe) in the 3rd Generation Partnership Project (3GPP), and D2D communication allows terminal By directly communicating by multiplexing cell resources, the spectrum efficiency of the cellular communication system can be increased and the terminal transmission power can be reduced, which alleviates the problem of lack of spectrum resources in the wireless communication system to some extent.
- ProSe Proximity Service
- 3GPP 3rd Generation Partnership Project
- V2V vehicle to vehicle
- V2I vehicle to infrastructure
- V2P vehicle to pedestrian
- V2V vehicle to pedestrian
- V2I vehicle to infrastructure
- V2P vehicle to pedestrian
- V2X Vehicle to everything
- V2X is the key technology for future intelligent transportation systems, allowing cars to communicate continuously with all other nearby vehicles and road infrastructure, than between cars such as traffic lights, campuses and railroad crossings.
- Communication which can undertake communication tasks in a car, may be an embedded telematics system in a car, or a mobile device such as a smartphone on a car, and the like.
- an in-vehicle UE supporting a V2X application or a UE related to a road user supporting a V2X application can transmit V2P application information.
- the service traffic of the communication terminal in the V2X communication is cyclical.
- the shortest period of the Cooperative Awareness Message (CAM) is 100 ms, and the longest period is 1 s.
- the terminal can predict the next possible according to the periodicity of the traffic.
- the V2X specifically adds a resource reservation scheme for the terminal to reserve communication resources for the predicted traffic.
- the terminal can inform other terminals that it wants to reserve some time-frequency resources in the future.
- the terminal should consider the resources reserved by other terminals, and try to avoid selecting resources that other terminals have reserved, that is, the terminal should monitor when selecting time-frequency resources.
- the terminal excludes some resources that have been reserved by other terminals, and then randomly selects one resource as the reserved resource among the remaining communication resources. How to select resources in detail is a technical problem that those skilled in the art are studying.
- the embodiment of the invention discloses a resource selection method and a terminal, which can make the terminal more convenient to select a suitable resource.
- a first aspect of the embodiments of the present invention discloses a resource selection method, where the method includes: determining, by a terminal, a target resource from at least one resource according to an attribute of a resource, where each resource has a respective attribute and each of the at least one resource
- the attribute of the resource is one of at least one attribute, and the at least one attribute includes an overlapping attribute and/or a non-overlapping attribute;
- the resource of the overlapping attribute is a resource that can be used by multiple services, and the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a resource that can be used in multiple resource selection manners, and the resource of the non-overlapping attribute is a resource selection in the multiple resource selection manner
- the resources that can be used in the way includes: determining, by a terminal, a target resource from at least one resource according to an attribute of a resource, where each resource has a respective attribute and each of the at least one resource
- the attribute of the resource
- the terminal selects the target resource from the at least one resource ordering
- the terminal selects the target resource according to the attribute that is allocated for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily accessed from the at least one resource. Select the resource you want to choose.
- the multiple services comprise P2X related V2X side-link communication and non-P2X-related V2X side-link communication.
- the multiple resource selection manner includes a monitoring resource selection manner and a random selection based The way resources are selected.
- the terminal determines the target resource from the at least one resource according to the attribute of the resource, including: The terminal determines the target attribute in at least one attribute; the terminal determines, in the at least one resource, the attribute as the target resource of the target attribute.
- the terminal determining the target attribute in the at least one attribute includes: The probability corresponding to each attribute in an attribute determines the target attribute in the at least one attribute.
- each of the at least one attribute corresponds to a probability
- the at least one The sum of the probabilities corresponding to each attribute in the attribute is equal to 1.
- the terminal determining the target attribute in the at least one attribute including: the terminal according to the at least The channel occupancy rate CBR, congestion level, and utilization of resources for each attribute in an attribute determine the target attribute.
- the terminal determines the target resource from the at least one resource according to the attribute of the resource, including: The terminal determines the target resource according to the attribute of each resource in at least one resource and the received signal strength, and the received signal strength of each resource is the signal strength received by the terminal on the resource.
- the terminal determines the target according to the attribute of each resource and the received signal strength of the at least one resource
- the resource includes: the terminal sorts the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the received signal strength of the each resource; the terminal sorts the result according to the at least one resource Identify target resources.
- the terminal determines the target according to the attribute of each resource and the received signal strength of the at least one resource
- the resource includes: the terminal determining the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource.
- the terminal according to the received signal strength of each resource in the at least one resource, and the each The weighting factor corresponding to the attribute of the resource determines the target resource, the method includes: the terminal multiplying the received signal strength of each resource in the at least one resource by a weighting factor corresponding to the attribute of each resource, to obtain a metric of each resource Value; the terminal is based on The metric value of each resource in the at least one resource sorts the at least one resource; the terminal determines the target resource according to the ranking result of the at least one resource.
- the weighting factor corresponding to each attribute of the at least one attribute is a network side device Or configured, or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or the weighting factor corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR of the resource according to each attribute, congestion At least one of the degree and utilization is determined.
- the terminal before determining the target resource from the at least one resource according to the attribute of the resource, The method includes: the terminal receiving the indication information sent by the network side device; the terminal determining, according to the indication information, whether to perform the operation of determining the target resource from the at least one resource according to the attribute of the resource.
- the terminal before determining the target resource from the at least one resource according to the attribute of the resource, The method includes: determining, by the terminal, whether to perform the operation of determining the target resource from the at least one resource according to the attribute of the resource according to at least one of a channel occupancy rate CBR, a congestion degree, and a utilization rate of the resource.
- an embodiment of the present invention provides a terminal, where the terminal includes a processor and a memory, where the memory is used to store an instruction, and the processor is configured to invoke an instruction in the memory to perform an operation of: at least one according to an attribute of a resource.
- Determining a target resource in the resource, each of the at least one resource having its own attribute and the attribute of each resource is one of at least one attribute including an overlapping attribute and/or a non-overlapping attribute
- the resource of the overlapping attribute is a resource that can be used by a plurality of services, and the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a plurality of resource selection modes.
- a resource that can be used, and the resource of the non-overlapping attribute is a resource that can be used in one of the multiple resource selection modes.
- the terminal selects the target resource from the at least one resource ordering
- the terminal selects the target resource according to the attribute that is allocated for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily accessed from the at least one resource. Select the resource you want to choose.
- the plurality of services includes P2X-related V2X side-link communication and non-P2X-related V2X side-link communication.
- the multiple resource selection manner includes a monitoring resource selection manner and a random selection based The way resources are selected.
- the processor determines the target resource from the at least one resource according to the attribute of the resource, specifically Determining a target attribute in at least one attribute; determining the attribute as a target resource of the target attribute in at least one resource.
- the processor determines the target attribute in the at least one attribute, specifically: The probability corresponding to each attribute in an attribute determines the target attribute in the at least one attribute.
- the probability that each of the at least one attribute corresponds to the network side device configuration; or the probability that each of the at least one attribute corresponds to the pre-configured; or each of the at least one attribute is determined according to at least one of channel occupancy rate CBR, congestion degree, and utilization of the resource of each attribute.
- each of the at least one attribute corresponds to a probability
- the at least one The sum of the probabilities corresponding to each attribute in the attribute is equal to 1.
- the processor determines the target attribute in the at least one attribute, specifically: The channel occupancy rate CBR, congestion level, and utilization of resources for each attribute in an attribute determine the target attribute.
- the processor determines the target resource from the at least one resource according to the attribute of the resource, specifically Determining a target resource according to an attribute of each resource in at least one resource and a received signal strength, where the received signal strength of each resource is a signal strength received by the terminal on the resource.
- the processor is determined according to an attribute of each resource and a received signal strength of the at least one resource
- the target resource is specifically: sorting the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the received signal strength of the each resource; determining according to the sorting result of the one resource Target resources.
- the processor is determined according to an attribute of each resource in the at least one resource and a received signal strength
- the target resource is specifically configured to: determine the target resource according to the received signal strength of each resource in the at least one resource and the weight factor corresponding to the attribute of each resource.
- the processor according to the received signal strength of each resource in the at least one resource, The weighting factor corresponding to the attribute of each resource determines the target resource, specifically: multiplying the received signal strength of each resource in the at least one resource by a weighting factor corresponding to the attribute of each resource, to obtain a metric of each resource a value; sorting the at least one resource according to the metric value of each of the at least one resource; determining the target resource according to the ranking result of the at least one resource.
- the weighting factor corresponding to each attribute of the at least one attribute is a network side device Or configured, or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or the weighting factor corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR of the resource according to each attribute, congestion At least one of the degree and utilization is determined.
- the processor before determining the target resource from the at least one resource according to the attribute of the resource, The processor is further configured to: receive the indication information sent by the network side device; and determine, according to the indication information, whether to perform the operation of determining the target resource from the at least one resource according to the attribute of the resource.
- an embodiment of the present invention provides a terminal, where the terminal includes a determining unit, where the determining unit is configured to determine a target resource from at least one resource according to an attribute of a resource, where each resource has a respective attribute And the attribute of each resource is one of at least one attribute, where the at least one attribute includes an overlapping attribute and/or a non-overlapping attribute; the resource of the overlapping attribute is a resource that can be used by multiple services, and the non-overlapping The resource of the attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a resource that can be used in multiple resource selection manners, and the resource of the non-overlapping attribute is selected by the multiple resource selection manner.
- a resource that can be used in a resource selection manner is a resource that can be used by a plurality of terminals
- the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of terminals.
- the terminal selects the target resource from the at least one resource sorting
- the terminal selects the target resource according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily accessed from the at least one resource. Select the resource you want to choose.
- the plurality of services includes P2X-related V2X side-link communication and non-P2X-related V2X side-link communication.
- the multiple resource selection manner includes a monitoring resource selection manner and a random selection based The way resources are selected.
- the determining unit includes a first determining subunit and a second determining subunit, where the A determining subunit is configured to determine a target attribute in the at least one attribute; the second determining subunit is configured to determine, in the at least one resource, the attribute as the target resource of the target attribute.
- the first determining subunit is specifically configured to use each attribute according to the at least one attribute The corresponding probability determines the target attribute in the at least one attribute.
- each of the at least one attribute corresponds to a probability
- the at least one The sum of the probabilities corresponding to each attribute in the attribute is equal to 1.
- the first determining subunit is specifically configured to use each attribute according to the at least one attribute
- the channel occupancy rate CBR, congestion level, and utilization of the resource determine the target attribute.
- the second determining sub-unit is specifically configured to be used according to each resource in the at least one resource
- the attribute and the received signal strength determine a target resource, and the received signal strength of each resource is the signal strength received by the terminal on the resource.
- the second determining sub-unit is configured according to the attribute and the receiving of each resource in the at least one resource Signal strength Determining the target resource, specifically: sorting the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the received signal strength of the each resource; according to the sorting result of the one resource Identify target resources.
- the second determining unit according to the attribute and the received signal of each resource in the at least one resource
- the strength determining the target resource is specifically: determining the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource.
- the second determining subunit is configured according to the received signal of each resource in the at least one resource
- the weighting factor corresponding to the strength and the attribute of each resource determines the target resource, specifically: multiplying the received signal strength of each of the at least one resource by a weighting factor corresponding to the attribute of each resource, to obtain each a metric of the resource; sorting the at least one resource according to the metric value of each of the at least one resource; determining the target resource according to the ranking result of the at least one resource.
- the weighting factor corresponding to each attribute of the at least one attribute is a network side device Or configured, or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or the weighting factor corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR of the resource according to each attribute, congestion At least one of the degree and utilization is determined.
- the terminal further includes a receiving unit and a determining unit, where the receiving unit is configured to The determining unit receives the indication information sent by the network side device before determining the target resource from the at least one resource according to the attribute of the resource; the determining unit is configured to determine, according to the indication information, whether the determining unit is determined from the at least one resource according to the attribute of the resource. The operation of the target resource.
- the terminal further includes a computing unit, where the calculating unit is configured to determine, according to the resource Before determining the target resource from the at least one resource, determining, according to at least one of the channel occupancy rate CBR, the congestion degree, and the utilization rate of the resource, whether to trigger the determining unit to determine the target resource from the at least one resource according to the attribute of the resource .
- an embodiment of the present invention provides a readable storage medium, the readable storage medium including instructions that, when executed on a processor, enable the first aspect or any of the possible implementations of the first aspect.
- the terminal when the terminal selects the target resource from the at least one resource order, the terminal is selected according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily from the at least Select a resource from the resource you want to select.
- FIG. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 2 is a schematic flowchart of a resource selection method according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of a terminal 10 according to an embodiment of the present invention.
- the terminal 10 includes a processor 101, a memory 102, and a transceiver 103, and the processor 101, the memory 102, and the transceiver 103 can be connected to each other through a bus.
- the bus may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus.
- ISA industry standard architecture
- PCI peripheral component interconnect
- EISA extended industry standard architecture
- the transceiver 103 (including a modem) can be coupled to an antenna for converting electromagnetic waves received by the antenna into current and ultimately into digital signals. Accordingly, the transceiver 103 is further configured to output the terminal 10 The digital signal is converted into a current and then converted into an electromagnetic wave, which is finally transmitted into the free space through the antenna.
- the transceiver 103 can also include at least one amplifier for amplifying the signal.
- wireless transmission can be performed through the transceiver 103, such as Bluetooth transmission, wireless guarantee (WI-FI) transmission, third generation mobile communication technology (3rd-Generation, 3G) transmission, The 4th Generation mobile communication (4G) transmission, Long Term Evolution (LTE) transmission, 5th-generation mobile communication technology (5G), and the like.
- the memory 102 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an Erasable Programmable Read Only Memory (EPROM), or A memory read-only memory (CD-ROM), the memory 102 may specifically include a storage instruction area and a storage data area, where the storage instruction area is used to store instructions required for the processor 101 to run, and to store data. The area is used to store pre-configured data or data generated by the operation of the processor 101.
- RAM random access memory
- ROM read-only memory
- EPROM Erasable Programmable Read Only Memory
- CD-ROM memory read-only memory
- the memory 102 may specifically include a storage instruction area and a storage data area, where the storage instruction area is used to store instructions required for the processor 101 to run, and to store data. The area is used to store pre-configured data or data generated by the operation of the processor 101.
- the processor 101 is a control center of the terminal 10, and connects various parts of the entire terminal 10 by various interfaces and lines, and executes various items of the terminal 10 by running a program stored in the memory 102 and calling data stored in the memory 101.
- the distance sensor may be used when reversing and controlling the distance. Therefore, the terminal 10 may be configured with a distance sensor 104, and the processor 101 may control the distance by calling a program in the memory 102. Sensor 104 collects distance data.
- the processor 101 may include one or more application processors, for example, a central processing unit (CPU). In the embodiment of the present invention, the processor 101 can execute the method flow shown in FIG. 2 by calling instructions and data in the memory.
- FIG. 2 is a schematic flowchart of a resource selection method according to an embodiment of the present invention.
- the method may be implemented based on the terminal shown in FIG. 1, and the method includes but is not limited to the following steps:
- Step S201 The terminal determines the target resource from the at least one resource according to the attribute of the resource.
- the terminal needs to use resources (also referred to as “time-frequency resources”) when transmitting data or signals.
- resources also referred to as “time-frequency resources”
- the terminal needs to select (or “determine”) the appropriate resources before transmitting the data or signals, which may be called determining.
- the resource used to transmit data or signals is the target resource.
- the resource to be selected may be one or more.
- the embodiment of the present invention is generally referred to as a candidate resource as at least one resource, and each resource of the at least one resource has a respective attribute and the attribute of each resource is at least one.
- the quantity of the at least one attribute may be preset, for example, the at least one attribute is two attributes, and the two attributes are specifically attribute 1 and attribute 2, and the at least one resource is 30 assets Source, the attribute of 10 of the 30 resources is attribute 1 and the attribute of the other 20 resources is attribute 2.
- Each of the at least one resource may be pre-defined or may be categorized in real time by a predetermined algorithm.
- the at least one attribute includes at least an overlapping attribute.
- the at least one attribute includes at least a non-overlapping attribute.
- the at least one attribute includes at least an overlapping attribute and a non-overlapping attribute, and the overlapping attribute and Non-overlapping attributes may also have other names.
- overlapping attributes may also be referred to as "shared" attributes
- non-overlapping attributes may also be referred to as "non-shared" attributes.
- the resource of the overlapping attribute is a resource that can be used by multiple pre-planned resources
- the resource of the non-overlapping attribute is a resource that can be used by one of the multiple services (that is, only one type of service is used for the
- the resources of the attribute have selection rights.
- the plurality of services include P2X-related V2X side-link communication and non-P2X-related V2X side-link communication.
- the resource of the overlapping attribute is a resource that can be used in multiple resource selection manners
- the resource of the non-overlapping attribute is a resource that can be used in one of the multiple resource selection modes
- the multiple Resource selection methods include monitoring based resource selection methods and resource selection methods based on random selection.
- step S2011-S2012 there are many possibilities in the specific implementation of the step S201.
- step S2016 is the step S2016, as follows:
- the first option is:
- Step S2011 The terminal determines an attribute in at least one attribute.
- the embodiment of the present invention uses a certain rule to determine an attribute from the preset at least one attribute as a target attribute, so as to subsequently select resources from the resources belonging to the target attribute (each resource has its own attribute and the resource
- the attribute is one of the at least one attribute, and the attributes of the two different resources may be the same or different.
- the solution A determining, by the terminal, the target attribute in the at least one attribute, where the terminal determines the target attribute in the at least one attribute according to the probability corresponding to each attribute of the at least one attribute, for example, according to the preset
- the rule generates a value; and determining an attribute in the at least one attribute according to the magnitude relationship of the value and the probability corresponding to each of the at least one attribute obtained in advance, and the determined attribute is the target attribute.
- each attribute of the at least one attribute corresponds to a probability, and a sum of probabilities corresponding to each attribute is equal to 1.
- the probability corresponding to each attribute of the at least one attribute is configured by the network side device.
- the base station sends a message to the terminal, where the message carries the probability corresponding to each attribute.
- the probability corresponding to each attribute of the at least one attribute is pre-configured in the terminal, for example, the probability of each attribute corresponding to each attribute is pre-stored in the memory of the terminal, and, for example, the card inserted by the user into the terminal (For example, a Subscriber Identification Module (SIM) card, a memory card) or a chip or a magnetic strip carries the probability that each attribute corresponds to each.
- SIM Subscriber Identification Module
- the probability that each attribute of the at least one attribute corresponds to is determined according to at least one of a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute, for example, the at least one attribute is included
- the UE separately measures the CBR of the overlapping attribute resource and the CBR of the non-overlapping attribute resource, and the larger the ratio of the CBR of the resource of the non-overlapping attribute to the CBR of the resource of the overlapping attribute, the more the probability of determining the non-overlapping attribute is Low, in short, the probability of each attribute can be calculated according to the CBR of the resource, but the specific calculation details are not limited here.
- Solution B The terminal determines the target attribute in the at least one attribute, which may be specifically: according to the at least one attribute At least one of the CBR, the degree of congestion, and the utilization of the resource of each attribute selects one attribute from the at least one attribute, and the selected attribute is the target attribute. For example, the terminal acquires (eg, measures) the CBR of each resource of the overlapping attribute, and then calculates the average CBR of the resource of the overlapping attribute according to the CBR of each resource of the overlapping attribute, if the CBR of the resource of the overlapping attribute is higher than or equal to a certain A preset threshold determines a non-overlapping attribute.
- the terminal acquires (eg, measures) the CBR of each resource of the overlapping attribute, and then calculates the average CBR of the resource of the overlapping attribute according to the CBR of each resource of the overlapping attribute, if the CBR of the resource of the overlapping attribute is higher than or equal to a certain
- a preset threshold determines a non-overlapping attribute.
- the terminal acquires (eg, measures) the CBR of each resource of the non-overlapping attribute, and then calculates the average CBR of the resource of the non-overlapping attribute according to the CBR of each resource of the non-overlapping attribute, if the average CBR of the resource of the non-overlapping attribute is lower than or Equal to a preset threshold to determine non-overlapping attributes.
- Step S2012 The terminal determines, in at least one resource, a target resource whose attribute is the target attribute.
- the terminal selects a resource whose attribute is the target attribute from the at least one resource, and the quantity of the selected resource. It can be one or more; it can be selected randomly when it is selected, or it can be selected according to a predefined rule.
- the terminal selects the target attribute before selecting the resource, and then selects the required resource from the resources belonging to the target attribute.
- the advantage of this is that the policy can be configured to make the terminal select the selected one.
- the probability that the target attribute is a non-overlapping attribute is larger, so that the terminal can more easily select the resource of the non-overlapping attribute, and can avoid the resource selected by the terminal to be the same as the resource used by other devices, thereby reducing the conflict of resource usage.
- the second option is:
- Step S2016 The terminal determines a target resource according to an attribute of each resource in at least one resource and a received signal strength, where a received signal strength of each resource is a received signal strength received by the terminal on the resource, that is, When determining the target resource, at least two kinds of information, such as the attribute of the resource and the strength of the received signal, need to be considered. However, the specific information of the two kinds of information is not limited herein. Two implementation modes are listed below to facilitate understanding.
- Implementation manner 1 The terminal determines the target resource according to the attribute of each resource in at least one resource and the received signal strength, which may be specifically:
- the terminal sorts the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the signal receiving strength of the each resource, that is, the sorting needs at least the resource consideration
- the priority of the attribute is higher than the priority of the received signal strength; for example, the resources of the first type and the second type are shared among the at least one resource, all first
- the resources of the class are ranked before all the resources of the second class.
- the resource with the stronger received signal strength in each class of resources is ranked higher. That is, in the first class of resources, the resource with higher received signal strength is ranked higher.
- the resource with the higher received signal strength is ranked higher; optionally, the first type is a non-overlapping attribute, and the second type is an overlapping attribute.
- the terminal determines the target resource according to the sorting result of the at least one resource, for example, directly selecting the resource as the target resource from the sorted result, or selecting from the first to the last Tth resources from the sorted list
- the resource is used as the target resource, or the resource is selected as the target resource from the first to the right T-th resource in the sorted list, and T is greater than or equal to 1.
- it can be selected according to a preset algorithm, such as a random algorithm.
- the terminal determines the target resource according to the attribute of each resource and the received signal strength of the at least one resource, and may be specifically: the terminal determines, according to the received signal strength of each resource in the at least one resource, and the weighting factor corresponding to the attribute of each resource.
- Target resources Each of the at least one attribute corresponds to a respective weighting factor, two different attributes The corresponding weighting factors are generally not equal (but do not exclude equal possibilities).
- the at least one attribute refers to an overlapping attribute and a non-overlapping attribute, wherein the overlapping attribute corresponds to a weighting factor of 0.3, and the non-overlapping attribute corresponds to a weight.
- the factor is 0.7, and the weighting factor corresponding to the attribute of the resource and the received signal strength of the resource are determined in determining the target resource.
- the weighting factor corresponding to each attribute of the at least one attribute is configured by the network side device.
- the base station sends a message to the terminal, where the message carries a weighting factor corresponding to each attribute.
- the weighting factor corresponding to each attribute of the at least one attribute is pre-configured, for example, the weighting factor corresponding to each attribute is pre-stored in the memory of the terminal, and, for example, the card inserted by the user into the terminal (for example, A Subscriber Identification Module (SIM) card, a memory card, or a chip or a magnetic strip carries a weighting factor corresponding to each attribute.
- SIM Subscriber Identification Module
- the weighting factor corresponding to each attribute of the at least one attribute is determined according to at least one of a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute, for example, if the at least one attribute is included
- the UE respectively measures the CBR of each resource of the overlapping attribute and the CBR of each resource of the non-overlapping attribute, and then calculates the average CBR of the resource of the overlapping attribute according to the CBR of each resource of the overlapping attribute, and according to the non-overlapping
- the CBR of each resource of the attribute calculates the average CBR of the resource of the non-overlapping attribute, and the larger the ratio of the average CBR of the resource of the non-overlapping attribute to the average CBR of the resource of the overlapping attribute, the lower the weighting factor of the non-overlapping attribute is determined, in general,
- the weighting factor of each attribute can be calculated according to the CBR of the resource, but the specific calculation details are not limited herein.
- the terminal determines the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource, which may be specifically:
- the terminal multiplies the received signal strength of each resource in the at least one resource by a weight factor corresponding to the attribute of each resource to obtain a metric value of each resource; for example, the at least one attribute includes an overlapping attribute. And non-overlapping attributes, wherein the overlapping attribute corresponds to a weighting factor of 0.3, and the non-overlapping attribute corresponds to a weighting factor of 0.7; assuming that the at least one resource refers to resource 1, resource 2, resource 3, resource 4, resource 5, and resource 6, wherein the resource 1 belongs to the resource of the overlapping attribute and the received signal strength is 50, the resource 2 belongs to the resource of the overlapping attribute, and the received signal strength is 200, the resource 3 belongs to the overlapping attribute, and the received signal strength is 400, and the resource 4 belongs to the non- If the resource with overlapping attributes and the received signal strength is 50, the resource 5 belongs to the non-overlapping attribute, and the received signal strength is 200, the resource 6 belongs to the non-overlapping attribute, and the received signal strength is 400, then the metric of the resource 1
- the metric of resource 4 is equal to 50.
- the terminal sorts the at least one resource according to the metric value of each resource in the at least one resource; for example, the principle of sorting may be that the metric value corresponding to the resource is smaller, and the resource ranking is higher, with the above six resources. If the metric value is sorted by example, the order from the going to the back is: resource 1, resource 4, resource 2, resource 3, resource 5, and resource 6.
- the terminal determines the target resource according to the sorting result of the at least one resource, for example, directly selecting the resource as the target resource from the sorted result, or selecting the resource from the first to the last Tth resource species in the sorted list.
- the target resource or from the ordered list from the first to the t-th resource, the resource is selected as the target resource, and T is greater than or equal to 1.
- it can be selected according to a preset algorithm, such as a random algorithm.
- the metric value of each resource is not directly calculated according to the received signal strength of the at least one resource, but the metric value of each resource is calculated according to the weighting factor corresponding to the attribute of each resource. And then sorting the at least one resource according to the metric value of each resource in the at least one resource, and finally selecting the required resource from the sorting result; the advantage of doing so is that the terminal can be configured by using a weighting factor of various attributes. It's easier to choose the resources you want to choose.
- Step S202 The terminal sends data or a signal through the target resource.
- the terminal may use the target resource to send data or a signal immediately after determining the target resource; of course, the target resource may also be a resource that is determined by the terminal to send data or signals at a certain moment in the future or for a certain type of information.
- the reserved resource when the time of using the target resource is reached, the terminal sends data or signals through the target resource.
- the foregoing steps S201-S202 describe the process of selecting a resource by the terminal, and there may be indication information for triggering the process.
- the indication information has at least the following two situations: In case one, the indication information may be pre-configured in the terminal (for example, The terminal stores the memory, the chip, the card, and the like, and the terminal can read the indication information to determine whether the process needs to be performed. If it is determined that the process needs to be performed, the process is executed, and if it is determined that the foregoing process is not required to be performed, The process does not perform the above process. In the second case, the network side device sends the indication information to the terminal (other indications may also exist, for example, a trigger message).
- the terminal receives the indication information and determines whether it is needed according to the indication information.
- the above process is executed, and if it is determined that the above process needs to be executed, the above process is executed, and if it is determined that the above process is not required, the above process is not executed.
- the indication information directly indicates whether the terminal needs to perform the above process.
- the indication information indicates a resource attribute, and the terminal determines, according to the resource attribute, whether to execute the foregoing process.
- the indication information indicates that the resource is a resource of an overlapping attribute, or the indication information indicates that the resource can be used by the terminal while other information indicates that the resource can also be used by other devices, or the indication information indicates that the resource can be used by other devices while other information indicates resources. It can also be used by the terminal, so that the terminal can determine (and possibly other information) according to the indication information that the resource is a resource of overlapping attributes.
- the terminal triggers the foregoing process.
- the terminal does not trigger the foregoing process.
- the indication information indicates at least one of CBR, congestion degree, and utilization of the resource
- the terminal determines whether to perform the foregoing process according to the content indicated by the indication information, for example, when the CBR of the resource (or the degree of congestion of the resource, or When the resource utilization rate is higher than or equal to a certain threshold, the terminal triggers the above process.
- the terminal when the terminal selects a target resource from at least one resource order, it is selected according to an attribute that is previously divided for each resource, and the attribute may be specially configured according to requirements in advance, so that the terminal is more easily Selecting the resource to be selected among the at least one resource.
- FIG. 3 is a schematic structural diagram of a terminal 30 according to an embodiment of the present invention.
- the terminal 30 includes at least a determining unit 301, where the determining unit 301 is configured to determine a target resource from at least one resource according to an attribute of a resource.
- Each of the at least one resource has its own attribute and the attribute of each resource is one of at least one attribute, the at least one attribute including an overlapping attribute and/or a non-overlapping attribute; a resource of the overlapping attribute A resource that can be used for a plurality of services, where the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a resource that can be used by multiple resource selection modes, The resource of the non-overlapping attribute is a resource that can be used in one of the multiple resource selection modes.
- the terminal when the terminal selects the target resource from the at least one resource sorting, the terminal is selected according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements in advance, so that the terminal is more easily Selecting the resource to be selected among the at least one resource.
- the plurality of services includes P2X related V2X sidelink communications and non-P2X related V2X sidelink communications.
- the multiple resource selection manners include a monitoring based resource selection manner and a random selection based resource selection manner.
- the determining unit includes a first determining subunit and a second determining subunit, the first determining subunit is configured to determine a target attribute in at least one attribute; the second determining subunit A target resource for determining an attribute as the target attribute in at least one resource.
- the first determining subunit is specifically configured to determine the target attribute among the at least one attribute according to a probability corresponding to each attribute of the at least one attribute.
- the probability that each of the at least one attribute corresponds to the network side device configuration; or the probability that each of the at least one attribute corresponds to the pre-configured; or the at least The probability corresponding to each attribute of an attribute is determined according to at least one of channel occupancy rate CBR, congestion level, and utilization of the resource of each attribute.
- each of the at least one attribute corresponds to a probability, and a sum of probabilities corresponding to each of the at least one attribute is equal to 1.
- the first determining sub-unit is specifically configured to determine the target attribute according to a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute in the at least one attribute.
- the second determining subunit is specifically configured to determine, according to an attribute of each resource in the at least one resource, and a received signal strength, where the received signal strength of the resource is that the terminal is in the The strength of the signal received on the resource.
- the second determining subunit determines the target resource according to the attribute of each resource in the at least one resource and the received signal strength, specifically: the at least the attribute of each resource in the at least one resource A resource is sorted, and each resource of the same attribute is sorted according to the size of the received signal strength of the respective resources; and the target resource is determined according to the sort result of the one resource.
- the second determining unit determines the target resource according to the attribute of each resource in the at least one resource and the received signal strength, specifically: according to the received signal strength of each resource in the at least one resource, and the The weighting factor corresponding to the attribute of each resource determines the target resource.
- the second determining subunit determines the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource, specifically: the at least one The received signal strength of each resource in the resource is multiplied by a weighting factor corresponding to the attribute of each resource to obtain a metric value of each resource; and the at least one resource is sorted according to the metric value of each resource in the at least one resource. Determining the target resource according to the sorting result of the at least one resource.
- the weighting factor corresponding to each attribute of the at least one attribute is configured by the network side device; or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or The weighting factor corresponding to each of the at least one attribute is determined according to at least one of a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute.
- the terminal further includes a receiving unit and a determining unit, where the receiving unit is used to determine The determining unit receives the indication information sent by the network side device before determining the target resource from the at least one resource according to the attribute of the resource; the determining unit is configured to determine, according to the indication information, whether the determining unit is determined from the at least one resource according to the attribute of the resource. The operation of the target resource.
- the terminal further includes a calculating unit, configured to: according to the channel occupancy rate CBR and congestion level of the resource, before the determining unit determines the target resource from the at least one resource according to the attribute of the resource And determining, by at least one of the utilization rates, an operation of determining, by the determining unit, the target resource from the at least one resource according to the attribute of the resource.
- a calculating unit configured to: according to the channel occupancy rate CBR and congestion level of the resource, before the determining unit determines the target resource from the at least one resource according to the attribute of the resource And determining, by at least one of the utilization rates, an operation of determining, by the determining unit, the target resource from the at least one resource according to the attribute of the resource.
- terminal 30 may also refer to the detailed description of the method embodiment shown in FIG. 2 .
- the terminal 30 shown in FIG. 3 when the terminal selects a target resource from at least one resource ordering, it is selected according to an attribute that is previously divided for each resource, and the attribute may be specially configured in advance according to requirements, making the terminal easier. Select from the at least one resource to the resource that you want to select.
- the terminal selects the target resource from the at least one resource order
- the terminal is selected according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily from the at least one resource. Select the resource you want to select.
- the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本发明涉及计算机技术领域,尤其涉及一种资源选择方法及终端。The present invention relates to the field of computer technologies, and in particular, to a resource selection method and a terminal.
基于蜂窝网络的设备对设备(Device-to-Device,D2D)通信在第三代合作伙伴计划(The3rd Generation Partnership Project,3GPP)中又称为邻近服务(Proximity Service,ProSe),D2D通信允许终端之间通过复用小区资源直接进行通信,能够增加蜂窝通信系统的频谱效率和降低终端发射功率,在一定程度上缓解了无线通信系统中频谱资源匮乏的问题。Device-to-Device (D2D) communication based on cellular network is also called Proximity Service (ProSe) in the 3rd Generation Partnership Project (3GPP), and D2D communication allows terminal By directly communicating by multiplexing cell resources, the spectrum efficiency of the cellular communication system can be increased and the terminal transmission power can be reduced, which alleviates the problem of lack of spectrum resources in the wireless communication system to some extent.
D2D在现实生活中的应用场景包括车对车(vehicle to vehicle,V2V)和车对基础设施(vehicle to infrastructure,V2I),车对行人(vehicle to pedestrian,V2P),V2V、V2I和V2P都属于车联网(vehicle to everything,V2X),V2X是未来智能交通运输系统的关键技术,允许汽车与所有附近其它汽车及道路基础设施进行连续通信,比汽车如与红绿灯、校区和铁路道口等设施之间通信,汽车中承担通信任务的可以是汽车内的嵌入式远程信息处理系统,或汽车上的智能手机等移动设备,等等。V2P业务中,支持V2X应用的车内UE或者支持V2X应用的与道路使用者相关的UE都可以发送V2P应用信息。D2D real-life applications include vehicle to vehicle (V2V) and vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), V2V, V2I and V2P. Vehicle to everything (V2X), V2X is the key technology for future intelligent transportation systems, allowing cars to communicate continuously with all other nearby vehicles and road infrastructure, than between cars such as traffic lights, campuses and railroad crossings. Communication, which can undertake communication tasks in a car, may be an embedded telematics system in a car, or a mobile device such as a smartphone on a car, and the like. In a V2P service, an in-vehicle UE supporting a V2X application or a UE related to a road user supporting a V2X application can transmit V2P application information.
V2X通信中的通信终端的业务流量是有周期性的,比如,协同感知信息(Cooperative Awareness Message,CAM)的最短周期是100ms、最长周期是1s,终端可以根据流量的周期性预知接下来可能要发送什么流量,V2X中特地增加了资源预留的方案以便终端为预知的流量预留通信资源。终端可以告知其他终端它要预留未来某个时频资源。另一方面,终端在选择发送数据的时频资源时,要考虑到其他终端预留的资源,尽量避免选择其他终端已经预留的资源,也就是终端在选择时频资源时要进行监测。终端在选择时频资源时,排除掉一部分已被其他终端预留的资源,然后在剩余的通信资源里随机选择一个资源作为预留的资源。具体如何选择资源是本领域的技术人员正在研究的技术问题。The service traffic of the communication terminal in the V2X communication is cyclical. For example, the shortest period of the Cooperative Awareness Message (CAM) is 100 ms, and the longest period is 1 s. The terminal can predict the next possible according to the periodicity of the traffic. What traffic is to be sent, the V2X specifically adds a resource reservation scheme for the terminal to reserve communication resources for the predicted traffic. The terminal can inform other terminals that it wants to reserve some time-frequency resources in the future. On the other hand, when selecting the time-frequency resource for transmitting data, the terminal should consider the resources reserved by other terminals, and try to avoid selecting resources that other terminals have reserved, that is, the terminal should monitor when selecting time-frequency resources. When selecting the time-frequency resource, the terminal excludes some resources that have been reserved by other terminals, and then randomly selects one resource as the reserved resource among the remaining communication resources. How to select resources in detail is a technical problem that those skilled in the art are studying.
发明内容Summary of the invention
本发明实施例公开了一种资源选择方法及终端,能够使终端更容易选择到合适的资源。The embodiment of the invention discloses a resource selection method and a terminal, which can make the terminal more convenient to select a suitable resource.
本发明实施例第一方面公开了一种资源选择方法,该方法包括:终端根据资源的属性从至少一个资源中确定目标资源,该至少一个资源中每个资源都有各自的属性且该每个资源的属性为至少一种属性中的一种,该至少一种属性包括重叠属性和/或非重叠属性;该重叠属性的资源为多种业务均可以使用的资源,该非重叠属性的资源为该多种业务中一种业务可以使用的资源;或者,该重叠属性的资源为多种资源选择方式均可以使用的资源,该非重叠属性的资源为该多种资源选择方式中一种资源选择方式可以使用的资源。A first aspect of the embodiments of the present invention discloses a resource selection method, where the method includes: determining, by a terminal, a target resource from at least one resource according to an attribute of a resource, where each resource has a respective attribute and each of the at least one resource The attribute of the resource is one of at least one attribute, and the at least one attribute includes an overlapping attribute and/or a non-overlapping attribute; the resource of the overlapping attribute is a resource that can be used by multiple services, and the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a resource that can be used in multiple resource selection manners, and the resource of the non-overlapping attribute is a resource selection in the multiple resource selection manner The resources that can be used in the way.
通过执行上述步骤,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。When the terminal selects the target resource from the at least one resource ordering, the terminal selects the target resource according to the attribute that is allocated for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily accessed from the at least one resource. Select the resource you want to choose.
结合第一方面,在第一方面的第一种可能的实现方式中,该多种业务包括P2X相关的 V2X侧行链路通信和非P2X相关的V2X侧行链路通信。In conjunction with the first aspect, in a first possible implementation of the first aspect, the multiple services comprise P2X related V2X side-link communication and non-P2X-related V2X side-link communication.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第二种可能的实现方式中,该多种资源选择方式包括基于监测的资源选择方式和基于随机选择的资源选择方式。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the second possible implementation manner of the first aspect, the multiple resource selection manner includes a monitoring resource selection manner and a random selection based The way resources are selected.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第三种可能的实现方式中,该终端根据资源的属性从至少一个资源中确定目标资源,包括:该终端在至少一种属性中确定目标属性;该终端在至少一个资源中确定属性为该目标属性的目标资源。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the terminal determines the target resource from the at least one resource according to the attribute of the resource, including: The terminal determines the target attribute in at least one attribute; the terminal determines, in the at least one resource, the attribute as the target resource of the target attribute.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第四种可能的实现方式中,该终端在至少一种属性中确定目标属性,包括:该终端根据至少一种属性中每种属性对应的概率在该至少一种属性中确定目标属性。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in a fourth possible implementation manner of the foregoing aspect, the terminal determining the target attribute in the at least one attribute, the terminal includes: The probability corresponding to each attribute in an attribute determines the target attribute in the at least one attribute.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第五种可能的实现方式中,该至少一种属性中每种属性对应的概率是网络侧设备配置的;或者该至少一种属性中每种属性对应的概率是预先配置的;或者该至少一种属性中每种属性对应的概率是根据该每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the probability that each of the at least one attribute corresponds to the network side device configuration Or the probability corresponding to each attribute of the at least one attribute is pre-configured; or the probability corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR, congestion degree, and utilization of the resource according to each attribute At least one of the rates is determined.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第六种可能的实现方式中,该至少一种属性中的每种属性对应一个概率,该至少一种属性中各个属性对应的概率之和等于1。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the sixth possible implementation manner of the first aspect, each of the at least one attribute corresponds to a probability, the at least one The sum of the probabilities corresponding to each attribute in the attribute is equal to 1.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第七种可能的实现方式中,该终端在至少一种属性中确定目标属性,包括:该终端根据至少一种属性中每种属性的资源的信道占用率CBR、拥塞程度和利用率确定目标属性。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the seventh possible implementation manner of the first aspect, the terminal determining the target attribute in the at least one attribute, including: the terminal according to the at least The channel occupancy rate CBR, congestion level, and utilization of resources for each attribute in an attribute determine the target attribute.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第八种可能的实现方式中,该终端根据资源的属性从至少一个资源中确定目标资源,包括:该终端根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,该每个资源的接收信号强度是该终端在该资源上接收到的信号强度。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the eighth possible implementation manner of the first aspect, the terminal determines the target resource from the at least one resource according to the attribute of the resource, including: The terminal determines the target resource according to the attribute of each resource in at least one resource and the received signal strength, and the received signal strength of each resource is the signal strength received by the terminal on the resource.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第九种可能的实现方式中,该终端根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,包括:该终端根据至少一个资源中每个资源的属性对该至少一个资源排序,相同属性的各个资源按照该各个资源的接收信号强度的大小排序;该终端根据该至少一个资源的排序结果确定目标资源。With reference to the first aspect, or any of the foregoing possible implementation manners of the first aspect, in a ninth possible implementation manner of the first aspect, the terminal determines the target according to the attribute of each resource and the received signal strength of the at least one resource The resource includes: the terminal sorts the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the received signal strength of the each resource; the terminal sorts the result according to the at least one resource Identify target resources.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第十种可能的实现方式中,该终端根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,包括:该终端根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in a tenth possible implementation manner of the first aspect, the terminal determines the target according to the attribute of each resource and the received signal strength of the at least one resource The resource includes: the terminal determining the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第十一种可能的实现方式中,该终端根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源,包括:该终端将该至少一个资源中每个资源的接收信号强度与该每个资源的属性对应的权重因子相乘,得到该每个资源的度量值;该终端根据该 至少一个资源中每个资源的度量值对该至少一个资源排序;该终端根据该至少一个资源的排序结果确定目标资源。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the eleventh possible implementation manner of the first aspect, the terminal, according to the received signal strength of each resource in the at least one resource, and the each The weighting factor corresponding to the attribute of the resource determines the target resource, the method includes: the terminal multiplying the received signal strength of each resource in the at least one resource by a weighting factor corresponding to the attribute of each resource, to obtain a metric of each resource Value; the terminal is based on The metric value of each resource in the at least one resource sorts the at least one resource; the terminal determines the target resource according to the ranking result of the at least one resource.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第十二种可能的实现方式中,该至少一种属性中每种属性对应的权重因子是网络侧设备配置的;或者该至少一种属性中每种属性对应的权重因子是预先配置的;或者该至少一种属性中每种属性对应的权重因子是根据每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the twelfth possible implementation manner of the first aspect, the weighting factor corresponding to each attribute of the at least one attribute is a network side device Or configured, or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or the weighting factor corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR of the resource according to each attribute, congestion At least one of the degree and utilization is determined.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第十三种可能的实现方式中,该终端根据资源的属性从至少一个资源中确定目标资源之前,还包括:该终端接收网络侧设备发送的指示信息;该终端根据该指示信息确定是否执行该根据资源的属性从至少一个资源中确定目标资源的操作。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the thirteenth possible implementation manner of the foregoing aspect, the terminal, before determining the target resource from the at least one resource according to the attribute of the resource, The method includes: the terminal receiving the indication information sent by the network side device; the terminal determining, according to the indication information, whether to perform the operation of determining the target resource from the at least one resource according to the attribute of the resource.
结合第一方面,或者第一方面的以上任一可能的实现方式,在第一方面的第十四种可能的实现方式中,该终端根据资源的属性从至少一个资源中确定目标资源之前,还包括:该终端根据该资源的信道占用率CBR、拥塞程度和利用率中至少一项确定是否执行该根据资源的属性从至少一个资源中确定目标资源的操作。With reference to the first aspect, or any one of the foregoing possible implementation manners of the first aspect, in the fourteenth possible implementation manner of the foregoing aspect, the terminal, before determining the target resource from the at least one resource according to the attribute of the resource, The method includes: determining, by the terminal, whether to perform the operation of determining the target resource from the at least one resource according to the attribute of the resource according to at least one of a channel occupancy rate CBR, a congestion degree, and a utilization rate of the resource.
第二方面,本发明实施例提供一种终端,该终端包括处理器和存储器,该存储器用于存储指令,该处理器用于调用该存储器中的指令来执行如下操作:根据资源的属性从至少一个资源中确定目标资源,该至少一个资源中每个资源都有各自的属性且该每个资源的属性为至少一种属性中的一种,该至少一种属性包括重叠属性和/或非重叠属性;该重叠属性的资源为多种业务均可以使用的资源,该非重叠属性的资源为该多种业务中一种业务可以使用的资源;或者,该重叠属性的资源为多种资源选择方式均可以使用的资源,该非重叠属性的资源为该多种资源选择方式中一种资源选择方式可以使用的资源。In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a processor and a memory, where the memory is used to store an instruction, and the processor is configured to invoke an instruction in the memory to perform an operation of: at least one according to an attribute of a resource. Determining a target resource in the resource, each of the at least one resource having its own attribute and the attribute of each resource is one of at least one attribute including an overlapping attribute and/or a non-overlapping attribute The resource of the overlapping attribute is a resource that can be used by a plurality of services, and the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a plurality of resource selection modes. A resource that can be used, and the resource of the non-overlapping attribute is a resource that can be used in one of the multiple resource selection modes.
通过执行上述操作,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。When the terminal selects the target resource from the at least one resource ordering, the terminal selects the target resource according to the attribute that is allocated for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily accessed from the at least one resource. Select the resource you want to choose.
结合第二方面,在第二方面的第一种可能的实现方式中,该多种业务包括P2X相关的V2X侧行链路通信和非P2X相关的V2X侧行链路通信。In conjunction with the second aspect, in a first possible implementation of the second aspect, the plurality of services includes P2X-related V2X side-link communication and non-P2X-related V2X side-link communication.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第二种可能的实现方式中,该多种资源选择方式包括基于监测的资源选择方式和基于随机选择的资源选择方式。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in the second possible implementation manner of the second aspect, the multiple resource selection manner includes a monitoring resource selection manner and a random selection based The way resources are selected.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第三种可能的实现方式中,该处理器根据资源的属性从至少一个资源中确定目标资源,具体为:在至少一种属性中确定目标属性;在至少一个资源中确定属性为该目标属性的目标资源。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in a third possible implementation manner of the second aspect, the processor determines the target resource from the at least one resource according to the attribute of the resource, specifically Determining a target attribute in at least one attribute; determining the attribute as a target resource of the target attribute in at least one resource.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第四种可能的实现方式中,该处理器在至少一种属性中确定目标属性,具体为:根据至少一种属性中每种属性对应的概率在该至少一种属性中确定目标属性。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in a fourth possible implementation manner of the second aspect, the processor determines the target attribute in the at least one attribute, specifically: The probability corresponding to each attribute in an attribute determines the target attribute in the at least one attribute.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第五种可能 的实现方式中,该至少一种属性中每种属性对应的概率是网络侧设备配置的;或者该至少一种属性中每种属性对应的概率是预先配置的;或者该至少一种属性中每种属性对应的概率是根据该每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。In combination with the second aspect, or any of the above possible implementations of the second aspect, the fifth possibility in the second aspect In the implementation manner, the probability that each of the at least one attribute corresponds to the network side device configuration; or the probability that each of the at least one attribute corresponds to the pre-configured; or each of the at least one attribute The probability corresponding to the attribute is determined according to at least one of channel occupancy rate CBR, congestion degree, and utilization of the resource of each attribute.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第六种可能的实现方式中,该至少一种属性中的每种属性对应一个概率,该至少一种属性中各个属性对应的概率之和等于1。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in the sixth possible implementation manner of the second aspect, each of the at least one attribute corresponds to a probability, the at least one The sum of the probabilities corresponding to each attribute in the attribute is equal to 1.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第七种可能的实现方式中,该处理器在至少一种属性中确定目标属性,具体为:根据至少一种属性中每种属性的资源的信道占用率CBR、拥塞程度和利用率确定目标属性。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the processor determines the target attribute in the at least one attribute, specifically: The channel occupancy rate CBR, congestion level, and utilization of resources for each attribute in an attribute determine the target attribute.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第八种可能的实现方式中,该处理器根据资源的属性从至少一个资源中确定目标资源,具体为:根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,该每个资源的接收信号强度是该终端在该资源上接收到的信号强度。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in the eighth possible implementation manner of the second aspect, the processor determines the target resource from the at least one resource according to the attribute of the resource, specifically Determining a target resource according to an attribute of each resource in at least one resource and a received signal strength, where the received signal strength of each resource is a signal strength received by the terminal on the resource.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第九种可能的实现方式中,该处理器根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,具体为:根据至少一个资源中每个资源的属性对该至少一个资源排序,相同属性的各个资源按照该各个资源的接收信号强度的大小排序;根据该到少一个资源的排序结果确定目标资源。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in a ninth possible implementation manner of the second aspect, the processor is determined according to an attribute of each resource and a received signal strength of the at least one resource The target resource is specifically: sorting the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the received signal strength of the each resource; determining according to the sorting result of the one resource Target resources.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第十种可能的实现方式中,该处理器根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,具体为:根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源。With reference to the second aspect, or any of the foregoing possible implementation manners of the second aspect, in a tenth possible implementation manner of the second aspect, the processor is determined according to an attribute of each resource in the at least one resource and a received signal strength The target resource is specifically configured to: determine the target resource according to the received signal strength of each resource in the at least one resource and the weight factor corresponding to the attribute of each resource.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第十一种可能的实现方式中,该处理器根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源,具体为:将该至少一个资源中每个资源的接收信号强度与该每个资源的属性对应的权重因子相乘,得到该每个资源的度量值;根据该至少一个资源中每个资源的度量值对该至少一个资源排序;根据该至少一个资源的排序结果确定目标资源。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in the eleventh possible implementation manner of the second aspect, the processor, according to the received signal strength of each resource in the at least one resource, The weighting factor corresponding to the attribute of each resource determines the target resource, specifically: multiplying the received signal strength of each resource in the at least one resource by a weighting factor corresponding to the attribute of each resource, to obtain a metric of each resource a value; sorting the at least one resource according to the metric value of each of the at least one resource; determining the target resource according to the ranking result of the at least one resource.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第十二种可能的实现方式中,该至少一种属性中每种属性对应的权重因子是网络侧设备配置的;或者该至少一种属性中每种属性对应的权重因子是预先配置的;或者该至少一种属性中每种属性对应的权重因子是根据每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in the twelfth possible implementation manner of the second aspect, the weighting factor corresponding to each attribute of the at least one attribute is a network side device Or configured, or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or the weighting factor corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR of the resource according to each attribute, congestion At least one of the degree and utilization is determined.
结合第二方面,或者第二方面的以上任一可能的实现方式,在第二方面的第十三种可能的实现方式中,该处理器根据资源的属性从至少一个资源中确定目标资源之前,该处理器还用于:接收网络侧设备发送的指示信息;根据该指示信息确定是否执行该根据资源的属性从至少一个资源中确定目标资源的操作。 With reference to the second aspect, or any one of the foregoing possible implementation manners of the second aspect, in the thirteenth possible implementation manner of the second aspect, the processor, before determining the target resource from the at least one resource according to the attribute of the resource, The processor is further configured to: receive the indication information sent by the network side device; and determine, according to the indication information, whether to perform the operation of determining the target resource from the at least one resource according to the attribute of the resource.
第三方面,本发明实施例提供一种终端,该终端包括确定单元,该确定单元用于根据资源的属性从至少一个资源中确定目标资源,该至少一个资源中每个资源都有各自的属性且该每个资源的属性为至少一种属性中的一种,该至少一种属性包括重叠属性和/或非重叠属性;该重叠属性的资源为多种业务均可以使用的资源,该非重叠属性的资源为该多种业务中一种业务可以使用的资源;或者,该重叠属性的资源为多种资源选择方式均可以使用的资源,该非重叠属性的资源为该多种资源选择方式中一种资源选择方式可以使用的资源;或者,该重叠属性的资源为多种终端均可以使用的资源,该非重叠属性的资源为该多种终端中一种终端可以使用的资源。In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes a determining unit, where the determining unit is configured to determine a target resource from at least one resource according to an attribute of a resource, where each resource has a respective attribute And the attribute of each resource is one of at least one attribute, where the at least one attribute includes an overlapping attribute and/or a non-overlapping attribute; the resource of the overlapping attribute is a resource that can be used by multiple services, and the non-overlapping The resource of the attribute is a resource that can be used by one of the plurality of services; or the resource of the overlapping attribute is a resource that can be used in multiple resource selection manners, and the resource of the non-overlapping attribute is selected by the multiple resource selection manner. A resource that can be used in a resource selection manner; or, the resource of the overlapping attribute is a resource that can be used by a plurality of terminals, and the resource of the non-overlapping attribute is a resource that can be used by one of the plurality of terminals.
通过运行上述单元,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。When the terminal selects the target resource from the at least one resource sorting, the terminal selects the target resource according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily accessed from the at least one resource. Select the resource you want to choose.
结合第三方面,在第三方面的第一种可能的实现方式中,该多种业务包括P2X相关的V2X侧行链路通信和非P2X相关的V2X侧行链路通信。In conjunction with the third aspect, in a first possible implementation of the third aspect, the plurality of services includes P2X-related V2X side-link communication and non-P2X-related V2X side-link communication.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第二种可能的实现方式中,该多种资源选择方式包括基于监测的资源选择方式和基于随机选择的资源选择方式。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the second possible implementation manner of the third aspect, the multiple resource selection manner includes a monitoring resource selection manner and a random selection based The way resources are selected.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第三种可能的实现方式中,该确定单元包括第一确定子单元和第二确定子单元,该第一确定子单元用于在至少一种属性中确定目标属性;该第二确定子单元用于在至少一个资源中确定属性为该目标属性的目标资源。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, the determining unit includes a first determining subunit and a second determining subunit, where the A determining subunit is configured to determine a target attribute in the at least one attribute; the second determining subunit is configured to determine, in the at least one resource, the attribute as the target resource of the target attribute.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第四种可能的实现方式中,该第一确定子单元具体用于根据至少一种属性中每种属性对应的概率在该至少一种属性中确定目标属性。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the fourth possible implementation manner of the third aspect, the first determining subunit is specifically configured to use each attribute according to the at least one attribute The corresponding probability determines the target attribute in the at least one attribute.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第五种可能的实现方式中,该至少一种属性中每种属性对应的概率是网络侧设备配置的;或者该至少一种属性中每种属性对应的概率是预先配置的;或者该至少一种属性中每种属性对应的概率是根据该每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in a fifth possible implementation manner of the third aspect, the probability that each of the at least one attribute corresponds to the network side device configuration Or the probability corresponding to each attribute of the at least one attribute is pre-configured; or the probability corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR, congestion degree, and utilization of the resource according to each attribute At least one of the rates is determined.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第六种可能的实现方式中,该至少一种属性中的每种属性对应一个概率,该至少一种属性中各个属性对应的概率之和等于1。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the sixth possible implementation manner of the third aspect, each of the at least one attribute corresponds to a probability, the at least one The sum of the probabilities corresponding to each attribute in the attribute is equal to 1.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第七种可能的实现方式中,该第一确定子单元具体用于根据至少一种属性中每种属性的资源的信道占用率CBR、拥塞程度和利用率确定目标属性。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the seventh possible implementation manner of the third aspect, the first determining subunit is specifically configured to use each attribute according to the at least one attribute The channel occupancy rate CBR, congestion level, and utilization of the resource determine the target attribute.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第八种可能的实现方式中,该第二确定子单元具体用于根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,该每个资源的接收信号强度是该终端在该资源上接收到的信号强度。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the eighth possible implementation manner of the third aspect, the second determining sub-unit is specifically configured to be used according to each resource in the at least one resource The attribute and the received signal strength determine a target resource, and the received signal strength of each resource is the signal strength received by the terminal on the resource.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第九种可能的实现方式中,该第二确定子单元根据至少一个资源中每个资源的属性和接收信号强度确 定目标资源,具体为:根据至少一个资源中每个资源的属性对该至少一个资源排序,相同属性的各个资源按照该各个资源的接收信号强度的大小排序;根据该到少一个资源的排序结果确定目标资源。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the ninth possible implementation manner of the third aspect, the second determining sub-unit is configured according to the attribute and the receiving of each resource in the at least one resource Signal strength Determining the target resource, specifically: sorting the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the received signal strength of the each resource; according to the sorting result of the one resource Identify target resources.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第十种可能的实现方式中,该第二确定单元根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,具体为:根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in a tenth possible implementation manner of the third aspect, the second determining unit, according to the attribute and the received signal of each resource in the at least one resource The strength determining the target resource is specifically: determining the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第十一种可能的实现方式中,该第二确定子单元根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源,具体为:将该至少一个资源中每个资源的接收信号强度与该每个资源的属性对应的权重因子相乘,得到该每个资源的度量值;根据该至少一个资源中每个资源的度量值对该至少一个资源排序;根据该至少一个资源的排序结果确定目标资源。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the eleventh possible implementation manner of the third aspect, the second determining subunit is configured according to the received signal of each resource in the at least one resource The weighting factor corresponding to the strength and the attribute of each resource determines the target resource, specifically: multiplying the received signal strength of each of the at least one resource by a weighting factor corresponding to the attribute of each resource, to obtain each a metric of the resource; sorting the at least one resource according to the metric value of each of the at least one resource; determining the target resource according to the ranking result of the at least one resource.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第十二种可能的实现方式中,该至少一种属性中每种属性对应的权重因子是网络侧设备配置的;或者该至少一种属性中每种属性对应的权重因子是预先配置的;或者该至少一种属性中每种属性对应的权重因子是根据每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the twelfth possible implementation manner of the third aspect, the weighting factor corresponding to each attribute of the at least one attribute is a network side device Or configured, or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or the weighting factor corresponding to each attribute of the at least one attribute is a channel occupancy rate CBR of the resource according to each attribute, congestion At least one of the degree and utilization is determined.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第十三种可能的实现方式中,该终端还包括接收单元和判断单元,该接收单元用于在该确定单元根据资源的属性从至少一个资源中确定目标资源之前,接收网络侧设备发送的指示信息;该判断单元用于根据该指示信息确定是否触发该确定单元根据资源的属性从至少一个资源中确定目标资源的操作。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in a thirteenth possible implementation manner of the third aspect, the terminal further includes a receiving unit and a determining unit, where the receiving unit is configured to The determining unit receives the indication information sent by the network side device before determining the target resource from the at least one resource according to the attribute of the resource; the determining unit is configured to determine, according to the indication information, whether the determining unit is determined from the at least one resource according to the attribute of the resource. The operation of the target resource.
结合第三方面,或者第三方面的上述任一可能的实现方式,在第三方面的第十四种可能的实现方式中,该终端还包括计算单元,该计算单元用于在确定单元根据资源的属性从至少一个资源中确定目标资源之前,根据该资源的信道占用率CBR、拥塞程度和利用率中至少一项确定是否触发该确定单元根据资源的属性从至少一个资源中确定目标资源的操作。With reference to the third aspect, or any one of the foregoing possible implementation manners of the third aspect, in the fourteenth possible implementation manner of the third aspect, the terminal further includes a computing unit, where the calculating unit is configured to determine, according to the resource Before determining the target resource from the at least one resource, determining, according to at least one of the channel occupancy rate CBR, the congestion degree, and the utilization rate of the resource, whether to trigger the determining unit to determine the target resource from the at least one resource according to the attribute of the resource .
第四方面,本发明实施例提供一种可读存储介质,该可读存储介质包括指令,该指令在处理器上运行时使得第一方面或者第一方面的任一可能的实现方式得以实现。In a fourth aspect, an embodiment of the present invention provides a readable storage medium, the readable storage medium including instructions that, when executed on a processor, enable the first aspect or any of the possible implementations of the first aspect.
通过实施本发明实施例,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。By implementing the embodiment of the present invention, when the terminal selects the target resource from the at least one resource order, the terminal is selected according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily from the at least Select a resource from the resource you want to select.
下面将对背景技术或者实施例所需要使用的附图作简单地介绍。The drawings to be used in the background art or the embodiments will be briefly described below.
图1是本发明实施例公开的一种终端的结构示意图;1 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图2为本发明实施例公开的一种资源选择方法的流程示意图; 2 is a schematic flowchart of a resource selection method according to an embodiment of the present invention;
图3为本发明实施例公开的又一种终端的结构示意图。FIG. 3 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
下面将结合本发明实施例中的附图对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
请参见图1,图1是本发明实施例提供的一种终端10的结构示意图。该终端10包括处理器101、存储器102和收发器103,该处理器101、存储器102、收发器103可以通过总线相互连接。该总线可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展标准体系结构(extended industry standard architecture,EISA)总线等。Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a terminal 10 according to an embodiment of the present invention. The terminal 10 includes a
该收发器103(包括调制解调器)可以连接天线,该收发器103用于将天线接收到的电磁波转换为电流并且最终转换为数字信号,相应地,该收发器103还用于将终端10要输出的数字信号据转换为电流然后转换为电磁波,最后通过该天线将该电磁波发射到自由空间中。收发器103还可包括至少一个用于放大信号的放大器。通常情况下,可以通过该收发器103进行无线传输,如蓝牙(Bluetooth)传输、无线保证(WIreless-Fidelity,WI-FI)传输、第三代移动通信技术(3rd-Generation,3G)传输、第四代移动通信技术(the 4th Generation mobile communication,4G)传输、长期演进(Long Term Evolution,LTE)传输、第五代移动通信技术(5th-Generation,5G)等。The transceiver 103 (including a modem) can be coupled to an antenna for converting electromagnetic waves received by the antenna into current and ultimately into digital signals. Accordingly, the
存储器102包括但不限于是随机存储记忆体(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、或便携式只读存储器(Compact Disc Read-Only Memory,CD-ROM),该存储器102可以具体包括存储指令区和存储数据区,该存储指令区用于存储处理器101运行时所需的指令,存储数据区用于存储预先配置的数据或处理器101运行所产生的数据。The
处理器101是终端10的控制中心,利用各种接口和线路连接整个终端10的各个部分,通过运行存储在存储器102内的程序,以及调用存储在存储器101内的数据,执行终端10的各项功能。可选的,若终端为汽车则在倒车和控制车距时可能要用到距离传感器,因此该终端10上可以配置了距离传感器104,该处理器101可以通过调用存储器102中的程序来控制距离传感器104采集距离数据。可选的,处理器101可包括一个或多个应用处理器,例如,中央处理器(Central Processing Unit,CPU)。在本发明实施例中,处理器101可以通过调用存储器中的指令和数据来执行图2所示的方法流程。The
请参见图2,图2是本发明实施例提供的一种资源选择方法的流程示意图,可选的,该方法可以基于图1所示的终端来实现,该方法包括但不限于如下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a resource selection method according to an embodiment of the present invention. Optionally, the method may be implemented based on the terminal shown in FIG. 1, and the method includes but is not limited to the following steps:
步骤S201:终端根据资源的属性从至少一个资源中确定目标资源。Step S201: The terminal determines the target resource from the at least one resource according to the attribute of the resource.
具体地,终端在传输数据或者信号需要用到资源(也称“时频资源”),通常情况下,终端需要在传输数据或信号之前选择(或者说“确定”)合适的资源,可以称确定的用来传输数据或信号的资源为目标资源。待选择的资源可以为一个也可以为多个,本发明实施例统称为待选资源为至少一个资源,该至少一个资源中每个资源都有各自的属性且该每个资源的属性为至少一种属性中的一种,该至少一种属性的数量可以是预先设定的,例如,该至少一种属性为2种属性,这2种属性具体为属性1和属性2,该至少一个资源为30个资 源,这30个资源中有10个资源的属性为属性1而另外20个资源的属性为属性2。该至少一个资源中每个资源是什么属性可以是预先定义好的或者通过预先设定的算法实时归类得到的。可选的,该至少一种属性至少包括重叠属性,可选的,该至少一种属性至少包括非重叠属性,可选的,该至少一种属性至少包括重叠属性和非重叠属性,重叠属性和非重叠属性也可能存在其他叫法,例如,重叠属性还可以称为“共享”属性,非重叠属性还可以称为“非共享”属性。Specifically, the terminal needs to use resources (also referred to as “time-frequency resources”) when transmitting data or signals. Generally, the terminal needs to select (or “determine”) the appropriate resources before transmitting the data or signals, which may be called determining. The resource used to transmit data or signals is the target resource. The resource to be selected may be one or more. The embodiment of the present invention is generally referred to as a candidate resource as at least one resource, and each resource of the at least one resource has a respective attribute and the attribute of each resource is at least one. One of the attributes, the quantity of the at least one attribute may be preset, for example, the at least one attribute is two attributes, and the two attributes are specifically attribute 1 and attribute 2, and the at least one resource is 30 assets Source, the attribute of 10 of the 30 resources is attribute 1 and the attribute of the other 20 resources is attribute 2. Each of the at least one resource may be pre-defined or may be categorized in real time by a predetermined algorithm. Optionally, the at least one attribute includes at least an overlapping attribute. Optionally, the at least one attribute includes at least a non-overlapping attribute. Optionally, the at least one attribute includes at least an overlapping attribute and a non-overlapping attribute, and the overlapping attribute and Non-overlapping attributes may also have other names. For example, overlapping attributes may also be referred to as "shared" attributes, and non-overlapping attributes may also be referred to as "non-shared" attributes.
可选的,该重叠属性的资源为预先规划的多种业务均可以使用的资源,该非重叠属性的资源为该多种业务中一种业务可以使用的资源(即只有一种业务对这种属性的资源具有选择权限)例如,该多种业务包括P2X相关的V2X侧行链路通信和非P2X相关的V2X侧行链路通信。Optionally, the resource of the overlapping attribute is a resource that can be used by multiple pre-planned resources, and the resource of the non-overlapping attribute is a resource that can be used by one of the multiple services (that is, only one type of service is used for the The resources of the attribute have selection rights. For example, the plurality of services include P2X-related V2X side-link communication and non-P2X-related V2X side-link communication.
可选的,该重叠属性的资源为多种资源选择方式均可以使用的资源,该非重叠属性的资源为该多种资源选择方式中一种资源选择方式可以使用的资源,例如,该多种资源选择方式包括基于监测的资源选择方式和基于随机选择的资源选择方式。Optionally, the resource of the overlapping attribute is a resource that can be used in multiple resource selection manners, and the resource of the non-overlapping attribute is a resource that can be used in one of the multiple resource selection modes, for example, the multiple Resource selection methods include monitoring based resource selection methods and resource selection methods based on random selection.
步骤S201在具体实现时存在很多可能性,下面选择性地列举两种可选方案进行描述,其中第一种可选方案为步骤S2011-S2012,第二种可选方案为步骤S2016,具体如下:There are many possibilities in the specific implementation of the step S201. The following two alternatives are described in the following. The first alternative is the step S2011-S2012, and the second alternative is the step S2016, as follows:
第一种可选的方案:The first option is:
步骤S2011:该终端在至少一种属性中确定一种属性。Step S2011: The terminal determines an attribute in at least one attribute.
具体地,本发明实施例采用一定的规则从预先设置的至少一种属性中确定一种属性作为目标属性,以便后续从属于目标属性的资源中选取资源(每个资源都有自己的属性且该属性为该至少一种属性中的一种,不同的两个资源的属性可能相同也可能不相同)。Specifically, the embodiment of the present invention uses a certain rule to determine an attribute from the preset at least one attribute as a target attribute, so as to subsequently select resources from the resources belonging to the target attribute (each resource has its own attribute and the resource The attribute is one of the at least one attribute, and the attributes of the two different resources may be the same or different.
该一定的规则可以是根据需要预先配置的,下面示意性地例举几种可选的方案。The certain rules may be pre-configured as needed, and several alternatives are schematically illustrated below.
方案A:该终端在至少一种属性中确定目标属性,可以具体为:该终端根据至少一种属性中每种属性对应的概率在该至少一种属性中确定目标属性,例如,先根据预设规则生成数值;再根据该数值与预先获取的该至少一种属性中每种属性对应的概率的大小关系在该至少一种属性中确定一种属性,确定出的属性为该目标属性。可选的,该至少一种属性中的每种属性对应一个概率,各个属性对应的概率之和等于1。The solution A: determining, by the terminal, the target attribute in the at least one attribute, where the terminal determines the target attribute in the at least one attribute according to the probability corresponding to each attribute of the at least one attribute, for example, according to the preset The rule generates a value; and determining an attribute in the at least one attribute according to the magnitude relationship of the value and the probability corresponding to each of the at least one attribute obtained in advance, and the determined attribute is the target attribute. Optionally, each attribute of the at least one attribute corresponds to a probability, and a sum of probabilities corresponding to each attribute is equal to 1.
需要说明的是,该至少一种属性中每种属性对应的概率是网络侧设备配置的,例如,基站向该终端发送一条消息,该消息中携带了每种属性各自对应的概率。或者该至少一种属性中每种属性对应的概率是预先配置在该终端中的,例如,该终端的存储器中预先存储了每种属性各自对应的概率,再如,用户插入到该终端的卡(例如,客户识别模块(Subscriber Identification Module,SIM)卡、存储卡)或芯片或磁条中携带了每种属性各自对应的概率。或者该至少一种属性中每种属性对应的概率是根据该每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的,举例来说,假设该至少一种属性包括重叠属性和非重叠属性,UE分别测量重叠属性资源的CBR和非重叠属性资源的CBR,非重叠属性的资源的CBR与重叠属性的资源的CBR的比值越大,则确定非重叠属性的概率越低,总而言之,各个属性的概率可以根据资源的CBR计算得到,但具体计算细节此处暂不作限定。拥塞程度、资源利用率It should be noted that the probability corresponding to each attribute of the at least one attribute is configured by the network side device. For example, the base station sends a message to the terminal, where the message carries the probability corresponding to each attribute. Or the probability corresponding to each attribute of the at least one attribute is pre-configured in the terminal, for example, the probability of each attribute corresponding to each attribute is pre-stored in the memory of the terminal, and, for example, the card inserted by the user into the terminal (For example, a Subscriber Identification Module (SIM) card, a memory card) or a chip or a magnetic strip carries the probability that each attribute corresponds to each. Or the probability that each attribute of the at least one attribute corresponds to is determined according to at least one of a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute, for example, the at least one attribute is included The overlapping attribute and the non-overlapping attribute, the UE separately measures the CBR of the overlapping attribute resource and the CBR of the non-overlapping attribute resource, and the larger the ratio of the CBR of the resource of the non-overlapping attribute to the CBR of the resource of the overlapping attribute, the more the probability of determining the non-overlapping attribute is Low, in short, the probability of each attribute can be calculated according to the CBR of the resource, but the specific calculation details are not limited here. Congestion level, resource utilization
方案B:终端在至少一种属性中确定目标属性,可以具体为:根据该至少一种属性中 每种属性的资源的CBR、拥塞程度和利用率中至少一项从该至少一种属性中选择出一种属性,选择出的属性为该目标属性。举例来说,终端获取(例如,测量)重叠属性的各个资源的CBR,然后根据重叠属性的各个资源的CBR计算重叠属性的资源的平均CBR,若重叠属性的资源的CBR高于或等于某一预设阈值,则确定出非重叠属性。又如,终端获取(例如,测量)非重叠属性的各个资源的CBR,然后根据非重叠属性的各个资源的CBR计算非重叠属性的资源的平均CBR,若非重叠属性的资源的平均CBR低于或等于某一预设阈值,则确定出非重叠属性。Solution B: The terminal determines the target attribute in the at least one attribute, which may be specifically: according to the at least one attribute At least one of the CBR, the degree of congestion, and the utilization of the resource of each attribute selects one attribute from the at least one attribute, and the selected attribute is the target attribute. For example, the terminal acquires (eg, measures) the CBR of each resource of the overlapping attribute, and then calculates the average CBR of the resource of the overlapping attribute according to the CBR of each resource of the overlapping attribute, if the CBR of the resource of the overlapping attribute is higher than or equal to a certain A preset threshold determines a non-overlapping attribute. For another example, the terminal acquires (eg, measures) the CBR of each resource of the non-overlapping attribute, and then calculates the average CBR of the resource of the non-overlapping attribute according to the CBR of each resource of the non-overlapping attribute, if the average CBR of the resource of the non-overlapping attribute is lower than or Equal to a preset threshold to determine non-overlapping attributes.
步骤S2012:该终端在至少一个资源中确定属性为该目标属性的目标资源。Step S2012: The terminal determines, in at least one resource, a target resource whose attribute is the target attribute.
具体地,该至少一个资源中会存在各种属性的资源,其中包括目标属性的资源,本发明实施例中,终端会从该至少一个资源中选择属性为目标属性的资源,选择的资源的数量可以为一个也可以为多个;选取时可以随机选取,也可以根据预先定义的某个规则选取。Specifically, in the at least one resource, there are resources of various attributes, including resources of the target attribute. In the embodiment of the present invention, the terminal selects a resource whose attribute is the target attribute from the at least one resource, and the quantity of the selected resource. It can be one or more; it can be selected randomly when it is selected, or it can be selected according to a predefined rule.
在第一种可选的方案中,终端在选择资源之前先选择目标属性,然后再从属于目标属性的资源中选择所需要的资源,这样做的好处在于,可以配置策略使得该终端选择到的目标属性为非重叠属性的概率更大,这样一来终端就更容易选择到非重叠属性的资源,能够尽量避免终端选择到的资源与其他设备要用的资源相同,从而减少资源使用的冲突。In the first optional solution, the terminal selects the target attribute before selecting the resource, and then selects the required resource from the resources belonging to the target attribute. The advantage of this is that the policy can be configured to make the terminal select the selected one. The probability that the target attribute is a non-overlapping attribute is larger, so that the terminal can more easily select the resource of the non-overlapping attribute, and can avoid the resource selected by the terminal to be the same as the resource used by other devices, thereby reducing the conflict of resource usage.
第二种可选的方案:The second option is:
步骤S2016:该终端根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,该每个资源的接收信号强度是该终端在该资源上接收到的接收信号强度,也即是说,确定目标资源时至少需要考虑到资源的属性和接收信号强度这两样信息,但是这两样信息具体怎么用此处不作限定,以下列举两种实现方式以方便理解。Step S2016: The terminal determines a target resource according to an attribute of each resource in at least one resource and a received signal strength, where a received signal strength of each resource is a received signal strength received by the terminal on the resource, that is, When determining the target resource, at least two kinds of information, such as the attribute of the resource and the strength of the received signal, need to be considered. However, the specific information of the two kinds of information is not limited herein. Two implementation modes are listed below to facilitate understanding.
实现方式一:该终端根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,可以具体为:Implementation manner 1: The terminal determines the target resource according to the attribute of each resource in at least one resource and the received signal strength, which may be specifically:
首先,该终端根据至少一个资源中每个资源的属性对该至少一个资源排序,相同属性的各个资源按照该各个资源的信号接收强度的大小排序,也即是说,排序至少需要考虑到资源的属性和资源的接收信号强度两个因素,属性的优先级高于接收信号强度的优先级;举例来说,该至少一个资源中共有第一类和第二类两种属性的资源,所有第一类的资源均排在所有第二类的资源之前,每一类资源中该接收信号强度越大的资源排序越靠前,即第一类资源中,接收信号强度越大的资源排序越靠前,第二类资源中,接收信号强度越大的资源排序越靠前;可选的,该第一类为非重叠属性,该第二类为重叠属性。First, the terminal sorts the at least one resource according to the attribute of each resource in the at least one resource, and each resource of the same attribute is sorted according to the size of the signal receiving strength of the each resource, that is, the sorting needs at least the resource consideration Two factors of the received signal strength of the attribute and the resource, the priority of the attribute is higher than the priority of the received signal strength; for example, the resources of the first type and the second type are shared among the at least one resource, all first The resources of the class are ranked before all the resources of the second class. The resource with the stronger received signal strength in each class of resources is ranked higher. That is, in the first class of resources, the resource with higher received signal strength is ranked higher. In the second type of resources, the resource with the higher received signal strength is ranked higher; optionally, the first type is a non-overlapping attribute, and the second type is an overlapping attribute.
然后,该终端根据该到少一个资源的排序结果确定目标资源,例如,直接从排序的结果中选择资源作为目标资源,或者从排序的列表中从倒数第1个到倒数第T个资源中选择资源作为目标资源,或者从排序的列表中从顺数第1个到顺数第T个资源种选择资源作为目标资源,T大于或等于1。选择时可按照预先预设的某个算法来选择,如,随机算法。Then, the terminal determines the target resource according to the sorting result of the at least one resource, for example, directly selecting the resource as the target resource from the sorted result, or selecting from the first to the last Tth resources from the sorted list The resource is used as the target resource, or the resource is selected as the target resource from the first to the right T-th resource in the sorted list, and T is greater than or equal to 1. When selecting, it can be selected according to a preset algorithm, such as a random algorithm.
实现方式二:Implementation 2:
该终端根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,可以具体为:该终端根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源。该至少一种属性中每种属性对应有各自的权重因子,两个不同的属性 对应的权重因子一般不相等(但也不排除相等的可能性),例如,该至少一种属性指重叠属性和非重叠属性,其中,重叠属性对应的权重因子为0.3,非重叠属性对应的权重因子为0.7,在确定目标资源是需要考虑资源的属性对应的权重因子和资源的接收信号强度。The terminal determines the target resource according to the attribute of each resource and the received signal strength of the at least one resource, and may be specifically: the terminal determines, according to the received signal strength of each resource in the at least one resource, and the weighting factor corresponding to the attribute of each resource. Target resources. Each of the at least one attribute corresponds to a respective weighting factor, two different attributes The corresponding weighting factors are generally not equal (but do not exclude equal possibilities). For example, the at least one attribute refers to an overlapping attribute and a non-overlapping attribute, wherein the overlapping attribute corresponds to a weighting factor of 0.3, and the non-overlapping attribute corresponds to a weight. The factor is 0.7, and the weighting factor corresponding to the attribute of the resource and the received signal strength of the resource are determined in determining the target resource.
需要说明的是,该至少一种属性中每种属性对应的权重因子是网络侧设备配置的,例如,基站向该终端发送一条消息,该消息中携带了每种属性各自对应的权重因子。或者该至少一种属性中每种属性对应的权重因子是预先配置的,例如,该终端的存储器中预先存储了每种属性各自对应的权重因子,再如,用户插入到该终端的卡(例如,客户识别模块(Subscriber Identification Module,SIM)卡、存储卡)或芯片或磁条中携带了每种属性各自对应的权重因子。或者该至少一种属性中每种属性对应的权重因子是根据每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的,举例来说,假设该至少一种属性包括重叠属性和非重叠属性,UE分别测量重叠属性的各个资源的CBR和非重叠属性的各个资源的CBR,然后根据重叠属性的各个资源的CBR计算出重叠属性的资源的平均CBR,以及根据非重叠属性的各个资源的CBR计算出非重叠属性的资源的平均CBR,非重叠属性的资源的平均CBR与重叠属性的资源的平均CBR的比值越大,则确定非重叠属性的权重因子越低,总而言之,各个属性的权重因子可以根据资源的CBR计算得到,但具体计算细节此处暂不作限定。It should be noted that the weighting factor corresponding to each attribute of the at least one attribute is configured by the network side device. For example, the base station sends a message to the terminal, where the message carries a weighting factor corresponding to each attribute. Or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured, for example, the weighting factor corresponding to each attribute is pre-stored in the memory of the terminal, and, for example, the card inserted by the user into the terminal (for example, A Subscriber Identification Module (SIM) card, a memory card, or a chip or a magnetic strip carries a weighting factor corresponding to each attribute. Or the weighting factor corresponding to each attribute of the at least one attribute is determined according to at least one of a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute, for example, if the at least one attribute is included The overlapping attribute and the non-overlapping attribute, the UE respectively measures the CBR of each resource of the overlapping attribute and the CBR of each resource of the non-overlapping attribute, and then calculates the average CBR of the resource of the overlapping attribute according to the CBR of each resource of the overlapping attribute, and according to the non-overlapping The CBR of each resource of the attribute calculates the average CBR of the resource of the non-overlapping attribute, and the larger the ratio of the average CBR of the resource of the non-overlapping attribute to the average CBR of the resource of the overlapping attribute, the lower the weighting factor of the non-overlapping attribute is determined, in general, The weighting factor of each attribute can be calculated according to the CBR of the resource, but the specific calculation details are not limited herein.
可选的,该终端根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源,可以具体为:Optionally, the terminal determines the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource, which may be specifically:
首先,该终端将该至少一个资源中每个资源的接收信号强度与该每个资源的属性对应的权重因子相乘,得到该每个资源的度量值;例如,该至少一种属性包括重叠属性和非重叠属性,其中,重叠属性对应的权重因子为0.3,非重叠属性对应的权重因子为0.7;假设该至少一个资源指的是资源1、资源2、资源3、资源4、资源5和资源6,其中,资源1属于重叠属性的资源且接收信号强度为50、资源2属于重叠属性的资源且接收信号强度为200、资源3属于重叠属性的资源且接收信号强度为400、资源4属于非重叠属性的资源且接收信号强度为50、资源5属于非重叠属性的资源且接收信号强度为200、资源6属于非重叠属性的资源且接收信号强度为400,那么,可以得到资源1的度量值等于50*0.3=15、资源2的度量值等于200*0.3=60、资源3的度量值等于400*0.3=120、资源4的度量值等于50*0.7=35、资源5的度量值等于200*0.7=140、以及资源6的度量值等于400*0.7=280。First, the terminal multiplies the received signal strength of each resource in the at least one resource by a weight factor corresponding to the attribute of each resource to obtain a metric value of each resource; for example, the at least one attribute includes an overlapping attribute. And non-overlapping attributes, wherein the overlapping attribute corresponds to a weighting factor of 0.3, and the non-overlapping attribute corresponds to a weighting factor of 0.7; assuming that the at least one resource refers to resource 1, resource 2, resource 3, resource 4, resource 5, and resource 6, wherein the resource 1 belongs to the resource of the overlapping attribute and the received signal strength is 50, the resource 2 belongs to the resource of the overlapping attribute, and the received signal strength is 200, the resource 3 belongs to the overlapping attribute, and the received signal strength is 400, and the resource 4 belongs to the non- If the resource with overlapping attributes and the received signal strength is 50, the resource 5 belongs to the non-overlapping attribute, and the received signal strength is 200, the resource 6 belongs to the non-overlapping attribute, and the received signal strength is 400, then the metric of the resource 1 can be obtained. Equal to 50*0.3=15, the metric of resource 2 is equal to 200*0.3=60, the metric of resource 3 is equal to 400*0.3=120, and the metric of resource 4 is equal to 50. *0.7=35, the metric of resource 5 is equal to 200*0.7=140, and the metric of resource 6 is equal to 400*0.7=280.
然后,该终端根据该至少一个资源中每个资源的度量值对该至少一个资源排序;例如,排序的原则可以是资源对应的度量值越小的资源排序越靠前,以上述6个资源的度量值大小为例进行排序的话,从前往后排序依次是:资源1、资源4、资源2、资源3、资源5、资源6。Then, the terminal sorts the at least one resource according to the metric value of each resource in the at least one resource; for example, the principle of sorting may be that the metric value corresponding to the resource is smaller, and the resource ranking is higher, with the above six resources. If the metric value is sorted by example, the order from the going to the back is: resource 1, resource 4, resource 2, resource 3, resource 5, and resource 6.
最后,该终端根据该至少一个资源的排序结果确定目标资源,例如,直接从排序的结果中选择资源作为目标资源,或者从排序的列表中从倒数第1个到倒数第T个资源种选择资源作为目标资源,或者从排序的列表中从顺数第1个到顺数第T个资源种选择资源作为目标资源,T大于或等于1。选择时可按照预先预设的某个算法来选择,如,随机算法。Finally, the terminal determines the target resource according to the sorting result of the at least one resource, for example, directly selecting the resource as the target resource from the sorted result, or selecting the resource from the first to the last Tth resource species in the sorted list. As the target resource, or from the ordered list from the first to the t-th resource, the resource is selected as the target resource, and T is greater than or equal to 1. When selecting, it can be selected according to a preset algorithm, such as a random algorithm.
在实现方式二中,终端对至少一个资源排序时不是直接按照这至少一个资源的接收信号强度进行排序,而是根据每个资源的属性对应的权重因子计算出每个资源的度量值,然 后根据该至少一个资源中每个资源的度量值对这至少一个资源进行排序,最后从排序结果中选择所需要的资源;这样做的好处在于,可以通过配置各种属性的权重因子来使终端更容易选择到想要选的资源。In the implementation manner 2, when the terminal sorts the at least one resource, the metric value of each resource is not directly calculated according to the received signal strength of the at least one resource, but the metric value of each resource is calculated according to the weighting factor corresponding to the attribute of each resource. And then sorting the at least one resource according to the metric value of each resource in the at least one resource, and finally selecting the required resource from the sorting result; the advantage of doing so is that the terminal can be configured by using a weighting factor of various attributes. It's easier to choose the resources you want to choose.
步骤S202:该终端通过该目标资源发送数据或信号。Step S202: The terminal sends data or a signal through the target resource.
具体地,终端可以在确定目标资源后马上使用目标资源发送数据或信号;当然,目标资源也可以是终端确定出来的用于在未来某个时刻发送数据或信号的资源或者为后续某类信息预留的资源,当到达使用目标资源的时机时,该终端通过该目标资源发送数据或信号。Specifically, the terminal may use the target resource to send data or a signal immediately after determining the target resource; of course, the target resource may also be a resource that is determined by the terminal to send data or signals at a certain moment in the future or for a certain type of information. The reserved resource, when the time of using the target resource is reached, the terminal sends data or signals through the target resource.
上述步骤S201-S202讲述了终端选择资源的流程,还可能存在用于触发该流程的指示信息,该指示信息至少存在如下两种情况:情况一,该指示信息可以预先配置在该终端中(例如,存储在终端的存储器、芯片、卡,等等),该终端可以读取该指示信息从而判断是否需要执行上述流程,若判断出需要执行上述流程则执行上述流程,若判断出不需要执行上述流程则不执行上述流程;情况二,网络侧设备向该终端发送该指示信息(也可能存在其他叫法,例如,触发消息),相应地,终端接收该指示信息并根据该指示信息判断是否需要执行上述流程,若判断出需要执行上述流程则执行上述流程,若判断出不需要执行上述流程则不执行上述流程。该指示信息的具体作用或内容至少存在如下几种可能性。The foregoing steps S201-S202 describe the process of selecting a resource by the terminal, and there may be indication information for triggering the process. The indication information has at least the following two situations: In case one, the indication information may be pre-configured in the terminal (for example, The terminal stores the memory, the chip, the card, and the like, and the terminal can read the indication information to determine whether the process needs to be performed. If it is determined that the process needs to be performed, the process is executed, and if it is determined that the foregoing process is not required to be performed, The process does not perform the above process. In the second case, the network side device sends the indication information to the terminal (other indications may also exist, for example, a trigger message). Accordingly, the terminal receives the indication information and determines whether it is needed according to the indication information. The above process is executed, and if it is determined that the above process needs to be executed, the above process is executed, and if it is determined that the above process is not required, the above process is not executed. At least the following possibilities exist for the specific role or content of the indication information.
可能性一,该指示信息直接指示了终端是否需要执行上述流程。Possibility one, the indication information directly indicates whether the terminal needs to perform the above process.
可能性二,该指示信息指示了一种资源属性,终端根据该资源属性判断是否执行上述流程。例如,指示信息指示资源是重叠属性的资源,或者指示信息指示资源可以被该终端使用而其他信息指示该资源还可以被其他设备使用,或者指示信息指示资源可以被其他设备使用而其他信息指示资源还可以被该终端使用,这样终端就可以根据指示信息确定(可能还用到了其他信息)资源是重叠属性的资源。当资源是重叠属性的资源时,该终端触发上述流程,当资源是非重叠属性的资源时,该终端不触发上述流程。Possibility 2, the indication information indicates a resource attribute, and the terminal determines, according to the resource attribute, whether to execute the foregoing process. For example, the indication information indicates that the resource is a resource of an overlapping attribute, or the indication information indicates that the resource can be used by the terminal while other information indicates that the resource can also be used by other devices, or the indication information indicates that the resource can be used by other devices while other information indicates resources. It can also be used by the terminal, so that the terminal can determine (and possibly other information) according to the indication information that the resource is a resource of overlapping attributes. When the resource is a resource with overlapping attributes, the terminal triggers the foregoing process. When the resource is a resource with non-overlapping attributes, the terminal does not trigger the foregoing process.
可能性三,该指示信息指示了资源的CBR、拥塞程度和利用率中至少一项,终端根据指示信息指示的内容确定是否执行上述流程,例如,当资源的CBR(或者资源的拥塞程度,或者资源利用率)高于或等于预先设定的某个阈值时,终端触发执行上述流程。Possibility 3, the indication information indicates at least one of CBR, congestion degree, and utilization of the resource, and the terminal determines whether to perform the foregoing process according to the content indicated by the indication information, for example, when the CBR of the resource (or the degree of congestion of the resource, or When the resource utilization rate is higher than or equal to a certain threshold, the terminal triggers the above process.
在图2所示的方法中,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。In the method shown in FIG. 2, when the terminal selects a target resource from at least one resource order, it is selected according to an attribute that is previously divided for each resource, and the attribute may be specially configured according to requirements in advance, so that the terminal is more easily Selecting the resource to be selected among the at least one resource.
请参见图3,图3是本发明实施例提供的一种终端30的结构示意图,该终端30至少包括确定单元301,该确定单元301用于根据资源的属性从至少一个资源中确定目标资源,该至少一个资源中每个资源都有各自的属性且该每个资源的属性为至少一种属性中的一种,该至少一种属性包括重叠属性和/或非重叠属性;该重叠属性的资源为多种业务均可以使用的资源,该非重叠属性的资源为该多种业务中一种业务可以使用的资源;或者,该重叠属性的资源为多种资源选择方式均可以使用的资源,该非重叠属性的资源为该多种资源选择方式中一种资源选择方式可以使用的资源。Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a terminal 30 according to an embodiment of the present invention. The terminal 30 includes at least a determining
通过运行上述单元,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从 该至少一个资源中选择到想要选的资源。By running the foregoing unit, when the terminal selects the target resource from the at least one resource sorting, the terminal is selected according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements in advance, so that the terminal is more easily Selecting the resource to be selected among the at least one resource.
在一种可选的方案中,该多种业务包括P2X相关的V2X侧行链路通信和非P2X相关的V2X侧行链路通信。In an alternative, the plurality of services includes P2X related V2X sidelink communications and non-P2X related V2X sidelink communications.
在又一种可选的方案中,该多种资源选择方式包括基于监测的资源选择方式和基于随机选择的资源选择方式。In still another optional solution, the multiple resource selection manners include a monitoring based resource selection manner and a random selection based resource selection manner.
在又一种可选的方案中,该确定单元包括第一确定子单元和第二确定子单元,该第一确定子单元用于在至少一种属性中确定目标属性;该第二确定子单元用于在至少一个资源中确定属性为该目标属性的目标资源。In still another optional solution, the determining unit includes a first determining subunit and a second determining subunit, the first determining subunit is configured to determine a target attribute in at least one attribute; the second determining subunit A target resource for determining an attribute as the target attribute in at least one resource.
在又一种可选的方案中,该第一确定子单元具体用于根据至少一种属性中每种属性对应的概率在该至少一种属性中确定目标属性。In still another optional solution, the first determining subunit is specifically configured to determine the target attribute among the at least one attribute according to a probability corresponding to each attribute of the at least one attribute.
在又一种可选的方案中,该至少一种属性中每种属性对应的概率是网络侧设备配置的;或者该至少一种属性中每种属性对应的概率是预先配置的;或者该至少一种属性中每种属性对应的概率是根据该每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。In still another optional solution, the probability that each of the at least one attribute corresponds to the network side device configuration; or the probability that each of the at least one attribute corresponds to the pre-configured; or the at least The probability corresponding to each attribute of an attribute is determined according to at least one of channel occupancy rate CBR, congestion level, and utilization of the resource of each attribute.
在又一种可选的方案中,该至少一种属性中的每种属性对应一个概率,该至少一种属性中各个属性对应的概率之和等于1。In still another optional solution, each of the at least one attribute corresponds to a probability, and a sum of probabilities corresponding to each of the at least one attribute is equal to 1.
在又一种可选的方案中,该第一确定子单元具体用于根据至少一种属性中每种属性的资源的信道占用率CBR、拥塞程度和利用率确定目标属性。In still another optional solution, the first determining sub-unit is specifically configured to determine the target attribute according to a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute in the at least one attribute.
在又一种可选的方案中,该第二确定子单元具体用于根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,该每个资源的接收信号强度是该终端在该资源上接收到的信号强度。In still another optional solution, the second determining subunit is specifically configured to determine, according to an attribute of each resource in the at least one resource, and a received signal strength, where the received signal strength of the resource is that the terminal is in the The strength of the signal received on the resource.
在又一种可选的方案中,该第二确定子单元根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,具体为:根据至少一个资源中每个资源的属性对该至少一个资源排序,相同属性的各个资源按照该各个资源的接收信号强度的大小排序;根据该到少一个资源的排序结果确定目标资源。In still another optional solution, the second determining subunit determines the target resource according to the attribute of each resource in the at least one resource and the received signal strength, specifically: the at least the attribute of each resource in the at least one resource A resource is sorted, and each resource of the same attribute is sorted according to the size of the received signal strength of the respective resources; and the target resource is determined according to the sort result of the one resource.
在又一种可选的方案中,该第二确定单元根据至少一个资源中每个资源的属性和接收信号强度确定目标资源,具体为:根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源。In still another optional solution, the second determining unit determines the target resource according to the attribute of each resource in the at least one resource and the received signal strength, specifically: according to the received signal strength of each resource in the at least one resource, and the The weighting factor corresponding to the attribute of each resource determines the target resource.
在又一种可选的方案中,该第二确定子单元根据至少一个资源中每个资源的接收信号强度和该每个资源的属性对应的权重因子确定目标资源,具体为:将该至少一个资源中每个资源的接收信号强度与该每个资源的属性对应的权重因子相乘,得到该每个资源的度量值;根据该至少一个资源中每个资源的度量值对该至少一个资源排序;根据该至少一个资源的排序结果确定目标资源。In another optional solution, the second determining subunit determines the target resource according to the received signal strength of each resource in the at least one resource and the weighting factor corresponding to the attribute of each resource, specifically: the at least one The received signal strength of each resource in the resource is multiplied by a weighting factor corresponding to the attribute of each resource to obtain a metric value of each resource; and the at least one resource is sorted according to the metric value of each resource in the at least one resource. Determining the target resource according to the sorting result of the at least one resource.
在又一种可选的方案中,该至少一种属性中每种属性对应的权重因子是网络侧设备配置的;或者该至少一种属性中每种属性对应的权重因子是预先配置的;或者该至少一种属性中每种属性对应的权重因子是根据每种属性的资源的信道占用率CBR、拥塞程度和利用率中至少一项确定的。In still another optional solution, the weighting factor corresponding to each attribute of the at least one attribute is configured by the network side device; or the weighting factor corresponding to each attribute of the at least one attribute is pre-configured; or The weighting factor corresponding to each of the at least one attribute is determined according to at least one of a channel occupancy rate CBR, a congestion level, and a utilization rate of the resource of each attribute.
在又一种可选的方案中,该终端还包括接收单元和判断单元,该接收单元用于在该确 定单元根据资源的属性从至少一个资源中确定目标资源之前,接收网络侧设备发送的指示信息;该判断单元用于根据该指示信息确定是否触发该确定单元根据资源的属性从至少一个资源中确定目标资源的操作。In still another optional solution, the terminal further includes a receiving unit and a determining unit, where the receiving unit is used to determine The determining unit receives the indication information sent by the network side device before determining the target resource from the at least one resource according to the attribute of the resource; the determining unit is configured to determine, according to the indication information, whether the determining unit is determined from the at least one resource according to the attribute of the resource. The operation of the target resource.
在又一种可选的方案中,该终端还包括计算单元,该计算单元用于在确定单元根据资源的属性从至少一个资源中确定目标资源之前,根据该资源的信道占用率CBR、拥塞程度和利用率中至少一项确定是否触发该确定单元根据资源的属性从至少一个资源中确定目标资源的操作。In still another optional solution, the terminal further includes a calculating unit, configured to: according to the channel occupancy rate CBR and congestion level of the resource, before the determining unit determines the target resource from the at least one resource according to the attribute of the resource And determining, by at least one of the utilization rates, an operation of determining, by the determining unit, the target resource from the at least one resource according to the attribute of the resource.
需要说明的是,终端30的具体实现还可以参照图2所示方法实施例的详细描述。It should be noted that the specific implementation of the terminal 30 may also refer to the detailed description of the method embodiment shown in FIG. 2 .
在图3所示的终端30中,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。In the terminal 30 shown in FIG. 3, when the terminal selects a target resource from at least one resource ordering, it is selected according to an attribute that is previously divided for each resource, and the attribute may be specially configured in advance according to requirements, making the terminal easier. Select from the at least one resource to the resource that you want to select.
综上该,终端从至少一个资源排序中选择目标资源时,是根据预先为各个资源划分的属性来选择的,可以预先根据需要对该属性进行特殊配置,使得终端更容易从该至少一个资源中选择到想要选的资源。In summary, when the terminal selects the target resource from the at least one resource order, the terminal is selected according to the attribute that is divided for each resource in advance, and the attribute may be specially configured according to requirements, so that the terminal is more easily from the at least one resource. Select the resource you want to select.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可通过计算机程序来指令相关的硬件来完成,该的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可存储程序代码的介质。 A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. The flow of an embodiment of the methods as described above may be included. The foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Claims (30)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111056776.1A CN113905439B (en) | 2016-12-29 | 2017-06-13 | Resource selection method and terminal |
| CN201780014180.0A CN108702756B (en) | 2016-12-29 | 2017-06-13 | A resource selection method and terminal |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611246855.8 | 2016-12-29 | ||
| CN201611246855 | 2016-12-29 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018120663A1 true WO2018120663A1 (en) | 2018-07-05 |
Family
ID=62706827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/088144 Ceased WO2018120663A1 (en) | 2016-12-29 | 2017-06-13 | Resource selection method and terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN113905439B (en) |
| WO (1) | WO2018120663A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190327747A1 (en) * | 2016-11-25 | 2019-10-24 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data Transmission Method and Apparatus |
| WO2023131287A1 (en) * | 2022-01-10 | 2023-07-13 | 维沃移动通信有限公司 | Resource determination method, resource detection method, and apparatuses, device, and storage medium |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113905439B (en) * | 2016-12-29 | 2025-04-25 | 华为技术有限公司 | Resource selection method and terminal |
Citations (5)
| 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 |
| US20130315152A1 (en) * | 2012-05-24 | 2013-11-28 | Nokia Siemens Networks Oy | Using Unique Preambles for D2D Communications in LTE |
| CN103957518A (en) * | 2014-05-13 | 2014-07-30 | 中国科学院上海微系统与信息技术研究所 | D2D communication method in cellular network |
| CN104811892A (en) * | 2014-01-29 | 2015-07-29 | 中兴通讯股份有限公司 | Resource allocation method, device and system |
| CN105578382A (en) * | 2014-11-06 | 2016-05-11 | 中兴通讯股份有限公司 | Resource acquisition method and device, resource configuration method and device, resource pool configuration method and device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101282575B (en) * | 2007-04-02 | 2012-01-11 | 中兴通讯股份有限公司 | Random access method and system |
| KR101172420B1 (en) * | 2009-11-23 | 2012-08-08 | 한국과학기술원 | Apparatus for resource allocation of basestation based on traffic pattern information and method thereof |
| US9173200B2 (en) * | 2013-02-28 | 2015-10-27 | Intel Mobile Communications GmbH | Communication terminal, network component, base station and method for communicating |
| US20160295624A1 (en) * | 2015-04-02 | 2016-10-06 | Samsung Electronics Co., Ltd | Methods and apparatus for resource pool design for vehicular communications |
| CN105657842B (en) * | 2016-01-15 | 2019-06-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and roadside unit of resource allocation |
| CN108024283B (en) * | 2016-11-04 | 2021-02-05 | 电信科学技术研究院 | Resource pool allocation method and device |
| CN113905439B (en) * | 2016-12-29 | 2025-04-25 | 华为技术有限公司 | Resource selection method and terminal |
-
2017
- 2017-06-13 CN CN202111056776.1A patent/CN113905439B/en active Active
- 2017-06-13 WO PCT/CN2017/088144 patent/WO2018120663A1/en not_active Ceased
- 2017-06-13 CN CN201780014180.0A patent/CN108702756B/en active Active
Patent Citations (5)
| 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 |
| US20130315152A1 (en) * | 2012-05-24 | 2013-11-28 | Nokia Siemens Networks Oy | Using Unique Preambles for D2D Communications in LTE |
| CN104811892A (en) * | 2014-01-29 | 2015-07-29 | 中兴通讯股份有限公司 | Resource allocation method, device and system |
| CN103957518A (en) * | 2014-05-13 | 2014-07-30 | 中国科学院上海微系统与信息技术研究所 | D2D communication method in cellular network |
| CN105578382A (en) * | 2014-11-06 | 2016-05-11 | 中兴通讯股份有限公司 | Resource acquisition method and device, resource configuration method and device, resource pool configuration method and device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190327747A1 (en) * | 2016-11-25 | 2019-10-24 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data Transmission Method and Apparatus |
| US11147074B2 (en) * | 2016-11-25 | 2021-10-12 | Guangdong Oppo Mobile | Data transmission method and apparatus |
| WO2023131287A1 (en) * | 2022-01-10 | 2023-07-13 | 维沃移动通信有限公司 | Resource determination method, resource detection method, and apparatuses, device, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108702756A (en) | 2018-10-23 |
| CN113905439B (en) | 2025-04-25 |
| CN108702756B (en) | 2021-09-14 |
| CN113905439A (en) | 2022-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110351687B (en) | V2V resource allocation method and device | |
| CN106470492B (en) | Resource occupation method and device and user equipment | |
| US20240349265A1 (en) | Communication method and apparatus | |
| CN108702758B (en) | Resource selection method and terminal | |
| CN107006000B (en) | Method and user equipment for transmitting messages | |
| JP6788732B2 (en) | Device-to-device communication method and terminal device | |
| EP3606208A1 (en) | Resource selection method and apparatus, resource allocation method and apparatus, and related storage medium | |
| EP4171073B1 (en) | Information sending method and computer program | |
| EP3442284B1 (en) | Method and user equipment for resource allocation of vehicle network | |
| JP2019530335A (en) | V2X communication method, device and system | |
| CN114080832B (en) | Communication method and device, electronic device, and computer-readable storage medium | |
| JP2020506590A (en) | Data packet transmission method and terminal | |
| CN115399007B (en) | Method, device and system for transmitting resource indication information | |
| CN113905439B (en) | Resource selection method and terminal | |
| JP2023546898A (en) | Method and apparatus for determining sidelink transmission resources | |
| CN115362740A (en) | Communication apparatus, communication method, and communication system | |
| WO2019095980A1 (en) | Resource scheduling method and related device | |
| CN117097729A (en) | Data processing method, apparatus, device, storage medium, and program product | |
| WO2023142002A1 (en) | Information transmission method and apparatus, and device and storage medium | |
| CN115915473B (en) | Resource sensing method and terminal equipment | |
| WO2022077453A1 (en) | Communication method and communication apparatus | |
| CN112153737A (en) | Communication method and device | |
| CN112840738B (en) | Wireless communication method and communication device | |
| WO2023050870A1 (en) | Resource reservation method and terminal device | |
| CN110876153B (en) | Method and equipment for constructing CoMP set |
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: 17886974 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17886974 Country of ref document: EP Kind code of ref document: A1 |