A resource sharing method, device, equipment and storage medium for cellular vehicle network

By collecting the vehicle information and frequency of surrounding nodes in real time in the cellular vehicle network, setting selection priorities, and determining the target transmission and reception frequencies, the problem of insufficient communication reliability caused by resource competition in the cellular vehicle network is solved, and more efficient resource allocation and communication reliability are achieved.

CN119233412BActive Publication Date: 2025-09-30TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411268946.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-09-30
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

In cellular vehicle networks, the inability to effectively allocate transmit and receive frequency bands leads to insufficient communication reliability, especially in densely populated vehicle environments where resource competition is severe.

Method used

By obtaining the physical direct link messages sent by external node vehicles, the vehicle information and corresponding transceiver frequencies of surrounding node vehicles are collected in real time. The selection priority is set to be negatively correlated with the occupancy of the transceiver frequency, the target transceiver frequency is determined, and the local physical direct link messages are broadcast to avoid resource competition.

Benefits of technology

It improves the fairness of resource allocation and communication reliability, reduces resource conflicts, ensures that the frequency of messages received by vehicles at surrounding nodes is not repeated, and solves the problem of insufficient communication reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233412B_ABST
    Figure CN119233412B_ABST
Patent Text Reader

Abstract

The present application discloses a resource sharing method, apparatus, device and storage medium for a cellular vehicle network, which belongs to the field of vehicle network communication technology and is applied to local node vehicles, including: obtaining external physical direct link messages; setting corresponding selection priorities for each transceiver frequency in a transceiver frequency pool based on vehicle information in all obtained external physical direct link messages and corresponding transceiver frequencies; generating a local physical direct link message in response to a message broadcast command, and determining the transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool as the target transceiver frequency; and broadcasting the generated local physical direct link message according to the target transceiver frequency. The present application solves the problem of insufficient communication reliability during data interaction in a cellular vehicle network by designing the selection priority to be negatively correlated with the occupancy of the corresponding transceiver frequency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle network communication technology, and specifically relates to a resource sharing method, device, equipment and storage medium of a cellular vehicle network. Background Art

[0002] Cellular Vehicle-to-Everything (C-V2X) is a cellular-based vehicle-to-everything (V2X) technology designed to support communication between vehicles, other vehicles, infrastructure, pedestrians, and the internet. By leveraging existing cellular network infrastructure, C-V2X provides efficient and reliable communication services suitable for scenarios such as vehicle safety, traffic management, and autonomous driving.

[0003] Currently, C-V2X primarily includes two communication modes: direct communication (PC5) and cellular network (Uu). PC5 allows direct communication between vehicles and between vehicles and other road users without relying on cellular network infrastructure. PC5 utilizes broadcast communication, allocating transmit and receive frequencies (i.e., resources) through three phases: perception, resource selection, and reservation.

[0004] The existing perception-based semi-persistent scheduling (SPS) mechanism is constrained by the environment in densely populated vehicle environments, which leads to resource contention. In other words, different vehicles cannot effectively allocate resources, which affects the reliability of communication. Summary of the Invention

[0005] The present application aims to provide a resource sharing method, device, equipment and storage medium for a cellular vehicle network, at least to solve the problem of insufficient communication reliability caused by the inability to effectively allocate receiving and transmitting frequency bands during data interaction in the cellular vehicle network.

[0006] In a first aspect, an embodiment of the present application discloses a resource sharing method for a cellular vehicle network, which is applied to a local node vehicle, comprising:

[0007] Acquire at least one foreign physical direct link message sent from a foreign node vehicle; the foreign physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the foreign physical direct link message includes vehicle information of a surrounding node vehicle that sends the physical direct link message;

[0008] Setting a corresponding selection priority for each transceiver frequency in the transceiver frequency pool according to the vehicle information in all acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message; the selection priority is negatively correlated with the occupancy of the transceiver frequency corresponding to the selection priority;

[0009] In response to a message broadcast command, generating a local physical direct link message corresponding to the message broadcast command, and determining a transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool as a target transceiver frequency;

[0010] The generated local physical direct link message is broadcasted according to the target transceiver frequency.

[0011] In a second aspect, the embodiments of the present application further disclose a resource sharing device for a cellular vehicle network, which is applied to a local node vehicle and includes:

[0012] A message acquisition module, configured to acquire at least one foreign physical direct link message sent from a foreign node vehicle; the foreign physical direct link message having a corresponding transceiver frequency in a preset transceiver frequency pool; the foreign physical direct link message including vehicle information of a surrounding node vehicle that sent the physical direct link message;

[0013] a priority module, configured to set a corresponding selection priority for each transceiver frequency in the transceiver frequency pool based on the vehicle information in all acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message; the selection priority being negatively correlated with the occupancy of the transceiver frequency corresponding to the selection priority;

[0014] a message generation module, configured to generate, in response to a message broadcast command, a local physical direct link message corresponding to the message broadcast command, and determine the transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool as a target transceiver frequency;

[0015] The message sending module is used to broadcast the generated local physical direct link message according to the target transceiver frequency.

[0016] In a third aspect, an embodiment of the present application further discloses an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0017] In a fourth aspect, an embodiment of the present application further discloses a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0018] In summary, in the embodiment of the present application, by obtaining the foreign physical direct link message sent by the foreign node vehicle, the vehicle information and corresponding transceiver frequency of the surrounding node vehicles are collected in real time, thereby ensuring that the local node vehicle can fully understand the use of communication resources in the surrounding environment; and then, according to the obtained corresponding relationship, the corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool, and the selection priority is designed to be negatively correlated with the occupancy of the corresponding transceiver frequency, thereby avoiding resource contention, improving the fairness of resource allocation, and enhancing the reliability of communication; finally, according to the correspondence between the transceiver frequency in the transceiver frequency pool and the selection priority, the target transceiver frequency is determined, and the generated local physical direct link message is broadcasted according to the target transceiver frequency, thereby ensuring that the frequency of the message received by the surrounding node vehicles is not repeated with that of other vehicles. Therefore, based on the method of the embodiment of the present application, when interacting with data in the cellular vehicle network, without the need to design a complex transceiver frequency management method, the resource contention phenomenon is avoided, and the problem of insufficient communication reliability caused by the inability to effectively allocate transceiver frequency bands in the prior art is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In the attached figure:

[0020] Figure 1 This is a flowchart of the steps of a resource sharing method for a cellular vehicle network provided in an embodiment of the present application;

[0021] Figure 2 This is a flowchart of another method for sharing resources in a cellular vehicle network provided by an embodiment of the present application;

[0022] Figure 3 A priority table established according to the method provided in the embodiment of the present application;

[0023] Figure 4 This is a block diagram of a resource sharing device for a cellular vehicle network provided in an embodiment of the present application;

[0024] Figure 5 is a block diagram of an electronic device according to an embodiment of the present application;

[0025] Figure 6 This is a block diagram of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0027] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0028] Figure 1 This embodiment provides a resource sharing method for a cellular vehicle network, which is applied to local node vehicles.

[0029] The method may include the following steps:

[0030] Step 101: Obtain at least one foreign physical direct link message sent from a foreign node vehicle.

[0031] The external physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the external physical direct link message includes vehicle information of the surrounding node vehicle that sends the physical direct link message.

[0032] In some embodiments of the present application, a local node vehicle needs to receive physical direct link messages from a foreign node vehicle. Physical direct link messages are sent via the PC5 interface and contain the sending vehicle's vehicle information and the corresponding transceiver frequency in a preset transceiver frequency pool. By receiving these messages, the local node vehicle can obtain communication information from other vehicles in the surrounding environment, providing basic data for subsequent resource selection and allocation.

[0033] For example, assume vehicle A is a local node vehicle, while vehicles B and C are external node vehicles. Vehicles B and C each send physical direct link messages via the PC5 interface. Vehicle A receives the messages from vehicles B and C within its communication range. The messages contain vehicle information (such as vehicle ID and location) for vehicles B and C, as well as the transmit and receive frequencies used. By receiving these messages, vehicle A can understand the communication resource usage of vehicles B and C, providing a basis for subsequent resource selection.

[0034] Step 102 : According to the vehicle information in all the acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message, a corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool.

[0035] The selection priority is negatively correlated with the occupancy of the receiving and transmitting frequency corresponding to the selection priority.

[0036] In some embodiments of the present application, the local node vehicle needs to set a selection priority for each transceiver frequency in the transceiver frequency pool. The setting of the selection priority is based on the node vehicle information and the corresponding transceiver frequency in the physical direct link message received from the foreign node vehicle. The selection priority is negatively correlated with the occupancy of the transceiver frequency, that is, the higher the occupied frequency, the lower the selection priority. In this way, the local node vehicle can give priority to unoccupied or less occupied frequencies, thereby reducing resource conflicts and improving communication reliability.

[0037] For example, assume that vehicle A is a local node vehicle, and vehicles B and C are external node vehicles. Vehicle A receives a physical direct link message from vehicles B and C. The message contains vehicle information about vehicles B and C and the transmit and receive frequencies they use. After counting this information, vehicle A discovers that frequency f1 is used by vehicles B and C, while frequencies f2 and f3 are not used. Based on this information, vehicle A sets a selection priority for the frequencies in the transmit and receive frequency pool: frequency f1 has the lowest selection priority, while frequencies f2 and f3 have a higher selection priority. In this way, vehicle A will prioritize frequencies f2 or f3 in subsequent communications to avoid resource conflicts with vehicles B and C.

[0038] Step 103 : In response to the message broadcast command, a local physical direct link message corresponding to the message broadcast command is generated, and the transceiver frequency corresponding to the highest selection priority in the transceiver frequency pool is determined as the target transceiver frequency.

[0039] In some embodiments of the present application, after receiving a message broadcast command, the local node vehicle needs to generate a physical direct link message. The generated message contains relevant information about the vehicle and the preset transceiver frequency. To ensure the reliability of communication, the local node vehicle selects a target transceiver frequency based on the correspondence between the previously set transceiver frequency and the selection priority. The frequency with a higher selection priority is preferentially selected as the target transceiver frequency to reduce resource conflicts and interference and ensure that the message can be transmitted smoothly.

[0040] For example, suppose vehicle A is a local node vehicle. It has previously set a selection priority for frequencies in the transceiver frequency pool based on message information received from out-of-town node vehicles. Now, vehicle A receives a message broadcast command and needs to generate a physical direct link message. Based on the previous priority settings, vehicle A finds that frequency f2 has the highest selection priority and therefore selects f2 as the target transceiver frequency. Vehicle A generates a physical direct link message containing its vehicle information and the target transceiver frequency f2 and broadcasts the message through the PC5 interface. In this way, vehicle A can effectively utilize communication resources, reduce frequency conflicts with other vehicles, and improve communication reliability.

[0041] Step 104 : Send the generated local physical direct link message in a broadcast manner according to the target transceiver frequency.

[0042] In some embodiments of the present application, the local node vehicle can broadcast a generated physical direct link message based on a previously determined target transceiver frequency, for example, via the PC5 interface. This message contains vehicle-related information and the target transceiver frequency, ensuring that other vehicles can receive and understand the communication resource usage of the local node vehicle. Sending messages by broadcasting can effectively share communication resource information, reduce resource conflicts, and improve communication reliability.

[0043] For example, assume vehicle A is a local node vehicle and has previously selected frequency f2 as its target transceiver frequency. Vehicle A generates a physical direct link message containing its vehicle information and the target transceiver frequency f2. Vehicle A then broadcasts this message via the PC5 interface. Upon receiving this message, nearby vehicles B and C understand that vehicle A is communicating using frequency f2. This allows them to avoid selecting the same frequency, reducing resource conflicts and ensuring smooth and reliable communication.

[0044] In summary, in the embodiment of the present application, by obtaining the foreign physical direct link message sent by the foreign node vehicle, the vehicle information and corresponding transceiver frequency of the surrounding node vehicles are collected in real time, thereby ensuring that the local node vehicle can fully understand the use of communication resources in the surrounding environment; and then, according to the obtained corresponding relationship, the corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool, and the selection priority is designed to be negatively correlated with the occupancy of the corresponding transceiver frequency, thereby avoiding resource contention, improving the fairness of resource allocation, and enhancing the reliability of communication; finally, according to the correspondence between the transceiver frequency in the transceiver frequency pool and the selection priority, the target transceiver frequency is determined, and the generated local physical direct link message is broadcasted according to the target transceiver frequency, thereby ensuring that the frequency of the message received by the surrounding node vehicles is not repeated with that of other vehicles. Therefore, based on the method of the embodiment of the present application, when interacting with data in the cellular vehicle network, without the need to design a complex transceiver frequency management method, the resource contention phenomenon is avoided, and the problem of insufficient communication reliability caused by the inability to effectively allocate transceiver frequency bands in the prior art is solved.

[0045] Figure 2 Another resource sharing method for a cellular vehicle network provided in an embodiment of the application is applied to a local node vehicle and may include the following steps:

[0046] Step 201: Obtain at least one foreign physical direct link message sent from a foreign node vehicle.

[0047] The external physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the external physical direct link message includes vehicle information of the surrounding node vehicle that sends the physical direct link message.

[0048] The method shown in this step has been described in step 101 and will not be repeated here.

[0049] Step 202 : According to the vehicle information in all the acquired external physical direct link messages and the transceiver frequency corresponding to each external physical direct link message, a corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool.

[0050] The selection priority is negatively correlated with the occupancy of the receiving and transmitting frequency corresponding to the selection priority.

[0051] The method shown in this step has been described in step 102 and will not be repeated here.

[0052] Optionally, step 202 includes the following sub-steps:

[0053] Sub-step 2021: determining a transceiver frequency in the transceiver frequency pool that does not have corresponding node vehicle information as a first transceiver frequency, and determining a transceiver frequency in the transceiver frequency pool that has corresponding node vehicle information as a second transceiver frequency.

[0054] In some embodiments of the present application, the local node vehicle needs to classify all transceiver frequencies in the transceiver frequency pool. Specifically, those transceiver frequencies that do not have corresponding node vehicle information in the received physical direct link message are determined as the first transceiver frequency. These frequencies are not used or occupied by other vehicles. On the contrary, those transceiver frequencies that have corresponding node vehicle information in the received physical direct link message are determined as the second transceiver frequency. These frequencies have been used or occupied by other vehicles. Through this classification, the local node vehicle can more clearly understand which frequencies are idle and which frequencies are occupied, providing a basis for subsequent priority setting.

[0055] For example, assume vehicle A is a local node vehicle and receives physical direct link messages from vehicles B and C. After analyzing these messages, vehicle A discovers that frequencies f1 and f2 do not have corresponding node vehicle information in the messages, while frequencies f3 and f4 contain node vehicle information for vehicles B and C. Therefore, vehicle A identifies frequencies f1 and f2 as the primary transceiver frequencies because they are not used by other vehicles; and frequencies f3 and f4 as the secondary transceiver frequencies because they are already used by vehicles B and C. This classification allows vehicle A to clearly identify which frequencies are idle and which are occupied, providing a basis for subsequent frequency selection.

[0056] Sub-step 2022: Setting the selection priority of the first transceiver frequency and the selection priority of the second transceiver frequency, so that the selection priority of the first transceiver frequency is greater than the selection priority of the second transceiver frequency.

[0057] In some embodiments of the present application, the local node vehicle needs to set selection priorities for the first transceiver frequency and the second transceiver frequency respectively. The principle for setting the selection priority is: the selection priority of the first transceiver frequency is higher than that of the second transceiver frequency. The first transceiver frequency is a frequency that is not used by other vehicles, so it has a higher priority; the second transceiver frequency is a frequency that is already used by other vehicles, so it has a lower priority. Through this setting, the local node vehicle can give priority to unoccupied frequencies, thereby reducing resource conflicts and improving communication reliability.

[0058] For example, assume vehicle A is a local node vehicle and has previously designated frequencies f1 and f2 as primary transmit and receive frequencies, and frequencies f3 and f4 as secondary transmit and receive frequencies. Vehicle A now needs to prioritize these frequencies. It prioritizes frequencies f1 and f2 highly because they are not used by other vehicles, while prioritizing frequencies f3 and f4 low because they are already used by vehicles B and C. This allows vehicle A to prioritize frequencies f1 or f2 in subsequent communications, avoiding resource conflicts with other vehicles and improving communication reliability.

[0059] Optionally, the foreign physical direct link message further includes a forwarding count of the foreign physical direct link message. In order to set the selection priority of the second transceiver frequency, sub-step 2022 includes the following sub-steps:

[0060] Sub-step 20221: setting a selection priority of the second transceiver frequency according to the number of forwarding times in the foreign physical direct link message corresponding to the second transceiver frequency.

[0061] In some embodiments of the present application, the local node vehicle needs to set the selection priority of the second transceiver frequency based on the number of forwarding times in the physical direct link message corresponding to the second transceiver frequency. The number of forwarding times indicates the number of times the message is forwarded in the network. Generally speaking, the more forwarding times, the more vehicles use or occupy the frequency, so its selection priority should be relatively low. In this way, the local node vehicle can allocate communication resources more reasonably, give priority to frequencies that are not frequently used, reduce resource conflicts, and improve communication reliability.

[0062] For example, suppose vehicle A is a local node vehicle and receives multiple physical direct link messages. Vehicle A discovers that the message corresponding to frequency f3 has been forwarded twice, while the message corresponding to frequency f4 has been forwarded once. Based on this information, vehicle A sets a lower selection priority for frequency f3 because it has been forwarded multiple times, indicating that it is used by more vehicles. Conversely, vehicle A sets a higher selection priority for frequency f4 because it has been forwarded less frequently, indicating that it is relatively idle. This setting allows vehicle A to prioritize less frequently used frequencies, reducing resource conflicts and improving communication reliability.

[0063] Optionally, sub-step 20221 includes the following sub-steps:

[0064] In sub-step 202211, the second transceiver frequency whose corresponding forwarding number is less than the preset forwarding number threshold among all the second transceiver frequencies is determined as the third transceiver frequency, and the second transceiver frequency whose corresponding forwarding number is greater than or equal to the preset forwarding number threshold among all the second transceiver frequencies is determined as the fourth transceiver frequency.

[0065] In some embodiments of the present application, the local node vehicle needs to further classify the second transceiver frequency. Specifically, those second transceiver frequencies whose forwarding times are less than the preset forwarding times threshold are determined as the third transceiver frequency. These frequencies are forwarded less frequently, indicating that they are less likely to be used by other vehicles. On the contrary, those second transceiver frequencies whose forwarding times are greater than or equal to the preset forwarding times threshold are determined as the fourth transceiver frequency. These frequencies are forwarded more frequently, indicating that they are more likely to be used by other vehicles. Through this classification, the local node vehicle can more clearly understand which frequencies are relatively idle and which frequencies are frequently used, providing a basis for subsequent priority setting.

[0066] For example, assume that vehicle A is a local node vehicle and receives multiple physical direct link messages. Vehicle A finds that the message corresponding to frequency f3 is forwarded 2 times, while the message corresponding to frequency f4 is forwarded 4 times. The preset forwarding threshold is 3 times. Based on this information, vehicle A determines frequency f3 as the third transceiver frequency because its forwarding times are less than the threshold, indicating that the frequency is less likely to be used by other vehicles. Frequency f4 is determined as the fourth transceiver frequency because its forwarding times are greater than or equal to the threshold, indicating that the frequency is more likely to be used by other vehicles. Through this classification, vehicle A can clearly identify which frequencies are relatively idle and which frequencies are frequently used, providing a basis for subsequent frequency selection.

[0067] Sub-step 202212: Setting the selection priority of the third transceiver frequency and setting the selection priority of the fourth transceiver frequency, so that the selection priority of the third transceiver frequency is greater than the selection priority of the fourth transceiver frequency.

[0068] In some embodiments of the present application, the local node vehicle needs to set selection priorities for the third transceiver frequency and the fourth transceiver frequency respectively. The principle for setting the selection priority is: the selection priority of the third transceiver frequency is higher than that of the fourth transceiver frequency. The third transceiver frequency is a frequency with fewer forwarding times, indicating that it is less likely to be used by other vehicles, so it has a higher priority. On the contrary, the fourth transceiver frequency is a frequency with more forwarding times, indicating that it is more likely to be used by other vehicles, so it has a lower priority. Through this setting, the local node vehicle can give priority to frequencies that are not frequently used, thereby reducing resource conflicts and improving communication reliability.

[0069] For example, suppose vehicle A is a local node vehicle and has previously designated frequency f3 as the third transceiver frequency and frequency f4 as the fourth. Vehicle A now needs to prioritize these frequencies. Vehicle A prioritizes frequency f3 highly because it has fewer forwardings, indicating a low likelihood of being used by other vehicles. It prioritizes frequency f4 low because it has more forwardings, indicating a high likelihood of being used by other vehicles. This allows vehicle A to prioritize frequency f3 in subsequent communications, avoiding resource conflicts with other vehicles and improving communication reliability.

[0070] Optionally, the external physical direct link message has a corresponding receive power. In order to set the selection priority of the second transceiver frequency, sub-step 2022 includes the following sub-steps:

[0071] Sub-step 20222: Setting the selection priority of each second transceiver frequency according to the received power corresponding to the physical direct link message corresponding to the second transceiver frequency.

[0072] In some embodiments of the present application, the local node vehicle needs to set the selection priority of each second transceiver frequency based on the received power of the physical direct link message corresponding to the second transceiver frequency. The received power refers to the signal strength when the vehicle receives the message, usually expressed in dBm. The higher the received power, the greater the possibility that the frequency is used by other vehicles, so its selection priority should be relatively low. In this way, the local node vehicle can allocate communication resources more reasonably, give priority to frequencies with lower received power, reduce resource conflicts, and improve communication reliability.

[0073] For example, assume vehicle A is a local node vehicle and receives multiple physical direct link messages. Vehicle A discovers that the message receiving power for frequency f3 is -70dBm, while the message receiving power for frequency f4 is -80dBm. Based on this information, vehicle A sets a lower selection priority for frequency f3 because its higher received power indicates that it is more likely to be used by other vehicles. Conversely, vehicle A sets a higher selection priority for frequency f4 because its lower received power indicates that it is relatively unused. This configuration allows vehicle A to prioritize frequencies with lower received power, reducing resource conflicts and improving communication reliability.

[0074] Optionally, sub-step 20222 includes the following sub-steps:

[0075] In sub-step 202221, the second transceiver frequency whose receiving power is greater than the preset receiving power threshold among all the second transceiver frequencies is determined as the fifth transceiver frequency, and the second transceiver frequency whose corresponding receiving power is less than or equal to the preset receiving power threshold among all the second transceiver frequencies is determined as the sixth transceiver frequency.

[0076] In some embodiments of the present application, the local node vehicle needs to further classify the second transceiver frequency. Specifically, those second transceiver frequencies whose receiving power is greater than the preset receiving power threshold are determined as the fifth transceiver frequency. The higher the receiving power of these frequencies, the more likely they are to be used by other vehicles. On the contrary, the second transceiver frequencies whose receiving power is less than or equal to the preset receiving power threshold are determined as the sixth transceiver frequency. The lower the receiving power of these frequencies, the less likely they are to be used by other vehicles. Through this classification, the local node vehicle can more clearly understand which frequencies are frequently used and which frequencies are relatively idle, providing a basis for subsequent priority setting.

[0077] For example, assume that vehicle A is a local node vehicle and receives multiple physical direct link messages. Vehicle A finds that the message receiving power corresponding to frequency f3 is -70dBm, while the message receiving power corresponding to frequency f4 is -85dBm. The preset receiving power threshold is -80dBm. Based on this information, vehicle A determines frequency f3 as the fifth transceiver frequency because its receiving power is greater than the threshold, indicating that the frequency is more likely to be used by other vehicles. Frequency f4 is determined as the sixth transceiver frequency because its receiving power is less than or equal to the threshold, indicating that the frequency is less likely to be used by other vehicles. Through this classification, vehicle A can clearly identify which frequencies are frequently used and which frequencies are relatively idle, providing a basis for subsequent frequency selection.

[0078] Sub-step 202222: Setting the selection priority of the fifth transceiver frequency and setting the selection priority of the sixth transceiver frequency, so that the selection priority of the fifth transceiver frequency is greater than the selection priority of the sixth transceiver frequency.

[0079] In some embodiments of the present application, the local node vehicle needs to set selection priorities for the fifth transceiver frequency and the sixth transceiver frequency respectively. The principle for setting the selection priority is: the selection priority of the fifth transceiver frequency is higher than that of the sixth transceiver frequency. The fifth transceiver frequency is a frequency with higher receiving power, indicating that it is more likely to be used by other vehicles, so it has a higher priority. On the contrary, the sixth transceiver frequency is a frequency with lower receiving power, indicating that it is less likely to be used by other vehicles, so it has a lower priority. Through this setting, the local node vehicle can give priority to frequencies that are not frequently used, thereby reducing resource conflicts and improving communication reliability.

[0080] For example, assume vehicle A is a local node vehicle and has previously designated frequency f3 as the fifth transceiver frequency and frequency f4 as the sixth. Vehicle A now needs to prioritize these frequencies. Vehicle A prioritizes frequency f3 highly because its higher received power indicates a high likelihood of being used by other vehicles. It prioritizes frequency f4 low because its lower received power indicates a low likelihood of being used by other vehicles. This prioritizes frequency f3 in subsequent communications, avoiding resource conflicts with other vehicles and improving communication reliability.

[0081] Step 203 : In response to the message broadcast command, a local physical direct link message corresponding to the message broadcast command is generated, and the transceiver frequency corresponding to the highest selection priority in the transceiver frequency pool is determined as the target transceiver frequency.

[0082] The method shown in this step has been described in step 103 and will not be repeated here.

[0083] Optionally, in order to generate a local physical direct link message corresponding to the message broadcast command in response to the message broadcast command, step 203 includes the following sub-steps:

[0084] Sub-step 2031: Generate an original message of the corresponding local physical direct link message according to the command content of the message broadcast command.

[0085] The original message includes a main message of the local physical direct link message and an initialized reserved information bit.

[0086] In some embodiments of the present application, the local node vehicle needs to generate an original message of a physical direct link message based on the content of the received message broadcast command. The original message contains the main message part of the physical direct link message and the initialized reserved information bits. The main message part includes basic information and communication data of the vehicle, while the reserved information bits are used for subsequent identification and recording of the number of transmissions. The original message is generated to ensure that the message can carry the necessary information when broadcasting and to prepare for the modification of the reserved information bits in subsequent steps.

[0087] For example, suppose vehicle A, a local node, receives a message broadcast command. The command requires vehicle A to generate a physical direct link message. Based on the command, vehicle A generates an original message. This original message contains information such as control commands and communication data from vehicle A. It also contains reserved information bits initialized to all zeros. This original message is generated to ensure that vehicle A can transmit the necessary information during the broadcast and to prepare for subsequent modifications to the reserved information bits.

[0088] Sub-step 2032, modifying the value of the first target data segment of the reserved information bit to the identification value of the local node vehicle, and modifying the value of the second target data segment of the reserved information bit to zero, to obtain a local physical direct link message.

[0089] In some embodiments of the present application, the local node vehicle needs to modify the reserved information bits in the original message. Specifically, the value of the first target data segment of the reserved information bits is modified to the identification value of the local node vehicle, which is used to uniquely identify the local node vehicle. Then, the value of the second target data segment of the reserved information bits is modified to zero. This zero value indicates that the message was generated and sent for the first time by the local node vehicle. Through this modification, it is ensured that the message can carry the identification information of the local node vehicle when it is broadcast, and its transmission frequency is recorded.

[0090] Typically, a physical direct link message contains a total of 48 bits of information. The specific allocation of data is shown in Table 1:

[0091] Table 1. Information and data size in physical direct link messages

[0092] The control channel contains information Data size (bits) Task Priority 3 Shared channel modulation and coding strategy 5 Resource reservation period 4 Retransmission Index 1 The time interval between initial transmission and retransmission 4 Specific location of shared channel frequency domain resources 0-8 Reserved information bits 7 Cyclic Redundancy Check 16 total 48

[0093] Therefore, in a specific embodiment of the present application, the 7-bit idle data segment of the reserved information bits of the physical direct link message can be used to store the forwarding status and frequency occupancy of the broadcast data: for example, 5 bits of it are used as the vehicle identification code, and the remaining 2 bits are used as the forwarding count of the broadcast data.

[0094] For example, suppose vehicle A is a local node vehicle and has previously generated an original message with the reserved information bits initially set to all zeros. Vehicle A now needs to modify the first target data segment of the reserved information bits to its identification value, such as "10101," representing the unique identifier of vehicle A. Then, the second target data segment of the reserved information bits is modified to zero, indicating that this is the first message generated and sent by vehicle A. The modified reserved information bits might be "1010100." Through this modification, vehicle A ensures that its message carries the necessary identification information when broadcast and records its transmission count.

[0095] Optionally, the identification value of the local node vehicle may be a preset number for the vehicle, or a string of representation codes randomly generated by the local node vehicle.

[0096] In some specific implementation processes of the present application, the local node vehicle needs to modify the reserved information bits in the original message. Specifically, the value of the first target data segment of the reserved information bit is modified to the identification value of the local node vehicle. The identification value can be a preset vehicle number, or a string of representation codes generated by the local node vehicle according to preset rules or randomly. Then, the value of the second target data segment of the reserved information bit is modified to a zero value, indicating that the message is generated and sent for the first time by the local node vehicle. Through this modification, it is ensured that the message can carry the identification information of the local node vehicle when broadcasting, and the number of times it is transmitted is recorded.

[0097] For example, suppose vehicle A is a local node vehicle and has previously generated an original message with the reserved information bits initially set to all zeros. Now, vehicle A needs to modify the first target data segment of the reserved information bits to its identification value. The identification value of vehicle A can be a preset number "10101" or a code "11011" randomly generated by vehicle A according to preset rules. Vehicle A then modifies the second target data segment of the reserved information bits to a zero value, indicating that this is the first message generated and sent by vehicle A. The modified reserved information bits may be "1010100" or "1101100". Through this modification, vehicle A ensures that its message can carry the necessary identification information when broadcasting and records the number of times it has been delivered.

[0098] Step 204: The generated local physical direct link message is broadcasted according to the target transceiver frequency.

[0099] The method shown in this step has been described in step 104 and will not be repeated here.

[0100] Step 205: Detect the value of the second target data segment in the reserved information bit of the foreign physical direct link message.

[0101] In some embodiments of the present application, upon receiving a foreign physical direct link message, a local node vehicle detects the reserved information bit in the foreign physical direct link message. Specifically, the value of the second target data segment in the reserved information bit is detected. The value of the second target data segment indicates the number of times the message has been forwarded. By detecting this value, the local node vehicle can determine whether the message has reached a preset forwarding count threshold, thereby deciding whether to continue forwarding the message.

[0102] For example, suppose vehicle A, a local node vehicle, receives a message from vehicle B on a physical direct link from another location. Vehicle A first checks the value of the second target data segment in the message's reserved information bits. Assuming this value is "01," it indicates the message has been forwarded once. By checking this value, vehicle A can determine whether the message has reached a preset forwarding threshold (e.g., 3 times) and decide whether to continue forwarding the message.

[0103] Step 206: If the value of the second target data segment in the reserved information bit of the foreign physical direct link message is greater than or equal to a preset forwarding number threshold, discard the foreign physical direct link message.

[0104] In some embodiments of the present application, the local node vehicle needs to determine whether the out-of-town physical direct link message has reached a preset forwarding threshold. Specifically, the value of the second target data segment in the reserved information bit is detected. If the value is greater than or equal to the preset forwarding threshold, it means that the message has been forwarded multiple times and may have been propagated to enough vehicles, so it no longer needs to be forwarded. At this point, the local node vehicle will discard the out-of-town physical direct link message to avoid unnecessary repeated transmission and waste of resources.

[0105] For example, suppose vehicle A, a local node vehicle, receives a message from an out-of-region physical direct link. Vehicle A checks the value of the second target data segment in the reserved information bits of the message and finds it to be "11," indicating that the message has been forwarded three times. Since this value is greater than or equal to the preset forwarding threshold of 3, vehicle A will discard the out-of-region physical direct link message and not forward it further. This avoids duplicate transmissions and conserves communication resources.

[0106] Step 207: When the value of the second target data segment in the reserved information bit of the foreign physical direct link message is less than the forwarding number threshold, the value of the second target data segment in the reserved information bit of the foreign physical direct link message is increased by one to update the value of the target data segment, thereby obtaining an updated foreign physical direct link message. The updated foreign physical direct link message is then broadcasted to forward the foreign physical direct link message.

[0107] In some embodiments of the present application, the local node vehicle needs to determine whether the value of the second target data segment in the reserved information bit of the foreign physical direct link message is less than a preset forwarding number threshold. If the value is less than the threshold, it means that the message can continue to be forwarded. At this time, the local node vehicle adds one to the value of the second target data segment in the reserved information bit to update the value, indicating that the message has been forwarded once. Then, the local node vehicle broadcasts the updated physical direct link message through the PC5 interface to ensure that the message can continue to be transmitted to more vehicles.

[0108] For example, suppose vehicle A is a local node vehicle and receives an out-of-town physical direct link message. Vehicle A detects the value of the second target data segment in the reserved information bit of the message and finds that the value is "01", indicating that the message has been forwarded once. The preset forwarding threshold is 3 times, so this value is less than the threshold. Then vehicle A will increase the value of the second target data segment in the reserved information bit by one and update it to "10", indicating that the message has been forwarded twice. Then, vehicle A will broadcast the updated physical direct link message through the PC5 interface to ensure that the message can continue to propagate to more vehicles, reduce resource conflicts, and improve communication reliability.

[0109] refer to Figure 3 In a specific embodiment of the present application, a dynamic priority table is established: wherein the transceiver frequencies in dynamic table 1 and the transceiver frequencies in dynamic table 2 constitute a transceiver frequency pool, and different table numbers correspond to different selection priorities:

[0110] For example, consider the following two different strategies:

[0111] Strategy 1: Z1 represents the most occupied transceiver frequency, Z2 represents the second most occupied transceiver frequency, Z3 represents the third most occupied transceiver frequency, Z4 represents the least occupied transceiver frequency, and Z5 represents the unoccupied transceiver frequency.

[0112] Strategy 2: Z1 represents the most occupied transceiver frequency, Z3 represents the second most occupied transceiver frequency, Z2 represents the third most occupied transceiver frequency, Z4 represents the least occupied transceiver frequency, and Z5 represents the unoccupied transceiver frequency.

[0113] The two strategies above can be fixed or adjusted based on actual circumstances. For example, if there is significant mutual obstruction and signal interference between vehicles, greater weight should be given to the broadcast signals of other vehicles. During a period of time or in an area with dense traffic, Strategy 2 can be used. In other cases, Strategy 1 can be used to give greater weight to directly detected but weaker signals. The actual strategy selection can be made manually based on on-site communication conditions and the specific circumstances of the vehicle, and will not be further explained here.

[0114] In summary, in the embodiment of the present application, by obtaining the foreign physical direct link message sent by the foreign node vehicle, the vehicle information and corresponding transceiver frequency of the surrounding node vehicles are collected in real time, thereby ensuring that the local node vehicle can fully understand the use of communication resources in the surrounding environment; and then, according to the obtained corresponding relationship, the corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool, and the selection priority is designed to be negatively correlated with the occupancy of the corresponding transceiver frequency, thereby avoiding resource contention, improving the fairness of resource allocation, and enhancing the reliability of communication; finally, according to the correspondence between the transceiver frequency in the transceiver frequency pool and the selection priority, the target transceiver frequency is determined, and the generated local physical direct link message is broadcasted according to the target transceiver frequency, thereby ensuring that the frequency of the message received by the surrounding node vehicles is not repeated with that of other vehicles. Therefore, based on the method of the embodiment of the present application, when interacting with data in the cellular vehicle network, without the need to design a complex transceiver frequency management method, the resource contention phenomenon is avoided, and the problem of insufficient communication reliability caused by the inability to effectively allocate transceiver frequency bands in the prior art is solved.

[0115] refer to Figure 4 , which shows a cellular vehicle network resource sharing device 30 provided in an embodiment of the present application, applied to a local node vehicle, including:

[0116] The message acquisition module 301 is used to acquire at least one foreign physical direct link message sent from a foreign node vehicle; the foreign physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the foreign physical direct link message includes vehicle information of a surrounding node vehicle that sends the physical direct link message;

[0117] The priority module 302 is configured to set a corresponding selection priority for each transceiver frequency in the transceiver frequency pool based on the vehicle information in all acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message; the selection priority is negatively correlated with the occupancy of the transceiver frequency corresponding to the selection priority;

[0118] The message generation module 303 is configured to generate a local physical direct link message corresponding to the message broadcast command in response to the message broadcast command, and determine the transceiver frequency corresponding to the highest selection priority in the transceiver frequency pool as the target transceiver frequency;

[0119] The message sending module 304 is configured to send the generated local physical direct link message in a broadcast manner according to the target transceiver frequency.

[0120] Optionally, the priority module 302 includes:

[0121] a division submodule, configured to determine a transceiver frequency in the transceiver frequency pool that does not have corresponding node vehicle information as a first transceiver frequency, and to determine a transceiver frequency in the transceiver frequency pool that has corresponding node vehicle information as a second transceiver frequency;

[0122] The sorting submodule is configured to set a selection priority of the first transceiver frequency and a selection priority of the second transceiver frequency, so that the selection priority of the first transceiver frequency is greater than the selection priority of the second transceiver frequency.

[0123] Optionally, the external physical direct link message further includes a forwarding count of the external physical direct link message, and the sorting submodule includes:

[0124] The first sorting unit is configured to set a selection priority of the second transceiver frequency according to the number of forwarding times in the foreign physical direct link message corresponding to the second transceiver frequency.

[0125] Optionally, the first sorting unit includes:

[0126] The first classification subunit is configured to determine, among all the second transceiver frequencies, a second transceiver frequency corresponding to a number of forwardings less than a preset forwarding number threshold as a third transceiver frequency, and to determine, among all the second transceiver frequencies, a second transceiver frequency corresponding to a number of forwardings greater than or equal to the preset forwarding number threshold as a fourth transceiver frequency;

[0127] The first sorting subunit is configured to set a selection priority of the third transceiver frequency and a selection priority of the fourth transceiver frequency, so that the selection priority of the third transceiver frequency is greater than the selection priority of the fourth transceiver frequency.

[0128] Optionally, the external physical direct link message has a corresponding receive power, and the sorting submodule includes:

[0129] The second sorting unit is configured to set a selection priority of each second transceiver frequency according to a received power corresponding to the external physical direct link message corresponding to the second transceiver frequency.

[0130] Optionally, the second sorting unit includes:

[0131] The second classification subunit is configured to determine, among all the second transceiver frequencies, a second transceiver frequency whose corresponding received power is greater than a preset received power threshold as a fifth transceiver frequency, and to determine, among all the second transceiver frequencies, a second transceiver frequency whose corresponding received power is less than or equal to the preset received power threshold as a sixth transceiver frequency;

[0132] The second sorting subunit is configured to set a selection priority of the fifth transceiver frequency and a selection priority of the sixth transceiver frequency, so that the selection priority of the fifth transceiver frequency is greater than the selection priority of the sixth transceiver frequency.

[0133] Optionally, the message generation module 303 includes:

[0134] A message generation submodule, configured to generate an original message of a corresponding local physical direct link message according to the command content of the message broadcast command; the original message includes a main message of the local physical direct link message and an initialized reserved information bit;

[0135] The information appending submodule is used to modify the value of the first target data segment of the reserved information bit to the identification value of the local node vehicle, and modify the value of the second target data segment of the reserved information bit to zero to obtain a local physical direct link message.

[0136] Optionally, the device 30 further includes:

[0137] A forwarding detection module, configured to detect a value of a second target data segment in a reserved information bit of a foreign physical direct link message;

[0138] A discarding module, configured to discard the foreign physical direct link message when the value of the second target data segment in the reserved information bit of the foreign physical direct link message is greater than or equal to a preset forwarding number threshold;

[0139] The forwarding module is used to add one to the value of the second target data segment in the reserved information bit of the foreign physical direct link message to update the value of the target data segment when the value of the second target data segment in the reserved information bit of the foreign physical direct link message is less than the forwarding number threshold, so as to obtain an updated foreign physical direct link message, and broadcast the updated foreign physical direct link message to forward the foreign physical direct link message.

[0140] In summary, in the embodiment of the present application, by obtaining the foreign physical direct link message sent by the foreign node vehicle, the vehicle information and corresponding transceiver frequency of the surrounding node vehicles are collected in real time, thereby ensuring that the local node vehicle can fully understand the use of communication resources in the surrounding environment; and then, according to the obtained corresponding relationship, the corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool, and the selection priority is designed to be negatively correlated with the occupancy of the corresponding transceiver frequency, thereby avoiding resource contention, improving the fairness of resource allocation, and enhancing the reliability of communication; finally, according to the correspondence between the transceiver frequency in the transceiver frequency pool and the selection priority, the target transceiver frequency is determined, and the generated local physical direct link message is broadcasted according to the target transceiver frequency, thereby ensuring that the frequency of the message received by the surrounding node vehicles is not repeated with that of other vehicles. Therefore, based on the method of the embodiment of the present application, when interacting with data in the cellular vehicle network, without the need to design a complex transceiver frequency management method, the resource contention phenomenon is avoided, and the problem of insufficient communication reliability caused by the inability to effectively allocate transceiver frequency bands in the prior art is solved.

[0141] Reference Figure 5 , electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0142] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 502 may include one or more modules to facilitate interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.

[0143] The memory 504 is used to store various types of data to support operations on the electronic device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, multimedia, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0144] The power supply assembly 506 provides power to the various components of the electronic device 500. The power supply assembly 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.

[0145] The multimedia component 508 includes an interface that provides an output interface between the electronic device 500 and the user. In some embodiments, the interface may include a liquid crystal display (LCD) and a touch panel (TP). If the interface includes a touch panel, the interface may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of touch or slide actions, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0146] The audio component 510 is used to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) that is used to receive external audio signals when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0147] The input / output I / O interface 512 provides an interface between the processing component 502 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0148] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500. The sensor assembly 514 can also detect changes in the position of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and temperature changes of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0149] The communication component 516 is used to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0150] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to implement the methods provided in the embodiments of the present application.

[0151] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by the processor 520 of the electronic device 500 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0152] Figure 6FIG. 6 is a block diagram of an electronic device 600 according to another embodiment of the present invention. For example, the electronic device 600 may be provided as a server. Figure 6 The electronic device 600 includes a processing component 622, which further includes one or more processors, and a memory resource represented by a memory 632 for storing instructions executable by the processing component 622, such as an application. The application stored in the memory 632 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 622 is configured to execute the instructions to perform the method provided in the embodiments of the present application.

[0153] The electronic device 600 may further include a power supply component 626 configured to perform power management of the electronic device 600, a wired or wireless network interface 650 configured to connect the electronic device 600 to a network, and an input / output (I / O) interface 658. The electronic device 600 may operate based on an operating system stored in the memory 632, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.

[0154] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0155] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A resource sharing method for a cellular vehicle network, characterized in that: Applied to local node vehicles, including: Acquire at least one foreign physical direct link message sent from a foreign node vehicle; the foreign physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the foreign physical direct link message includes vehicle information of a surrounding node vehicle that sends the physical direct link message; Setting a corresponding selection priority for each transceiver frequency in the transceiver frequency pool according to the vehicle information in all acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message; the selection priority is negatively correlated with the occupancy of the transceiver frequency corresponding to the selection priority; In response to a message broadcast command, generating a local physical direct link message corresponding to the message broadcast command, and determining a transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool as a target transceiver frequency; Broadcasting the generated local physical direct link message according to the target transceiver frequency; The step of setting a corresponding selection priority for each transceiver frequency in the transceiver frequency pool according to the vehicle information in all acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message includes: Determine a transceiver frequency that does not have corresponding node vehicle information in the transceiver frequency pool as a first transceiver frequency, and determine a transceiver frequency that has corresponding node vehicle information in the transceiver frequency pool as a second transceiver frequency; Setting a selection priority of the first transceiver frequency and setting a selection priority of the second transceiver frequency so that the selection priority of the first transceiver frequency is greater than the selection priority of the second transceiver frequency; The external physical direct link message further includes a forwarding count of the external physical direct link message, and the setting of the selection priority of the second transceiver frequency includes: The selection priority of the second transceiver frequency is set according to the number of forwarding times in the foreign physical direct link message corresponding to the second transceiver frequency.

2. The method according to claim 1, wherein The step of setting the selection priority of the second transceiver frequency according to the number of forwarding times in the foreign physical direct link message corresponding to the second transceiver frequency includes: Determine, among all the second transceiver frequencies, a second transceiver frequency corresponding to a forwarding count less than a preset forwarding count threshold as a third transceiver frequency, and determine, among all the second transceiver frequencies, a second transceiver frequency corresponding to a forwarding count greater than or equal to the preset forwarding count threshold as a fourth transceiver frequency; The selection priority of the third transceiver frequency is set, and the selection priority of the fourth transceiver frequency is set, so that the selection priority of the third transceiver frequency is greater than the selection priority of the fourth transceiver frequency.

3. The method according to claim 1, wherein The external physical direct link message has a corresponding receiving power, and the setting of the selection priority of the second transceiver frequency includes: The selection priority of each second transceiver frequency is set according to the received power corresponding to the external physical direct link message corresponding to the second transceiver frequency.

4. The method according to claim 3, wherein The step of setting the selection priority of each second transceiver frequency according to the received power corresponding to the foreign physical direct link message corresponding to the second transceiver frequency includes: Determine, among all the second transceiver frequencies, a second transceiver frequency having a received power greater than a preset received power threshold as a fifth transceiver frequency, and determine, among all the second transceiver frequencies, a second transceiver frequency corresponding to a received power less than or equal to the preset received power threshold as a sixth transceiver frequency; The selection priority of the fifth transceiver frequency is set, and the selection priority of the sixth transceiver frequency is set, so that the selection priority of the fifth transceiver frequency is greater than the selection priority of the sixth transceiver frequency.

5. The method according to claim 1, wherein The step of generating, in response to the message broadcast command, a local physical direct link message corresponding to the message broadcast command, includes: Generate an original message of a corresponding local physical direct link message according to the command content of the message broadcast command; the original message includes a main message of the local physical direct link message and an initialized reserved information bit; The value of the first target data segment of the reserved information bit is modified to the identification value of the local node vehicle, and the value of the second target data segment of the reserved information bit is modified to zero to obtain the local physical direct link message.

6. A resource sharing device for a cellular vehicle network, characterized in that: Applied to local node vehicles, including: A message acquisition module, configured to acquire at least one foreign physical direct link message sent from a foreign node vehicle; the foreign physical direct link message having a corresponding transceiver frequency in a preset transceiver frequency pool; the foreign physical direct link message including vehicle information of a surrounding node vehicle that sent the physical direct link message; a priority module, configured to set a corresponding selection priority for each transceiver frequency in the transceiver frequency pool based on the vehicle information in all acquired foreign physical direct link messages and the transceiver frequency corresponding to each foreign physical direct link message; the selection priority being negatively correlated with the occupancy of the transceiver frequency corresponding to the selection priority; a message generation module, configured to generate, in response to a message broadcast command, a local physical direct link message corresponding to the message broadcast command, and determine the transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool as a target transceiver frequency; A message sending module, configured to broadcast the generated local physical direct link message according to the target transceiver frequency; The priority module includes: a division submodule, configured to determine a transceiver frequency in the transceiver frequency pool that does not have corresponding node vehicle information as a first transceiver frequency, and to determine a transceiver frequency in the transceiver frequency pool that has corresponding node vehicle information as a second transceiver frequency; a sorting submodule, configured to set a selection priority of the first transceiver frequency and a selection priority of the second transceiver frequency, so that the selection priority of the first transceiver frequency is greater than the selection priority of the second transceiver frequency; The foreign physical direct link message further includes the number of forwarding times of the foreign physical direct link message, and the sorting submodule includes: The first sorting unit is configured to set a selection priority of the second transceiver frequency according to a forwarding count in a foreign physical direct link message corresponding to the second transceiver frequency.

7. An electronic device, characterized in that: include: a processor, a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for reserving sidelink resources

    CN114557072A

  • Resource selection in sidelink

    CN115516900A