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

By dividing service packets into different groups and selecting resources in a specific manner, the problem of unclear behavior of P-UE before SPS listening conditions is solved, and low-power device operation is achieved.

CN120358600BActive Publication Date: 2026-03-27HONGXING ZHIXIN TECHNOLOGY (NANJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In the prior art, the specific behavior of pedestrian user equipment (P-UE) before the semi-persistent scheduling (SPS) listening condition is not clearly defined, which makes it impossible for the device to achieve low power consumption.

Method used

The periodically transmitted service packets are divided into first and second service packet groups. The first service packet group is selected for transmission resources using a random snapshot (oneshot) and/or the first SPS method, and the second service packet group is selected for transmission resources using the second SPS method. The listening window lengths are the SPS period and the maximum reservation period configured by the system, respectively.

Benefits of technology

It implements device behavior specifications before meeting SPS listening conditions, fills gaps in existing standards, and reduces device power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358600B_ABST
    Figure CN120358600B_ABST
Patent Text Reader

Abstract

The application provides a resource selection method and device, equipment, a storage medium and a program product, relates to the technical field of communication, and comprises the following steps: dividing periodically transmitted service packages into a first service package group and a second service package group, the service packages in the first service package group are transmitted earlier than the service packages in the second service package group; a random oneshot mode and / or a first SPS mode are used to select transmission resources for the service packages in the first service package group; a second SPS mode is used to select transmission resources for the service packages in the second service package group, the length of a first monitoring window corresponding to the first SPS mode is an SPS period of a first device, and the length of a second monitoring window corresponding to the second SPS mode is the maximum reservation period in a reservation period set. In this way, the specific behavior of the first device before meeting the monitoring condition is specified, and the blank problem existing in the related standard for SPS scheduling is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet of Vehicles, and particularly relates to a resource selection method and device, equipment, a storage medium and a program product. BACKGROUND

[0002] For a pedestrian user equipment (P-UE), a partical sensing mechanism is given in a related standard protocol, and a basic requirement for scheduling is given: from the time when resource reselection is needed, it is necessary to ensure that the candidate resource set mapped to the resource in the previous sensing window must be listened to, that is, listening needs to be performed every second, so that the low power consumption of the device cannot be realized. That is, the related standard only stipulates that the listening condition needs to be met when semi-persistent scheduling (SPS) is performed, but the specific behavior of the node before the SPS listening condition is met is not stipulated. SUMMARY

[0003] Embodiments of the present application provide a resource selection method, device, equipment, storage medium and program product, which solve the blank problem existing in the related standard for SPS scheduling.

[0004] In a first aspect, to achieve the above object, the embodiments of the present application provide a resource selection method applied to a first device, and the method comprises the following steps:

[0005] dividing 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;

[0006] selecting transmission resources for the service packets in the first service packet group in a random oneshot manner and / or a first SPS manner, and selecting transmission resources for the service packets in the second service packet group in a second SPS manner, wherein the length of a first listening window corresponding to the first SPS manner is an SPS period of the first device, and the length of a second listening window corresponding to the second SPS manner is a maximum reservation period in a system configured reservation period set.

[0007] In the method, the periodically transmitted service packets are divided into the first service packet group and the 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, and the division comprises the following steps:

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

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

[0010] The first k service packets in the periodic service packets are divided into the first service packet group, and the (k+1)th service packet and the service packets after the (k+1)th service packet are divided into the second service packet group.

[0011] The sending resource of the service packet in the first service packet group is selected by using a random oneshot mode and / or a first SPS mode, including any one of the following:

[0012] The sending resource of each service packet in the first service packet group is selected by using the random oneshot mode respectively.

[0013] The sending resource of the first service packet in the first service packet group is selected by using the random oneshot mode, and the sending resource of the service packet other than the first service packet in the first service packet group is selected by using the first SPS mode.

[0014] The sending resource of the service packet in the first service packet group is selected by using the random oneshot mode, including:

[0015] The sending resource of the first target service packet is selected by using the random oneshot mode on the resource that meets the service packet delay requirement and is not configured to listen to the subframe, where the first target service packet is any service packet whose sending resource is selected by using the random oneshot mode.

[0016] The sending resource of the service packet in the first service packet group is selected by using the first SPS mode, including:

[0017] The resource listening is performed in the first listening window to obtain a first listening result of a candidate resource set that meets the service packet processing delay requirement.

[0018] The sending resource of the second target service packet is selected from the candidate resource set according to the first listening result, where the second target service packet is any service packet whose sending resource is selected by using the first SPS mode.

[0019] The resource listening is performed in the first listening window to obtain a first listening result of a candidate resource set that meets the service packet processing delay requirement, including:

[0020] The resource mapping is performed in the first listening window according to the candidate resource set corresponding to the first service packet in the second service packet group to obtain a to-be-listened period.

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

[0022] The method further comprises:

[0023] performing resource monitoring in 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;

[0024] selecting, according to the second monitoring result, a sending resource for a third target service packet from the candidate resource set, wherein the third target service packet is any service packet in the second service packet group.

[0025] The method further comprises:

[0026] performing resource mapping in 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 to-be-monitored time period corresponding to each reservation period;

[0027] listening to resources in each of the to-be-monitored time periods to obtain the second monitoring result.

[0028] The method further comprises:

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

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

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

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

[0033] The method further comprises:

[0034] In the process of selecting, according to the second SPS mode, a sending resource for a service packet in the second service packet group, when it is determined that the candidate resource set needs to be reselected due to the time delay caused by the reserved subframe exceeding the time limit, determining a second starting time of resource monitoring corresponding to the reselected candidate resource set;

[0035] updating a position of the second listening window according to the second starting moment and a length of the second listening window;

[0036] performing resource listening in the updated second listening window to obtain a third listening result of the candidate resource set for reselection;

[0037] selecting a sending resource for a fourth target service packet from the candidate resource set for reselection according to the third listening result, wherein the fourth target service packet is an mth service packet after a current service packet, and m = ceil(maximum reservation period / SPS period) + 1.

[0038] wherein the second starting moment of the resource listening corresponding to the candidate resource set for reselection is determined, comprising:

[0039] determining a second resource selection window according to an expected arrival moment of the fourth target service packet;

[0040] mapping a starting resource of the second resource selection window to a time domain in a forward direction according to the maximum reservation period to obtain a second target resource;

[0041] taking a time domain position of the second target resource as the second starting moment.

[0042] wherein the method further comprises:

[0043] determining a candidate resource set for reselection at a first moment; wherein the first moment comprises any of the following:

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

[0045] a sending moment of a service packet corresponding to a current candidate resource set satisfying the first condition;

[0046] an arrival moment of a service packet corresponding to a current candidate resource set satisfying the first condition;

[0047] wherein the first condition comprises any of the following:

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

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

[0050] The second value is any of the following:

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

[0052] PDB-receiver maximum processing time - ceil(service period * ceil(maximum reservation period / SPP period) / 256 ms);

[0053] The PDB is a data packet delay budget, and ceil represents an upward rounding function.

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

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

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

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

[0058] In a fourth aspect, to achieve the above object, an embodiment of the present application provides a readable storage medium, which stores a program or instructions, and when the program or instructions are executed by a processor, the resource selection method of the first aspect is implemented.

[0059] In a fifth aspect, to achieve the above object, an embodiment of the present application provides a computer program product, comprising computer instructions, and when the computer instructions are executed by a processor, the resource selection method of the first aspect is implemented.

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

[0061] In the embodiments of the present application, first, the periodically transmitted service packets are divided 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; second, the random snapshot oneshot mode and / or the first SPS mode are used to select the transmission resource for the service packets in the first service packet group; and third, the second SPS mode is used to select the transmission resource for the service packets in the second service packet group, wherein the length of the first listening window corresponding to the first SPS mode is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS mode is the maximum reservation period in the set of system configured reservation periods. In this way, the regulation for the first device before meeting the SPS listening condition is realized, and the problem that the specific behavior of the node before meeting the SPS listening condition is blank in the current related standard is solved. BRIEF DESCRIPTION OF DRAWINGS

[0062] Figure 1 a partial sensing diagram;

[0063] Figure 2 a sensing window and resource selection window diagram;

[0064] Figure 3 a flowchart of the resource selection method of the embodiments of the present application;

[0065] Figure 4 a structural diagram of the resource selection device of the embodiments of the present application;

[0066] Figure 5 a structural diagram of the resource selection device of the embodiments of the present application. DETAILED DESCRIPTION

[0067] To make the technical problems, technical solutions and advantages of 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 the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily mean the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.

[0069] In various embodiments of the present application, it should be understood that the size of the serial number of the following processes does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on 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 the present 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 the determination of B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information.

[0072] Before the embodiments of the present application are described, exemplary descriptions of related technical points are first provided:

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

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

[0075] Partial sensing only performs sensing on part of the resources in the sensing window (1 second logical subframe window);

[0076] Partial sensing does not perform the processing process of the skip subframe, which is equivalent to all candidate Y subframes of resources are definitely sensed in the past Y subframe, otherwise it cannot be used for transmission; The specific position of the Y subframe set is determined by the UE based on the implementation, that is, the specific position of the Y subframe is not limited in the related standard.

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

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

[0079] II. Resource allocation:

[0080] Under the Mode 4, the basic mechanism of resource allocation is Sensing+SPS.

[0081] The basic idea is that: nodes understand the resource occupation of other nodes and the subsequent resource occupation through real-time sensing, and when the node has the need of resource selection / reselection, it selects the appropriate idle resource to send according to the understood resource occupation, and continuously occupies under certain conditions after selection, unless the trigger condition of resource reselection is met.

[0082] The resource selection process simply includes: (1) according to the decoding and measurement information corresponding to the successfully decoded SA in the sensing information, the resources in the selection window (specifically, the resource selection window) are excluded; (2) according to the sensing information, the power is smoothed to determine the candidate resource set; (3) select the appropriate resource in the determined candidate resource set.

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

[0084] The monitoring is logical subframe rather than physical subframe, that is: the determination of Y is according to the actual monitoring received subframe and parameter configuration gapCandidateSensing, that is, the resource selection set Y is determined by the intersection of the actually monitored subframes in different periods (gapCandidateSensing configuration indicates a period of 1). Here Y selection is logical subframe rather than physical subframe.

[0085] If it is processed (selects resources) in the most natural way (derived from the full sensing mode in a natural way), for example, in the snapshot (one shot) mode, it is to select resources in the monitoring window; in this way, each resource in the candidate set may not be able to continuously monitor, and there may be a large delay when the SPS condition is met. A specific example is as follows:

[0086] Assume: the business package period is 100; the configured period includes {100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms}; then:

[0087] 1 The first business package arrives at the physical subframe time, which cannot be used for SPS scheduling at this time because the monitoring has not been completed.

[0088] 101 The second business package arrives at the physical subframe time, which cannot be used for SPS scheduling at this time because the monitoring has not been completed.

[0089] 201 The 3rd service packet arrives at the 201 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0090] 301 The 4th service packet arrives at the 301 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0091] 401 The 5th service packet arrives at the 401 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0092] 501 The 6th service packet arrives at the 501 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0093] 601 The 7th service packet arrives at the 601 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0094] 701 The 8th service packet arrives at the 701 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0095] 801 The 9th service packet arrives at the 801 physical subframe moment, and the listening is not completed at this time, so SPS scheduling cannot be used;

[0096] 901 The 10th service packet arrives at the 901 physical subframe moment, and the listening is completed at this time, so SPS scheduling can be used;

[0097] However, for the first 9 service packets, if oneshot is used, if the default mode is used, that is, resources are selected in the active interval, and no special processing is performed on skip, for example:

[0098] 【5…14】{5, 6} is selected between logical subframes;

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

[0100] 【205…214】{209, 214} is selected between logical subframes;

[0101] 【305…314】{305, 313} is selected between logical subframes;

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

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

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

[0105] {708, 709} are selected between the logical subframes of 【705…715】;

[0106] {808, 811} are selected between the logical subframes of 【805…814】.

[0107] The consequence is that the complete listening cannot be achieved for {100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms} because of the sending of skip, when the new service packet arrives at the time of 901, many positions are not completely listened, that is, the basic condition of SPS sending is still not met.

[0108] Another problem is the time delay problem. If there is no reserved subframe in the system, the physical subframe is equal to the logical subframe number; if there is a reserved subframe in the system, the logical subframe number is less than the physical subframe number; according to the above example, when the 10th service packet arrives, the logical subframes of 【905…914】 are selected, 905 is the logical subframe number here, and the minimum time delay relative to the arrival time of the service packet has been expanded from T1=4ms to T1+3=7ms, where 3 corresponds to 3 reserved subframes.

[0109] Therefore, embodiments of the present application provide a resource selection method, which is suitable for a Long Term Evolution (LTE) scenario of cellular mobile Internet of Things and Internet of Vehicles, and specifically is a process of selecting resources for data transmission in an LTE communication process, as shown in Figure 3 The method is applied to a first device, and the method comprises the following steps:

[0110] In step 301, periodically sent service packets are divided into a first service packet group and a second service packet group, wherein 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 division of the first service packet group and the second service packet group can be based on whether the conventional (standard specified) SPS mode can be used to select the sending resource, or in other words, whether complete listening information can be obtained when the SPS mode is used to select the sending resource, for example, the service packets in the first service packet group are service packets that cannot use the conventional SPS mode to select the sending resource (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 mode to select the sending resource (the first device cannot obtain complete listening information when the service packets in the second service packet group are sent).

[0111] In step 302, the oneshot mode and / or the first SPS mode are used to select the sending resource for the service packets in the first service packet group, and the second SPS mode is used to select the sending resource for the service packets in the second service packet group, wherein the length of the first listening window corresponding to the first SPS mode is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS mode is the maximum reservation period in the set of reservation periods configured by the system.

[0112] In step 302, the oneshot mode and / or the SPS mode with the SPS period of the first device as the length of the listening window are used to select the sending resource for the service packets in the first service packet group, which realizes the regulation of the specific behavior of the first device before the SPS listening condition is met, and solves the problem that the related standards do not regulate how the node selects the sending resource for the service packet before the SPS listening condition is met.

[0113] In the resource selection method of the embodiment, first, the periodically sent service packets are divided into the first service packet group and the second service packet group, wherein 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, the oneshot mode and / or the first SPS mode are used to select the sending resource for the service packets in the first service packet group, and the second SPS mode is used to select the sending resource for the service packets in the second service packet group, wherein the length of the first listening window corresponding to the first SPS mode is the SPS period of the first device, and the length of the second listening window corresponding to the second SPS mode is the maximum reservation period in the set of reservation periods configured by the system. In this way, the regulation of the first device before the SPS listening condition is met is realized, and the problem that the related standards are blank for the specific behavior of the node before the SPS listening condition is met is solved.

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

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

[0116] Taking the maximum reservation period and the SPS period as the upper integer, a first numerical value k is obtained; that is, k = ceil(maximum reservation period / SPS period);

[0117] The first k service packets in the periodic service packets are divided into the first service packet group, and the k+1 service packet and the service packets after the k+1 service packet are divided into the second service packet group.

[0118] For example, if the system configuration is set as {100ms, 200ms, 300ms, 400ms, 500ms, 600ms, 700ms, 800ms, 900ms}, the SPS period of the first device is 200ms; k = ceil(900ms / 200ms) = 5; that is, the first 5 packets in the periodic traffic packet are divided into the first packet group, and the 6th packet and the following packets are divided into the second packet group.

[0119] As can be seen from the above optional implementation, the time interval between the arrival time of the first packet in the first packet group and the arrival time of the first packet in the second packet group should be greater than or equal to the maximum reservation period, so that the listening time when the first packet in the second packet group arrives can reach the maximum reservation period, so that complete listening information (the listening information in the length corresponding to the maximum reservation period) can be obtained when the packets in the second packet group arrive.

[0120] That is, it is necessary to ensure that the listening time when the packets in the second packet group arrive reaches the length corresponding to the reservation period (max_period), and the listening is completed before the first packet in the second packet group arrives. Thus, from the perspective of minimum listening and power saving, the listening time can be set as the length of max_period, i.e., the time required for listening.

[0121] If the listening window length is max_period, i.e., complete information can be obtained after ceil

max_period / its own SPS period

[0122] The number of packets in max_period logical subframe time is ceil

max / its own SPS period

max / its own SPS period

[0123] That is, the time point of SPS selection: the time point of the current packet arrival (the time point of the first packet arrival) + the time point of its own period * ceil

max / its own period

[0124] A specific example is given below:

[0125] Table 1

[0126]

[0127]

[0128]

[0129] Wherein, from the foregoing, it can be known that a complete monitoring period can be obtained after ceil(max reservation period / SPS period) service packets, that is, the total length of monitoring is: original service period*ceil(max reservation period / original SPS period), wherein, original SPS period=original service period.

[0130] For example, assuming that the first service packet arrives at time 1, the determined offset small window is 【5…14】 (the specific determination method is described in subsequent embodiments), and the last line in Table 3 is taken as an example, the SPS period is 900ms, and the reservation period set is {900ms, 1000ms}, then a complete monitoring period can be obtained after 2 times, that is, the length of the monitoring window is 900ms*2=1800ms, the third service packet can select a sending resource based on the second SPS mode, the (estimated) arrival time of the first three service packets is 1 physical subframe, 901 physical subframes, and 1801 physical subframes, according to the configured reservation period set bitmap=0000000011, it can be known that the area to be monitored is 【905…915】 (corresponding to the sensing of the node of the reservation period 900ms) and 【805…815】 (corresponding to the sensing of the node of the reservation period 1000ms), and other areas do not need to be monitored.

[0131] As an optional implementation, in step 302, the sending resource is selected for the service packets in the first service packet group by using the random oneshot mode and / or the first SPS mode, including any of the following:

[0132] Scheme 1: the random oneshot mode is used to select the sending resource for each service packet in the first service packet group; that is, each service packet in the first service packet group selects the sending resource by using the random oneshot mode.

[0133] Option 2: the first service packet in the first service packet group is selected by the random oneshot mode, and the other service packets in the first service packet group are selected by the first SPS mode. Here, the first service packet in the first service packet group is selected by the random oneshot mode because the first service packet is transmitted without obtaining the monitoring information. The subsequent service packets are transmitted after obtaining part of the monitoring information, and thus the obtained monitoring information is used to select the transmission resource, i.e., the first SPS mode is used to select the transmission resource. The length of the first monitoring window of the first SPS mode is the SPS period of the first device, and the SPS period is equal to the service period. In addition, the service packets in the first service packet group are sorted according to the order of service packet transmission, and the first service packet is the first transmitted service packet.

[0134] The optional implementation manner described above limits the specific behavior of the first device when the monitoring condition is not met, and makes up for the deficiency in the existing related standards that only specify that the monitoring condition needs to be met when the SPS is used.

[0135] As a specific implementation manner, the random oneshot mode is used to select the transmission resource for the service packets in the first service packet group, including:

[0136] When the service packet delay requirement is met and the resource is not configured as a monitoring subframe, the random oneshot mode is used to select the transmission resource for the first target service packet, where the first target service packet is any service packet selected by the random oneshot mode. That is, when the transmission resource is selected by the random oneshot mode, the resource needs to be selected from the resource that meets the service packet delay requirement and is not configured as a monitoring subframe, so that the reliability of the selected transmission resource can be ensured, and the continuity of the monitoring resource is not damaged due to the random oneshot mode. In this way, the transmission resource of the service packet in the second service packet group can be selected based on the second SPS mode.

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

[0138] Table 2

[0139]

[0140] As shown in Table 2, the reservation period set is {100 ms, 600 ms, 900 ms}, and the SPS period of the first device is 600 ms. k = ceil(900 ms / 600 ms) = 2, i.e., the first two service packets cannot be selected by the second SPS mode. The specific description is as follows:

[0141] 1 Physical subframe time the first service packet arrives, this time has not completed listening, can not use SPS scheduling;

[0142] 601 Physical subframe time the second service packet arrives, this time has not completed listening, can not use SPS scheduling;

[0143] 1201 Physical subframe time the third service packet arrives, this time has completed listening, can use SPS scheduling;

[0144] Thus, for the first service packet and the second service packet, a random oneshot mode can be used for sending.

[0145] Wherein, it is assumed that the listening window offset is: 【5…14】, in 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 node awareness of 100ms reservation period), 【605…614】 (corresponding to the node awareness of 600ms reservation period), 【1105…1115】 (corresponding to the node awareness of 900ms reservation period).

[0146] As a specific implementation, the first SPS mode is used to select sending resources for the service packets in the first service packet group, including:

[0147] Perform resource listening in the first listening window to obtain a first listening result of a candidate resource set satisfying the service packet processing delay requirement;

[0148] According to the first listening result, select sending resources for a second target service packet in the candidate resource set, wherein the second target service packet is any service packet selected to send resources by using the first SPS mode. Exemplarily, the second target service packet is any service packet in the first service packet group except the first service packet, that is, the first SPS mode can be used to select resources for the second service packet to the kth service packet in the embodiment of the application.

[0149] Next, a specific example of selecting sending resources for the service packets in the first service packet group based on the oneshot mode and the first SPS mode 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, i.e. the first 9 service packets cannot be sent by using the second SPS mode to select the sending resource; the specific description is as follows:

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

[0154] 101 The second service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0155] 201 The third service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0156] 301 The fourth service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0157] 401 The fifth service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0158] 501 The sixth service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0159] 601 The seventh service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0160] 701 The eighth service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

[0161] 801 The ninth service packet arrives at the time of the first physical subframe, and the listening is not completed at this time, and the SPS scheduling cannot be used;

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

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

[0164] For the second to ninth service packets, the first SPS mode can be used for sending, i.e. only the sensing information of the SPS period (such as 100ms) is considered in the listening process. And it lasts until the ninth service packet.

[0165] Wherein, it is assumed that the monitoring window offset is: 【5…14】 (the specific determination method is described in subsequent embodiments), during resource monitoring, based on each reservation period in the reservation period set, the positions that need to be monitored include: 【5…14】 logical subframes (corresponding to the sensing of nodes of a 900ms reservation period), 【105…114】 logical subframes (corresponding to the sensing of nodes of a 800ms reservation period), 【405…414】 logical subframes (corresponding to the sensing of nodes of a 500ms reservation period), 【705…715】 logical subframes (corresponding to a 200ms reservation period), and 【805…814】 logical subframes (corresponding to the sensing of nodes of a 100ms reservation period).

[0166] Next, the specific positions during resource selection for service packets in the first service packet group are described.

[0167] Based on the example related to Table 2, two service packets cannot use the formal / conventional SPS before the formal / conventional SPS (the second SPS mode), including:

[0168] The first service packet arrives at the first ms physical subframe, at which time the monitoring has not been completed, and SPS scheduling cannot be used;

[0169] The second service packet arrives at the 601st ms physical subframe, at which time the monitoring has not been completed, 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 at the 601st physical subframe, and the mapping to the logical subframe is 598;

[0172] For the scheduling mode 1 (random oneshot mode):

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

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

[0175] For the second service packet, resources need to be selected in the awake window, and special processing is required here, that is, the processing time needs to be 4ms, and 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, the resource listening is performed in the first listening window to obtain a first listening result of a candidate resource set satisfying a service packet processing delay requirement, which includes:

[0177] According to the candidate resource set corresponding to a first service packet in the second service packet group, resource mapping is performed in the first listening window to obtain a to-be-listened 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 a time period in which the resources corresponding to the SPS period are located as the to-be-listened time period.

[0178] The resources in each to-be-listened time period are listened to to obtain the first listening result.

[0179] As an optional implementation, in step 302, the second SPS mode is used to select a sending resource for the service packets in the second service packet group, which includes:

[0180] The resource listening is performed in the second listening window to obtain a second listening result of a candidate resource set; wherein the candidate resource set is determined according to an expected arrival time of a first service packet in the second service packet group;

[0181] According to the second listening result, a sending resource is selected for a third target service packet in the candidate resource set, wherein the third target service packet is any service packet in the second service packet group.

[0182] Here, the resource listening is performed in the second listening window to obtain a second listening result of a candidate resource set, which includes:

[0183] According to the candidate resource set corresponding to the third target service packet and each reservation period in the reservation period set, resource mapping is performed in the second listening window to obtain a to-be-listened time period 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 a time period in which the resources corresponding to each reservation period are located as the to-be-listened time period. In this way, the resources in the sensing window can not be continuously listened to, but only part of the resources corresponding to the candidate resource set can be listened to, so that the delay of scheduling can be reduced.

[0184] The resources in each to-be-listened time period corresponding to each reservation period are listened to to obtain the second listening result.

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

[0186] The start of the latest time window (the second listening window) for starting effective listening is: the time point of the arrival of the current service packet + service period * ceil

max reservation period / SPS period

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

[0188] Among them, if the maximum reservation period is an integer multiple of the SPS period, then SPS period * ceil(max reservation period / SPS period) = max reservation period; if the maximum reservation period is not an integer multiple of the SPS period, then SPS period * ceil(max reservation period / SPS period) > max reservation period, that is, the SPS selection transmission resource cannot be selected based on the SPS after the time corresponding to the maximum reservation period from now on. Therefore, the case corresponding to Table 2 above is SPS period * ceil(max reservation period / SPS period) > max reservation period.

[0189] That is, if the maximum reservation period is an integer multiple of the SPS period, the listening can be started in the window corresponding to the current service packet; if the maximum reservation period is not an integer multiple of the SPS period, the listening does not need to be started immediately, and the start time of the listening is: the time point of the arrival of the current service packet + service period * ceil

max / itself period

[0190] Assuming that the listening small window offset is 【5…14】 (determined by the resource selection window); that is, each small window corresponds to 【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, 【5…14】, 【105…114】, 【205…214】 correspond to the listening small window that does not need to be listened to (outside the time corresponding to the maximum reservation period).

[0191] Further, the system is configured with only 3 cycles: {100ms, 600ms, 900ms}, i.e. the SPS cycle of other nodes can only be selected from these three cycles, and the logical subframe window 【305…314】 is started to be monitored, and here it is necessary to ensure that the information of the node with a 900ms SPS cycle can be perceived.

[0192] Further:

[0193] The logical subframe window 【405…414】 does not need to be monitored, because there is no 800ms reservation cycle in the configuration;

[0194] The logical subframe window 【505…514】 does not need to be monitored, because there is no 700ms reservation cycle in the configuration;

[0195] The 2nd service packet arrives at time 601, and at this time the monitoring has not been completed, and SPS scheduling cannot be used;

[0196] The logical subframe window 【605…615】 needs to be monitored, because there is a 600ms reservation cycle in the configuration;

[0197] The logical subframe window 【705…714】 does not need to be monitored, because there is no 500ms reservation cycle in the configuration;

[0198] The logical subframe window 【805…814】 does not need to be monitored, because there is no 400ms reservation cycle in the configuration;

[0199] The logical subframe window 【905…914】 does not need to be monitored, because there is no 300ms reservation cycle in the configuration;

[0200] The logical subframe window 【1005…1014】 does not need to be monitored, because there is no 200ms reservation cycle in the configuration;

[0201] The logical subframe window 【1105…1114】 needs to be monitored, because there is a 100ms reservation cycle in the configuration;

[0202] That is, the offset (start point of the monitoring window) of the small monitoring window is determined according to the resource selection window, and further, whether each small monitoring window in the large monitoring length (determined by the maximum reservation cycle) needs to be monitored is determined according to the configuration of the bitmap (bimap).

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

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

[0205] 1201 physical subframe time, the third service packet arrives at this time, the listening is completed, the second SPS scheduling can be used; at this time, the SPS selects the resource, and hopes to select the resource position with relatively low delay. That is, the lower boundary of the candidate resource set corresponds to the allowed minimum delay, and then the corresponding candidate set position (which can be the number of logical subframes or the position offset for the stably arrived service packet) is pushed back when starting to listen.

[0206] 1201 physical subframe time, if the system bitmap configuration does not reserve resources, that is, the physical subframe number = the logical subframe number, for example, the bitmap length is configured as 20, the service packet arrives at the 1201 physical subframe, and the minimum lower boundary that can be selected is T1.

[0207] If T1=3ms, the resource selection window is 【1201+3……】, that is, the resource selection window is a continuous M logical subframe;

[0208] If T1=4ms, the resource selection window is 【1201+4……】, that is, the resource selection window is a continuous M logical subframe;

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

[0210] Method 1:

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

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

[0213] Further, the current starting point (starting to listen) is pushed back according to the starting point of the SPS;

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

[0215] Herein, n represents the expected arrival time of the first service packet (e.g., the first service packet in the aforementioned second service packet group, or, in the case of a subsequent optional implementation, the first service packet after a resource change (in which case a new SPS process is started) due to a delay caused by a reserved subframe not meeting the delay requirement) corresponding to a normal SPS process, T1 configured by a higher layer determines the lower boundary of Y subframes (the lower boundary of the candidate resource set / the front edge of the resource selection window), and then the number of reserved subframes in the second monitoring window is used to determine the lower boundary of the resource selection of the service packet corresponding to the SPS process. Wherein, the normal SPS process is the second SPS mode of the embodiment of the application, that is, the length of the corresponding monitoring window is the maximum reservation period.

[0216] Herein, X = 1, that is, the next window starts monitoring after the arrival of the current service packet;

[0217] Or, method 2: directly speculate from the logical subframe number:

[0218] Suppose T1 = 4, after the arrival of 1201 physical subframe, calculate whether there is a reserved subframe between {1201, 1202, 1203, 1204} physical subframes, if yes:

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

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

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

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

[0223] If 1205 physical subframe is a reserved subframe, then 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 physical subframe (1201 + 4) is the starting point of the small window (which must be a logical subframe);

[0225] From the number of the logical subframe corresponding to the physical subframe at the starting point of the resource selection window, push forward, assuming that (1201+4) physical subframes are the starting point, the number of the logical subframe corresponding to 1205 physical subframes is 1201, and the configured corresponding resource reservation set bitmap is 1~10 (1111111111), then corresponding to the previous sensing, the corresponding monitoring 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 number of the logical subframe at the lower boundary of the resource selection window) - the largest configured period 1000 = 201, so the starting point of the large monitoring window (the second monitoring window) is obtained.

[0227] Thus, the embodiments of the present application illustrate the determination method of the specific position of Y subframes to limit the specific position of Y subframes. Specifically, the lower boundary of Y subframes (the lower boundary of the candidate resource set / the front edge of the resource selection window) can be determined based on the estimated arrival time of the first service packet in the second service packet group and the T1 configured by the higher layer, then the corresponding monitoring position is determined according to the configured set of reservation periods, and then the actual position to be monitored in the monitoring window is determined according to the value of the bitmap resource reservation period configuration.

[0228] Here, it should be noted that the above-mentioned determination method of Y subframes and the determination method of the monitoring position based on Y subframes are also applicable to the case where the time delay caused by the reserved subframes does not meet the time delay requirement and the resource needs to be replaced in the following optional implementation, that is, the monitoring before the second SPS mode corresponding to the service packet after the resource is replaced. That is, the above-mentioned determination method of Y subframes is applicable to the monitoring before each normal SPS process (such as the SPS process that meets the monitoring condition for the first time, the SPS process after the resource is replaced due to the time delay).

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

[0230] determining a first resource selection window according to the estimated arrival time of the first service packet in the second service packet group; as described above, the front edge of the first resource selection window can be determined based on the estimated arrival time of the first service packet in the second service packet group, the T1 configured by the higher layer, and the number of reserved subframes in the second monitoring window.

[0231] mapping the starting resource of the first resource selection window to the first target resource in the time domain according to the largest reservation period.

[0232] determining a first starting time according to a time domain position of the first target resource;

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

[0234] That is, the time interval between the starting point of the first 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, the method further comprises:

[0236] In the process of selecting sending resources for the service packets in the second service packet group in the second SPS mode, in the case that the time delay caused by the reserved subframe leads to a time-out determination that the candidate resource set needs to be reselected, determining a second starting time of resource listening corresponding to the reselected candidate resource set; that is, when the candidate resource set needs to be replaced because the time delay caused by the reserved subframe does not meet the time delay requirement, the second starting time of listening corresponding to the reselected candidate resource set needs to be determined first, wherein the time interval between the time domain position of the first resource of the reselected candidate resource set and the second starting time should be the maximum reservation period.

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

[0238] performing resource listening in the updated second listening window to obtain a third listening result of the reselected candidate resource set; and selecting sending resources for a fourth target service packet in the reselected candidate resource set according to the third listening result, wherein the fourth target service packet is the mth service packet after the current service packet, wherein 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 sending resources in the second SPS mode after the reselected candidate resource set.

[0239] As a specific implementation, determining the second starting time of resource listening corresponding to the reselected candidate resource set comprises:

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

[0241] mapping the starting resource of the second resource selection window to the time domain in the maximum reservation period to obtain a second target resource.

[0242] 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, which will not be described again.

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

[0245] determining that a candidate resource set needs to be reselected at a first moment; wherein the first moment comprises any one of the following:

[0246] a moment when the time delay of the candidate resource set caused by the reserved subframe satisfies a first condition;

[0247] a moment when a service packet corresponding to the current candidate resource set satisfying the first condition is transmitted;

[0248] a moment when a service packet corresponding to the current candidate resource set satisfying the first condition arrives;

[0249] wherein the first condition comprises 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 a second value;

[0251] the time delay corresponding to the last resource in the time domain of the current candidate resource set is less than a second value, and the time 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 periods;

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

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

[0254] PDB-receiver maximum processing time-ceil(service period*ceil(maximum reservation period / SPP period) / 256ms);

[0255] wherein PDB is packet delay budget (Packet Delay Budget), and ceil represents the ceiling function.

[0256] That is, when the resource pool time domain length configuration causes the existence of reserved subframes, whether to trigger the replacement of the candidate resource set is determined according to the corresponding maximum delay in the current candidate resource set, wherein when one of the following conditions is met, the start of the conversion of the candidate resource set is triggered:

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

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

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

[0260] Embodiments of the present application also provide a resource selection device, which is applied to a first device, such as Figure 4 As shown in the figure, the resource selection device comprises:

[0261] The grouping module 401 is configured to divide the periodically transmitted service packets into a first service packet group and a second service packet group, wherein the service packets in the first service packet group are transmitted earlier than the service packets in the second service packet group.

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

[0263] The grouping module 401 comprises:

[0264] The acquisition sub-module is configured to acquire the maximum reservation period in the system configured reservation period set.

[0265] a calculation sub-module, configured to round up a 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 packets as the first service packet group, and divide the (k+1)th service packet and the service packets after the (k+1)th service packet as the second service packet group.

[0267] The first selection module 402 includes the following.

[0268] a first selection sub-module, configured to select a transmission resource for the service packets in the first service packet group in a random oneshot manner and / or a first SPS manner.

[0269] The first selection sub-module includes any one of the following.

[0270] a first selection unit, configured to select a transmission resource for each service packet in the first service packet group in a random oneshot manner.

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

[0272] The first selection unit includes the following.

[0273] a first selection sub-unit, configured to select a transmission resource for a first target service packet in a random oneshot manner on a resource that meets a service packet delay requirement and is not configured to be monitored, where the first target service packet is any service packet selected in a random oneshot manner.

[0274] When the first selection module 402 or the second selection unit is configured to select a transmission resource for the service packets in the first service packet group in the first SPS manner, it is specifically configured to:

[0275] perform resource monitoring in the first monitoring window to obtain a first monitoring result of a candidate resource set that meets a service packet processing delay requirement.

[0276] select a transmission resource for a second target service packet in the candidate resource set according to the first monitoring result, where the second target service packet is any service packet selected in the first SPS manner.

[0277] The first selection module 402 or the second selection unit is specifically configured to:

[0278] According to the candidate resource set corresponding to the first service packet in the second service packet group, resource mapping is performed in the first listening window to obtain a to-be-listened time period;

[0279] The resources in each to-be-listened time period are listened to, and the first listening result is obtained.

[0280] The first selection module 402 includes:

[0281] The second selection sub-module is configured to select a sending resource for a service packet in the second service packet group in a second SPS manner.

[0282] The second selection sub-module includes:

[0283] The listening unit is configured to perform resource listening in the second listening window to obtain a second listening result for a candidate resource set, wherein the candidate resource set is determined according to an estimated arrival time of the first service packet in the second service packet group.

[0284] The third selection unit is configured to select a sending resource for a third target service packet in the candidate resource set according to the second listening result, wherein the third target service packet is any service packet in the second service packet group.

[0285] The listening unit includes:

[0286] The mapping sub-unit is configured to perform resource mapping in the second listening 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 to-be-listened time period corresponding to each reservation period.

[0287] The listening sub-unit is configured to listen to the resources in the to-be-listened time period corresponding to each reservation period to obtain the second listening result.

[0288] The apparatus further includes:

[0289] The first determination module is configured to determine a first resource selection window according to an estimated arrival time of the first service packet in the second service packet group.

[0290] The mapping module is configured to map a starting resource of the first resource selection window according to a maximum reservation period to obtain a first target resource.

[0291] a second determining module, configured to determine a first starting moment according to a time domain position of the first target resource;

[0292] a third determining module, configured to determine that starting points of the first listening window and the second listening window are the first starting moment.

[0293] The apparatus further includes:

[0294] a fourth determining module, configured to, in a process of selecting a sending resource for a service packet in the second service packet group by using a second SPS mode, determine a second starting moment of resource listening corresponding to a reselected candidate resource set in a case where a time delay caused by a reserved subframe leads to a time-out determination of needing to reselect the candidate resource set;

[0295] an updating module, configured to update a position of the second listening window according to the second starting moment and a length of the second listening window;

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

[0297] a second selecting module, configured to select a sending resource for a fourth target service packet from the reselected candidate resource set according to the third listening result, wherein the fourth target service packet is an mth service packet after a current service packet, and m = ceil(maximum reservation period / SPS period) + 1.

[0298] The fourth determining module includes:

[0299] a first determining submodule, configured to determine a second resource selection window according to an expected arrival moment of the fourth target service packet;

[0300] a mapping submodule, configured to map a 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;

[0301] a second determining submodule, configured to take a time domain position of the second target resource as the second starting moment.

[0302] The apparatus further includes:

[0303] a fifth determining module, configured to determine that a candidate resource set needs to be reselected at a first moment, wherein the first moment includes any of the following:

[0304] a moment at which a time delay of the candidate resource set caused by the reserved subframe meets a first condition;

[0305] a sending moment of a service packet corresponding to the current candidate resource set satisfying the first condition;

[0306] an arrival moment of a service packet corresponding to the current candidate resource set satisfying the first condition;

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

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

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

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

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

[0312] PDB-receiver maximum processing time-ceil(service period*ceil(maximum reservation period / SPP period) / 256 ms);

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

[0314] It should be noted that the above resource selection apparatus provided by the embodiments of the present application can realize all the method steps achieved by the above resource selection method embodiments, and achieve the same technical effects. Therefore, the same parts and beneficial effects of the method embodiments will not be described in detail.

[0315] The embodiments of the present application also provide a resource selection device, which comprises a transceiver 510, a processor 500, a memory 520, and a program stored in the memory 520 and executable on the processor 500; wherein the processor 500 implements the above resource selection method when executing the program.

[0316] The transceiver 510 is used for receiving and sending data under the control of the processor 500.

[0317] Wherein, in the case of Figure 5In this particularized embodiment, the bus architecture can include any number of interconnected buses and bridges, which are used to link various circuits including the processor 500, which is representative of one or more processors, and the memory 520, which is representative of the memory of various circuits. The bus architecture can also link various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and thus, will not be further described herein. The bus interface provides an interface. The transceiver 510 can be a plurality of elements, i.e., including a transmitter and a receiver, which provide a means for communicating with various other apparatus over a transmission medium.

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

[0319] The readable storage medium of the embodiment of the present application has a program or instruction stored thereon, the program or instruction is executed by a processor to implement the steps in the resource selection method as described above, and the same technical effects can be achieved. To avoid repetition, it will not be described here. Among them, the readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.

[0320] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. According to such understanding, the technical solutions of the present application can be embodied in the form of software products, which are stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and include a plurality of instructions for executing the method described in each embodiment of the present application.

[0321] Therefore, the embodiment of the present application also provides a computer program product, which includes computer instructions, the computer instructions are executed by a processor to implement the resource selection method as described above, and the same technical effects can be achieved. To avoid repetition, it will not be described here.

[0322] In the embodiment 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 can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, a process or a function. However, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different bits, when these instructions are logically combined together, they constitute a module and achieve the specified purpose of the module.

[0323] Indeed, a module of executable code can be a single instruction, or many instructions, and can even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data can be identified and illustrated herein within modules, and can be embodied in any suitable form and organized within any suitable type of data structure. The operational data can be collected as a single data set, or can be distributed over different locations including over different storage devices, and can exist, at least partially, merely as electronic signals on a system or network.

[0324] Where a module can be implemented in software, the module can be stored in any suitable non-transitory storage medium, executed by any suitable computer, and any suitable programming language can be used. Suitable storage media include memory devices, such as hard disks, floppy disks, appropriate magnetic media, optical media, Blu-ray discs, DVDs, CD-ROMs, Zip® disks, thumb drives, RAM, ROM, EEPROM, and flash memory devices. Suitable computer programs include any suitable applications software, system software, and / or utility software. Suitable computers include any suitable computer, such as a personal computer, laptop computer, server computer, or networked computer.

[0325] The exemplary embodiments described herein are illustrative only and are not intended to be limiting in accordance with the spirit and scope of the application as defined by the appended claims. Rather, the exemplary embodiments are intended to be illustrative of the disclosure and to provide a practical demonstration of the application. Numerous variations and modifications of the embodiments described herein can be effected without departing from the spirit and scope of the application. Accordingly, it is to be understood that the application is not to be limited by the foregoing disclosure. Rather, the foregoing disclosure is to be interpreted to support broad claims that are recited in the claims appended hereto.

[0326] The preferred embodiments of the present application have been described herein. Obviously, modifications and alterations will occur to others upon reading and understanding the preceding specification and are intended to be within the scope of the application. Accordingly, it is not intended that the application be limited to the exact abovementioned embodiments, and the application can be practiced with modification and alterations.

Claims

1. A resource selection method, characterized in that, Applied to a first device, the method includes: The periodically sent service packets are divided into a first service packet group and a second service packet group, wherein the service packets in the first service packet group are sent earlier than the service packets in the second service packet group. The system selects transmission resources for service packets within the first service packet group using a random snapshot oneshot method and / or a first SPS method; and selects transmission resources for service packets within the second service packet group using a 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. The periodically transmitted service packets are divided into a first service packet group and a second service packet group, including: Get the maximum reservation period from the set of reservation periods configured in the system; The ratio of the maximum reservation period to the SPS period of the first device is rounded up to obtain the first value k; The first k service packages in the periodic service package are divided into the first service package group, and the (k+1)th service package and the service packages after the (k+1)th service package are divided into the second service package group.

2. The method according to claim 1, characterized in that, Selecting transmission resources for service packets within the first service packet group using a random snapshot one-shot method and / or a first SPS method includes any one of the following: A random one-shot method is used to select transmission resources for each service packet within the first service packet group; The first service packet in the first service packet group is selected for transmission resources using a random one-shot method, and the other service packets in the first service packet group are selected for transmission resources using the first SPS method.

3. The method according to claim 1 or 2, characterized in that, Selecting transmission resources for service packets within the first service packet group using a random one-shot method includes: On resources that meet the service packet latency requirements and are not configured as listening subframes, a random oneslot method is used to select a transmission resource for the first target service packet, wherein the first target service packet is any service packet whose transmission resource is selected using the random oneshot method.

4. The method according to claim 1 or 2, characterized in that, Selecting transmission resources for service packets within the first service packet group using the first SPS method includes: Perform resource monitoring within the first monitoring window to obtain the first monitoring result of the candidate resource set that meets the business package processing latency requirements; Based on the first monitoring result, a transmission resource is selected for the second target service package from the candidate resource set, wherein the second target service package is any service package whose transmission resource is selected using the first SPS method.

5. The method according to claim 4, characterized in that, Within the first listening window, resource listening is performed to obtain the first listening result for the candidate resource set that meets the business package processing latency requirements, including: Based on the candidate resource set corresponding to the first service package in the second service package group, resource mapping is performed within the first listening window to obtain the listening time period; The resources within each of the specified monitoring periods are monitored to obtain the first monitoring result.

6. The method according to claim 1, characterized in that, The second SPS method is used to select transmission resources for service packets within the second service packet group, 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 based on the expected arrival time of the first service package within the second service package group; Based on the second monitoring result, a transmission resource is selected for the third target service packet from the candidate resource set, wherein the third target service packet is any service packet in the second service packet group.

7. The method according to claim 6, characterized in that, Perform resource monitoring within the second monitoring window to obtain the second monitoring results for the candidate resource set, including: Based on the candidate resource set corresponding to the third target service package and each reservation period in the reservation period set, resource mapping is performed within the second listening window to obtain the listening time period corresponding to each reservation period; The resources within the monitoring period corresponding to each of the aforementioned reservation periods are monitored to obtain the second monitoring result.

8. The method according to claim 1, characterized in that, The method further includes: The first resource selection window is determined based on the estimated arrival time of the first service package within the second service package group; According to the maximum reservation period, the starting resource of the first resource selection window is mapped forward in the time domain according to the maximum reservation period to obtain the first target resource; Determine the first start time based on the temporal location of the first target resource; The starting point of both the first listening window and the second listening window is determined to be the first starting time.

9. The method according to claim 1, characterized in that, The method further includes: In the process of selecting transmission resources for service packets within the second service packet group using the second SPS method, if it is determined that the candidate resource set needs to be reselected due to the timeout caused by the reserved subframe, the second start time of resource listening corresponding to the candidate resource set to be reselected is determined. Update the position of the second listening window based on the second start time and the length of the second listening window; Perform resource monitoring within the updated second monitoring window to obtain the third monitoring result for the reselected candidate resource set; Based on the third monitoring result, a transmission resource is selected for the fourth target service packet from the reselected candidate resource set. The fourth target service packet is the m-th service packet after the current service packet, where m = ceil (maximum reservation period / SPS period) + 1.

10. The method according to claim 9, characterized in that, Determine the second start time for resource monitoring corresponding to the set of candidate resources for reselection, including: The second resource selection window is determined based on the estimated arrival time of the fourth target service package; According to the maximum reservation period, the starting resource of the second resource selection window is mapped forward in the time domain according to the maximum reservation period to obtain the second target resource; The temporal location of the second target resource is taken as the second starting time.

11. The method according to claim 9, characterized in that, The method further includes: At the first moment, determine the set of candidate resources that need to be reselected; wherein, the first moment includes any of the following: The moment when the delay of the candidate resource set caused by the reserved subframe satisfies the first condition; The sending time of the service packet corresponding to the current candidate resource set that satisfies the first condition; The arrival time of the service package corresponding to the current candidate resource set that satisfies the first condition; The first condition includes any one of the following: The latency of the last resource in the current candidate resource set is greater than or equal to the second value in the time domain; The latency of the last resource in the current candidate resource set in the time domain is less than the second value, and the latency of the last resource in the adjacent next candidate resource set in the time domain 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 business cycles; The second value is any one of the following: PDB - Maximum processing time at the receiver - ceil (maximum reservation period in the reservation period set / 256ms); PDB - Maximum processing time at the receiver - ceil (service period * ceil (maximum reservation period / SPS period) / 256ms); Where PDB is the packet delay budget, and ceil represents the rounding up function.

12. A resource selection device, characterized in that, Applied to the first device, including: The grouping module is used to divide periodically sent 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. The first selection module is used to select transmission resources for service packets in the first service packet group using a random snapshot oneshot method and / or a first SPS method; and to select transmission resources for service packets in the second service packet group using a 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. The grouping module includes: The `get` submodule is used to retrieve the maximum reservation period from the set of reservation periods configured in the system. The calculation submodule is used to round up the ratio of the maximum reservation period to the SPS period of the first device to obtain a first value k; The grouping submodule is used to divide the first k service packages in the periodic service package into the first service package group, and divide the (k+1)th service package and the service packages after the (k+1)th service package into the second service package group.

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

14. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the resource selection method as described in any one of claims 1 to 11.

15. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the resource selection method as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Resource selection processing method and device and terminal

    CN112261613A

  • Resource selection processing method and terminal

    CN113055936A