Resource selection method and device, equipment, storage medium and program product

By dividing the service package into two groups and selecting resources in different ways, the pre-conducting behavior of P-UE for listening conditions during SPS scheduling is solved, power consumption and delay are reduced, and more efficient resource selection is achieved.

CN120358600AActive Publication Date: 2025-07-22HONGXING ZHIXIN TECHNOLOGY (NANJING) CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510710121.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-07-22
Estimated Expiration
2045-05-29

AI Technical Summary

Technical Problem

In the prior art, part of the perception mechanism of the pedestrian user equipment (P-UE) fails to effectively solve the pre-position behavior of monitoring conditions during SPS scheduling, resulting in high power consumption and large delay in the equipment.

Method used

The periodically sent service packets are divided into two groups, and the resource is selected for the first service packet group is selected by random snapshot and/or the first SPS method, and the resource is selected for the second service packet group is selected by the second SPS method. The length of the monitoring window of the first SPS method is the SPS period of the device, and the length of the monitoring window of the second SPS method is the maximum reservation period configured by the system.

Benefits of technology

The specific behavior regulations for the equipment before the SPS monitoring conditions are met are realized, which reduces power consumption and delays, and solves the problem of blanks in the existing standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358600A_ABST
    Figure CN120358600A_ABST
Patent Text Reader

Abstract

Provided are a resource selection method, apparatus, device, storage medium and program product, relating to the technical field of communications, comprising: dividing periodically sent service packets into a first service packet group and a second service packet group, the sending time of the service packets in the first service packet group being earlier than the sending time of the service packets in the second service packet group; selecting sending resources for the service packets in the first service packet group by adopting a random onesshot mode and / or a first SPS mode; and selecting sending resources for the service packets in the second service packet group in a second SPS mode, the length of a first monitoring window corresponding to the first SPS mode being the SPS period of the first device, and the length of a second monitoring window corresponding to the second SPS mode being the maximum reservation period in the reservation period set. Therefore, the specific behavior of the first equipment before meeting the monitoring condition is specified, and the problem of blank existing for SPS scheduling in related standards is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle networking, and particularly to a resource selection method, apparatus, device, storage medium, and program product. Background Art

[0002] For a pedestrian user equipment (P-UE), some partial sensing mechanisms are given in the current relevant standard protocols, and the basic requirements for scheduling are given: starting from the moment when resource reselection is required, it is necessary to ensure that the resources mapped to the previously sensed window in the candidate resource set must be monitored, that is, monitoring needs to be done every second, so it is impossible to achieve low power consumption of the device. That is: only when semi-persistent scheduling (SPS) is specified in the relevant standards, the monitoring conditions need to be met. However, the specific behavior of the node before meeting the SPS monitoring conditions is not specified. Summary of the Invention

[0003] Embodiments of this application provide a resource selection method, apparatus, device, storage medium, and program product, which solve the problem of the blank existing in the relevant standards for SPS scheduling.

[0004] In a first aspect, to achieve the above object, an embodiment of this application provides a resource selection method, which is applied to a first device, and the method includes:

[0005] Divide the periodically sent service packets into a first service packet group and a second service packet group, where the sending time of the service packets in the first service packet group is earlier than the sending time of the service packets in the second service packet group;

[0006] Use the random snapshot oneshot method and / or the first SPS method to select transmission resources for the service packets in the first service packet group; and use the second SPS method to select transmission resources for the service packets in the second service packet group, where the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the system-configured reservation period set.

[0007] Among them, dividing the periodically sent service packets into a first service packet group and a second service packet group according to the maximum reservation period in the system-configured reservation period set and the SPS period of the first device includes:

[0008] Obtain the maximum reservation period in the system-configured reservation period set;

[0009] Round up the ratio of the maximum reservation period to the SPS period to obtain a first value k;

[0010] Divide the first k service packets in the periodic service packet into the first service packet group, and divide the (k + 1)-th service packet and the service packets after the (k + 1)-th service packet into the second service packet group.

[0011] Among them, using the random snapshot oneshot method and / or the first SPS method to select transmission resources for the service packets in the first service packet group includes any one of the following:

[0012] Using the random oneshot method, select transmission resources for each service packet in the first service packet group respectively;

[0013] Using the random oneshot method, select transmission resources for the first service packet in the first service packet group, and use the first SPS method to select transmission resources for the service packets in the first service packet group other than the first service packet.

[0014] Among them, using the random oneshot method to select transmission resources for the service packets in the first service packet group includes:

[0015] On the resources that meet the service packet delay requirement and are not configured to listen to subframes, use the random oneslot method to select transmission resources for the first target service packet, where the first target service packet is any service packet for which the random oneshot method is used to select transmission resources.

[0016] Among them, using the first SPS method to select transmission resources for the service packets in the first service packet group includes:

[0017] Perform resource listening within the first listening window to obtain a first listening result of a candidate resource set that meets the service packet processing delay requirement;

[0018] According to the first listening result, select transmission resources for the second target service packet in the candidate resource set, where the second target service packet is any service packet for which the first SPS method is used to select transmission resources.

[0019] Among them, performing resource listening within the first listening window to obtain a first listening result of a candidate resource set that meets the service packet processing delay requirement includes:

[0020] According to the candidate resource set corresponding to the first service packet in the second service packet group, perform resource mapping within the first listening window to obtain a period to be listened to;

[0021] Monitor the resources within each of the to-be-monitored time periods to obtain the first monitoring result.

[0022] Among them, using the second SPS method to select transmission resources for the service packets within the second service packet group includes:

[0023] Perform resource monitoring within the second monitoring window to obtain a second monitoring result for the candidate resource set; wherein, the candidate resource set is determined according to the expected arrival time of the first service packet within the second service packet group;

[0024] According to the second monitoring result, select a transmission resource for the third target service packet from the candidate resource set, where the third target service packet is any service packet within the second service packet group.

[0025] Among them, performing resource monitoring within the second monitoring window to obtain a second monitoring result for the candidate resource set includes:

[0026] According to the candidate resource set corresponding to the third target service packet and each reservation period in the reservation period set, perform resource mapping within the second monitoring window to obtain the to-be-monitored time periods corresponding to each reservation period;

[0027] Monitor the resources within the to-be-monitored time periods corresponding to each reservation period to obtain the second monitoring result.

[0028] Among them, the method further includes:

[0029] Determine a first resource selection window according to the expected arrival time of the first service packet within the second service packet group;

[0030] According to the maximum reservation period, map the starting resource of the first resource selection window forward in the time domain according to the maximum reservation period to obtain a first target resource;

[0031] Determine a first starting time according to the time domain position of the first target resource;

[0032] Determine that the starting points of both the first monitoring window and the second monitoring window are the first starting time.

[0033] Among them, the method further includes:

[0034] During the process of using the second SPS method to select transmission resources for the service packets within the second service packet group, in the case of determining that a candidate resource set needs to be reselected due to a time delay caused by a reserved subframe, determine a second starting time for resource monitoring corresponding to the reselected candidate resource set;

[0035] Update the position of the second listening window according to the second start time and the length of the second listening window;

[0036] Perform resource listening within the updated second listening window to obtain a third listening result for the reselection candidate resource set;

[0037] Select a transmission resource for the fourth target service packet from the reselection candidate resource set, where the fourth target service packet is the m-th service packet after the current service packet, and m = ceil(maximum reservation period / SPS period)+1.

[0038] Among them, determining the second start time of resource listening corresponding to the reselection candidate resource set includes:

[0039] Determine a second resource selection window according to the expected arrival time of the fourth target service packet;

[0040] According to the maximum reservation period, map the starting resource of the second resource selection window forward in the time domain by the maximum reservation period to obtain a second target resource;

[0041] Use the time domain position of the second target resource as the second start time.

[0042] Among them, the method further includes:

[0043] At a first moment, determine that a reselection candidate resource set is required; where the first moment includes any one of the following:

[0044] The moment when it is determined that the time delay of the candidate resource set caused by the reserved subframe satisfies a first condition;

[0045] The transmission moment of the service packet corresponding to the current candidate resource set that satisfies the first condition;

[0046] The arrival moment of the service packet corresponding to the current candidate resource set that satisfies the first condition;

[0047] Among them, the first condition includes any one of the following:

[0048] The time delay corresponding to the last resource in the time domain of the current candidate resource set is greater than or equal to a second value;

[0049] The time delay corresponding to the last resource in the time domain of the current candidate resource set is less than the second value, and the time delay corresponding to the last resource in the time domain of the adjacent next candidate resource set is greater than or equal to the second value; where the current candidate resource set and the adjacent next candidate resource set correspond to two adjacent service cycles;

[0050] Wherein, the second value is any one of the following:

[0051] PDB - maximum processing time of the receiving end - ceil(maximum reservation period in the reservation period set / 256 ms);

[0052] PDB - maximum processing time of the receiving end - ceil(service period * ceil(maximum reservation period / the SPS period) / 256 ms);

[0053] Wherein, PDB is the packet delay budget, and ceil represents the ceiling function.

[0054] In a second aspect, to achieve the above object, an embodiment of the present application provides a resource selection device, which is applied to a first device and includes:

[0055] A grouping module, configured to divide periodically transmitted service packets into a first service packet group and a second service packet group, wherein the transmission time of the service packets in the first service packet group is earlier than the transmission time of the service packets in the second service packet group;

[0056] A first selection module, configured to select transmission resources for the service packets in the first service packet group by using the random snapshot oneshot method and / or the first SPS method; and select transmission resources for the service packets in the second service packet group by using the second SPS method, wherein the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the reservation period set configured by the system.

[0057] In a third aspect, to achieve the above object, an embodiment of the present application provides a resource selection device, including a transceiver, a processor, a memory, and a program stored on the memory and executable on the processor; when the processor executes the program, it implements the resource selection method as described in the first aspect.

[0058] In a fourth aspect, to achieve the above object, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, it implements the resource selection method as described in the first aspect.

[0059] In a fifth aspect, to achieve the above object, an embodiment of the present application provides a computer program product, including computer instructions, and when the computer instructions are executed by a processor, it implements the resource selection method as described in the first aspect.

[0060] The beneficial effects of the above technical solutions of the present application are as follows:

[0061] In an embodiment of the present application, first, service packets sent periodically are divided into a first service packet group and a second service packet group, where the sending time of the service packets in the first service packet group is earlier than the sending time of the service packets in the second service packet group; second, a random snapshot oneshot method and / or a first SPS method are used to select transmission resources for the service packets in the first service packet group; and a second SPS method is used to select transmission resources for the service packets in the second service packet group, where the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the set of reservation periods configured by the system. In this way, the regulation for the first device before meeting the SPS listening condition is realized, and the problem that there is a blank in the specific behavior of nodes before meeting the SPS listening condition in the current relevant standards is solved. Description of the Drawings

[0062] Figure 1 Schematic diagram of partial perception;

[0063] Figure 2 Schematic diagram of the perception window and the resource selection window;

[0064] Figure 3 Flow schematic diagram of the resource selection method according to an embodiment of the present application;

[0065] Figure 4 Structural schematic diagram of the resource selection device according to an embodiment of the present application;

[0066] Figure 5 Structural schematic diagram of the resource selection device according to an embodiment of the present application. Detailed Embodiments

[0067] To make the technical problems, technical solutions, and advantages to be solved by the present application clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments.

[0068] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.

[0069] In various embodiments of the present application, it should be understood that the magnitudes of the serial numbers of the following processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0070] In addition, the terms "system" and "network" are often used interchangeably herein.

[0071] In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0072] Before describing the embodiments of this application, the following provides an exemplary description of related technical points:

[0073] I. P-UE partial sensing mechanism:

[0074] The basic operation process of the Partial sensing mechanism of P-UE and the Full sensing of Vehicle User Equipment (V-UE) is the same. The main differences between Partial sensing and Full sensing are as follows:

[0075] Partial sensing only senses some of the resources within the sensing window (1-second logical subframe window);

[0076] Partial sensing does not perform the processing of skip subframes, which is equivalent to the resources in all candidate Y subframes must have been sensed in the past subframes, otherwise they cannot be used for transmission; the specific positions of the set of Y subframes are determined by the UE based on its implementation, that is, the specific positions of the Y subframes are not limited in the relevant standards.

[0077] The minimum granularity is 100 ms, without considering 20 / 50 ms, that is, some occupied resources may not be excluded.

[0078] The schematic diagram of partial sensing is as Figure 1 shown, where "1100101010" represents: {100 ms, 200 ms, 500 ms, 700 ms, 900 ms}, that is, P-UE needs to consider the exclusion of service resource occupancy in these cycles.

[0079] II. Resource allocation:

[0080] In the Mode4 mode, the basic mechanism of resource allocation is Sensing + SPS.

[0081] Its basic idea is as follows: Nodes can, through real-time sensing, understand the resource occupancy of other nodes in real time as well as subsequent resource occupancy. When there is a need for resource selection / reselection for itself, it selects appropriate idle resources for transmission based on the understood resource occupancy. Once selected, it continuously occupies the resources under certain conditions, unless the trigger condition for resource reselection is met, in which case the resources will be switched.

[0082] The resource selection process generally includes: (1) excluding resources within the selection window (specifically the resource selection window) based on the decoding and measurement information corresponding to the successfully decoded SA in the sensing information; (2) performing power smoothing based on the sensing information to determine the candidate resource set; (3) selecting appropriate resources from the determined candidate resource set.

[0083] The above resource selection process mainly involves two windows: the sensing window and the selection window. The time relationship between these two windows is as follows Figure 2 shown. That is, the service packet arrives at time n, and the resource selection window is [n + T1, n + T2], where T1 ≤ 4. Among them:

[0084] What is listened to is the logical subframe rather than the physical subframe. That is, the determination of Y is based on the actually listened subframe and the parameter configuration gapCandidateSensing. That is, the resource selection set Y is determined by taking the intersection of the actually listened subframes within different periods (the periods with gapCandidateSensing configuration indicated as 1). Here, the selection of Y is the logical subframe rather than the physical subframe.

[0085] If processed (selecting resources) in the most natural way (the way naturally derived according to the full sensing method), for example, in the oneshot way, resources are selected within the listening window. In this way, it may not be possible to continuously monitor each resource in the candidate set, and there may be a large delay when the SPS condition is met. A specific example is as follows:

[0086] Assume: The service packet period is 100; the configured periods include {100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms}; then:

[0087] The first service packet arrives at the 1st physical subframe time. At this time, the listening is not completed yet, and SPS scheduling cannot be used;

[0088] The second service packet arrives at the 101st physical subframe time. At this time, the listening is not completed yet, and SPS scheduling cannot be used;

[0089] At the 3rd service packet arrival time of the 201 physical subframe, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0090] At the 4th service packet arrival time of the 301 physical subframe, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0091] At the 5th service packet arrival time of the 401 physical subframe, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0092] At the 6th service packet arrival time of the 501 physical subframe, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0093] At the arrival of the 7th service packet in the 601 physical subframe, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0094] At the 8th service packet arrival time of the 701 physical subframe, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0095] At the 9th service packet arrival time of the 801 physical subframe, the monitoring has been completed, and SPS scheduling can be used;

[0096] At the arrival of the 10th service packet in the 901 physical subframe, the monitoring has been completed, and SPS scheduling can be used;

[0097] However, for the first 9 service packets, if sent in oneshot mode, and in the default way, resources are selected within the activation interval without special handling of skip, for example:

[0098] {5, 6} is selected between logical subframes [5...14];

[0099] {108, 111} is selected between logical subframes [105...114];

[0100] {209, 214} is selected between logical subframes [205...214];

[0101] {305, 313} is selected between logical subframes [305...314];

[0102] {407, 412} is selected between logical subframes [405...414];

[0103] {506, 510} is selected between logical subframes [505...515];

[0104] {608, 611} is selected between logical subframes [605...614];

[0105] 【705…715】{708, 709} are selected between logical sub - frames;

[0106] 【805…814】{808, 811} are selected between logical sub - frames.

[0107] The consequence of this is that it is impossible to completely monitor {100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms}. Because of the transmission of skip, when a new service packet arrives at time 901, many positions are not completely monitored, that is, the basic conditions for SPS transmission are still not met.

[0108] Another problem is the latency problem. If there are no reserved sub - frames in the system, the physical sub - frame is equal to the logical sub - frame number; if there are reserved sub - frames in the system, the logical sub - frame number is less than the physical sub - frame number. According to the above example, when the 10th service packet arrives, it is selected between the logical sub - frames of 【905…914】. Here, 905 is the logical sub - frame number, and the minimum latency relative to the arrival time of the service packet has increased from T1 = 4ms to T1+3 = 7ms. Here, 3 corresponds to 3 reserved sub - frames.

[0109] In view of this, an embodiment of the present application provides a resource selection method. This method is applicable to the Long Term Evolution (LTE) scenario of the vehicle - to - everything (V2X) in the cellular Internet of Things. Specifically, it is a process of selecting resources for data transmission during the LTE communication process, as Figure 3 shown. This method is applied to the first device, and the method includes:

[0110] Step 301, divide the periodically - sent service packets into a first service packet group and a second service packet group, where the sending time of the service packets in the first service packet group is earlier than the sending time of the service packets in the second service packet group. Here, the basis for dividing the first service packet group and the second service packet group can be whether the sending resources can be selected using the conventional (standard - specified) SPS method, or in other words, whether complete listening information can be obtained when selecting the sending resources based on the SPS method. For example, the service packets in the first service packet group are service packets that cannot use the conventional SPS method to select the sending resources (the first device cannot obtain complete listening information when the service packets in the first service packet group are sent), and the service packets in the second service packet group are service packets that can use the conventional SPS method to select the sending resources (the first device cannot obtain complete listening information when the service packets in the second service packet group are sent).

[0111] Step 302: Select transmission resources for the service packets in the first service packet group by using the random snapshot oneshot method and / or the first SPS method; and select transmission resources for the service packets in the second service packet group by using the second SPS method, where the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the set of reservation periods configured by the system.

[0112] In the above step 302, the oneshot method and / or the SPS method with the SPS period of the first device as the length of the listening window are used to select transmission resources for the service packets in the first service packet group, which realizes the specification of the specific behavior of the first device before meeting the SPS listening condition, and solves the problem that there is no specification in the current relevant standards on how the node selects transmission resources for service packets before meeting the SPS listening condition.

[0113] In the resource selection method of the embodiment of the present application, first, the periodically transmitted service packets are divided into a first service packet group and a second service packet group, where the transmission time of the service packets in the first service packet group is earlier than the transmission time of the service packets in the second service packet group; second, the random snapshot oneshot method and / or the first SPS method are used to select transmission resources for the service packets in the first service packet group; and the second SPS method is used to select transmission resources for the service packets in the second service packet group, where the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the set of reservation periods configured by the system. In this way, the specification of the first device before meeting the SPS listening condition is realized, and the problem that there is a blank in the specific behavior of the node before meeting the SPS listening condition in the current relevant standards is solved.

[0114] As an optional implementation, step 301 includes:

[0115] Obtain the maximum reservation period in the set of reservation periods configured by the system;

[0116] Round up the ratio of the maximum reservation period to the SPS period to obtain the first value k; that is, k = ceil(maximum reservation period / SPS period);

[0117] Divide the first k service packets in the periodic service packets into the first service packet group, and divide the (k + 1)-th service packet and the service packets after the (k + 1)-th service packet into the second service packet group.

[0118] Exemplarily, if the set of reserved periods configured for the system is, for example: {100 ms, 200 ms, 300 ms, 400 ms, 500 ms, 600 ms, 700 ms, 800 ms, 900 ms}, and the SPS period of the first device is 200 ms; then k = ceil(900 ms / 200 ms) = 5; that is to say, the first 5 service packets in the periodic service packet are divided into the first service packet group, and the 6th service packet and subsequent service packets are divided into the second service packet group.

[0119] It can be seen from the above optional implementation that the time interval between the arrival time of the first service packet in the first service packet group and the arrival time of the first service packet in the second service packet group should be greater than or equal to the maximum reserved period. In this way, it can be ensured that the listening duration reaches the maximum reserved period when the first service packet in the second service packet group arrives, so that complete listening information (listening information within the duration corresponding to a maximum reserved period) can be obtained when the service packets in the second service packet group arrive.

[0120] That is to say, it is necessary to ensure that the listening duration when the service packets in the second service packet group arrive reaches the length corresponding to the reserved period (max_period), and the listening is completed before the first service packet in the second service packet group arrives. Therefore, from the perspective of minimizing listening and saving power, the listening duration can be set to the length of max_period, that is, the time that needs to be listened to.

[0121] If the listening window length is max_period, that is, after ceil

max_period / its own SPS period

[0122] Within the max_period logical subframe time, the number of service packets is: ceil

max / its own SPS period

max / its own SPS period

[0123] That is, the time point selected by SPS: the time point when the current service packet arrives (the time point when the first service packet arrives) + the time point after the service period * ceil

max / its own period

[0124] The following gives a specific example:

[0125] Table 1

[0126]

[0127]

[0128]

[0129] Among them, from the foregoing content, it can be known that after ceil(maximum reservation period / SPS period) service packets, a complete listening period can be obtained. That is to say, the total duration of listening is: the service cycle of itself * ceil(maximum reservation period / the SPS period of itself), where the SPS period of itself = the service cycle of itself.

[0130] For example, assume that the first service packet arrives at time 1, and the determined offset window is [5...14] (the specific determination method will be described in the subsequent embodiments). Taking the last row in Table 3 above as an example, the SPS period is 900 ms, and the reservation period set is {900 ms, 1000 ms}. Then, after 2 times, a complete listening period can be obtained. That is, the length of the listening window is 900 ms * 2 = 1800 ms. The third service packet can select a transmission resource based on the second SPS method. The (expected) arrival times of the first 3 service packets are the 1st physical subframe, the 901st physical subframe, and the 1801st physical subframe. According to the configured reservation period set bitmap = 0000000011, the areas that need to be listened to are [905...915] (perception of the node corresponding to the reservation period of 900 ms) and [805...815] (perception of the node corresponding to the reservation period of 1000 ms), and other areas do not need to be listened to.

[0131] As an optional implementation manner, in step 302, using the random snapshot oneshot method and / or the first SPS method to select transmission resources for the service packets in the first service packet group includes any one of the following:

[0132] Solution 1: Using the random oneshot method, respectively select transmission resources for each service packet in the first service packet group; that is to say, each service packet in the first service packet group respectively uses the random oneshot method to select transmission resources.

[0133] Solution 2: Adopt the random oneshot method to select a transmission resource for the first service packet in the first service packet group, and adopt the first SPS method to select a transmission resource for the service packets in the first service packet group except the first service packet. Here, since the listening information has not been obtained when the first service packet is transmitted, the first service packet in the first service packet group can be selected for transmission resources by the random oneshot method. When the subsequent service packets are transmitted, some listening information has been obtained. Therefore, the transmission resources for other service packets can be selected based on the obtained listening information, that is, the first SPS method is used to select the transmission resources. Here, the length of the first listening window of the first SPS method is the SPS period of the first device, and here, the SPS period is equal to the service period. In addition, the service packets in the first service packet group are sorted in the order of the sending sequence of the service packets, and the first service packet is the service packet sent first.

[0134] The above optional implementation method defines the specific behavior of the first device when the listening condition is not met, making up for the deficiency in the existing relevant standards that only stipulate that the listening condition needs to be met when using SPS.

[0135] As a specific implementation method, using the random oneshot method to select a transmission resource for the service packets in the first service packet group includes:

[0136] On the resources that meet the service packet delay requirements and are not configured as listening subframes, use the random oneshot method to select a transmission resource for the first target service packet, where the first target service packet is any service packet selected for transmission resources by the random oneshot method. That is to say, when selecting a transmission resource based on the random oneshot method, it is necessary to select a resource among the resources that meet the service packet delay requirements and are not configured as listening subframes. In this way, the reliability of the selected transmission resource can be ensured, and the continuity of the listening resource is avoided from being damaged by the resource selected by the random oneshot method. In this way, it can be ensured that the transmission resources of the service packets in the second service packet group can be selected based on the second SPS method.

[0137] A specific example of the above specific implementation method is as follows:

[0138] Table 2

[0139]

[0140] As shown in Table 2 above, the reservation period set is {100ms, 600ms, 900ms}, and the SPS period of the first device is 600ms. k = ceil(900ms / 600ms) = 2, that is, the second SPS method cannot be used to select transmission resources for the first 2 service packets; the specific description is as follows:

[0141] At the moment when the first service packet arrives in the 1st physical subframe, since the listening has not been completed yet, SPS scheduling cannot be used.

[0142] At the moment when the second service packet arrives in the 601st physical subframe, since the listening has not been completed yet, SPS scheduling cannot be used.

[0143] At the moment when the third service packet arrives in the 1201st physical subframe, since the listening is completed, SPS scheduling can be used.

[0144] Therefore, for the first service packet and the second service packet, the random oneshot method can be adopted for transmission.

[0145] Among them, it is assumed that the listening window offset is: [5...14]. When performing resource listening, based on each reservation period in the reservation period set, the positions that need to be listened to include: [305...314] logical subframes (corresponding to the sensing of nodes with a 100ms reservation period), [605...614] (corresponding to the sensing of nodes with a 600ms reservation period), [1105...1115] (corresponding to the sensing of nodes with a 900ms reservation period).

[0146] As a specific implementation method, the first SPS method is adopted to select transmission resources for the service packets in the first service packet group, including:

[0147] Performing resource listening within the first listening window to obtain the first listening result of the candidate resource set that meets the service packet processing delay requirements;

[0148] According to the first listening result, select transmission resources for the second target service packet in the candidate resource set, where the second target service packet is any service packet for which the transmission resources are selected by using the first SPS method. Exemplarily, the second target service packet is any service packet other than the first service packet in the first service packet group, that is: in the embodiments of the present application, the second to kth service packets can adopt the first SPS method for resource selection.

[0149] Next, a specific example of selecting transmission resources for the service packets in the first service packet group based on the oneshot method and the first SPS method is as follows:

[0150] Table 3

[0151]

[0152] As shown in Table 3 above, the reservation period set is {100ms, 200ms, 500ms, 800ms, 900ms}, and the SPS period of the first device is 100ms. k = ceil(900ms / 100ms) = 9, that is, the second SPS method cannot be used to select transmission resources for the first 9 service packets; the specific description is as follows:

[0153] The first service packet arrives at the physical subframe time 1. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0154] The second service packet arrives at the physical subframe time 101. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0155] The third service packet arrives at the physical subframe time 201. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0156] The fourth service packet arrives at the physical subframe time 301. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0157] The fifth service packet arrives at the physical subframe time 401. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0158] The sixth service packet arrives at the physical subframe time 501. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0159] The seventh service packet arrives at the physical subframe 601. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0160] The eighth service packet arrives at the physical subframe time 701. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0161] The ninth service packet arrives at the physical subframe time 801. At this time, the listening has not been completed, and SPS scheduling cannot be used;

[0162] The tenth service packet arrives at the physical subframe time 901. At this time, the listening is completed, and SPS scheduling can be used;

[0163] That is, for the first service packet, the random oneshot method can be used for transmission.

[0164] For the second to the ninth service packets, the first SPS method can be used for transmission, that is, only the sensing information of the SPS period (such as 100ms) is considered during the listening process. And it continues until the ninth service packet.

[0165] Among them, it is assumed that the monitoring window offset is: 【5…14】(the specific determination method will be described in subsequent embodiments). When monitoring resources, based on each reservation period in the reservation period set, the positions that need to be monitored include: 【5…14】 logical sub-frames (perception of nodes corresponding to the 900 ms reservation period), 【105…114】 logical sub-frames (perception of nodes corresponding to the 800 ms reservation period), 【405…414】 logical sub-frames (perception of nodes corresponding to the 500 ms reservation period), 【705…715】 logical sub-frames (corresponding to the 200 ms reservation period), 【805…814】 logical sub-frames (perception of nodes corresponding to the 100 ms reservation period).

[0166] Next, the specific positions when selecting resources for the service packets in the first service packet group will be described.

[0167] Continuing with the example related to Table 2, there are two service packets that cannot use the formal / conventional SPS before the formal / conventional SPS (the second SPS method), including:

[0168] The first service packet arrives in the 1st ms physical sub-frame. At this time, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0169] The second service packet arrives in the 601st ms physical sub-frame. At this time, the monitoring has not been completed yet, and SPS scheduling cannot be used;

[0170] For the first service packet, the corresponding awake window (monitoring window) interval is: 【1…10】.

[0171] For the second service packet, the corresponding awake window (monitoring window) interval is: 【601…610】. The service packet arrives in physical sub-frame 601, which is mapped to logical sub-frame 598;

[0172] For scheduling method 1 (random oneshot method):

[0173] For the first and second service packets, resources need to be selected within the non-awake window; that is, no special processing is required for resource selection here.

[0174] For scheduling method 2 (the first service packet uses the random oneshot method, and the second service packet uses the first SPS method):

[0175] For the second service packet, resources need to be selected within the awake window. Special processing is required here, that is, it is necessary to ensure that the processing time, for example, requires 4 ms, then the actual selection interval cannot include 601 and 602, that is, resources can only be selected from 【603…610】.

[0176] As a more specific implementation manner, resource monitoring is performed within the first monitoring window to obtain a first monitoring result of a candidate resource set that meets the service packet processing delay requirement, including:

[0177] According to the candidate resource set corresponding to the first service packet in the second service packet group, resource mapping is performed within the first monitoring window to obtain a to-be-monitored time period; here, the resource mapping can specifically map the resources in the candidate resource set forward in the time domain according to the SPS period, and determine the time period in which the resources having a mapping relationship with the SPS period are located as the to-be-monitored time period.

[0178] Monitor the resources within each of the to-be-monitored time periods to obtain the first monitoring result.

[0179] As an optional implementation manner, in step 302, the second SPS method is used to select a transmission resource for the service packets in the second service packet group, including:

[0180] Perform resource monitoring within the second monitoring window to obtain a second monitoring result of the candidate resource set; wherein, the candidate resource set is determined according to the expected arrival time of the first service packet in the second service packet group.

[0181] According to the second monitoring result, select a transmission resource for the third target service packet from the candidate resource set, where the third target service packet is any service packet in the second service packet group.

[0182] Among them, performing resource monitoring within the second monitoring window to obtain a second monitoring result of the candidate resource set includes:

[0183] According to the candidate resource set corresponding to the third target service packet and each reservation period in the reservation period set, perform resource mapping within the second monitoring window to obtain to-be-monitored time periods corresponding to each reservation period; here, the resource mapping can specifically map the resources in the candidate resource set forward in the time domain according to each reservation period in the reservation period set, and determine the time period in which the resources corresponding to each reservation period are located as the to-be-monitored time period. In this way, it is not necessary to continuously monitor the resources within the sensing window, but only monitor the part of the resources corresponding to the candidate resource set. In this way, the scheduling delay can be reduced.

[0184] Monitor the resources within the to-be-monitored time periods corresponding to each reservation period to obtain the second monitoring result.

[0185] In the above more specific implementation manner, an example of determining the to-be-monitored time period is as follows:

[0186] The starting point of the latest time window (the second listening window) for starting effective listening is: the time point when the current service packet arrives + the service cycle * ceil[the maximum reservation cycle / the SPS cycle] - the maximum reservation cycle. Among them, there is no need to perform listening within the corresponding previous several listening windows, that is, listening needs to be performed in each subsequent cycle. Among them, the subsequent listening is configured according to the bitmap.

[0187] Still taking Table 2 as an example: the reservation cycle set is {100ms, 600ms, 900ms}, and the SPS cycle of the first device is 600ms. Since the maximum reservation cycle is 900ms, the effective duration of listening is 900ms. Therefore, after k = ceil(900ms / 600ms) = 2 times, complete listening information can be obtained.

[0188] Among them, if the maximum reservation cycle is an integer multiple of the SPS cycle, then SPS cycle * ceil(maximum reservation cycle / SPS cycle) = maximum reservation cycle; if the maximum reservation cycle is not an integer multiple of the SPS cycle, then SPS cycle * ceil(maximum reservation cycle / SPS cycle) > maximum reservation cycle, that is, it is not possible to select the transmission resource based on SPS after the duration corresponding to the maximum reservation cycle from now on. Therefore, the situation corresponding to Table 2 above is that SPS cycle * ceil(maximum reservation cycle / SPS cycle) > maximum reservation cycle.

[0189] That is to say, if the maximum reservation cycle is an integer multiple of the SPS cycle, listening can be started within the window corresponding to the current service packet; if the maximum reservation cycle is not an integer multiple of the SPS cycle, it means that listening does not need to be started immediately, and the starting time of listening is: the time point when the current service packet arrives + the service cycle * ceil[max / its own cycle] - max and then start listening. The configuration here is the second case. After 1 + 600 * ceil(900 / 600) - 900 = 1 + 1200 - 900 = 301, that is, listening can start after 301.

[0190] Assume that the listening window offset is: [5...14] (determined by the resource selection window); that is, within each corresponding small window, they are: [5...14], [105...114], [205...214], [305...314], [405...414], [505...515], [605...614], [705...715]; [805...815], [905...915], [1005...1015], [1105...1115]; among them, listening is not required within the listening small windows corresponding to [5...14], [105...114], [205...214] (outside the duration corresponding to the maximum reservation cycle).

[0191] Furthermore, the system is only configured with 3 periods: {100ms, 600ms, 900ms}, that is, the SPS periods of other nodes can only be selected from these three periods, and start listening from the logical subframes of 【305…314】. Here, it is necessary to ensure that the information of the node with an SPS period of 900ms can be sensed.

[0192] Furthermore:

[0193] For the logical subframes of window 【405…414】, there is no need to listen either, because there is no reserved period of 800ms in the configuration;

[0194] For the logical subframes of window 【505…514】, there is no need to listen either, because there is no reserved period of 700ms in the configuration;

[0195] The second service packet arrives at time 601. At this time, the listening has not been completed yet, and SPS scheduling cannot be used;

[0196] The logical subframes of window 【605…615】 need to be listened to because there is a reserved period of 600ms in the configuration;

[0197] For the logical subframes of window 【705…714】, there is no need to listen either, because there is no reserved period of 500ms in the configuration;

[0198] For the logical subframes of window 【805…814】, there is no need to listen either, because there is no reserved period of 400ms in the configuration;

[0199] For the logical subframes of window 【905…914】, there is no need to listen either, because there is no reserved period of 300ms in the configuration;

[0200] For the logical subframes of window 【1005…1014】, there is no need to listen either, because there is no reserved period of 200ms in the configuration;

[0201] The logical subframes of window 【1105…1114】 need to be listened to because there is a reserved period of 100ms in the configuration;

[0202] That is: determine the offset of the listening small window (the starting point of the listening window) according to the resource selection window; further determine whether to listen to each small listening window within the large listening length (determined by the maximum reserved period) according to the configuration of the bitmap (bimap).

[0203] The third service packet arrives at the physical subframe time of 1201. At this time, the listening is completed, and SPS scheduling can be used.

[0204] Continuing with the above example, the determination process of the resource small window is as follows:

[0205] At the arrival of the 3rd service packet in the 1201 physical subframe time, the listening is completed at this time, and the second SPS scheduling can be used; at this time, the SPS selects resources and hopes to select a resource position with relatively low delay. That is, the lower boundary of the candidate resource set corresponds to the minimum allowable delay, and then push forward, the position of the candidate set corresponding to the start of listening (which can be the logical subframe number or the position offset relative to the relatively stable arriving service packet).

[0206] When arriving at the 1201 physical subframe time, if there is no reserved resource in the system bitmap configuration, that is, the physical subframe number = the logical subframe number. For example, if the bitmap length is configured as 20 and a service packet arrives at the 1201 physical subframe, the minimum lower boundary that can be selected is T1.

[0207] If T1 = 3ms, then the resource selection window is [1201 + 3...], that is, the resource selection window is M consecutive logical subframes;

[0208] If T1 = 4ms, then the resource selection window is [1201 + 4...], that is, the resource selection window is M consecutive logical subframes;

[0209] The specific number of M also depends on the algorithm implementation. Here, if it is a continuous subframe starting from 1205, since the logical subframe number corresponding to the resource selection is determined, the corresponding sensing window is also corresponding.

[0210] Method 1:

[0211] Assume that the length of the resource pool bitmap configuration is 100, that is, there are reserved subframes in the system. After listening for 900ms, the number of reserved subframes within 900ms may be 3 or 4.

[0212] Here, it is calculated according to 3. That is, if there are actually 3 reserved subframes, the lower boundary of the candidate resource set corresponds to the minimum allowable delay (n + T1); if there are actually 4 reserved subframes, the lower boundary of the candidate resource set corresponds to the minimum allowable delay + 1, that is, (n + T1 + 1).

[0213] Furthermore, reverse infer the current starting point (the starting point of listening) according to the starting point of the SPS;

[0214] n'+x+floor(maximum reservation period / 256)≥n + T1, where T1 is assumed to be 4ms here, depending on the actual implementation and test results.

[0215] Here, n represents the predicted arrival time of the first service packet corresponding to a normal SPS process (such as the first service packet within the aforementioned second service packet group, or, in a subsequent optional implementation, when the time delay caused by reserved subframes does not meet the time delay requirement and resource switching is required (in this case, a new SPS process needs to be started), the first service packet after resource switching). The upper layer configures T1 to determine the lower boundary of Y subframes (the lower boundary of the candidate resource set / the leading edge of the resource selection window), and then determines the lower boundary of the resource selection for the service packets corresponding to this SPS process according to the number of reserved subframes within the second listening window. Among them, the normal SPS process is the second SPS method in the embodiments of the present application, that is: the length of the corresponding listening window is the maximum reservation period.

[0216] Here, X = 1, that is, start listening at the next window when the current service packet arrives;

[0217] Or, Method 2: directly infer from the logical subframe number:

[0218] Assume T1 = 4. After the 1201 physical subframe arrives, calculate whether there are reserved subframes between the physical subframes {1201, 1202, 1203, 1204}. If there are:

[0219] If the 1201 physical subframe is a reserved subframe, then the physical subframe (1201 + 4) is the starting point of the small window (which must be a logical subframe);

[0220] If the 1202 physical subframe is a reserved subframe, then the physical subframe (1201 + 4) is the starting point of the small window (which must be a logical subframe);

[0221] If the 1203 physical subframe is a reserved subframe, then the physical subframe (1201 + 4) is the starting point of the small window (which must be a logical subframe);

[0222] If the 1204 physical subframe is a reserved subframe, then the physical subframe (1201 + 4) is the starting point of the small window (which must be a logical subframe);

[0223] If the 1205 physical subframe is a reserved subframe, then the physical subframe (1201 + 5) is the starting point of the small window (which must be a logical subframe);

[0224] If none of the subframes is a reserved subframe, then the physical subframe (1201 + 4) is the starting point of the small window (which must be a logical subframe);

[0225] Pushing forward from the number of the logical subframe corresponding to the physical subframe at the starting point of the resource selection window, assuming that the (1201 + 4) physical subframe is the starting point, the logical subframe number corresponding to the 1205 physical subframe is 1201, and the configured corresponding resource reservation set bitmap is 1 to 10 (1111111111), then corresponding to the previous sensing, the corresponding listening window is: [1101, 1110], [1001, 1010], [901, 910], [801, 810], [701, 710], [601, 610], [501, 510], [401, 410], [301, 310], [201, 210].

[0226] Here, 1201 (the logical subframe number at the lower boundary of the resource selection window) - the maximum configured period 1000 = 201, and the starting point of the large listening window (the second listening window) is obtained.

[0227] In this way, the embodiment of the present application describes the method for determining the specific positions of Y subframes to define the specific positions of Y subframes. Specifically, the lower boundary of Y subframes (the lower boundary of the candidate resource set / the leading edge of the resource selection window) can be determined based on the expected arrival time of the first service packet in the second service packet group and T1 configured by the upper layer, then the corresponding listening positions can be determined according to the set of configured reservation periods, and then the actual positions to be listened within the listening window can be determined according to the values of the bitmap resource reservation period configuration.

[0228] Here, it should be noted that the above method for determining Y subframes and the method for determining the listening positions based on Y subframes are also applicable to the situation where the delay does not meet the delay requirements due to the reserved subframes in the following optional implementation manners and resource replacement is required, that is: applicable to the listening before the second SPS manner corresponding to the service packet after resource replacement. That is: the above method for determining Y subframes is applicable to the listening before each normal SPS process (such as: the SPS process that first meets the listening conditions, the SPS process after resource replacement due to delay).

[0229] Further, as an optional implementation manner, the method further includes:

[0230] Determine a first resource selection window according to the expected arrival time of the first service packet in the second service packet group; as described above, the leading edge of the first resource selection window can be determined based on the expected arrival time of the first service packet in the second service packet group, T1 configured by the upper layer, and the number of reserved subframes in the second listening window.

[0231] Map the starting point resource of the first resource selection window forward in the time domain according to the maximum reservation period to obtain a first target resource;

[0232] Determine a first start time according to the time domain position of the first target resource;

[0233] Determine that the starting points of the first listening window and the second listening window are both the first start time.

[0234] That is to say, the time interval between the starting points of the first listening window and the second listening window and the starting point of the first resource selection window corresponding to the first service packet in the second service packet group is the maximum reservation period.

[0235] Further, as an optional implementation manner, the method further includes:

[0236] During the process of selecting transmission resources for the service packets in the second service packet group by using the second SPS manner, in the case where it is determined that the candidate resource set needs to be reselected due to the time delay caused by the reserved subframe, determine a second start time for resource listening corresponding to the reselected candidate resource set; that is to say, when the time delay caused by the reserved subframe does not meet the time delay requirement and the candidate resource set needs to be replaced, it is necessary to first determine the second start time for listening corresponding to the reselected candidate resource set, where the time interval between the time domain position of the first resource of the reselected candidate resource set and the second start time should be the maximum reservation period.

[0237] Update the position of the second listening window according to the second start time and the length of the second listening window; that is: the starting point of the updated second listening window is the second start time.

[0238] Perform resource listening within the updated second listening window to obtain a third listening result for the reselected candidate resource set; and according to the third listening result, select a transmission resource for a fourth target service packet from the reselected candidate resource set, where the fourth target service packet is the mth service packet after the current service packet, where m = ceil(maximum reservation period / SPS period) + 1, that is: the fourth target service packet is the first service packet in the second service packet group that can select a transmission resource based on the second SPS manner after the reselected candidate resource set.

[0239] As a specific implementation manner, determining the second start time for resource listening corresponding to the reselected candidate resource set includes:

[0240] Determine a second resource selection window according to the expected arrival time of the fourth target service packet;

[0241] Map the starting point resource of the second resource selection window forward in the time domain according to the maximum reservation period to obtain a second target resource;

[0242] Use the time domain position of the second target resource as the second starting moment.

[0243] The process of determining the second starting moment in the above specific implementation manner is similar to the process of determining the first starting moment described above, and will not be repeated here.

[0244] Further, as an optional implementation manner, the method further includes:

[0245] At the first moment, determine the candidate resource set that needs to be reselected; where the first moment includes any one of the following:

[0246] The moment when it is determined that the time delay of the candidate resource set caused by the reserved subframe satisfies the first condition;

[0247] The sending moment of the service packet corresponding to the current candidate resource set that satisfies the first condition;

[0248] The arrival moment of the service packet corresponding to the current candidate resource set that satisfies the first condition;

[0249] Where the first condition includes any one of the following:

[0250] The time delay corresponding to the last resource in the time domain of the current candidate resource set is greater than or equal to the second value;

[0251] The time delay corresponding to the last resource in the time domain of the current candidate resource set is less than the second value, and the time delay corresponding to the last resource in the time domain of the adjacent next candidate resource set is greater than or equal to the second value; where the current candidate resource set and the adjacent next candidate resource set correspond to two adjacent service cycles;

[0252] Where the second value is any one of the following:

[0253] PDB - maximum processing time of the receiving end - ceil(maximum reservation period in the reservation period set / 256ms);

[0254] PDB - maximum processing time of the receiving end - ceil(service cycle * ceil(maximum reservation period / the SPS cycle) / 256ms);

[0255] Where PDB is the Packet Delay Budget, and ceil represents the ceiling function.

[0256] That is to say, when the time-domain length configuration of the resource pool results in reserved subframes, it is determined whether to trigger the replacement of the candidate resource set according to the maximum time delay corresponding to the current candidate resource set. Among them, when one of the following conditions is met, the conversion of the candidate resource set is triggered to start:

[0257] When it is determined that the time delay corresponding to the last resource in the time domain of the candidate set is equal to {PDB - the maximum processing time of the receiving end - ceil(the maximum reservation period allowed by the current transmission resource pool / 256ms)};

[0258] When it is determined that the time delay corresponding to the last resource in the time domain of the candidate set is less than {PDB - the maximum processing time of the receiving end - ceil(the maximum reservation period allowed by the current transmission resource pool / 256ms)}, but the time delay corresponding to the next period is greater than {PDB - the maximum processing time of the receiving end - ceil(the maximum reservation period allowed by the current transmission resource pool / 256ms)}.

[0259] In the above resource selection method of the embodiments of the present application, special SPS scheduling is allowed to be executed before obtaining complete listening information, which makes up for the deficiencies in the existing relevant standards. And compared with the method naturally derived in the full sensing manner, the method of the embodiments of the present application listens to the resources mapped forward to the candidate resource set according to the configured reservation period value, so that the scheduling time delay is lower.

[0260] An embodiment of the present application further provides a resource selection device, which is applied to a first device, as Figure 4 shown, the resource selection device includes:

[0261] A grouping module 401, configured to divide the periodically transmitted service packets into a first service packet group and a second service packet group, where the transmission time of the service packets in the first service packet group is earlier than the transmission time of the service packets in the second service packet group;

[0262] A first selection module 402, configured to select transmission resources for the service packets in the first service packet group by using the random snapshot oneshot method and / or the first SPS method; and select transmission resources for the service packets in the second service packet group by using the second SPS method, where the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the system-configured reservation period set.

[0263] Among them, the grouping module 401 includes:

[0264] An obtaining sub-module, configured to obtain the maximum reservation period in the system-configured reservation period set;

[0265] A calculation sub-module, configured to round up the ratio of the maximum reservation period to the SPS period to obtain a first value k;

[0266] A grouping sub-module, configured to divide the first k service packets in the periodic service packet into the first service packet group, and divide the (k + 1)-th service packet and the service packets after the (k + 1)-th service packet into the second service packet group.

[0267] Wherein, the first selection module 402 includes:

[0268] A first selection sub-module, configured to select transmission resources for the service packets in the first service packet group by using the random snapshot oneshot manner and / or the first SPS manner;

[0269] Wherein, the first selection sub-module includes any one of the following:

[0270] A first selection unit, configured to select transmission resources for each service packet in the first service packet group by using the random oneshot manner;

[0271] A second selection unit, configured to select transmission resources for the first service packet in the first service packet group by using the random oneshot manner, and select transmission resources for the service packets other than the first service packet in the first service packet group by using the first SPS manner.

[0272] Wherein, the first selection unit includes:

[0273] A first selection subunit, configured to select transmission resources for a first target service packet by using the random oneslot manner on the resources that meet the service packet delay requirement and are not configured as listening subframes, where the first target service packet is any service packet for which the transmission resources are selected by using the random oneshot manner.

[0274] Wherein, when the first selection module 402 or the second selection unit is used to select transmission resources for the service packets in the first service packet group by using the first SPS manner, it is specifically configured to:

[0275] Perform resource listening within the first listening window to obtain a first listening result of a candidate resource set that meets the service packet processing delay requirement;

[0276] According to the first listening result, select transmission resources for a second target service packet in the candidate resource set, where the second target service packet is any service packet for which the transmission resources are selected by using the first SPS manner.

[0277] Wherein, when the first selection module 402 or the second selection unit is used to perform resource monitoring within the first monitoring window to obtain a first monitoring result of a candidate resource set that meets the service packet processing delay requirement, it is specifically used for:

[0278] Perform resource mapping within the first monitoring window according to the candidate resource set corresponding to the first service packet in the second service packet group to obtain a period to be monitored;

[0279] Monitor the resources within each period to be monitored to obtain the first monitoring result.

[0280] Wherein, the first selection module 402 includes:

[0281] A second selection sub-module, configured to select a transmission resource for the service packets in the second service packet group by using a second SPS method;

[0282] Wherein, the second selection sub-module includes:

[0283] A monitoring unit, configured to perform resource monitoring within the second monitoring window to obtain a second monitoring result of a candidate resource set; wherein, the candidate resource set is determined according to the expected arrival time of the first service packet in the second service packet group;

[0284] A third selection unit, configured to select a transmission resource for a third target service packet from the candidate resource set according to the second monitoring result, where the third target service packet is any service packet in the second service packet group.

[0285] Wherein, the monitoring unit includes:

[0286] A mapping sub-unit, configured to perform resource mapping within the second monitoring window according to the candidate resource set corresponding to the third target service packet and each reservation period in the reservation period set to obtain a period to be monitored corresponding to each reservation period;

[0287] A monitoring sub-unit, configured to monitor the resources within the period to be monitored corresponding to each reservation period to obtain the second monitoring result.

[0288] Wherein, the device further includes:

[0289] A first determination module, configured to determine a first resource selection window according to the expected arrival time of the first service packet in the second service packet group;

[0290] A mapping module, configured to map the starting resource of the first resource selection window forward in the time domain according to the maximum reservation period to obtain a first target resource;

[0291] A second determination module, configured to determine a first start time according to the time domain position of the first target resource;

[0292] A third determination module, configured to determine that the starting points of the first listening window and the second listening window are both the first start time.

[0293] Wherein, the apparatus further includes:

[0294] A fourth determination module, configured to determine a second start time for resource listening corresponding to a reselected candidate resource set in the process of selecting a transmission resource for a service packet in the second service packet group by using a second SPS mode, when it is determined that a reselection of the candidate resource set is required due to a time delay caused by a reserved subframe;

[0295] An update module, configured to update the position of the second listening window according to the second start time and the length of the second listening window;

[0296] A listening module, configured to perform resource listening within the updated second listening window to obtain a third listening result for the reselected candidate resource set;

[0297] A second selection module, configured to select a transmission resource for a fourth target service packet from the reselected candidate resource set according to the third listening result, where the fourth target service packet is the m-th service packet after the current service packet, and m = ceil(maximum reservation period / SPS period) + 1.

[0298] Wherein, the fourth determination module includes:

[0299] A first determination sub-module, configured to determine a second resource selection window according to the expected arrival time of the fourth target service packet;

[0300] A mapping sub-module, configured to map the starting point resource of the second resource selection window forward in the time domain according to the maximum reservation period to obtain a second target resource;

[0301] A second determination sub-module, configured to use the time domain position of the second target resource as the second start time.

[0302] Wherein, the apparatus further includes:

[0303] A fifth determination module, configured to determine that a reselection of the candidate resource set is required at a first time; wherein the first time includes any one of the following:

[0304] A moment when it is determined that the time delay of the candidate resource set caused by the reserved subframe satisfies a first condition;

[0305] The transmission time of the service packet corresponding to the current candidate resource set that meets the first condition;

[0306] The arrival time of the service packet corresponding to the current candidate resource set that meets the first condition;

[0307] Wherein, the first condition includes any one of the following:

[0308] The delay corresponding to the last resource in the time domain of the current candidate resource set is greater than or equal to a second value;

[0309] The delay corresponding to the last resource in the time domain of the current candidate resource set is less than the second value, and the delay corresponding to the last resource in the time domain of the next adjacent candidate resource set is greater than or equal to the second value; wherein, the current candidate resource set and the next adjacent candidate resource set correspond to two adjacent service cycles;

[0310] Wherein, the second value is any one of the following:

[0311] PDB - Receiver maximum processing time - ceil(maximum reservation period in the reservation period set / 256ms);

[0312] PDB - Receiver maximum processing time - ceil(service cycle * ceil(maximum reservation period / the SPS period) / 256ms);

[0313] Wherein, PDB is the packet delay budget, and ceil represents the ceiling function.

[0314] It should be noted that the above resource selection device provided by the embodiments of the present application can implement all the method steps implemented by the above resource selection method embodiments, and can achieve the same technical effects. The same parts and beneficial effects as those in the method embodiments will not be specifically described herein.

[0315] The embodiments of the present application further provide a resource selection device, including a transceiver 510, a processor 500, a memory 520, and a program stored on the memory 520 and executable on the processor 500; wherein, when the processor 500 executes the program, the above resource selection method is implemented.

[0316] The transceiver 510 is used to receive and send data under the control of the processor 500.

[0317] Wherein, in Figure 5Among them, the bus architecture may include any number of interconnected buses and bridges, specifically, various circuits of one or more processors represented by the processor 500 and the memory represented by the memory 520 are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are well known in the art, and thus will not be further described herein. The bus interface provides an interface. The transceiver 510 may be a plurality of components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on the transmission medium.

[0318] The processor 500 is responsible for managing the bus architecture and general processing, and the memory 520 may store data used by the processor 500 when executing operations.

[0319] A readable storage medium according to an embodiment of the present application, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps in the resource selection method described above are implemented, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here. Among them, the readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.

[0320] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for executing the methods described in various embodiments of the present application.

[0321] Therefore, an embodiment of the present application also provides a computer program product, including computer instructions, and when the computer instructions are executed by a processor, the resource selection method described above is implemented, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.

[0322] In the embodiments of the present application, the module can be implemented by software so as to be executed by various types of processors. For example, an identified executable code module may include one or more physical or logical blocks of computer instructions. For example, it may be constructed as an object, a process, or a function. Nevertheless, the executable code of the identified module does not need to be physically located together, but may include different instructions stored in different locations. When these instructions are logically combined together, they constitute the module and achieve the specified purpose of the module.

[0323] In fact, an executable code module can be a single instruction or a number of instructions, and can even be distributed across multiple different code segments, across different programs, and across multiple memory devices. Similarly, the operating data can be identified within the module, and can be implemented in any suitable form and organized within any suitable type of data structure. The operating data can be collected as a single data set, or can be distributed at different locations (including on different storage devices), and can exist at least partially only as electronic signals on a system or network.

[0324] When a module can be implemented by software, considering the level of existing hardware technology, those skilled in the art can build corresponding hardware circuits to implement corresponding functions without considering cost for the modules that can be implemented by software. The hardware circuits include conventional very large scale integration (VLSI) circuits or gate arrays, and existing semiconductors such as logic chips and transistors, or other discrete components. The module can also be implemented using programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, etc.

[0325] The above exemplary embodiments are described with reference to these drawings. Many different forms and embodiments are possible without departing from the spirit and teachings of the present application. Therefore, the present application should not be construed as being limited to the exemplary embodiments presented herein. Rather, these exemplary embodiments are provided so that the present application will be complete and convey the scope of the present application to those skilled in the art. In these drawings, component sizes and relative sizes may be exaggerated for clarity. The terms used herein are for the purpose of describing particular exemplary embodiments only and are not intended to be limiting. As used herein, unless the context clearly dictates otherwise, the singular forms "a," "an," and "the" are intended to include the plural forms as well. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of the stated features, integers, steps, operations, components, and / or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, groups thereof, and / or others. Unless otherwise indicated, when stating a value range, the range includes the upper and lower limits thereof and any sub-ranges therebetween.

[0326] The foregoing is the preferred embodiment of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle described in the present application, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present application.

Claims

1. A resource selection method, characterized in that, Applied to a first device, the method includes: Dividing the periodically transmitted service packets into a first service packet group and a second service packet group, where the transmission time of the service packets in the first service packet group is earlier than that of the service packets in the second service packet group; Selecting transmission resources for the service packets in the first service packet group by using the random snapshot oneshot method and / or the first SPS method; and selecting transmission resources for the service packets in the second service packet group by using the second SPS method, where the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the set of reservation periods configured by the system.

2. The method according to claim 1, characterized in that, Dividing the periodically transmitted service packets into a first service packet group and a second service packet group according to the maximum reservation period in the set of reservation periods configured by the system and the SPS period of the first device, including: Obtaining the maximum reservation period in the set of reservation periods configured by the system; Rounding up the ratio of the maximum reservation period to the SPS period to obtain a first value k; Dividing the first k service packets in the periodic service packets into the first service packet group, and dividing the (k + 1)-th service packet and the service packets after the (k + 1)-th service packet into the second service packet group.

3. The method according to claim 1, characterized in that, Selecting transmission resources for the service packets in the first service packet group by using the random snapshot oneshot method and / or the first SPS method, including any one of the following: Using the random oneshot method to select transmission resources for each of the service packets in the first service packet group; Using the random oneshot method to select transmission resources for the first service packet in the first service packet group, and using the first SPS method to select transmission resources for the service packets in the first service packet group other than the first service packet.

4. The method according to claim 1 or 3, characterized in that, Using the random oneshot method to select transmission resources for the service packets in the first service packet group, including: On the resources that meet the service packet delay requirement and are not configured as listening subframes, using the random oneslot method to select transmission resources for a first target service packet, where the first target service packet is any service packet for which transmission resources are selected by using the random oneshot method.

5. The method according to claim 1 or 3, characterized in that Using the first SPS method to select transmission resources for the service packets in the first service packet group, including: Performing resource listening within the first listening window to obtain a first listening result for a set of candidate resources that meet the service packet processing delay requirement; According to the first listening result, selecting transmission resources for a second target service packet from the set of candidate resources, where the second target service packet is any service packet for which transmission resources are selected by using the first SPS method.

6. The method according to claim 5, wherein Performing resource listening within the first listening window to obtain a first listening result for a set of candidate resources that meet the service packet processing delay requirement, including: Performing resource mapping within the first listening window according to the set of candidate resources corresponding to the first service packet in the second service packet group to obtain a period to be listened to; Monitor the resources within each of the to-be-monitored time periods to obtain the first monitoring result.

7. The method according to claim 1, wherein Select transmission resources for the service packets within the second service packet group by using the second SPS method, including: Perform resource monitoring within the second monitoring window to obtain a second monitoring result for the candidate resource set; wherein, the candidate resource set is determined according to the expected arrival time of the first service packet within the second service packet group; According to the second monitoring result, select a transmission resource for a third target service packet from the candidate resource set, where the third target service packet is any service packet within the second service packet group.

8. The method according to claim 7, characterized in that Performing resource monitoring within the second monitoring window to obtain a second monitoring result for the candidate resource set includes: Perform resource mapping within the second monitoring window according to the candidate resource set corresponding to the third target service packet and each reservation period within the reservation period set to obtain a to-be-monitored time period corresponding to each reservation period; Monitor the resources within the to-be-monitored time periods corresponding to each reservation period to obtain the second monitoring result.

9. The method according to claim 1, characterized in that The method further includes: Determine a first resource selection window according to the expected arrival time of the first service packet within the second service packet group; According to the maximum reservation period, map the starting resource of the first resource selection window forward in the time domain according to the maximum reservation period to obtain a first target resource; Determine a first starting time according to the time domain position of the first target resource; Determine that the starting points of both the first monitoring window and the second monitoring window are the first starting time.

10. The method according to claim 1, characterized in that, The method further includes: During the process of selecting transmission resources for the service packets within the second service packet group by using the second SPS method, when it is determined that a candidate resource set needs to be reselected due to a time delay caused by a reserved subframe, determine a second starting time for resource monitoring corresponding to the reselected candidate resource set; Update the position of the second monitoring window according to the second starting time and the length of the second monitoring window; Perform resource monitoring within the updated second monitoring window to obtain a third monitoring result for the reselected candidate resource set; According to the third monitoring result, select a transmission resource for a fourth target service packet from the reselected candidate resource set, where the fourth target service packet is the mth service packet after the current service packet, where m = ceil(maximum reservation period / SPS period) + 1.

11. The method according to claim 10, wherein, Determining the second starting time for resource monitoring corresponding to the reselected candidate resource set includes: Determine a second resource selection window according to the expected arrival time of the fourth target service packet; According to the maximum reservation period, map the starting resource of the second resource selection window forward in the time domain according to the maximum reservation period to obtain a second target resource; Use the time domain position of the second target resource as the second starting time.

12. The method according to claim 10, wherein The method further includes: At a first time, determine that a candidate resource set needs to be reselected; wherein, the first time includes any one of the following: The time when it is determined that the time delay of the candidate resource set caused by the reserved subframe satisfies a first condition; The transmission time of the service packet corresponding to the current candidate resource set that meets the first condition; The arrival time of the service packet corresponding to the current candidate resource set that meets the first condition; Wherein, the first condition includes any one of the following: The delay corresponding to the last resource in the time domain of the current candidate resource set is greater than or equal to a second value; The delay corresponding to the last resource in the time domain of the current candidate resource set is less than the second value, and the delay corresponding to the last resource in the time domain of the adjacent next candidate resource set is greater than or equal to the second value; wherein, the current candidate resource set and the adjacent next candidate resource set correspond to two adjacent service cycles; Wherein, the second value is any one of the following: PDB - Receiver maximum processing time - ceil(maximum reservation period in the reservation period set / 256ms); PDB - Receiver maximum processing time - ceil(service cycle * ceil(maximum reservation period / the SPS period) / 256ms); Wherein, PDB is the packet delay budget, and ceil represents the ceiling function.

13. A resource selection device, characterized in that, Applied to a first device, it includes: A grouping module, configured to divide the periodically transmitted service packets into a first service packet group and a second service packet group, wherein the transmission time of the service packets in the first service packet group is earlier than the transmission time of the service packets in the second service packet group; A first selection module, configured to select transmission resources for the service packets in the first service packet group by using the random snapshot oneshot method and / or the first SPS method; and select transmission resources for the service packets in the second service packet group by using the second SPS method, wherein the length of the first listening window corresponding to the first SPS method is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS method is the maximum reservation period in the system - configured reservation period set.

14. A resource selection device, comprising a transceiver, a processor, a memory, and a program stored on the memory and executable on the processor; characterized in that, When the processor executes the program, it implements the resource selection method according to any one of claims 1 to 12.

15. A readable storage medium, on which a program or instructions are stored, characterized in that, When the program or instruction is executed by the processor, it implements the resource selection method according to any one of claims 1 to 12.

16. A computer program product, characterized in that, Including computer instructions, when the computer instructions are executed by the processor, it implements the resource selection method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Resource selection processing method and device and terminal

    CN112261613A

  • Resource selection processing method and terminal

    CN113055936A

  • Resource sensing method and terminal equipment

    CN115915473A

  • Method and apparatus for performing partial sensing in nr v2x

    CN117378259A

  • Method executed by user equipment and user equipment

    CN117834098A