Resource sharing method, device and equipment of cellular Internet of Vehicles, and storage medium

By obtaining physical direct link messages from vehicles from other nodes, collecting vehicle information and transmission and reception frequency of surrounding nodes in real time, setting priority and determining the target frequency, the problem of insufficient communication reliability in cellular vehicle network is solved, and the fair allocation of resources is achieved and communication reliability.

CN119233412AActive Publication Date: 2024-12-31TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the cellular vehicle network, the problem of insufficient communication reliability is insufficient due to the inability to effectively allocate the transmission and reception frequency bands.

Method used

By obtaining the physical direct link messages from foreign node vehicles, the vehicle information and corresponding transmission and reception frequency of surrounding node vehicles are collected in real time, the selection priority is set negatively correlated with the occupation of the transmission and reception frequency, the target transmission and reception frequency is determined, and according to the The target frequency broadcasts the local physical direct-through link message.

Benefits of technology

This avoids resource competition, improves the fairness of resource allocation and communication reliability, and ensures that the frequency of messages received by vehicles from surrounding nodes does not repeat with other vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233412A_ABST
    Figure CN119233412A_ABST
Patent Text Reader

Abstract

The invention discloses a resource sharing method, device and equipment of a cellular Internet of Vehicles and a storage medium, belongs to the technical field of Internet of Vehicles communication, is applied to a local node vehicle, and comprises the following steps: obtaining a foreign physical straight-through link message; setting a corresponding selection priority for each receiving and transmitting frequency in a receiving and transmitting frequency pool according to the vehicle information in all the obtained foreign physical straight-through link messages and the corresponding receiving and transmitting frequencies; in response to the message broadcast command, generating a local physical straight-through link message, and determining the receiving and transmitting frequency corresponding to the maximum selection priority in the receiving and transmitting frequency pool as a target receiving and transmitting frequency; and sending the generated local physical straight-through link message in a broadcast mode according to the target transceiving frequency. According to the method and the device, the selection priority and the occupied condition of the corresponding receiving and transmitting frequency are designed to be in negative correlation, so that the problem of insufficient communication reliability during data interaction of the cellular Internet of Vehicles is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

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

[0003] Currently, C-V2X mainly includes two communication modes: direct communication (PC5) mode and cellular network (Uu) mode. PC5 mode allows direct communication between vehicles and between vehicles and other road users without relying on cellular network infrastructure. PC5 mode adopts broadcast communication to achieve the allocation of receiving and transmitting frequencies (that is, resources) through three stages: perception, resource selection and reservation occupation.

[0004] In the existing perception-based semi-persistent scheduling (SPS) mechanism, the perception capability of vehicles is constrained by the environment when there are dense vehicles, which leads to resource contention. That is, 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 of a cellular vehicle network, which is applied to a local node vehicle, including:

[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] According to the vehicle information in all the acquired external physical direct link messages and the transceiver frequency corresponding to each of the external physical direct link messages, a corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool; 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, a local physical direct link message corresponding to the message broadcast command is generated, and a transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool is determined 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 embodiment of the present application further discloses a resource sharing device of a cellular vehicle network, which is applied to a local node vehicle, including:

[0012] A message acquisition module, 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 contains vehicle information of a surrounding node vehicle that sends 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 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;

[0014] A message generation module, 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 largest selection priority in the transceiver frequency pool as the 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 program 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 acquiring the out-of-town physical direct link message sent by the out-of-town node vehicle, the vehicle information and the 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 corresponding relationship 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 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 picture:

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

[0021] Figure 2 It is a flowchart of the steps of another resource sharing method of cellular vehicle networking provided in 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 It is a block diagram of a resource sharing device of 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 It is a block diagram of an electronic device of another embodiment provided by the embodiments of the present application. DETAILED DESCRIPTION

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

[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

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

[0029] The method may include the following steps:

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

[0031] The out-of-town physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the out-of-town physical direct link message includes vehicle information of surrounding node vehicles that send the physical direct link message.

[0032] In some embodiments of the present application, the local node vehicle needs to receive physical direct link messages from foreign node vehicles. The physical direct link message is sent through the PC5 interface and contains the vehicle information of the sending vehicle and the corresponding transceiver frequency in the preset transceiver frequency pool. By receiving these messages, the local node vehicle can obtain the communication information of other vehicles in the surrounding environment and provide basic data for subsequent resource selection and allocation.

[0033] For example, assume that vehicle A is a local node vehicle, and vehicle B and vehicle C are out-of-town node vehicles. Vehicle B and vehicle C send physical direct link messages through the PC5 interface respectively. Vehicle A receives the messages sent by vehicle B and vehicle C within its communication range. The messages contain vehicle information of vehicle B and vehicle C (such as vehicle ID, location, etc.) and the transceiver frequencies they use. By receiving these messages, vehicle A can understand the communication resource usage of vehicle B and vehicle C, providing a basis for subsequent resource selection.

[0034] Step 102: 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.

[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 the reliability of communication.

[0037] For example, assume that vehicle A is a local node vehicle, and vehicle B and vehicle C are out-of-town node vehicles. Vehicle A receives a physical direct link message sent by vehicle B and vehicle C, which contains the vehicle information of vehicle B and vehicle C and the transmit and receive frequencies they use. After counting this information, vehicle A finds that frequency f1 is used by vehicle B and vehicle C, while frequencies f2 and f3 are not used. Based on this information, vehicle A sets selection priorities for the frequencies in the transmit and receive frequency pool: frequency f1 has the lowest selection priority, and frequencies f2 and f3 have a higher selection priority. In this way, vehicle A will give priority to frequency 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 a transceiver frequency corresponding to the maximum selection priority in the transceiver frequency pool is determined as a target transceiver frequency.

[0039] In some embodiments of the present application, after receiving the message broadcast command, the local node vehicle needs to generate a physical direct link message. The generated message contains relevant information of the vehicle and the preset transceiver frequency. In order to ensure the reliability of communication, the local node vehicle selects a target transceiver frequency according to 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, assuming that vehicle A is a local node vehicle, it has previously set a selection priority for the frequencies in the transceiver frequency pool based on the message information received from the external node vehicle. Now, vehicle A receives a message broadcast command and needs to generate a physical direct link message. Based on the previous priority setting, vehicle A finds that frequency f2 has the highest selection priority, so it 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 and send the generated physical direct link message based on the previously determined target transceiver frequency, for example, through the PC5 interface. The message contains relevant information of the vehicle 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 that vehicle A is a local node vehicle and has previously selected frequency f2 as the 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 the message through the PC5 interface. After receiving the message, surrounding vehicles B and C are able to understand that vehicle A is using frequency f2 for communication, thereby avoiding selecting the same frequency, reducing resource conflicts, and ensuring smooth and reliable communication.

[0044] In summary, in the embodiment of the present application, by acquiring the out-of-town physical direct link message sent by the out-of-town node vehicle, the vehicle information and the 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 corresponding relationship 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 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, obtaining at least one foreign physical direct link message sent from a foreign node vehicle.

[0047] The out-of-town physical direct link message has a corresponding transceiver frequency in a preset transceiver frequency pool; the out-of-town physical direct link message includes vehicle information of surrounding node vehicles that send the physical direct link message.

[0048] The method shown in this step has been explained 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 explained 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 that vehicle A is a local node vehicle and receives physical direct link messages sent by vehicles B and C. After analyzing these messages, vehicle A finds that frequencies f1 and f2 do not have corresponding node vehicle information in the messages, while frequencies f3 and f4 have node vehicle information of vehicles B and C in the messages. Therefore, vehicle A determines frequencies f1 and f2 as the first transceiver frequencies because they are not used by other vehicles; and determines frequencies f3 and f4 as the second transceiver frequencies because they are already used by vehicles B and C. Through this classification, vehicle A can clearly identify which frequencies are idle and which frequencies are occupied, providing a basis for subsequent frequency selection.

[0056] Sub-step 2022, setting the selection priority of the first transceiver frequency, and setting 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 of 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 has been 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 the reliability of communication.

[0058] For example, assuming that vehicle A is a local node vehicle, it has previously determined frequencies f1 and f2 as the first transceiver frequencies, and frequencies f3 and f4 as the second transceiver frequencies. Now, vehicle A needs to set selection priorities for these frequencies. Vehicle A sets the selection priorities of frequencies f1 and f2 to high because they are not used by other vehicles; it sets the selection priorities of frequencies f3 and f4 to low because they are already used by vehicles B and C. In this way, vehicle A will give priority to frequency f1 or f2 in subsequent communications to avoid resource conflicts with other vehicles and improve the reliability of communication.

[0059] Optionally, the external physical direct link message further includes the forwarding times of the external 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 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.

[0061] In some embodiments of the present application, the local node vehicle needs to set the selection priority of the second transceiver frequency according to 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 the reliability of communication.

[0062] For example, suppose 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 twice, while the message corresponding to frequency f4 is 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 this frequency is used by more vehicles. On the contrary, vehicle A sets a higher selection priority for frequency f4 because it has been forwarded less frequently, indicating that this frequency is relatively idle. With this setting, vehicle A can give priority to frequencies that are not frequently used, reduce resource conflicts, and improve 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 twice, while the message corresponding to frequency f4 is forwarded four times. The preset forwarding number threshold is 3 times. Based on this information, vehicle A determines frequency f3 as the third transceiver frequency, because its forwarding number is less than the threshold, indicating that the possibility of this frequency being used by other vehicles is low. Frequency f4 is determined as the fourth transceiver frequency, because its forwarding number is greater than or equal to the threshold, indicating that the possibility of this frequency being used by other vehicles is high. 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 the reliability of communication.

[0069] For example, assuming that vehicle A is a local node vehicle, it has previously determined frequency f3 as the third transceiver frequency and frequency f4 as the fourth transceiver frequency. Now, vehicle A needs to set selection priorities for these frequencies. Vehicle A sets the selection priority of frequency f3 to high because it has fewer forwarding times, indicating that the frequency is less likely to be used by other vehicles; and sets the selection priority of frequency f4 to low because it has more forwarding times, indicating that the frequency is more likely to be used by other vehicles. In this way, vehicle A will give priority to frequency f3 in subsequent communications to avoid resource conflicts with other vehicles and improve the reliability of communication.

[0070] Optionally, the external physical direct link message has a corresponding receiving 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 a 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 according to 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 the reliability of communication.

[0073] 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 -80dBm. Based on this information, vehicle A sets the selection priority of frequency f3 to be lower because its receiving power is higher, indicating that this frequency is more likely to be used by other vehicles. On the contrary, vehicle A sets the selection priority of frequency f4 to be higher because its receiving power is lower, indicating that this frequency is relatively idle. With this setting, vehicle A can give priority to frequencies with lower receiving power, reduce resource conflicts, and improve the reliability of communication.

[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, those 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 the reliability of communication.

[0080] For example, assuming that vehicle A is a local node vehicle, frequency f3 has been previously determined as the fifth transceiver frequency, and frequency f4 has been determined as the sixth transceiver frequency. Now, vehicle A needs to set selection priorities for these frequencies. Vehicle A sets the selection priority of frequency f3 to high because its received power is high, indicating that this frequency is more likely to be used by other vehicles; and sets the selection priority of frequency f4 to low because its received power is low, indicating that this frequency is less likely to be used by other vehicles. In this way, vehicle A will give priority to frequency f3 in subsequent communications to avoid resource conflicts with other vehicles and improve the reliability of communication.

[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 a transceiver frequency corresponding to the maximum selection priority in the transceiver frequency pool is determined as a target transceiver frequency.

[0082] The method shown in this step has been explained 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 a 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 bit. The main message part includes the basic information and communication data of the vehicle, and the reserved information bit is 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 bit in the subsequent steps.

[0087] For example, suppose vehicle A is a local node vehicle and receives a message broadcast command. The command content requires vehicle A to generate a physical direct link message. Vehicle A generates an original message based on the command content. The original message contains information such as control commands or communication data issued by vehicle A. At the same time, the original message also contains initialized reserved information bits, with an initial value of all zeros. This original message is generated to ensure that vehicle A can transmit necessary information during broadcasting and to prepare for subsequent modification of 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, so as 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, and this identification value 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 a zero value, and this zero value indicates 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.

[0090] In general, a physical direct link message contains a total of 48 bits of information, where the specific allocation of data is shown in Table 1:

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

[0092] The control channel contains information Data size (bit) 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 bit of the physical direct link message can be used to store the forwarding status and frequency occupancy status 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. Now, vehicle A needs to modify the first target data segment of the reserved information bits to its identification value, such as "10101", which indicates the unique identification of vehicle A. Then, the second target data segment of the reserved information bits is modified 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". Through this modification, vehicle A ensures that its message can carry the necessary identification information when broadcasting and records the number of times it is delivered.

[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 bits 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 bits 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 initial value of the reserved information bits being all zero. 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. Then, vehicle A 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 is delivered.

[0098] Step 204: broadcast the generated local physical direct link message 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, after receiving a foreign physical direct link message, the local node vehicle needs to detect 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 number threshold, thereby deciding whether to continue forwarding the message.

[0102] For example, suppose vehicle A is a local node vehicle and receives a foreign physical direct link message sent by vehicle B. Vehicle A first detects the value of the second target data segment in the reserved information bit of the message. Assuming that the value is "01", it means that the message has been forwarded once. By detecting this value, vehicle A can determine whether the message has reached the preset forwarding threshold (for example, the threshold can be 3 times), and thus decide whether to continue forwarding the message.

[0103] Step 206: 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, the foreign physical direct link message is discarded.

[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 number 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 number threshold, it means that the message has been forwarded multiple times and may have been propagated to enough vehicles, so it is no longer necessary to continue forwarding. At this time, 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 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 "11", indicating that the message has been forwarded three times. The preset forwarding threshold is 3 times, so this value is greater than or equal to the threshold. Then vehicle A will discard the out-of-town physical direct link message and no longer forward it. This can avoid repeated transmission and save 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, 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 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.

[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 the 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 propagate 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 the value is less than the threshold. Then vehicle A increases the value of the second target data segment in the reserved information bit by one and updates it to "10", indicating that the message has been forwarded twice. Then, vehicle A broadcasts 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, here are 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 transceiver frequency that has not been occupied;

[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 transceiver frequency that has not been occupied;

[0113] The above two strategies can be fixedly selected or flexibly adjusted according to the actual situation. For example, if the mutual occlusion and signal interference between vehicles are large, the broadcast signal of other vehicles should be given a greater weight. When there are dense vehicles in a certain period of time or in a certain area, strategy 2 can be selected; in other cases, strategy 1 can be selected to give a greater weight to the directly detected but weaker signal. The actual strategy selection can be made manually based on the on-site communication conditions and the specific situation of the vehicle, and no further explanation will be given here.

[0114] In summary, in the embodiment of the present application, by acquiring the out-of-town physical direct link message sent by the out-of-town node vehicle, the vehicle information and the 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 corresponding relationship 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 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 surrounding node vehicles that send the physical direct link message;

[0117] The priority module 302 is used to set a corresponding selection priority for each transceiver frequency in the transceiver frequency pool according to the vehicle information in all the foreign physical direct link messages obtained 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 used 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 maximum selection priority in the transceiver frequency pool as the target transceiver frequency;

[0119] The message sending module 304 is used 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, used to determine a transceiver frequency that does not have corresponding node vehicle information in the transceiver frequency pool as a first transceiver frequency, and to determine a transceiver frequency that has corresponding node vehicle information in the transceiver frequency pool as a second transceiver frequency;

[0122] The sorting submodule is used to set 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.

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

[0124] The first sorting unit is used to set 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.

[0125] Optionally, the first sorting unit includes:

[0126] The first classification subunit is used 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 used to set the selection priority of the third transceiver frequency and 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.

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

[0129] The second sorting unit is used to set 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.

[0130] Optionally, the second sorting unit includes:

[0131] A second classification subunit is used 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 used to set the selection priority of the fifth transceiver frequency and 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.

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

[0134] A message generation submodule, used 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, used for detecting the value of the second target data segment in the reserved information bit of the foreign physical direct link message;

[0138] A discarding module, used for discarding 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] A 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 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 update the value of the target data segment 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 acquiring the out-of-town physical direct link message sent by the out-of-town node vehicle, the vehicle information and the 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 corresponding relationship 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 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 , the 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 operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the 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 the operation of 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 component 506 provides power to the various components of the electronic device 500. The power supply component 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 touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, 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 may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0146] The audio component 510 is used to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is used to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent 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 the peripheral interface module, which may be 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, and the sensor assembly 514 can also detect the position change 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 the temperature change 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 an optical 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, a carrier 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, and the instructions can be executed by a processor 520 of an 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 6600 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 that can be executed 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 instructions to perform the method provided in the embodiment of the present application.

[0153] The electronic device 600 may also 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. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be 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 precise structures that have been 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; According to the vehicle information in all the acquired external physical direct link messages and the transceiver frequency corresponding to each of the external physical direct link messages, a corresponding selection priority is set for each transceiver frequency in the transceiver frequency pool; 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, a local physical direct link message corresponding to the message broadcast command is generated, and a transceiver frequency corresponding to the largest selection priority in the transceiver frequency pool is determined as a target transceiver frequency; The generated local physical direct link message is broadcasted according to the target transceiver frequency.

2. The method according to claim 1, characterized in that The step of setting a corresponding selection priority for each transceiver frequency in the transceiver frequency pool according to the vehicle information in all the acquired foreign physical direct link messages and the transceiver frequency corresponding to each of the foreign physical direct link messages comprises: Determine a transceiver frequency in the transceiver frequency pool that does not have corresponding node vehicle information as a first transceiver frequency, and determine a transceiver frequency in the transceiver frequency pool that has corresponding node vehicle information as a second transceiver frequency; A selection priority of the first transceiver frequency is set, and a selection priority of the second transceiver frequency is set, so that the selection priority of the first transceiver frequency is greater than the selection priority of the second transceiver frequency.

3. The method according to claim 2, characterized in that The external physical direct link message further includes a forwarding number 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.

4. The method according to claim 3, characterized in that 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 number of forwardings less than a preset forwarding number threshold as a third transceiver frequency, and determine, among all the second transceiver frequencies, a second transceiver frequency corresponding to a number of forwardings greater than or equal to a preset forwarding number 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.

5. The method according to claim 2, characterized in that 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 of the second transceiver frequencies is set according to the received power corresponding to the external physical direct link message corresponding to the second transceiver frequency.

6. The method according to claim 5, characterized in that The step of setting the selection priority of each of the second transceiver frequencies 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 whose receiving power is greater than a preset receiving power threshold as a fifth transceiver frequency, and determine, among all the second transceiver frequencies, a second transceiver frequency whose corresponding receiving power is less than or equal to the preset receiving 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.

7. The method according to claim 1, characterized in that The step of generating, in response to the message broadcast command, a local physical direct link message corresponding to the message broadcast command comprises: 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 a zero value to obtain the local physical direct link message.

8. A resource sharing device for a cellular vehicle network, characterized in that: Applied to local node vehicles, including: A message acquisition module, 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 contains vehicle information of a surrounding node vehicle that sends the physical direct link message; A priority module, configured to set 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; A message generation module, 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 largest selection priority in the transceiver frequency pool as the target transceiver frequency; The message sending module is used to broadcast the generated local physical direct link message according to the target transceiver frequency.

9. 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 7.

10. 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 as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for reserving sidelink resources

    CN114557072A

  • Resource selection in sidelink

    CN115516900A