Synchronous source switching method and device
By acquiring and analyzing the sidelink synchronization signal and frequency offset value of the reference terminal, the target synchronization signal is determined and switched to the Ref UE synchronization source, which solves the problem of synchronization source switching when the GNSS satellite signal is lost or has poor quality, ensuring business data normal sending and receiving.
Patent Information
- Application Number
- CN202310330020.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, the normal transmission and reception of service data cannot be guaranteed during the synchronization source switching process, especially when the GNSS satellite signal is lost or the signal quality is poor, resulting in a too long synchronization source switching time or a difference in frequency between the new synchronization source and the original synchronization source. If it is too large, it will affect the business operation of the terminal.
By obtaining the sidelink synchronization signal sent by the reference terminal, the current frequency offset value is obtained every preset reporting period, the target synchronization signal is determined based on the frequency offset value and the synchronization signal, and the target reference terminal is set as the synchronization source to achieve synchronization. Ref UE synchronizes source search and switching, ends the search process in advance, and ensures seamless switching.
When the GNSS satellite signal is lost or the signal quality is poor, the seamless switching of the Ref UE synchronization source is realized, ensuring the normal sending and receiving of business data, and solving the problem that the normal sending and receiving of business data cannot be guaranteed during the synchronization source switching process.
Smart Images

Figure CN118741671A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular, to a synchronization source switching method and device. Background Art
[0002] With the continuous improvement of communication technology, cellular communication has developed rapidly, and basic communication facilities have been gradually improved. C-V2X (Cellular-Vehicle to Everything) technology has emerged. This technology is used for data communication between cars and cars, and between cars and road infrastructure. It has a wide range of application scenarios, mainly covering four aspects: roadside unit perception, vehicle perception, autonomous driving, and cellular network services. The diversification and complexity of road traffic have put forward higher requirements for the reliability and low latency of C-V2X technology.
[0003] LTE-V2X is a sidelink communication standard that supports V2X services developed and released by the 3rd Generation Partnership Project (3GPP). The communication link used is called a sidelink communication link. In LTE-V2X, there are three types of synchronization sources that the terminal can choose, namely, the Global Navigation Satellite System (GNSS) satellite, the Reference User Equipment (RefUE), and the eNB base station. After the terminal obtains the synchronization information from the synchronization source, it will periodically send the sidelink synchronization signal and the sidelink broadcast channel on the sidelink. Vehicle terminals with LTE-V2X communication capabilities can synchronize in the time domain and frequency domain by searching for the sidelink synchronization signals sent by other vehicles. The transmission period of the LTE-V2X sidelink synchronization signal is 160 milliseconds. In one period, it includes 2 synchronization subframes, one of which is used to send the sidelink synchronization signal of the vehicle terminal, and the other is used to receive the sidelink synchronization signal sent by other vehicle terminals.
[0004] In the current existing technologies and standard protocols, more consideration is given to how vehicle terminals synchronize to the three synchronization sources, and no detailed consideration is given to the process of switching synchronization sources when the synchronization source is lost. Taking the GNSS satellite synchronization source as an example, the position of the vehicle terminal changes at a real-time moving rate, and a scenario of losing satellite signals may occur. In the scenario of losing satellite signals, the synchronization source switching time may be too long or the frequency difference between the new synchronization source and the original synchronization source may be too large, thus affecting the normal operation of the terminal's uplink and downlink services. How to seamlessly switch from the GNSS synchronization source to the RefUE synchronization source and ensure that the service data is sent and received during the synchronization source switching process, there is still no good and mature implementation method in current technology.
[0005] In summary, there is no good solution to the problem that the normal sending and receiving of business data cannot be guaranteed during the synchronization source switching process in the related technology. Summary of the invention
[0006] The embodiments of the present application provide a synchronization source switching method and device to at least solve the problem in the related art that normal transmission and reception of service data cannot be guaranteed during the synchronization source switching process.
[0007] According to an embodiment of the present application, a synchronization source switching method is provided, the method comprising:
[0008] Acquire a sidelink synchronization signal sent by a reference terminal;
[0009] At every preset reporting period, the current frequency deviation value is obtained;
[0010] determining a target sidelink synchronization signal according to the current frequency offset value and the sidelink synchronization signal;
[0011] A target reference terminal corresponding to the target sidelink synchronization signal is set as a synchronization source.
[0012] According to another embodiment of the present application, a synchronization source switching device is provided, the device comprising:
[0013] A first acquisition module, used to acquire a sidelink synchronization signal sent by a reference terminal;
[0014] A second acquisition module is used to obtain the current frequency deviation value at every preset reporting period;
[0015] A determination module, configured to determine a target sidelink synchronization signal according to the current frequency offset value and the sidelink synchronization signal;
[0016] A setting module is used to set a target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source.
[0017] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program executes the steps of any of the above method embodiments when executed by a processor.
[0018] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0019] The embodiment of the present application can realize the search for the Ref UE synchronization source by acquiring the side link synchronization signal sent by the reference terminal when the GNSS satellite signal is lost or the signal quality is poor, and by periodically acquiring the frequency deviation value of the current device itself, end the search process in advance according to the characteristics of its own frequency fading, and switch to the nearby Ref UE synchronization source, thereby realizing seamless switching of the synchronization source without affecting the reception and transmission of business data, thereby solving the problem in the related art that the normal reception and transmission of business data cannot be guaranteed during the switching of the synchronization source. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a hardware structure block diagram of the synchronization source switching method of an embodiment of the present application;
[0021] Figure 2 is a flowchart of a synchronization source switching method according to an embodiment of the present application;
[0022] Figure 3 1 is a flow chart of a synchronization source switching method for specifying an SLSS ID according to an embodiment of the present application (I);
[0023] Figure 4 2 is a flow chart of a synchronization source switching method for specifying an SLSS ID according to an embodiment of the present application (II);
[0024] Figure 5 is a flow chart of a synchronization source switching method for entering a long-cycle search according to an embodiment of the present application;
[0025] Figure 6 It is a block diagram of a synchronous source switching device according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0028] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 is a hardware structure block diagram of the synchronization source switching method of the embodiment of the present application, such as Figure 1 As shown, the hardware board may include one or more ( Figure 1 Only one is shown in the figure) a processor 12 (the processor 12 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device) and a memory 14 for storing data, wherein the mobile terminal may also include a transmission device 16 for communication functions and an input and output device 18. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0029] The memory 14 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the synchronous source switching method in the embodiment of the present application. The processor 12 executes various functional applications and the synchronous source switching method by running the computer program stored in the memory 14, that is, the above method is implemented. The memory 14 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 14 may further include a memory remotely arranged relative to the processor 12, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0030] The transmission device 16 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider. In one example, the transmission device 16 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 16 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0031] In one embodiment of the present application, a synchronization source switching method is provided, which can be applied to a terminal that supports the LTE-V2X communication standard to switch the synchronization source of the Global Navigation Satellite System (GNSS) to the synchronization source of a reference terminal (Ref User Equipment, Ref UE) synchronized with the GNSS.
[0032] Figure 2 is a flowchart of a synchronization source switching method according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:
[0033] Step S202, obtaining a sidelink synchronization signal sent by a reference terminal;
[0034] Step S204, obtaining the current frequency deviation value at every preset reporting period;
[0035] Step S206, determining a target sidelink synchronization signal according to the current frequency offset value and the sidelink synchronization signal;
[0036] Step S208: setting the target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source.
[0037] In this embodiment, before step S202, the method may further include: within a first preset time after the signal quality of the satellite signal is less than a preset threshold or the satellite signal is lost, instructing the physical layer through the protocol stack to search for a sidelink synchronization signal of a reference terminal that is directly or indirectly synchronized with the satellite.
[0038] Specifically, when the current terminal (such as a terminal vehicle) uses a GNSS satellite as a synchronization source, the protocol stack will evaluate the quality of the satellite signal. When the satellite signal quality is poor or the satellite signal is lost, the current terminal can maintain normal transmission and reception of business data for at least 20 seconds as required by the protocol.
[0039] Furthermore, in order to ensure normal sending and receiving of business data and the requirement of fast switching of synchronization sources, the first preset time can be set to any time within a range of 20 seconds to 60 seconds.
[0040] In this embodiment, instructing the physical layer to search for the sidelink synchronization signal of a reference terminal directly or indirectly synchronized with a satellite through the protocol stack includes: setting a sidelink synchronization signal identifier (SideLinkSynchronization Signal Identity, SLSS ID for short) through the protocol stack to instruct the physical layer to search for the sidelink synchronization signal of the corresponding reference terminal, wherein the sidelink synchronization signal identifier of the reference terminal directly synchronized with the satellite is 0, and the sidelink synchronization signal identifier of the reference terminal indirectly synchronized with the satellite is 168 or 169.
[0041] Furthermore, the protocol stack sets SLSS ID = 0 or 168 or 169, and specifies the SLSS ID for searching. In the scenario where the satellite signal is lost, the terminal can receive the synchronization information broadcast by other Ref UEs synchronized to the GNSS, and synchronize to the Ref UE synchronized to the GNSS, thereby ensuring the normal transmission and reception of service data.
[0042] In this embodiment, step S202 may specifically include: searching, through the physical layer, on a synchronization subframe for a sidelink synchronization signal corresponding to the sidelink synchronization signal identifier.
[0043] Furthermore, in one transmission cycle of the LTE-V2X sidelink synchronization signal, two synchronization subframes are included, one synchronization subframe is used to send the sidelink synchronization signal of the vehicle terminal, and the other synchronization subframe is used to receive the sidelink synchronization signal sent by other vehicle terminals. The transmission cycle is usually 160 milliseconds.
[0044] Furthermore, the protocol stack obtains synchronization configuration through pre-configuration or network information. The synchronization configuration includes the relative position of the synchronization subframe in a synchronization cycle, and its position is determined using the following formula:
[0045] (SFN*10+Subframe Number)mod 160=SL-OffsetIndicatorSync;
[0046] Among them, SFN represents the system frame number, Subframe Number is a subframe number in a radio frame, and SL-OffsetIndicatorSync is the subframe offset of the synchronization subframe relative to the system frame number 0.
[0047] In this embodiment, after step S202, the method may further include:
[0048] acquiring, through the physical layer, a reference signal received power corresponding to the sidelink synchronization signal;
[0049] At every preset search period, the sidelink synchronization signal and the reference signal receiving power acquired in the current search period are stored through the physical layer.
[0050] Specifically, the search period may be the same as the transmission period of the sidelink synchronization signal specified in the protocol. Reference Signal Receiving Power (RSRP) may be used to evaluate the quality of the synchronization signal.
[0051] In this embodiment, the frequency deviation value in step S204 is the amplitude of the frequency swing of the FM wave, generally referring to the maximum frequency deviation. The frequency deviation value can be described in ppm (Parts Per Million), which represents the allowable deviation value at a specific center frequency.
[0052] In this embodiment, step S204 may specifically include: recording the current frequency deviation value through the physical layer at every preset reporting period; reporting the valid sidelink synchronization signal, reference signal receiving power and current frequency deviation value to the protocol stack through the physical layer.
[0053] Furthermore, the reporting period is greater than or equal to the search period. A valid sidelink synchronization signal is a sidelink synchronization signal whose reference signal received power stored in the current reporting period is greater than a threshold value.
[0054] Specifically, the search period is generally 160 milliseconds, and the reporting period can be set to 360 milliseconds. The threshold value is -141dBm, that is, only the sidelink synchronization signal with an RSRP value greater than -141dBm is regarded as a valid sidelink synchronization signal.
[0055] In this embodiment, before step S202, the method further includes: recording, through a physical layer, an initial frequency deviation value at a time when the signal quality of the satellite signal is less than a preset threshold or at a time when the satellite signal is lost.
[0056] In this embodiment, step S206 may specifically include:
[0057] At each reporting period, the frequency deviation value between the current frequency deviation value and the initial frequency deviation value is determined through the protocol stack;
[0058] When the frequency deviation value is greater than or equal to a preset range, determining a sidelink synchronization signal with the maximum reference signal receiving power within a current reporting period through a protocol stack;
[0059] When the frequency deviation values of multiple reporting periods within the first preset time are all less than the preset range, determining, through the protocol stack, the sidelink synchronization signal with the maximum reference signal receiving power in the last reporting period within the first preset time;
[0060] The sidelink synchronization signal having the maximum reference signal reception power is determined as the target sidelink synchronization signal through the protocol stack.
[0061] Specifically, the preset range may be set to 0.5 ppm (parts per million).
[0062] In this embodiment, step S208 may specifically include: setting the target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source through the protocol stack, and instructing the physical layer to perform time domain and frequency domain synchronization according to the target reference terminal.
[0063] Specifically, when the current frequency offset value is close to 0.5ppm of the initial frequency offset value when the satellite is lost, the protocol stack selects from the most recent physical layer reporting result and notifies the physical layer to select the Ref UE corresponding to the sidelink synchronization signal with the largest RSRP value as the synchronization source.
[0064] Furthermore, during the search process, if the frequency deviation value is never close to 0.5ppm, the search continues until the first preset time ends, and the Ref UE corresponding to the sidelink synchronization signal with the largest RSRP value is selected as the synchronization source from the last reporting result of the physical layer.
[0065] In an embodiment of the present application, through the above-mentioned steps S202 to S208, the problem in the related art that the normal transmission and reception of business data cannot be guaranteed during the synchronization source switching process can be solved. When the GNSS satellite signal is lost or the signal quality is poor, a search for the Ref UE synchronization source is performed, and according to the characteristics of its own frequency fading, the search process is terminated in advance and switched to a nearby RefUE synchronization source, thereby achieving seamless switching of the synchronization source without affecting the transmission and reception of business data.
[0066] In another embodiment, after step S202, the method may further include:
[0067] When the sidelink synchronization signal is not searched within the first preset time, or the reference signal reception power of the sidelink synchronization signal stored within the first preset time is less than the threshold value, the protocol stack instructs the physical layer to search for the sidelink synchronization signal of a reference terminal that is not directly synchronized with the satellite and not indirectly synchronized with the satellite within a second preset time.
[0068] In this embodiment, if the physical layer fails to search for a valid side link synchronization signal or there are no vehicle terminals around that are directly or indirectly synchronized with the GNSS satellite, the protocol stack can instruct the physical layer to perform a long-period search lasting a second preset time to search for vehicle terminals around that are not directly or indirectly synchronized with the satellite.
[0069] Specifically, the second preset time may be set to 480 milliseconds. The protocol stack may reset the SLSS ID or cancel the previous setting of the specified SLSS ID, thereby realizing the search for the sidelink synchronization signal sent by the vehicle terminal that is not directly or indirectly synchronized to the satellite.
[0070] In this embodiment, after the long cycle search is completed, the physical layer reports the searched sidelink synchronization signal and the corresponding reference signal received power to the protocol stack, and the protocol stack reselects the synchronization source.
[0071] Through the embodiments of the present application, vehicle terminals synchronized with GNSS satellites can be preferentially selected as synchronization sources. However, if no valid synchronization signal is found within the specified time, all vehicle terminals can be further searched to ensure the completion of the synchronization source switching, thereby avoiding affecting the sending and receiving of business data.
[0072] In another embodiment, after instructing the physical layer through the protocol stack to search for a sidelink synchronization signal of a reference terminal that is not directly synchronized with the satellite and not indirectly synchronized with the satellite within a second preset time, the method may further include:
[0073] If the sidelink synchronization signal is not searched within the second preset time, or the reference signal received power of the sidelink synchronization signal stored within the second preset time is less than the threshold value, the synchronization source type of the physical layer is set to an island through the protocol stack, and the time-frequency adjustment of the current terminal is stopped;
[0074] In the case where the synchronization source type is an island, the sidelink synchronization signal of the current terminal is periodically sent outward through the physical layer until the satellite signal is restored or the protocol stack re-sends an indication for searching for the sidelink synchronization signal sent by the reference terminal.
[0075] Through the embodiments of the present application, when no synchronization source is found after a long period of searching, the current terminal can be set to an island state and enter a state of only sending synchronization signals.
[0076] In one embodiment, the terminal is equipped with a C-V2X vehicle-mounted chip, and is a vehicle terminal with LTE-V2X standard communication capability. It uses a GNSS satellite as a synchronization source. When driving into a tunnel, the GNSS satellite signal is lost. Through the method in any method embodiment of the present application, the vehicle terminal can synchronize with other vehicles with LTE-V2X standard communication capability in the tunnel, ensure the sending and receiving of data services, and continuously perceive vehicle information and road element information.
[0077] Furthermore, when a vehicle terminal enters a scenario where the satellite signal quality is poor, and there are vehicle terminals around that are directly or indirectly synchronized with the GNSS satellites; or, when a vehicle terminal enters a section of road where the satellite signal is lost, and there are vehicles around that are not directly or indirectly synchronized with the GNSS satellites, according to the method in any method embodiment of the present application, the vehicle terminal can select surrounding vehicles as synchronization sources, align the time and frequency domains to a surrounding vehicle terminal, and obtain vehicle information and road condition information from the vehicle terminal.
[0078] Figure 3 FIG. 1 is a flow chart of a synchronization source switching method for specifying an SLSS ID according to an embodiment of the present application (I). Figure 3 As shown, when the GNSS satellite signal quality is poor or lost, the synchronization source switching method specifically includes the following steps:
[0079] Step S301, determining that the GNSS satellite signal quality is poor or the signal is lost;
[0080] Step S302, recording the current frequency deviation value F0;
[0081] Step S303, timing for m seconds (20≤m≤60);
[0082] Step S304, specify SLSS ID to search (SLSS ID = 0 or 168 or 169);
[0083] Step S305, searching for a specified SLSS ID on a synchronization subframe;
[0084] Step S306, specifying an ID to search and reporting the result Rn and the current frequency offset Fn;
[0085] Step S307, calculating the difference between Fn and F0 (unit: ppm);
[0086] Step S308: When the difference is about 0.5 ppm, select the Ref UE with the largest RSRP value in Rn;
[0087] Step S309: Set the Ref UE synchronization source.
[0088] In this embodiment, when the GNSS satellite signal quality is poor or lost, the physical layer records the frequency deviation value at the time when the satellite is lost, the protocol stack starts the m-second timing (20≤m≤60), and instructs the physical layer to search for the specified SLSS ID, searching for the Ref UE with the specified SLSS ID=0 or 168 or 169.
[0089] Specifically, the SLSS ID of the Ref UE directly synchronized with the GNSS satellite is 0, and the SLSS ID of the Ref UE indirectly synchronized with the GNSS satellite is 168 or 169.
[0090] In this embodiment, the physical layer searches for a designated ID on the synchronization subframe indicated by the protocol stack, takes 160 ms as a search period, and stores the search results.
[0091] In this embodiment, 320 ms is used as a reporting period, and the sidelink synchronization signal with an RSRP value greater than -141 dBm and the frequency offset value at the current moment are reported.
[0092] In this embodiment, when the difference between Fn and F0 calculated in step S307 is about 0.5 ppm, the search process of the Ref UE preset to m seconds may be terminated in advance, otherwise steps S305 to S307 are repeatedly executed.
[0093] Furthermore, the entire search process in the embodiment of the present application lasts n seconds, where n is less than or equal to m.
[0094] Specifically, within m seconds, if the current frequency deviation value is close to 0.5ppm of the frequency deviation value when the satellite is lost, the protocol stack selects from the most recent physical layer report result and notifies the physical layer to select the Ref UE corresponding to the sidelink synchronization signal with the largest RSRP value as the synchronization source.
[0095] In this embodiment, what is recorded in step S302 is the current frequency offset value F0 at the time when the satellite is lost, which is equivalent to the initial frequency offset value in the above embodiment.
[0096] Through the embodiments of the present application, the vehicle terminal can realize the signal search for the Ref UE that is directly or indirectly synchronized with the GNSS satellite, and can end the search process in advance and switch to the nearby Ref UE synchronization source according to the characteristics of its own frequency fading.
[0097] Figure 4 FIG. 2 is a flow chart of a synchronization source switching method for specifying an SLSS ID according to an embodiment of the present application (II). Figure 4 As shown, when the GNSS satellite signal quality is poor or lost, the synchronization source switching method specifically includes the following steps:
[0098] Step S401, determining that the GNSS satellite signal quality is poor or the signal is lost;
[0099] Step S402, recording the current frequency deviation value F0;
[0100] Step S403, timing for m seconds (20≤m≤60);
[0101] Step S404, specify SLSS ID to search (SLSS ID = 0 or 168 or 169);
[0102] Step S405, searching for a specified SLSS ID on a synchronization subframe;
[0103] Step S406, specifying an ID to search and reporting the result Rn and the current frequency offset Fn;
[0104] Step S407, calculating the difference between Fn and F0 (unit: ppm);
[0105] Step S408, specify the ID to search and report the result R Final With the current frequency deviation F Final ;
[0106] Step S409, in R Final Select the Ref UE with the largest RSRP value.
[0107] Step S410: Setting the Ref UE synchronization source.
[0108] Steps S401 to S407 in the embodiment of the present application are substantially the same as steps S301 to S307 in another embodiment.
[0109] In this embodiment, steps S405 to S407 are repeatedly executed. If the current frequency offset value is not close to 0.5 ppm of the frequency offset value at the time when the satellite is lost, the search is continued until the m-second timer expires.
[0110] Furthermore, step S408 and step S409 are the search and reporting process of the last cycle, and the reporting result is the last reporting result R Final and the current frequency deviation F recorded last time Final .
[0111] In this embodiment, after the m seconds have elapsed, the protocol stack chooses to reselect the synchronization source according to the last reporting result.
[0112] Through the embodiments of the present application, it is possible to select a suitable synchronization source and complete the switching of the synchronization source within a preset time, and the switching of the synchronization source performed within this time will not affect the sending and receiving of data services.
[0113] Figure 5 FIG. 1 is a flow chart of a synchronization source switching method for entering a long cycle search according to an embodiment of the present application. Figure 5 As shown, when the GNSS satellite signal quality is poor or lost, the synchronization source switching method specifically includes the following steps:
[0114] Step S501, determining that the GNSS satellite signal quality is poor or the signal is lost;
[0115] Step S502, recording the current frequency deviation value F0;
[0116] Step S503, timing for m seconds (20≤m≤60);
[0117] Step S504, specify SLSS ID to search (SLSS ID = 0 or 168 or 169);
[0118] Step S505, specifying an ID to search and reporting the result Rn and the current frequency offset Fn;
[0119] Step S506, calculating the difference between Fn and F0 (unit: ppm);
[0120] Step S507: If the search for the specified SLSS ID fails, a long-term search is started.
[0121] In this embodiment, during the search process of the specified SLSS ID lasting m seconds, if the physical layer fails to search for a side link synchronization signal exceeding the threshold or there are no vehicle terminals around that are directly or indirectly synchronized with the GNSS satellite, the protocol stack instructs the physical layer to initiate a long-period search lasting 480ms to search for vehicle terminals around that are not directly or indirectly synchronized to the satellite.
[0122] Specifically, the threshold value is -141dbm (decibel relative to one milliwatt).
[0123] Further, after the long-period search is completed, the physical layer reports the long-period search result R L , triggering the protocol stack to reselect the synchronization source. Specifically, from the search result R L The Ref UE with the largest RSRP value is selected as the synchronization source, and the process ends.
[0124] In another embodiment, after the long-period search lasting 480ms ends, if the physical layer still has not searched for the side link synchronization signal that exceeds the threshold, the protocol stack sends an instruction to set the vehicle terminal as an island, without making any time and frequency adjustments, and sends the side link synchronization signal of the vehicle terminal until the satellite signal is restored or the protocol stack instructs to search for the side link synchronization signal.
[0125] According to another aspect of an embodiment of the present application, a synchronization source switching device is also provided. Figure 6 is a block diagram of a synchronization source switching device according to an embodiment of the present application, such as Figure 6 As shown, the synchronization source switching device includes:
[0126] A first acquisition module 62, configured to acquire a sidelink synchronization signal sent by a reference terminal;
[0127] A second acquisition module 64 is used to obtain the current frequency deviation value at every preset reporting period;
[0128] A determination module 66, configured to determine a target sidelink synchronization signal according to a current frequency offset value and a sidelink synchronization signal;
[0129] The setting module 68 is used to set the target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source.
[0130] In this embodiment, the device further includes:
[0131] The indication module is used to instruct the physical layer to search for the side link synchronization signal of the reference terminal directly or indirectly synchronized with the satellite through the protocol stack within a first preset time after the signal quality of the satellite signal is less than a preset threshold or the satellite signal is lost.
[0132] In this embodiment, the indication module is also used to set the sidelink synchronization signal identifier through the protocol stack to instruct the physical layer to search for the sidelink synchronization signal of the corresponding reference terminal, wherein the sidelink synchronization signal identifier of the reference terminal directly synchronized with the satellite is 0, and the sidelink synchronization signal identifier of the reference terminal indirectly synchronized with the satellite is 168 or 169.
[0133] In this embodiment, the first acquisition module 62 may specifically include the following structure:
[0134] A searching unit is used to search for a side link synchronization signal corresponding to the side link synchronization signal identifier on a synchronization subframe through the physical layer.
[0135] an acquisition unit, configured to acquire, through the physical layer, a reference signal received power corresponding to the sidelink synchronization signal;
[0136] The storage unit is used to store the side link synchronization signal and the reference signal receiving power obtained in the current search period through the physical layer at intervals of a preset search period.
[0137] In this embodiment, the second acquisition module 64 may specifically include the following structure:
[0138] A recording unit, configured to record the current frequency offset value through the physical layer at intervals of the reporting period, wherein the reporting period is greater than or equal to the search period;
[0139] A reporting unit is used to report a valid side link synchronization signal, the reference signal receiving power and the current frequency deviation value to the protocol stack through the physical layer, wherein the valid side link synchronization signal is a side link synchronization signal whose reference signal receiving power stored in the current reporting period is greater than a threshold value.
[0140] In this embodiment, the recording unit is further configured to record, through the physical layer, an initial frequency deviation value at a time when the signal quality of the satellite signal is less than a preset threshold or at a time when the satellite signal is lost.
[0141] In this embodiment, the determination module 66 is also used to determine the frequency deviation value between the current frequency deviation value and the initial frequency deviation value through the protocol stack at each reporting period interval; when the frequency deviation value is greater than or equal to the preset range, determine the side link synchronization signal with the highest reference signal receiving power within the current reporting period through the protocol stack; when the frequency deviation values of multiple reporting periods within the first preset time are all less than the preset range, determine the side link synchronization signal with the highest reference signal receiving power within the last reporting period within the first preset time through the protocol stack; and determine the side link synchronization signal with the highest reference signal receiving power as the target side link synchronization signal through the protocol stack.
[0142] In this embodiment, the setting module 68 is further used to set the target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source through the protocol stack, and instruct the physical layer to perform time domain and frequency domain synchronization according to the target reference terminal.
[0143] In this embodiment, the indication module is also used to instruct the physical layer through the protocol stack to search for the side link synchronization signal of a reference terminal that is not directly synchronized with the satellite and not indirectly synchronized with the satellite within a second preset time, when the side link synchronization signal is not searched within the first preset time, or the reference signal reception power of the side link synchronization signal stored within the first preset time is less than a threshold value.
[0144] In this embodiment, the indication module is also used to set the synchronization source type of the physical layer to an island through the protocol stack and stop the time and frequency adjustment of the current terminal when the sidelink synchronization signal is not searched within the second preset time, or the reference signal receiving power of the sidelink synchronization signal stored within the second preset time is less than the threshold value; when the synchronization source type is an island, the sidelink synchronization signal of the current terminal is periodically sent out through the physical layer until the satellite signal is restored or the protocol stack re-issues the indication for searching for the sidelink synchronization signal sent by the reference terminal.
[0145] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program executes the steps of any of the above method embodiments when executed by a processor.
[0146] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0147] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0148] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0149] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0150] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0151] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A synchronization source switching method, characterized in that: The method comprises: Acquire a sidelink synchronization signal sent by a reference terminal; At every preset reporting period, the current frequency deviation value is obtained; determining a target sidelink synchronization signal according to the current frequency offset value and the sidelink synchronization signal; A target reference terminal corresponding to the target sidelink synchronization signal is set as a synchronization source.
2. The method according to claim 1, characterized in that Before acquiring the sidelink synchronization signal sent by the reference terminal, the method further includes: Within a first preset time after the signal quality of the satellite signal is less than a preset threshold or the satellite signal is lost, the physical layer is instructed through the protocol stack to search for a sidelink synchronization signal of a reference terminal that is directly or indirectly synchronized with the satellite.
3. The method according to claim 2, characterized in that Instructing the physical layer to search for a sidelink synchronization signal of a reference terminal directly or indirectly synchronized with the satellite through the protocol stack includes: The sidelink synchronization signal identifier is set through the protocol stack to instruct the physical layer to search for the sidelink synchronization signal of the corresponding reference terminal, wherein the sidelink synchronization signal identifier of the reference terminal directly synchronized with the satellite is 0, and the sidelink synchronization signal identifier of the reference terminal indirectly synchronized with the satellite is 168 or 169.
4. The method according to claim 3, characterized in that Obtaining the sidelink synchronization signal sent by the reference terminal, including: The physical layer searches for a sidelink synchronization signal corresponding to the sidelink synchronization signal identifier on a synchronization subframe.
5. The method according to claim 4, characterized in that After acquiring the sidelink synchronization signal sent by the reference terminal, the method further includes: acquiring, through the physical layer, a reference signal received power corresponding to the sidelink synchronization signal; At every preset search period, the sidelink synchronization signal and the reference signal receiving power acquired in the current search period are stored through the physical layer.
6. The method according to claim 5, characterized in that After acquiring the sidelink synchronization signal sent by the reference terminal, the method further includes: Recording the current frequency deviation value through the physical layer at intervals of the reporting period, wherein the reporting period is greater than or equal to the search period; The valid sidelink synchronization signal, the reference signal receiving power and the current frequency deviation value are reported to the protocol stack through the physical layer, wherein the valid sidelink synchronization signal is a sidelink synchronization signal whose reference signal receiving power stored in the current reporting period is greater than a threshold value.
7. The method according to claim 6, characterized in that Before acquiring the sidelink synchronization signal sent by the reference terminal, the method further includes: The physical layer records the initial frequency deviation value at the time when the signal quality of the satellite signal is less than a preset threshold or at the time when the satellite signal is lost.
8. The method according to claim 7, characterized in that Determining a target sidelink synchronization signal according to the current frequency offset value and the sidelink synchronization signal includes: At intervals of the reporting period, determining a frequency deviation value between the current frequency deviation value and the initial frequency deviation value through the protocol stack; When the frequency deviation value is greater than or equal to a preset range, determining, through the protocol stack, a sidelink synchronization signal having the maximum reference signal receiving power within a current reporting period; When the frequency deviation values of multiple reporting periods within the first preset time are all less than the preset range, determining, through the protocol stack, the sidelink synchronization signal with the maximum reference signal receiving power in the last reporting period within the first preset time; The sidelink synchronization signal having the maximum reference signal reception power is determined as the target sidelink synchronization signal through the protocol stack.
9. The method according to claim 8, characterized in that Setting a target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source comprises: The target reference terminal corresponding to the target sidelink synchronization signal is set as a synchronization source through the protocol stack, and the physical layer is instructed to perform time domain and frequency domain synchronization according to the target reference terminal.
10. The method according to claim 2, characterized in that After acquiring the sidelink synchronization signal sent by the reference terminal, the method further includes: When the sidelink synchronization signal is not searched within the first preset time, or the reference signal reception power of the sidelink synchronization signal stored within the first preset time is less than the threshold value, the protocol stack instructs the physical layer to search for the sidelink synchronization signal of a reference terminal that is not directly synchronized with the satellite and not indirectly synchronized with the satellite within a second preset time.
11. The method according to claim 10, characterized in that After instructing the physical layer to search for a sidelink synchronization signal of a reference terminal that is not directly synchronized with the satellite and not indirectly synchronized with the satellite within a second preset time through the protocol stack, the method further includes: If the sidelink synchronization signal is not searched within the second preset time, or the reference signal received power of the sidelink synchronization signal stored within the second preset time is less than the threshold value, the synchronization source type of the physical layer is set to an island through the protocol stack, and the time and frequency adjustment of the current terminal is stopped; In the case where the synchronization source type is an island, the sidelink synchronization signal of the current terminal is periodically sent outward through the physical layer until the satellite signal is restored or the protocol stack re-sends an indication for searching for the sidelink synchronization signal sent by the reference terminal.
12. A synchronization source switching device, characterized in that: The device comprises: A first acquisition module, used to acquire a sidelink synchronization signal sent by a reference terminal; A second acquisition module is used to obtain the current frequency deviation value at every preset reporting period; A determination module, configured to determine a target sidelink synchronization signal according to the current frequency offset value and the sidelink synchronization signal; A setting module is used to set a target reference terminal corresponding to the target sidelink synchronization signal as a synchronization source.
13. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program executes the method described in any one of claims 1 to 11 when executed by a processor.
14. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Methods and devices for communications in device-to-device networks
CN112313914A
Method and apparatus for synchronization in a d2d(device-to-device) communication
KR1020160024697A
Synchronization method and terminal apparatus
US20210368458A1
Cited By
Time synchronization method, device and equipment, storage medium and computer program product
CN119997190A
