Communication method and device
By sending synchronization signals in preset time slots and searching for synchronization sources in the remaining time slots in V2V scenarios, the problem of synchronization signal sensing between vehicle units when GNSS signals are unavailable is solved, and reliable sensing and communication between vehicles are achieved.
Patent Information
- Application Number
- CN202310250418.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-10
AI Technical Summary
In a V2V scenario, when GNSS signals are unavailable, the vehicle-mounted unit may be confused between sending and stopping synchronization signals, resulting in the inability to perceive the other party's synchronization signals and affecting communication between vehicles.
By sending N synchronization signals in the preset M time slots and searching for synchronization sources in the remaining time slots, it is ensured that the vehicle-mounted unit can receive the synchronization signal sent by the vehicle-mounted unit with the same preset time slot and realizes inter-vehicle communication. Perception.
It effectively reduces the impact of perception between vehicle units caused by different synchronization signal transmission time slots, ensures reliable transmission of synchronization signals between vehicles, and avoids abnormal switching caused by channel occupation and misjudgment.
Smart Images

Figure CN118632216A
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to a communication method and device. Background Art
[0002] Vehicle To Everything (V2X), as a wireless communication technology for vehicles, is a new generation of information and communication technology that connects vehicles to everything. V2X is to connect vehicles with the outside world 100%. V2X scenarios include vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), vehicle-to-pedestrian (V2P), and vehicle-to-network (V2N).
[0003] In the V2V application scenario, when two On Board Units (OBUs) are synchronized with the Global Navigation Satellite System (GNSS), they are indirectly synchronized in the time domain. If GNSS becomes unavailable, the two OBUs synchronized with GNSS will switch to self-synchronization. At this time, there is a 50% probability that the two OBUs will choose the same synchronization offset indicator (syncOffsetIndicator) to send the synchronization signal, that is, there is a 50% probability that the two OBUs will send the synchronization signal at the same time and stop sending the synchronization signal at the same time.
[0004] In a network in time division duplex (TDD) mode, an OBU cannot receive a synchronization signal when sending a synchronization signal. When two OBUs send synchronization signals at the same time and stop sending synchronization signals at the same time, the synchronization signal sent by the other end cannot be received, resulting in the problem that the two OBUs cannot perceive each other. Summary of the invention
[0005] In view of this, a communication method and device are proposed, which can realize mutual perception between on-board units with the same preset time slot for sending synchronization signals.
[0006] In a first aspect, an embodiment of the present application provides a communication method, which is applied to a first vehicle-mounted unit, and the method includes: obtaining M preset time slots, which are used to send synchronization signals, and the synchronization signals are used to synchronize the clock of the vehicle-mounted unit, wherein M is a positive integer greater than 1; according to the M time slots, sending N synchronization signals in N time slots, wherein N is a positive integer less than M; according to the M time slots, searching for synchronization sources in the remaining time slots.
[0007] In an embodiment of the present application, the first vehicle-mounted unit provides conditions for receiving the synchronization signal in the remaining time slot by sending the synchronization signal in N time slots and searching for the synchronization source in the remaining time slots, so that the first vehicle-mounted unit can receive the synchronization signal sent by the vehicle-mounted unit with the same time slot as the preset time slot for sending the synchronization signal in the remaining time slot, thereby realizing the perception between the vehicle-mounted units with the same preset time slot for sending the synchronization signal in the V2V scenario.
[0008] According to the first aspect, in a first possible implementation of the method, searching for a synchronization source in the remaining time slots according to the M time slots includes: in a case where the first vehicle-mounted unit needs to search for a second vehicle-mounted unit, searching for a synchronization source in the remaining time slots according to the M time slots, wherein the second vehicle-mounted unit is the vehicle-mounted unit that sends the synchronization signal on the M time slots.
[0009] In this way, the influence on the perception between the on-board unit having a different time slot from that of the first on-board unit in which the synchronization signal is transmitted and the first on-board unit can be reduced.
[0010] According to the above first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner of the method, the method further includes: receiving a synchronization signal in the remaining time slot.
[0011] In the embodiment of the present application, since the first on-board unit searches for the synchronization source in the remaining time slots, the channel can receive the synchronization signal, thereby enabling perception between the on-board units.
[0012] According to the first aspect or any possible implementation of the first aspect above, in a third possible implementation of the method, the method also includes: sending a synchronization signal stop message before a first time slot, the first time slot representing any time slot in the remaining time slots, and the synchronization signal stop message is used to notify the first vehicle-mounted unit that the synchronization signal will not be sent in the first time slot.
[0013] In the embodiment of the present application, by sending the synchronization signal stop message in advance, it is possible to avoid other on-board units from misjudging that the first on-board unit has an abnormality.
[0014] According to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the method, sending a synchronization signal stop message before the first time slot includes: sending a master information block MIB in a second time slot, wherein the second time slot represents at least one time slot before the first time slot among the N time slots, and the MIB carries the time of the first time slot.
[0015] According to the first possible implementation manner of the first aspect, in the fifth possible implementation manner of the method, when the first vehicle-mounted unit needs to search for the second vehicle-mounted unit, searching for the synchronization source in the remaining time slots according to the M time slots, including: when the first vehicle-mounted unit is synchronized with reference to the Global Navigation Satellite System GNSS and the GNSS signal is unstable, searching for the synchronization source in the remaining time slots according to the M time slots.
[0016] According to the first possible implementation manner of the first aspect, in the sixth possible implementation manner of the method, when the first vehicle-mounted unit needs to search for the second vehicle-mounted unit, searching for the synchronization source in the remaining time slots according to the M time slots, including: when the first vehicle-mounted unit is synchronized with reference to the fourth vehicle-mounted unit, searching for the synchronization source in the remaining time slots according to the M time slots.
[0017] According to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the method, the fourth on-board unit directly refers to GNSS synchronization, or the fourth on-board unit indirectly refers to GNSS synchronization, or the fourth on-board unit refers to the fifth on-board unit for synchronization, or the fourth on-board unit is self-synchronized.
[0018] According to the first possible implementation manner of the first aspect, in the eighth possible implementation manner of the method, in the case that the first vehicle-mounted unit needs to search for the second vehicle-mounted unit, searching for the synchronization source in the remaining time slots according to the M time slots, including: in the case that the first vehicle-mounted unit is self-synchronized, searching for the synchronization source in the remaining time slots according to the M time slots.
[0019] In a second aspect, an embodiment of the present application provides a communication device, which is applied to a first vehicle-mounted unit, and includes:
[0020] A processing module, used for acquiring preset M time slots, wherein the time slots are used for sending the synchronization signal, and the synchronization signal is used for synchronizing the clock of the vehicle-mounted unit, wherein M is a positive integer greater than 1;
[0021] The transceiver module is used to send N synchronization signals in N time slots according to the M time slots and search for synchronization sources in the remaining time slots, where N is a positive integer less than M.
[0022] In a possible implementation, the transceiver module is further used for:
[0023] In the case where the first onboard unit needs to search for a second onboard unit, a synchronization source is searched in the remaining time slots according to the M time slots, wherein the second onboard unit is the onboard unit that sends the synchronization signal in the M time slots.
[0024] In a possible implementation, the transceiver module is further used for:
[0025] In the remaining time slots, a synchronization signal is received.
[0026] In a possible implementation, the transceiver module is further used for:
[0027] A synchronization signal stop message is sent before a first time slot, where the first time slot represents any time slot in the remaining time slots, and the synchronization signal stop message is used to notify the first on-board unit that the synchronization signal will not be sent in the first time slot.
[0028] In a possible implementation, the transceiver module is further used for:
[0029] In a second time slot, a master information block MIB is sent, where the second time slot represents at least one time slot before the first time slot among the N time slots, and the MIB carries the time of the first time slot.
[0030] In a possible implementation manner, searching for a synchronization source in the remaining time slots includes:
[0031] In case that the first on-board unit is synchronized with reference to a global navigation satellite system (GNSS) and the GNSS signal is unstable, a synchronization source is searched in the remaining time slots.
[0032] In a possible implementation manner, searching for a synchronization source in the remaining time slots includes:
[0033] In case the first on-board unit is synchronized with reference to the fourth on-board unit, a synchronization source is searched in the remaining time slots.
[0034] In a possible implementation, the fourth on-board unit directly references the GNSS for synchronization, or the fourth on-board unit indirectly references the GNSS for synchronization, or the fourth on-board unit references the fifth on-board unit for synchronization, or the fourth on-board unit self-synchronizes.
[0035] In a possible implementation manner, searching for a synchronization source in the remaining time slots includes:
[0036] In case the first on-board unit is self-synchronized, a synchronization source is searched in the remaining time slots.
[0037] In a third aspect, an embodiment of the present application provides a vehicle-mounted unit, comprising a processor and a memory for storing processor executable instructions, wherein the processor is configured to implement the above-mentioned first aspect or one or more of the multiple possible implementation methods of the first aspect when executing the instructions.
[0038] In a fourth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the communication method of the above-mentioned first aspect or one or more of the multiple possible implementation methods of the first aspect.
[0039] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code runs in an electronic device, a processor in the electronic device executes the communication method of the above-mentioned first aspect or one or more of the multiple possible implementation methods of the first aspect.
[0040] These and other aspects of the present application will become more apparent from the following description of the embodiment(s). BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.
[0042] Figure 1 A schematic diagram of the architecture of a V2X communication system provided in an embodiment of the present application is shown.
[0043] Figure 2 A flow chart of a communication method provided in an embodiment of the present application is shown.
[0044] Figure 3a An interactive flow chart of the communication method provided in an embodiment of the present application is shown.
[0045] Figure 3b An interactive flow chart of the communication method provided in an embodiment of the present application is shown.
[0046] Figure 3c A flow chart of a communication method provided in an embodiment of the present application is shown.
[0047] Figure 4a An interactive flow chart of the communication method provided in an embodiment of the present application is shown.
[0048] Figure 4b An interactive flow chart of the communication method provided in an embodiment of the present application is shown.
[0049] Figure 4c An interactive flow chart of the communication method provided in an embodiment of the present application is shown.
[0050] Figure 5 A block diagram of a communication device provided in an embodiment of the present application is shown.
[0051] Figure 6 A schematic diagram of the structure of the vehicle-mounted unit provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0052] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0053] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0054] In addition, in order to better illustrate the present application, numerous specific details are provided in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0055] Vehicle to Everything (V2X) communication refers to the communication between vehicles and anything in the outside world. Figure 1 FIG. 1 is a schematic diagram showing the architecture of a V2X communication system provided in an embodiment of the present application. Figure 1 As shown in Figure 1, V2X communication includes vehicle-to-vehicle communication (V2V), vehicle-to-pedestrian communication (V2P), vehicle-to-infrastructure communication (V2I), and vehicle-to-network (V2N). In a V2X communication system, devices can communicate directly with each other. For example, Figure 1As shown in the figure, in the V2V scenario, vehicles communicate with each other; in the V2P scenario, vehicles communicate with user equipment; in the V2I scenario, vehicles communicate with road side units (RSU); in the V2N scenario, vehicles communicate with application servers. Among them, vehicle communication can be achieved through on-board units such as on-board units (OBU).
[0056] In the application scenario of V2V, OBUs can communicate directly based on communication protocols such as New Radio-Vehicle (NR-V) and Long Term Evolution-Vehicle (LTE-V). Since NR-V and LTE-V use the time division duplexing (TDD) communication mode. Therefore, on the NR-V and LTE-V networks, an OBU cannot receive the synchronization signal when sending the synchronization signal. When the time-frequency offset of the two OBUs is the same and the selected synchronization frequency offset indication (syncOffsetIndicator) is the same, the two OBUs will send the synchronization signal at the same time (i.e., in the same time slot) and stop sending the synchronization signal at the same time. Therefore, the two OBUs cannot receive the synchronization signal sent by the other end, resulting in the problem that the two OBUs cannot perceive each other.
[0057] In order to solve the above technical problems, the present application provides a communication method, which can realize the perception between on-board units with the same preset time slot for sending synchronization signals in a V2V scenario.
[0058] Figure 2 The flowchart of the communication method provided by the embodiment of the present application is shown. The method can be applied to the first vehicle-mounted unit, and the first vehicle-mounted unit can represent any vehicle-mounted unit in the V2V scenario. Figure 2 As shown, the method may include:
[0059] Step S201, obtaining preset M time slots.
[0060] The time slot is used to send a synchronization signal, and the synchronization signal is used to synchronize the clock of the vehicle-mounted unit, and M is a positive integer greater than 1.
[0061] Step S202: Send N synchronization signals in N time slots according to the M time slots.
[0062] Wherein, N is a positive integer less than M.
[0063] Step S203: Search for a synchronization source in the remaining time slots according to the M time slots.
[0064] The remaining time slots are the time slots other than the N time slots used to send synchronization signals in the preset M time slots.
[0065] In the V2V scenario, OBU will send a synchronization signal at intervals to sense other OBUs. In an embodiment of the present application, OBU can preset M time slots, and then send a synchronization signal in each time slot. Wherein, the duration between each time slot can be the same or different, and this embodiment of the present application is not limited. In a time slot, if an OBU receives a synchronization signal sent by another OBU, then the OBU thinks that it has sensed another OBU. Wherein, the synchronization signal can be used to synchronize the clock of the OBU. The preset time slot and synchronization signal can refer to the relevant technology, and will not be repeated here.
[0066] Based on this, in an embodiment of the present application, in order to sense other onboard units with the same time slot as its preset time slot for sending synchronization signals (for example, other onboard units with the same time-frequency offset and the same selected synchronization frequency offset indication, other onboard units with approximately the same time-frequency offset, etc., hereinafter referred to as: other onboard units with the same preset time slot), that is, in order to be able to receive synchronization signals sent by other onboard units with the same preset time slot, synchronization signals can be sent from N time slots out of M time slots, and synchronization sources can be searched in the remaining time slots. In this way, the first onboard unit can receive synchronization signals sent by other onboard units (including the above-mentioned onboard units with the same preset time slot) in the remaining time slots, and thus can sense the onboard units with the same preset time slot.
[0067] It is understandable that when searching for a synchronization source, the first onboard unit needs to receive synchronization signals sent by other onboard units. In order to avoid the channel being occupied, the first onboard unit will not send a synchronization signal at this time.
[0068] It should be noted that when the first vehicle-mounted unit and / or other vehicle-mounted units send synchronization signals out of order (i.e., randomly and irregularly in sending time), there is also a certain probability that the first vehicle-mounted unit and the other vehicle-mounted units send synchronization signals in the same time slot, resulting in the first vehicle-mounted unit and the other vehicle-mounted units being unable to perceive each other. Therefore, at this time, the first vehicle-mounted unit may also execute steps S201 to S203 to achieve mutual perception between the first vehicle-mounted unit and the other vehicle-mounted units.
[0069] For example, assume that the multiple time slots include time slot 1, time slot 2, time slot 3 and time slot 4 in chronological order. If the first onboard unit normally sends a synchronization signal in time slot 1, searches for a synchronization source in time slot 2, sends a synchronization signal normally in time slot 3, and sends a synchronization signal normally in time slot 4. In this way, the first onboard unit can receive signals in time slot 2, and specifically can receive synchronization signals sent by other onboard units (including the above-mentioned onboard units with the same preset time slot).
[0070] In an embodiment of the present application, the first vehicle-mounted unit sends N synchronization signals in N time slots and searches for synchronization sources in the remaining time slots, thereby providing conditions for the first vehicle-mounted unit to receive synchronization signals in the remaining time slots, so that the first vehicle-mounted unit can receive synchronization signals sent by the vehicle-mounted unit with the same preset time slot in the remaining time slot, thereby realizing perception between the vehicle-mounted units with the same preset time slot for sending synchronization signals in the V2V scenario.
[0071] In a possible implementation, the first vehicle-mounted unit randomly selects one or more time slots from preset time slots as time slots for searching the synchronization source. Correspondingly, the other vehicle-mounted units also randomly select one or more time slots from preset time slots as time slots for searching the synchronization source, just like the first vehicle-mounted unit. In this way, the first vehicle-mounted unit and the other vehicle-mounted units have a greater probability of selecting different time slots to search for the synchronization source, so that the first vehicle-mounted unit can receive the synchronization signal sent by the other vehicle-mounted units in the time slot when it searches for the synchronization source, and the other vehicle-mounted units can receive the synchronization signal sent by the first vehicle-mounted unit in the time slot when it searches for the synchronization source, thereby realizing the perception between the first vehicle-mounted unit and the other vehicle-mounted units.
[0072] In an embodiment of the present application, when the first on-board unit needs to search for an on-board unit (referred to as the second on-board unit) that also sends synchronization signals in the M time slots, the synchronization signal can be sent normally in N time slots, and the synchronization signal can be stopped in the remaining time slots to search for the synchronization source. Among them, the second on-board unit includes but is not limited to an on-board unit with the same time-frequency offset as the first on-board unit, an on-board unit with a synchronization offset indication selected by the first on-board unit, an on-board unit with a time-frequency offset similar to that of the first on-board unit (for example, the difference is within a preset threshold, wherein the preset threshold can be set as needed and is not limited here), an on-board unit that sends synchronization signals out of order, etc. Currently, the second on-board unit may also be other on-board units that conflict with the first on-board unit in the time of sending synchronization signals, such as a on-board unit synchronized with the first on-board unit. The embodiment of the present application does not limit the second on-board unit.
[0073] Considering that the on-board unit having a different time-frequency deviation from the first on-board unit and / or a different selected synchronization offset indication sends the synchronization signal at different time slots from the first on-board unit. The time slot in which the on-board unit having a different time-frequency deviation from the first on-board unit and / or a different selected synchronization offset indication sends the synchronization signal is before or after the first on-board unit sends the synchronization signal. Therefore, in the case where the first on-board unit sends the synchronization signal in each of the M time slots, the first on-board unit can still receive the synchronization signal sent by the on-board unit having a different time-frequency deviation from the first on-board unit and / or a different selected synchronization offset indication, thereby realizing the perception between the first on-board unit and the on-board unit having a different time-frequency deviation from the first on-board unit and / or a different selected synchronization offset indication. Similarly, through the method provided in the embodiment of the present application, the perception between the first on-board unit and other on-board units different from the second on-board unit can also be realized.
[0074] In a possible implementation, step S203 may include: searching for a synchronization source in the remaining time slots when the first onboard unit needs to search for the second onboard unit. In this way, the influence on the perception between the onboard unit different from the second onboard unit and the first onboard unit can be reduced.
[0075] In a possible implementation, the method may further include: receiving a synchronization signal in the remaining time slot. Since the first onboard unit stops sending the synchronization signal in the remaining time slot, the first onboard unit can receive the synchronization signal from other onboard units (specifically the second onboard unit) in the remaining time slot, so that the first onboard unit can sense the second onboard unit.
[0076] The communication method provided in the embodiment of the present application is introduced below based on the different reasons that cause the first vehicle-mounted unit to need to search for the second vehicle-mounted unit.
[0077] In one example, when the first onboard unit is synchronized with reference to a Global Navigation Satellite System (GNSS) and the GNSS signal is unstable, the first onboard unit may send synchronization signals in N time slots and search for synchronization sources in the remaining time slots.
[0078] Figure 3a The interactive flow chart of the communication method provided in the embodiment of the present application is shown. Figure 3a As shown, the method may include:
[0079] Step S400: GNSS provides GNSS signals.
[0080] Step S401, OBU1 is synchronized with reference to GNSS.
[0081] Step S402: GNSS signal is unstable.
[0082] In the case where OBU1 is synchronized with reference to GNSS and the GNSS signal is unstable, if OBU2 is synchronized with reference to GNSS, OBU2 may also experience an unstable GNSS signal. At this time, OBU1 and OBU2 have the same time-frequency deviation and the selected synchronization frequency deviation indication is the same. Therefore, when OBU1 is the first on-board unit, OBU2 is the second on-board unit. OBU1 and OBU2 will send synchronization signals in the same time slot, which results in OBU1 being unable to receive the synchronization signal sent by OBU2, and OBU2 being unable to receive the synchronization signal sent by OBU1. In other words, if OBU1 sends synchronization signals normally in each time slot, OBU1 will not be able to receive the synchronization signal sent by OBU2; correspondingly, if OBU2 sends synchronization signals normally in each time slot, OBU2 will not be able to receive the synchronization signal sent by OBU1, that is, OBU1 and OBU2 cannot perceive each other. In order to solve this problem, OBU1 executes step S404.
[0083] In addition, the above problem may also occur in other cases. For example, when OBU1 is synchronized with reference to GNSS and the GNSS signal is unstable, if there is OBU2 that is synchronized with reference to other OBUs but other OBUs are synchronized with reference to GNSS, then OBU1 and OBU2 have the same frequency deviation and the selected synchronization frequency deviation indication is the same. Therefore, when OBU1 is the first onboard unit, OBU2 is the second onboard unit, and there is a problem that the two cannot perceive each other.
[0084] Step S403: OBU1 sends synchronization signals in N time slots according to M time slots, and searches for synchronization sources in the remaining time slots.
[0085] Since OBU1 sends synchronization signals in N time slots among M time slots and searches for synchronization sources in the remaining time slots, it indicates that OBU1 does not send synchronization signals in the remaining time slots. Therefore, OBU1 can receive the synchronization signals sent by OBU2 in the remaining time slots, and OBU1 can sense the existence of OBU2 in the remaining time slots. Correspondingly, if OBU2 sends synchronization signals in N time slots among M time slots like OBU1 and searches for synchronization sources in the remaining time slots (here, the remaining time slots corresponding to OBU2 and the remaining time slots corresponding to OBU1 in step S404 actually need to be different time slots, and the probability that the remaining time slots corresponding to OBU1 and the remaining time slots corresponding to OBU2 are different can be increased by random selection), then OBU2 can receive the synchronization signals sent by OBU1 in the corresponding remaining time slots, and OBU2 can sense the existence of OBU1 in the corresponding first time slot. In this way, the mutual perception between OBU1 and OBU2 is realized.
[0086] In one example, when the first onboard unit is synchronized with reference to the fourth onboard unit, the first onboard unit may send synchronization signals in N time slots and search for synchronization sources in the remaining time slots. The fourth onboard unit may directly reference GNSS synchronization, or the fourth onboard unit may indirectly reference GNSS synchronization, or the fourth onboard unit may reference the fifth onboard unit synchronization, or the fourth onboard unit may self-synchronize. The fourth and fifth onboard units here may represent any one of the onboard units.
[0087] Figure 3b The interactive flow chart of the communication method provided in the embodiment of the present application is shown. Figure 3b As shown, the method may include:
[0088] Step S501, OBU1 synchronizes with OBU3.
[0089] When OBU1 is synchronized with reference to OBU3, if OBU2 is also synchronized with reference to OBU3, then OBU1 and OBU2 have the same time-frequency deviation and the selected synchronization frequency deviation indication is the same. Therefore, when OBU1 is the first onboard unit, OBU2 is the second onboard unit, and OBU3 is the fourth onboard unit. OBU1 and OBU2 will send synchronization signals in the same time slot, which results in OBU1 being unable to receive the synchronization signal sent by OBU2, and OBU2 being unable to receive the synchronization signal sent by OBU1. In other words, if OBU1 sends synchronization signals normally in each time slot, OBU1 will not be able to receive the synchronization signal sent by OBU2; correspondingly, if OBU2 sends synchronization signals normally in each time slot, OBU2 will not be able to receive the synchronization signal sent by OBU1, that is, OBU1 and OBU2 cannot sense each other. In order to solve this problem, OBU1 executes step S503.
[0090] In addition, the above problem may also occur in other cases. For example, when OBU1 is synchronized with reference to OB3, if there is OBU2 that is synchronized with reference to other OBUs but other OBUs are synchronized with reference to OBU3, then OBU1 and OBU2 have the same frequency deviation and the selected synchronization frequency deviation indication is the same. Therefore, when OBU1 is the first onboard unit, OBU2 is the second onboard unit, and there is a problem that the two cannot perceive each other.
[0091] Step S502: OBU1 sends synchronization signals in N time slots according to M time slots, and searches for synchronization sources in the remaining time slots.
[0092] Since OBU1 sends synchronization signals in N time slots of M time slots and searches for synchronization sources in the remaining time slots, it can be seen that OBU1 does not send synchronization signals in the remaining time slots, so OBU1 can receive the synchronization signals sent by OBU2 in the remaining time slots, and OBU1 can sense the existence of OBU2 in the remaining time slots. Correspondingly, if OBU2 sends synchronization signals in N time slots of M time slots like OBU1 and searches for synchronization sources in the remaining time slots (here, the time slots corresponding to OBU2 and the remaining time slots corresponding to OBU1 in step S503 actually need to be different time slots, and the probability that the remaining time slots corresponding to OBU1 and the remaining time slots corresponding to OBU2 are different can be increased by random selection), then OBU2 can receive the synchronization signals sent by OBU1 in the corresponding remaining time slots, and OBU2 can sense the existence of OBU1 in the corresponding remaining time slots. In this way, the perception between OBU1 and OBU2 is realized.
[0093] In one example, in the case of self-synchronization of the first onboard unit, the first onboard unit may send synchronization signals in N time slots and search for synchronization sources in the remaining time slots.
[0094] Figure 3c The flowchart of the communication method provided by the embodiment of the present application is shown. Figure 3c As shown, the method may include:
[0095] Step S600: after the OBU1 is powered on, if it does not receive a synchronization signal, it switches to self-synchronization.
[0096] If OBU1 does not receive the synchronization signal after startup, it will switch to self-synchronization. At this time, OBU1 may send the synchronization signal with other OBUs in the same time slot, so that OBU1 and other OBUs cannot sense each other. In order to solve this problem, OBU1 executes step S603.
[0097] Step S601, OBU1 refers to GNSS synchronization, but when the GNSS signal disappears and OBU1 has no other available OBU for reference, OBU1 switches to self-synchronization.
[0098] When OBU1 refers to GNSS synchronization and the GNSS signal disappears, if OBU1 has no other available OBU for reference, OBU1 will switch to self-synchronization. Similarly, if OBU2 also refers to GNSS and OBU2 has no other available OBU for reference, OBU2 will also switch to self-synchronization. Since OBU1 and OBU2 have both previously referenced GNSS synchronization, after OBU1 and OBU2 switch to self-synchronization, their time and frequency deviations are the same and the selected synchronization frequency deviation indications are the same. Therefore, when OBU1 is the first on-board unit, OBU2 is the second on-board unit. OBU1 and OBU2 will send synchronization signals in the same time slot, which results in OBU1 being unable to receive the synchronization signal sent by OBU2, and OBU2 being unable to receive the synchronization signal sent by OBU1. That is, if OBU1 normally sends synchronization signals in each time slot, OBU1 will not be able to receive the synchronization signals sent by OBU2; correspondingly, if OBU2 normally sends synchronization signals in each time slot, OBU2 will not be able to receive the synchronization signals sent by OBU1, that is, OBU1 and OBU2 cannot sense each other. To solve this problem, OBU1 executes step S603.
[0099] In addition, the above problem may also occur in other cases. For example, when OBU1 is synchronized with reference to OB3, if there is OBU2 that is synchronized with reference to other OBUs but other OBUs are synchronized with reference to OBU3, then OBU1 and OBU2 have the same frequency deviation and the selected synchronization frequency deviation indication is the same. Therefore, when OBU1 is the first onboard unit, OBU2 is the second onboard unit, and there is a problem that the two cannot perceive each other.
[0100] Step S602, OBU1 synchronizes with other OBUs. When OBU1 is disconnected from its reference source and there is no GNSS signal, OBU1 switches to self-synchronization.
[0101] Step S603: OBU1 sends synchronization signals in N time slots according to M time slots, and searches for synchronization sources in the remaining time slots.
[0102] Since OBU1 sends synchronization signals in N time slots of M time slots and searches for synchronization sources in the remaining time slots, it can be seen that OBU1 does not send synchronization signals in the remaining time slots, so OBU1 can receive the synchronization signals sent by OBU2 in the remaining time slots, and OBU1 can sense the existence of OBU2 in the remaining time slots. Correspondingly, if OBU2 sends synchronization signals in N time slots of M time slots like OBU1 and searches for synchronization sources in the remaining time slots (here, the time slots corresponding to OBU2 and the remaining time slots corresponding to OBU1 in step S503 actually need to be different time slots, and the probability that the remaining time slots corresponding to OBU1 and the remaining time slots corresponding to OBU2 are different can be increased by random selection), then OBU2 can receive the synchronization signals sent by OBU1 in the corresponding remaining time slots, and OBU2 can sense the existence of OBU1 in the corresponding remaining time slots. In this way, the perception between OBU1 and OBU2 is realized.
[0103] It should be noted that the above is only an exemplary description of the reason that leads to the appearance of the second vehicle-mounted unit, that is, the first vehicle-mounted unit needs to search for the second vehicle-mounted unit. The second vehicle-mounted unit may also appear due to other reasons, that is, the first vehicle-mounted unit may also need to search for the second vehicle-mounted unit due to other reasons. The embodiments of the present application do not limit this.
[0104] In addition, in the embodiment of the present application, the first vehicle-mounted unit may further perform step S203 when it is necessary to search for the second vehicle-mounted unit. In this way, when the first vehicle-mounted unit does not need to search for the second vehicle-mounted unit, the first vehicle-mounted unit may synchronize signals in M time slots, without having to send synchronization signals only in N time slots and search for synchronization sources in the remaining time slots.
[0105] Considering that the first onboard unit stops sending synchronization signals in the remaining time slots due to searching for synchronization sources, the onboard units that synchronize with the first onboard unit may mistakenly believe that the synchronization signal sent by the first onboard unit is abnormal, thereby causing these onboard units to switch to self-synchronization. In order to solve this problem, in the embodiment of the present application, the first onboard unit notifies other onboard units in advance that it will not send synchronization signals in certain time slots, so that other onboard units will not believe that the synchronization signal sent by the first onboard unit is abnormal if they do not receive the synchronization signal in these time slots.
[0106] In one possible implementation, Figure 2 The communication method shown may further include: before the first time slot, the first vehicle-mounted unit sends a synchronization signal stop message. The synchronization signal stop message may be used to notify the first vehicle-mounted unit that the synchronization signal will not be sent in the first time slot. The first time slot represents any time slot in the remaining time slots.
[0107] The first onboard unit sends the synchronization signal stop sending message before the first time slot, so that the third onboard unit can determine that the synchronization signal of the first onboard unit is still stable when the third onboard unit does not receive the synchronization signal in the first time slot. The third onboard unit is the onboard unit that sends the synchronization signal in the M time slots. It should be noted that the third onboard unit may be the same onboard unit as the second onboard unit, or may not be.
[0108] In a possible implementation, before the first time slot, the first onboard unit sending the synchronization signal stop message may include: the first onboard unit sending a master information block (MIB) in a second time slot, the second time slot represents at least one time slot before the first time slot among the N time slots, and the MIB includes the time of the first time slot. The MIB carries the time of the first time slot. In an example, the first onboard unit may set the reserved bit of the MIB to the time of the first time slot.
[0109] The first onboard unit may determine K time slots before the first time slot and adjacent to the first time slot as second time slots, where K is an integer greater than or equal to 1. For example, the M time slots include time slot 1, time slot 2, time slot 3, time slot 4, and time slot 5. Among them, time slot 4 is the remaining time slot. When the value of K is 1, the first onboard unit determines time slot 3 as the second time slot. At this time, the first onboard unit may carry the time of time slot 4 in the MIB sent by time slot 3. When the value of K is 2, the first onboard unit determines time slot 2 and time slot 3 as the second time slot. At this time, the first onboard unit may carry the time of time slot 4 in the MIB sent by time slot 2 and time slot 3. When the value of K is 3, the first onboard unit determines time slot 1, time slot 2, and time slot 3 as the second time slot. At this time, the first onboard unit may carry the time of time slot 4 in the MIB sent by time slot 1, time slot 2, and time slot 3.
[0110] Figure 4a The interactive flow chart of the communication method provided in the embodiment of the present application is shown. Figure 4a As shown, the method may include:
[0111] Step S700: GNSS provides GNSS signals.
[0112] Step S701, OBU1 is synchronized with reference to GNSS.
[0113] Step S703: GNSS signal is unstable.
[0114] If OBU5 is synchronized with reference to OBU1, then when OBU1 is the first onboard unit, OBU5 is the third onboard unit. In order to receive the synchronization signal from the second onboard unit, OBU1 will stop sending the synchronization signal in N time slots and search for the synchronization source in the remaining time slots. OBU5 synchronizes with reference to OBU1, which will cause OBU5 to be unable to receive the synchronization signal from OBU1 in the remaining time slots. In the related art, OBU5 believes that it cannot sense OBU1. However, in fact, the synchronization signal of OBU1 is stable. In order to avoid the above problems, perform the following steps.
[0115] Step S704: OBU1 determines the first time slot from the remaining time sequence.
[0116] Step S705: OBU1 determines a second time slot from the N time slots, and sends a MIB carrying the time of the first time slot in the second time slot.
[0117] Since OBU1 sends MIB to other synchronization sources in the second time slot, OBU5 can receive MIB from OBU1 in the second time slot. OBU5 can know from the received MIB that OBU1 will stop sending synchronization signals in the first time slot.
[0118] Step S706, OBU5 receives the MIB from OBU1.
[0119] Step S707: OBU1 searches for a synchronization source in the first time slot.
[0120] Step S708 : when OBU5 does not receive the synchronization signal from OBU1 in the first time slot, it determines that the synchronization signal of OBU1 is still stable.
[0121] Since OBU1 stops sending synchronization signals in the first time slot due to searching for synchronization sources, OBU5 cannot receive synchronization signals from OBU1 in the first time slot. However, OBU5 knows from the MIB received in the second time slot that it did not receive synchronization signals from OBU1 in the first time slot because OBU1 did not send synchronization signals, not because of the disconnection between OBU1 and OBU5. Therefore, when OBU5 does not receive synchronization signals from OBU1 in the first time slot, it can determine that the synchronization signals of OBU1 are still stable.
[0122] Thus, although OBU5 does not receive the synchronization signal from OBU1 in the first time slot, OBU5 already knows in advance that OBU1 will stop sending the synchronization signal in the first time slot. OBU5 can determine that this is a normal phenomenon and that the synchronization signal of OBU1 is still stable.
[0123] Figure 4bThe interactive flow chart of the communication method provided in the embodiment of the present application is shown. Figure 4b As shown, the method may include:
[0124] Step S800 , OBU1 synchronizes with OBU3 .
[0125] If OBU5 is synchronized with reference to OBU1, then when OBU1 is the first onboard unit, OBU5 is the third onboard unit. In order to receive the synchronization signal from the second onboard unit, OBU1 will stop sending the synchronization signal in the first time slot. OBU5 is synchronized with reference to OBU1, which will cause OBU5 to be unable to receive the synchronization signal from OBU1 in the first time slot. In the related art, OBU5 believes that it cannot sense OBU1. However, in fact, the synchronization signal of OBU1 is stable. In order to avoid the above problems, perform the following steps.
[0126] Step S802: OBU1 determines the first time slot from the remaining time sequence.
[0127] Step S803: OBU1 determines a second time slot from the N time slots, and sends a MIB carrying the time of the first time slot in the second time slot.
[0128] Step S804, OBU5 receives the MIB from OBU1.
[0129] At this time, OBU5 knows that OBU1 will stop sending the synchronization signal in the first time slot.
[0130] Step S805: OBU1 searches for a synchronization source in the first time slot.
[0131] Step S806: When OBU5 does not receive the synchronization signal from OBU1 in the first time slot, OBU5 determines that the synchronization signal of OBU1 is still stable.
[0132] Thus, although OBU5 does not receive the synchronization signal from OBU1 in the first time slot, OBU5 already knows in advance that OBU1 will stop sending the synchronization signal in the first time slot. OBU5 can determine that this is a normal phenomenon and that the synchronization signal of OBU1 is still stable.
[0133] Figure 4c The interactive flow chart of the communication method provided in the embodiment of the present application is shown. Figure 4c As shown, the method may include:
[0134] Step S900: GNSS provides GNSS signals.
[0135] Step S901, OBU1 is synchronized with reference to GNSS.
[0136] Step S902, OBU5 synchronizes with OBU1.
[0137] Step S903: GNSS signal disappears.
[0138] Step S904: OBU1 has no GNSS signal and no other OBU is available, so OBU1 switches to self-synchronization.
[0139] Since OBU5 is synchronized with reference to OBU1, when OBU1 is the first onboard unit, OBU5 is the third onboard unit. In order to receive the synchronization signal from the second onboard unit, OBU1 will stop sending the synchronization signal in the first time slot. However, OBU5 is synchronized with reference to OBU1, which will cause OBU5 to be unable to receive the synchronization signal from OBU1 in the first time slot. In the related art, OBU5 believes that it cannot sense OBU1. However, in fact, the synchronization signal of OBU1 is stable. In order to avoid the above problems, perform the following steps.
[0140] Step S905: OBU1 determines the first time slot from the remaining time sequence.
[0141] Step S906: OBU1 determines a second time slot from the N time slots, and sends a MIB carrying the time of the first time slot in the second time slot.
[0142] Step S907, OBU5 receives the MIB from OBU1.
[0143] At this time, OBU5 knows that OBU1 will stop sending the synchronization signal in the first time slot.
[0144] Step S908: OBU1 searches for a synchronization source in the first time slot.
[0145] Step S909: When OBU5 does not receive the synchronization signal from OBU1 in the first time slot, it determines that the synchronization signal of OBU1 is still stable.
[0146] Thus, although OBU5 does not receive the synchronization signal from OBU1 in the first time slot, OBU5 already knows in advance that OBU1 will stop sending the synchronization signal in the first time slot. OBU5 can determine that this is a normal phenomenon and that the synchronization signal of OBU1 is still stable.
[0147] Figure 5 FIG. 1 is a block diagram of a communication device provided in an embodiment of the present application. The device can be applied to a first vehicle-mounted unit. Figure 5 As shown, the apparatus 100 may include:
[0148] The processing module 101 is used to obtain preset M time slots, wherein the time slots are used to send synchronization signals, and the synchronization signals are used to synchronize the clock of the vehicle-mounted unit, wherein M is a positive integer greater than 1.
[0149] The transceiver module 102 is used to send N synchronization signals in N time slots according to the M time slots and search for synchronization sources in the remaining time slots, where N is a positive integer less than M.
[0150] In a possible implementation, the transceiver module is further used for:
[0151] In the case where the first onboard unit needs to search for a second onboard unit, a synchronization source is searched in the remaining time slots according to the M time slots, wherein the second onboard unit is the onboard unit that sends the synchronization signal in the M time slots.
[0152] In a possible implementation, the transceiver module is further used for:
[0153] In the remaining time slots, a synchronization signal is received.
[0154] In a possible implementation, the transceiver module is further used for:
[0155] A synchronization signal stop message is sent before a first time slot, where the first time slot represents any time slot in the remaining time slots, and the synchronization signal stop message is used to notify the first on-board unit that the synchronization signal will not be sent in the first time slot.
[0156] In a possible implementation, the transceiver module is further used for:
[0157] In a second time slot, a master information block MIB is sent, where the second time slot represents at least one time slot before the first time slot among the N time slots, and the MIB carries the time of the first time slot.
[0158] In a possible implementation manner, searching for a synchronization source in the remaining time slots includes:
[0159] In case that the first on-board unit is synchronized with reference to a global navigation satellite system (GNSS) and the GNSS signal is unstable, a synchronization source is searched in the remaining time slots.
[0160] In a possible implementation manner, searching for a synchronization source in the remaining time slots includes:
[0161] In case the first on-board unit is synchronized with reference to the fourth on-board unit, a synchronization source is searched in the remaining time slots.
[0162] In a possible implementation, the fourth on-board unit directly references the GNSS for synchronization, or the fourth on-board unit indirectly references the GNSS for synchronization, or the fourth on-board unit references the fifth on-board unit for synchronization, or the fourth on-board unit self-synchronizes.
[0163] In a possible implementation manner, searching for a synchronization source in the remaining time slots includes:
[0164] In case the first on-board unit is self-synchronized, a synchronization source is searched in the remaining time slots.
[0165] In an embodiment of the present application, the first vehicle-mounted unit provides conditions for receiving the synchronization signal in the remaining time slot by sending the synchronization signal in N time slots and searching for the synchronization source in the remaining time slots, so that the first vehicle-mounted unit can receive the synchronization signal sent by the vehicle-mounted unit with the same time slot as the preset time slot for sending the synchronization signal in the remaining time slot, thereby realizing the perception between the vehicle-mounted units with the same preset time slot for sending the synchronization signal in the V2V scenario.
[0166] An embodiment of the present application provides a vehicle-mounted unit, comprising: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions.
[0167] Figure 6 The structural diagram of the vehicle-mounted unit provided in the embodiment of the present application is shown. Figure 6 As shown, the vehicle-mounted unit may include at least one processor 301, a memory 302, an input / output device 303, and a bus 304. Figure 6 The following is a detailed introduction to the various components of the vehicle-mounted unit:
[0168] The processor 301 is the control center of the vehicle-mounted unit, which can be a processor or a general term for multiple processing elements. For example, the processor 301 is a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more microprocessors (Digital Signal Processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).
[0169] The processor 301 can execute various functions of the vehicle-mounted unit by running or executing the software program stored in the memory 302, and calling the data stored in the memory 302. In the embodiment of the present application, the processor can be used to perform a first signature process on the first V2X information, perform a second signature process on the second V2X information, verify the first signature, or verify the second signature.
[0170] In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as CPU 0 and CPU 1 shown in the figure.
[0171] In a specific implementation, as an embodiment, the vehicle-mounted unit may include multiple processors, such as Figure 6 301 and processor 305 are shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0172] The memory 302 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 302 may exist independently and be connected to the processor 301 via the bus 304. The memory 302 may also be integrated with the processor 301.
[0173] The input / output device 303 is used to communicate with other devices or communication networks. For example, it is used to communicate with communication networks such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc. The input / output device 303 may include all or part of a baseband processor, and may also selectively include a radio frequency (RF) processor. The RF processor is used to send and receive RF signals, and the baseband processor is used to implement the processing of baseband signals converted from RF signals or baseband signals to be converted into RF signals.
[0174] In a specific implementation, as an embodiment, the input / output device 303 may include a transmitter and a receiver. The transmitter is used to send signals to other devices or communication networks, and the receiver is used to receive signals sent by other devices or communication networks. The transmitter and the receiver may exist independently or may be integrated together.
[0175] The bus 304 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0176] Figure 6 The device structure shown in the figure does not constitute a limitation on the vehicle-mounted unit, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0177] An embodiment of the present application provides a non-volatile computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented.
[0178] An embodiment of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0179] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, (but not limited to) an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a protruding structure in a groove on which instructions are stored, and any suitable combination thereof.
[0180] The computer-readable program instructions or codes described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0181] The computer program instructions for performing the operation of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present application.
[0182] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0183] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0184] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0185] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system, method and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in reverse order sometimes, depending on the functions involved.
[0186] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware (such as a circuit or ASIC (Application Specific Integrated Circuit)) that performs the corresponding function or action, or can be implemented by a combination of hardware and software, such as firmware.
[0187] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0188] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A communication method, characterized in that: The method is applied to a first vehicle-mounted unit, and the method comprises: Obtaining preset M time slots, where the time slots are used to send synchronization signals, where the synchronization signals are used to synchronize the clock of the vehicle-mounted unit, where M is a positive integer greater than 1; According to the M time slots, N synchronization signals are sent in N time slots, where N is a positive integer less than M; Based on the M time slots, a synchronization source is searched in the remaining time slots.
2. The method according to claim 1, characterized in that The step of searching for a synchronization source in the remaining time slots according to the M time slots comprises: In the case where the first onboard unit needs to search for a second onboard unit, a synchronization source is searched in the remaining time slots according to the M time slots, wherein the second onboard unit is the onboard unit that sends the synchronization signal in the M time slots.
3. The method according to claim 1 or 2, characterized in that: The searching for a synchronization source in the remaining time slots comprises: In the remaining time slots, a synchronization signal is received.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Before a first time slot, a synchronization signal stop message is sent, wherein the first time slot represents any time slot in the remaining time slots, and the synchronization signal stop message is used to notify the first vehicle-mounted unit that the synchronization signal will not be sent in the first time slot.
5. The method according to claim 4, characterized in that The sending of a synchronization signal stop message before the first time slot includes: In a second time slot, a master information block MIB is sent, where the second time slot represents at least one time slot before the first time slot among the N time slots, and the MIB carries the time of the first time slot.
6. The method according to claim 2, characterized in that The step of searching for a synchronization source in the remaining time slots according to the M time slots when the first on-board unit needs to search for the second on-board unit comprises: In a case where the first on-board unit is synchronized with reference to a global navigation satellite system (GNSS) and the GNSS signal is unstable, a synchronization source is searched in the remaining time slots according to the M time slots.
7. The method according to claim 2, characterized in that The step of searching for a synchronization source in the remaining time slots according to the M time slots when the first on-board unit needs to search for the second on-board unit comprises: In the case where the first on-board unit is synchronized with reference to the fourth on-board unit, a synchronization source is searched in the remaining time slots according to the M time slots.
8. The method according to claim 7, characterized in that The fourth on-board unit directly refers to the GNSS for synchronization, or the fourth on-board unit indirectly refers to the GNSS for synchronization, or the fourth on-board unit refers to the fifth on-board unit for synchronization, or the fourth on-board unit is self-synchronized.
9. The method according to claim 2, characterized in that: The step of searching for a synchronization source in the remaining time slots according to the M time slots when the first on-board unit needs to search for the second on-board unit comprises: In case of self-synchronization of the first on-board unit, a synchronization source is searched in the remaining time slots according to the M time slots.
10. A communication device, characterized in that: The device is applied to a first vehicle-mounted unit, and the device comprises: A processing module, used for acquiring preset M time slots, wherein the time slots are used for sending synchronization signals, the synchronization signals are used for synchronizing the clock of the vehicle-mounted unit, and M is a positive integer greater than 1; The transceiver module is used to send N synchronization signals in N time slots according to the M time slots and search for synchronization sources in the remaining time slots, where N is a positive integer less than M.
11. The device according to claim 10, characterized in that The transceiver module is also used for: In the case where the first onboard unit needs to search for a second onboard unit, a synchronization source is searched in the remaining time slots according to the M time slots, wherein the second onboard unit is the onboard unit that sends the synchronization signal in the M time slots.
12. The device according to claim 10 or 11, characterized in that The transceiver module is also used for: In the remaining time slots, a synchronization signal is received.
13. The device according to any one of claims 10 to 12, characterized in that The transceiver module is also used for: A synchronization signal stop message is sent before a first time slot, where the first time slot represents any time slot in the remaining time slots, and the synchronization signal stop message is used to notify the first on-board unit that the synchronization signal will not be sent in the first time slot.
14. The device according to claim 13, characterized in that The transceiver module is also used for: In a second time slot, a master information block MIB is sent, where the second time slot represents at least one time slot before the first time slot among the N time slots, and the MIB carries the time of the first time slot.
15. The device according to claim 11, characterized in that The searching for a synchronization source in the remaining time slots comprises: In case that the first on-board unit is synchronized with reference to a global navigation satellite system (GNSS) and the GNSS signal is unstable, a synchronization source is searched in the remaining time slots.
16. The device according to claim 11, characterized in that The searching for a synchronization source in the remaining time slots comprises: In case the first on-board unit is synchronized with reference to the fourth on-board unit, a synchronization source is searched in the remaining time slots.
17. The device according to claim 16, characterized in that The fourth on-board unit directly refers to the GNSS for synchronization, or the fourth on-board unit indirectly refers to the GNSS for synchronization, or the fourth on-board unit refers to the fifth on-board unit for synchronization, or the fourth on-board unit is self-synchronized.
18. The device according to claim 11, characterized in that The searching for a synchronization source in the remaining time slots comprises: In case the first on-board unit is self-synchronized, a synchronization source is searched in the remaining time slots.
19. A vehicle-mounted unit, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method described in any one of claims 1 to 9 when executing the instructions.
20. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 9 is implemented.
21. A computer program product, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, wherein when the computer-readable code is executed in an electronic device, a processor in the electronic device executes the method according to any one of claims 1 to 9.
