Clock synchronization method and apparatus

The terminal device receives clock synchronization information from other devices and selects a clock synchronization reference source, which solves the problem of UE being unable to achieve clock synchronization outside the coverage area in the 5G network and achieves network expansion and clock consistency.

WO2024174941A1PCT designated stage expired Publication Date: 2024-08-29HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/077408
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2024-02-18
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In the 5G network, terminal equipment (UE) can only achieve clock synchronization with the network within the coverage of the access network equipment, and cannot achieve clock synchronization outside the coverage, which limits the application and expansion of the network.

Method used

The terminal device receives clock synchronization information from other terminal devices and selects a clock synchronization reference source, including access network equipment, satellite equipment or other terminal equipment, to achieve clock synchronization and improve the connection between terminal equipment and the network outside the wireless access network. Synchronization probability.

Benefits of technology

It expands the application scope of 5G networks, allowing terminal devices outside the coverage of access network equipment to achieve clock synchronization with the network, improving clock consistency between devices and network synchronization capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024077408_29082024_PF_FP_ABST
    Figure CN2024077408_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a clock synchronization method and apparatus. The method comprises: a first terminal device receiving at least one piece of clock synchronization information, wherein the at least one piece of clock synchronization information comprises first clock synchronization information, which is received from a second terminal device by means of a sidelink; and the first terminal device selecting a clock synchronization reference source according to the at least one piece of clock synchronization information. In the embodiments of the present application, a terminal device can also send clock synchronization information, for example, although a terminal device located outside the coverage range of a base station cannot receive clock synchronization information from the base station, said terminal device can still receive clock synchronization information from another terminal device by means of a sidelink, thereby improving the probability of clock synchronization between the terminal device and a network.
Need to check novelty before this filing date? Find Prior Art

Description

A clock synchronization method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 20, 2023, with application number 202310183853.2 and application name “A clock synchronization method and device”, the entire contents of which are incorporated by reference into this application; this application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 26, 2023, with application number 202310476184.8 and application name “A clock synchronization method and device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to a clock synchronization method and device. Background Art

[0004] Currently, the clock synchronization process within the fifth generation mobile communication technology (5G) network is mainly used to support clock synchronization under the Uu interface communication. This clock synchronization process mainly includes core network clock synchronization and air interface clock synchronization of the wireless access network.

[0005] During core network clock synchronization, a master clock can be set up within the 5G network to serve as the clock synchronization reference source within the 5G network. This master clock can be connected to various core network devices (such as user plane functions (UPFs)) in the 5G network via a wired network, as well as to access network devices such as base stations. Therefore, clock synchronization between the master clock and other devices within the 5G network can be achieved through wired communication.

[0006] During the core network clock synchronization process, the base station and the 5G master clock have been synchronized. Therefore, during the air interface clock synchronization process of the wireless access network, it is only necessary to complete the clock synchronization of the access network equipment and user equipment (UE). In this way, the synchronization of the UE and the master clock in the 5G network is achieved.

[0007] However, currently, clock synchronization between UE and 5G network is only achieved when there is access network equipment coverage. In some cases, the UE is outside the coverage of the access network equipment, and such UE cannot achieve clock synchronization with the 5G network.

[0008] Summary of the Invention

[0009] The embodiments of the present application provide a clock synchronization method and apparatus for enabling terminal devices outside the coverage area of ​​a base station to achieve synchronization with the network.

[0010] In a first aspect, a first clock synchronization method is provided. The method can be executed by a terminal device, or by another device including terminal device functions, or by a chip system (or chip) or other functional module. The chip system or functional module can implement the functions of the terminal device, and the chip system or functional module is, for example, provided in the terminal device. The terminal device is, for example, a first terminal device. The method includes: receiving at least one clock synchronization information, wherein the at least one clock synchronization information includes first clock synchronization information, and the first clock synchronization information is received from a second terminal device via a sidelink; and selecting a clock synchronization reference source based on the at least one clock synchronization information.

[0011] In an embodiment of the present application, a terminal device can also send clock synchronization information. For example, for a terminal device outside the network coverage, although it cannot receive clock synchronization information from the network, it can still receive clock synchronization information from other terminal devices through a sidelink (SL). The terminal device that sends the clock synchronization information may be a terminal device that has already achieved clock synchronization with the network. Therefore, a terminal device outside the network coverage can also achieve synchronization with the network through clock synchronization information from other terminal devices, thereby increasing the probability of the terminal device achieving clock synchronization with the network. For another example, one of multiple terminal devices outside the network coverage can send clock synchronization information to other terminal devices, so that clock synchronization is achieved between the multiple terminal devices.

[0012] In an optional embodiment, the first clock synchronization information includes information about a first moment and information about a first time unit, wherein the first moment is the moment at which a boundary of the first time unit is located. For example, a terminal device (e.g., a first terminal device) that receives the first clock synchronization information can determine that the moment at which the boundary of the first time unit is located is the first moment based on the information about the first moment and the information about the first time unit included in the first clock synchronization information, thereby achieving clock synchronization between the first terminal device and the second terminal device.

[0013] In an optional embodiment, the first clock synchronization information further includes one or more of the following: type information of the initial clock synchronization reference source of the second terminal device; or, hop count information between the second terminal device and the initial clock synchronization reference source of the second terminal device; or, information on whether the initial clock synchronization reference source of the second terminal device has completed time and frequency synchronization with the access network device. The types of the initial clock synchronization reference sources include access network devices, satellite devices, or terminal devices. Based on the above scheme, the terminal device receiving the clock synchronization information can have more reference factors when selecting the clock synchronization reference source, so that the accuracy of the selected clock synchronization reference source is higher. Optionally, completing time and frequency synchronization with the access network device can also be understood as completing SSB synchronization with the access network device, or detecting a certain cell, or residing in a certain cell.

[0014] In an optional embodiment, the at least one clock synchronization information also includes second clock synchronization information and / or third clock synchronization information, the second clock synchronization information comes from the first access network device, and the third clock synchronization information comes from the first satellite device; wherein, selecting a clock synchronization reference source based on the at least one clock synchronization information includes: selecting the first device as the clock synchronization reference source based on the clock synchronization priority of the second terminal device, the first access network device and / or the first satellite device, the first device being the device with the highest clock synchronization priority among the second terminal device, the first access network device and / or the first satellite device. If the first terminal device receives clock synchronization information from different clock synchronization reference sources, the first terminal device can select the clock synchronization reference source with the highest clock synchronization priority. This selection mechanism can enable more devices to synchronize to a clock synchronization reference source with a higher priority as much as possible, so as to achieve global clock synchronization of the devices.

[0015] In an optional embodiment, the order of the clock synchronization priorities from high to low includes: the clock synchronization priority of the satellite device is higher than the clock synchronization priority of the terminal device using the satellite device as the initial clock synchronization reference source, the clock synchronization priority of the terminal device using the satellite device as the initial clock synchronization reference source is higher than the clock synchronization priority of the access network device, the clock synchronization priority of the access network device is higher than the clock synchronization priority of the terminal device using the access network device as the initial clock synchronization reference source, and the clock synchronization priority of the terminal device using the access network device as the initial clock synchronization reference source is higher than the clock synchronization priority of the terminal device using the terminal device as the initial clock synchronization reference source; or, the clock synchronization priority of the access network device is higher than the clock synchronization priority of the terminal device using the access network device as the initial clock synchronization reference source, the clock synchronization priority of the terminal device using the access network device as the initial clock synchronization reference source is higher than the clock synchronization priority of the satellite device, the clock synchronization priority of the satellite device is higher than the clock synchronization priority of the terminal device using the satellite device as the initial clock synchronization reference source, and the clock synchronization priority of the terminal device using the satellite device as the initial clock synchronization reference source is higher than the clock synchronization priority of the terminal device using the terminal device as the initial clock synchronization reference source. The clock synchronization priorities can be arranged in different orders, and the above are two examples. The first terminal device may select a clock synchronization reference source according to the above arrangement order.

[0016] In an optional embodiment, the at least one clock synchronization information further includes fourth clock synchronization information, the fourth clock synchronization information comes from a third terminal device, and the clock synchronization priority of the second terminal device is higher than the clock synchronization priority of the third terminal device; wherein the first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second terminal device is a terminal device, and indicates that the initial clock synchronization reference source of the second terminal device has completed time and frequency synchronization with the access network device, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third terminal device is a terminal device, and indicates that the initial clock synchronization reference source of the third terminal device has not completed time and frequency synchronization with the access network device. Each classification in the above-mentioned clock synchronization priority order can be regarded as a priority group. If the senders of two clock synchronization information belong to the same priority group, the clock synchronization reference source can also be selected based on other factors. For example, the clock synchronization reference source can be selected based on whether the initial clock synchronization reference source of the sender of the clock synchronization information has completed time and frequency synchronization with the access network device. If a device has completed time and frequency synchronization with the access network device, although the device has not received clock synchronization information from the access network device, the device has achieved time and frequency synchronization with the access network device, which helps to improve the clock accuracy of the device. Therefore, the first terminal device can use the device that has completed time and frequency synchronization as the initial clock synchronization reference source.

[0017] In an optional embodiment, the at least one clock synchronization information also includes fourth clock synchronization information, the fourth clock synchronization information comes from a third terminal device, and the clock synchronization priority of the second terminal device is higher than the clock synchronization priority of the third terminal device; wherein, the first clock synchronization information indicates that the number of hops between the second terminal device and the initial clock synchronization reference source of the second terminal device is a first number, and the fourth clock synchronization information indicates that the number of hops between the third terminal device and the initial clock synchronization reference source of the third terminal device is a second number, and the first number is less than the second number, wherein the type of the initial clock synchronization reference source of the second terminal device indicated by the first clock synchronization information is the same as the type of the initial clock synchronization reference source of the third terminal device indicated by the fourth clock synchronization information. For example, the first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second terminal device is a satellite device, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third terminal device is a satellite device. Alternatively, the first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second terminal device is an access network device, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third terminal device is an access network device. Alternatively, the first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second terminal device is a terminal device, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third terminal device is a terminal device. Each category in the above-mentioned clock synchronization priority order can be considered a priority group. If the senders of two clock synchronization information belong to the same priority group, the clock synchronization reference source can also be selected based on other factors. For example, the clock synchronization reference source can be selected based on the number of hops indicated by the clock synchronization information. The smaller the number of hops indicated by a clock synchronization information, the shorter the transmission path traversed by the clock synchronization and the higher the accuracy. Therefore, the first terminal device can select the sender of the clock synchronization information as the clock synchronization reference source.

[0018] In an optional embodiment, selecting a clock synchronization reference source based on the at least one clock synchronization information includes: selecting the second terminal device as the clock synchronization reference source based on the at least one clock synchronization information; the method further includes: determining the propagation delay and / or loopback transmission time between the first terminal device and the second terminal device; and performing clock synchronization with the second terminal device based on the propagation delay and / or the loopback transmission time and the first clock synchronization information. If the first terminal device selects the second terminal device as the clock synchronization reference source, the first terminal device may also compensate for the clock synchronization information based on the propagation delay or loopback transmission time between the first terminal device and the second terminal device, thereby making the clock synchronization between the first terminal device and the second terminal device more accurate.

[0019] In an optional embodiment, the first clock synchronization information is multicast information or broadcast information, and the first clock synchronization information also includes a first unicast identifier of the second terminal device, and the first unicast identifier is used for unicast communication between the second terminal device and the first terminal device.

[0020] In an optional embodiment, the method further includes: configuring a reference signal with the second terminal device using the first unicast identifier, and / or configuring measurement result reporting with the second terminal device using the first unicast identifier, wherein the measurement result is used to determine the propagation delay and / or the loopback transmission time between the first terminal device and the second terminal device. The first clock synchronization information may also include one or more unicast identifiers of the second terminal device, so that the receiving end of the first clock synchronization information (e.g., the first terminal device) can match the first clock synchronization information with other information of the second terminal device, such as the other information used to determine the propagation delay and / or the loopback transmission time between the first terminal device and the second terminal device.

[0021] In an optional embodiment, the method further includes: receiving fifth clock synchronization information from a second device, where the second device is an access network device, a satellite device, or other terminal device; if the clock synchronization priority of the second device is higher than the clock synchronization priority of the first device, selecting the second device as the clock synchronization reference source, and the first device as the (previously) selected clock synchronization reference source. After completing clock synchronization with the first device, the first terminal device can continue to receive clock synchronization information from other devices. If the first terminal device receives clock synchronization information from a device with a higher clock priority than the first device, the first terminal device can complete clock synchronization with the device again, so that the first terminal device can complete clock synchronization with the clock synchronization reference source with a higher priority as much as possible to improve the accuracy of clock synchronization.

[0022] In an optional embodiment, the at least one clock synchronization information also includes second clock synchronization information from the first access network device, and the second clock synchronization information includes information of a second moment, wherein the second moment is the moment at which the boundary of the first system frame is located, and the second clock synchronization information also includes the frame number of the first system frame, or the second moment is the moment at which the boundary of the first system information window is located, and the first system information window is used to determine the transmission time of the first system information. For example, the first terminal device can determine the time domain position of the boundary of the first system frame number based on the information of the moment at which the boundary of the first system frame number is located included in the second clock synchronization information, and can determine that the time domain position of the boundary of the first system frame number is the second moment, so that the first terminal device achieves clock synchronization with the access network device.

[0023] In an optional embodiment, the at least one clock synchronization information further includes third clock synchronization information from the first satellite device. Optionally, the first satellite device corresponds to a global navigation satellite system, for example, the first satellite device includes one or more of the following satellite devices: GPS, Beidou satellite, or Galileo satellite, or in addition, the first satellite device may also include other types of satellite devices.

[0024] In a second aspect, a second clock synchronization method is provided, which can be executed by a terminal device, or by other devices including terminal device functions, or by a chip system (or chip) or other functional module, which can realize the functions of the terminal device, and the chip system or functional module is, for example, set in the terminal device. The terminal device is, for example, a first terminal device. The method includes: sending sixth clock synchronization information, the sixth clock synchronization information is used for clock synchronization of other terminal devices, the sixth clock synchronization information including: information of a third moment and information of a second time unit, the third moment being the moment at which the boundary of the second time unit is located.

[0025] In an embodiment of the present application, a terminal device can also send clock synchronization information. For example, for a terminal device outside the coverage of an access network device, although it cannot receive clock synchronization information from the access network device, it can still receive clock synchronization information from other terminal devices through SL. The terminal device that sends the clock synchronization information may be a terminal device that has already achieved clock synchronization with the network. Therefore, a terminal device outside the coverage of an access network device can also achieve synchronization with the network through clock synchronization information from other UEs, thereby increasing the probability of the terminal device achieving clock synchronization with the network. For another example, one of multiple terminal devices outside the coverage of the network can send clock synchronization information to other terminal devices, so that clock synchronization is achieved between the multiple terminal devices.

[0026] In an optional embodiment, the sixth clock synchronization information also includes one or more of the following: type information of the initial clock synchronization reference source of the first terminal device; or, hop count information between the first terminal device and the initial clock synchronization reference source of the first terminal device; or, information on whether the initial clock synchronization reference source of the first terminal device has completed time and frequency synchronization with the access network device; wherein the type of the initial clock synchronization reference source includes access network equipment, satellite equipment or terminal equipment.

[0027] In an optional embodiment, before sending the sixth clock synchronization information, the first clock synchronization information is received from the second terminal device via the side link, and the first terminal device selects the second terminal device as the clock synchronization reference source; wherein the first clock synchronization information includes the type information of the initial clock synchronization reference source of the second terminal device, the type of the initial clock synchronization reference source indicated by the type information of the initial clock synchronization reference source included in the sixth clock synchronization information is the same as the type of the initial clock synchronization reference source indicated by the type information of the initial clock synchronization reference source included in the first clock synchronization information, and / or the first clock synchronization information includes the number of hops between the second terminal device and the initial clock synchronization reference source of the second terminal device, and the number of hops indicated by the hop number information included in the sixth clock synchronization information is the number of hops indicated by the first clock synchronization information plus 1. This is equivalent to the clock synchronization information sent by the initial clock synchronization reference source of the second terminal device having an additional hop after passing through the first terminal device, and therefore the number of hops indicated by the hop number information included in the sixth clock synchronization information may be the number of hops indicated by the first clock synchronization information plus 1.

[0028] In an optional embodiment, the method further includes: selecting the local clock of the first terminal device as a clock synchronization reference source (or, selecting the first terminal device as a clock synchronization reference source), wherein the type of the initial clock synchronization reference source of the first terminal device indicated by the sixth clock synchronization information is a terminal device, and / or the number of hops indicated by the hop number information included in the sixth clock synchronization information is 0.

[0029] In an optional embodiment, the method further includes: selecting a first access network device as a clock synchronization reference source, wherein the type information of the initial clock synchronization reference source included in the sixth clock synchronization information indicates that the type of the initial clock synchronization reference source is an access network device, and / or the number of hops indicated by the number of hops included in the sixth clock synchronization information is 0 or 1.

[0030] In an optional embodiment, the method further includes: selecting a first satellite device as a clock synchronization reference source, wherein the type information of the initial clock synchronization reference source included in the sixth clock synchronization information indicates that the type of the initial clock synchronization reference source is a satellite device, and / or the number of hops indicated by the number of hops included in the sixth clock synchronization information is 0 or 1.

[0031] In an optional implementation, the sixth clock synchronization information further includes at least one unicast identifier of the first terminal device, and any one of the at least one unicast identifier is used for unicast communication between the first terminal device and other terminal devices.

[0032] In an optional embodiment, sending the sixth clock synchronization information includes: sending the sixth clock synchronization information when a first condition is met, wherein the first condition includes at least one of the following: the first terminal device is authorized to send clock synchronization information; the first terminal device receives target clock synchronization information from the first device and determines that the first device is a clock synchronization reference source, wherein the received power corresponding to the target clock synchronization information is less than or equal to a first threshold, and the first device is an access network device, a satellite device, or other terminal device; the first terminal device receives target clock synchronization information from the first device and determines that the first device is a clock synchronization reference source, wherein the received power corresponding to the target clock synchronization information is greater than or equal to a second threshold, and the first device is an access network device, a satellite device, or other terminal device; or the first terminal device does not select any device other than the first terminal device as a clock synchronization reference source. For example, if the first terminal device has received the first clock synchronization information from the first device and has performed clock synchronization with the first device based on the first clock synchronization information, then if the received power corresponding to the first clock synchronization information is less than or equal to the first threshold, the first terminal device may send the sixth clock synchronization information. For example, the receiving power corresponding to the first clock synchronization information is less than or equal to the first threshold, indicating that the signal quality of the first device is poor and may not be able to cover more devices. Therefore, the first terminal device can send clock synchronization information to expand the coverage of the clock synchronization information so that more devices can complete clock synchronization.

[0033] Regarding the technical effects brought about by some optional implementations of the second aspect, please refer to the introduction of the technical effects of the corresponding implementations of the first aspect, and no further details will be given.

[0034] In a third aspect, a communication device is provided. The communication device may be the first terminal device described in the first or second aspect. The communication device has the functions of the first terminal device. The communication device may be, for example, the first terminal device, or a larger device including the first terminal device, or a functional module within the first terminal device, such as a baseband device or a system-on-chip. In one optional implementation, the communication device includes a baseband device and a radio frequency device. In another optional implementation, the communication device includes a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module). The transceiver unit is capable of performing both transmitting and receiving functions. When the transceiver unit performs the transmitting function, it may be referred to as a transmitting unit (sometimes also referred to as a transmitting module); when the transceiver unit performs the receiving function, it may be referred to as a receiving unit (sometimes also referred to as a receiving module). The transmitting unit and the receiving unit may be the same functional module, referred to as a transceiver unit, which is capable of both transmitting and receiving functions; alternatively, the transmitting unit and the receiving unit may be different functional modules, with the transceiver unit being a collective term for these functional modules.

[0035] In an optional embodiment, the transceiver unit (or, the receiving unit) is used to receive at least one clock synchronization information, wherein the at least one clock synchronization information includes first clock synchronization information, and the first clock synchronization information is received from the second terminal device via a side link; the processing unit is used to select a clock synchronization reference source based on the at least one clock synchronization information.

[0036] In an optional embodiment, the transceiver unit (or, the sending unit) is used to send sixth clock synchronization information, and the sixth clock synchronization information is used for clock synchronization of other terminal devices, wherein the sixth clock synchronization information includes: information of a third moment and information of a second time unit, and the third moment is the moment at which the boundary of the second time unit is located.

[0037] In an optional embodiment, the communication device also includes a storage unit (sometimes also referred to as a storage module), and the processing unit is used to couple with the storage unit and execute the program or instructions in the storage unit, so as to enable the communication device to perform the functions of the first terminal device described in the first aspect or the second aspect above.

[0038] In a fourth aspect, a communication device is provided. The communication device may be a first terminal device, or a chip or chip system used in the first terminal device. The communication device includes a communication interface and a processor, and optionally, a memory. The memory is used to store a computer program. The processor is coupled to the memory and the communication interface. When the processor reads the computer program or instructions, the communication device executes the method performed by the first terminal device in the above aspects.

[0039] In a fifth aspect, a communication system is provided, comprising a first terminal device, wherein the first terminal device is configured to execute the method performed by the first terminal device as described in the first or second aspect. For example, the first terminal device may be implemented by the communication apparatus described in the third or fourth aspect.

[0040] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store a computer program or instruction, which, when executed, enables the method executed by the first terminal device in the above aspects to be implemented.

[0041] In a seventh aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the methods described in the above aspects to be implemented.

[0042] In an eighth aspect, a chip system is provided, comprising a processor and an interface, wherein the processor is configured to call and execute instructions from the interface so that the chip system implements the methods of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 is a network architecture diagram of a 5G network adapted to TSN synchronization;

[0044] FIG2 is a schematic diagram of a communication network architecture applicable to an embodiment of the present application;

[0045] FIG3 is a flow chart of a clock synchronization method provided in an embodiment of the present application;

[0046] FIG4 is a schematic diagram of an initial synchronization reference source according to an embodiment of the present application;

[0047] FIG5 is a schematic diagram of a PDC in an embodiment of the present application;

[0048] FIG6 is a flowchart of another clock synchronization method provided in an embodiment of the present application;

[0049] FIG7 is a schematic diagram of a UE implementing clock synchronization according to an embodiment of the present application;

[0050] FIG8 is a schematic diagram of a device provided in an embodiment of the present application;

[0051] FIG9 is a schematic diagram of another device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0053] In the embodiments of the present application, the number of nouns, unless otherwise specified, means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plural" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A or B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. For example, A / B means: A or B. "At least one of the following items" or "one or more of them" and other similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c, or one or more of a, b, or c, means: a, b, c, a and b, a and c, b and c, or a and b and c. Each of a, b, and c can be single or multiple.

[0054] The ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish between multiple objects, and are not used to limit the size, content, order, timing, priority or importance of multiple objects. For example, the first clock synchronization information and the second clock synchronization information can be the same information or different information, and this name does not indicate that the two information include different content, sending end / receiving end, sending order, size, application scenario, priority or importance. In addition, the numbering of the steps in the various embodiments introduced in this application is only for distinguishing different steps, and is not used to limit the order between the steps. For example, S301 may occur before S302, or may occur after S302, or may occur at the same time as S302.

[0055] Below, some terms or concepts in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0056] In the embodiment of the present application, the terminal device is a device with wireless transceiver function, which can be a fixed device, a mobile device, a handheld device (such as a mobile phone), a wearable device, an in-vehicle device, or a wireless device built into the above device (such as a communication module, a modem, or a chip system, etc.). The terminal device is used to connect people, objects, machines, etc., and can be widely used in various scenarios, such as but not limited to the following scenarios: cellular communication, device-to-device communication (D2D), vehicle to everything (V2X), machine-to-machine / machine-type communication (M2M / MTC), Internet of Things (IoT), virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical, smart grid, smart furniture, smart office, smart wearable, smart transportation, smart city, drones, robots and other scenarios. The terminal device may sometimes be referred to as UE, terminal, access station, UE station, remote station, wireless communication device, or user equipment, etc. For ease of description, the terminal device is described by taking UE as an example in the embodiments of the present application.

[0057] The network devices in the embodiments of the present application include, for example, access network devices, and / or core network devices. The access network device is a device with wireless transceiver functions, which is used to communicate with the terminal device. The access network devices include but are not limited to base stations (base transceiver station (BTS), node B (Node B), evolved node B (eNodeB) / eNB, or the next generation node B (gNodeB) / gNB), transmission reception points (TRP), base stations subsequently evolved by the third generation partnership project (3GPP), access nodes in wireless fidelity (Wi-Fi) systems, wireless relay nodes, wireless backhaul nodes, etc. The base station can be: a macro base station, a micro base station, a pico base station, a small station, a relay station, etc. Multiple base stations can support networks with the same access technology, or they can support networks with different access technologies. The base station can include one or more co-station or non-co-station transmission and receiving points. The access network device may also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario. The access network device may also be a server, etc. For example, the network device in the V2X technology may be a road side unit (RSU). The following description of the access network device takes a base station as an example. The base station can communicate with the terminal device, or communicate with the terminal device through a relay station. The terminal device can communicate with multiple base stations in different access technologies. The core network device is used to implement functions such as mobility management, data processing, session management, policy and billing. The names of the devices that implement the core network functions in systems with different access technologies may be different, and the embodiments of the present application are not limited to this. Taking 5G as an example, the core network device includes: access and mobility management function (AMF), session management function (SMF), policy control function (PCF) or user plane function (UPF), etc.

[0058] In the embodiments of the present application, the communication device for implementing the network device function may be a network device, or may be a device capable of supporting the network device to implement the function, such as a chip system, which may be installed in the network device. In the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described by taking the network device as an example of the device for implementing the network device function being a network device.

[0059] Currently, 5G only supports clock synchronization between UEs and the 5G network when the UE is covered by access network equipment. In some cases, if the UE is outside the coverage of the access network equipment, such UE will not be able to achieve clock synchronization with the 5G network. In some scenarios, clock synchronization must be implemented within the 5G network (that is, both the core network and the radio access network must achieve clock synchronization), otherwise the 5G network may not be able to perform the corresponding functions.

[0060] For example, 5G networks can support time-sensitive networking (TSN) or networks that support time-sensitive communication (TSC). In this scenario, clock synchronization is required within the 5G network, as briefly described below.

[0061] TSN or TSC networks enable low-latency, highly reliable transmission, making them a key development direction for future industrial communications. In typical TSN or TSC-enabled networks, devices are typically connected via wired network technologies (such as Ethernet). This connection method limits network deployment scenarios. For example, it cannot support automated guided vehicles (AGVs) with mobile communication requirements in industrial scenarios as devices in TSN or TSC networks. Therefore, 3GPP has implemented support for TSN or TSC-enabled networks in 5G networks. For example, 5G networks can be included as part of TSN or TSC-enabled networks, enabling wireless connections between some devices and further satisfying the mobile communication needs of some devices in TSN or TSC-enabled networks.

[0062] Please refer to Figure 1, which is a network architecture diagram for 5G network adaptation to TSN. The 5G time domain in Figure 1 is the 5G network, which can serve as a logical node of TSN. Among them, a grand master (GM) clock is set up in the 5G core network. Within the 5G network, both core network equipment and access network equipment can achieve clock synchronization with the 5G GM through wired means. The UE in the 5G network is within the coverage range of the access network equipment, so the UE can also achieve clock synchronization with the base station. In other words, clock synchronization with the 5G GM can be achieved within the 5G network, so the 5G network can be used as part of TSN. There is also a master clock in TSN, which is the precision timing protocol (PTP) GM in Figure 1. Devices in TSN can achieve clock synchronization with the PTP GM. In addition, TSN also includes devices such as end stations and bridges.

[0063] Suppose the 5G network receives a data packet for clock synchronization, for example, the network TSN translator (NW-TT) on the UPF side receives the data packet. The data packet carries the timestamp A of the external network (such as TSN), which is used by other devices (such as the end station on the left in Figure 1) to complete clock synchronization. After receiving the data packet, the NW-TT will insert the timestamp of the 5G network, such as TSi, into the data packet, and then send the data packet with the timestamp of the 5G network to the UE through the access network device. Assuming that the UE receives the data packet when the time in the 5G network is TSe, when the UE forwards the data packet through the device side TSN translator (DS-TT) of the UE, the timestamp A of the data packet will be updated to A+TSe-TSi+B, where B is the processing time between the UE and the DS-TT. Through this time conversion process, the timestamp received by the terminal station on the left in Figure 2 can correspond to the time when it receives the information. As can be seen, the implementation of clock synchronization within the 5G network allows the 5G network to adapt to TSN, thereby meeting the mobile communication and clock synchronization requirements of some devices in TSN or TSC-supported networks. However, if clock synchronization cannot be achieved within the 5G network, the 5G network cannot adapt to TSN, and the application of TSN or TSN-supported networks will be limited. For example, devices with mobile communication requirements may not be able to synchronize in TSN or TSC-supported networks.

[0064] It can be seen that the UE that is currently outside the coverage of the access network equipment cannot achieve clock synchronization with the 5G network, which may affect the internal communication of the 5G network and the application of the 5G network. Among them, the 5G network in the embodiment of the present application can not only include communication between the UE and the access network equipment and the core network equipment, but also include direct communication between devices, such as communication through the PC5 interface or proximity services (ProSe), or sidelink (SL) communication. When there is only direct communication between devices in the 5G network, there is still a need for clock synchronization in the 5G network, that is, there is still a need for clock synchronization between devices, for example, in order to support services such as collaborative transport.

[0065] It should be noted that in the embodiments of the present application, sidelink, PC5, and ProSe may all refer to a method of direct communication between terminal devices and may be interchangeable.

[0066] In view of this, in an embodiment of the present application, the UE can also send clock synchronization information. For example, for a UE outside the coverage of the access network device, although it cannot receive the clock synchronization information from the access network device, it can still receive the clock synchronization information from other UEs through the SL (or ProSe, or PC5 connection). The UE that sends the clock synchronization information may be a terminal device that has achieved clock synchronization with the network. Therefore, the UE outside the coverage of the access network device can also achieve synchronization with the network through the clock synchronization information from other UEs, thereby increasing the probability of the UE and the network achieving clock synchronization. After the UE and the network achieve clock synchronization, the application scope of the 5G network can also be expanded. For example, the 5G network can adapt to TSN or a network that supports TSN. In addition, the UE that sends the clock synchronization information can also send the clock synchronization information using the UE's own or local clock as the clock synchronization reference source. Therefore, clock synchronization can be achieved between a group of UEs outside the coverage of the access network device. This group of UEs can support some distributed applications that require clock synchronization outside the network coverage based on the synchronized clock, such as collaborative transport.

[0067] The technical solutions provided in the embodiments of the present application can be applied to the fourth generation mobile communication technology (the 4th generation, 4G) system, such as the long term evolution (long term evolution, LTE) system, or can be applied to the 5G system, such as the new radio (new radio, NR) system, or can also be applied to the next generation mobile communication system or other similar communication systems, such as the sixth generation mobile communication technology (the 6th generation, 6G) system, etc., without specific limitation. In addition, the technical solutions provided in the embodiments of the present application can be applied to device-to-device (D2D) scenarios, such as NR-D2D scenarios, etc., or can be applied to V2X scenarios, such as NR-V2X scenarios, etc. For example, it can be used in the fields of intelligent driving, assisted driving, or intelligent connected vehicles. For another example, it can also be used in factory manufacturing scenarios, etc.

[0068] Please refer to Figure 2, which is a communication network architecture applicable to the embodiment of the present application. Figure 2 includes UE1, UE2 and an access network device. Among them, UE2 is within the coverage of the access network device and can achieve clock synchronization with the access network device; UE1 is outside the coverage of the access network device and can also achieve clock synchronization with UE2 through the solution provided in the embodiment of the present application. Alternatively, the embodiment of the present application can also be applied to other communication network architectures. For example, in a scenario where there is no access network device but there is satellite coverage, if UE2 can receive a satellite signal, it can achieve clock synchronization with the satellite. If UE1 can communicate with UE2, it can also achieve clock synchronization with UE2 through the solution provided in the embodiment of the present application; or in a scenario where there is neither an access network device nor a satellite, or in a scenario where there is both an access network device and satellite coverage, UE1 and UE2 can also achieve clock synchronization through the solution provided in the embodiment of the present application.

[0069] In order to better introduce the embodiments of the present application, the method provided by the embodiments of the present application is described below with reference to the accompanying drawings.

[0070] Unless otherwise specified herein, the steps indicated by dotted lines in the accompanying drawings corresponding to the various embodiments of the present application are all optional steps. The methods provided in the various embodiments of the present application can be applied to the network architecture shown in FIG2 or other network architectures. Taking the application of the methods provided in the embodiments of the present application to the network architecture shown in FIG2 as an example, for example, the first UE involved in the various embodiments of the present application can be UE1 in FIG2, or it can also be UE2 in FIG2.

[0071] An embodiment of the present application provides a clock synchronization method. Please refer to Figure 3, which is a flowchart of the method.

[0072] S301: At least one device sends at least one clock synchronization information, and correspondingly, a first UE receives at least one clock synchronization information from the at least one device. Each of the at least one device may send one or more clock synchronization information.

[0073] At least one device may include one or more of the following: satellite equipment, access network equipment, or other UEs other than the first UE (which can also be understood as terminal devices). Among them, if at least one device includes other UEs, then the other UEs can send clock synchronization information through SL (or PC5 connection or Prose connection, etc.), and the first UE can receive clock synchronization information from other UEs through SL. In Figure 3, at least one device includes a second UE as an example. For example, the second UE sends the first clock synchronization information through the SL between it and the first UE. Different devices in at least one device can send clock synchronization information at the same time, or different devices in at least one device can also send clock synchronization information at different times; the first UE can receive at least one clock synchronization information at the same time, or the first UE can also receive different clock synchronization information in time-sharing, and the embodiments of the present application do not impose any restrictions.

[0074] Because at least one device includes one or more of a satellite device, an access network device, or another UE, the at least one clock synchronization information may include three types (or three categories) of clock synchronization information. The first type of clock synchronization information comes from a UE other than the first UE; the second type of clock synchronization information comes from an access network device; and the third type of clock synchronization information comes from a satellite. For example, the first clock synchronization information is one of the first type of clock synchronization information, the second clock synchronization information is one of the second type of clock synchronization information, and the third clock synchronization information is one of the third type of clock synchronization information. The first clock synchronization information comes from a UE, such as a second UE; the second clock synchronization information comes from an access network device, such as the first access network device; and the third clock synchronization information comes from a satellite device, such as the first satellite device. Optionally, the first satellite device corresponds to a global navigation satellite system. For example, the first satellite device includes one or more of the following satellite devices: GPS, Beidou satellites, or Galileo satellites. Alternatively, the first satellite device may also include other types of satellite devices. The following description uses the first, second, and third clock synchronization information as examples to describe these three types of clock synchronization information.

[0075] If the first clock synchronization information comes from the second UE, the second UE can send the first clock synchronization information via the SL. For example, the first clock synchronization information is included in a PC5 clock synchronization message or in another PC5 message. The first clock synchronization information, for example, includes information about a first moment (or a first timestamp), where the first moment information can indicate a specific time, such as XX hours, XX minutes, and XX seconds. Optionally, the first clock synchronization information can also include information about a first time unit, where the first time unit is, for example, a frame or a direct frame (referred to as a first direct frame) or a time slot (referred to as a first time slot). The first direct frame information can include the first direct frame number (DFN) of the first direct frame, and the first time slot information can include an index of the first time slot. The first moment is the moment at the boundary of the first time unit, for example, the moment at the boundary of the first direct frame or the moment at the boundary of the first time slot. The first DFN is, for example, a reference DFN. The first DFN can be determined by the second UE itself, for example, the second UE can select any DFN as the first DFN; alternatively, the second UE can determine a DFN as the first DFN based on indication information from a network device. The first time slot is, for example, a reference time slot, and the method for determining the first time slot is similar to the method for determining the first DFN. The boundary of the first time unit may be the starting boundary or the ending boundary of the first time unit, for example, the boundary of the first direct frame may be, for example, the starting boundary or the ending boundary of the first direct frame; the boundary of the first time slot may be, for example, the starting boundary or the ending boundary of the first time slot. If the UE (for example, the first UE) that receives the first clock synchronization information selects the second UE as the clock synchronization reference source, the first UE may achieve clock synchronization according to the first clock synchronization information. For example, the first UE may determine that the moment of the boundary of the first direct frame is the first moment based on the information of the first moment included in the first clock synchronization information and the information of the first DFN, so that the first UE achieves clock synchronization with the second UE.

[0076] Optionally, the first time unit may be a default, such as a default configuration in a protocol, or the first time unit may be predefined by a standard or configured by higher-layer information. For example, if the first DFN or the first time slot may be default, predefined by a standard, or configured by higher-layer information, the first clock synchronization information may not include information about the first DFN or the first time slot. For example, if the standard predefines the first direct frame as the most recent direct frame with a DFN of 10, or the next direct frame with a DFN of 10, the first UE may also complete clock synchronization with the second UE based on the first clock synchronization information.

[0077] Optionally, the first clock synchronization information may further include error estimation information corresponding to the first moment, for example, the first clock synchronization information includes the clock synchronization variance corresponding to the first moment, or for another example, the first clock synchronization information may include the confidence interval and confidence level corresponding to the first moment.

[0078] Optionally, the first clock synchronization information may further include (or indicate) one or more of the following: type information of the initial clock synchronization reference source of the second UE, number of hops between the second UE and the initial clock synchronization reference source of the second UE, information on whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device, information on whether the second UE has completed time and frequency synchronization with the access network device, or one or more unicast identifiers of the second UE. The content indicated by the first clock synchronization information can also be understood as the first clock synchronization information may further include (or indicate) one or more of the following: clock synchronization priority information (which can be understood as the priority of the first clock synchronization information, or as the priority of the second UE as a clock synchronization reference source), or one or more unicast identifiers of the second UE. Among them, the first clock synchronization information indicates the clock synchronization priority of the second UE, and may include one or more of the following: indicating the type of the initial clock synchronization reference source of the second UE, indicating the number of hops between the second UE and the initial clock synchronization reference source of the second UE, or indicating whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device. Because the initial clock synchronization reference source and / or hop count of the second UE and whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device and other information can reflect the clock synchronization priority of the second UE, it can be considered that this information belongs to priority information. Among them, the type of the initial clock synchronization reference source may include a terminal device, an access network device (which can also be understood as a cell, or understood as a network device or a 5G system), or a satellite device, or there may be other types of devices as the initial clock synchronization reference source. And a first clock synchronization information indicates one of the types as the type of the initial clock synchronization reference source. Optionally, if the initial clock synchronization reference source of the second UE is a terminal device, the first clock synchronization information can also indicate whether the initial clock synchronization reference source has completed time and frequency synchronization with the access network device.

[0079] Among them, the initial clock synchronization reference source of the second UE refers to the synchronization reference source that provides the clock for the second UE from the source. In addition, the second UE may also have a current clock synchronization reference source, or it may be called a direct clock synchronization reference source. Among them, unless otherwise specified, the clock synchronization reference source described in each embodiment of the present application may be understood as a current or direct clock synchronization reference source. For example, if the second UE does not receive clock synchronization information, the second UE may select the local clock of the second UE as the current clock synchronization reference source. At this time, the local clock of the second UE is also the initial clock synchronization reference source of the second UE; or, if the second UE receives clock synchronization information from other devices, the second UE selects the sending device of the received clock synchronization information as the current clock synchronization reference source. The initial clock synchronization reference source of the other device is also the initial clock synchronization reference source of the second UE. For example, the initial clock synchronization reference source of the other device may be a terminal device, an access network device, or a satellite device. For the UE, the current clock synchronization reference source and the initial clock synchronization reference source may be the same device or different devices.

[0080] Please refer to Figure 4. For example, the access network device sends clock synchronization information 1, and the third UE receives clock synchronization information 1. The second UE is not within the coverage of the access network device and therefore cannot receive clock synchronization information 1. After receiving the clock synchronization information 1, the third UE selects the access network device as the current clock synchronization reference source or the direct clock synchronization reference source. At the same time, the access network device is also the initial clock synchronization reference source of the third UE. Among them, the clock of the access network device may be determined with reference to the global positioning system (GPS) or other clocks, but the initial clock synchronization reference source in the embodiment of the present application can be understood as the initial clock synchronization reference source for the SL network. Therefore, the specific method for how the access network device determines the clock synchronization reference source is not reflected in the embodiment of the present application. That is to say, even if the access network device has a further clock synchronization reference source, the access network device itself is still used as the initial clock synchronization reference source of the third UE in the embodiment of the present application. After the third UE completes clock synchronization with the access network device, it can send clock synchronization information 2. The second UE can receive the clock synchronization information 2 from the third UE and achieve clock synchronization with the third UE through the clock synchronization information 2. The third UE is then the current clock synchronization reference source for the second UE, and the access network device is the initial clock synchronization reference source for the third UE. Therefore, the access network device is also the initial clock synchronization reference source for the second UE. Furthermore, if the access network device is replaced with a satellite device, or if the access network device is replaced with a fourth UE, the aforementioned reference source relationship also holds true.

[0081] The number of hops between the second UE and its initial clock synchronization reference source can indicate how many times the second UE sent clock synchronization information before receiving the clock synchronization information from the initial clock synchronization reference source. Optionally, the first clock synchronization information indicates the number of hops between the second UE and its initial clock synchronization reference source. One optional indication method is to directly indicate the specific number of hops. Continuing with Figure 4 as an example, the access network device sends clock synchronization information A (e.g., the second type of clock synchronization information described above), and the third UE receives clock synchronization information A. The third UE then sends clock synchronization information B (e.g., the first type of clock synchronization information described above) based on clock synchronization information A, and the second UE receives clock synchronization information B. Therefore, the initial clock synchronization reference source of the third UE is the access network device, and the number of hops between the third UE and the access network device indicated by clock synchronization information B can be 0 or 1. If the second UE sends clock synchronization information to other UEs, this clock synchronization information can indicate that the initial clock synchronization reference source of the second UE is the access network device, and the number of hops between the second UE and its initial clock synchronization reference source is 1 or 2. Alternatively, when the second UE uses its own local clock as the clock synchronization reference source, the clock synchronization information sent by the second UE to other UEs may also indicate that the type of the second UE's initial clock synchronization reference source is a terminal device, and the number of hops indicated by the clock synchronization information is 0.

[0082] Alternatively, the first clock synchronization information indicates the number of hops between the second UE and the second UE's initial clock synchronization reference source. Another optional indication method is to indicate the range to which the hop number belongs. For example, the hop number is pre-divided into at least two ranges, each of which includes at least one hop number, and the different ranges include the same or different numbers of hops. The first clock synchronization information may indicate the range to which the hop number between the second UE and the second UE's initial clock synchronization reference source belongs. For example, the divided hop number ranges include range 1 and range 2, with range 1 including hops 0 to hops 3, and range 2 including hops 4 to hops 5. If the number of hops between the second UE and the second UE's initial clock synchronization reference source is 2, the first clock synchronization information may indicate range 1. For another example, the divided hop number ranges include range 1 and range 2, with range 1 including hop 1 and range 2 including hops 1 to positive infinity. For another example, the divided hop number ranges include range 1, range 2, and range 3, with range 1 including hop 0, range 2 including hop 1, and range 3 including hops 2 to positive infinity. The range to which the hop number belongs has fewer values ​​than the specific hop number, so indicating the range to which the hop number belongs helps to save signaling overhead.

[0083] The initial clock synchronization reference source of the second UE may have completed time and frequency synchronization with the access network device, or may not have completed time and frequency synchronization with the access network device. Therefore, optionally, the first clock synchronization information may indicate whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device, or whether the initial clock synchronization reference source of the second UE has completed synchronization of the synchronization signal and physical broadcast channel (PBCH) block (SSB) with the access network device, or whether the initial clock synchronization reference source of the second UE has detected a cell, or whether the initial clock synchronization reference source of the second UE resides in a certain cell. In the following introduction, time and frequency synchronization is taken as an example, that is, "time and frequency synchronization" in the following description may also be replaced by "SSB synchronization", "cell detected" or "residence in a cell". For example, the second UE (or the initial clock synchronization reference source of the second UE) can perform time and frequency synchronization with the access network device by receiving the SSB from the access network device. Among them, time and frequency synchronization may include synchronization processes such as symbol synchronization, time slot synchronization, frame synchronization and frequency synchronization.

[0084] For example, the first clock synchronization information includes 1 bit of indication information. If the value of this bit is "0", it indicates that the initial clock synchronization reference source of the second UE has not completed time and frequency synchronization with the access network device; and if the value of this bit is "1", it indicates that the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device. The UE (e.g., the first UE) that receives the first clock synchronization information can determine whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device based on the value of the indication information included in the first clock synchronization information. Alternatively, if the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device, the first clock synchronization information can indicate that the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device. For example, the first clock synchronization information includes indication information for indicating that the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device. If the initial clock synchronization reference source of the second UE has not completed time and frequency synchronization with the access network device, the first clock synchronization information may not indicate, for example, does not include this indication information. The UE (e.g., the first UE) that receives the first clock synchronization information can determine whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device based on whether the first clock synchronization information includes the indication information. For example, if the initial clock synchronization reference source of the second UE is the local clock of the second UE, the first clock synchronization information can indicate whether the second UE has completed time and frequency synchronization with the access network device. In this case, if the second UE has completed time and frequency synchronization with the access network device, although the second UE has not received the clock synchronization information from the access network device, the second UE helps to improve the clock accuracy of the second UE by achieving time and frequency synchronization with the access network device.

[0085] Optionally, only when the type of the initial clock synchronization reference source of the second UE is a terminal device (including when the initial clock synchronization reference source of the second UE is the second UE itself), the first clock synchronization information includes information on whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device. Alternatively, it can also be understood that only when the type of the initial clock synchronization reference source of the second UE is a terminal device, the information on whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device included in the first clock synchronization information is of practical significance.

[0086] Optionally, the first clock synchronization information may indicate whether the sender of the first clock synchronization information (for example, the second UE) has completed time and frequency synchronization with the access network device, or whether the second UE has completed synchronization of the synchronization signal and physical broadcast channel (PBCH) block (SSB) with the access network device, or whether the second UE has detected a cell, or whether the second UE is residing in a certain cell.

[0087] Optionally, the first clock synchronization information may indicate the priority through multiple fields (for example, the multiple fields include a field for indicating the type of the initial clock synchronization reference source, a field for indicating the number of hops, and a field for indicating whether the initial clock synchronization reference source has completed time and frequency synchronization), or the priority may be indicated through a priority field. For example, when the priority field is a different value or a different code point (Codepoint), it indicates the size of the clock synchronization priority and indicates the type, number of hops, and other information of the initial clock synchronization reference source. Please refer to Table 1 for an example of a priority field. The specific information corresponding to the priority in the embodiment of the present application may include one or more items in Table 1 (for example, one or more items in columns 2 to 4), or may also include other items in addition to Table 1. Table 1 can be pre-configured or configured by an access network device or a core network device.

[0088] Table 1

[0089] In SL communication, the UE can use different source identifiers, such as source identity numbers (IDs), in different communication links. For example, the source identifier used by a UE in unicast communication is called the unicast identifier of the UE, or the unicast source identifier of the UE; the source identifier used by the UE in multicast communication is called the multicast identifier of the UE, or the multicast source identifier of the UE. The unicast identifier of a UE and the multicast identifier of the UE may be different identifiers. The multicast identifiers used by the same UE in multicast communications of different services may be different; in addition, the unicast identifiers used by a UE in unicast communications with different UEs may also be different. Optionally, when the UE sends information, the source identifier of the UE may be indicated in the second-stage sidelink control information (SCI2) and the header of the media access control (MAC) layer. Therefore, optionally, if the first clock synchronization information is multicast information or broadcast information, or the first clock synchronization information is sent via multicast or broadcast, then the first clock synchronization information may also include one or more unicast identifiers of the second UE, so that the receiving end of the first clock synchronization information (e.g., the first UE) can match the first clock synchronization information with other information of the second UE, which will be described later. Alternatively, when the first clock synchronization information is sent via a unicast identifier, the first clock synchronization information may also include other unicast identifiers of the sending end of the first clock synchronization information.

[0090] The second clock synchronization information comes from an access network device, such as a first access network device. The first access network device can send the second clock synchronization information through the Uu interface. For example, the second clock synchronization information includes information of a second moment (or a second timestamp), wherein the information of the second moment can indicate a specific time, such as XX hours, XX minutes, XX seconds, etc. Optionally, the second clock synchronization information can also indicate a first system frame or a first system information window. The second moment can be the moment at which the boundary of the first system frame is located. The second clock synchronization information can include frame number information of the first system frame, such as the first system frame number (SFN); or, the second moment is the moment at which the boundary of the first system information window (SI-window) is located. The first system information window is used to determine the transmission time of the first system information. The first SFN is, for example, a reference SFN. The first SFN can be determined by the first access network device. For example, the first access network device determines an SFN as the first SFN by itself. The first SI-window is, for example, a reference SI-window. The first SI-window can be determined by the first access network device. For example, the first access network device independently determines an SI-window corresponding to system information as the first SI-window, or the first access network device selects an SI-window corresponding to the first system information as the first SI-window. The first system information will be described later. For example, the first UE can determine the time domain location of the boundary of the first system frame based on the information about the time at which the boundary of the first system frame is located included in the second clock synchronization information, and can also determine that the time domain location of the boundary of the first SFN is the second time. In this way, the first UE achieves clock synchronization with the first access network device.

[0091] The first system information window may be used to transmit the first system information. For example, the second clock synchronization information may be included in a system information block (SIB). The second clock synchronization information may be, for example, reference time information (ReferenceTimeInfo) in the SIB. The ReferenceTimeInfo may indicate the end position of a certain SI-window or the time at which the boundary of the radio frame where the end position is located is located. Different system information may be sent through respective SI-windows. The SI-window indicated by the ReferenceTimeInfo may be the SI-window corresponding to the first system information. The first system information may be, for example, the SIB used to send the ReferenceTimeInfo, such as SIB9. For another example, the second clock synchronization information may be included in a downlink information transfer (DL information transfer) message. The second clock synchronization information may be, for example, ReferenceTimeInfo in the DL information transfer. The ReferenceTimeInfo may indicate the time at which the end position of a certain radio frame is located. When the first UE is within the coverage of the access network device, it can receive the clock synchronization information from the access network device. When the first UE is outside the coverage of the access network device, it cannot receive the clock synchronization information from the access network device. If the first UE is within the coverage of the access network device, the first UE may or may not receive clock synchronization information from the access network device. That is, in an embodiment of the present application, some UEs may complete time and frequency synchronization (or complete cell residency) with the access network device through SSB, but do not complete clock synchronization with the access network device, for example, when the access network device does not have the function of sending a SIB or DL ​​information transfer message containing ReferenceTimeInfo. Optionally, in an embodiment of the present application, the access network device can also be understood as a cell.

[0092] The third clock synchronization information comes from a satellite device, such as a first satellite device. For an introduction to the first satellite device, please refer to the previous text. The third clock synchronization information is, for example, a global navigation satellite system (GNSS) signal. Generally, the GNSS signal needs to be a reliable GNSS signal. For example, when the UE is indoors, the received GNSS signal is generally weak, which may cause the GNSS signal to be unreliable. In the embodiments of the present application, the specific method and criteria for how the UE determines whether the GNSS signal is reliable are not limited. For example, the relevant criteria of the existing standards can be referred to to determine whether the GNSS signal is reliable.

[0093] S302. The first UE selects a clock synchronization reference source based on at least one clock synchronization information, or the first UE selects a current clock synchronization reference source based on at least one clock synchronization information. Because the at least one clock synchronization information comes from at least one device, S302 can also be replaced by the first UE selecting a clock synchronization reference source or selecting the current clock synchronization reference source from at least one device. Alternatively, S302 can also be replaced by the first UE selecting a clock synchronization information from at least one clock synchronization information as the clock synchronization reference source. That is, it can be understood that the UE selects the device as the clock synchronization reference source, or it can also be understood that the UE selects the clock synchronization information as the clock synchronization reference source.

[0094] For example, the first UE can select a first device from at least one device as the current clock synchronization reference source based on at least one clock synchronization information. The first device is, for example, a device with the highest clock synchronization priority among the at least one device, for example, the first device is another UE other than the first UE, an access network device, or a satellite device, etc. Therefore, it can also be understood that the first UE selects the first device from at least one device as the current clock synchronization reference source based on the clock synchronization priority of at least one device. That is, the first UE can select a clock synchronization reference source based on the clock synchronization priority of the device, so as to synchronize to a device with a higher clock synchronization priority as much as possible, which helps to improve the clock synchronization accuracy of the first UE, and can also solve the conflict problem of asynchronous operation between multiple clock synchronization reference sources.

[0095] Optionally, the devices can be divided into different priority groups, and different priority groups correspond to different clock synchronization priorities. For example, the priority groups obtained by division include priority group 1 to priority group 5, and different priority groups correspond to different clock synchronization priorities. In at least one device, the clock synchronization priority of a device can be determined according to the clock synchronization priority corresponding to the priority group to which a device belongs. Among them, priority group 1 includes satellite devices; priority group 2 includes UEs that use satellite devices as the initial clock synchronization reference source; priority group 3 includes access network devices; priority group 4 includes UEs that use access network devices as the initial clock synchronization reference source; priority group 5 includes UEs that use terminal devices as the initial clock synchronization reference source. Alternatively, priority group 1 includes satellite devices; priority group 2 includes UEs that use satellite devices as the direct clock synchronization reference source; priority group 3 includes access network devices; priority group 4 includes UEs that use access network devices as the direct clock synchronization reference source; priority group 5 includes UEs that use terminal devices as the direct clock synchronization reference source.

[0096] For example, the order of clock synchronization priorities of these five priority groups from high to low is: priority group 1 > priority group 2 > priority group 3 > priority group 4 > priority group 5. For example, if GNSS (GNSS-based) is the highest clock synchronization priority, this order can be used to determine the clock synchronization priority of at least one device.

[0097] Alternatively, the clock synchronization priorities of these five priority groups can be ordered from high to low: priority group 3 > priority group 4 > priority group 1 > priority group 2 > priority group 5. For example, if the access network device, such as a gNB (gNB-based), has the highest clock synchronization priority, this order can be used to determine the clock synchronization priority of at least one device.

[0098] Among them, the first UE may receive clock synchronization signals corresponding to all priority groups among the five priority groups, and the clock synchronization priority can be determined according to one of the above orders; or, the first UE may also receive clock synchronization signals corresponding to some priority groups among the five priority groups, and the clock synchronization priority can still be determined according to one of the above orders.

[0099] In the clock synchronization priority group sequence above, "a>b" indicates that the clock synchronization priority corresponding to a is greater than or higher than the clock synchronization priority corresponding to b. For example, if priority group 1 > priority group 2, the clock synchronization priority corresponding to devices in priority group 1 is higher than the clock synchronization priority corresponding to devices in priority group 2.

[0100] The order in which the first UE determines the clock synchronization priority of at least one device may be specified by a protocol, configured by a higher layer of the first UE, pre-configured in the first UE, configured by an access network device (for example, the access network device may send configuration information to the first UE to configure the order), or configured by a core network device, such as a PCF. The embodiments of the present application do not limit the specific manner in which the first UE determines which order to use.

[0101] For example, a first UE determines clock synchronization priority based on GNSS and receives first clock synchronization information from a second UE, second clock synchronization information from a first access network device, and third clock synchronization information from a first satellite device. The first clock synchronization information indicates that the type of the second UE's initial clock synchronization reference source is the access network device. Based on the first clock synchronization priority order of the priority group described above, the satellite device has the highest clock synchronization priority among the satellite device, the access network device, and the second UE. Therefore, the first UE can select the first satellite device as the current clock synchronization reference source.

[0102] If, according to the clock synchronization priority order as above, different devices in at least one device may belong to different priority groups, then the first UE can select the device with the highest clock synchronization priority from the at least one device as the first device; or, there may be multiple devices in the at least one device that belong to the same priority group. If the clock synchronization priority of the priority group is higher than the clock synchronization priority of the priority group to which the remaining devices in the at least one device belong, that is, the multiple devices are the devices with the highest clock synchronization priority in the at least one device, then the first UE can select another device from these multiple devices as the first device. For example, the first UE can randomly select one device from these multiple devices as the first device; or, devices belonging to the same priority group can further distinguish clock synchronization priorities, that is, devices belonging to the same priority group can also be divided into finer-grained clock synchronization priorities, so that the first UE can select the device with the highest clock synchronization priority from these multiple devices as the first device.

[0103] For example, the first UE can determine the clock synchronization priority of devices belonging to the same priority group according to any one or more of the following factors: whether the device or the device's initial clock synchronization reference source completes time and frequency synchronization with the access network device, the number of hops indicated by the clock synchronization information, or the receiving power of the clock synchronization information sent by the device.

[0104] For example, at least one clock synchronization information includes first clock synchronization information and fourth clock synchronization information, the first clock synchronization information comes from the second UE, and the fourth clock synchronization information comes from the third UE. The first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second UE is the UE (e.g., the second UE) or the UE's local clock, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third UE is the UE (e.g., the third UE) or the UE's local clock. It can be seen that if the clock synchronization priority order is as described above, the second UE and the third UE belong to the same priority group, both belonging to priority group 5. In this case, the first UE can determine the clock synchronization priority of the second UE and the third UE based on whether the device (i.e., the sender of the clock synchronization information) or the device's initial clock synchronization reference source has completed time and frequency synchronization with the access network device. For example, if the first clock synchronization information indicates that the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device, and the fourth clock synchronization information indicates that the initial clock synchronization reference source of the third UE has not completed time and frequency synchronization with the access network device, the first UE can determine that the clock synchronization priority of the second UE is higher than the clock synchronization priority of the third UE. Since time-frequency synchronization may include synchronization processes such as symbol synchronization, time slot synchronization, frame synchronization, and frequency synchronization, if the initial clock synchronization reference source of the second UE completes time-frequency synchronization with the access network device, although the initial clock synchronization reference source of the second UE does not receive clock synchronization information from the access network device or satellite device, the second UE and the access network device achieve time-frequency synchronization, which helps to improve the clock accuracy of the initial clock synchronization reference source of the second UE. If the first UE selects the second UE as the clock synchronization reference source, it is also beneficial to improve the clock accuracy of the first UE.

[0105] For another example, at least one clock synchronization information includes first clock synchronization information and fourth clock synchronization information, the first clock synchronization information comes from the second UE, and the fourth clock synchronization information comes from the third UE. The second UE and the third UE belong to the same priority group, or the type of the initial clock synchronization reference source of the second terminal device indicated by the first clock synchronization information is the same as the type of the initial clock synchronization reference source of the third terminal device indicated by the fourth clock synchronization information. For example, the first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second UE is a satellite device, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third UE is a satellite device; or, the first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second UE is an access network device, and the fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third UE is an access network device. In addition, the first clock synchronization information indicates that the number of hops between the second UE and the initial clock synchronization reference source of the second UE is a first number, and the fourth clock synchronization information indicates that the number of hops between the third UE and the initial clock synchronization reference source of the third UE is a second number. For example, if the first number is less than the second number, the first UE can determine that the clock synchronization priority of the second UE is higher than the clock synchronization priority of the third UE. For example, a smaller number of hops corresponding to a device indicates that the path for the device to obtain clock synchronization information is shorter and the clock synchronization accuracy is higher. Therefore, the first UE can determine that the clock synchronization priority of the device with a smaller number of hops is higher.

[0106] For another example, at least one clock synchronization information includes clock synchronization information A and clock synchronization information B, clock synchronization information A comes from device 1, and clock synchronization information B comes from device 2. For example, device 1 is a UE other than the first UE; device 2 is a UE other than the first UE. Among them, the receiving power measured by the first UE for the clock synchronization information from device 1 is a first value, and the receiving power measured for the clock synchronization information from device 2 is a second value. For example, if the first value is greater than the second value, then the first UE can determine that the clock synchronization priority of device 1 is higher than the clock synchronization priority of device 2. The greater the receiving power measured by the first UE for the signal from a certain device, the better the signal quality of the device, and more UEs may be able to receive the clock synchronization signal from the device and thus perform clock synchronization with the device. Therefore, the first UE can determine that the clock synchronization priority of the device is higher, so that more devices can perform clock synchronization with the same device, thereby improving the consistency between devices.

[0107] The receiving power can be characterized by one or more parameters such as reference signal receiving power (RSRP), reference signal receiving quality (RSRQ), signal to interference plus noise ratio (SINR), or signal to noise ratio. The first UE measures a signal from a certain device, for example, measuring a demodulation reference signal (DMRS) carried by a physical sidelink control channel (PSCCH) corresponding to the clock synchronization information from the device, or measuring a DMRS carried by a physical sidelink shared channel (PSSCH) corresponding to the clock synchronization information from the device, or measuring other signals corresponding to the clock synchronization information from the device. The PSSCH corresponding to the clock synchronization information is, for example, a PSSCH that carries the clock synchronization information; the PSCCH corresponding to the clock synchronization information is, for example, used for scheduling a PSSCH that carries the clock synchronization information.

[0108] Optionally, the above-mentioned received power may also be replaced by other parameters that can measure link quality, such as signal-to-noise ratio or signal-to-interference-plus-noise ratio.

[0109] As described above, priority groups are divided based on the type of clock synchronization reference source. Devices can also be divided into priority groups based on other factors. For example, devices can be divided into priority groups based on hop count or hop count range, though this is not a limitation. For example, when the hop count indicated by the clock synchronization information sent by a UE falls within a certain range, the UE and UEs using itself as the clock synchronization reference source can be considered to belong to the same priority group. For example, a UE whose clock synchronization information indicates a hop count of [a, b) is classified into priority group 1, a UE whose clock synchronization information indicates a hop count of [b, c) is classified into priority group 2, and a UE whose clock synchronization information indicates a hop count of [c, +∞) is classified into priority group 3. Here, a is an integer greater than or equal to 0 and less than b; b is a positive integer greater than a and less than c; and c is a positive integer greater than b. ba and cb can be equal or unequal. The priority of priority group 1 is higher than that of priority group 2, and the priority of priority group 2 is higher than that of priority group 3. For example, if a=0, the UE whose hop count indicated by the sent clock synchronization information is 0 is a UE that uses the local clock of the UE as the clock synchronization reference source, and this UE belongs to priority group 1; the UE whose hop count indicated by the sent clock synchronization information is b is not a UE that uses the local clock of the UE as the clock synchronization reference source, and this UE also belongs to priority group 1. Alternatively, when the clock synchronization information sent by a terminal device indicates that the type of its initial clock synchronization reference source is an access network device or a satellite device, and the hop count indicated by the clock synchronization information is greater than a certain range, it can be considered that the device and the terminal device that uses the terminal device as the initial clock synchronization reference source are in the same priority group. The embodiments of the present application can naturally be extended to other priority division rules and methods, and the first UE can still determine the device with the highest priority as the clock synchronization reference source according to the expanded priority order.

[0110] Optionally, after selecting the first device as the current clock synchronization reference source, the first UE may perform clock synchronization according to the target clock synchronization information (i.e., the clock synchronization information sent by the first device to the first UE), or the first UE may perform clock synchronization with the first device. Alternatively, in S302, the first UE selects the first device as the current clock synchronization reference source, which may also be considered as the first UE performing clock synchronization with the first device. For example, the first UE performs clock synchronization with the first device, which may be considered as the first UE selecting the first device as the clock synchronization reference source. The first UE performing clock synchronization with the first device may also be considered as performing clock synchronization with the initial clock synchronization reference source of the first device (which is also the initial clock synchronization reference source of the first UE). The first device may be the clock synchronization reference source selected by the first UE from at least one device in S302, and the first device may be the second UE, other UEs other than the first UE and the second UE, an access network device, or a satellite device. The target clock synchronization information comes from the first device; or it may be understood that the first UE performs clock synchronization according to the target clock synchronization information in at least one clock synchronization information.

[0111] As an optional implementation, if the first device is a first satellite device, the target clock synchronization information may be a GNSS signal, or information used for clock synchronization included in the GNSS signal. For example, the target clock synchronization information may be third clock synchronization information. The first UE may directly determine the clock based on the target clock synchronization information, i.e., complete clock synchronization with the satellite device.

[0112] As another optional implementation, the first device is a first access network device, for example, the target clock synchronization information is the second clock synchronization information. The target clock synchronization information includes ReferenceTimeInfo, and the first UE can determine the clock of the access network device based on the ReferenceTimeInfo, thereby completing the clock synchronization with the first access network device. Alternatively, since there will be additional propagation delay (PD) in the transmission between the first access network device and the UE, additional clock synchronization errors will be introduced. Therefore, the first UE and the first access network device can perform propagation delay compensation (PDC), that is, the first UE can complete the clock synchronization with the access network device based on the ReferenceTimeInfo and PDC.

[0113] In the 5G network, the PDC mechanism between the UE and the access network device can be executed based on the timing advance (TA) or the round trip time (RTT). TA is the time advance of the time slot / symbol sent by the UE uplink relative to the time slot / symbol received by the UE downlink. Generally speaking, TA is approximately equal to twice the propagation delay between the UE and the access network device. RTT is approximately equal to twice the propagation delay between the UE and the access network device. Both TA and RTT can be determined by measurement. For example, TA can be measured and determined by the access network device during the random access process of the UE and indicated by the access network device to the UE; RTT can be determined based on the measurement results of the positioning reference signal (PRS) between the access network device and the UE.

[0114] Please refer to Figure 5, which is a schematic diagram of PDC. From the perspective of the access network device, the time at which the start moment of SFN0 is located is t1. Since the transmission between the access network device and the UE requires a certain propagation delay, from the perspective of the UE, the time at which the start moment of SFN0 corresponding to the UE's reception behavior is located is t2 = t1 + PD. The PD can be determined by the above-mentioned TA or RTT. If the access network device pre-compensates the PD, the access network device can directly indicate to the UE (for example, through ReferenceTimeInfo) that the time at which the UE side receives SFN0 is t2, and the UE does not need to perform compensation based on the PD; alternatively, if the access network device does not pre-compensate the PD, the access network device can indicate to the UE that the time at which the access network device side sends SFN0 is t1, and the UE then compensates the PD to t1. The above process can complete the air interface clock synchronization between the access network device and the UE. The above example uses the time corresponding to the start moment of SFN to perform clock synchronization, or it can also be performed based on the time corresponding to the end moment of SFN, which will not be elaborated on.

[0115] As another optional implementation, the first device is a UE other than the first UE, such as the second UE, and the first UE can perform clock synchronization with the second UE based on the target clock synchronization information. At this time, the target clock synchronization information is, for example, the first clock synchronization information, and the first clock synchronization information is taken as an example below. Optionally, the first UE can perform PDC with the second UE, thereby completing clock synchronization with the second UE based on the PDC result and the first clock synchronization information. As mentioned above, the first clock synchronization information may include one or more unicast identifiers of the second UE, for example, the one or more unicast identifiers include the unicast identifier of the second UE when the second UE communicates with the first UE. Then the first UE can match the first clock synchronization information with the identifier of the second UE in the unicast communication based on the unicast identifier, so that the PDC results measured and reported under the unicast communication between the first UE and the second UE can be combined with the first clock synchronization information to achieve more accurate clock synchronization. Optionally, the PDC mechanism between the first UE and the second UE can be completed based on RTT, and the process of the first UE and the second UE performing PDC can be as follows:

[0116] 1. A first UE uses a first unicast identifier included in first clock synchronization information to send configuration information 1 to a second UE. This configuration information 1 can be used to configure reference signal resource 1, such as a transmission resource for reference signal resource 1. After receiving configuration information 1, the second UE can determine the configuration of reference signal resource 1. Reference signal resource 1 is, for example, a PRS resource. The first unicast identifier is one of one or more unicast identifiers included in the first clock synchronization information. When the second UE performs unicast communication with the first UE, the second UE uses the first unicast identifier as the identifier of the second UE.

[0117] Optionally, the configuration information 1 may also be used to request the second UE to configure (or, configure and send) reference signal resource 2. Alternatively, the configuration information 1 may not necessarily request the second UE to configure (or, configure and send) reference signal resource 2. The first UE may request the second UE to configure (or, configure and send) reference signal resource 2 using other information in addition to the configuration information 1. The reference signal resource 2 is, for example, a PRS resource.

[0118] Optionally, configuration information 1 may further request the second UE to report the time difference between the time when the second UE sends reference signal resource 2 and the time when it receives reference signal resource 1. Alternatively, the first UE may further request the second UE to report the time difference between the time when reference signal resource 2 is sent and the time when reference signal resource 1 is received, using other information in addition to configuration information 1. Reference signal resource 1 is a PRS that the first UE is about to send to the second UE.

[0119] Optionally, before sending configuration information 1, the first UE may first establish a radio resource control (RRC) connection with the second UE, for example, by using the first unicast identifier to establish an RRC connection with the second UE. After the RRC connection is established, the first UE may use the RRC connection to send configuration information 1. Alternatively, the first UE may also send configuration information 1 during the process of establishing an RRC connection with the second UE.

[0120] As can be seen, the first UE can use the first unicast identifier to configure a reference signal (e.g., PRS) with the second UE, and / or use the first unicast identifier to configure measurement result reporting with the second UE. The measurement result is the time difference between the transmission time of reference signal resource 2 and the reception time of reference signal resource 1. The measurement result can be used to determine the PD or RTT between the first UE and the second UE.

[0121] 2. The second UE configures reference signal resource 2 to the first UE. For example, the second UE sends configuration information 2 to the first UE. The configuration information 2 may be used to configure reference signal resource 2, such as transmission resources for reference signal resource 2. After receiving the configuration information 2, the first UE can determine the configuration of reference signal resource 2.

[0122] 3. The first UE sends reference signal resource 1 to the second UE. Correspondingly, the second UE receives reference signal resource 1 from the second UE. The first UE may send reference signal resource 1 to the second UE according to configuration information 1, and the second UE may also receive reference signal resource 1 according to configuration information 1. The first UE may record the time when the first UE sends reference signal resource 1 as t1, and the second UE may record the time when the second UE receives reference signal resource 1 as t2.

[0123] 4. The second UE sends reference signal resource 2 to the first UE. Accordingly, the first UE receives reference signal resource 2 from the second UE. The second UE can send reference signal resource 2 to the first UE according to configuration information 2, and the first UE can also receive reference signal resource 2 according to configuration information 2. The second UE can record the time when the second UE sends reference signal resource 2 as t3, and the first UE can record the time when the first UE receives reference signal resource 2 as t4. 5. The second UE sends information t3-t2 to the first UE. Accordingly, the first UE receives t3-t2 from the second UE. t3-t2 is the time difference between the sending time of reference signal resource 2 and the receiving time of reference signal resource 1. Optionally, the second UE can send reference signal resource 2 and t3-t2 information in the same time slot, or can send reference signal resource 2 and t3-t2 information in different time slots respectively. Optionally, when reporting the information of t3-t2, the second UE may also only report the time difference between the time when the second UE receives the reference signal resource 1 and the boundary of a reference time slot or the boundary of a reference symbol. Since the time when the UE generally sends the reference signal is aligned with the time slot or symbol in the SL system, the first UE can determine the time difference between t3 and the boundary of the reference time slot or the boundary of the reference symbol by detecting the time slot or symbol where the reference signal resource 2 is located, thereby further determining t3-t2. Since the reference time slot and the reference symbol can be defined very close to the position of the reference signal 1, the range of the reporting amount can be compressed. The reference time slot or reference symbol is the time slot or symbol where the reference signal resource 1 is located. For example, the reference time slot or symbol is the next time slot of the time slot where the reference signal resource 1 is located or the next symbol of the symbol where the reference signal resource 1 is located. The position of the reference time slot or reference symbol can be predefined by the standard or configured by high-level information. The embodiment of the present application does not limit the specific method for determining the reference time slot or reference symbol.

[0124] The above steps 3 and 4 may be performed after steps 1 and 2, or steps 3 and 4 may be performed before steps 1 and 2, or steps 3 and 4 and steps 1 and 2 may be performed simultaneously.

[0125] The above method requires that the first UE and the second UE first establish an RRC connection based on the unicast identifier in the target clock synchronization information, that is, after the RRC connection is established, the reference signal configuration and RTT measurement are performed based on the RRC connection. Alternatively, the first UE and the second UE do not need to establish an RRC connection. The following provides a propagation delay compensation method between the first UE and the second UE that does not require an RRC connection (or can also be understood as not relying on unicast communication). The following continues to take the target clock synchronization information being the first clock synchronization information as an example.

[0126] 1. The first UE sends a first reference signal resource, and correspondingly, the second UE receives the first reference signal resource. The time-frequency pattern of the first reference signal resource and the specific sequence used may be system-level configurations, such as those predefined by the standard or determined according to resource pool configuration information. The resource pool configuration information may be preconfigured, or predefined by the standard, or configured by the access network device. The first UE sends scheduling information of the first reference signal resource and the first reference signal resource to the second UE. Specifically, the SCI1 and / or SCI2 sent by the first UE to the second UE may include the scheduling information of the first reference signal resource, such as using 1 bit to indicate the existence of the first reference signal resource. The second UE determines the existence of the first reference signal resource through the 1-bit information, and receives and measures the first reference signal according to the time-frequency pattern and sequence information predefined by the standard or configured by the resource pool.

[0127] Optionally, the first UE may further indicate at least one identifier of the second UE in the first PSCCH and / or the first PSSCH, wherein the first PSCCH is associated with the first PSSCH, or it may also be understood that the first PSCCH is used to schedule the first PSSCH. For example, the at least one identifier may include a layer 2 source ID used when the second UE sends the first clock synchronization information to the first UE, or may include one of the one or more unicast identifiers included in the first clock synchronization information. The at least one identifier may be included in the SCI2 and / or the media access control (MAC) protocol data unit (PDU), and the SCI2 and MAC PDU are carried in the first PSSCH. Alternatively, the at least one identifier may be included in the first MAC control element (CE), and the first MAC CE may also be carried in the first PSSCH. When the second UE detects the at least one identifier, the second UE may determine that the second UE needs to receive and measure the first reference signal resource, and determine that the second UE needs to perform step 2. The first PSCCH and / or the first PSSCH and the first reference signal resource may be located in the same time unit, for example, in the same time slot.

[0128] Optionally, the first UE may determine that the time when the first UE sends the first reference signal resource is t1.

[0129] Optionally, the second UE may determine that the time when the second UE receives the first reference signal resource is t2.

[0130] 2. The second UE sends a second reference signal resource and a first measurement result to the first UE, where the first measurement result is used to determine the time difference between the time the second UE receives the first reference signal resource and the time the second UE transmits the second reference signal resource, i.e., the aforementioned t3-t2. Optionally, when reporting the t3-t2 information, the second UE may only report the time difference between the time the second UE receives reference signal resource 1 and the boundary of a reference time slot or reference symbol. The configuration of the time-frequency pattern and specific sequence used for the second reference signal resource can refer to the relevant description of the first reference signal resource. The configuration information of the time-frequency pattern and specific sequence used for the first reference signal resource can be the same as or different from that of the second reference signal resource, and this is not limited in this embodiment of the present application. Specifically, the SCI1 and / or SCI2 sent by the second UE to the first UE may include scheduling information for the second reference signal resource, for example, using a single bit to indicate the presence of the first reference signal resource. The first UE determines the presence of the second reference signal resource based on this single bit of information and simultaneously receives and measures the second reference signal resource according to the time-frequency pattern and sequence information predefined by the standard or configured in the resource pool.

[0131] Optionally, the second UE may also indicate at least one identifier of the first UE in the second PSCCH or the second PSSCH, wherein the second PSCCH is associated with the second PSSCH, or it may also be understood that the second PSCCH is used to schedule the second PSSCH. For example, the at least one identifier may include the layer 2 source ID used by the first UE in step 1. The at least one identifier may be included in the SCI2 and / or MAC PDU, and the SCI2 and MAC PDU are carried in the second PSSCH. Alternatively, the at least one identifier may be carried in the second MAC CE, and the second MAC CE may also be carried in the second PSSCH. When the first UE detects the at least one identifier, the first UE may determine that the first UE needs to receive and measure the first reference signal resource to compensate for the propagation delay. The second PSCCH and / or the second PSSCH may be located in the same time unit as the first reference signal resource, for example, both are located in the same time slot.

[0132] Optionally, the second UE may determine that the time when the second UE sends the second reference signal resource is t3.

[0133] Optionally, the first UE may determine that the time when the first UE receives the second reference signal resource is t4.

[0134] Optionally, the second UE may further indicate the first measurement result in a third PSCCH or a third PSSCH. For example, the first measurement result is carried by the third PSCCH. For example, the third PSCCH includes a third SCI1, which includes information about the first measurement result. Alternatively, the first measurement result is carried by the third PSSCH, for example, the third PSSCH includes a third SCI2, which includes information about the first measurement result. Alternatively, the first measurement result may also be carried by the second PSSCH, for example, the second PSSCH includes a third MAC CE, which includes information about the first measurement result.

[0135] Optionally, the second measurement result may further include time-frequency position information of the first reference signal resource, for example, the time slot position where the first reference signal resource is located.

[0136] Optionally, the second UE may send the second measurement result and reference signal resource 2 in the same time slot (in this case, it may also be understood that the second PSCCH and the third PSCCH are the same PSCCH and / or the second PSSCH and the third PSSCH are the same PSSCH), or may send the second measurement result and reference signal resource 2 in different time slots. When the second UE sends the second measurement result and reference signal resource 2 in different time slots, at least one identifier of the first UE may be indicated in each time slot using the above method.

[0137] Through the above steps, the first UE and the second UE have completed the PDC process. The first UE can calculate a PDC result, such as the PD or RTT between the first UE and the second UE. The PDC result = (t4 – t1 – t3 + t2) / 2, so that the first UE can compensate for the time indicated by the first clock synchronization information based on the PDC result to complete clock synchronization with the second UE.

[0138] The PDC process is optional. Since the distance between devices communicating via SL is generally relatively close, the propagation delay between terminal devices is relatively small and will not significantly affect the accuracy of clock synchronization.

[0139] Optionally, the first clock synchronization information may include location information of the second UE. The first UE may determine whether PDC is required based on its own location and the location of the second UE, or may directly estimate the propagation delay based on the locations of the first UE and the second UE. The location of the second UE may be a location in a global coordinate system or a location in a local coordinate system.

[0140] Optionally, after completing clock synchronization with the first device, the first UE may continue to receive clock synchronization information from other devices. If the first UE receives clock synchronization information from a device with a higher clock synchronization priority than that of the first device, the first UE may complete clock synchronization with the device with a higher clock synchronization priority, thereby enabling the first UE to complete clock synchronization with the higher-priority clock synchronization reference source as much as possible to improve the accuracy of clock synchronization.

[0141] For example, after determining that the first device is the current clock synchronization reference source, or after completing clock synchronization with the first device, the first UE receives fifth clock synchronization information from a second device, where the second device is an access network device, a satellite device, or another UE other than the first UE. In this case, if the clock synchronization priority of the second device is higher than the clock synchronization priority of the first device, the first UE may select the second device as the current clock synchronization reference source.

[0142] For another example, if a first UE initially does not receive any clock synchronization information, it uses its local clock as the clock synchronization reference source. Later, the first UE receives fifth clock synchronization information from a second device, which may be an access network device, a satellite device, or another UE other than the first UE. The first UE may then select the second device as the current clock synchronization reference source.

[0143] Optionally, if the first UE cannot receive clock synchronization information from the first device within a period of time, the first UE may also synchronize clocks with other devices. For example, the duration of the period of time may be predefined by a standard, configured by a network device, or implemented by the UE itself.

[0144] The above process can also be understood as, after the first UE completes clock synchronization with the first device, if the first UE detects other clock synchronization reference sources with higher clock synchronization priority (for example, receives clock synchronization information from the clock synchronization reference source), or the first UE cannot receive clock synchronization information from the first device within a period of time, then the first UE can consider that the first UE currently has no clock synchronization reference source, and can reselect the clock synchronization reference source according to the relevant steps of this embodiment.

[0145] In the embodiments of the present application, a UE can also send clock synchronization information. For example, a UE outside the coverage of an access network device, although unable to receive clock synchronization information from the access network device, can still receive clock synchronization information from other UEs via the SL. The UE sending the clock synchronization information may be a UE that has already achieved clock synchronization with the network. Therefore, a UE outside the coverage of the access network device can also achieve synchronization with the network through clock synchronization information from other UEs, thereby increasing the probability of achieving clock synchronization between the UE and the network.

[0146] An embodiment of the present application provides another clock synchronization method. Please refer to Figure 6, which is a flowchart of the method.

[0147] S601. A first UE sends clock synchronization information, for example, sixth clock synchronization information. The sixth clock synchronization information may be used for clock synchronization with other UEs. For example, the first UE may send the sixth clock synchronization information using unicast, multicast, or broadcast. Optionally, the first UE may send the sixth clock synchronization information via a SL.

[0148] Before S601, the first UE has completed clock synchronization, then the first UE can execute S601. For example, the embodiment of the present application can be combined with the embodiment shown in Figure 3. For example, before S601, the first UE receives at least one clock synchronization information. The first UE can complete clock synchronization with the first device according to the target clock synchronization information in the at least one clock synchronization information in the manner described in the embodiment shown in Figure 3, wherein the target clock synchronization information comes from the first device. The first device may be another UE other than the first UE, an access network device, or a satellite device. Alternatively, the embodiment of the present application may not be combined with the embodiment shown in Figure 3. For example, before S601, the first UE may not receive any clock synchronization information. Then the first UE may select the local clock of the first UE as the current clock synchronization reference source (at this time, the local clock of the first UE can also be understood as the initial clock synchronization reference source of the first UE).

[0149] Optionally, even if the first UE completes clock synchronization, the first UE may execute S601 if the first condition is met. If the first UE does not meet the first condition, it is not necessary to execute S601. The first condition includes, for example, one or more of the following: the first UE is authorized to send clock synchronization information, the received power corresponding to the target clock synchronization information is less than or equal to a first threshold, the received power corresponding to the target clock synchronization information is greater than or equal to a second threshold, or the first UE does not select any device other than the first UE as the current clock synchronization reference source (it can also be understood that the first UE does not have a current clock synchronization reference source or a direct synchronization reference source).

[0150] For example, the first UE may be authorized by a network device to send clock synchronization information, and the network device may be an access network device or a core network device; or the first UE may also be authorized to send clock synchronization information in a pre-configured manner, for example, the chip of the first UE stores information that the first UE is authorized to send clock synchronization information.

[0151] For another example, before S601, the first UE has already received target clock synchronization information from the first device and has performed clock synchronization with the first device based on the target clock synchronization information. Then, if the received power corresponding to the target clock synchronization information is less than or equal to the first threshold, the first UE may send sixth clock synchronization information. For example, if the received power corresponding to the target clock synchronization information is less than or equal to the first threshold, it indicates that the first device is relatively far away from the first UE. Therefore, the first UE may send clock synchronization information to expand the coverage of the clock synchronization information and enable more devices to complete clock synchronization. For another example, if the received power corresponding to the target clock synchronization information is greater than the second threshold, it indicates that the target clock synchronization information is relatively reliable. Therefore, the first UE may send clock synchronization information again, which can both expand the coverage of the clock synchronization information and enable other UEs to synchronize to a more reliable clock synchronization reference source as much as possible. Optionally, the first threshold may be greater than or equal to the second threshold. The received power corresponding to the target clock synchronization information may be the received power measured by the first UE for the signal from the first device. For details about the parameters used to characterize the received power and how the first UE performs the measurement, please refer to the relevant description of the embodiment shown in Figure 3. Optionally, the received power may be replaced by other parameters that can measure link quality, such as signal-to-noise ratio or signal-to-interference-plus-noise ratio. The first threshold and / or second threshold may be configured by the network device, predefined by a standard, preconfigured, or configured by configuration information of a resource pool.

[0152] For another example, when the first UE does not receive any clock synchronization information, the first UE cannot select the current clock synchronization reference source. In this case, the first UE can send clock synchronization information to other UEs. After receiving the clock synchronization information from the first UE, the other UEs can complete clock synchronization with the first UE.

[0153] The sixth clock synchronization information may include information of a third moment (or a third timestamp), wherein the information of the third moment may indicate a specific time, for example, XX hours, XX minutes, XX seconds, etc. Optionally, the sixth clock synchronization information may also include information of a second time unit, wherein the second time unit is, for example, a frame or a direct frame (referred to as a second direct frame) or a time slot (referred to as a second time slot). The information of the second direct frame may include a second DFN, and the information of the second time slot may include an index of the second time slot. The third moment is the moment at which the boundary of the second time unit is located, for example, the moment at which the boundary of the second DFN is located or the moment at which the boundary of the second time slot is located. The second DFN is, for example, a reference DFN. The second DFN may be determined by the first UE itself, for example, the first UE determines a DFN as the first DFN by itself; or, the first UE may also determine a DFN as the first DFN according to the indication information of the network device. The second time slot is, for example, a reference time slot, and the method for determining the second time slot is similar to the method for determining the second DFN. The boundary of the second time unit may be the starting boundary or the ending boundary of the second time unit, for example, the boundary of the second DFN may be the starting boundary or the ending boundary of the second DFN; the boundary of the second time slot may be, for example, the starting boundary or the ending boundary of the second time slot. If the UE receiving the sixth clock synchronization information selects the first UE as the current clock synchronization reference source, the UE may achieve clock synchronization according to the sixth clock synchronization information. For example, the UE receiving the sixth clock synchronization information may determine that the moment of the boundary of the second time slot is the third moment based on the information of the third moment and the information of the second time slot included in the sixth clock synchronization information, thereby achieving clock synchronization between the UE and the first UE.

[0154] Optionally, the second time unit may be a default, predefined by a standard, or configured by high-layer information. For example, the second DFN or the second time slot may be a default, predefined by a standard, or configured by high-layer information. In this case, the sixth clock synchronization information may not include information about the second DFN or the second time slot. For example, if the standard predefines the second direct frame as the most recent direct frame with a DFN of 10, or the next direct frame with a DFN of 10, the UE receiving the sixth clock synchronization information may also complete clock synchronization with the first UE based on the sixth clock synchronization information.

[0155] Optionally, the sixth clock synchronization information may further include error estimation information corresponding to the third moment, for example, the sixth clock synchronization information includes the clock synchronization variance corresponding to the third moment, or for another example, the sixth clock synchronization information may include the confidence interval and confidence level corresponding to the third moment.

[0156] Optionally, the sixth clock synchronization information may further include (or indicate) one or more of the following: type information of the initial clock synchronization reference source of the first UE, number of hops between the first UE and the initial clock synchronization reference source of the first UE, information on whether the initial clock synchronization reference source of the first UE has completed time and frequency synchronization with the access network device, information on whether the first UE has completed time and frequency synchronization with the access network device, or at least one unicast identifier of the first UE. For more information on these parameters, please refer to the embodiment shown in Figure 3.

[0157] Optionally, before S601 , the first UE may complete clock synchronization according to the target clock synchronization information.

[0158] When the first UE selects an access network device (e.g., the first access network device) as the current clock synchronization reference source, if the sixth clock synchronization information includes type information of the initial clock synchronization reference source, the sixth clock synchronization information may indicate that the type of the initial clock synchronization reference source of the first UE is the access network device; if the sixth clock synchronization information includes hop count information between the first UE and the initial clock synchronization reference source of the first UE, the sixth clock synchronization information may indicate that the hop count between the first UE and the initial clock synchronization reference source of the first UE is 0 or 1. For details on how the first UE selects the access network device as the current clock synchronization reference source, please refer to the embodiment shown in FIG3 and will not be repeated here.

[0159] When the first UE selects a satellite device (e.g., a first satellite device) as the current clock synchronization reference source, if the sixth clock synchronization information includes type information of the initial clock synchronization reference source, the sixth clock synchronization information may indicate that the type of the initial clock synchronization reference source of the first UE is a satellite device; if the sixth clock synchronization information includes hop count information between the first UE and the initial clock synchronization reference source of the first UE, the sixth clock synchronization information may indicate that the hop count between the first UE and the initial clock synchronization reference source of the first UE is 0 or 1. For details on how the first UE selects a satellite device as the current clock synchronization reference source, reference may be made to the embodiment shown in Example FIG. 3 , and no further description is given here.

[0160] When the first UE receives the first clock synchronization information from another terminal device (for example, the second UE) and selects the second UE as the current clock synchronization reference source (that is, the target clock synchronization information is the first clock synchronization information), if the sixth clock synchronization information includes the type information of the initial clock synchronization reference source of the first UE, the sixth clock synchronization information may indicate that the type of the initial clock synchronization reference source of the first UE is the first device type. The first device type is the type of the initial clock synchronization reference source indicated by the first clock synchronization information. If the sixth clock synchronization information includes the number of hops between the first UE and the initial clock synchronization reference source of the first UE, the sixth clock synchronization information may indicate that the number of hops between the first UE and the initial clock synchronization reference source of the first UE is k+1. K is the number of hops between the initial clock synchronization reference source between the second UE and the second UE indicated by the first clock synchronization information. In particular, when k is the maximum number of hops that can be indicated with the initial clock synchronization reference source, the sixth clock synchronization information may indicate that the number of hops between the first UE and the initial clock synchronization reference source of the first UE is still k. If the sixth clock synchronization information includes information on whether the initial clock synchronization reference source of the first UE has completed time and frequency synchronization with the access network device, the first UE can determine whether the initial clock synchronization reference source of the first UE has completed time and frequency synchronization with the access network device based on the information on whether the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device indicated by the first clock synchronization information. For example, if the type of the initial clock synchronization reference source of the second UE is a terminal device, and the first clock synchronization information indicates that the initial clock synchronization reference source of the second UE has not completed time and frequency synchronization with the access network device, the sixth clock synchronization information can indicate that the initial clock synchronization reference source of the first UE has not completed time and frequency synchronization with the access network device. For another example, if the type of the initial clock synchronization reference source of the second UE is a terminal device, and the first clock synchronization information indicates that the initial clock synchronization reference source of the second UE has completed time and frequency synchronization with the access network device, the sixth clock synchronization information can indicate that the initial clock synchronization reference source of the first UE has completed time and frequency synchronization with the access network device. How the first UE selects other terminal devices as the current clock synchronization reference source can refer to the embodiment shown in Figure 3 and will not be repeated here.

[0161] Optionally, before S601, the first UE may also complete clock synchronization according to the local clock of the first UE, and the sixth clock synchronization information may indicate at least one of the following: the type of the initial clock synchronization reference source is a terminal device, whether the initial clock synchronization reference source of the first UE (i.e., the first UE itself) completes time and frequency synchronization with the access network device, or the number of hops between the first UE and the initial clock synchronization reference source of the first UE is 0.

[0162] Regarding whether the first UE completes time and frequency synchronization with the access network device, please refer to the relevant introduction on whether the second UE completes time and frequency synchronization with the access network device in the embodiment shown in Figure 3.

[0163] Regarding the application process of at least one unicast identifier of the first UE included in the third clock synchronization information, reference may be made to the introduction of the application process of the unicast identifier of the second UE included in the first clock synchronization information in the embodiment shown in FIG3 , and no further details will be given.

[0164] Optionally, after completing clock synchronization, the first UE may continue to receive clock synchronization information from other devices. If the first UE receives clock synchronization information from a device with a higher clock synchronization priority than the current clock synchronization reference source (e.g., the first UE or the first device), the first UE may complete clock synchronization with the device with a higher clock synchronization priority, thereby enabling the first UE to complete clock synchronization with the clock synchronization reference source with a higher priority as much as possible to improve the accuracy of clock synchronization.

[0165] For example, after completing clock synchronization, the first UE receives seventh clock synchronization information from a second device, which is an access network device, a satellite device, or another UE other than the first UE. If the second device's clock synchronization priority is higher than the first device's, the first UE may select the second device as the current clock synchronization reference source. For another example, when the first UE initially does not receive any clock synchronization information, the first UE's local clock is used as the clock synchronization reference source. Later, the first UE receives seventh clock synchronization information from a second device, which is an access network device, a satellite device, or another UE other than the first UE. The first UE may select the second device as the current clock synchronization reference source. This process may occur after S601 or before S601. If it occurs after S601, the first UE may continue to send clock synchronization information, such as the eighth clock synchronization information, after completing clock synchronization with the second device. The eighth clock synchronization information may be determined based on the seventh clock synchronization information. The determination method may refer to the method for determining the sixth clock synchronization information described above. Alternatively, if the process occurs before S601 , the sixth clock synchronization information may be determined based on the seventh clock synchronization information, rather than the target clock synchronization information.

[0166] Optionally, if the first UE is unable to receive clock synchronization information from the first device (the first device being the current clock synchronization reference source of the first UE) within a period of time, the first UE may also synchronize its clock with another device. For example, the duration of the period of time may be predefined by a standard, configured by a network device, or implemented by the UE itself.

[0167] The above process can also be understood as, after the first UE completes clock synchronization with the first device, if the first UE detects other clock synchronization reference sources with higher clock synchronization priority (for example, receives clock synchronization information from the clock synchronization reference source), or the first UE cannot receive clock synchronization information from the first device within a period of time, then the first UE can consider that the first UE currently has no clock synchronization reference source, and can reselect the clock synchronization reference source.

[0168] In an embodiment of the present application, the UE can also send clock synchronization information. For example, for a UE outside the coverage of the access network device, although it cannot receive clock synchronization information from the access network device, it can still receive clock synchronization information from other UEs through the SL. The UE that sends the clock synchronization information may be a UE that has already achieved clock synchronization with the network. Therefore, the UE outside the coverage of the access network device can also achieve synchronization with the network through clock synchronization information from other UEs, thereby increasing the probability of the UE achieving clock synchronization with the network. Moreover, in an embodiment of the present application, even a UE that has not received any clock synchronization information (for example, a UE outside the coverage of the access network or satellite equipment) can complete clock synchronization according to the local clock of the UE. After completing clock synchronization, the UE can also send clock synchronization information, thereby enabling clock synchronization between neighboring devices.

[0169] For example, referring to FIG7 , a schematic diagram of UE clock synchronization in an embodiment of the present application is shown. For example, initially, UE C and UE D are far away from UE B, and UE C and UE D are also far away from the access network device. For example, UE C and UE D are outside the coverage of the access network device. In this case, two clock synchronization domains can be formed, wherein the access network device in clock synchronization domain 1 can send clock synchronization information 1 (the second type of clock synchronization information), thereby enabling UE A to synchronize its clock with the access network device according to clock synchronization information 1. After completing clock synchronization, UE A can send clock synchronization information 2 (the first type of clock synchronization information), thereby enabling UE B to also indirectly synchronize its clock with the access network device through clock synchronization information 2.

[0170] In clock synchronization domain 2, UE C cannot receive clock synchronization information. Therefore, UE C uses its local clock as the initial clock synchronization reference source. UE C can also send clock synchronization information 3 (the first type of clock synchronization information), and UE D can synchronize its clock with UE C based on clock synchronization information 3.

[0171] It can be seen that initially, the initial clock synchronization reference source of clock synchronization domain 1 is the access network device, and the initial clock synchronization reference source of clock synchronization domain 2 is UE C. Therefore, the clocks in these two clock synchronization domains may not be synchronized initially. However, since the two clock synchronization domains are far apart, they will not interfere with each other. However, considering that UEs have certain mobility, for example, UE C and UE D may move to the vicinity of UE B. At this time, UE B may receive clock synchronization information from UE A and UE C at the same time, but the clock synchronization priority of UE A is higher than the clock synchronization priority of UE C. Therefore, UE B will still maintain clock synchronization with the access network device. In addition, UE B can also send clock synchronization information 4 (the first type of clock synchronization information), which enables UE C and UE D to synchronize the clocks with the access network device according to clock synchronization information 4. It can be seen that the method provided in the embodiment of the present application can enable more devices to be synchronized to the same clock synchronization reference source, thereby improving the clock consistency between devices.

[0172] FIG8 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device 800 may be the first UE or the circuit system of the first UE described in the embodiment shown in FIG3 or FIG6, and is configured to implement the method corresponding to the first UE in the above method embodiment. For example, one circuit system is a chip system.

[0173] The communication device 800 includes at least one processor 801. Processor 801 can be used for internal processing of the device to implement certain control processing functions. Optionally, processor 801 includes instructions. Optionally, processor 801 can store data. Optionally, different processors can be independent devices, located in different physical locations, or on different integrated circuits. Optionally, different processors can be integrated into one or more processors, for example, on one or more integrated circuits.

[0174] Optionally, the communication device 800 includes one or more memories 803 for storing instructions. Optionally, data may also be stored in the memories 803. The processor and memory may be provided separately or integrated together.

[0175] Optionally, the communication device 800 includes a communication line 802 and at least one communication interface 804. Since the memory 803, the communication line 802 and the communication interface 804 are all optional, they are indicated by dotted lines in FIG8 .

[0176] Optionally, the communication device 800 may further include a transceiver and / or an antenna. The transceiver may be used to send information to or receive information from other devices. The transceiver may be referred to as a transceiver, a transceiver circuit, an input / output interface, etc., and is used to implement the transceiver function of the communication device 800 through the antenna. Optionally, the transceiver includes a transmitter and a receiver. For example, the transmitter may be used to generate a radio frequency signal from a baseband signal, and the receiver may be used to convert the radio frequency signal into a baseband signal.

[0177] The processor 801 may include a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0178] Communication link 802 may include a pathway for transmitting information between the aforementioned components.

[0179] The communication interface 804 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), wired access network, etc.

[0180] The memory 803 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device 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, an optical disc storage (including a compact 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 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 803 may exist independently and be connected to the processor 801 via the communication line 802. Alternatively, the memory 803 may be integrated with the processor 801.

[0181] The memory 803 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 801. The processor 801 is used to execute the computer-executable instructions stored in the memory 803, thereby implementing the steps performed by the first UE in the embodiment shown in Figure 3 or Figure 6.

[0182] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.

[0183] In a specific implementation, as an embodiment, the processor 801 may include one or more CPUs, such as CPU0 and CPU1 in FIG8 .

[0184] In a specific implementation, as an embodiment, the communication device 800 may include multiple processors, such as the processor 801 and the processor 805 in FIG8 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0185] When the device shown in FIG8 is a chip, such as a chip of a first UE, the chip includes a processor 801 (and may also include a processor 805), a communication circuit 802, and a communication interface 804. Optionally, the chip may include a memory 803. Specifically, the communication interface 804 may be an input interface, a pin, or a circuit. The memory 803 may be a register, a cache, or the like. The processor 801 and the processor 805 may be a general-purpose CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of a program of the clock synchronization method of any of the above-described embodiments.

[0186] The embodiment of the present application can divide the functional modules of the device according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, in the case of dividing each functional module according to each function, Figure 9 shows a schematic diagram of a device, and the device 900 can be the first UE involved in the above-mentioned various method embodiments, or a chip in the first UE. The device 900 includes a sending unit 901, a processing unit 902 and a receiving unit 903.

[0187] It should be understood that the device 900 can be used to implement the steps performed by the first UE in the clock synchronization method of the embodiment of the present application. The relevant features can refer to any of the embodiments shown in Figures 3 or 6 above, and will not be repeated here.

[0188] Optionally, the functions / implementation processes of the sending unit 901, the receiving unit 903, and the processing unit 902 in FIG9 can be implemented by the processor 801 in FIG8 calling computer-executable instructions stored in the memory 803. Alternatively, the functions / implementation processes of the processing unit 902 in FIG9 can be implemented by the processor 801 in FIG8 calling computer-executable instructions stored in the memory 803, and the functions / implementation processes of the sending unit 901 and the receiving unit 903 in FIG9 can be implemented by the communication interface 804 in FIG8.

[0189] Optionally, when the device 900 is a chip or a circuit, the functions / implementation processes of the sending unit 901 and the receiving unit 903 can also be implemented through pins or circuits.

[0190] The present application also provides a computer-readable storage medium, which stores a computer program or instruction. When the computer program or instruction is executed, the method performed by the first UE in the aforementioned method embodiment is implemented. In this way, the functions described in the above embodiments can be implemented in the form of software functional units and sold or used as independent products. Based on this understanding, the technical solution of the present application can be essentially or in other words, the part that contributes or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. Storage media include: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0191] The present application also provides a computer program product, which includes: computer program code, which, when running on a computer, enables the computer to execute the method executed by the first UE in any of the aforementioned method embodiments.

[0192] An embodiment of the present application further provides a processing device, including a processor and an interface; the processor is used to execute the method executed by the first UE involved in any of the above method embodiments.

[0193] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0194] The various illustrative logic units and circuits described in the embodiments of the present application can be implemented or operated by a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.

[0195] The steps of the methods or algorithms described in the embodiments of the present application can be directly embedded in hardware, software units executed by a processor, or a combination of the two. The software unit can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (EPROM), EEPROM, registers, hard disks, removable disks, CD-ROMs, or other storage media in any form known in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and write information to the storage medium. Alternatively, the storage medium can also be integrated into the processor. The processor and storage medium can be provided in an ASIC, which can be provided in a terminal device. Alternatively, the processor and storage medium can also be provided in different components in the terminal device.

[0196] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0197] The contents of the various embodiments of this application can refer to each other. If there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0198] It is understood that in the embodiments of the present application, the first UE may perform some or all of the steps in the embodiments of the present application. These steps or operations are merely examples. In the embodiments of the present application, other operations or variations of various operations may also be performed. In addition, the various steps may be performed in a different order than those presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be performed.

Claims

1. A clock synchronization method, characterized in that: The method applied to the first terminal device or the chip of the first terminal device includes: Receiving at least one clock synchronization information, wherein the at least one clock synchronization information includes first clock synchronization information, and the first clock synchronization information is received from the second terminal device through a side link; A clock synchronization reference source is selected according to the at least one clock synchronization information.

2. The method according to claim 1, characterized in that The first clock synchronization information includes: Information of a first moment and information of a first time unit, wherein the first moment is the moment at which a boundary of the first time unit is located.

3. The method according to claim 2, characterized in that The first clock synchronization information also includes one or more of the following: Type information of the initial clock synchronization reference source of the second terminal device; or, Information about the number of hops between the second terminal device and an initial clock synchronization reference source of the second terminal device; or, Information on whether the initial clock synchronization reference source of the second terminal device has completed time and frequency synchronization with the access network device; The types of the initial clock synchronization reference source include access network equipment, satellite equipment or terminal equipment.

4. The method according to any one of claims 1 to 3, characterized in that: The at least one clock synchronization information further includes second clock synchronization information and / or third clock synchronization information, the second clock synchronization information comes from the first access network device, and the third clock synchronization information comes from the first satellite device; wherein selecting a clock synchronization reference source according to the at least one clock synchronization information includes: According to the clock synchronization priority of the second terminal device, the first access network device and / or the first satellite device, the first device is selected as the clock synchronization reference source, and the first device is the device with the highest clock synchronization priority among the second terminal device, the first access network device and / or the first satellite device.

5. The method according to claim 4, characterized in that The clock synchronization priority order from high to low includes: The clock synchronization priority of the satellite device is higher than the clock synchronization priority of the terminal device that uses the satellite device as the initial clock synchronization reference source, the clock synchronization priority of the terminal device that uses the satellite device as the initial clock synchronization reference source is higher than the clock synchronization priority of the access network device, the clock synchronization priority of the access network device is higher than the clock synchronization priority of the terminal device that uses the access network device as the initial clock synchronization reference source, the clock synchronization priority of the terminal device that uses the access network device as the initial clock synchronization reference source is higher than the clock synchronization priority of the terminal device that uses the terminal device as the initial clock synchronization reference source; or, The clock synchronization priority of the access network device is higher than that of the terminal device that uses the access network device as the initial clock synchronization reference source. The clock synchronization priority of the terminal device that uses the access network device as the initial clock synchronization reference source is higher than that of the satellite device. The clock synchronization priority of the satellite device is higher than that of the terminal device that uses the satellite device as the initial clock synchronization reference source. The clock synchronization priority of the terminal device that uses the satellite device as the initial clock synchronization reference source is higher than the clock synchronization priority of the terminal device that uses the terminal device as the initial clock synchronization reference source.

6. The method according to claim 5, characterized in that The at least one clock synchronization information further includes fourth clock synchronization information, and the fourth clock synchronization information comes from a third terminal device. The clock synchronization priority of the second terminal device is higher than the clock synchronization priority of the third terminal device; wherein, The first clock synchronization information indicates that the type of the initial clock synchronization reference source of the second terminal device is a terminal device, and indicates that the initial clock synchronization reference source of the second terminal device has completed time and frequency synchronization with the access network device. The fourth clock synchronization information indicates that the type of the initial clock synchronization reference source of the third terminal device is a terminal device, and indicates that the initial clock synchronization reference source of the third terminal device has not completed time and frequency synchronization with the access network device.

7. The method according to claim 5, characterized in that The at least one clock synchronization information further includes fourth clock synchronization information, and the fourth clock synchronization information comes from a third terminal device. The clock synchronization priority of the second terminal device is higher than the clock synchronization priority of the third terminal device; wherein, The first clock synchronization information indicates that the number of hops between the second terminal device and the initial clock synchronization reference source of the second terminal device is a first number, and the fourth clock synchronization information indicates that the number of hops between the third terminal device and the initial clock synchronization reference source of the third terminal device is a second number, and the first number is smaller than the second number, wherein the type of the initial clock synchronization reference source of the second terminal device indicated by the first clock synchronization information is the same as the type of the initial clock synchronization reference source of the third terminal device indicated by the fourth clock synchronization information.

8. The method according to any one of claims 1 to 7, characterized in that: Selecting a clock synchronization reference source according to the at least one clock synchronization information includes: selecting a clock synchronization reference source according to the at least one clock synchronization information The second terminal device is a clock synchronization reference source; The method further comprises: Determine a propagation delay and / or a round-trip transmission time RTT between the second terminal device and the second terminal device; Perform clock synchronization with the second terminal device according to the propagation delay and / or the RTT, and the first clock synchronization information.

9. The method according to claim 8, characterized in that The first clock synchronization information is multicast information or broadcast information. The first clock synchronization information also includes a first unicast identifier of the second terminal device. The first unicast identifier is used for unicast communication between the second terminal device and the first terminal device.

10. The method according to claim 9, characterized in that The method further comprises: The first unicast identifier is used to configure a reference signal with the second terminal device, and / or the first unicast identifier is used to configure measurement result reporting with the second terminal device, and the measurement result is used to determine the propagation delay and / or the RTT between the first terminal device and the second terminal device.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: receiving fifth clock synchronization information from a second device, where the second device is an access network device, a satellite device, or other terminal device; If the clock synchronization priority of the second device is higher than the clock synchronization priority of the first device, the second device is selected as the clock synchronization reference source, and the first device is the selected clock synchronization reference source.

12. The method according to any one of claims 1 to 11, characterized in that: The at least one clock synchronization information further includes second clock synchronization information from the first access network device, wherein the second clock synchronization information includes information of a second time. The second moment is the moment at which the boundary of the first system frame is located, and the second clock synchronization information also includes a frame number of the first system frame, or, The second moment is the moment at which the boundary of the first system information window is located, and the first system information window is used to determine the transmission time of the first system information.

13. The method according to any one of claims 1 to 12, characterized in that: The at least one clock synchronization information further includes third clock synchronization information from the first satellite device.

14. A clock synchronization method, characterized in that: The method is applied to the first terminal device or the chip of the first terminal device, and further includes: Sending sixth clock synchronization information, where the sixth clock synchronization information is used for clock synchronization of other terminal devices, and the sixth clock synchronization information includes: The third moment is information of the second time unit, and the third moment is information of the second time unit. The third moment is the moment at which the boundary of the second time unit is located.

15. The method according to claim 14, characterized in that The sixth clock synchronization information also includes one or more of the following: Type information of the initial clock synchronization reference source of the first terminal device; or, Information about the number of hops between the first terminal device and an initial clock synchronization reference source of the first terminal device; or, Information on whether the initial clock synchronization reference source of the first terminal device has completed time and frequency synchronization with the access network device; The types of the initial clock synchronization reference source include access network equipment, satellite equipment or terminal equipment.

16. The method according to claim 15, characterized in that Before sending the sixth clock synchronization information, the first clock synchronization information is received from the second terminal device through the side link, and the first terminal device selects the second terminal device as a clock synchronization reference source; wherein, The first clock synchronization information includes type information of an initial clock synchronization reference source of the second terminal device, the type of the initial clock synchronization reference source indicated by the type information of the initial clock synchronization reference source included in the sixth clock synchronization information is the same as the type of the initial clock synchronization reference source indicated by the type information of the initial clock synchronization reference source included in the first clock synchronization information, and / or, The first clock synchronization information includes the hop count information between the second terminal device and an initial clock synchronization reference source of the second terminal device, and the hop count information included in the sixth clock synchronization information indicates the hop count indicated by the first clock synchronization information plus 1.

17. The method according to claim 15, characterized in that The method further comprises: The local clock of the first terminal device is selected as the clock synchronization reference source, wherein the type of the initial clock synchronization reference source of the first terminal device indicated by the sixth clock synchronization information is a terminal device, and / or the number of hops indicated by the hop number information included in the sixth clock synchronization information is 0.

18. The method according to claim 15, characterized in that The method further comprises: Select the first access network device as the clock synchronization reference source, wherein the sixth clock synchronization information includes the initial clock synchronization reference source The type information indicates that the type of the initial clock synchronization reference source is an access network device, and / or the hop number information included in the sixth clock synchronization information indicates that the hop number is 0 or 1.

19. The method according to claim 15, characterized in that The method further comprises: A first satellite device is selected as a clock synchronization reference source, wherein the type information of the initial clock synchronization reference source included in the sixth clock synchronization information indicates that the type of the initial clock synchronization reference source is a satellite device, and / or the number of hops indicated by the number of hops included in the sixth clock synchronization information is 0 or 1.

20. The method according to any one of claims 14 to 19, characterized in that: The sixth clock synchronization information also includes at least one unicast identifier of the first terminal device, and any one of the at least one unicast identifier is used for unicast communication between the first terminal device and other terminal devices.

21. The method according to any one of claims 14 to 20, characterized in that: Send the sixth clock synchronization information, including: The sixth clock synchronization information is sent when a first condition is met, wherein the first condition includes at least one of the following: The first terminal device is authorized to send clock synchronization information; The first terminal device receives target clock synchronization information from a first device, and determines that the first device is a clock synchronization reference source, wherein the receiving power corresponding to the target clock synchronization information is less than or equal to a first threshold, and the first device is an access network device, a satellite device, or other terminal device; The first terminal device receives target clock synchronization information from a first device, and determines that the first device is a clock synchronization reference source, wherein the receiving power corresponding to the target clock synchronization information is greater than or equal to a second threshold, and the first device is an access network device, a satellite device, or other terminal device; or, The first terminal device does not select any device other than the first terminal device as a clock synchronization reference source.

22. A communication device, characterized in that: The communication device comprises a processing unit and a transceiver unit, wherein the processing unit is coupled to the transceiver unit to execute the method according to any one of claims 1 to 13, or execute the method according to any one of claims 14 to 21.

23. A communication device, characterized in that: The communication device includes a processor and a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the communication device performs the method as claimed in any one of claims 1 to 13, or the communication device performs the method as claimed in any one of claims 14 to 21.

24. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 13, or the computer is caused to execute the method according to any one of claims 14 to 21.

25. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 13, or the computer is caused to execute the method according to any one of claims 14 to 21.

26. A chip system, characterized in that: The chip system comprises: A processor and an interface, wherein the processor is used to call and run instructions from the interface, and when the processor executes the instructions, the method according to any one of claims 1 to 13 is implemented, or the method according to any one of claims 14 to 21 is implemented.

Citation Information

Patent Citations

  • Cross-domain clock synchronization method, device thereof and cross-domain clock synchronization system

    CN105634714A

  • Clock synchronization method and device and storage medium

    CN111385050A

  • Synchronous communication method and terminal

    CN112512113A

  • Method and device for determining synchronous reference source

    CN115529858A

  • Clock synchronization method and communication device

    CN115696545A