Physical resource selection method, device, equipment, storage medium and program product
By dynamically selecting the physical resource pool and resource number of LTE-V2X, the problems of waste of resources and poor user perception and experience in the existing technology are solved, efficient resource utilization and stable service operation are achieved, and the application of LTE-V2X in more scenarios is promoted.
Patent Information
- Application Number
- CN202411925105.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-04
AI Technical Summary
The existing technology has resource waste problems in environments with better signals, and the stable operation of high-priority services is guaranteed by sacrificing low-priority services, resulting in poor user perception and experience, which hinders the application of LTE-V2X to more scenarios.
By obtaining parameters such as business cycle, packet length, location information, distance, relative speed, signal-to-noise ratio and data packet loss rate, input it into the resource allocation model, and dynamically select the target resource pool and resource quantity to ensure that resource selection meets business needs and avoid resource waste.
It realizes adaptability of resource selection, avoids resource waste and business interruption, improves user's perceptual experience, and is conducive to the application of LTE-V2X in more scenarios.
Smart Images

Figure CN119767275A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a physical resource selection method, device, equipment, storage medium and program product. Background Art
[0002] In the related technology, the physical layer of Long Term Evolution (LTE) Vehicle to Everything (V2X) selects resources based on the packet transmission period and data length of the application layer data. Specifically, the required bearer resource block is calculated according to the business model (packet transmission period and data transmission length), and then the matching actual physical resource is statically selected from the candidate resource pool through a random function, and the data is sent. The above resource selection process is as follows: Figure 1 As shown, first, the business model (application packet sending period, transmission data length) is obtained, then a fixed bearer resource block is selected according to the business model, then a random function is used to select resources, and finally, a physical layer scheduling resource set is output.
[0003] LTE-V2X currently uses a broadcast channel communication mechanism, which does not use the Hybrid Automatic Repeat reQuest (HARQ) mechanism, so the selection of physical resource blocks is fixed, that is, it is not possible to adaptively adjust the modulation and coding scheme (MCS) codewords according to the quality of the wireless link, and then dynamically select physical resource blocks.
[0004] However, the above method has the problem of wasting resources in an environment with good signals. In order to solve this problem, the relevant technology uses the channel busy ratio (CBR) reporting mechanism to control congestion. When the CBR exceeds the default threshold, the application layer will reduce the amount of packets sent to avoid physical resource conflicts. However, the above reporting mechanism needs to sacrifice low-priority services to ensure the stable operation of high-priority services. This coarse-grained scheduling strategy, at the expense of user perception, hinders the application of LTE-V2X in more scenarios. Summary of the invention
[0005] The embodiments of the present application provide a physical resource selection method, apparatus, device, storage medium and program product, which solve the problem that the current method of sacrificing low-priority services to ensure the stable operation of high-priority services leads to poor user perceived experience and hinders the application of LTE-V2X in more scenarios.
[0006] In a first aspect, in order to achieve the above-mentioned object, an embodiment of the present application provides a physical resource selection method, which is applied to a first on-board unit OBU, and the method includes:
[0007] Acquire a first parameter set, the first parameter set including: a service cycle, a data packet length, location information of a first OBU, a first length and a first width corresponding to the location information, a first distance between the first OBU and a second OBU, a relative speed between the first OBU and the second OBU, a signal-to-noise ratio (SNR) value, and at least one of a data packet loss rate and a packet receiving time interval fed back by the second OBU;
[0008] Inputting the first parameter set into a resource allocation model, and obtaining a target resource pool number and a target resource quantity output by the resource allocation model;
[0009] Select the target resource quantity of physical resources in the target resource pool corresponding to the target resource pool number.
[0010] The obtaining of the SNR value includes:
[0011] Acquire the SNR value based on the first distance;
[0012] Alternatively, the SNR value fed back by the second OBU is obtained.
[0013] Wherein, when the first parameter set includes the SNR value obtained based on the first distance, and does not include the data packet loss rate and the packet receiving time interval fed back by the second OBU, the resource allocation model is used to:
[0014] Determine the target resource pool number according to the location information, the first length, and the first width;
[0015] Acquire a first transmission efficiency according to the SNR value, the service cycle, and the data packet length acquired based on the first distance;
[0016] According to the first transmission efficiency, the target resource quantity is acquired.
[0017] Wherein, when the first parameter set includes the SNR value fed back by the second OBU, the data packet loss rate fed back by the second OBU, and the packet receiving time interval, the resource allocation model is used to:
[0018] Determine the target resource pool number according to the location information, the first length, and the first width;
[0019] Calculating a loss function value according to the data packet loss rate, the packet receiving time interval and a preset loss function;
[0020] When the loss function value is greater than the loss function threshold, based on the SNR value fed back by the second OBU, traverse the MCS index to obtain the number of resources and the second transmission efficiency corresponding to each of the traversed MCS indexes;
[0021] The target resource quantity is obtained according to a first transmission efficiency, the resource quantity corresponding to each of the MCS indexes and a second transmission efficiency, wherein the first transmission efficiency is obtained according to an SNR value obtained based on the first distance, the service cycle and the data packet length.
[0022] Wherein, acquiring the target resource quantity according to the second transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency includes:
[0023] calculating an absolute value of a difference between the first transmission efficiency and each of the second transmission efficiencies;
[0024] The target resource quantity is determined to be the resource quantity corresponding to the minimum absolute value of the absolute values of the differences.
[0025] The step of determining the target resource pool number according to the location information, the first length, and the first width includes:
[0026] Determine a first value according to the longitude in the location information, the first length, and a preconfigured area length;
[0027] Determine a second value according to the latitude in the location information, the first width, and a pre-configured area width;
[0028] The target resource pool number is determined according to the first value, the second value, and the region length.
[0029] Wherein, the resource allocation model comprises: an input layer, a first filter, a second filter, an output layer and a feedback layer;
[0030] The input layer is connected to the first filter, the second filter and the feedback layer respectively, and the second filter is also connected to the first filter, the output layer and the feedback layer respectively;
[0031] The first filter is a filter constructed based on a two-dimensional tensor, and is used to filter the target resource pool. The two-dimensional tensor is [the number of regions in the length direction, the number of regions in the width direction];
[0032] The second filter is a filter constructed based on a five-dimensional tensor, and the second filter is used to obtain the target resource quantity, and the five-dimensional tensor is [resource pool number, transceiver device distance, transceiver device relative speed, SNR value, loss function value];
[0033] The feedback layer is used to feed back the loss function value and the SNR value fed back by the second OBU to the second filter;
[0034] The output layer is used to output the target resource pool number and the target resource quantity obtained from the second filter.
[0035] The step of inputting the first parameter set into a resource allocation model and obtaining a target resource pool number and a target resource quantity output by the resource allocation model comprises:
[0036] Inputting the first parameter set into the input layer;
[0037] The input layer inputs the location information, the first length and the first width into the first filter, and inputs the service period, the data packet length, the first distance and the relative speed into the second filter;
[0038] The first filter filters the target resource pool number based on the position information, the first length and the first width, and inputs the target resource pool number into the second filter;
[0039] The second filter determines an SNR value based on the first distance, obtains a first transmission efficiency based on the SNR value determined by the first distance, determines the target resource quantity based on the first transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer;
[0040] The output layer outputs the target resource pool number and the target resource quantity.
[0041] The step of inputting the first parameter set into a resource allocation model and obtaining a target resource pool number and a target resource quantity output by the resource allocation model comprises:
[0042] Inputting the first parameter set into the input layer;
[0043] The input layer inputs the location information, the first length and the first width into the first filter, inputs the service cycle, the data packet length, the first distance and the relative speed into the second filter, and inputs the data packet loss rate, the packet receiving time interval and the SNR value fed back by the second OBU into the feedback layer;
[0044] The feedback layer determines a loss function value based on the data packet loss rate and the packet receiving time interval fed back by the second OBU, and feeds back the SNR value and the loss function value fed back by the second OBU to the second filter;
[0045] The first filter filters the target resource pool number based on the position information, the first length and the first width, and inputs the target resource pool number into the second filter;
[0046] When the second filter determines that the loss function value is greater than the loss function threshold, the second filter traverses the MCS index based on the SNR value fed back by the second OBU, obtains the resource quantity and the second transmission efficiency corresponding to each of the traversed MCS indexes, and obtains the target resource quantity according to the first transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer; wherein the first transmission efficiency is obtained according to the SNR value obtained based on the first distance, the service cycle, and the data packet length;
[0047] The output layer outputs the target resource pool number and the target resource quantity.
[0048] In a second aspect, in order to achieve the above-mentioned object, an embodiment of the present application provides a physical resource selection device, which is applied to a first OBU, and the device includes:
[0049] A first acquisition module is used to acquire a first parameter set, wherein the first parameter set includes: a service cycle, a data packet length, location information of a first OBU, a first length and a first width corresponding to the location information, a first distance between the first OBU and a second OBU, a relative speed between the first OBU and the second OBU, a signal-to-noise ratio (SNR) value, and at least one of a data packet loss rate and a packet receiving time interval fed back by the second OBU;
[0050] A second acquisition module, used for inputting the first parameter set into a resource allocation model, and acquiring a target resource pool number and a target resource quantity output by the resource allocation model;
[0051] The selection module is used to select physical resources of the target resource quantity in the target resource pool corresponding to the target resource pool number.
[0052] In the third aspect, in order to achieve the above-mentioned purpose, an embodiment of the present application provides a physical resource selection device, including a transceiver, a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, it implements the physical resource selection method described in the first aspect.
[0053] In a fourth aspect, in order to achieve the above-mentioned purpose, an embodiment of the present application provides a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, the physical resource selection method as described in the first aspect is implemented.
[0054] In a fifth aspect, in order to achieve the above-mentioned purpose, an embodiment of the present application provides a computer program product, including computer instructions, which, when executed by a processor, implement the physical resource selection method as described in the first aspect.
[0055] The beneficial effects of the above technical solution of the present application are:
[0056] In the scheme of the present application, firstly, the first OBU obtains the first parameter set, which includes: service cycle, data packet length, location information of the first OBU, the first length and the first width corresponding to the location information, the first distance between the first OBU and the second OBU, the relative speed between the first OBU and the second OBU, the signal-to-noise ratio SNR value, and at least one of the data packet loss rate and the packet receiving time interval fed back by the second OBU; secondly, the first OBU inputs the first parameter set into the resource allocation model to obtain the target resource pool number and the target resource quantity output by the resource allocation model; thirdly, the first OBU selects the physical resources of the target resource quantity in the target resource pool corresponding to the target resource pool number. In this way, the first OBU selects resources based on the data fed back by the second OBU and the information related to the service, so that the selected resources can meet the service needs without causing waste of resources, and there is no need to sacrifice low-priority services to ensure the stable operation of high-priority services, which improves the user's perceived experience and is conducive to the application of LTE-V2X in more scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 Select a process diagram for existing resources;
[0058] Figure 2 A flow chart of a physical resource selection method according to an embodiment of the present application;
[0059] Figure 3 A schematic diagram of the structure of a resource allocation model in an embodiment of the present application;
[0060] Figure 4 A schematic diagram of the working principle of the second filter of the resource allocation model in an embodiment of the present application;
[0061] Figure 5 A schematic diagram of the structure of a physical resource selection device according to an embodiment of the present application;
[0062] Figure 6A schematic diagram of the structure of a physical resource selection device according to an embodiment of the present application. DETAILED DESCRIPTION
[0063] In order to make the technical problems, technical solutions and advantages to be solved by the application clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.
[0064] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0065] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0066] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0067] 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 determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0068] Below, in conjunction with the accompanying drawings, the implementation process of the physical resource selection method, device, equipment, storage medium and program product provided in the embodiments of the present application is described in detail.
[0069] The physical resource selection method provided in the embodiment of the present application is applied to a first on-board unit (OBU), such as Figure 2 As shown, the method includes:
[0070] Step 201, obtaining a first parameter set, wherein the first parameter set includes: a service cycle, a data packet length, location information of a first OBU, a first length and a first width corresponding to the location information, a first distance between the first OBU and a second OBU, a relative speed between the first OBU and the second OBU, a signal-to-noise ratio (SNR) value, and at least one of a data packet loss rate and a packet receiving time interval fed back by the second OBU;
[0071] In the above step 201, the service cycle and the data packet length are determined based on the service type, the location information of the first OBU can be obtained based on the global positioning system, the first length and the first width are the length and width of the road where the location information is located, the first length and the first width are provided by a map, the first distance can be determined by the location information provided by the second OBU when the first OBU communicates with the second OBU and the location information of the first OBU, and the relative speed can be determined by the speed provided by the second OBU when the first OBU communicates with the second OBU and the speed of the first OBU.
[0072] Step 202: input the first parameter set into a resource allocation model to obtain a target resource pool number and a target resource quantity output by the resource allocation model;
[0073] The above resource allocation model determines the target resource pool number and the target resource quantity based on the above first parameter. Compared with the existing static resource allocation method, it fully considers the communication environment information, can avoid waste of resources, reduce the packet loss rate of the service, and avoid service interruption.
[0074] Step 203: Select physical resources of the target resource quantity from the target resource pool corresponding to the target resource pool number.
[0075] In the embodiment of the present application, firstly, the first OBU obtains the first parameter set, and the first parameter set includes: service cycle, data packet length, location information of the first OBU, the first length and the first width corresponding to the location information, the first distance between the first OBU and the second OBU, the relative speed between the first OBU and the second OBU, the signal-to-noise ratio SNR value, and at least one of the data packet loss rate and the packet receiving time interval fed back by the second OBU; secondly, the first OBU inputs the first parameter set into the resource allocation model to obtain the target resource pool number and the target resource quantity output by the resource allocation model; thirdly, the first OBU selects the physical resources of the target resource quantity in the target resource pool corresponding to the target resource pool number. In this way, the first OBU selects resources based on the data fed back by the second OBU and the information related to the service, so that the selected resources can meet the service requirements without causing waste of resources, and there is no need to sacrifice low-priority services to ensure the stable operation of high-priority services, which improves the user's perceived experience and is conducive to the application of LTE-V2X in more scenarios.
[0076] As an optional implementation, in step 201, obtaining the SNR value includes:
[0077] Acquire the SNR value based on the first distance;
[0078] Alternatively, the SNR value fed back by the second OBU is obtained.
[0079] The process of obtaining the SNR value based on the first distance may be: calculating the SNR value according to the relevant standard protocol and propagation model, for example: SNR=RSRP-Pnoi+G; wherein Pnoi is the noise power (-105.44 dBm in the LTE-V2X model); G is the antenna gain, usually between 3 and 5 dB, RSRP is the received power, RSRP=Ptxpower+PL; wherein the calculation principle of PL is:
[0080] Propagation model in high-speed environment: PL loss is expressed as: PL = 32.4-20*logd+20*logf;
[0081] Propagation model in urban environment: PL loss is expressed as: PL = 38.77-16.7*logd+18.2*logf;
[0082] China Communications Standards Association (CCSA) propagation model: PL loss is expressed as: PL = 66.19 + 26.67*log (d / 10) + 2.54;
[0083] Where d represents the antenna distance and f represents the transmission frequency.
[0084] A specific example of obtaining the SNR value fed back by the second OBU may be:
[0085]
[0086] The value of N means the number of SNRs received during the adjustment sensing period. i It is the specific SNR value received during the sensing period. In the above example, the mean filter is used to process the received SNR, which can avoid the overfitting of the model caused by excessive fluctuation of the SNR value, thereby reducing the generalization ability of the model.
[0087] That is to say, when the second OBU does not feed back the SNR value to the first OBU, the SNR value can be obtained based on the first distance between the first OBU and the second OBU. In this way, compared with the method of randomly selecting the SNR value, the above optional implementation method can shorten the convergence time of the model; when the second OBU feeds back the SNR value to the first OBU, the SNR value fed back by the second OBU is directly obtained. In this way, resources can be selected based on the environment in which the first OBU is located, which can reduce resource waste and packet loss rate.
[0088] As an optional implementation, when the first parameter set includes the SNR value obtained based on the first distance, and does not include the data packet loss rate and the packet receiving time interval fed back by the second OBU, that is, when the second OBU does not feed back information to the first OBU, the resource allocation model is used to:
[0089] (1) determining the target resource pool number according to the location information, the first length, and the first width; specifically, subsequently selecting a resource from the resource pool corresponding to the target resource pool number;
[0090] (2) obtaining a first transmission efficiency according to the SNR value, the service cycle, and the data packet length obtained based on the first distance;
[0091] The above-mentioned step of obtaining the first transmission efficiency may include: first, determining the SNR threshold range in which the SNR value is located; secondly, according to the mapping table of the SNR threshold range and the channel quality indicator (CQI) index shown in Table 1 below, searching for the CQI index corresponding to the SNR threshold range in which the SNR value is located; and again, by looking up the CQI table shown in Table 2 below, and based on the service cycle and the data packet length, obtaining the efficiency corresponding to the CQI index.
[0092] Table 1 Mapping table of SNR threshold range and CQI index
[0093]
[0094]
[0095] Table 2 CQI table
[0096]
[0097] (3) Acquire the target resource quantity according to the first transmission efficiency.
[0098] The implementation process of the above step (3) is: based on the following Table 3 and Table 4, find the target resource quantity corresponding to the first transmission efficiency.
[0099] Table 3 PDSCH modulation mode and TBS index correspondence table
[0100]
[0101]
[0102] The above-mentioned TBS is a transport block size (Transport Block Size), and PDSCH is a physical downlink shared channel (Physic Downlink Shared Channel, PDSCH).
[0103] Table 4 TBS table
[0104]
[0105]
[0106] As another optional implementation, when the first parameter set includes the SNR value fed back by the second OBU, the data packet loss rate fed back by the second OBU, and the packet receiving time interval, the resource allocation model is used to:
[0107] (1) determining the target resource pool number according to the location information, the first length, and the first width;
[0108] (2) calculating a loss function value according to the data packet loss rate, the packet receiving time interval and a preset loss function;
[0109] In the above step (2), the loss function is expressed as:
[0110]
[0111] Among them, L t Indicates the packet receiving time interval, represents the target value of the packet receiving time interval, P er Indicates the data packet loss rate. represents the target value of data packet loss rate, N represents the number of samples for model training, and λ represents the weight ratio, which can be selected in [0,1] according to the scenario requirements. represents the loss function of the packet receiving time interval, The loss function representing the packet loss rate.
[0112] Here, it should be noted that the conflict problem of sending resources between OBUs is converged by the loss function, with the minimum packet loss rate and minimum delay at the application layer as the goal, and a set of resource parameters is obtained through self-learning of the neural network. In order to facilitate the rapid convergence of the training gradient, as shown in the above formula, the loss function in the embodiment of the present application selects cross entropy.
[0113] (3) When the loss function value is greater than the loss function threshold, based on the SNR value fed back by the second OBU, traverse the MCS index to obtain the resource quantity and the second transmission efficiency corresponding to each of the traversed MCS indexes; in this step, the MCS index can be traversed based on the SNR value, so that all MCS indexes do not need to be traversed, further improving the speed of determining the resource quantity;
[0114] Here, it should be noted that when the loss function value is greater than the loss function threshold, it indicates that the currently selected resource is not the optimal resource. Therefore, it is necessary to perform resource selection based on the information fed back by the second OBU to select a more suitable resource.
[0115] The implementation process of the above step (3) is as follows: first, by looking up the table (Table 1), the CQI index corresponding to the SNR threshold range described in the SNR value is obtained; secondly, based on the obtained CQI index, the MCS index is traversed in Table 3, and the number of resources and transmission efficiency corresponding to the traversed MCS index are obtained based on Table 2 and Table 4.
[0116] (4) Obtaining the target resource quantity according to a first transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and a second transmission efficiency, wherein the first transmission efficiency is obtained according to an SNR value obtained based on the first distance, the service cycle, and the data packet length.
[0117] In the above step (4), the method for obtaining the first transmission efficiency may refer to the method for obtaining the first transmission efficiency in the aforementioned optional implementation method, which will not be repeated here.
[0118] In addition, the above step (4) can specifically be based on the error between the first transmission efficiency and the second transmission efficiency to obtain the target number of resources, wherein the error between the first transmission efficiency and the second transmission efficiency can be expressed as: error = min|efficiency1-efficiency2|, wherein efficiency1 represents the first transmission efficiency, and efficiency2 represents the second transmission efficiency; that is, the obtained target number of resources is the number of resources corresponding to the second transmission efficiency having the smallest absolute value of the difference with the first transmission efficiency, wherein the number of resources corresponding to the second transmission efficiency and the second transmission efficiency correspond to the same MCS index.
[0119] As an optional implementation manner, acquiring the target resource quantity according to the second transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency includes:
[0120] calculating an absolute value of a difference between the first transmission efficiency and each of the second transmission efficiencies;
[0121] The target resource quantity is determined to be the resource quantity corresponding to the minimum absolute value of the absolute values of the differences.
[0122] In the above optional implementation method, the resource quantity corresponding to the second transmission efficiency with the smallest error with the first transmission efficiency is determined as the target resource quantity, so that the physical resources selected based on the target resource pool and the target resource quantity can meet business needs and are less likely to waste resources.
[0123] As a specific implementation manner, in the above two optional implementation manners, determining the target resource pool number according to the position information, the first length, and the first width includes:
[0124] (1) determining a first value according to the longitude in the location information, the first length, and a pre-configured area length; this step can be expressed as: Wherein, x represents the longitude in the location information, L represents the first length, and N l represents the length of the area, and floor represents a rounding function; wherein the first length is the length of the road where the location information is located, and the default value is 100 meters from the center point of the intersection, and the first width is the width of the road where the location information is located by default;
[0125] (2) determining a second value according to the latitude in the location information, the first width, and a pre-configured area width; this step can be expressed as: Wherein, y represents the latitude in the location information, W represents the first width, N WIndicates the width of the area, floor indicates the rounding down function;
[0126] (3) Determine the target resource pool number according to the first value, the second value and the region length; this step can be expressed as:
[0127] Among them, taking the example of a road having 3 areas in the length direction and 2 areas in the width direction, the encoding rules of the resource pool numbers in the embodiment of the present application are explained, as shown in Table 5 below, wherein the resource pools with the same number need to be as far apart as possible:
[0128] Table 5Zone ID Encoding rules table
[0129]
[0130] As an optional implementation, Figure 3 As shown, the resource allocation model includes: an input layer, a first filter, a second filter, an output layer and a feedback layer; wherein the first filter and the second filter constitute the middle layer of the resource allocation model.
[0131] The input layer is connected to the first filter, the second filter and the feedback layer respectively, and the second filter is also connected to the first filter, the output layer and the feedback layer respectively;
[0132] The first filter is a filter constructed based on a two-dimensional tensor, and is used to filter the target resource pool. The two-dimensional tensor is [the number of regions in the length direction, the number of regions in the width direction]. That is to say, the first layer of the middle layer is a filter (the first filter) designed based on the two-dimensional tensor [the number of regions in the length direction, the number of regions in the width direction]. The resource block set mapped by the 1st layer filter, F1 means the 1st layer filter, and M means the total number of resource pools based on regional configuration. Initialization process: The number of zones in the length direction can be set to 3 by default, and the number of zones in the width direction can be set to 2 by default. Randomly select available Zones ID Resources. Later, select Zone based on the specific implementation method mentioned above. ID .
[0133] The second filter is a filter constructed based on a five-dimensional tensor, and the second filter is used to obtain the target resource quantity. The five-dimensional tensor is [resource pool number, transceiver device distance, transceiver device relative speed, SNR value, loss function value]; in the above five-dimensional tensor, the resource pool number corresponds to the aforementioned ZoneID , the transceiver distance corresponds to the aforementioned first distance, the transceiver relative speed corresponds to the aforementioned relative speed between the first OBU and the second OBU, the SNR value corresponds to the aforementioned SNR value calculated based on the first distance or the SNR value fed back by the second OBU; the loss function value corresponds to the aforementioned value calculated using the loss function. Among them, the middle layer 2 filter F2 means the second filter layer, and K means the resource pool based on SNR value, with a total of K. The design rules of the second filter are as follows: Figure 4 As shown. Figure 4 In the example, the RSRP / SNR value is calculated based on the first distance, efficiency_1 corresponds to the aforementioned first transmission efficiency, and efficiency_2 corresponds to the aforementioned second transmission efficiency.
[0134] The feedback layer is used to feed back the loss function value and the SNR value fed back by the second OBU to the second filter;
[0135] The output layer is used to output the target resource pool number and the target resource quantity obtained from the second filter.
[0136] As a first specific embodiment, based on the architecture of the resource allocation module, step 102 includes:
[0137] (1) inputting the first parameter set into the input layer;
[0138] (2) the input layer inputs the location information, the first length and the first width into the first filter, and inputs the service period, the data packet length, the first distance and the relative speed into the second filter;
[0139] (3) The first filter selects the target resource pool number based on the position information, the first length, and the first width, and inputs the target resource pool number into the second filter; here, the first filter specifically selects the target resource pool number based on the following formula:
[0140]
[0141] The definitions of the parameters in the above formulas can be found in the above related contents and will not be repeated here.
[0142] (4) The second filter determines the SNR value based on the first distance, obtains the first transmission efficiency based on the SNR value determined by the first distance, and determines the target resource quantity based on the first transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer; As mentioned above, the second filter can obtain the first transmission efficiency by looking up the table (Table 1 to Table 4) based on the SNR value. In addition, the second filter is a filter designed based on a five-dimensional tensor. When obtaining the first transmission efficiency, it is necessary to obtain the required resource block size based on the obtained parameters and the prior knowledge of the transmission model.
[0143] (5) The output layer outputs the target resource pool number and the target resource quantity.
[0144] As a second specific embodiment, based on the architecture of the resource allocation module, step 102 includes:
[0145] (1) inputting the first parameter set into the input layer;
[0146] (2) the input layer inputs the location information, the first length and the first width into the first filter, inputs the service cycle, the data packet length, the first distance and the relative speed into the second filter, and inputs the data packet loss rate, the packet receiving time interval and the SNR value fed back by the second OBU into the feedback layer;
[0147] (3) The feedback layer determines the loss function value based on the data packet loss rate and the packet receiving time interval fed back by the second OBU, and feeds back the SNR value and the loss function value fed back by the second OBU to the second filter; during the implementation of this step, the loss function value is calculated based on the loss function mentioned in the above content;
[0148] (4) the first filter filters the target resource pool number based on the position information, the first length, and the first width, and inputs the target resource pool number into the second filter;
[0149] (5) When the second filter determines that the loss function value is greater than the loss function threshold, the second filter traverses the MCS index based on the SNR value fed back by the second OBU, obtains the resource quantity and the second transmission efficiency corresponding to each of the traversed MCS indexes, and obtains the target resource quantity according to the first transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer; wherein the first transmission efficiency is obtained according to the SNR value obtained based on the first distance, the service cycle, and the data packet length;
[0150] The implementation process of the above step (5) can refer to Figure 4 , including a branch for searching for a first transmission efficiency and a branch for calculating a second transmission efficiency, and determining the target resource quantity based on the smallest absolute value of the difference between the first transmission efficiency and the second transmission efficiency; wherein the searching process for the first transmission efficiency includes: obtaining the RSRP / SNR value determined by the first distance, determining the SNR threshold range where the SNR value is located, then looking up the table to obtain the CQI index corresponding to the SNR threshold range, and then looking up the table to obtain the transmission efficiency corresponding to the CQI index; the process of calculating each branch of the second transmission efficiency includes: based on the SNR value fed back by the second OBU, traversing the MCS index, looking up the table to obtain the TBS corresponding to each traversed MCS index, looking up the table to obtain the number of resources (Nprb) corresponding to the TBS, and then calculating the corresponding transmission efficiency; wherein the calculation formula of the transmission efficiency is as follows:
[0151]
[0152] Wherein, CRC represents the number of bits added for error detection, for example, 14; N PRB Indicates the number of resource elements (RE) allocated to the PDSCH channel;
[0153] (6) The output layer outputs the target resource pool number and the target resource quantity.
[0154] Steps (1), (3) and (5) in the above second specific implementation are the same as steps (1), (4) and (6) in the above first specific implementation, and therefore, they will not be repeated here.
[0155] In the physical resource selection method of the embodiment of the present application, first, the physical resources in the area are delimited according to the latitude and longitude information of the OBU itself. Then, the packet receiving interval and packet loss rate true value fed back by the feedback link (such as Uu link, wifi link, etc.) between the two OBUs are used to form a loss function with the target value of the packet receiving interval and packet loss rate required by the application layer. Finally, by finding the optimal solution of the loss function, the mapping strategy of the wireless resource blocks of the intermediate layer filter 1 (first filter) and the filter 2 (second filter) is reversely iterated, and the optimal physical resource allocation scheme is synchronously output. Secondly, when the application has a data service transmission demand, based on the result of the model training convergence, the physical resource allocation is allocated according to the business model parameters input under various scenarios. In this way, on the one hand, an effective closed-loop control model is proposed for the LTE-V2X broadcast traffic mechanism. It can achieve the function of point-to-point communication wireless link adaptation, solve the problem that many-to-many broadcast communication systems cannot use closed-loop control and optimize resource pools, and solve the current coarse-grained scheduling strategy that sacrifices low-priority services to ensure the stable operation of high-priority services, which sacrifices user perception and hinders the application of LTE-V2X in more scenarios. On the other hand, the self-learning optimization model is introduced into the allocation of wireless physical resources, providing an end-to-end idea for the principle of using large artificial intelligence (AI) models for wireless resources.
[0156] The embodiment of the present application also provides a physical resource selection device, which is applied to a first OBU, such as Figure 5 As shown, the device comprises:
[0157] The first acquisition module 501 is used to acquire a first parameter set, wherein the first parameter set includes: a service cycle, a data packet length, location information of a first OBU, a first length and a first width corresponding to the location information, a first distance between the first OBU and a second OBU, a relative speed between the first OBU and the second OBU, a signal-to-noise ratio (SNR) value, and at least one of a data packet loss rate and a packet receiving time interval fed back by the second OBU;
[0158] A second acquisition module 502 is used to input the first parameter set into a resource allocation model to acquire a target resource pool number and a target resource quantity output by the resource allocation model;
[0159] The selection module 503 is configured to select physical resources of the target resource quantity from the target resource pool corresponding to the target resource pool number.
[0160] Optionally, when used to obtain the SNR value, the first acquisition module 501 is specifically used to:
[0161] Acquire the SNR value based on the first distance;
[0162] Alternatively, the SNR value fed back by the second OBU is obtained.
[0163] Optionally, when the first parameter set includes an SNR value obtained based on the first distance, and does not include the data packet loss rate and the packet receiving time interval fed back by the second OBU, the resource allocation model is used to:
[0164] Determine the target resource pool number according to the location information, the first length, and the first width;
[0165] Acquire a first transmission efficiency according to the SNR value, the service cycle, and the data packet length acquired based on the first distance;
[0166] According to the first transmission efficiency, the target resource quantity is acquired.
[0167] Optionally, when the first parameter set includes the SNR value fed back by the second OBU, the data packet loss rate fed back by the second OBU, and the packet receiving time interval, the resource allocation model is used to:
[0168] Determine the target resource pool number according to the location information, the first length, and the first width;
[0169] Calculating a loss function value according to the data packet loss rate, the packet receiving time interval and a preset loss function;
[0170] When the loss function value is greater than the loss function threshold, based on the SNR value fed back by the second OBU, traverse the MCS index to obtain the number of resources and the second transmission efficiency corresponding to each of the traversed MCS indexes;
[0171] The target resource quantity is obtained according to a first transmission efficiency, the resource quantity corresponding to each of the MCS indexes and a second transmission efficiency, wherein the first transmission efficiency is obtained according to an SNR value obtained based on the first distance, the service cycle and the data packet length.
[0172] Optionally, when the resource allocation module is used to obtain the target resource quantity according to the second transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency, it is specifically used to:
[0173] calculating an absolute value of a difference between the first transmission efficiency and each of the second transmission efficiencies;
[0174] The target resource quantity is determined to be the resource quantity corresponding to the minimum absolute value of the absolute values of the differences.
[0175] Optionally, when the resource allocation module is used to determine the target resource pool number according to the location information, the first length, and the first width, it is specifically used to:
[0176] Determine a first value according to the longitude in the location information, the first length, and a preconfigured area length;
[0177] Determine a second value according to the latitude in the location information, the first width, and a pre-configured area width;
[0178] The target resource pool number is determined according to the first value, the second value, and the region length.
[0179] Optionally, the resource allocation model includes: an input layer, a first filter, a second filter, an output layer and a feedback layer;
[0180] The input layer is connected to the first filter, the second filter and the feedback layer respectively, and the second filter is also connected to the first filter, the output layer and the feedback layer respectively;
[0181] The first filter is a filter constructed based on a two-dimensional tensor, and is used to filter the target resource pool. The two-dimensional tensor is [the number of regions in the length direction, the number of regions in the width direction];
[0182] The second filter is a filter constructed based on a five-dimensional tensor, and the second filter is used to obtain the target resource quantity, and the five-dimensional tensor is [resource pool number, transceiver device distance, transceiver device relative speed, SNR value, loss function value];
[0183] The feedback layer is used to feed back the loss function value and the SNR value fed back by the second OBU to the second filter;
[0184] The output layer is used to output the target resource pool number and the target resource quantity obtained from the second filter.
[0185] Optionally, the second acquisition module 502 is specifically configured to:
[0186] Inputting the first parameter set into the input layer;
[0187] The input layer inputs the location information, the first length and the first width into the first filter, and inputs the service period, the data packet length, the first distance and the relative speed into the second filter;
[0188] The first filter filters the target resource pool number based on the position information, the first length and the first width, and inputs the target resource pool number into the second filter;
[0189] The second filter determines an SNR value based on the first distance, obtains a first transmission efficiency based on the SNR value determined by the first distance, determines the target resource quantity based on the first transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer;
[0190] The output layer outputs the target resource pool number and the target resource quantity.
[0191] Optionally, the second acquisition module 502 is specifically configured to:
[0192] Inputting the first parameter set into the input layer;
[0193] The input layer inputs the location information, the first length and the first width into the first filter, inputs the service cycle, the data packet length, the first distance and the relative speed into the second filter, and inputs the data packet loss rate, the packet receiving time interval and the SNR value fed back by the second OBU into the feedback layer;
[0194] The feedback layer determines a loss function value based on the data packet loss rate and the packet receiving time interval fed back by the second OBU, and feeds back the SNR value and the loss function value fed back by the second OBU to the second filter;
[0195] The first filter filters the target resource pool number based on the position information, the first length and the first width, and inputs the target resource pool number into the second filter;
[0196] When the second filter determines that the loss function value is greater than the loss function threshold, the second filter traverses the MCS index based on the SNR value fed back by the second OBU, obtains the resource quantity and the second transmission efficiency corresponding to each of the traversed MCS indexes, and obtains the target resource quantity according to the first transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer; wherein the first transmission efficiency is obtained according to the SNR value obtained based on the first distance, the service cycle, and the data packet length;
[0197] The output layer outputs the target resource pool number and the target resource quantity.
[0198] It should be noted here that the above-mentioned physical resource selection device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned physical resource selection method embodiment applied to the first OUB, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0199] An embodiment of the present application also provides a physical resource selection device, including a transceiver 610, a processor 600, a memory 620, and a program stored in the memory 620 and executable on the processor 600; wherein, when the processor 600 executes the program, the physical resource selection method as described above is implemented.
[0200] The transceiver 610 is used to receive and send data under the control of the processor 600 .
[0201] Among them, Figure 6 In the embodiment of the present invention, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 600 and memory represented by memory 620. The bus architecture may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are not further described herein. The bus interface provides an interface. The transceiver 610 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium.
[0202] The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 500 when performing operations.
[0203] The embodiment of the present application also provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, each process of the embodiment of the physical resource selection method described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for executing the methods described in each embodiment of the present application.
[0205] Therefore, an embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps in the physical resource selection method as described above and can achieve the same technical effect. To avoid repetition, they will not be described here.
[0206] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A physical resource selection method, characterized in that: Applied to a first on-board unit OBU, the method comprises: Acquire a first parameter set, the first parameter set including: a service cycle, a data packet length, location information of a first OBU, a first length and a first width corresponding to the location information, a first distance between the first OBU and a second OBU, a relative speed between the first OBU and the second OBU, a signal-to-noise ratio (SNR) value, and at least one of a data packet loss rate and a packet receiving time interval fed back by the second OBU; Inputting the first parameter set into a resource allocation model, and obtaining a target resource pool number and a target resource quantity output by the resource allocation model; Select the target resource quantity of physical resources in the target resource pool corresponding to the target resource pool number.
2. The method according to claim 1, characterized in that Obtaining the SNR value includes: Acquire the SNR value based on the first distance; Alternatively, the SNR value fed back by the second OBU is obtained.
3. The method according to claim 2, characterized in that In a case where the first parameter set includes an SNR value obtained based on the first distance, and does not include the data packet loss rate and the packet receiving time interval fed back by the second OBU, the resource allocation model is used to: Determine the target resource pool number according to the location information, the first length, and the first width; Acquire a first transmission efficiency according to the SNR value, the service cycle, and the data packet length acquired based on the first distance; According to the first transmission efficiency, the target resource quantity is acquired.
4. The method according to claim 2, characterized in that: In the case where the first parameter set includes the SNR value fed back by the second OBU, the data packet loss rate fed back by the second OBU, and the packet receiving time interval, the resource allocation model is used to: Determine the target resource pool number according to the location information, the first length, and the first width; Calculating a loss function value according to the data packet loss rate, the packet receiving time interval and a preset loss function; When the loss function value is greater than the loss function threshold, based on the SNR value fed back by the second OBU, traverse the MCS index to obtain the number of resources and the second transmission efficiency corresponding to each of the traversed MCS indexes; The target resource quantity is obtained according to a first transmission efficiency, the resource quantity corresponding to each of the MCS indexes and a second transmission efficiency, wherein the first transmission efficiency is obtained according to an SNR value obtained based on the first distance, the service cycle and the data packet length.
5. The method according to claim 4, characterized in that Acquiring the target resource quantity according to the first transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency includes: calculating an absolute value of a difference between the first transmission efficiency and each of the second transmission efficiencies; The target resource quantity is determined to be the resource quantity corresponding to the minimum absolute value of the absolute values of the differences.
6. The method according to claim 3 or 4, characterized in that: Determining the target resource pool number according to the location information, the first length, and the first width includes: Determine a first value according to the longitude in the location information, the first length, and a preconfigured area length; Determine a second value according to the latitude in the location information, the first width, and a pre-configured area width; The target resource pool number is determined according to the first value, the second value and the region length.
7. The method according to claim 1, characterized in that The resource allocation model includes: an input layer, a first filter, a second filter, an output layer and a feedback layer; The input layer is connected to the first filter, the second filter and the feedback layer respectively, and the second filter is also connected to the first filter, the output layer and the feedback layer respectively; The first filter is a filter constructed based on a two-dimensional tensor, and is used to filter the target resource pool. The two-dimensional tensor is [the number of regions in the length direction, the number of regions in the width direction]; The second filter is a filter constructed based on a five-dimensional tensor, and the second filter is used to obtain the target resource quantity, and the five-dimensional tensor is [resource pool number, transceiver device distance, transceiver device relative speed, SNR value, loss function value]; The feedback layer is used to feed back the loss function value and the SNR value fed back by the second OBU to the second filter; The output layer is used to output the target resource pool number and the target resource quantity obtained from the second filter.
8. The method according to claim 7, characterized in that Inputting the first parameter set into a resource allocation model, and obtaining a target resource pool number and a target resource quantity output by the resource allocation model, comprises: Inputting the first parameter set into the input layer; The input layer inputs the location information, the first length and the first width into the first filter, and inputs the service period, the data packet length, the first distance and the relative speed into the second filter; The first filter filters the target resource pool number based on the position information, the first length and the first width, and inputs the target resource pool number into the second filter; The second filter determines an SNR value based on the first distance, obtains a first transmission efficiency based on the SNR value determined by the first distance, determines the target resource quantity based on the first transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer; The output layer outputs the target resource pool number and the target resource quantity.
9. The method according to claim 7, characterized in that: Inputting the first parameter set into a resource allocation model, and obtaining a target resource pool number and a target resource quantity output by the resource allocation model, comprises: Inputting the first parameter set into the input layer; The input layer inputs the location information, the first length and the first width into the first filter, inputs the service cycle, the data packet length, the first distance and the relative speed into the second filter, and inputs the data packet loss rate, the packet receiving time interval and the SNR value fed back by the second OBU into the feedback layer; The feedback layer determines a loss function value based on the data packet loss rate and the packet receiving time interval fed back by the second OBU, and feeds back the SNR value and the loss function value fed back by the second OBU to the second filter; The first filter filters the target resource pool number based on the position information, the first length and the first width, and inputs the target resource pool number into the second filter; When the second filter determines that the loss function value is greater than the loss function threshold, the second filter traverses the MCS index based on the SNR value fed back by the second OBU, obtains the resource quantity and the second transmission efficiency corresponding to each of the traversed MCS indexes, and obtains the target resource quantity according to the first transmission efficiency, the resource quantity corresponding to each of the MCS indexes, and the second transmission efficiency; and inputs the target resource pool number and the target resource quantity into the output layer; wherein the first transmission efficiency is obtained according to the SNR value obtained based on the first distance, the service cycle, and the data packet length; The output layer outputs the target resource pool number and the target resource quantity.
10. A physical resource selection device, characterized in that: Applied to the first OBU, the device comprises: A first acquisition module is used to acquire a first parameter set, wherein the first parameter set includes: a service cycle, a data packet length, location information of a first OBU, a first length and a first width corresponding to the location information, a first distance between the first OBU and a second OBU, a relative speed between the first OBU and the second OBU, a signal-to-noise ratio (SNR) value, and at least one of a data packet loss rate and a packet receiving time interval fed back by the second OBU; A second acquisition module, used for inputting the first parameter set into a resource allocation model, and acquiring a target resource pool number and a target resource quantity output by the resource allocation model; The selection module is used to select physical resources of the target resource quantity in the target resource pool corresponding to the target resource pool number.
11. A physical resource selection device, comprising a transceiver, a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the physical resource selection method according to any one of claims 1 to 9 is implemented.
12. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the physical resource selection method according to any one of claims 1 to 9 is implemented.
13. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the physical resource selection method according to any one of claims 1 to 9.