Communication method, device and system
By receiving messages from the access network equipment, the terminal maintains time synchronization with the access network equipment in the inactive or idle state, which solves the problem of low time synchronization accuracy in the existing technology and realizes the time synchronization between the terminal and the access network equipment. High-precision synchronization over long periods of time.
Patent Information
- Application Number
- CN202310340680.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-09-27
AI Technical Summary
In communication systems, there are challenges in maintaining time synchronization between terminals and access network equipment for a long time. The existing technology has low timing accuracy in the non-connected state, and is limited by clock capabilities in the connected state, making it easy to lose time synchronization.
Receive messages from access network equipment through the terminal, determine the time when the message is received, to achieve time synchronization with the access network equipment, and continue to maintain synchronization in the inactive state or idle state, and use existing messages to reuse existing messages to reduce implementation difficulty , or define new messages to increase flexibility.
It achieves time synchronization between the terminal and the access network equipment for a long time, improves the timing accuracy in the non-connected state, and reduces the frequency of time synchronization errors in the connected state.
Smart Images

Figure CN118714636A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a communication method, device and system. Background Art
[0002] In a communication system, the network can send time to the terminal to ensure that the network and terminal time are synchronized. For example, the access network device broadcasts system information block (SIB) 9, and SIB9 can carry the time when the access network device broadcasts SIB9. The terminal can send an uplink message to the access network device based on SIB9. The access network device can determine the air interface transmission delay between the terminal and the access network device based on the uplink message, such as timing advance (TA), and send TA to the terminal through a downlink message. In this way, the terminal can determine the terminal time based on TA and the time when the access network device broadcasts SIB9, so as to achieve synchronization with the time of the access network device.
[0003] However, how to keep the time of the terminal and the network synchronized for a long time is a hot research issue. Summary of the invention
[0004] The embodiments of the present application provide a communication method, apparatus and system for enabling a terminal and an access network device to maintain time synchronization for a long period of time.
[0005] In order to achieve the above purpose, this application adopts the following technical solutions:
[0006] In a first aspect, a communication method is provided, the method comprising: a terminal receives a first message from a first access network device, the first message being used to indicate the time when the first access network device sends the first message. The terminal determines the time when the terminal receives the first message according to the time when the first access network device sends the first message, the time when the first access network device sends the second message, and the time when the terminal receives the second message. The second message is a message sent by the first access network device before sending the first message, and the time when the terminal receives the second message is the time when the terminal is synchronized with the first access network device. In this way, the terminal determines the time when the terminal receives the first message as the time when the terminal is synchronized with the first access network device.
[0007] Based on the methods of the first aspect and the second aspect, it can be known that after the terminal and the first access network device have completed time synchronization through the second message, the first access network device can still continue to send the first message to the terminal to indicate the time when the first access network device sends the first message. In this way, the terminal can continue to determine the time of the terminal synchronized with the first access network device based on the previously synchronized time, such as the time when the first access network device sends the second message and the time when the terminal receives the second message, as well as the time when the first access network device sends the first message, so as to achieve that the terminal and the access network device can maintain time synchronization for a long time.
[0008] In one possible design scheme, the terminal receives a first message from a first access network device, including: when the terminal is in an inactive state or an idle state, the terminal receives a first message broadcast by the first access network device, so that the terminal can maintain time synchronization with the first access network device for a long time in the inactive state or the idle state.
[0009] Optionally, the first message is a system information block SIB, that is, it can be implemented by reusing an existing broadcast message to reduce the difficulty of implementation. Alternatively, the first message can also be a newly defined message to achieve decoupling from existing messages and more flexible information transmission.
[0010] In another possible design scheme, the terminal receives a first message from a first access network device, including: when the terminal is in a connected state, the terminal receives a first message that is unicast or broadcast by the first access network device to the terminal, so that the terminal can maintain time synchronization with the first access network device for a long time in the connected state.
[0011] Optionally, the first message is a radio resource control RRC message, that is, it can be implemented by reusing an existing unicast message to reduce the difficulty of implementation. Alternatively, the first message can also be a newly defined message to achieve decoupling from existing messages and more flexible information transmission.
[0012] In a possible design scheme, the first message is also used to indicate the time when the first access network device sends the second message, that is, one message can be reused to indicate multiple times to improve communication efficiency.
[0013] Optionally, the second message is used to indicate the time when the first access network device sends the second message, and the method described in the first aspect may also include: the terminal determines the correspondence between the time when the first access network device sends the second message and the time when the terminal receives the second message. In the case where the terminal receives the first message, the method described in the first aspect may also include: the terminal determines the time when the terminal receives the second message from the correspondence based on the time when the first access network device sends the second message indicated by the first message, so as to avoid synchronization failure caused by the terminal using other times to perform time synchronization.
[0014] In a possible design scheme, the terminal determines the time when the terminal receives the first message based on the time when the first access network device sends the first message, the time when the first access network device sends the second message, and the time when the terminal receives the second message, including: the terminal determines the time difference between the time when the first access network device sends the first message and the time when the first access network device sends the second message, and determines the time when the terminal receives the first message based on the time difference and the time when the terminal receives the second message.
[0015] It can be understood that since the time when the first access network device sends the second message is the time when the terminal is synchronized with the first access network device, and the time difference is the time difference between two time synchronizations executed by the first access network device, the terminal adds the time difference to the time when the first access network device sends the second message, and thus can obtain the time when the terminal continues to maintain synchronization with the first access network device, so as to continue to maintain time synchronization with the first access network device.
[0016] Optionally, the second message is the latest message received by the terminal for time synchronization before receiving the first message, or it can be any message used for time synchronization, as long as the terminal and the first access network device can agree on which message to use, without specific limitation.
[0017] In a second aspect, a communication method is provided, the method comprising: a first access network device receives indication information, the indication information being used to indicate that the access network device needs to maintain time synchronization with a terminal. In response to the indication information, the first access network device sends a first message. The first message is used to indicate a time when the first access network device sends the first message, and the time when the first access network device sends the first message is used by the terminal to maintain time synchronization with the first access network device.
[0018] It can be understood that the indication message can be a message sent after the terminal completes time synchronization with the first access network device. In this case, before the first access network device sends the indication message, the terminal can first use the solution of the existing technology (such as the second message) to complete the time synchronization with the first access network device. After the first access network device sends the indication message, the terminal uses the solution of the present application (such as the first message) to maintain time synchronization with the first access network device. For details, please refer to the relevant introduction of the first aspect above, which will not be repeated here. Alternatively, the indication message can also be a message sent before the terminal completes time synchronization with the first access network device, or it can also be a message sent together with the message used by the first access network device to complete time synchronization with the terminal. In this case, the terminal can also first use the solution of the existing technology to complete time synchronization with the first access network device, and then use the solution of the present application to maintain time synchronization with the first access network device. For details, please refer to the relevant introduction of the first aspect above, which will not be repeated here.
[0019] In one possible design scheme, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in an inactive state or an idle state; the first access network device sends a first message, including: when the terminal is in an inactive state or an idle state, the first access network device broadcasts the first message.
[0020] Optionally, the first message is a system message block SIB.
[0021] In another possible design scheme, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in a connected state; the first access network device sends a first message, including: when the terminal is in a connected state, the first access network device unicasts or broadcasts the first message to the terminal.
[0022] Optionally, the first message is a radio resource control RRC message.
[0023] In a possible design scheme, the method described in the second aspect may also include: the first access network device receives the clock capability of the terminal, and determines the sending time of the first message according to the clock capability of the terminal. In this way, the first access network device sends the first message, including: the first access network device sends the first message at the sending time of the first message to avoid the time error of the terminal being too large and causing the service to be affected.
[0024] In a possible design scheme, the first message is also used to indicate the time when the first access network device sends the second message.
[0025] Optionally, the method described in the second aspect may further include: after the first access network device sends the second message to the terminal, the first access network device saves the time when the first access network device sends the second message.
[0026] In a possible design scheme, the second message is a latest message sent by the first access network device among messages for time synchronization sent before sending the first message.
[0027] In a possible design scheme, the method described in the second aspect may also include: when the terminal reselects from the first access network device to the second access network device, the first access network device determines to stop sending the first message to avoid unnecessary communication overhead caused by sending redundant messages.
[0028] In addition, the technical effects of the method described in the second aspect can also refer to the technical effects of the method described in the first aspect, and will not be repeated here.
[0029] In a third aspect, a communication method is provided, the method comprising: a core network element obtains indication information, and sends the indication information to a first access network device, wherein the indication information is used to indicate that the access network device needs to maintain time synchronization with a terminal, and the first access network device is an access network device to which the terminal accesses, so that the first access network device can maintain time synchronization with the terminal according to the indication information. Specifically, the maintenance of time synchronization can refer to the relevant introduction of the first and second aspects above, which will not be repeated here.
[0030] In a possible design, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in an inactive state or an idle state. Alternatively, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in a connected state.
[0031] In a possible design scheme, the core network element obtains the indication information, including: the core network element obtains the subscription data of the terminal, wherein the subscription data of the terminal includes the indication information.
[0032] In a possible design scheme, the method described in the third aspect may also include: the core network element receives the clock capability of the terminal from the application function, and sends the clock capability of the terminal to the first access network device. The clock capability of the terminal is used by the access network device to determine the timing for the access network device to synchronize time with the terminal.
[0033] In addition, the technical effects of the method described in the third aspect can also refer to the technical effects of the method described in the first aspect, and will not be repeated here.
[0034] In a fourth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the first aspect, such as a transceiver module and a processing module. For example, the transceiver module is used to indicate the transceiver function of the communication device, and the processing module is used to execute functions of the communication device other than the transceiver function.
[0035] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the fifth aspect, and the receiving module is used to implement the receiving function of the communication device described in the fourth aspect.
[0036] Optionally, the communication device described in the fourth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the method described in the first aspect.
[0037] It can be understood that the communication device described in the fourth aspect can be a terminal, or a chip (system) or other parts or components that can be set in the terminal, or a device including a terminal, which is not limited in this application.
[0038] In addition, the technical effects of the communication device described in the fourth aspect can refer to the technical effects of the method described in the first aspect, and will not be repeated here.
[0039] In a fifth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the second aspect, such as a transceiver module and a processing module. For example, the transceiver module is used to indicate the transceiver function of the communication device, and the processing module is used to execute functions of the communication device other than the transceiver function.
[0040] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the fifth aspect, and the receiving module is used to implement the receiving function of the communication device described in the fifth aspect.
[0041] Optionally, the communication device described in the fifth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the method described in the second aspect.
[0042] It can be understood that the communication device described in the fifth aspect can be a network device, such as an access network device, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device, which is not limited in this application.
[0043] In addition, the technical effects of the communication device described in the fifth aspect can refer to the technical effects of the method described in the second aspect, and will not be repeated here.
[0044] In a sixth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the third aspect, such as a transceiver module and a processing module. For example, the transceiver module is used to indicate the transceiver function of the communication device, and the processing module is used to execute functions of the communication device other than the transceiver function.
[0045] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the sixth aspect, and the receiving module is used to implement the receiving function of the communication device described in the sixth aspect.
[0046] Optionally, the communication device described in the sixth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the method described in the third aspect.
[0047] It can be understood that the communication device described in the sixth aspect can be a network device, such as a core network element, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device, which is not limited in this application.
[0048] In addition, the technical effects of the communication device described in the sixth aspect can refer to the technical effects of the method described in the third aspect, and will not be repeated here.
[0049] In a seventh aspect, a communication device is provided, including: a processor, the processor being configured to execute the method described in any possible implementation manner of the first aspect to the third aspect.
[0050] In a possible design solution, the communication device described in the seventh aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the seventh aspect to communicate with other communication devices.
[0051] In a possible design scheme, the communication device described in the seventh aspect may also include a memory. The memory may be integrated with the processor or may be separately provided. The memory may be used to store the computer program and / or data involved in the method described in any one of the first aspect to the third aspect.
[0052] In an embodiment of the present application, the communication device described in the seventh aspect may be a terminal or a network device, or a chip (system) or other parts or components that can be set in the terminal or the network device, or a device that includes the terminal or the network device.
[0053] In addition, the technical effects of the communication device described in the seventh aspect can refer to the technical effects of the method described in any one of the implementation methods of the first aspect to the third aspect, and will not be repeated here.
[0054] In an eighth aspect, a communication device is provided, comprising: a processor, the processor being coupled to a memory, the processor being configured to execute a computer program stored in the memory, so that the communication device executes the method described in any possible implementation manner in the first to third aspects.
[0055] In a possible design solution, the communication device described in the eighth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the eighth aspect to communicate with other communication devices.
[0056] In an embodiment of the present application, the communication device described in the eighth aspect may be a terminal or a network device, or a chip (system) or other parts or components that can be set in the terminal or the network device, or a device that includes the terminal or the network device.
[0057] In addition, the technical effects of the communication device described in the eighth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first aspect to the third aspect, and will not be repeated here.
[0058] In the ninth aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the communication device executes the method described in any one of the implementation methods of the first to third aspects.
[0059] In a possible design scheme, the communication device described in the ninth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the ninth aspect to communicate with other communication devices.
[0060] In an embodiment of the present application, the communication device described in the ninth aspect may be a terminal or a network device, or a chip (system) or other parts or components that can be set in the terminal or the network device, or a device that includes the terminal or the network device.
[0061] In addition, the technical effects of the communication device described in the ninth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first to third aspects, and will not be repeated here.
[0062] In a tenth aspect, a communication system is provided. The communication system includes at least one of the following: a terminal, a first access network device, and a core network element. The terminal is used to execute the method described in the first aspect, the first access network device is used to execute the method described in the second aspect, and the core network element is used to execute the method described in the third aspect.
[0063] In the eleventh aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer executes the method described in any possible implementation method of the first to third aspects.
[0064] In a twelfth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, enables the computer to execute the method described in any possible implementation of the first to third aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a schematic diagram of the architecture of a 5G mobile communication system;
[0066] Figure 2 Schematic diagram of the architecture for opening up the timing function for 5G networks;
[0067] Figure 3 It is a schematic diagram of the TA-based process;
[0068] Figure 4 This is a schematic diagram of the RTT-based process;
[0069] Figure 5 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0070] Figure 6 Schematic diagram of the communication method provided in the embodiment of the present application Figure 1 ;
[0071] Figure 7 Schematic diagram of the communication method provided in the embodiment of the present application Figure 2 ;
[0072] Figure 8 Schematic diagram of the communication method provided in the embodiment of the present application Figure 3 ;
[0073] Fig. 9 Schematic diagram of the communication method provided in the embodiment of the present application Figure 4 ;
[0074] Fig.10 Schematic diagram of the communication method provided in the embodiment of the present application Figure 5 ;
[0075] Fig.11 Schematic diagram of the communication method provided in the embodiment of the present application Figure 6 ;
[0076] Fig.12 Schematic diagram of the communication method provided in the embodiment of the present application Figure 7 ;
[0077] Fig.13 Schematic diagram of the communication method provided in the embodiment of the present application Figure 8 ;
[0078] Fig.14 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 1 ;
[0079] Fig.15 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0080] For ease of understanding, the technical terms involved in the embodiments of the present application are first introduced below.
[0081] 1. Fifth generation (5G) mobile communication system (referred to as 5G system (5G system, 5GS)):
[0082] Figure 1 Figure 5 is a schematic diagram of the structure of 5GS. Figure 1 As shown, 5GS includes: access network (AN) and core network (CN), and may also include: terminals.
[0083] The terminal may be a terminal with transceiver functions, or a chip or chip system that can be set in the terminal. The terminal may also be called user equipment (UE), access terminal, subscriber unit, user station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal in the embodiments of the present application can be a mobile phone, a cellular phone, a smart phone, a tablet computer, a wireless data card, a personal digital assistant (PDA), a wireless modem, a handset, a laptop computer, a machine type communication (MTC) terminal, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a vehicle-mounted terminal, a road side unit (RSU) with terminal function, etc. The terminal of the present application may also be a vehicle-mounted module, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit built into the vehicle as one or more components or units.
[0084] The above AN is used to implement access-related functions, can provide network access functions for authorized users, and can determine transmission links of different qualities to transmit user data according to the user level, business requirements, etc. AN forwards control signals and user data between the terminal and CN. AN can include: access network equipment, which can also be called radio access network equipment (RAN) equipment.
[0085] CN is mainly responsible for maintaining the subscription data of the mobile network and providing functions such as session management, mobility management, policy management and security authentication for terminals. CN mainly includes all or part of the following functions: user plane function (UPF), authentication server function (AUSF), access and mobility management function (AMF), session management function (SMF), network slice selection function (NSSF), network exposure function (NEF), network repository function (NRF), policy control function (PCF), unified data management (UDM), unified data repository (UDR), introduction of time sensitive communication and time synchronization function (TSCTSF) and application function (AF).
[0086] like Figure 1 As shown, the UE accesses the 5G network through the RAN device, and the UE communicates with the AMF through the N1 interface (referred to as N1); the RAN communicates with the AMF through the N2 interface (referred to as N2); the RAN communicates with the UPF through the N3 interface (referred to as N3); the SMF communicates with the UPF through the N4 interface (referred to as N4), and the UPF accesses the data network (DN) through the N6 interface (referred to as N6). In addition, Figure 1The control plane functions shown in the figure, such as AUSF, AMF, SMF, NSSF, NEF, NRF, PCF, UDM, UDR or AF, use service-based interfaces for interaction. For example, the service-based interface provided by AUSF is Nausf; the service-based interface provided by AMF is Namf; the service-based interface provided by SMF is Nsmf; the service-based interface provided by NSSF is Nnssf; the service-based interface provided by NEF is Nnef; the service-based interface provided by NRF is Nnrf; the service-based interface provided by PCF is Npcf; the service-based interface provided by UDM is Nudm; the service-based interface provided by UDR is Nudr; the service-based interface provided by TSCTSF is Ntsctsf; and the service-based interface provided by AF is Naf.
[0087] RAN equipment can be equipment that provides access to terminals. For example, RAN equipment may include: access network equipment of the next generation mobile communication system, such as 6G, such as 6G base station, or in the next generation mobile communication system, the network equipment may also have other naming methods, which are all included in the protection scope of the embodiments of the present application, and the present application does not make any restrictions on this. Alternatively, the RAN equipment may also include 5G, such as gNB in the new radio (NR) system, or one or a group of (including multiple antenna panels) antenna panels of a base station in 5G, or it may also be a network node constituting a gNB, a transmission point (transmission and reception point, TRP or transmission point, TP) or a transmission measurement function (transmission measurement function, TMF), such as a baseband unit (building base band unit, BBU), or a centralized unit (centralized unit, CU) or a distributed unit (distributed unit, DU), an RSU with base station function, or a wired access gateway, or a 5G core network. Alternatively, RAN equipment may also include access points (APs) in wireless fidelity (WiFi) systems, wireless relay nodes, wireless backhaul nodes, various forms of macro base stations, micro base stations (also called small stations), relay stations, access points, wearable devices, vehicle-mounted devices, and the like.
[0088] UPF is mainly responsible for user data processing (forwarding, receiving, billing, etc.). For example, UPF can receive user data from the data network (DN) and forward the user data to the terminal through the access network equipment. UPF can also receive user data from the terminal through the access network equipment and forward the user data to the DN. DN refers to the operator network that provides data transmission services to users. For example, Internet Protocol (IP) Multimedia Service (IMS), Internet, etc. DN can be an operator's external network or a network controlled by an operator, used to provide business services to terminals. In a protocol data unit (PDU) session, the UPF directly connected to the DN through N6 is also called a protocol data unit session anchor (PSA).
[0089] AUSF is mainly used to perform terminal security authentication.
[0090] AMF is mainly used for mobility management in mobile networks, such as user location update, user network registration, user switching, etc.
[0091] SMF is mainly used for session management in mobile networks, such as session establishment, modification, and release. Specific functions include allocating Internet Protocol (IP) addresses to users and selecting UPFs that provide data packet forwarding functions.
[0092] PCF mainly supports providing a unified policy framework to control network behavior, provides policy rules to the control layer network functions, and is responsible for obtaining user subscription information related to policy decisions. PCF can provide policies to AMF and SMF, such as quality of service (QoS) policy, slice selection policy, etc.
[0093] NSSF is mainly used to select network slices for terminals.
[0094] NEF is mainly used to support the opening of capabilities and events.
[0095] UDM is mainly used to store user data, such as contract data, authentication / authorization data, etc.
[0096] UDR is mainly used to store structured data, including contract data and policy data, externally exposed structured data, and application-related data.
[0097] The main functions of TSCTSF are to associate the time synchronization service request of NF consumers with the AF session of PCF; detect the availability of 5GS bridge information of Ethernet and IP type PDU sessions reported by PCF, etc.
[0098] AF mainly supports interaction with CN to provide services, such as influencing data routing decisions, policy control functions, or providing some third-party services to the network side.
[0099] It can be understood that the functions mentioned in the embodiments of the present application can also be expressed as functional network elements or functional entities. For example, UPF can be expressed as UPF network element, AMF can be expressed as AMF network element, SMF can be expressed as SMF network element, PCF can be expressed as PCF network element, and so on, without limitation.
[0100] 2. Terminal status:
[0101] There are three states of a terminal: idle, connected, and inactive.
[0102] The idle state is the state in which the terminal is not connected to the access network device. In the idle state, the terminal can perform processes such as public land mobile network (PLMN) selection, cell selection, cell reselection and system message broadcasting.
[0103] The connected state is the state in which the terminal is in after completing the connection with the access network device. In the connected state, the terminal can obtain the terminal context and key from the network to transmit service data. The terminal can enter the connected state from the idle state or the inactive state. For example, the terminal can send a radio resource control (RRC) message to the access network device to request to establish or restore a connection with the access network device, thereby entering the connected state. Alternatively, the terminal can also be released from the connected state to the idle state or the inactive state.
[0104] The inactive state is an intermediate state between the connected state and the idle state. In the inactive state, the terminal can delete the key but retain the context of the terminal so that it can be quickly restored to the connected state later.
[0105] It can be understood that the idle state referred to in the embodiments of the present application generally refers to the RRC idle state unless otherwise specified, the connected state referred to in the embodiments of the present application generally refers to the RRC connected state unless otherwise specified, and the inactive state referred to in the embodiments of the present application generally refers to the RRC inactive state unless otherwise specified, which can also be called the "third state".
[0106] 3. Timing:
[0107] The timing capability of the 5G network is a network function that can be opened to the outside. Section 5.27.1.8 of R17 defines that the timing open capability of the 5G network can be activated and deactivated by the AF. That is, when activated, the 5G network can serve as the master clock of the entire system and provide timing to other devices.
[0108] like Figure 2 As shown, taking UE timing as an example, the third-party AF can request TSCTSF through NEF to provide time synchronization service for UE, that is, request timing for UE. TSCTSF can obtain the UE's contract data from UDM according to the request of AF. When the contract data indicates that the UE is an authorized UE, TSCTSF determines to provide timing for UE, thereby activating the base station to provide access layer time information for UE, that is, timing for UE. Optionally, in this process, TSCTSF can also obtain the error requirement (error budget) of time synchronization from the UE's contract data. TSCTSF can determine the air interface error requirement (Uu error budget) between the base station and UE according to the error requirement, and provide it to the base station, so that the base station can perform propagation delay compensation (PDC) compensation for the UE according to the air interface error requirement to achieve high-precision timing.
[0109] At present, there are two ways for the base station (or RAN equipment) to provide timing for the UE. One is a UE timing solution based on timing advance (TA-based), and the other is a UE timing solution based on round trip time (RTT-based), which are introduced below.
[0110] TA-based:
[0111] like Figure 3 As shown in the figure, the process of RAN equipment providing timing to UE through TA-based is as follows:
[0112] S301, RAN equipment broadcasts system information block (SIB) 9.
[0113] SIB9 may include the time of the RAN device, which may be the time when the RAN device obtains from the network, and may be the time when the RAN device broadcasts SIB9. Accordingly, the UE may receive SIB9 broadcast by the RAN device in a non-connected state (such as an inactive state or an idle state).
[0114] S302, the UE sends an uplink message to the RAN device. The RAN device receives the uplink message from the UE.
[0115] The UE may enter the connected state from the unconnected state in response to SIB9 to send an uplink message to the RAN device. The RAN device may determine the air interface delay, i.e., TA, between the RAN device and the UE by parsing the uplink message, such as the preamble in the uplink message.
[0116] S303, the RAN device sends a downlink message to the UE. The UE receives the downlink message from the RAN device.
[0117] The TA determined in S302 may be carried in the downlink message. In this way, the UE can know the exact time when the UE receives SIB9 based on the TA and the time of the RAN device, thereby achieving time synchronization between the UE and the RAN device. Alternatively, the RAN device can determine the exact time when the UE receives the downlink message based on the time when the RAN device is about to send the downlink message and the TA, and carry the exact time when the UE receives the downlink message into the downlink message, thereby achieving time synchronization between the UE and the RAN device.
[0118] RTT-based:
[0119] like Figure 4 As shown in the figure, the process of RAN equipment providing timing to UE through RTT-based is as follows:
[0120] S401, an 802.1AS initiator sends a request to an 802.1AS responder. The 802.1AS responder receives the request from the 802.1AS initiator.
[0121] The request of S401 carries the time when the 802.1AS initiating entity sends the request, which is recorded as t1. Correspondingly, the 802.1AS responding entity can determine the time when the request of S401 is received, which is recorded as t2.
[0122] S402, the 802.1AS responding entity sends a response to the 802.1AS initiating entity. The 802.1AS initiating entity receives the response from the 802.1AS responding entity.
[0123] Among them, the response of S402 is used to respond to the request of S401. The response of S402 carries the time when the 802.1AS response entity sends the response, which is recorded as t3. Correspondingly, the 802.1AS request entity can determine the time when the response is received, which is recorded as t4. In this way, the 802.1AS request entity can determine the air interface transmission delay between the 802.1AS initiating entity and the 802.1AS responding entity, such as the air interface transmission delay is [(t2-t1)+(t4-t3)] / 2. In addition, the 802.1AS request entity can also determine the time difference (offset) between the 802.1AS initiating entity and the 802.1AS responding entity, such as the time difference is [(t2-t1)-(t4-t3)] / 2.
[0124] It can be seen that RTT-based is mainly used to determine the clock deviation between the 802.1AS initiating entity and the 802.1AS responding entity by calculating the time difference, which is the time difference mentioned above. Therefore, if time synchronization is to be achieved through RTT-based, the 802.1AS initiating entity or the 802.1AS responding entity needs to know the time without considering the time difference in advance. In this case, if the 802.1AS initiating entity or the 802.1AS responding entity is a UE, the UE still needs to obtain the time without considering the time difference through TA-based in the connected state.
[0125] It can be understood that 5GS places higher requirements on the time synchronization between the terminal and the base station to meet higher business needs. For example, in the smart grid, the terminal needs to rely on accurate time for differential protection and fault detection. In the financial industry, the terminal also needs to rely on high-precision synchronized time to time-order financial operations. However, according to the above-mentioned TA-based and RTT-based related introductions, the UE can usually obtain relatively accurate timing in the connected state, and in the unconnected state (i.e., broadcast SIB9), the timing accuracy is not high due to the inability to determine TA, which cannot meet the business needs of 5GS. For example, for some types of terminals, such as the power management unit (PMU) in the smart grid, the timing and communication services are separated. The PMU needs high-precision clock information to measure whether the phase angle of the signal is within the specified error range. If the phase angle error exceeds the error range, the PMU needs to enter the connected state to transmit the message. However, the current non-connected timing will result in low clock accuracy of the PMU, resulting in excessive errors in the phase angle measured by the PMU. Therefore, it is necessary to frequently enter the connected state, which increases communication overhead and is not conducive to PMU energy saving. Therefore, how to achieve high-precision timing in the non-connected state is a hot topic of current research. In addition, even if the terminal can obtain more accurate timing in the connected state, it is limited by the terminal's own clock capability, and there will still be time deviations after the timing, resulting in loss of time synchronization with the base station. Therefore, how to ensure that the terminal can maintain time synchronization with the base station for a long time in the connected state is also a hot topic of current research.
[0126] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0127] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as wireless network (Wi-Fi) systems, vehicle to everything (V2X) communication systems, device-to-device (D2D) communication systems, Internet of Vehicles communication systems, fourth generation (4G) mobile communication systems, such as long term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, fifth generation (5G) systems, such as new radio (NR) systems, and future communication systems.
[0128] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.
[0129] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0130] In the embodiments of the present application, "information", "signal", "message", "channel" and "signaling" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. "Of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. In addition, the " / " mentioned in the embodiments of the present application can be used to indicate an "or" relationship. In addition, the embodiments of the present application mention sending to A, sending to A, or sending to A, etc., which refers to the sending behavior with A as the destination address, which can be directly or indirectly sent to A. Similarly, the embodiments of the present application mention receiving from A or from A, etc., which refers to the receiving behavior with A as the source address, which can be directly or indirectly received from A.
[0131] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0132] To facilitate understanding of the embodiments of the present application, first Figure 5 The communication system shown in the example is used to describe in detail the communication system applicable to the embodiment of the present application. Figure 5 A schematic diagram of the architecture of a communication system applicable to the communication method provided in an embodiment of the present application.
[0133] like Figure 5 As shown, the communication system can be applicable to the above-mentioned 5GS, including: a terminal, a first access network device and a core network element.
[0134] Among them, the terminal can be the above-mentioned UE, or any other possible form of terminal, without specific limitation. The first access network device can be the above-mentioned RAN device, or any other possible form of access network device, without specific limitation. The first access network device can be an access network device accessed by the terminal, or a service access network device of the terminal. The core network network element can be an access and mobility management network element, such as the above-mentioned AMF, or a time-sensitive communication and time synchronization network element, such as the above-mentioned TSCTSF, or any other possible form of core network network element, without specific limitation.
[0135] The core network element may indicate to the first access network device that the access network device needs to maintain time synchronization with the terminal. In this way, the first access network device continues to send messages for time synchronization in response to the instruction of the core network element, so that the terminal can maintain time synchronization with the first access network device.
[0136] The following will be combined Figure 6-Figure 10 The communication method provided in the embodiment of the present application can be applied to the above communication system, which is described in detail below.
[0137] Figure 6 Schematic diagram of the communication method provided in the embodiment of the present application Figure 1 The communication method is applicable to the above communication system, and involves interaction between a terminal, a first access network device, and a core network element.
[0138] like Figure 6 As shown, the process of the communication method is as follows:
[0139] S601, a core network element obtains indication information.
[0140] The indication information can be used to indicate that the access network device needs to maintain time synchronization with the terminal. For example, the indication information can be specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in a non-connected state (i.e., in an inactive state or an idle state), and can also be replaced by the inactive state timing requirement of the terminal, or the idle state timing requirement of the terminal, or can also be replaced by any possible naming, such as clock synchronization frequency deviation correction requirements, which are not specifically limited.
[0141] In one possible manner, the core network element may obtain the indication information from the data management element. In this case, the indication information may be pre-configured in the subscription data of the terminal, or the subscription data of the terminal includes the indication information. The indication information may be updated (such as subscription data update) or pre-configured (such as initial configuration) to the subscription data of the terminal at any possible time, and there is no specific limitation on this. In this way, the core network element may obtain the subscription data of the terminal, and thereby also synchronously obtain the indication information.
[0142] For example, if the core network element is an access and mobility management element, the element can send a contract data management acquisition request (Nudm_SDM_Get_Requset) message to the data management element during the terminal registration process to receive a data management acquisition response (Nudm_SDM_Get_Response) message from the data management element. The response message can carry the contract data of the terminal. The specific implementation principle can refer to the relevant introduction of S701-S703 below, which will not be repeated here. Alternatively, if the core network element is a time-sensitive communication and time synchronization element, the element can obtain the contract data of the terminal from the data management element based on the request of the received application function, such as the access layer time creation / update / release (Nnef_TimeSynchronization_ASTI Create / Update / Delete) message.
[0143] In another possible manner, the core network element may obtain the indication information from the application function. For example, if the core network element is a time-sensitive communication and time synchronization element, the element may directly carry the indication information in the access layer time creation / update / release message according to the request of the application function, such as the access layer time creation / update / release message. The specific implementation principle may refer to the related introduction of S901-S903 below, which will not be repeated here.
[0144] S602: The core network element sends indication information to the first access network device. Correspondingly, the first access network device receives the indication information.
[0145] The indication information can be transmitted to the first access network device by reusing existing messages to reduce the difficulty of implementation.
[0146] For example, if the core network element is an access and mobility management network element, the network element can obtain indication information from the data management network element, and continue to send a UE context modification request / response (UEContext Modification Requset / Response) message carrying the indication information to the first access network device to trigger the first access network device to execute the time synchronization scheme in the embodiment of the present application. The specific implementation principle can also be referred to the relevant introduction of S704-S705 below, which will not be repeated here.
[0147] For another example, if the core network element is a time-sensitive communication and time synchronization network element, the network element can obtain indication information from the data management network element or application function, and send a create / update (AM policyAuthorization) request to the policy control network element, so that the policy control network element can ultimately pass the indication information to the first access network device through the access and mobility management network element to trigger the first access network device to execute the time synchronization scheme in the embodiment of the present application. The specific implementation principle can also be referred to the relevant introduction of S904-S906 below, which will not be repeated here.
[0148] Alternatively, the indication information may be transmitted to the first access network device via a newly defined message, so as to achieve decoupling from existing messages and make information transmission more flexible.
[0149] It can be understood that the indication message can be a message sent after the terminal completes time synchronization with the first access network device. In this case, before the first access network device sends the indication message, the terminal can first use the solution of the existing technology (such as the second message) to complete the time synchronization with the first access network device. After the first access network device sends the indication message, the terminal uses the solution of the present application (such as the first message) to maintain time synchronization with the first access network device. For details, please refer to the relevant introduction of S603 below, which will not be repeated here. Alternatively, the indication message can also be a message sent before the terminal completes time synchronization with the first access network device, or it can also be a message sent together with the message used by the first access network device to complete time synchronization with the terminal. In this case, the terminal can also first use the solution of the existing technology to complete time synchronization with the first access network device, and then use the solution of the present application to maintain time synchronization with the first access network device. For details, please refer to the relevant introduction of S603 below, which will not be repeated here.
[0150] S603: In response to the indication information, the first access network device sends a first message. Correspondingly, the terminal receives the first message from the first access network device.
[0151] Before the first access network device sends the first message, the first access network device may first send the second message to complete the time synchronization between the first access network device and the terminal through the second message. That is, the first access network device and the terminal mentioned in S603 have completed the time synchronization refers to the time synchronization first completed through the second message.
[0152] Specifically, the second message may be the latest message sent by the first access network device before sending the first message for time synchronization, or the latest message received by the terminal before receiving the first message for time synchronization. Alternatively, the second message may be any message that can be used for time synchronization, as long as the terminal and the first access network device can agree on which message to use, without specific limitation. In addition, the second message may be sent before the above-mentioned indication information, or may be sent after the above-mentioned indication information, without specific limitation.
[0153] The second message can be used to indicate the time when the first access network device sends the second message, such as including the time when the first access network device sends the second message, so as to complete time synchronization between the terminal and the first access network device. Alternatively, the second message can also be used to indicate the time offset between the first access network device and the terminal. The time offset can be determined by the first access network device through RTT-based. The specific implementation principle can refer to the relevant introduction of "3. Timing" above, which will not be repeated here. The second message can be a unicast message, such as a radio resource control (RRC) message, a downlink control information (DCI) message, a media access control element (MAC_CE) message, etc., that is, it can be implemented by reusing existing unicast messages to reduce the difficulty of implementation.
[0154] For example, when the terminal is in a connected state, the first access network device can unicast the second message to the terminal. In this way, the terminal can determine the time when the terminal receives the second message based on the time when the first access network device sends the second message and the timing advance between the terminal and the first access network device. Alternatively, the terminal can also correct the time when the terminal receives the second message recorded according to the local time based on the time offset between the first access network device and the terminal to obtain the time when the terminal receives the second message, or the exact time when the terminal receives the second message. The terminal can determine the time when the terminal receives the second message as the time of the terminal, thereby completing the time synchronization with the first access network device. Among them, the timing advance can be pre-stored locally in the terminal, or can also be carried in the second message, and there is no specific limitation on this. The timing advance can be determined by the first access network device through TA-based. The specific implementation principle can refer to the relevant introduction of "3. Timing" above, which will not be repeated here.
[0155] It can be understood that the second message is used to indicate the time when the first access network device sends the second message is only an exemplary implementation method and is not intended to be limiting. For example, the first access network device can determine in advance the time when the terminal receives the second message based on the timing advance between the terminal and the first access network device. In this way, the second message can also be used to indicate the time when the terminal receives the second message.
[0156] Optionally, after the first access network device sends the second message, the first access network device may also save the time when the first access network device sends the second message. For example, the first access network device may cache the time when the first access network device sends the second message in the memory of the first access network device, or save it in the hard disk of the first access network device for subsequent use.
[0157] For ease of understanding, let's take a look at an example:
[0158] The UE accesses gNB1, and gNB1 sends a second message to the UE. The second message carries the time when gNB1 sends the second message, which is 09:00, and the timing advance between gNB1 and the UE is 0:01. In this way, the UE can add the time when gNB1 sends the second message, which is 09:00, to the timing advance of 0:01, and obtain the time when the UE receives the second message, which is 09:01. Alternatively, the second message carries the time offset between gNB1 and the UE, which is 0:02. The time when the UE receives the second message according to the UE local time record is 8:59. Therefore, the UE uses the time offset of 0:02, corrects 8:59, and obtains the exact time when the UE receives the second message, which is 09:01. Therefore, 09:01 can be used as the time of the terminal, so that the terminal can time based on 09:01.
[0159] After the first access network device completes time synchronization between the terminal and the first access network device by sending the second message, the first access network device sends the first message again to complete time synchronization between the first access network device and the terminal again, or to maintain time synchronization, which is described in detail below.
[0160] The first message can be used to indicate the time when the first access network device sends the first message, such as including the time when the first access network device sends the first message. The time can be used by the terminal to maintain time synchronization with the first access network device. The specific implementation principle can refer to the relevant introduction of S604 below, which will not be repeated here.
[0161] In a possible implementation, the first message may be a unicast message, such as an RRC message, a DCI message, a MAC_CE message, etc., that is, it may be implemented by reusing existing unicast messages to reduce the difficulty of implementation. For example, when the terminal is in a connected state, the first access network device may respond to the indication information and determine that the terminal needs to continue to maintain time synchronization with the first access network device. Therefore, the first access network device may unicast the first message to the terminal, and accordingly, the terminal may receive the first message unicast by the first access network device to the terminal, so as to enable the terminal to maintain time synchronization with the first access network device for a long time in a connected state.
[0162] In another possible implementation, the first message may also be a broadcast message, such as SIB, specifically SIB9, that is, it can be implemented by reusing existing broadcast messages to reduce the difficulty of implementation. For example, when the terminal is in an inactive state or an idle state, the first access network device may determine, in response to the indication information, that the terminal needs to continue to maintain time synchronization with the first access network device. Therefore, the first access network device may broadcast the first message (such as periodically broadcasting the first message), and accordingly, the terminal may receive the first message broadcast by the first access network device (such as periodically receiving the first message broadcast by the first access network device), so as to enable the terminal to maintain time synchronization with the first access network device for a long time in an inactive state or an idle state. Among them, the timing at which the first access network device broadcasts the first message may be agreed in advance between the terminal and the first access network device. In this way, when the first access network device broadcasts the first message at a corresponding time, the terminal may also perform reception detection at a corresponding time to receive the first message broadcast by the first access network device.
[0163] It can be understood that the above-mentioned first message being a unicast message in the connected state is only an example. For example, in the connected state, the first message can still be a broadcast message, that is, when the terminal is in the connected state, the first access network device can also broadcast the first message to the terminal, and accordingly, the terminal can receive the first message broadcast by the first access network device to the terminal.
[0164] It can also be understood that the first message using existing messages is only an example and is not intended to be limiting. For example, the first message can also be a newly defined message to achieve decoupling from existing messages and more flexible information transmission.
[0165] Optionally, the first message may also carry an identifier of the terminal, such as a subscription permanent identifier (SUPI), to indicate that the first message is a message sent to the terminal. In this way, the terminal that receives the first message can determine whether the terminal should use the time when the first access network device indicated by the first message sends the first message to complete time synchronization with the first access network device, based on whether the first message carries the identifier of the terminal. For example, if the first message carries the identifier of the terminal, the terminal can determine that the first message is a message sent to the terminal based on the identifier of the terminal carried in the first message, and therefore can use the time when the first access network device sends the first message to complete time synchronization with the first access network device. Otherwise, if the first message does not carry the identifier of the terminal, the terminal can ignore the first message, that is, not use the time when the first access network device sends the first message to complete time synchronization with the first access network device.
[0166] Of course, whether the terminal uses the time indicated by the first message for the first access network device to send the first message to complete time synchronization with the first access network device may also be agreed upon in advance between the terminal and the first access network device, or may be predefined by the protocol. In this case, regardless of whether the first message carries the terminal identifier, the terminal may use the time indicated by the first message for the first access network device to send the first message to complete time synchronization with the first access network device by default.
[0167] Optionally, the first message can also be used to indicate the time when the first access network device sends the second message, that is, one message can be reused to indicate multiple times to improve communication efficiency. For example, when the first access network device is to send the first message, the first access network device can obtain the time when the first access network device sends the second message from the locally stored information, and carry the time when the first access network device sends the second message into the first message for use when the terminal saves time synchronization. For details, please refer to the relevant introduction of S604 below, which will not be repeated here.
[0168] S604, the terminal determines the time when the terminal receives the first message according to the time when the first access network device sends the first message, the time when the first access network device sends the second message, and the time when the terminal receives the second message.
[0169] The terminal may determine that the time when the terminal receives the second message is needed to achieve time synchronization with the first access network device this time. For example, before S604, as in S603, after the terminal determines the time when the terminal receives the second message, the terminal may also determine the correspondence between the time when the first access network device sends the second message and the time when the terminal receives the second message, and save the correspondence. In the case where the first message indicates the time when the first access network device sends the second message, the terminal may obtain the time when the terminal receives the second message from the correspondence based on the time when the first access network device sends the second message indicated by the first message.
[0170] That is to say, when the terminal saves the corresponding relationship and the first message also indicates the time when the first access network device sends the second message, the terminal can determine that the terminal needs to use the time when the terminal receives the second message to achieve time synchronization with the first access network device based on the corresponding relationship and the time when the first access network device sends the second message indicated by the first message. Of course, the terminal may not save the corresponding relationship, or the first message may not indicate the time when the first access network device sends the second message. In this case, the terminal may default to using the time when the terminal receives the second message to achieve time synchronization with the first access network device.
[0171] Therefore, the terminal can determine the time difference between the time when the first access network device sends the first message and the time when the first access network device sends the second message. The terminal can determine the time when the terminal receives the first message based on the time difference and the time when the terminal receives the second message, such as adding the time difference and the time when the terminal receives the second message. It can be understood that since the time when the first access network device sends the second message is the time when the terminal is synchronized with the first access network device, and the time difference is the time difference between two time synchronizations performed by the first access network device, the terminal adds the time difference to the time when the first access network device sends the second message, and the time when the terminal continues to maintain synchronization with the first access network device can be obtained, so as to achieve continued time synchronization with the first access network device.
[0172] S605: The terminal determines the time when the terminal receives the first message as the time when the terminal is synchronized with the first access network device.
[0173] The terminal may determine the time when the terminal receives the first message as the time of the first access network device, that is, the terminal considers that the time is the time synchronized with the first access network device, and continues timing based on the time.
[0174] Continuing with the above example:
[0175] gNB1 sends a first message to the UE, and the first message carries the time at which gNB1 sends the first message, which is 09:04, and, optionally, the first message also carries the time at which gNB1 previously sent the second message, which is 09:00. The UE saves the correspondence between the time at which gNB1 sends the second message, which is 09:00, and the time at which the UE receives the second message, which is 09:01. After the UE receives the first message, the UE can traverse the correspondence based on the time at which gNB1 sends the second message, which is 09:00, carried in the first message, and determine that the UE needs to use the time at which the UE receives the second message, which is 09:01, to achieve time synchronization with gNB1 this time. Therefore, the UE can determine that the time difference between 09:00 and 09:04 is 00:04, and then add 00:04 to 09:01 to obtain the time at which the UE receives the first message, which is 09:05. At this time, 09:05 can be used as the latest time of the UE, that is, no matter what time the UE counts based on the previous 09:01, the UE must adjust the time to 09:05 and continue counting based on this time.
[0176] In summary, after the terminal and the first access network device have completed time synchronization through the second message, the first access network device can still continue to send the first message to the terminal to indicate the time when the first access network device sends the first message. In this way, the terminal can continue to determine the time of the terminal synchronized with the first access network device based on the previously synchronized time, such as the time when the first access network device sends the second message and the time when the terminal receives the second message, as well as the time when the first access network device sends the first message, so as to achieve that the terminal and the access network device can maintain time synchronization for a long time.
[0177] The first possible design scheme combines the above Figure 6 The method shown may also include:
[0178] Step 1: The core network element receives the clock capability of the terminal from the application function.
[0179] The clock capability of the terminal can be used by the access network device to determine the timing of the access network device and the terminal for time synchronization, or the timing of the access network device and the terminal for time synchronization. For example, the clock capability of the terminal can be the crystal oscillator frequency of the terminal, and the crystal oscillator frequency can be characterized or measured by part per million (PPM). For example, 20PPM represents an accuracy of only about 2E-5 (20ppm). In this case, the time generated by the crystal oscillator of the terminal will differ from the actual time by 0.02 milliseconds (ms) every second, and will deviate by about 2 seconds in a day. In other words, the clock capability of the terminal can reflect the time error of the terminal timing, so that the access network device can decide when to synchronize the time with the terminal according to the clock capability of the terminal to avoid excessive time error of the terminal. The specific implementation principle can refer to the relevant introduction of step 3 below, which will not be repeated here.
[0180] Step 2: The core network element sends the clock capability of the terminal to the first access network device. The first access network device receives the clock capability of the terminal.
[0181] The clock capability of the terminal can be carried in the same message together with the above-mentioned indication information to improve communication efficiency. The specific implementation principle can refer to the relevant introduction of the above-mentioned indication information, which will not be repeated here. Alternatively, the clock capability of the terminal can also be carried in messages other than the indication information to achieve decoupling from the transmission of the indication information and make the information transmission more flexible. In this case, the carrying method of the clock capability of the terminal can still be similar to the indication information, such as the two are carried in two different messages of the same type. Therefore, the specific implementation principle can still refer to the relevant introduction of the above-mentioned indication information, which will not be repeated here.
[0182] Step 3: The first access network device determines the timing of sending the first message according to the clock capability of the terminal.
[0183] The first access network device determines, based on the clock capability of the terminal, at what point in time the error of the terminal's own time will exceed the time error threshold after the terminal and the first access network device complete time synchronization. The time error threshold can be used to indicate that the error between the time generated by the terminal's self-timing and the time of the first access network device cannot exceed the time error threshold. The terminal and the first access network device can agree in advance on the value of the time error threshold. For example, the value of the time error threshold can be determined based on the service requirements between the terminal and the first access network device. For example, for services that are sensitive to delays, the value of the time error threshold is usually smaller. Conversely, the value of the time error threshold can be larger. Alternatively, the value of the time error threshold can also be predefined by the protocol.
[0184] On this basis, for the time point before exceeding the time error threshold, the time point can be the time to send the first message. Therefore, in S603, the first access network device sends the first message at the time of sending the first message to avoid the terminal's time error being too large and causing the service to be affected. For example, the first access network device determines that the terminal's time will deviate by 2.4 seconds in one day based on the terminal's clock capability, and the time error threshold is 0.1 seconds, which means that one hour after each time the terminal and the first access network device complete time synchronization, the first access network device must send the first message to the terminal to complete the time synchronization again to avoid the terminal's time deviating by more than 0.1 seconds and affecting the terminal's service.
[0185] The second possible design scheme combines the above Figure 6 The method shown may also include:
[0186] Step 4: The first access network device determines to stop sending the first message.
[0187] For example, when the terminal reselects from the first access network device to the second access network device, the first access network device can receive a request from the second access network device to inform the terminal that it has reselected to the second access network device. Therefore, the first access network device can determine to stop sending the first message in response to the request of the second access network device to avoid unnecessary communication overhead caused by sending redundant messages.
[0188] For another example, the first access network device may also actively switch the terminal to the second access network device. In this case, the first access network device may determine to stop sending the first message in response to its own switching operation, thereby avoiding unnecessary communication overhead caused by sending redundant messages.
[0189] It can be understood that the terminal can default to the method in the embodiment of the present application to complete time synchronization with the first access network device. For example, for an upgraded terminal, the terminal has an enhanced time synchronization capability. In this case, the terminal defaults to the method in the embodiment of the present application to complete time synchronization with the first access network device. In other words, for a terminal that has not been upgraded, the terminal can default to an existing method, such as TA-based or RTT-based. Of course, whether the terminal uses the method in the embodiment of the present application to complete time synchronization with the first access network device can be indicated by the network side regardless of whether the terminal has been upgraded or not. For example, the first access network device can send indication information to the terminal, and the indication information can be two values of 1 bit, which are used to indicate whether the terminal uses the method in the embodiment of the present application to complete time synchronization with the first access network device. Alternatively, the first access network device can also send indication information to the terminal to indicate that the terminal uses the method in the embodiment of the present application to complete time synchronization with the first access network device. If the first access network device does not send indication information to the terminal, it means that the terminal uses the existing method. Of course, there may be other implementation methods, and the embodiments of the present application will not be repeated one by one.
[0190] Scenario 1:
[0191] Figure 7 Schematic diagram of the communication method provided in the embodiment of the present application Figure 2 The communication method is applicable to the above communication system, and specifically involves the interaction between UE, gNB1, gNB2, AMF and UDM. In scenario 1, when the UE enters the inactive state, gNB1 can still send the time to the UE so that the UE can calibrate its own time accordingly, thereby maintaining time synchronization with gNB1.
[0192] Specifically, Figure 7 As shown, the process of the communication method is as follows:
[0193] S700: The UE's subscription data is pre-configured with the UE's clock synchronization requirement.
[0194] The subscription data of the UE may be stored in the UDM. The subscription data of the UE may be pre-configured with clock synchronization information, such as at least one of the following: information related to UE timing, such as clock synchronization frequency offset correction requirements (i.e., the above-mentioned indication information), or air interface error requirements, etc. The clock synchronization frequency offset correction requirements may be used to indicate that the UE needs to obtain the timing of the gNB in an inactive state, or that the UE needs to maintain time synchronization with the gNB in an inactive state.
[0195] It can be understood that the clock synchronization frequency offset correction requirement is only an exemplary name in the embodiment of the present application, and it can also be replaced by any possible name, such as inactive timing requirement, inactive time synchronization requirement, inactive clock synchronization requirement, etc., without specific limitation. In addition, the clock synchronization frequency offset correction requirement can be updated (such as contract data update) or pre-configured (such as initial configuration) to the contract data of the UE at any possible time, without specific limitation.
[0196] S701, UE requests to register with the network.
[0197] Among them, the UE can access gNB1 and trigger the AMF to execute the registration process so that the UE can register with the network. The specific implementation principle can refer to the relevant introduction of TS 23.502, which will not be repeated here.
[0198] S702, AMF sends a subscription data management acquisition request message to UDM. UDM receives the subscription data management acquisition request message from AMF.
[0199] S703: UDM sends a subscription data management acquisition response message to AMF. AMF receives the subscription data management acquisition response message from UDM.
[0200] During the registration process, the AMF may send a subscription data management acquisition request message to the UDM to request the UE's subscription data. Therefore, the UDM may provide the AMF with a subscription data management acquisition response message carrying the UE's subscription data based on the subscription data management acquisition request message.
[0201] S704, AMF sends a UE context modification request / response message to gNB1. gNB1 receives the UE context modification request / response message from AMF.
[0202] The UE context modification request / response message may include an identifier of the UE, such as SUPI, or any other information that may be used to indicate the UE, and may also include information related to UE timing, such as clock synchronization frequency offset correction requirements, and air interface error requirements.
[0203] It can be understood that the UE context usually needs to be configured or saved on gNB1. After AMF obtains the UE's subscription data from the subscription data management acquisition response message, AMF can actively configure or modify the UE context based on the UE's subscription data, and thus can send a UE context modification request message to gNB1. Alternatively, AMF can receive a request from gNB1 to actively modify or configure the UE context, that is, a UE context modification request message from gNB1, and thus send a UE context modification response message to gNB1 based on the UE's subscription data. After gNB1 receives the UE context modification request / response message, it can update the information therein, such as UE timing-related information, to the UE context, or create a new UE context based on the UE timing-related information.
[0204] S705, gNB1 sends a timing message to the UE. The UE receives the timing message from gNB1.
[0205] The timing message may be a unicast message, such as including a UE identifier to indicate that the timing message is a unicast message sent to the UE. In addition, the timing message may also include: the time when gNB1 sends the timing message, recorded as time t1, that is, gNB1 sends the timing message at time t1. The timing message may be a newly defined message, and the message may also be replaced by any other possible name without limitation. Alternatively, the timing message may also be implemented by multiplexing existing messages, such as RRC messages, DCI messages, MAC_CE messages, etc., without specific limitation.
[0206] gNB1 can send a timing message to the UE based on the context of the UE. For example, gNB1 can determine to provide timing to the UE based on the information related to the UE timing. gNB1 can select the timing method, such as determining that the timing method is RTT-based based on the air interface error requirements. Alternatively, gNB1 can also determine that the timing method is RTT-based based on other information, such as gNB1 determines that the UE is a UE that has been previously timed, that is, the UE has local time that can be used for calibration, and determines that the timing method is RTT-based. At this time, the UE can be in a connected state, thereby receiving the timing message.
[0207] S706, UE sends a timing response message to gNB1. gNB1 receives the timing response message from the UE.
[0208] The timing response message can be used to respond to the timing message. The timing response message may include: the UE identifier, which is used to characterize that the timing response message is a response message from the UE. The timing response message may also include: the time when the UE receives the timing message, recorded as time t2, that is, the UE receives the timing message at time t2, and the time when the UE sends the timing response message, recorded as time t3, that is, the UE sends the timing response message at time t3. The timing response message can be a newly defined message, and the message can also be replaced by any other possible name, without limitation. Alternatively, the timing response message can also be implemented by reusing existing messages, such as RRC messages, DCI messages, MAC_CE messages, etc., which are not specifically limited.
[0209] After receiving the timing message, the UE can record time t2. At the timing of sending the timing response message, that is, time t3, the UE encapsulates time t2 and time t3 into the timing response message, thereby sending the timing response message to gNB1. After gNB1 receives the timing response message, gNB1 can record the time when gNB1 receives the timing response message, which is recorded as time t4, that is, gNB1 receives the timing response message at time t4.
[0210] S707, gNB1 determines the time offset.
[0211] gNB1 may determine a time offset, or a time offset of air interface transmission, based on time t1, time t2, time t3, and time t4. For example, the time offset is [(time t2-time t1)-(time t4-time t3)] / 2.
[0212] S708, gNB1 sends timing indication message #1 to UE. UE receives timing indication message #1 from gNB1.
[0213] The timing indication message #1 (that is, the second message mentioned above) can be a unicast message used to provide timing for the UE in a connected state. For example, the timing indication message #1 may include: the UE identifier, the time offset, and the time when gNB1 sends the timing indication message #1, recorded as time t5, that is, gNB1 sends the timing indication message #1 at time t5. In addition, the timing indication message #1 can also be a newly defined message, and the message can also be replaced by any other possible name without limitation. Alternatively, the timing indication message #1 can also be implemented by multiplexing existing messages, such as RRC messages, DCI messages, MAC_CE messages, etc., which are also not specifically limited.
[0214] After receiving the timing indication message #1, the UE can record the local time of the UE when the timing indication message #1 is received, and use the time offset to correct the local time to obtain the accurate time when the UE receives the timing indication message #1, which is recorded as time t6. In addition, the UE can also establish a corresponding relationship between time t6 and time t5, and save the corresponding relationship for subsequent use.
[0215] It can be seen that since time t6 is obtained by the UE using the time offset correction sent by gNB1, time t6 is the time when the UE is synchronized with gNB1. That is, at this time, gNB1 completes the timing for the UE, and the UE is synchronized with gNB1.
[0216] S709, gNB1 saves time t5.
[0217] gNB1 may save time t5, such as caching time t5 to a memory of gNB1 for subsequent use, or may save t5 to a hard disk of gNB1 to avoid loss.
[0218] It can be understood that the above S705-S709 is when gNB1 provides time to the UE when the UE is in a connected state. S705-S708 can be executed repeatedly. In other words, when the UE is in a connected state, gNB1 can provide time to the UE multiple times to ensure that the UE time can be synchronized with gNB1 for a long time.
[0219] S710, gNB1 determines that the UE enters an inactive state.
[0220] AMF can determine that the UE is released to the inactive state. For example, if AMF determines that there is no downlink data transmission of the UE for a long time, AMF notifies gNB1 to release the UE to the inactive state. Alternatively, the UE can enter the inactive state by itself. For example, if the UE determines that it has not received downlink data for a long time, it enters the inactive state by itself and notifies AMF through gNB1 that it has entered the inactive state. In this way, gNB1 can determine that the UE enters the inactive state. Alternatively, gNB1 and UE can also agree on the time point when the UE enters the inactive state, or the time point when the UE enters the inactive state can also be a time point predefined by the protocol. Therefore, at this time point, the UE enters the inactive state by itself, and accordingly, gNB1 also assumes that the UE has entered the inactive state. Alternatively, the UE can also enter the inactive state in any other possible way, which is not specifically limited.
[0221] S711, gNB1 broadcasts timing indication message #2.
[0222] Timing indication message #2 (that is, the first message mentioned above) can be a broadcast message used to provide timing for UE in an inactive state. For example, timing indication message #2 can carry the time of gNB1, such as the time when gNB1 sends timing indication message #2, recorded as time t7, that is, gNB1 sends timing indication message #2 at time t7. Timing indication message #2 can also be a newly defined message, and the message can also be replaced by any other possible name without limitation. Alternatively, timing indication message #2 can also be implemented by reusing existing messages, such as SIB9, etc., which is also not specifically limited.
[0223] Optionally, the timing indication message #2 may also include: the time when gNB1 sends other timing indication messages before sending the timing indication message #2 (recorded as the historical time), such as the historical time may be the time carried by the timing indication message sent by gNB1 when the above-mentioned S705-S708 was last executed. For example, before S710, S705-S709 were polled and executed 3 times, and the time carried by the timing indication message #2 may be the time carried by the timing indication message sent by gNB1 when it was executed for the third time. For ease of understanding, the embodiment of the present application takes the timing indication message #1 as an example when the timing indication message sent when it was last executed (other situations can be understood by reference). At this time, the historical time carried by the timing indication message #2 is time t5, that is, since gNB1 has saved the time t5 in advance, when gNB1 is about to send the timing indication message #2, it can obtain the time t5 from the saved information and carry the time t5 into the timing indication message #2.
[0224] It can be understood that the above historical time is the time carried by the timing indication message sent by gNB1 when S705-S709 is executed for the most recent time, which is only an example and is not a limitation. For example, the historical time can also be the time carried by the timing indication message sent by gNB1 when the above S705-S709 is executed at any time (such as the first time, the second time, etc.), and there is no specific limitation on this.
[0225] It can also be understood that carrying the historical time in the timing indication message #2 is only an optional implementation method. For example, if the UE and gNB1 have agreed in advance on the time corresponding to the execution of the above-mentioned S705-S709, the timing indication message #2 may not carry the historical time.
[0226] In the embodiment of the present application, since the clock synchronization frequency offset correction requirement indicates that: when the UE enters the inactive state, gNB1 still needs to provide time for the UE. Therefore, when gNB1 determines that the UE enters the inactive state, gNB1 can continue to provide time for the UE according to the clock synchronization frequency offset correction requirement, that is, broadcast the timing indication message #2. In addition, the timing of gNB1 broadcasting the timing indication message #2 can be agreed upon in advance between the UE and gNB1 or predefined by the protocol. In this way, even if the UE is in the inactive state, the UE can perform reception detection at the agreed time, thereby receiving the gNB1 broadcast timing indication message #2.
[0227] It can be understood that the UE can determine whether it is necessary to maintain time synchronization with gNB1 in an inactive state based on the UE's contract data stored locally. That is to say, if there is a clock synchronization frequency offset correction requirement in the UE's contract data, the UE can determine that after receiving the timing indication message #2, it is necessary to maintain time synchronization with gNB1 based on this clock synchronization frequency offset correction requirement, and execute S712. If there is no clock synchronization frequency offset correction requirement in the UE's contract data, the UE can ignore the message after receiving the timing indication message #2. Of course, the UE can determine whether it is necessary to maintain time synchronization with gNB1 in an inactive state in other ways. For example, the timing indication message #2 can also carry the UE's identifier to indicate that these UEs need to maintain time synchronization with gNB1 in an inactive state. Therefore, if the UE determines that the received timing indication message #2 has its own identifier, it executes S712, otherwise, it ignores the timing indication message #2.
[0228] S712, the UE determines the time when the UE receives the timing indication message #2 according to time t5, time t6 and time t7.
[0229] The UE can determine the time difference based on time t5 and time t7, such as the time difference is time t7-time t5. Since time t6 is the time when the UE is synchronized with gNB1, and the time difference is the time difference between two timing executions by gNB1, the UE adds the time difference to time t6 to obtain the time when the UE continues to be synchronized with gNB1, that is, the time when the UE receives the timing indication message #2, which is recorded as time t8. At this time, the UE can use time t8 to correct its own time, such as starting the timing based on time t8, so as to achieve continued time synchronization with the gNB. In other words, even if the UE is in an inactive state, the UE can continue to maintain time synchronization with gNB1.
[0230] S713, UE switches or reselects to gNB2.
[0231] When the UE is in an inactive state, the UE can perform cell reselection, such as switching from gNB1 or reselecting to gNB2. The specific implementation principle can be referred to the relevant introduction of TS 33.502, which will not be repeated here.
[0232] S714, gNB1 sends the UE context to gNB2 through the Xn interface.
[0233] When the UE switches or reselects to gNB2, gNB2 can request the UE context from gNB1. gNB1 can respond to gNB1's request and send the UE context to gNB2. At this time, the UE context sent by gNB1 to gNB2 can also include the above-mentioned UE timing-related information. In this way, gNB2 can also perform a similar process as gNB1 based on the UE context, that is, provide timing for the UE when the UE is in an inactive state.
[0234] In addition, when the UE reselects gNB2, the specific implementation principle of the interaction between gNB1 and gNB2 can also refer to the relevant introduction of TS 33.502, which will not be repeated here.
[0235] S715, gNB1 determines to stop broadcasting timing indication message #2.
[0236] gNB1 may stop broadcasting Timing Indication Message #2 while responding to gNB2's request. That is, gNB1's response to gNB2's request is also used to trigger gNB1 to stop broadcasting Timing Indication Message #2. For example, after gNB2 requests the context of the UE from gNB1, gNB1 may determine, based on gNB2's request, that the UE has switched or reselected to gNB2, and thus may trigger the stop of broadcasting Timing Indication Message #2 to avoid continuing to send redundant messages.
[0237] Scenario 2:
[0238] Figure 8 Schematic diagram of the communication method provided in the embodiment of the present application Figure 3 The communication method is applicable to the above communication system, and specifically involves the interaction between UE, gNB1, gNB2, AMF and UDM. In scenario 2, when the UE enters the idle state, gNB1 can still send the time to the UE so that the UE can calibrate its own time accordingly, thereby maintaining time synchronization with gNB1.
[0239] Specifically, Figure 8 As shown, the process of the communication method is as follows:
[0240] S800: The UE's subscription data is pre-configured with the UE's clock synchronization requirement.
[0241] The subscription data of the UE may be stored in the UDM. The subscription data of the UE may be pre-configured with information on the UE's clock synchronization requirements, such as at least one of the following: clock synchronization frequency offset correction requirements (i.e., the above-mentioned indication information), or air interface error requirements, etc. The clock synchronization frequency offset correction requirements may be used to indicate that the UE needs to obtain the timing of the gNB in the idle state, or that the UE needs to maintain time synchronization with the gNB in the idle state.
[0242] It can be understood that the clock synchronization frequency offset correction requirement is only an exemplary naming in the embodiment of the present application, and it can also be replaced by any possible naming, such as idle state timing requirement, idle state time synchronization requirement, idle state clock synchronization requirement, etc., without specific limitation. In addition, the clock synchronization frequency offset correction requirement can be updated (such as contract data update) or pre-configured (such as initial configuration) to the contract data of the UE, or the request configuration of the AF at any possible time, without specific limitation.
[0243] S801, UE requests to register with the network.
[0244] S802, AMF sends a subscription data management acquisition request message to UDM. UDM receives the subscription data management acquisition request message from AMF.
[0245] S803, UDM sends a subscription data management acquisition response message to AMF. AMF receives the subscription data management acquisition response message from UDM.
[0246] S804, AMF sends a UE context modification request / response message to gNB1. gNB1 receives the UE context modification request / response message from AMF.
[0247] S805, gNB1 sends a timing message to the UE. The UE receives the timing message from gNB1.
[0248] S806, UE sends a timing response message to gNB1. gNB1 receives the timing response message from the UE.
[0249] S807, gNB1 determines the time offset.
[0250] S808, gNB1 sends timing indication message #1 to UE. UE receives timing indication message #1 from gNB1.
[0251] S809, gNB1 saves time t5.
[0252] Among them, the specific implementation principles of S801-S809 are similar to those of the above-mentioned S701-S709, which can be referred to for understanding and will not be repeated here.
[0253] S810, gNB1 determines that the UE enters the idle state.
[0254] AMF can determine that the UE is released to the idle state. For example, if AMF determines that there is no downlink data transmission of the UE for a long time, AMF notifies gNB to release the UE to the idle state. Alternatively, the UE can enter the idle state by itself. For example, if the UE determines that it has not received downlink data for a long time, it enters the idle state by itself and notifies AMF through gNB1 that it has entered the idle state. Alternatively, gNB1 and UE can also agree on the time point when the UE enters the idle state, or the time point when the UE enters the idle state can also be a time point predefined by the protocol. Therefore, at this time point, the UE enters the idle state by itself, and accordingly, gNB1 also assumes that the UE has entered the idle state. Alternatively, the UE can also enter the idle state in any other possible way, which is not specifically limited.
[0255] S811, gNB1 broadcasts timing indication message #2.
[0256] The specific implementation principle of the timing indication message #2 can refer to the relevant introduction of S711 above, which will not be repeated here.
[0257] It can be understood that since the clock synchronization frequency offset correction requirement indicates that: when the UE enters the idle state, gNB1 still needs to provide time for the UE. Therefore, when gNB1 determines that the UE enters the idle state, gNB1 can continue to provide time for the UE according to the clock synchronization frequency offset correction requirement, that is, broadcast the timing indication message #2. The specific implementation principle can also refer to the relevant introduction of S711 above, and will not be repeated here.
[0258] S812, the UE determines the time when the UE receives the timing indication message #2 according to time t5, time t6 and time t7.
[0259] S813, UE switches or reselects to gNB2.
[0260] S814, gNB1 sends the UE context to gNB2 via the Xn interface.
[0261] S815, gNB1 determines to stop broadcasting timing indication message #2.
[0262] Among them, the specific implementation principles of S812-S815 are similar to those of the above-mentioned S712-S715, which can be referred to for understanding and will not be repeated here.
[0263] Scenario 3:
[0264] Fig. 9 Schematic diagram of the communication method provided in the embodiment of the present application Figure 4. This communication method is applicable to the above communication system, and specifically involves the interaction between UE, gNB1, AMF, PCF, UDM, TSCTSF, NEF and AF. In scenario 3, when the UE is in the connected state and completes the time synchronization with gNB1, gNB1 can continue to send the time to the UE so that the UE can calibrate its own time accordingly, thereby maintaining time synchronization with gNB1.
[0265] Specifically, Fig. 9 As shown, the process of the communication method is as follows:
[0266] S901, AF sends an access layer time creation / update / release message to NEF. NEF receives the access layer time creation / update / release message from AF.
[0267] The access layer time creation / update / release message can be used by the AF to request timing for the UE in the connected state. For example, the access layer time creation / update / release message may include: the UE identifier, and the clock synchronization frequency offset correction requirement (that is, the above-mentioned indication information), and optionally, the UE clock capability.
[0268] The UE identifier can be used to uniquely identify the UE. The UE identifier can be an identifier assigned to the UE by the operator network, such as SUPI. For example, the AF is an AF within the operator network, and the AF can provide the identifier assigned to the UE by the operator network. Alternatively, the UE identifier can also be an identifier assigned to the UE by a third party. The AF is an AF of a third party, and the AF usually provides the identifier assigned to the UE by the third party.
[0269] The clock synchronization frequency offset correction requirement can be used to indicate that the UE needs to obtain the timing of the gNB, or maintain time synchronization with the gNB, in at least one of the following states: connected state, idle state or inactive state. That is to say, when the UE is in the connected state and completes the time synchronization with the gNB, if the UE is in at least one of the above states, the UE still needs to continue to maintain time synchronization with the gNB through the timing of the gNB.
[0270] It can be understood that the clock synchronization frequency offset correction requirement is only an exemplary name in the embodiment of the present application, and it can also be replaced by any possible name. For example, when indicating that the UE needs to obtain the timing of the gNB in the connected state, it can also be replaced by the connected state timing requirement, the connected state time synchronization requirement, the connected state clock synchronization requirement, etc., without specific limitation.
[0271] The specific implementation principle of the UE's clock capability can be found in the relevant introduction of the above-mentioned "first possible design solution", which will not be repeated here.
[0272] S902, NEF sends an access layer time creation / update / release message to TSCTSF. TSCTSF receives the access layer time creation / update / release message from NEF.
[0273] If the AF is a third-party AF, then after receiving the access layer time creation / update / release message, the NEF can initiate authentication of the AF to determine whether the AF is trustworthy. For the specific implementation principle, please refer to the relevant introduction in Chapter 6 of TS 29.522, which will not be repeated here. If the AF is determined to be trustworthy, the NEF sends the access layer time creation / update / release message to the TSCTSF, otherwise, the process ends. If the AF is an AF within the operator's network, then after receiving the access layer time creation / update / release message, the NEF can directly send the access layer time creation / update / release message to the TSCTSF.
[0274] S903, TSCTSF obtains the subscription data of the UE from the UDM.
[0275] The UE's subscription data can be stored in the UDM. The UE's subscription data can be pre-configured with information related to UE timing, such as clock synchronization frequency offset correction requirements, and air interface error requirements. In addition, the clock synchronization frequency offset correction requirements can be updated (such as subscription data update) or pre-configured (such as initial configuration) to the UE's subscription data at any possible time, without specific limitation.
[0276] TSCTSF may send a Nudm_DM_Create / Updata / Delete request message to UDM, which may carry the UE's identity, to request the UE's subscription data. UDM may respond to the request and send a Nudm_DM_Create / Updata / Deleteresponse message to TSCTSF, which may carry the UE's subscription data.
[0277] S904, TSCTSF sends an access and mobility policy creation / update request message to PCF. PCF receives the access and mobility policy creation / update request message from TSCTSF.
[0278] Among them, the access and mobility policy creation / update request message can request the PCF to modify the UE's policy, such as the access and mobility policy creation / update request message can carry the above-mentioned UE timing-related information to request that the UE timing-related information be updated to the UE's policy. After completing the policy modification, the PCF can also send an access and mobility policy creation / update response message to the TSCTSF to respond to the access and mobility policy creation / update request message to indicate that the policy modification is complete.
[0279] S905, PCF initiates access and mobility policy association modification (AM policy association modification initiated by PCF).
[0280] Among them, the access and mobility policy association modification initiated by PCF can be used to modify the access and mobility policy of AMF, such as updating UE timing-related information to the access and mobility policy of AMF.
[0281] S906, AMF sends N2 message to gNB1. gNB1 receives N2 message from AMF.
[0282] Among them, the N2 message can carry the above-mentioned UE timing related information, that is, after AMF completes the access and mobility policy modification, AMF can further configure gNB1 through the N2 message, so that gNB1 can subsequently use the method provided in the embodiment of the present application to provide time for the UE.
[0283] S907, gNB1 broadcasts SIB9.
[0284] S908, UE sends an uplink message to gNB1. gNB1 receives the uplink message from UE.
[0285] S909, gNB1 sends a downlink message to UE. UE receives the downlink message from gNB1.
[0286] The downlink message (i.e., the second message mentioned above) is a downlink message sent by gNB1 at a certain time, and the time when gNB1 sends the downlink message is recorded as time t1. The downlink message can carry the timing advance between gNB1 and the UE, so that the UE can determine the time when the UE receives the downlink message according to the timing advance, which is recorded as time t2. Alternatively, the downlink message can also directly carry time t2.
[0287] In addition, the downlink message may also carry time t1.
[0288] In addition, the specific implementation principles of S907-S909 can refer to the relevant introduction of S301-S303 above, which will not be repeated here.
[0289] S910, gNB1 saves time t1.
[0290] gNB1 may save time t1, such as caching time t1 to a memory of gNB1 for subsequent use, or may save t1 to a hard disk of gNB1 to avoid loss.
[0291] Afterwards, if the clock synchronization frequency offset correction requirement indicates that the UE needs to obtain the timing of the gNB in the connected state, execute S911-S912. If the clock synchronization frequency offset correction requirement indicates that the UE needs to obtain the timing of the gNB in the inactive state, execute S911-S913-S918. If the clock synchronization frequency offset correction requirement indicates that the UE needs to obtain the timing of the gNB in the idle state, execute S911-S919-S924. The following is a detailed introduction.
[0292] S911, gNB1 sends timing indication message #1 to UE.
[0293] Timing indication message #1 (i.e., the first message mentioned above) can be a unicast message used to continue timing for the UE in a connected state. For example, timing indication message #1 can include: the time when gNB1 sends timing indication message #1, recorded as time t3, that is, gNB1 sends timing indication message #1 at time t3. Timing indication message #1 can be a newly defined message, and the message can also be replaced by any other possible name without limitation. Alternatively, timing indication message #1 can also be implemented by multiplexing existing messages, such as RRC messages, DCI messages, MAC_CE messages, etc., which are also not specifically limited.
[0294] Optionally, the timing indication message #1 may also include: the time when gNB1 sends the downlink message before sending the timing indication message #1, that is, time t1. For example, since gNB1 saves time t1 in advance, when gNB1 is about to send the timing indication message #1, it can obtain time t1 from the saved information and carry time t1 into the timing indication message #1.
[0295] gNB1 can determine the timing of sending timing indication message #1 according to the clock capability of the UE, so that the UE sends the timing indication message #1 at this timing. The specific implementation principle can refer to the relevant introduction of the above-mentioned "Second Possible Design Scheme", which will not be repeated here. Alternatively, in the absence of the clock capability of the UE, gNB1 can determine the timing of sending the timing indication message #1 by itself, without specific limitation. Alternatively, the timing of gNB1 sending the timing indication message #1 can also be predefined by the protocol.
[0296] It can be understood that for timing in the connected state, time t1 can be carried in the downlink message, or can also be carried in the timing indication message #1, or both the downlink message and the timing indication message #1 can carry time t1, and there is no limitation on this.
[0297] S912, the UE determines the time when the UE receives the timing indication message #1 according to time t1, time t2 and time t3.
[0298] The UE can determine the time difference based on time t1 and time t3, such as time difference is time t3-time t1. Since time t2 is the time when the UE is synchronized with gNB1, and the time difference is the time difference between two timing executions by gNB1, the UE can obtain the time when the UE continues to be synchronized with gNB1 by adding the time difference to time t2, that is, the time when the UE receives the timing indication message #1, which is recorded as time t4. In this way, the UE can use time t4 to correct its own time, such as starting the timing based on time t4, so as to achieve continued time synchronization with gNB1.
[0299] S913, gNB1 determines that the UE enters an inactive state.
[0300] Among them, the specific implementation principle of S913 is similar to that of the above-mentioned S710, which can be understood by reference and will not be repeated here.
[0301] S914, gNB1 broadcasts timing indication message #2.
[0302] Timing indication message #2 (that is, the first message mentioned above) can be a broadcast message used to provide timing for UE in an inactive state. For example, timing indication message #2 can carry the time of gNB1. For example, the time when gNB1 sends timing indication message #2 is recorded as time t5, that is, gNB1 sends timing indication message #2 at time t5. Timing indication message #2 can also be a newly defined message, and the message can also be replaced by any other possible name without limitation. Alternatively, timing indication message #2 can also be implemented by reusing existing messages, such as SIB9, etc., which is also not specifically limited.
[0303] S915, the UE determines the time when the UE receives the timing indication message #2 according to time t1, time t2 and time t5.
[0304] The UE can determine the time difference based on time t1 and time t5, such as time difference is time t5-time t1. Since time t2 is the time when the UE is synchronized with gNB1, and the time difference is the time difference between two timing executions by gNB1, the UE can obtain the time when the UE continues to be synchronized with gNB1 by adding the time difference to time t2, that is, the time when the UE receives the timing indication message #2, which is recorded as time t6. In this way, the UE can use time t6 to correct its own time, such as starting the timing based on time t6, so as to achieve continued time synchronization with gNB1.
[0305] It can be understood that S914-S915 can be executed in a polling manner, that is, gNB1 periodically broadcasts timing indication message #2. At this time, the UE uses time t1 as a reference to complete the time synchronization with gNB1, but this is not a limitation. For example, when gNB1 broadcasts timing indication message #2 for the first time, the UE can adopt the method of S915, that is, using time t1 as a reference to complete the time synchronization with gNB1. Afterwards, when gNB1 broadcasts timing indication message #2 again, the UE can use the time of the last synchronization as a reference to complete the time synchronization with gNB1.
[0306] S916, UE switches or reselects to gNB2.
[0307] S917, gNB1 sends the UE context to gNB2 through the Xn interface.
[0308] S918, gNB1 determines to stop broadcasting timing indication message #2.
[0309] Among them, the specific implementation principles of S916-S918 are similar to those of the above-mentioned S712-S715, which can be referred to for understanding and will not be repeated here.
[0310] S919, gNB1 determines that the UE enters the idle state.
[0311] Among them, the specific implementation principle of S919 is similar to that of the above-mentioned S810, which can be used as a reference for understanding and will not be repeated here.
[0312] S920, gNB1 broadcasts timing indication message #3.
[0313] Timing indication message #3 (that is, the first message mentioned above) can be a broadcast message used to provide timing for UE in idle state. For example, timing indication message #3 can carry the time of gNB1. For example, the time when gNB1 sends timing indication message #3 is recorded as time t7, that is, gNB1 sends timing indication message #3 at time t7. Timing indication message #3 can also be a newly defined message, and the message can also be replaced by any other possible name without limitation. Alternatively, timing indication message #3 can also be implemented by multiplexing existing messages, such as SIB9, etc., which is also not specifically limited.
[0314] S921, the UE determines the time when the UE receives the timing indication message #3 according to time t1, time t2 and time t7.
[0315] Among them, the specific implementation principle of S921 is similar to that of the above-mentioned S915, which can be understood by reference and will not be repeated here.
[0316] S922, UE switches or reselects to gNB2.
[0317] S923, gNB1 sends the UE context to gNB2 through the Xn interface.
[0318] S924, gNB1 determines to stop broadcasting timing indication message #3.
[0319] Among them, the specific implementation principles of S922-S924 are similar to those of the above-mentioned S712-S715, which can be referred to for understanding and will not be repeated here.
[0320] It can be understood that in the timing in the above-mentioned activated state or idle state, the downlink message of S909 needs to carry time t1, so that the UE can subsequently maintain time synchronization with gNB1 in the activated state or idle state.
[0321] It can be understood that the processes of the above three scenarios can also be combined or replaced with each other. For example, in scenario 1 and scenario 2, the AF can also trigger gNB1 to provide timing for the UE in an inactive state or an idle state by sending the UE's clock capability. Alternatively, scenario 3 can also trigger gNB1 to provide timing for the UE in a connected state through UE registration. For another example, S705-S708 / S805-S808 in scenario 1 or scenario 2 can also be replaced with S907-S907 in scenario 3, or S907-S907 in scenario 3 can also be replaced with S705-S708 / S805-S808 in scenario 1 or scenario 2. In addition, the inactive state timing requirements or idle state timing requirements mentioned above can also be collectively referred to as non-connected state timing requirements.
[0322] It can also be understood that in the above method, the access network device can carry the time when the access network device sends the message in the messages sent multiple times. In this way, the terminal can complete the time synchronization with the access network device according to the time difference between the messages sent. In fact, the access network device can also use other methods to achieve time synchronization between the terminal and the access network device. For example, the access network device carries not only the time when the access network device sends the message in each message sent, but also the timing advance between the access network device and the terminal. In this way, the terminal can directly complete the time synchronization with the access network device according to the time and timing advance in a message, which is described in detail below.
[0323] Fig.10 Schematic diagram of the communication method provided in the embodiment of the present application Figure 5 The communication method is applicable to the above communication system, and involves the interaction between the terminal, the first access network device and the core network element. Fig.10 As shown, the process of the communication method is as follows:
[0324] S1001, a core network element obtains indication information.
[0325] S1002: A core network element sends indication information to a first access network device. Correspondingly, the first access network device receives the indication information.
[0326] Among them, the specific implementation principles of S1001-S1002 are similar to those of the above-mentioned S601-S602, which can be referred to for understanding and will not be repeated here.
[0327] S1003: In response to the indication information, the first access network device sends a first message. Correspondingly, the terminal receives the first message from the first access network device.
[0328] Before the first access network device sends the first message, the first access network device may first send the second message to complete the time synchronization between the first access network device and the terminal through the second message. That is, the time synchronization between the first access network device and the terminal mentioned in S1003 refers to the time synchronization first completed through the second message. The specific implementation principle can refer to the relevant introduction of S603 above, which will not be repeated here.
[0329] After the first access network device completes time synchronization between the terminal and the first access network device by sending the second message, the first access network device sends the first message again to complete time synchronization between the first access network device and the terminal again, or to maintain time synchronization, which is described in detail below.
[0330] The first message can be used to indicate the time when the first access network device sends the first message, and the timing advance between the terminal and the first access network device, such as including the time when the first access network device sends the first message, the identifier of the terminal, and the timing advance. In this way, the terminal identifier and the timing advance combined can indicate that the timing advance is the timing advance between the terminal and the first access network device. For example, an example of the information contained in the first message can be as follows: {[UE1ID,TA1]}, {[UE2 ID,TA2], {[UE3 ID,TA3],T1}, indicating that the timing advance of UE1 is TA1, the timing advance of UE2 is TA2, the timing advance of UE3 is TA3, and the time when the first access network device sends the first message is T1.
[0331] In addition, the first message may also be a unicast message or a broadcast message. For the specific implementation principle, reference may be made to the relevant introduction of S603 above, which will not be repeated here.
[0332] S1004: The terminal determines the time when the terminal receives the first message according to the time when the first access network device sends the first message and the timing advance between the terminal and the first access network device.
[0333] The terminal may add the time when the first access network device sends the first message to the timing advance between the terminal and the first access network device to obtain the time when the terminal receives the first message. Alternatively, the terminal may also use any other possible method to determine the time when the terminal receives the first message, which is not specifically limited.
[0334] S1005: The terminal determines the time when the terminal receives the first message as the time when the terminal is synchronized with the first access network device.
[0335] Among them, the specific implementation principle of S1005 is similar to that of the above-mentioned S605, which can be used as a reference for understanding and will not be repeated here.
[0336] In summary, after the terminal and the first access network device have completed time synchronization, the first access network device can still continue to send the first message to the terminal to indicate the time when the first access network device sends the first message and the timing advance between the terminal and the first access network device. In this way, the terminal can continue to determine the time of the terminal synchronized with the first access network device based on the time when the first access network device sends the first message and the timing advance between the terminal and the first access network device, so as to achieve that the terminal and the access network device can maintain time synchronization for a long time.
[0337] The third possible design scheme combines the above Fig.10 The method shown may also include:
[0338] Step A: The core network element receives the clock capability of the terminal from the application function.
[0339] Step B: The core network element sends the clock capability of the terminal to the first access network device. The first access network device receives the clock capability of the terminal.
[0340] Step C: The first access network device determines the timing of sending the first message according to the clock capability of the terminal.
[0341] Among them, the specific implementation principles of steps A to C are similar to those of the above steps 1 to 3, which can be referred to for understanding and will not be repeated here.
[0342] The fourth possible design scheme combines the above Fig.10 The method shown may also include:
[0343] Step D: The first access network device determines to stop sending the first message.
[0344] Among them, the specific implementation principle of step D is similar to that of the above step 4, and can also be understood by reference, so it will not be repeated here.
[0345] It can be understood that the terminal can determine whether to use the method in the embodiment of the present application to complete time synchronization with the first access network device by default or according to the indication of the indication information. The specific implementation can refer to the above Figure 7 The relevant introduction will not be repeated here.
[0346] Scenario 4:
[0347] Fig.11 Schematic diagram of the communication method provided in the embodiment of the present application Figure 6 . This communication method is applicable to the above communication system, and specifically involves the interaction between UE, gNB1, gNB2, AMF and UDM. In scenario 4, when the UE enters the inactive state, gNB1 can still send the time and timing advance to the UE so that the UE can calibrate its own time accordingly, thereby maintaining time synchronization with gNB1.
[0348] Specifically, Fig.11 As shown, the process of the communication method is as follows:
[0349] S1100, the UE's subscription data is pre-configured with the UE's clock synchronization requirement.
[0350] S1101, UE requests to register with the network.
[0351] S1102, AMF sends a subscription data management acquisition request message to UDM. UDM receives the subscription data management acquisition request message from AMF.
[0352] S1103, UDM sends a subscription data management acquisition response message to AMF. AMF receives the subscription data management acquisition response message from UDM.
[0353] S1104, AMF sends a UE context modification request / response message to gNB1. gNB1 receives the UE context modification request / response message from AMF.
[0354] S1105, gNB1 sends a timing message to the UE. The UE receives the timing message from gNB1.
[0355] S1106, UE sends a timing response message to gNB1. gNB1 receives the timing response message from the UE.
[0356] S1107, gNB1 determines the timing advance.
[0357] S1108, gNB1 determines that the UE enters an inactive state.
[0358] The specific implementation principles of S1101-S1107 can refer to the related introduction of S701-S707 above, and the specific implementation principle of S1108 can refer to the related introduction of S710 above, which will not be repeated here. In addition, the execution order between S1107 and S1108 is not limited.
[0359] S1109, gNB1 broadcasts timing indication message #1.
[0360] Timing indication message #1 (that is, the first message mentioned above) can be a broadcast message used to provide timing for the UE in an inactive state. For example, timing indication message #1 can include: the UE identifier, the timing advance between the UE and gNB1, and the time when gNB1 sends timing indication message #1, recorded as time t5, that is, gNB1 sends timing indication message #1 at time t5. Timing indication message #1 can be a newly defined message, and the message can also be replaced by any other possible name without limitation. Alternatively, timing indication message #1 can also be implemented by reusing existing messages, such as SIB9, etc., which is also not specifically limited.
[0361] It can be understood that since the timing indication message #1 is a broadcast message, the timing indication message #1 can carry information of multiple UEs. For example, the identifiers of multiple UEs, the timing advance corresponding to the identifier of each UE, and the time t5. At this time, since the time t5 can be applicable to multiple UEs at the same time, the time t5 can be a piece of information in the timing indication message #1 to save communication overhead. At this time, for the UE that receives the broadcast timing indication message #1, if the UE determines that the received timing indication message #1 has its own identifier, S1110 is executed, otherwise, the timing indication message #1 is ignored.
[0362] S1110, the UE determines the time when the UE receives the timing indication message #1 according to the time t5 and the timing advance.
[0363] The UE may add the time t5 and the timing advance to obtain the time when the UE receives the timing indication message #1, which is recorded as time t6.
[0364] S1111, UE switches or reselects to gNB2.
[0365] S1112, gNB1 sends the UE context to gNB2 via the Xn interface.
[0366] S1113, gNB1 determines to stop broadcasting timing indication message #2.
[0367] Among them, the specific implementation principles of S1111-S1113 can refer to the relevant introduction of S713-S715 above, which will not be repeated here.
[0368] Scenario 5:
[0369] Fig.12 Schematic diagram of the communication method provided in the embodiment of the present application Figure 7 This communication method is applicable to the above communication system, and specifically involves the interaction between UE, gNB1, gNB2, AMF and UDM. In scenario 5, when the UE enters the idle state, gNB1 can still send the time and timing advance to the UE so that the UE can calibrate its own time accordingly, thereby maintaining time synchronization with gNB1.
[0370] S1200: The UE's subscription data is pre-configured with the UE's clock synchronization requirement.
[0371] The specific implementation principle of S1200 can refer to the relevant introduction of S800 mentioned above, which will not be repeated here.
[0372] S1201, UE requests to register with the network.
[0373] S1202, AMF sends a subscription data management acquisition request message to UDM. UDM receives the subscription data management acquisition request message from AMF.
[0374] S1203: UDM sends a subscription data management acquisition response message to AMF. AMF receives the subscription data management acquisition response message from UDM.
[0375] S1204, AMF sends a UE context modification request / response message to gNB1. gNB1 receives the UE context modification request / response message from AMF.
[0376] S1205, gNB1 sends a timing message to the UE. The UE receives the timing message from gNB1.
[0377] S1206, UE sends a timing response message to gNB1. gNB1 receives the timing response message from the UE.
[0378] S1207, gNB1 determines the timing advance.
[0379] S1208, gNB1 determines that the UE enters the idle state.
[0380] Among them, the specific implementation principles of S1201-S2107 are similar to the above-mentioned S701-S707, and the specific implementation principle of S1208 is similar to the above-mentioned S810. You can refer to them for understanding and will not repeat them here.
[0381] S1209, gNB1 broadcasts timing indication message #1.
[0382] S1210, the UE determines the time when the UE receives the timing indication message #1 according to the time t5 and the timing advance.
[0383] Among them, the specific implementation principles of S1209-S1210 are similar to those of the above-mentioned S1109-S1110, which can be referred to for understanding and will not be repeated here.
[0384] S1211, UE switches or reselects to gNB2.
[0385] S1212, gNB1 sends the UE context to gNB2 via the Xn interface.
[0386] S1213, gNB1 determines to stop broadcasting timing indication message #2.
[0387] Among them, the specific implementation principles of S1211-S1213 can refer to the relevant introduction of S713-S715 above, which will not be repeated here.
[0388] Scenario 6:
[0389] Fig.13 Schematic diagram of the communication method provided in the embodiment of the present application Figure 8 . This communication method is applicable to the above communication system, and specifically involves the interaction between UE, gNB, AMF, PCF, UDM, TSCTSF, NEF and AF. In scenario 6, when the UE is in the connected state and completes the time synchronization with the gNB, the gNB can continue to send the time and timing advance to the UE so that the UE can calibrate its own time accordingly, thereby maintaining time synchronization with the gNB.
[0390] Specifically, Fig.13 As shown, the process of the communication method is as follows:
[0391] S1301, AF sends an access layer time creation / update / release message to NEF. NEF receives the access layer time creation / update / release message from AF.
[0392] S1302, NEF sends an access layer time creation / update / release message to TSCTSF. TSCTSF receives the access layer time creation / update / release message from NEF.
[0393] S1303, TSCTSF obtains the UE's subscription data from UDM.
[0394] S1304, TSCTSF sends an access and mobility policy creation / update request message to PCF. PCF receives the access and mobility policy creation / update request message from TSCTSF.
[0395] S1305, PCF initiates access and mobility policy association modification.
[0396] S1306: AMF sends an N2 message to gNB. gNB receives the N2 message from AMF.
[0397] S1307, gNB broadcasts SIB9.
[0398] S1308: The UE sends an uplink message to the gNB. The gNB receives the uplink message from the UE.
[0399] S1309, gNB sends a downlink message to UE. UEg receives the downlink message from NB.
[0400] Among them, the specific implementation principles of S1301-S1309 can refer to the relevant introduction of S901-S909 above, which will not be repeated here.
[0401] S1310, gNB sends a timing indication message to the UE.
[0402] The timing indication message (i.e., the first message mentioned above) may be a unicast message used to continue timing for the UE in a connected state. For example, the timing indication message may include: the UE identifier, the timing advance between the UE and the gNB, and the time when the gNB sends the timing indication message, recorded as time t3, i.e., the gNB sends the timing indication message at time t3. In addition, the specific implementation of the timing indication message may also refer to the relevant introduction of S1109 above, which will not be repeated here.
[0403] S1311, the UE determines the time when the UE receives the timing indication message according to the time t3 and the timing advance.
[0404] The UE may add the time t3 and the timing advance to obtain the time when the UE receives the timing indication message, which is recorded as time t4.
[0405] Combination of the above Figure 6-Figure 13 The communication method provided by the embodiment of the present application is described in detail. Figure 14-15 A communication device for executing the communication method provided in an embodiment of the present application is described in detail.
[0406] Fig.14 This is a schematic diagram of the structure of the communication device provided in the embodiment of the present application. Figure 1 For example, Fig.14 As shown, the communication device 1400 includes: a transceiver module 1401 and a processing module 1402. For ease of description, Fig.14 Only the main components of the communication device are shown.
[0407] In some embodiments, the communication device 1400 may be adapted to Figure 5 In the communication system shown in , the functions of the terminal in the above method are executed.
[0408] The transceiver module 1401 is used to execute the transceiver function of the communication device 1400, such as executing the above steps S603, S705, S706, S708, S1003, S1105, S1106, S1108, etc. The processing module 1402 can be used to execute other functions of the communication device 1400 except the transceiver function, such as executing the above steps S604, S605, S712, S1004, S1005, S1110, etc.
[0409] In one example:
[0410] The transceiver module 1401 is used to receive a first message from a first access network device, where the first message is used to indicate the time when the first access network device sends the first message. The processing module 1402 is used to determine the time when the communication device 1400 receives the first message according to the time when the first access network device sends the first message, the time when the first access network device sends the second message, and the time when the communication device 1400 receives the second message. The second message is a message sent by the first access network device before sending the first message, and the time when the communication device 1400 receives the second message is the time when the communication device 1400 is synchronized with the first access network device. The processing module 1402 is also used to determine the time when the communication device 1400 receives the first message as the time when the communication device 1400 is synchronized with the first access network device.
[0411] In a possible design scheme, the transceiver module 1401 is used for the communication device 1400 to receive a first message broadcast by a first access network device when the communication device 1400 is in an inactive state or an idle state.
[0412] Optionally, the first message is a system message block SIB.
[0413] In another possible design scheme, the transceiver module 1401 is used for, when the communication device 1400 is in a connected state, for the communication device 1400 to receive a first message that is unicast or broadcasted by a first access network device to the communication device 1400.
[0414] Optionally, the first message is a radio resource control RRC message.
[0415] In a possible design scheme, the first message is also used to indicate the time when the first access network device sends the second message.
[0416] Optionally, the second message is used to indicate the time when the first access network device sends the second message, and the processing module 1402 is further used to determine the correspondence between the time when the first access network device sends the second message and the time when the communication device 1400 receives the second message. The processing module 1402 is further used to determine the time when the communication device 1400 receives the second message from the correspondence according to the time when the first access network device sends the second message indicated by the first message when the first message is received.
[0417] In one possible design scheme, the processing module 1402 is also used to determine the time difference between the time when the first access network device sends the first message and the time when the first access network device sends the second message, and determine the time when the communication device 1400 receives the first message based on the time difference and the time when the communication device 1400 receives the second message.
[0418] Optionally, the second message is a most recently received message among messages for time synchronization received by the communication device 1400 before receiving the first message.
[0419] Optionally, the transceiver module 1401 may include a sending module ( Fig.14 ) and a receiving module ( Fig.14 The sending module is used to implement the sending function of the communication device 1400, and the receiving module is used to implement the receiving function of the communication device 1400.
[0420] Optionally, the communication device 1400 may further include a storage module ( Fig.14 ), the storage module stores a program or instruction. When the processing module 1402 executes the program or instruction, the communication device 1400 can perform the function of the terminal in the above method.
[0421] It can be understood that the communication device 1400 can be a terminal, or a chip (system) or other parts or components that can be set in the terminal, or a device including a terminal, which is not limited in this application.
[0422] In addition, the technical effects of the communication device 1400 can refer to the technical effects of the above-mentioned communication method, which will not be repeated here.
[0423] In some other embodiments, the communication device 1400 may be suitable for Figure 5 In the communication system shown in , the function of the first access network device in the above method is executed.
[0424] The transceiver module 1401 is used to receive indication information, which is used to indicate that the access network device needs to maintain time synchronization with the terminal. The processing module 1402 is used to control the transceiver module 1401 to send a first message in response to the indication information. The first message is used to indicate the time when the communication device 1400 sends the first message, and the time when the communication device 1400 sends the first message is used for the terminal to maintain time synchronization with the communication device 1400.
[0425] In one possible design scheme, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in an inactive state or an idle state; the processing module 1402 is used to control the transceiver module 1401 to broadcast the first message when the terminal is in an inactive state or an idle state.
[0426] Optionally, the first message is a system message block SIB.
[0427] In another possible design scheme, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in a connected state; the processing module 1402 is used to control the transceiver module 1401 to unicast or broadcast the first message to the terminal when the terminal is in a connected state.
[0428] Optionally, the first message is a radio resource control RRC message.
[0429] In a possible design, the transceiver module 1401 is further used to receive the clock capability of the terminal, and the processing module 1402 is further used to determine the timing of sending the first message according to the clock capability of the terminal. And the processing module 1402 is further used to control the transceiver module 1401 to send the first message at the timing of sending the first message.
[0430] In a possible design scheme, the first message is also used to indicate the time when the communication device 1400 sends the second message.
[0431] Optionally, the processing module 1402 is further configured to save the time when the communication device 1400 sends the second message after sending the second message to the terminal.
[0432] In a possible design scheme, the second message is a latest message sent by the communication device 1400 for time synchronization before sending the first message.
[0433] In a possible design scheme, the processing module 1402 is further used to determine to stop sending the first message when the terminal reselects the second access network device from the communication apparatus 1400.
[0434] Optionally, the transceiver module 1401 may include a sending module ( Fig.14 ) and a receiving module ( Fig.14 The sending module is used to implement the sending function of the communication device 1400, and the receiving module is used to implement the receiving function of the communication device 1400.
[0435] Optionally, the communication device 1400 may further include a storage module ( Fig.14 (not shown), the storage module stores a program or instruction. When the processing module 1402 executes the program or instruction, the communication device 1400 can perform the function of the first access network device of the method described above.
[0436] It can be understood that the communication device 1400 can be an access network device, or a chip (system) or other parts or components that can be set in the access network device, or a device that includes the access network device, which is not limited in this application.
[0437] In addition, the technical effects of the communication device 1400 can refer to the technical effects of the above-mentioned communication method, which will not be repeated here.
[0438] In some other embodiments, the communication device 1400 may be suitable for Figure 5 In the communication system shown in , the functions of the core network element in the above method are executed.
[0439] The processing module 1402 is used to obtain indication information, and the transceiver module 1401 is used to send indication information to the first access network device, wherein the indication information is used to indicate that the access network device needs to maintain time synchronization with the terminal, and the first access network device is the access network device accessed by the terminal.
[0440] In a possible design, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in an inactive state or an idle state. Alternatively, the indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in a connected state.
[0441] In a possible design scheme, the processing module 1402 is used to obtain the contract data of the terminal, wherein the contract data of the terminal includes indication information.
[0442] In a possible design, the transceiver module 1401 is further used to receive the clock capability of the terminal from the application function and send the clock capability of the terminal to the first access network device. The clock capability of the terminal is used by the access network device to determine the timing of time synchronization between the access network device and the terminal.
[0443] Optionally, the transceiver module 1401 may include a sending module ( Fig.14 ) and a receiving module ( Fig.14 The sending module is used to implement the sending function of the communication device 1400, and the receiving module is used to implement the receiving function of the communication device 1400.
[0444] Optionally, the communication device 1400 may further include a storage module ( Fig.14 (not shown in the figure), the storage module stores a program or instruction. When the processing module 1402 executes the program or instruction, the communication device 1400 can perform the function of the core network element of the method of the above method.
[0445] It can be understood that the communication device 1400 can be a core network element, or a chip (system) or other parts or components that can be set in the core network element, or a device that includes a core network element, and this application does not limit this.
[0446] In addition, the technical effects of the communication device 1400 can refer to the technical effects of the above-mentioned communication method, which will not be repeated here.
[0447] Fig.15 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 For example, the communication device may be a terminal, or a chip (system) or other components or assemblies that may be provided in the terminal. Fig.15 As shown, the communication device 1500 may include a processor 1501. Optionally, the communication device 1500 may further include a memory 1502 and / or a transceiver 1503. The processor 1501 is coupled with the memory 1502 and the transceiver 1503, such as being connected via a communication bus.
[0448] Combine the following Fig.15 The components of the communication device 1500 are described in detail:
[0449] The processor 1501 is the control center of the communication device 1500, and may be a processor or a general term for multiple processing elements. For example, the processor 1501 is one or more central processing units (CPUs), or may be application specific integrated circuits (ASICs), or may be configured to implement one or more integrated circuits of the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).
[0450] Optionally, the processor 1501 may execute various functions of the communication device 1500 by running or executing a software program stored in the memory 1502 and calling data stored in the memory 1502, such as executing the above Figure 6-Figure 13 The communication method shown.
[0451] In a specific implementation, as an embodiment, the processor 1501 may include one or more CPUs, such as Fig.15 CPU0 and CPU1 are shown in FIG.
[0452] In a specific implementation, as an embodiment, the communication device 1500 may also include multiple processors, such as Fig.151501 and 1504 are shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0453] The memory 1502 is used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 1501. The specific implementation method can refer to the above method embodiment, which will not be repeated here.
[0454] Optionally, the memory 1502 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1502 may be integrated with the processor 1501, or may exist independently and be communicated to the processor 1501 through the interface circuit ( Fig.15 1502 is coupled to the processor 1501, which is not specifically limited in the embodiment of the present application.
[0455] The transceiver 1503 is used for communication with other communication devices. For example, if the communication device 1500 is a terminal, the transceiver 1503 can be used to communicate with a network device, or with another terminal device. For another example, if the communication device 1500 is a network device, the transceiver 1503 can be used to communicate with a terminal, or with another network device.
[0456] Optionally, the transceiver 1503 may include a receiver and a transmitter ( Fig.15 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0457] Optionally, the transceiver 1503 may be integrated with the processor 1501, or may exist independently and communicate with the processor 1501 through the interface circuit ( Fig.15 1502 is coupled to the processor 1501, which is not specifically limited in the embodiment of the present application.
[0458] Understandably, Fig.15 The structure of the communication device 1500 shown in the figure does not constitute a limitation on the communication device. The actual communication device may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.
[0459] In addition, the technical effects of the communication device 1500 can refer to the technical effects of the method described in the above method embodiment, which will not be repeated here.
[0460] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0461] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0462] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments 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 or computer programs. When the computer instructions or computer programs are loaded or 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 site, computer, server or data center to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). 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 contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0463] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0464] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0465] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0466] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0467] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0468] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0469] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0470] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0471] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0472] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A communication method, It is characterized in that The method comprises: The terminal receives a first message from a first access network device; wherein the first message is used to indicate a time when the first access network device sends the first message; The terminal determines the time when the terminal receives the first message according to the time when the first access network device sends the first message, the time when the first access network device sends the second message, and the time when the terminal receives the second message; wherein the second message is a message sent by the first access network device before sending the first message, and the time when the terminal receives the second message is the time when the terminal is synchronized with the first access network device; The terminal determines the time when the terminal receives the first message as the time when the terminal is synchronized with the first access network device.
2. The method according to claim 1, It is characterized in that The terminal receives a first message from a first access network device, including: When the terminal is in an inactive state or an idle state, the terminal receives the first message broadcast by the first access network device.
3. The method according to claim 2, It is characterized in that The first message is a system information block SIB.
4. The method according to claim 1, It is characterized in that The terminal receives a first message from a first access network device, including: When the terminal is in a connected state, the terminal receives the first message that is unicast or broadcast by the first access network device to the terminal.
5. The method according to claim 4, It is characterized in that The first message is a radio resource control RRC message.
6. The method according to any one of claims 1 to 5, It is characterized in that The first message is also used to indicate the time when the first access network device sends the second message.
7. The method according to claim 6, It is characterized in that The second message is used to indicate a time when the first access network device sends the second message, and the method further includes: Determining, by the terminal, a correspondence between a time when the first access network device sends the second message and a time when the terminal receives the second message; In a case where the terminal receives the first message, the method further includes: The terminal determines, according to the time when the first access network device sends the second message indicated by the first message, the time when the terminal receives the second message from the corresponding relationship.
8. The method according to any one of claims 1 to 7, It is characterized in that The terminal determines, according to the time when the first access network device sends the first message, the time when the first access network device sends the second message, and the time when the terminal receives the second message, the time when the terminal receives the first message, including: Determining, by the terminal, a time difference between a time when the first access network device sends the first message and a time when the first access network device sends the second message; The terminal determines, according to the time difference and the time when the terminal receives the second message, the time when the terminal receives the first message.
9. The method according to any one of claims 1 to 7, It is characterized in that The second message is a most recently received message among messages for time synchronization received by the terminal before the terminal receives the first message.
10. A communication method, It is characterized in that The method comprises: The first access network device receives indication information, wherein the indication information is used to indicate that the access network device needs to maintain time synchronization with the terminal; In response to the indication information, the first access network device sends a first message, wherein the first message is used to indicate the time when the first access network device sends the first message, and the time when the first access network device sends the first message is used by the terminal to maintain time synchronization with the first access network device.
11. The method according to claim 10, Features: The indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in an inactive state or an idle state; The first access network device sending a first message includes: When the terminal is in an inactive state or an idle state, the first access network device broadcasts the first message.
12. The method according to claim 10, Features: The indication information is specifically used to indicate that the access network device needs to maintain time synchronization with the terminal when the terminal is in a connected state; The first access network device sending a first message includes: When the terminal is in a connected state, the first access network device unicasts or broadcasts the first message to the terminal.
13. The method according to any one of claims 10 to 12, It is characterized in that The method further comprises: The first access network device receives the clock capability of the terminal; The first access network device determines, according to the clock capability of the terminal, a timing for sending the first message; The first access network device sending a first message includes: The first access network device sends the first message at a timing for sending the first message.
14. The method according to any one of claims 10 to 13, It is characterized in that The first message is also used to indicate the time when the first access network device sends the second message.
15. The method according to claim 14, It is characterized in that The method further comprises: After the first access network device sends the second message to the terminal, the first access network device saves the time when the first access network device sends the second message.
16. The method according to any one of claims 10 to 15, It is characterized in that The second message is the latest message sent by the first access network device among the messages for time synchronization sent before sending the first message.
17. The method according to any one of claims 10 to 16, It is characterized in that The method further comprises: In a case where the terminal reselects from the first access network device to the second access network device, the first access network device determines to stop sending the first message.
18. A communication device, It is characterized in that The apparatus comprises: a module for executing the method according to any one of claims 1-9.
19. A communication device, It is characterized in that The apparatus comprises: a module for executing the method according to any one of claims 10-17.
20. A communication device, It is characterized in that The communication device comprises: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device executes the method according to any one of claims 1 to 17.
21. A communication system, It is characterized in that The communication system comprises: a terminal and a first access network device, wherein the terminal is used to execute the method according to any one of claims 1 to 9, and the first access network device is used to execute the method according to any one of claims 10 to 17.
22. A computer-readable storage medium, It is characterized in that The computer-readable storage medium comprises a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 17.
